/* Utabako — Yomi와 같은 iOS 시스템 스타일 (색 토큰·내비게이션 바·시트·세그먼트 컨트롤) */

/* ───────── 토큰 ───────── */
:root {
  --tint: #e0337a;
  --tint-soft: rgba(224, 51, 122, .12);
  --bg: #ffffff;
  --bg-2: #f2f2f7;
  --card: #ffffff;
  --fill: rgba(118, 118, 128, .12);
  --fill-2: rgba(118, 118, 128, .2);
  --label: #000000;
  --label-2: rgba(60, 60, 67, .6);
  --label-3: rgba(60, 60, 67, .3);
  --sep: rgba(60, 60, 67, .18);
  --seg-on: #ffffff;
  --seg-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04);
  --bar: rgba(250, 250, 252, .78);
  --sheet: #f2f2f7;
  --sheet-card: #ffffff;
  --art-shadow: 0 18px 40px -14px rgba(0,0,0,.35);
  --danger: #ff3b30;
  --green: #34c759;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pretendard Variable", Pretendard,
          "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-jp: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
             "Noto Sans JP", "Yu Gothic UI", "Meiryo", "Pretendard Variable", sans-serif;
  --tabbar-h: 50px;
  --bar-cut: #f6f6f8;
  --max: 760px;
  --scrim: rgba(0, 0, 0, .3);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tint: #ff5c9a;
    --tint-soft: rgba(255, 92, 154, .16);
    --bg: #000000;
    --bg-2: #000000;
    --card: #1c1c1e;
    --fill: rgba(118, 118, 128, .24);
    --fill-2: rgba(118, 118, 128, .36);
    --label: #ffffff;
    --label-2: rgba(235, 235, 245, .6);
    --label-3: rgba(235, 235, 245, .3);
    --sep: rgba(84, 84, 88, .6);
    --seg-on: #636366;
    --seg-shadow: none;
    --bar: rgba(22, 22, 24, .78);
    --sheet: #1c1c1e;
    --sheet-card: #2c2c2e;
    --art-shadow: 0 18px 50px -14px rgba(0,0,0,.8);
    --danger: #ff453a;
    --green: #30d158;
    --bar-cut: #1b1b1d;
    --scrim: rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --tint: #ff5c9a;
  --tint-soft: rgba(255, 92, 154, .16);
  --bg: #000000;
  --bg-2: #000000;
  --card: #1c1c1e;
  --fill: rgba(118, 118, 128, .24);
  --fill-2: rgba(118, 118, 128, .36);
  --label: #ffffff;
  --label-2: rgba(235, 235, 245, .6);
  --label-3: rgba(235, 235, 245, .3);
  --sep: rgba(84, 84, 88, .6);
  --seg-on: #636366;
  --seg-shadow: none;
  --bar: rgba(22, 22, 24, .78);
  --sheet: #1c1c1e;
  --sheet-card: #2c2c2e;
  --art-shadow: 0 18px 50px -14px rgba(0,0,0,.8);
  --danger: #ff453a;
  --green: #30d158;
  --bar-cut: #1b1b1d;
  --scrim: rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ───────── 기본 ───────── */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--label);
  font-family: var(--font); font-size: 17px; letter-spacing: -.022em; line-height: 1.35;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; }
.jp { font-family: var(--font-jp); }
.text-btn { color: var(--tint); font-size: 17px; }
.text-btn.strong { font-weight: 600; }
.text-btn:active { opacity: .5; }
.text-btn:disabled { opacity: .4; }
.ko-text, .note, .empty p, .sheet-note, .hint, .toast { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }

