/* 미소뮤직 — 구글뮤직(YouTube Music) 스타일 다크 모바일 웹 */
:root {
  --bg: #0f0f12;
  --surface: #18181d;
  --surface-2: #212128;
  --surface-3: #2a2a33;
  --line: #2c2c35;
  --text: #f6f6f8;
  --muted: #9c9caa;
  --muted-2: #6f6f7d;
  --accent: #ff3355;
  --accent-soft: rgba(255, 51, 85, 0.16);
  --purple: #8b5cf6;
  --tabbar-h: 60px;
  --mini-h: 62px;
  --media-h: min(40vh, 320px);
  --radius: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "Noto Sans KR", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { overscroll-behavior-y: contain; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
img { display: block; }
p { margin: 0; }

#app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* ---------------- 상단 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 6px;
  background: linear-gradient(180deg, rgba(15,15,18,.98) 60%, rgba(15,15,18,.86));
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent);
  align-self: center;
}
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; }
.brand-sub { font-size: 11px; color: var(--muted-2); letter-spacing: 0.4px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--text); opacity: .9;
}
.icon-btn:active { background: var(--surface-3); }

/* ---------------- 검색 ---------------- */
.searchbar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 54px);
  z-index: 29;
  display: flex; align-items: center; gap: 8px;
  margin: 6px 14px 4px;
  padding: 0 6px 0 12px;
  height: 46px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.search-ico { color: var(--muted); flex: none; }
.searchbar input {
  flex: 1; min-width: 0; height: 100%;
  background: none; border: 0; outline: none;
  color: var(--text); font-size: 15px;
}
.searchbar input::placeholder { color: var(--muted-2); }
.searchbar input::-webkit-search-cancel-button { display: none; }
.clear-btn { width: 26px; height: 26px; border-radius: 50%; color: var(--muted); font-size: 12px; }
.search-go {
  flex: none; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
}
.search-go:active { filter: brightness(.92); }

/* ---------------- 본문 ---------------- */
.view {
  padding: 8px 0 calc(var(--tabbar-h) + var(--safe-b) + 24px);
}
.has-mini .view { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + var(--mini-h) + 26px); }