/* ───────── 내비게이션 바 ───────── */
.navbar { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top); transition: background-color .25s, box-shadow .25s; }
.navbar.scrolled {
  background: var(--bar);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 .5px 0 var(--sep);
}
.nav-inner { max-width: var(--max); margin: 0 auto; height: 50px; padding: 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.nav-left { justify-self: start; min-width: 0; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav-back { display: inline-flex; align-items: center; gap: 5px; max-width: 34vw; color: var(--tint); font-size: 17px; padding: 8px 8px 8px 0; white-space: nowrap; }
.nav-back svg { width: 12px; height: 20px; flex: none; }
.nav-back span { overflow: hidden; text-overflow: ellipsis; }
.nav-back:active { opacity: .5; }
.nav-title { font-size: 17px; font-weight: 600; max-width: 48vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; font-family: var(--font-jp); }
.navbar.show-title .nav-title { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.nav-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--tint); background: var(--fill); position: relative; }
.nav-btn svg { width: 20px; height: 20px; }
.nav-btn:active { opacity: .5; }
.login-form { display: grid; gap: 8px; }
.login-form input { width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--fill); outline: 0; font-size: 16px; }
.login-form input:focus { box-shadow: 0 0 0 2px var(--tint); }
.wide-btn svg { width: 20px; height: 20px; }
.nav-text { color: var(--tint); font-size: 17px; padding: 6px 2px; }
.nav-text:active { opacity: .5; }
.sync-dot { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--bg); }
.sync-dot.syncing { background: #ff9f0a; }
.sync-dot.error { background: var(--danger); }

/* ───────── 페이지 ───────── */
.page { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px 40px; min-height: 60vh; }
.page.wide, body.wide .nav-inner { max-width: 1080px; }   /* 앨범·검색: 내비 바도 본문 폭에 맞춤 */
.large-title { margin: 2px 0 14px; font-size: 34px; font-weight: 700; letter-spacing: .005em; line-height: 1.2; overflow-wrap: anywhere; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 8px; }
.section-head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.section-head .aside { color: var(--label-2); font-size: 15px; }
.note { margin: 10px 0 0; color: var(--label-2); font-size: 14px; line-height: 1.5; }
.hint { color: var(--label-2); font-size: 15px; line-height: 1.5; }

/* ───────── 하단 탭 바 ───────── */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: flex; justify-content: center;
  background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 -.5px 0 var(--sep);
}
.tabbar a { flex: 1; max-width: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--label-2); font-size: 10.5px; font-weight: 600; letter-spacing: .01em; }
.tabbar a svg { width: 26px; height: 26px; }
.tabbar a.on { color: var(--tint); }
.tabbar a:active { opacity: .6; }

/* '바로 담기' 표시줄 (탭 바 위) */
.target-bar {
  position: fixed; z-index: 39; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px);
  display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100% - 24px));
  padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--tint); color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); font-size: 14px; animation: rise2 .3s cubic-bezier(.2,.9,.25,1);
}
.target-bar svg { width: 18px; height: 18px; flex: none; }
.target-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.target-bar b { font-weight: 700; }
.target-bar button { flex: none; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.22); color: #fff; font-size: 14px; font-weight: 600; }
body.has-target .page { padding-bottom: 96px; }
@keyframes rise2 { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ───────── 버튼 ───────── */
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px;
  background: var(--tint); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; }
.pill-btn svg { width: 17px; height: 17px; }
.pill-btn.ghost { background: var(--fill); color: var(--tint); }
.pill-btn.plain { background: var(--fill); color: var(--label); }
.pill-btn.danger { background: var(--fill); color: var(--danger); }
.pill-btn.sm { height: 32px; padding: 0 13px; font-size: 14px; }
.pill-btn:disabled { opacity: .45; }
.pill-btn:active:not(:disabled) { transform: scale(.97); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wide-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 12px; background: var(--fill); color: var(--tint); font-size: 16px; font-weight: 600; }
.wide-btn svg { width: 18px; height: 18px; }
.wide-btn:active { background: var(--fill-2); }

/* ───────── 검색 필드 ───────── */
.search-field { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; background: var(--fill); border-radius: 12px; }
.search-field svg { width: 18px; height: 18px; color: var(--label-2); flex: none; }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 17px; }
.search-field input::placeholder { color: var(--label-2); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field .clear { width: 20px; height: 20px; color: var(--label-3); flex: none; }
.search-field .clear svg { width: 20px; height: 20px; color: inherit; }

/* ───────── 세그먼트 컨트롤 ───────── */
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px; border-radius: 9px; background: var(--fill); }
.segmented > button, .segmented > a { display: grid; place-items: center; min-width: 0; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background-color .2s, box-shadow .2s; }
.segmented > .on { background: var(--seg-on); box-shadow: var(--seg-shadow); font-weight: 600; }
.segmented.full { display: grid; width: 100%; }

/* ───────── 칩 (브랜드·시리즈) ───────── */
.chips { list-style: none; margin: 0 -20px; padding: 2px 20px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-padding: 0 20px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px;
  background: var(--fill); color: var(--label); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.chip small { color: var(--label-2); font-size: 12px; font-weight: 600; }
.chip.on { background: var(--label); color: var(--bg); }
.chip.on small { color: inherit; opacity: .65; }
.chip:active { opacity: .7; }
.chip .bi { width: 18px; height: 14px; }
.chips.sub .chip { height: 30px; font-size: 13.5px; padding: 0 11px; max-width: 100%; }
/* 시리즈 칩은 가로 스크롤 대신 줄바꿈 (데스크톱에서 넘친 칩이 안 보이던 문제). 많으면 두 줄까지 */
.chips.sub { margin: 8px 0 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; }
.chips.sub .chip { display: inline-block; line-height: 30px; overflow: hidden; text-overflow: ellipsis; }
.chips.sub.folded { max-height: 72px; overflow: hidden; }
.chips-more { margin-top: 6px; color: var(--tint); font-size: 14px; font-weight: 500; padding: 4px 0; }
.bi { display: inline-block; width: 22px; height: 17px; flex: none; background: var(--bc, var(--label-2));
  -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat; }
.bi-as { -webkit-mask-image: url(../assets/brands/as.svg); mask-image: url(../assets/brands/as.svg); }
.bi-cg { -webkit-mask-image: url(../assets/brands/cg.svg); mask-image: url(../assets/brands/cg.svg); }
.bi-ml { -webkit-mask-image: url(../assets/brands/ml.svg); mask-image: url(../assets/brands/ml.svg); }
.bi-sm { -webkit-mask-image: url(../assets/brands/sm.svg); mask-image: url(../assets/brands/sm.svg); }
.bi-sc { -webkit-mask-image: url(../assets/brands/sc.svg); mask-image: url(../assets/brands/sc.svg); }
.bi-gk { -webkit-mask-image: url(../assets/brands/gk.svg); mask-image: url(../assets/brands/gk.svg); }
.bdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bc, var(--label-3)); flex: none; }
.brand-tag { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px 1px 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--bc) 14%, transparent); color: var(--label); font-size: 12px; font-weight: 600; vertical-align: 1px; }
.brand-tag .bi { width: 16px; height: 12px; }