.section { margin: 22px 0 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 16px 10px;
}
.section-title { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.section-sub { font-size: 12px; color: var(--muted-2); margin-top: 3px; }
.section-more { font-size: 12px; color: var(--muted); padding: 4px 0; }
.section-more:active { color: var(--text); }

/* 홈 히어로 */
.hero {
  margin: 10px 14px 0;
  padding: 20px 18px;
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(139,92,246,.35), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, rgba(255,51,85,.35), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow { font-size: 12px; color: #ffb3c0; letter-spacing: .4px; font-weight: 700; }
.hero-title { font-size: 23px; font-weight: 900; letter-spacing: -0.6px; margin: 6px 0 4px; line-height: 1.28; }
.hero-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.hero-actions { display: flex; gap: 8px; margin-top: 16px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
}
.btn-primary:active { filter: brightness(.9); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: var(--text); font-weight: 700; font-size: 14px;
}

/* 빠른 추천 칩 */
.chip-row {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 16px 6px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.chip:active { background: var(--surface-3); }
.chip.active { background: var(--accent); border-color: transparent; color: #fff; }
.chip .emoji { font-size: 14px; }

/* 앨범 카드 레일 */
.rail {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 2px 16px 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.album-card {
  flex: none; width: 138px; text-align: left; display: block;
  scroll-snap-align: start;
}
.album-art {
  display: block;
  width: 138px; height: 138px; border-radius: 14px; overflow: hidden;
  background: var(--surface-2); position: relative;
  border: 1px solid var(--line);
}
.album-art img { width: 100%; height: 100%; object-fit: cover; }
.album-art .play-dot {
  position: absolute; right: 8px; bottom: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.62); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  opacity: 0; transition: opacity .18s;
}
.album-card:active .play-dot { opacity: 1; }
.album-name {
  margin-top: 8px; font-size: 13px; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.album-artist { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 세대 카드 */
.gen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.gen-card {
  text-align: left; padding: 15px 14px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.gen-card:active { background: var(--surface-2); }
.gen-card .gc-emoji { font-size: 20px; }
.gen-card .gc-label { margin-top: 8px; font-size: 17px; font-weight: 900; letter-spacing: -.4px; }
.gen-card .gc-desc { margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.gen-card::after {
  content: ''; position: absolute; inset: auto -30px -40px auto;
  width: 110px; height: 110px; border-radius: 50%; opacity: .22;
  background: var(--gc, var(--accent)); filter: blur(6px);
}

/* 트랙 리스트 */
.tracklist { padding: 0 6px; }
.track {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 8px; border-radius: 12px; text-align: left;
}
.track:active { background: var(--surface-2); }
.track .thumb {
  width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex: none;
  background: var(--surface-2); position: relative;
}
.track .thumb img { width: 100%; height: 100%; object-fit: cover; }
.track .meta { flex: 1; min-width: 0; }
.track .t {
  font-size: 14px; font-weight: 600; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track .a {
  margin-top: 3px; font-size: 12px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track .dur { font-size: 11.5px; color: var(--muted-2); margin-left: 4px; flex: none; }
.track.playing .t { color: var(--accent); }
.track.playing .thumb::after {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45);
}
.eq {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  gap: 2px; padding-bottom: 18px; z-index: 1;
}
.eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .18s; }
.eq i:nth-child(3) { animation-delay: .36s; }
@keyframes eq { 0%,100% { height: 6px; } 50% { height: 16px; } }

/* 세대별 화면 */
.gen-tabs {
  display: flex; gap: 6px; padding: 6px 14px 4px; position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 106px); z-index: 20;
  background: linear-gradient(180deg, var(--bg) 70%, rgba(15,15,18,0));
}
.gen-tab {
  flex: 1; height: 40px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--line); font-size: 14px; font-weight: 800; color: var(--muted);
}
.gen-tab.active { background: var(--accent); border-color: transparent; color: #fff; }
.gen-hero { padding: 12px 16px 4px; }
.gen-hero h2 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.5px; }
.gen-hero p { margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.chip-label { padding: 14px 16px 4px; font-size: 12px; color: var(--muted-2); font-weight: 700; letter-spacing: .2px; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 6px; }
.chip-wrap .chip { height: 34px; font-size: 12.5px; }

/* 상태 */
.loading-list { padding: 8px 14px; }
.sk-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.sk { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-3) 37%, var(--surface) 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 8px; }
.sk-thumb { width: 52px; height: 52px; flex: none; }
.sk-lines { flex: 1; }
.sk-line { height: 12px; margin-bottom: 8px; }
.sk-line.short { width: 45%; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.empty {
  padding: 46px 24px; text-align: center; color: var(--muted);
}
.empty .big { font-size: 34px; margin-bottom: 12px; }
.empty p { font-size: 13.5px; line-height: 1.6; }
.empty .hint { color: var(--muted-2); font-size: 12px; margin-top: 6px; }
.inline-error {
  margin: 10px 16px; padding: 14px; border-radius: 14px;
  background: rgba(255,51,85,.08); border: 1px solid rgba(255,51,85,.25);
  color: #ffb3c0; font-size: 13px; line-height: 1.5;
}
.inline-error button { color: #fff; text-decoration: underline; margin-top: 8px; font-weight: 700; }

/* ---------------- 미니 플레이어 ---------------- */
.miniplayer {
  position: fixed; z-index: 45;
  left: 8px; right: 8px;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 6px);
  max-width: 544px; margin: 0 auto;
  height: var(--mini-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 10px 0 8px;
  background: rgba(33,33,40,.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  overflow: hidden;
}
.miniplayer[hidden] { display: none; }
.mini-thumb-slot { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--surface-3); }
.mini-meta { flex: 1; min-width: 0; }
.mini-title { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-artist { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-controls { display: flex; align-items: center; gap: 2px; }
.mini-controls .icon-btn { width: 36px; height: 36px; }
.mini-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); }
.mini-progress i { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------------- 탭바 ---------------- */
.tabbar {
  position: fixed; z-index: 46;
  left: 0; right: 0; bottom: 0;
  max-width: 560px; margin: 0 auto;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(15,15,18,.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 10.5px; color: var(--muted-2); font-weight: 700;
}
.tab .tab-ico { font-size: 18px; filter: grayscale(1) opacity(.6); }
.tab.active { color: var(--text); }
.tab.active .tab-ico { filter: none; }

/* ---------------- 플레이어 셸 (단일 iframe) ---------------- */
#player-shell {
  position: fixed; z-index: 47;
  left: var(--mini-left, 16px);
  bottom: var(--mini-bottom, calc(var(--tabbar-h) + var(--safe-b) + 14px));
  width: var(--mini-size, 46px); height: var(--mini-size, 46px);
  border-radius: 10px; overflow: hidden;
  background: #000;
  transition: all .26s cubic-bezier(.22,.7,.2,1);
  pointer-events: none;
  display: none;
}
#player-shell.live { display: block; }
#player-shell .sheet-down, #player-shell .sheet-size { display: none; pointer-events: auto; }
body.player-open #player-shell .sheet-down,
body.player-open #player-shell .sheet-size { display: flex; }
#player-shell::after {
  content: '음악을 선택하세요';
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: #555; text-align: center;
}
#player-shell.ready::after { content: ''; }
#player-shell iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
body.player-open #player-shell {
  z-index: 95;
  left: 50%; transform: translateX(-50%);
  bottom: auto; top: 0;
  width: 100%; max-width: 560px;
  height: var(--media-h);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
body.player-open.media-compact { --media-h: min(26vh, 190px); }

/* ---------------- 전체화면 시트 ---------------- */
.sheet {
  position: fixed; inset: 0; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: linear-gradient(180deg, #141419 0%, var(--bg) 45%);
  display: flex; flex-direction: column;
  padding-top: var(--media-h);
  transition: transform .26s cubic-bezier(.22,.7,.2,1), opacity .2s;
}
.sheet[hidden] { display: none; }
.sheet-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 10px 18px calc(14px + var(--safe-b));
  overflow: hidden;
}
.sheet-down {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 6px); left: 8px;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.35); border-radius: 50%; z-index: 3;
}
.sheet-size {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 6px); right: 10px;
  width: 40px; height: 40px; color: #fff; background: rgba(0,0,0,.35); border-radius: 50%; z-index: 3;
  font-size: 15px;
}
.now-head { display: flex; align-items: flex-start; gap: 10px; }
.now-text { flex: 1; min-width: 0; }
.now-title { font-size: 20px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-artist { font-size: 13px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.like-btn svg { fill: none; }
.like-btn[aria-pressed="true"] { color: var(--accent); }
.like-btn[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }

.seekbar { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.seekbar .time { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; width: 34px; text-align: center; }
#seek {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 22px; background: none; outline: none;
}
#seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) var(--pct, 0%), #3a3a46 var(--pct, 0%));
}
#seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 13px; height: 13px; margin-top: -4.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,51,85,.22);
}
#seek::-moz-range-track { height: 4px; border-radius: 2px; background: #3a3a46; }
#seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
#seek::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }

.controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
}
.controls .icon-btn { width: 44px; height: 44px; color: var(--muted); position: relative; }
.controls .icon-btn[aria-pressed="true"] { color: var(--accent); }
.controls .icon-btn.on svg { stroke: var(--accent); }
.controls .badge {
  position: absolute; bottom: 3px; right: 6px;
  font-size: 8px; font-weight: 900; background: var(--accent); color: #fff;
  width: 12px; height: 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.play-big {
  width: 66px; height: 66px; border-radius: 50%;
  background: #fff; color: #0f0f12;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.play-big:active { transform: scale(.96); }
.play-big .spinner {
  position: absolute; inset: 0; margin: auto; width: 26px; height: 26px;
  border: 3px solid rgba(0,0,0,.15); border-top-color: #0f0f12; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lyrics-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.seg { display: flex; gap: 4px; background: var(--surface-2); padding: 3px; border-radius: 10px; }
.seg-btn {
  height: 30px; padding: 0 14px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted);
}
.seg-btn.active { background: var(--surface-3); color: var(--text); }
.seg-btn span { color: var(--muted-2); font-size: 11px; }
.ghost-btn { font-size: 11.5px; color: var(--muted); text-decoration: underline; }

.lyrics-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.lyrics-panel[hidden], .queue-panel[hidden], .sheet[hidden], .miniplayer[hidden] { display: none !important; }
.lyrics {
  position: relative;
  flex: 1; overflow-y: auto; padding: 16px 4px 60px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  mask-image: linear-gradient(180deg, transparent 0, #000 28px, #000 calc(100% - 40px), transparent 100%);
}
.lyrics::-webkit-scrollbar { display: none; }
.lyric-line {
  display: block; width: 100%; text-align: left;
  padding: 7px 0; font-size: 16px; line-height: 1.45; font-weight: 700;
  color: var(--muted-2); transition: color .2s, transform .2s;
  border-radius: 8px;
}
.lyric-line.active { color: var(--text); transform: scale(1.02); }
.lyric-line.past { color: var(--muted); opacity: .75; }
.lyric-line:active { color: #fff; }
.lyrics-plain { white-space: pre-wrap; font-size: 14.5px; line-height: 1.85; color: #d6d6de; padding: 6px 2px; }
.lyrics-empty { padding: 30px 10px; text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.lyrics-empty .sub { font-size: 12px; color: var(--muted-2); margin-top: 8px; }
.lyrics-empty a { color: #ff8fa3; }
.sync-badge {
  display: inline-flex; align-items: center; gap: 5px; margin: 4px 2px 10px;
  font-size: 10.5px; font-weight: 700; color: #ffa7b6;
  background: rgba(255,51,85,.1); border: 1px solid rgba(255,51,85,.25);
  border-radius: 999px; padding: 3px 9px;
}

.queue-panel { flex: 1; overflow-y: auto; padding: 8px 0 60px; scrollbar-width: none; }
.queue-panel::-webkit-scrollbar { display: none; }
.queue-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-radius: 10px; }
.queue-row:active { background: var(--surface-2); }
.queue-row .qi { width: 20px; text-align: center; font-size: 11px; color: var(--muted-2); flex: none; }
.queue-row.cur .qi { color: var(--accent); font-weight: 800; }
.queue-row .qthumb { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; flex: none; background: var(--surface-2); }
.queue-row .qthumb img { width: 100%; height: 100%; object-fit: cover; }
.queue-row .qmeta { flex: 1; min-width: 0; }
.queue-row .qt { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-row .qa { font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-row .qdel { width: 30px; height: 30px; color: var(--muted-2); font-size: 15px; }

.toast {
  position: fixed; z-index: 200; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + var(--mini-h) + var(--safe-b) + 26px);
  max-width: 88%; padding: 10px 16px; border-radius: 12px;
  background: rgba(48,48,58,.98); color: #fff; font-size: 12.5px; line-height: 1.4;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
  animation: toastIn .2s ease;
}
.toast[hidden] { display: none; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }

/* 넓은 화면 */
@media (min-width: 720px) {
  body::before {
    content: ''; position: fixed; inset: 0; z-index: -1;
    background:
      radial-gradient(60% 40% at 15% 0%, rgba(255,51,85,.10), transparent 60%),
      radial-gradient(50% 40% at 85% 15%, rgba(139,92,246,.12), transparent 60%),
      #08080a;
  }
  #app { background: var(--bg); box-shadow: 0 0 0 1px #1c1c22, 0 30px 80px rgba(0,0,0,.5); }
  .tabbar { border-radius: 0 0 0 0; }
}

@media (max-height: 700px) {
  :root { --media-h: min(34vh, 240px); }
  .now-title { font-size: 18px; }
}