/* ───────── 앨범 목록 ───────── */
.album-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 6px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.count-line { margin: 14px 0 0; font-size: 13px; color: var(--label-2); }
.series-banner { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.series-banner .sb-text { flex: 1; min-width: 0; }
.series-banner b { display: block; font-size: 16px; font-family: var(--font-jp); overflow-wrap: anywhere; }
.series-banner small { color: var(--label-2); font-size: 13px; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 16px; margin-top: 12px; }
.year-head { grid-column: 1 / -1; margin: 14px 0 -8px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.year-head:first-child { margin-top: 2px; }
.year-head small { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--label-2); }
.acard { display: block; min-width: 0; position: relative; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }   /* 꾹 누르면 링크 메뉴 대신 이름 말풍선 */
.acard .art { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--fill); box-shadow: 0 6px 16px -10px rgba(0,0,0,.4), inset 0 0 0 .5px var(--sep);
  transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.acard .art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.acard .a-sub .bi { width: 15px; height: 12px; }
img.hires { opacity: 0; transition: opacity .3s; }
img.hires.ok { opacity: 1; }
.new-tag { position: absolute; z-index: 2; top: 6px; left: 6px; padding: 0 6px; border-radius: 6px; background: var(--tint); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; letter-spacing: .03em; }
.acard .art .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--label-3); }
.acard .art .ph svg { width: 38%; height: 38%; }
.acard:active .art { transform: scale(.97); }
@media (hover: hover) { .acard:hover .art { transform: translateY(-2px); } }
.acard .a-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 1.35; font-weight: 500; font-family: var(--font-jp); overflow-wrap: anywhere; }
.acard .a-sub { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12.5px; color: var(--label-2); white-space: nowrap; overflow: hidden; }
.acard .a-sub span { overflow: hidden; text-overflow: ellipsis; }
.vol { position: absolute; z-index: 2; left: 6px; bottom: 6px; min-width: 26px; height: 20px; padding: 0 6px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.has-mark::after { content: ""; position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
/* 시리즈 묶음 카드: 커버를 겹쳐 쌓은 모양 */
.acard.stack .art { overflow: visible; margin-top: 10px; }
.acard.stack .art::before, .acard.stack .art::after { content: ""; position: absolute; left: 8%; right: 8%; top: -6px; height: 12px; border-radius: 7px 7px 0 0; background: var(--fill-2); z-index: -1; }
.acard.stack .art::after { left: 16%; right: 16%; top: -11px; opacity: .6; }
.acard.stack .art img, .acard.stack .art .ph { border-radius: 8px; }
.stack-count { position: absolute; z-index: 2; right: 6px; bottom: 6px; height: 22px; padding: 0 8px; border-radius: 7px; background: rgba(0,0,0,.66); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.abbr { display: inline-block; padding: 0 5px; border-radius: 4px; background: var(--fill-2); color: var(--label); font-size: 11px; font-weight: 700; line-height: 17px; letter-spacing: .02em; }
.sentinel { height: 1px; }

/* ───────── 앨범 상세 ───────── */
.album-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 0 22px; }
.album-head .artwork { position: relative; width: min(240px, 62vw); aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--fill); box-shadow: var(--art-shadow); display: grid; place-items: center; color: var(--label-3); }
.album-head .artwork img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.album-head .artwork > svg { width: 64px; height: 64px; }
.album-title { margin: 22px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; font-family: var(--font-jp); overflow-wrap: anywhere; }
.album-artist { margin: 4px 0 0; font-size: 17px; color: var(--tint); font-family: var(--font-jp); overflow-wrap: anywhere; }
.album-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: var(--label-2); }
.album-head .btn-row { justify-content: center; margin-top: 18px; }
.series-nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.series-nav a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fill); color: var(--label); }
.series-nav a.cur { color: var(--tint); font-weight: 600; }
.series-nav a svg { width: 8px; height: 13px; }
.series-nav a.off { opacity: .35; pointer-events: none; }
@media (min-width: 700px) {
  .album-head { flex-direction: row; align-items: flex-end; text-align: left; gap: 28px; padding-top: 14px; }
  .album-head .artwork { width: 230px; flex: none; }
  .album-head .ah-text { min-width: 0; padding-bottom: 6px; }
  .album-title { margin-top: 0; font-size: 26px; }
  .album-meta, .album-head .btn-row, .series-nav { justify-content: flex-start; }
}
.tracks { list-style: none; margin: 0; padding: 0; border-top: .5px solid var(--sep); }
.track { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 0; border-bottom: .5px solid var(--sep); cursor: pointer; }
.track:active { background: var(--fill); }
.track .tno { width: 22px; flex: none; text-align: right; color: var(--label-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.disc-head { padding: 18px 0 6px; font-size: 13px; font-weight: 600; color: var(--label-2); border-bottom: .5px solid var(--sep); }
.info-btn { width: 30px; height: 34px; flex: none; margin-right: -6px; display: grid; place-items: center; color: var(--label-3); transition: color .15s, transform .15s; }
.info-btn svg { width: 20px; height: 20px; }
.info-btn:hover { color: var(--tint); }
.info-btn:active { transform: scale(.9); }
.add-btn { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--tint); background: var(--tint-soft); transition: background-color .2s, color .2s, transform .15s; }
.add-btn svg { width: 17px; height: 17px; }
.add-btn.on { background: var(--tint); color: #fff; }
.add-btn:active { transform: scale(.9); }
.add-btn.pop { animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 40% { transform: scale(1.25); } }

/* ───────── 목록 줄 ───────── */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 62px; padding: 7px 0; text-align: left; position: relative; border-radius: 10px; }
.rows li + li .row::before { content: ""; position: absolute; top: 0; left: 61px; right: 0; height: .5px; background: var(--sep); }
.row:active { background: var(--fill); }
.thumb { width: 48px; height: 48px; flex: none; border-radius: 6px; overflow: hidden; background: var(--fill); display: grid; place-items: center; color: var(--label-3);
  box-shadow: inset 0 0 0 .5px var(--sep); position: relative; }
.thumb img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.thumb > svg { width: 22px; height: 22px; }
.row-text { flex: 1; min-width: 0; }
.row-title { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-jp); }
.row-title small { margin-left: 6px; font-size: 13px; color: var(--label-2); }
.row-sub { display: block; margin-top: 2px; font-size: 14px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub .ko { color: var(--label); opacity: .75; }
.memo { flex: none; max-width: 34%; padding: 3px 9px; border-radius: 8px; background: var(--tint-soft); color: var(--tint); font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sung-tag { flex: none; padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); font-size: 12px; font-weight: 700; }
li.sung .row-title, li.sung .thumb { opacity: .45; }
.chev { width: 8px; height: 14px; color: var(--label-3); flex: none; }
.more-btn { display: block; width: 100%; height: 46px; margin-top: 8px; border-radius: 12px; background: var(--fill); color: var(--tint); font-size: 16px; }

/* 편집(순서 바꾸기·빼기) */
.song-list.editing .memo, .song-list.editing .sung-tag, .song-list.editing .chev { display: none; }
.del-btn, .handle { display: none; flex: none; }
.song-list.editing .del-btn, .song-list.editing .handle { display: grid; place-items: center; }
.song-list li { display: flex; align-items: center; gap: 4px; position: relative; background: var(--bg); }
.song-list li .row { flex: 1; min-width: 0; }
.del-btn { width: 30px; height: 30px; color: var(--danger); }
.del-btn svg { width: 22px; height: 22px; }
.handle { width: 40px; height: 48px; color: var(--label-3); cursor: grab; touch-action: none; }
.handle svg { width: 20px; height: 20px; }
.song-list li.dragging { z-index: 5; box-shadow: 0 10px 30px rgba(0,0,0,.18); border-radius: 10px; opacity: .97; }
.song-list li.dragging .row::before { display: none; }
.song-list.editing .row { pointer-events: none; }
.list-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 2px; }
.sort-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--tint); font-size: 15px; padding: 6px 0; }
.sort-btn svg { width: 16px; height: 16px; }
.sort-btn:disabled { opacity: .4; }
.searchbar { margin-bottom: 4px; }
.cover.sm-cover { width: 40px; flex: none; border-radius: 6px; }
.cover.sm-cover .ph svg { width: 50%; height: 50%; }
.sheet .song-list li { background: var(--sheet-card); }

/* ───────── 폴더 ───────── */
.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 16px; }
.folder-card { display: block; min-width: 0; text-align: left; }
.folder-card { position: relative; }
.folder-card > a { display: block; }
.folder-card > a .f-name, .folder-card > a .f-sub { padding-right: 34px; }
/* 폴더 목록에서 바로 여는 폴더 메뉴 (이름 줄 오른쪽) */
.f-more { position: absolute; right: -6px; bottom: 2px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--label-2); border-radius: 50%; }
.f-more svg { width: 20px; height: 20px; }
.f-more:active { background: var(--fill); }
/* 폴더 편집 시트: 줄을 누르면 이름·아이콘·색 편집 */
.song-list.editing .row[data-edit] { pointer-events: auto; }
.row[data-edit] > svg { width: 18px; height: 18px; color: var(--label-3); flex: none; margin-right: 4px; }
.cover { position: relative; display: grid; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--fill);
  box-shadow: 0 6px 16px -10px rgba(0,0,0,.4), inset 0 0 0 .5px var(--sep); }
.cover.mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover:not(.mosaic) > img { position: absolute; inset: 0; z-index: 1; }
.cover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: var(--fbg, linear-gradient(140deg, #ff8fbf, color-mix(in srgb, #e0337a 60%, #000))); }
.cover .ph svg { width: 36%; height: 36%; opacity: .9; }
.cover .ph .bi { width: 46%; height: 38%; background: #fff; opacity: .95; filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }
/* 곡이 담긴 폴더: 표지 모서리에 브랜드 배지 */
.fbadge { position: absolute; z-index: 3; left: 6%; bottom: 6%; width: 26%; aspect-ratio: 1; min-width: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fbg, var(--fc, #e0337a)); box-shadow: 0 2px 8px rgba(0,0,0,.3), 0 0 0 1.5px rgba(255,255,255,.85); }
.fbadge .bi { width: 66%; height: 52%; background: #fff; }
.pick-row .cover .ph .bi, .cover.sm-cover .ph .bi { width: 62%; height: 50%; }
.pick-row .fbadge, .cover.sm-cover .fbadge { display: none; }
.cover.new { background: none; box-shadow: inset 0 0 0 1.5px var(--fill-2); color: var(--tint); place-items: center; }
.cover.new svg { width: 34px; height: 34px; }
.folder-card > a:active .cover { transform: scale(.97); }
.f-name { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-sub { display: block; margin-top: 1px; font-size: 13px; color: var(--label-2); }
.folder-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 4px 0 18px; }
.folder-head .cover { width: min(210px, 56vw); box-shadow: var(--art-shadow); }
.folder-head .large-title { margin: 18px 0 0; font-size: 28px; }
.fh-meta { margin: 2px 0 14px; color: var(--label-2); font-size: 14px; }
.folder-head .btn-row { justify-content: center; }
@media (min-width: 700px) {
  .folder-head { flex-direction: row; align-items: flex-end; text-align: left; gap: 26px; }
  .folder-head .cover { width: 200px; flex: none; }
  .folder-head .large-title { margin-top: 0; }
  .folder-head .btn-row { justify-content: flex-start; }
}

/* ───────── 빈 상태·스피너 ───────── */
.empty { margin: 10vh auto 0; max-width: 340px; text-align: center; color: var(--label-2); }
.empty.sm { margin-top: 28px; }
.empty .e-icon { display: block; width: 56px; height: 56px; margin: 0 auto 14px; color: var(--label-3); }
.empty .e-icon svg { width: 100%; height: 100%; }
.empty h3 { margin: 0 0 6px; color: var(--label); font-size: 21px; font-weight: 700; }
.empty p { margin: 0; font-size: 15px; line-height: 1.5; }
.empty .btn-row { justify-content: center; margin-top: 18px; }
.spinner-wrap { display: grid; place-items: center; padding: 56px 0; }
.spinner { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--fill-2); border-top-color: var(--label-2); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── 검색 ───────── */
.recent { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tips { margin: 26px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--fill); color: var(--label-2); font-size: 14px; line-height: 1.6; }
.tips b { color: var(--label); font-weight: 600; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 14px; margin: 0 -20px; padding: 4px 20px 6px; overflow-x: auto; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.found-foot { margin-top: 30px; padding: 16px; border-radius: 14px; background: var(--fill); text-align: center; }
.found-foot p { margin: 0 0 12px; color: var(--label-2); font-size: 14px; }
.found-foot .btn-row { justify-content: center; }
.live-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--fill-2); color: var(--label-2); font-size: 11px; font-weight: 700; line-height: 17px; vertical-align: 2px; }

/* ───────── 설정 ───────── */
.group-label { margin: 26px 16px 7px; font-size: 13px; color: var(--label-2); }
.card { background: var(--card); border-radius: 12px; overflow: hidden; }
body:not(.on-sheet) .page .card { background: var(--fill); }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 9px 16px; position: relative; }
.opt + .opt::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--sep); }
.opt > span { font-size: 16px; min-width: 0; }
.opt > span small { display: block; margin-top: 2px; font-size: 13px; color: var(--label-2); line-height: 1.4; }
.opt.col { flex-direction: column; align-items: stretch; gap: 10px; }
.opt input[type="text"], .opt input[type="url"], .opt input[type="password"] { width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--fill); outline: 0; font-size: 16px; }
.opt .btn-row { gap: 8px; }
.opt.link { color: var(--tint); cursor: pointer; }
.opt.link:active { background: var(--fill); }
.opt.danger { color: var(--danger); }
.status-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--label-2); }
.status-line .bdot { --bc: var(--green); }
.status-line.error { color: var(--danger); }
.status-line.error .bdot { --bc: var(--danger); }
.steps { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.65; color: var(--label-2); }
.steps b { color: var(--label); }
.foot { margin: 34px 0 0; color: var(--label-2); font-size: 12.5px; line-height: 1.6; text-align: center; }
.foot a { text-decoration: underline; text-underline-offset: 2px; }

/* ───────── 시트 ───────── */
.scrim { position: fixed; inset: 0; z-index: 50; background: var(--scrim); animation: fade .3s; }
.sheet {
  position: fixed; z-index: 51; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(540px, 100%); max-height: 90vh; max-height: 90dvh; display: flex; flex-direction: column;
  background: var(--sheet); border-radius: 14px 14px 0 0; box-shadow: 0 -8px 40px rgba(0,0,0,.18);
  animation: rise .42s cubic-bezier(.2,.9,.25,1);
}
.sheet.closing { animation: sink .25s ease-in forwards; }
.sheet.closing, .scrim.closing { pointer-events: none; }
.scrim.closing { opacity: 0; transition: opacity .2s; }
@media (min-width: 700px) {
  .sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 14px; animation: popin .3s cubic-bezier(.2,.9,.25,1); }
  .sheet.closing { animation: fade .2s reverse forwards; }
}
.sheet-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px 16px 8px; }
.sheet-bar h3 { margin: 0; font-size: 17px; font-weight: 600; text-align: center; max-width: 60vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-bar .text-btn:first-child { justify-self: start; }
.sheet-bar .text-btn:last-child { justify-self: end; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px calc(22px + env(safe-area-inset-bottom)); }
.sheet .card { background: var(--sheet-card); }
.info-link { display: flex; align-items: center; gap: 5px; margin: -6px auto 14px; padding: 4px 10px; color: var(--tint); font-size: 14px; font-weight: 500; }
.info-link svg { width: 16px; height: 16px; }
.sheet-sub { margin: 0 0 12px; text-align: center; font-size: 14px; color: var(--label-2); font-family: var(--font-jp); overflow-wrap: anywhere; }
.sheet-note { margin: 10px 4px 0; font-size: 13px; color: var(--label-2); line-height: 1.5; }
.pick { list-style: none; margin: 0; padding: 0; }
.pick li + li .pick-row::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: .5px; background: var(--sep); }
.pick-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 14px; text-align: left; position: relative; }
.pick-row:active { background: var(--fill); }
.pick-row .cover { width: 40px; flex: none; border-radius: 6px; box-shadow: none; }
.pick-row .cover .ph svg { width: 50%; height: 50%; }
.pick-row .cover.new { box-shadow: inset 0 0 0 1.5px var(--fill-2); }
.pick-row .cover.new svg { width: 20px; height: 20px; }
.pick-row .p-text { flex: 1; min-width: 0; }
.pick-row .p-name { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-row .p-sub { display: block; font-size: 13px; color: var(--label-2); }
.pick-row .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--label-3); display: grid; place-items: center; color: transparent; transition: background-color .15s; }
.pick-row .ck svg { width: 14px; height: 14px; }
.pick-row.on .ck { background: var(--tint); box-shadow: none; color: #fff; }
.pick-row.new-row { color: var(--tint); }
.new-form { display: flex; gap: 8px; padding: 8px 14px 10px; }
.new-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--fill); outline: 0; font-size: 16px; }
.field { display: block; margin-top: 14px; }
.field > span { display: block; margin: 0 4px 6px; font-size: 13px; color: var(--label-2); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--sheet-card); outline: 0; font-size: 16px; line-height: 1.4; }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 2px var(--tint); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice button { height: 34px; padding: 0 13px; border-radius: 999px; background: var(--sheet-card); font-size: 14px; }
.choice button.on { background: var(--tint); color: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; background: var(--cbg, var(--c)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.icon-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-pick button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 52px; height: 52px; padding: 0 8px;
  border-radius: 12px; background: var(--sheet-card); font-size: 12px; color: var(--label-2); }
.icon-pick button .bi { width: 26px; height: 20px; }
.icon-pick button small { font-size: 11px; }
.icon-pick button.on { box-shadow: 0 0 0 2px var(--tint); color: var(--label); }
.folder-preview { display: flex; gap: 12px; }
.folder-preview .cover { width: 96px; }
.swatches button.on { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 4px var(--c); }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li + li button::before { content: ""; position: absolute; top: 0; left: 52px; right: 0; height: .5px; background: var(--sep); }
.menu button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0 16px; text-align: left; font-size: 16px; position: relative; }
.menu button svg { width: 22px; height: 22px; color: var(--tint); flex: none; }
.menu button:active { background: var(--fill); }
.menu button.danger, .menu button.danger svg { color: var(--danger); }
.menu button small { margin-left: auto; color: var(--label-2); font-size: 14px; }

/* 곡 정보 시트 */
.song-sheet-head { display: flex; gap: 14px; align-items: center; margin: 6px 0 4px; }
.song-sheet-head .thumb { width: 72px; height: 72px; border-radius: 8px; }
.song-sheet-head h2 { margin: 0; font-size: 20px; line-height: 1.3; font-family: var(--font-jp); overflow-wrap: anywhere; }
.song-sheet-head p { margin: 3px 0 0; color: var(--label-2); font-size: 14px; font-family: var(--font-jp); overflow-wrap: anywhere; }
.ko-titles { margin: 8px 0 0; font-size: 14px; color: var(--label-2); }
.ko-titles b { color: var(--label); font-weight: 600; }
.mini-albums { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.mini-albums::-webkit-scrollbar { display: none; }
.mini-albums .acard .a-title { font-size: 12px; -webkit-line-clamp: 2; }
.mini-albums .acard .a-sub { font-size: 11px; }

/* 랜덤 */
.random-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 4px 4px; }
.random-card .art { position: relative; width: min(220px, 60vw); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--fill); box-shadow: var(--art-shadow); display: grid; place-items: center; color: var(--label-3); }
.random-card .art img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.random-card .art > svg { width: 60px; height: 60px; }
.random-card h2 { margin: 20px 0 0; font-size: 24px; line-height: 1.3; font-family: var(--font-jp); overflow-wrap: anywhere; }
.random-card .r-ko { margin: 4px 0 0; color: var(--label-2); font-size: 15px; }
.random-card .r-artist { margin: 6px 0 0; color: var(--tint); font-size: 15px; font-family: var(--font-jp); }
.random-card .memo { margin-top: 12px; max-width: 100%; font-size: 15px; }
.random-card.rolling h2, .random-card.rolling .art { filter: blur(1.5px); opacity: .7; }
.random-card .btn-row { justify-content: center; margin-top: 22px; }
.pool-line { margin: 12px 0 0; font-size: 13px; color: var(--label-2); text-align: center; }

/* 스위치 */
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 16px; background: var(--fill-2); transition: background-color .25s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .25s cubic-bezier(.3,.7,.3,1); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--tint); outline-offset: 2px; }

/* 토스트 */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(460px, calc(100% - 32px)); padding: 10px 16px; border-radius: 22px;
  background: rgba(30, 30, 32, .9); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4;
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2); animation: toastIn .3s cubic-bezier(.2,.9,.25,1); transition: opacity .25s, transform .25s;
}
.toast button { flex: none; color: #ff8fbf; font-weight: 700; font-size: 15px; }
.toast.out { opacity: 0; transform: translate(-50%, 8px); }
body.has-target .toast { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 66px); }

@keyframes rise { from { transform: translate(-50%, 100%); } }
@keyframes sink { to { transform: translate(-50%, 100%); } }
@keyframes popin { from { transform: translate(-50%, -48%) scale(.96); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

@media (max-width: 480px) {
  .page { padding: 0 16px 32px; }
  .nav-inner { padding: 0 16px; }
  .chips, .shelf { margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
  .chips.sub { margin: 8px 0 0; padding: 2px 0; }
  .album-grid, .folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .large-title { font-size: 32px; }
  .toolbar .segmented button { padding: 0 10px; }
  .mini-albums { margin: 0 -16px; }
}
@media (min-width: 900px) {
  .page.wide .album-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 폴더 안 탭 */
.folder-tabs { margin-bottom: 4px; }
.chip.add { padding: 0 10px; color: var(--tint); }
.chip.add svg { width: 16px; height: 16px; }
.tab-head { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 2px; font-size: 18px; font-weight: 700; }
.tab-head small { font-size: 13px; font-weight: 500; color: var(--label-2); }
.list-tools { display: inline-flex; gap: 16px; }
.sort-btn small { font-size: 12px; color: var(--label-2); }
.tab-name { flex: 1; min-width: 0; height: 40px; margin: 6px 0; padding: 0 10px; border: 0; border-radius: 8px; background: var(--fill); outline: 0; font-size: 16px; }
.tab-name:focus { box-shadow: 0 0 0 2px var(--tint); }
/* 아이마스 허브 링크: 설정 맨 아래에 작게 */
.foot.hub-foot { margin-top: 18px; font-size: 11px; }
.foot.hub-foot a { color: var(--label-3); text-decoration: none; }
/* JOYSOUND(일본 노래방) */
.kara-tags { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.joy-tag { flex: none; padding: 1px 5px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--sep); color: var(--label-2); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.joy-row .joy-num { display: block; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--label); }
.joy-row small { margin-top: 1px; }
.random-card .joy-no { margin-top: 12px; padding: 4px 10px; border-radius: 8px; background: var(--fill); color: var(--label); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.random-card .kara-nos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.random-card .kara-nos .joy-no { margin-top: 0; }
.kara-seg { margin-top: 12px; }
.opt.link > svg:not(.chev) { width: 15px; height: 15px; flex: none; color: var(--label-3); }
.dragging-x { cursor: grabbing; user-select: none; -webkit-user-select: none; scroll-behavior: auto; scroll-snap-type: none; }
.dragging-x * { pointer-events: none; }
.name-tip { position: fixed; z-index: 80; max-width: min(320px, calc(100vw - 16px)); padding: 8px 12px; border-radius: 12px;
  background: var(--bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.35), inset 0 0 0 .5px var(--sep); color: var(--label);
  font: 500 14px/1.4 var(--font-jp); overflow-wrap: anywhere; pointer-events: none;
  opacity: 0; transform: scale(.96); transition: opacity .14s ease, transform .14s ease; }
.name-tip.on { opacity: 1; transform: none; }
