:root {
  color-scheme: light;
  --font-ui: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --ai-canvas-blue: #d7e3f9;
  --ai-canvas-white: #fafbff;
  --ai-canvas-lavender: #e9e4f9;
  --ai-canvas-bottom: #9eafd8;
  --ai-surface: #ffffff;
  --ai-surface-glass: rgba(255, 255, 255, 0.88);
  --ai-surface-strong: rgba(255, 255, 255, 0.96);
  --ai-hero-left: #e5efff;
  --ai-hero-blue: #bfd2ff;
  --ai-hero-indigo: #9fb4ff;
  --ai-hero-violet: #b8a5f5;
  --ai-accent-blue: #5875ff;
  --ai-accent-indigo: #6265fb;
  --ai-accent-violet: #7449ef;
  --ai-text-primary: #15213c;
  --ai-text-secondary: #53617d;
  --ai-text-tertiary: #7c879f;
  --ai-border-light: rgba(255, 255, 255, 0.84);
  --ai-border-dark: rgba(67, 86, 145, 0.12);
  --ai-shadow-card: 0 14px 38px rgba(65, 82, 137, 0.11), 0 3px 10px rgba(67, 84, 139, 0.055);
  --ai-shadow-floating: 0 32px 92px rgba(54, 70, 130, 0.23), 0 9px 26px rgba(65, 81, 143, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  --ai-shadow-modal: 0 36px 110px rgba(58, 72, 124, 0.24), 0 10px 30px rgba(67, 82, 139, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  --ai-button-gradient: linear-gradient(105deg, var(--ai-accent-blue) 0%, var(--ai-accent-indigo) 48%, var(--ai-accent-violet) 100%);
  --bg: var(--ai-canvas-white);
  --bg-deep: var(--ai-canvas-blue);
  --surface: var(--ai-surface);
  --surface-soft: #f4f7fd;
  --surface-raised: var(--ai-surface-glass);
  --glass: var(--ai-surface-glass);
  --glass-strong: var(--ai-surface-strong);
  --ink: var(--ai-text-primary);
  --ink-2: var(--ai-text-secondary);
  --muted: var(--ai-text-secondary);
  --faint: var(--ai-text-tertiary);
  --line: var(--ai-border-dark);
  --line-strong: rgba(93, 116, 216, 0.26);
  --highlight-line: var(--ai-border-light);
  --accent: var(--ai-accent-indigo);
  --accent-strong: var(--ai-accent-violet);
  --accent-ink: #5668dc;
  --accent-soft: #e8edff;
  --blue: #8fb4ff;
  --violet: #b39cf5;
  --cyan: oklch(0.79 0.1 220);
  --success: oklch(0.62 0.15 153);
  --warning: oklch(0.68 0.15 70);
  --danger: oklch(0.58 0.19 25);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-player: 32px;
  --shadow-nav: var(--ai-shadow-card);
  --shadow-player: var(--ai-shadow-floating);
  --shadow-modal: var(--ai-shadow-modal);
  --transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 20;
  --z-mini: 30;
  --z-backdrop: 50;
  --z-dialog: 60;
  --z-toast: 70;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font: 14px/1.55 var(--font-ui);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select { color: inherit; font: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, [draggable="true"]:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--accent), transparent 54%);
  outline-offset: 3px;
}
svg.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.app-shell {
  --app-bg: var(--bg);
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 66% 12%, color-mix(in oklch, var(--accent-soft), transparent 35%), transparent 26%),
    radial-gradient(circle at 8% 84%, color-mix(in oklch, var(--blue), transparent 86%), transparent 28%),
    linear-gradient(145deg, var(--app-bg), var(--bg-deep));
  transition: color var(--transition), background var(--transition);
}
.theme-dark {
  color-scheme: dark;
  --bg: oklch(0.19 0.03 269);
  --bg-deep: oklch(0.145 0.034 268);
  --surface: oklch(0.235 0.032 270);
  --surface-soft: oklch(0.275 0.038 270);
  --surface-raised: rgba(38, 43, 62, 0.83);
  --glass: rgba(29, 34, 50, 0.64);
  --glass-strong: rgba(35, 40, 59, 0.76);
  --ink: oklch(0.94 0.018 265);
  --ink-2: oklch(0.82 0.025 265);
  --muted: oklch(0.7 0.027 265);
  --faint: oklch(0.56 0.028 265);
  --line: rgba(204, 213, 255, 0.1);
  --line-strong: rgba(154, 172, 255, 0.25);
  --highlight-line: rgba(255, 255, 255, 0.14);
  --accent: oklch(0.72 0.17 272);
  --accent-strong: oklch(0.77 0.16 270);
  --accent-ink: oklch(0.84 0.105 270);
  --accent-soft: oklch(0.36 0.09 273);
  --blue: oklch(0.74 0.13 250);
  --violet: oklch(0.75 0.13 294);
  --shadow-nav: 0 10px 34px rgba(0, 0, 0, 0.18);
  --shadow-player: 0 28px 72px rgba(0, 0, 0, 0.3);
  --shadow-modal: 0 40px 110px rgba(0, 0, 0, 0.46);
}
.theme-dark.app-shell {
  background:
    radial-gradient(circle at 68% 8%, rgba(107, 117, 255, 0.14), transparent 26%),
    radial-gradient(circle at 10% 78%, rgba(80, 168, 224, 0.08), transparent 30%),
    linear-gradient(150deg, var(--bg), var(--bg-deep));
}
.ambient-orb {
  position: fixed;
  width: 36vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.28;
}
.orb-one { top: -22vw; right: -8vw; background: var(--violet); }
.orb-two { bottom: -24vw; left: -12vw; background: var(--blue); opacity: 0.16; }
.page-frame {
  position: relative;
  width: min(1384px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 132px;
}
.glass-surface, .glass-dialog {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
}

/* Header */
.desktop-header {
  position: sticky;
  top: 16px;
  z-index: var(--z-nav);
  width: calc(100% - 220px);
  min-height: 66px;
  margin: 0 0 26px 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--highlight-line);
  border-radius: 20px;
  box-shadow: var(--shadow-nav);
  padding: 8px 12px 8px 24px;
}
.desktop-header nav { display: flex; align-items: center; gap: 8px; }
.top-nav-item {
  position: relative;
  min-height: 46px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-2);
  padding: 0 20px;
  font-weight: 650;
  transition: color var(--transition), background var(--transition);
}
.top-nav-item:hover { color: var(--accent-strong); background: color-mix(in oklch, var(--accent-soft), transparent 70%); }
.top-nav-item.is-active { color: var(--accent-strong); }
.top-nav-item.is-active::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 4px;
  left: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.demo-badge, .local-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent-soft), transparent 30%);
  color: var(--accent-ink);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.05em;
}
.icon-button, .avatar-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.icon-button:hover, .avatar-button:hover { color: var(--accent-strong); background: color-mix(in oklch, var(--accent-soft), transparent 55%); }
.icon-button:active, .avatar-button:active { transform: scale(0.94); }
.avatar-button { background: linear-gradient(145deg, var(--accent-soft), color-mix(in oklch, var(--surface), var(--blue) 12%)); }
.avatar-button svg { width: 19px; height: 19px; }
.mobile-header { display: none; }

/* Desktop layout and channel rail */
.today-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}
.channel-rail {
  position: sticky;
  top: 22px;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  padding: 0 0 12px;
}
.brand-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: -92px 0 44px 14px;
  border-top: 1px solid var(--highlight-line);
  border-radius: 18px;
  background: var(--surface-raised);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(75, 91, 150, 0.1);
}
.brand-mark svg { width: 30px; height: 30px; stroke-width: 2.1; }
.rail-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 8px 14px; }
.rail-heading p { font-size: 17px; font-weight: 760; letter-spacing: -0.02em; }
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: transparent;
  color: var(--muted);
  padding: 5px 0;
  font-size: 12px;
  transition: color var(--transition);
}
.text-button:hover { color: var(--accent-strong); }
.text-button svg { width: 15px; height: 15px; }
.rail-list { display: grid; gap: 8px; }
.rail-channel {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: transparent;
  color: var(--ink-2);
  padding: 7px 10px;
  text-align: left;
  font-weight: 650;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.rail-channel:hover { transform: translateY(-1px); background: color-mix(in oklch, var(--surface), transparent 28%); }
.rail-channel.is-selected { background: color-mix(in oklch, var(--accent-soft), var(--surface) 48%); color: var(--ink); }
.channel-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in oklch, var(--accent-soft), var(--surface) 62%);
  color: var(--accent);
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-stocks { color: oklch(0.62 0.17 268); }
.channel-ai { color: oklch(0.61 0.13 240); }
.channel-faith { color: oklch(0.59 0.1 312); }
.channel-sports { color: oklch(0.62 0.13 183); }
.rail-check { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: white; }
.is-selected .rail-check { border-color: var(--accent); background: var(--accent); }
.rail-check svg { width: 13px; height: 13px; stroke-width: 2.4; }
.invite-card {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 46px 1fr 18px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 10px;
  margin: auto 4px 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, color-mix(in oklch, var(--surface), var(--blue) 5%), color-mix(in oklch, var(--accent-soft), var(--surface) 75%));
  color: var(--ink-2);
  padding: 15px;
  text-align: left;
  transition: transform var(--transition), background var(--transition);
}
.invite-card:hover { transform: translateY(-2px); }
.invite-card > span { grid-row: 1 / 3; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.58); color: var(--accent); }
.invite-card strong { align-self: end; font-size: 13px; }
.invite-card small { align-self: start; color: var(--muted); font-size: 10px; }
.invite-card > svg { grid-column: 3; grid-row: 1 / 3; width: 16px; height: 16px; }
.today-main { min-width: 0; display: grid; gap: 22px; }
.mobile-channel-tabs { display: none; }

/* Main player */
.main-player {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius-player);
  background:
    radial-gradient(circle at 74% 18%, rgba(255,255,255,.92), transparent 12%),
    radial-gradient(circle at 72% 32%, color-mix(in oklch, var(--blue), transparent 44%), transparent 28%),
    linear-gradient(135deg, color-mix(in oklch, var(--surface), var(--blue) 7%), color-mix(in oklch, var(--accent-soft), var(--surface) 66%));
  box-shadow: var(--shadow-player);
  padding: 38px 38px 28px;
  isolation: isolate;
}
.theme-dark .main-player {
  background:
    radial-gradient(circle at 74% 20%, rgba(169, 184, 255, 0.28), transparent 13%),
    radial-gradient(circle at 72% 32%, rgba(83, 125, 231, 0.25), transparent 30%),
    linear-gradient(135deg, oklch(0.3 0.055 268), oklch(0.25 0.06 282));
}
.main-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(105deg, rgba(255,255,255,.26), transparent 48%, rgba(255,255,255,.12));
  pointer-events: none;
}
.player-glow {
  position: absolute;
  z-index: -1;
  top: 28px;
  right: 8%;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.96), rgba(255,255,255,.25) 22%, transparent 45%),
    linear-gradient(145deg, rgba(179, 205, 255, .56), rgba(207, 190, 255, .28));
  box-shadow: inset -14px -22px 40px rgba(87, 105, 213, .2), 0 20px 50px rgba(80, 98, 176, .18);
  opacity: .88;
}
.player-glow::before, .player-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.58);
}
.player-glow::before { inset: 12px; }
.player-glow::after { inset: 26px; border-color: rgba(255,255,255,.28); }
.player-copy { position: relative; z-index: 2; width: 64%; }
.player-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.player-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in oklch, var(--accent-soft), transparent 38%); }
.player-copy h1 { margin-top: 15px; font-size: clamp(29px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.035em; }
.player-lead { margin-top: 8px; color: var(--ink-2); font-size: 17px; }
.player-meta { margin-top: 12px; color: var(--muted); font-size: 12px; }
.player-meta b { margin: 0 5px; color: var(--faint); }
.player-wave { position: absolute; z-index: 3; right: 28px; bottom: 88px; left: 142px; height: 66px; }
.waveform { width: 100%; height: 100%; display: flex; align-items: center; gap: 3px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.waveform i { width: 3px; height: var(--bar-height); min-height: 4px; border-radius: 999px; background: color-mix(in oklch, var(--accent), transparent 72%); transition: background var(--transition); }
.waveform i.is-active { background: color-mix(in oklch, var(--accent), var(--blue) 20%); }
.player-controls { position: absolute; z-index: 4; bottom: 28px; left: 36px; display: flex; align-items: center; gap: 10px; }
.primary-play {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: var(--accent-strong);
  box-shadow: 0 8px 20px rgba(76, 86, 153, .15);
  transition: transform var(--transition), background var(--transition);
}
.theme-dark .primary-play { background: rgba(233, 237, 255, .9); color: oklch(0.54 0.22 274); }
.primary-play:hover { transform: scale(1.035); background: white; }
.primary-play:active { transform: scale(.96); }
.primary-play svg { width: 29px; height: 29px; }
.control-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.47);
  color: var(--ink-2);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 650;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.theme-dark .control-chip { background: rgba(17, 22, 37, .35); }
.control-chip:hover, .control-chip.is-selected { color: var(--accent-strong); background: rgba(255,255,255,.78); transform: translateY(-1px); }
.control-chip svg { width: 15px; height: 15px; }
.current-line { display: none; }

/* Headlines and cards */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-heading h2 { font-size: 20px; letter-spacing: -0.025em; }
.section-heading p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.brief-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: color-mix(in oklch, var(--surface), transparent 10%);
  padding: 16px;
  transition: transform var(--transition), background var(--transition);
}
.brief-card:hover { transform: translateY(-2px); background: var(--surface); }
.brief-card-top, .brief-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brief-channel { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-strong); font-size: 10px; font-weight: 760; }
.brief-channel svg { width: 13px; height: 13px; }
.importance { min-height: 21px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface-soft); color: var(--muted); padding: 0 8px; font-size: 9px; }
.importance-high { background: color-mix(in oklch, var(--accent-soft), var(--surface) 45%); color: var(--accent-ink); }
.brief-main { width: 100%; min-height: 122px; display: grid; grid-template-columns: minmax(0, 1fr) 66px; align-items: center; gap: 14px; background: transparent; padding: 14px 0 12px; text-align: left; }
.brief-copy { min-width: 0; display: grid; gap: 8px; }
.brief-copy strong { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 15px; line-height: 1.45; letter-spacing: -0.015em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.brief-copy > span { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.brief-art { width: 66px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, color-mix(in oklch, var(--accent-soft), white 22%), color-mix(in oklch, var(--surface), var(--blue) 10%)); color: var(--accent); }
.theme-dark .brief-art { background: linear-gradient(145deg, color-mix(in oklch, var(--surface-soft), var(--accent) 9%), var(--surface)); }
.brief-art svg { width: 27px; height: 27px; opacity: .72; }
.brief-footer { color: var(--faint); font-size: 9px; }
.brief-footer > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brief-footer > div { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.brief-footer button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: transparent; color: var(--muted); }
.brief-footer button:hover { background: var(--surface-soft); color: var(--accent-strong); }
.brief-footer button[aria-pressed="true"] { color: var(--accent-strong); }
.brief-footer svg { width: 14px; height: 14px; }

/* Playlist */
.playlist-panel { min-width: 0; border-radius: var(--radius-lg); background: color-mix(in oklch, var(--surface), transparent 8%); padding: 20px 12px 14px; }
.compact-heading { align-items: center; padding: 0 8px 14px; }
.compact-heading h2 { font-size: 17px; }
.compact-heading .icon-button { width: 34px; height: 34px; }
.compact-heading svg { width: 17px; height: 17px; }
.playlist { max-height: 590px; margin: 0; overflow-y: auto; padding: 0; list-style: none; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.playlist-item {
  min-height: 70px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  padding: 8px;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}
.playlist-item + .playlist-item { margin-top: 3px; }
.playlist-item:hover, .playlist-item.is-active { background: color-mix(in oklch, var(--accent-soft), var(--surface) 62%); }
.playlist-item.is-dragging { opacity: .48; transform: scale(.98); }
.playlist-play { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-soft); color: var(--accent); }
.playlist-play svg { width: 16px; height: 16px; }
.playlist-copy { min-width: 0; display: grid; gap: 3px; background: transparent; padding: 0; text-align: left; }
.playlist-copy strong { overflow: hidden; color: var(--ink-2); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.playlist-copy span { color: var(--muted); font-size: 9px; }
.drag-handle { color: var(--faint); cursor: grab; }
.drag-handle svg { width: 18px; height: 18px; }
.move-controls { display: none; }
.customize-button { width: calc(100% - 12px); min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 6px 0; border-radius: 12px; background: var(--surface-soft); color: var(--ink-2); font-size: 11px; font-weight: 650; transition: color var(--transition), background var(--transition); }
.customize-button:hover { color: var(--accent-strong); background: var(--accent-soft); }
.customize-button svg { width: 14px; height: 14px; }

/* Mini player and bottom navigation */
.mini-player {
  position: fixed;
  z-index: var(--z-mini);
  right: max(24px, calc((100vw - 1384px) / 2));
  bottom: 24px;
  width: min(440px, calc(100vw - 48px));
  min-height: 66px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 78px 38px 38px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--highlight-line);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(50, 62, 110, .18);
  padding: 8px 10px;
}
.mini-player-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, oklch(0.3 0.12 272), oklch(0.18 0.09 273)); color: white; }
.mini-player-icon svg { width: 22px; height: 22px; stroke-width: 2.1; }
.mini-copy { min-width: 0; display: grid; gap: 2px; background: transparent; text-align: left; }
.mini-copy strong, .mini-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-copy strong { font-size: 11px; }
.mini-copy span { color: var(--muted); font-size: 9px; }
.mini-copy span b { font: inherit; }
.mini-wave { height: 24px; }
.waveform.is-compact { gap: 2px; mask-image: none; }
.waveform.is-compact i { width: 2px; }
.mini-player .icon-button { width: 36px; height: 36px; }
.mini-player .icon-button svg { width: 18px; height: 18px; }
.bottom-nav { display: none; }

/* Secondary views */
.secondary-view { width: calc(100% - 220px); margin-left: 220px; padding: 18px 0 0; }
.secondary-title { min-height: 126px; display: flex; align-items: center; gap: 20px; margin: 6px 0 22px; padding: 12px 24px; }
.secondary-title > .title-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(145deg, var(--accent-soft), color-mix(in oklch, var(--surface), var(--blue) 10%)); color: var(--accent); }
.secondary-title > .title-icon svg { width: 30px; height: 30px; }
.secondary-title h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.035em; }
.secondary-title p { max-width: 60ch; margin-top: 7px; color: var(--muted); }
.settings-section { border-radius: var(--radius-lg); background: color-mix(in oklch, var(--surface), transparent 7%); padding: 22px; }
.settings-section + .settings-section, .secondary-list-preview { margin-top: 16px; }
.settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.settings-heading h2 { font-size: 17px; }
.settings-heading p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.settings-heading > span { color: var(--muted); font-size: 12px; }
.manager-list { display: grid; gap: 4px; }
.manager-item { min-height: 68px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 30px; align-items: center; gap: 12px; border-radius: 13px; padding: 8px 10px; transition: background var(--transition), opacity var(--transition); }
.manager-item:hover { background: var(--surface-soft); }
.manager-item:not(.is-selected) { opacity: .58; }
.manager-item .channel-icon { width: 42px; height: 42px; }
.manager-item > div { min-width: 0; display: grid; gap: 2px; }
.manager-item strong { font-size: 13px; }
.manager-item small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.visibility-button { min-height: 34px; display: flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); padding: 0 11px; font-size: 10px; }
.is-selected .visibility-button { background: var(--accent-soft); color: var(--accent-strong); }
.visibility-button svg { width: 14px; height: 14px; }
.manager-order { color: var(--faint); font: 11px/1.2 "Cascadia Code", monospace; }
.stock-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stock-list { min-height: 100px; border-radius: 15px; background: var(--surface-soft); padding: 14px; }
.stock-list > div { display: flex; justify-content: space-between; margin-bottom: 12px; }
.stock-list > div strong { font-size: 12px; }
.stock-list > div span, .stock-list > p { color: var(--muted); font-size: 10px; }
.stock-chip { display: inline-flex; align-items: center; gap: 4px; margin: 0 5px 5px 0; border-radius: 999px; background: var(--surface); color: var(--ink-2); padding: 5px 6px 5px 9px; font-size: 10px; }
.stock-chip button { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: transparent; color: var(--muted); padding: 0; }
.stock-chip button:hover { background: var(--accent-soft); color: var(--accent-strong); }
.stock-chip svg { width: 12px; height: 12px; }
.stock-add-form { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; align-items: end; gap: 10px; margin-top: 14px; }
.stock-add-form label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
input, select { min-height: 42px; border: 1px solid transparent; border-radius: 12px; outline: none; background: var(--surface-soft); color: var(--ink); padding: 0 12px; transition: border-color var(--transition), background var(--transition); }
input:focus, select:focus { border-color: var(--accent); background: var(--surface); }
input::placeholder { color: color-mix(in oklch, var(--ink), transparent 42%); }
.primary-button, .secondary-button, .continue-button, .danger-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 13px;
  padding: 0 18px;
  font-weight: 720;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.primary-button, .continue-button { background: linear-gradient(115deg, var(--accent), var(--accent-strong)); color: white; }
.primary-button:hover, .continue-button:hover { transform: translateY(-1px); }
.primary-button svg, .secondary-button svg, .danger-button svg { width: 16px; height: 16px; }
.secondary-button { background: var(--surface-soft); color: var(--ink-2); }
.danger-button { background: color-mix(in oklch, var(--danger), transparent 88%); color: var(--danger); }
.secondary-list-preview { padding: 22px 0 0; }
.secondary-list-preview .brief-card { margin-top: 9px; }
.brief-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.brief-row .brief-card-top { align-self: start; }
.brief-row .brief-main { min-height: 74px; grid-template-columns: minmax(0, 1fr); padding: 6px 0; }
.brief-row .brief-art { display: none; }
.brief-row .brief-footer { align-self: center; }
.favorites-grid { display: grid; gap: 10px; }
.empty-state { min-height: 360px; display: grid; place-items: center; align-content: center; border-radius: var(--radius-lg); background: color-mix(in oklch, var(--surface), transparent 8%); padding: 32px; text-align: center; }
.empty-state > span { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 24px; background: var(--accent-soft); color: var(--accent); }
.empty-state > span svg { width: 30px; height: 30px; }
.empty-state h2 { margin-top: 18px; font-size: 20px; }
.empty-state p { max-width: 38ch; margin: 8px 0 20px; color: var(--muted); }
.profile-title { position: relative; }
.profile-avatar { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--accent-soft), color-mix(in oklch, var(--surface), var(--blue) 12%)); color: var(--accent); }
.profile-avatar svg { width: 29px; height: 29px; }
.profile-title .local-badge { margin-left: auto; }
.preference-row { min-height: 72px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-radius: 13px; padding: 8px 10px; }
.preference-row + .preference-row { border-top: 1px solid var(--line); }
.preference-row > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-soft); color: var(--accent); }
.preference-row > span svg { width: 19px; height: 19px; }
.preference-row > div { display: grid; gap: 2px; }
.preference-row strong { font-size: 12px; }
.preference-row small { color: var(--muted); font-size: 10px; }
.preference-row > b { color: var(--ink-2); font-size: 12px; }
.toggle { width: 46px; height: 26px; border-radius: 999px; background: var(--line-strong); padding: 3px; transition: background var(--transition); }
.toggle i { display: block; width: 20px; height: 20px; border-radius: 50%; background: white; transform: translateX(0); transition: transform var(--transition); }
.toggle.is-on { background: var(--accent); }
.toggle.is-on i { transform: translateX(20px); }
.notice-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px; }
.notice-row > svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.notice-row p { display: grid; gap: 2px; }
.notice-row strong { font-size: 12px; }
.notice-row span { color: var(--muted); font-size: 10px; }
.privacy-section .danger-button { margin: 16px 10px 0; }

/* Onboarding */
.modal-backdrop, .drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-backdrop);
  display: grid;
  place-items: center;
  background: rgba(54, 62, 94, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 24px;
}
.theme-dark .modal-backdrop, .theme-dark .drawer-backdrop { background: rgba(5, 8, 16, .55); }
.onboarding {
  position: relative;
  z-index: var(--z-dialog);
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-top: 1px solid var(--highlight-line);
  border-radius: 28px;
  box-shadow: var(--shadow-modal);
  padding: 30px;
  animation: dialog-in 280ms cubic-bezier(.2,.9,.2,1) both;
}
.onboarding-progress { display: flex; justify-content: center; gap: 6px; margin-bottom: 22px; }
.onboarding-progress i { width: 24px; height: 3px; border-radius: 999px; background: var(--line-strong); }
.onboarding-progress i.is-active { background: var(--accent); }
.onboarding-heading { display: grid; justify-items: center; text-align: center; }
.onboarding-mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, var(--accent), var(--accent-strong)); color: white; }
.onboarding-mark svg { width: 23px; height: 23px; }
.onboarding-heading h1 { margin-top: 15px; font-size: 28px; line-height: 1.2; letter-spacing: -0.035em; }
.onboarding-heading p { max-width: 55ch; margin-top: 8px; color: var(--muted); font-size: 12px; }
.onboarding-channel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 24px; }
.onboarding-channel {
  position: relative;
  min-width: 0;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: color-mix(in oklch, var(--surface), transparent 18%);
  padding: 12px 7px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.onboarding-channel:hover { transform: translateY(-2px); }
.onboarding-channel.is-selected { border-color: var(--accent); background: linear-gradient(155deg, color-mix(in oklch, var(--accent-soft), var(--surface) 36%), color-mix(in oklch, var(--surface), var(--blue) 7%)); }
.onboarding-channel strong { font-size: 12px; }
.onboarding-channel small { min-height: 30px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.onboarding-check { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; opacity: 0; transform: scale(.8); transition: opacity var(--transition), transform var(--transition); }
.onboarding-channel.is-selected .onboarding-check { opacity: 1; transform: scale(1); }
.onboarding-check svg { width: 13px; height: 13px; stroke-width: 2.5; }
.onboarding-note { margin-top: 14px; color: var(--muted); font-size: 10px; text-align: center; }
.onboarding-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.onboarding-actions .secondary-button { min-width: 110px; }
.continue-button { min-width: 280px; border-radius: 999px; }
.continue-button svg { width: 17px; height: 17px; }
.choice-field { margin: 24px 0 0; border: 0; padding: 0; }
.choice-field legend { width: 100%; margin-bottom: 10px; color: var(--ink-2); font-size: 11px; text-align: center; }
.segmented-choice { display: flex; justify-content: center; gap: 8px; }
.segmented-choice button { min-width: 104px; min-height: 40px; border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.segmented-choice button.is-selected { background: var(--accent-soft); color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--accent); }
.voice-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.voice-choice button { min-height: 92px; display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; align-content: center; gap: 2px 10px; border-radius: 16px; background: var(--surface); padding: 12px; text-align: left; }
.voice-choice button.is-selected { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.voice-choice button > span { grid-row: 1 / 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-soft); color: var(--accent); }
.voice-choice svg { width: 17px; height: 17px; }
.voice-choice strong { font-size: 11px; }
.voice-choice small { color: var(--muted); font-size: 9px; }
.time-choice { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; border-radius: 15px; background: var(--surface); padding: 10px 14px; }
.time-choice > span { display: grid; gap: 2px; }
.time-choice b { font-size: 11px; }
.time-choice small { color: var(--muted); font-size: 9px; }
.time-choice input { min-height: 38px; }
.onboarding-stock-form { display: grid; grid-template-columns: minmax(0, 1fr) 120px 42px; gap: 8px; margin-top: 24px; }
.onboarding-stock-form button { width: 42px; border-radius: 12px; background: var(--accent); color: white; }
.onboarding-stock-form button svg { width: 17px; height: 17px; }
.onboarding-stock-columns { margin-top: 12px; }
@keyframes dialog-in { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Drawer and toast */
.drawer-backdrop { place-items: stretch end; padding: 16px; }
.detail-drawer { width: min(480px, 100%); height: 100%; overflow-y: auto; border-top: 1px solid var(--highlight-line); border-radius: 24px; box-shadow: var(--shadow-modal); padding: 24px; animation: drawer-in 280ms cubic-bezier(.22,1,.36,1) both; }
.drawer-handle { display: none; }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-meta { margin-top: 26px; color: var(--muted); font-size: 10px; }
.detail-drawer h2 { margin-top: 10px; font-size: 28px; line-height: 1.28; letter-spacing: -0.035em; }
.drawer-summary { margin-top: 12px; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.drawer-playback-controls { position: sticky; z-index: 3; top: 0; margin: 18px -5px 0; border: 1px solid color-mix(in oklch, var(--accent), transparent 72%); border-radius: 18px; background: color-mix(in oklch, var(--surface), transparent 3%); padding: 12px; box-shadow: 0 12px 30px color-mix(in oklch, var(--ink), transparent 91%); backdrop-filter: blur(18px); }
.drawer-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--ink-2); font-size: 11px; font-weight: 650; }
.drawer-progress-row strong { color: var(--accent-ink); font-size: 11px; }
.drawer-progress { height: 12px; margin-top: 8px; overflow: hidden; border: 1px solid color-mix(in oklch, var(--accent), transparent 66%); border-radius: 999px; background: color-mix(in oklch, var(--accent), transparent 78%); box-shadow: inset 0 1px 3px color-mix(in oklch, var(--ink), transparent 88%); }
.drawer-progress > span { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--accent), var(--violet)); transition: width 180ms linear; }
.transcript-block { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin-top: 24px; border-radius: 18px; background: var(--surface-soft); padding: 18px; }
.transcript-block > svg { color: var(--accent); }
.transcript-copy { display: grid; gap: 14px; min-width: 0; }
.transcript-copy p { color: var(--ink-2); line-height: 1.85; }
.drawer-source { margin-top: 16px; color: var(--muted); font-size: 10px; }
.drawer-source a { color: var(--accent); text-decoration: none; font-weight: 650; }
.drawer-source a:hover { text-decoration: underline; text-underline-offset: 3px; }
.drawer-actions { display: flex; gap: 10px; }
.drawer-actions .primary-button { flex: 1; }
.drawer-next-button svg { transform: rotate(0deg); }
.drawer-tip { margin-top: 18px; color: var(--muted); }
@keyframes drawer-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.toast { position: fixed; z-index: var(--z-toast); bottom: 102px; left: 50%; max-width: min(420px, calc(100vw - 32px)); border-radius: 999px; background: color-mix(in oklch, var(--ink), transparent 5%); color: var(--surface); padding: 10px 16px; font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity var(--transition), transform var(--transition); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .desktop-header { width: calc(100% - 212px); margin-left: 188px; }
  .today-shell { grid-template-columns: 166px minmax(0, 1fr); }
  .channel-rail { min-width: 0; }
  .brand-mark { margin-left: 6px; }
  .playlist-panel { grid-column: 2; }
  .playlist { max-height: 300px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .playlist-item + .playlist-item { margin-top: 0; }
  .secondary-view { width: calc(100% - 188px); margin-left: 188px; }
}

@media (max-width: 760px) {
  body { font-size: 13px; }
  .app-shell { overflow: clip; }
  .ambient-orb { width: 80vw; filter: blur(70px); }
  .page-frame { width: 100%; padding: 0 max(16px, env(safe-area-inset-right)) calc(164px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .desktop-header, .channel-rail, .playlist-panel { display: none; }
  .today-shell { display: block; }
  .today-main { display: block; }
  .mobile-header {
    min-height: 88px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding: calc(16px + env(safe-area-inset-top)) 2px 12px;
  }
  .mobile-header p { color: var(--muted); font-size: 10px; }
.mobile-greeting-title { display: block; margin-top: 3px; font-size: 22px; line-height: 1.2; letter-spacing: -0.035em; }
  .mobile-header-actions { display: flex; align-items: center; gap: 3px; }
  .mobile-header .icon-button { width: 44px; height: 44px; }
  .mobile-header .icon-button svg { width: 18px; height: 18px; }
  .mobile-demo-dot { min-height: 22px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); padding: 0 7px; font-size: 8px; font-weight: 800; letter-spacing: .05em; }
  .mobile-channel-tabs { display: flex; gap: 7px; margin: 2px -16px 14px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .mobile-channel-tabs::-webkit-scrollbar { display: none; }
  .channel-pill { min-width: 62px; min-height: 44px; flex: 0 0 auto; border-radius: 999px; background: var(--surface-raised); color: var(--ink-2); padding: 0 14px; font-size: 11px; font-weight: 650; scroll-snap-align: start; }
  .channel-pill.is-selected { background: linear-gradient(115deg, var(--accent), var(--accent-strong)); color: white; }
  .main-player { min-height: 288px; border-radius: 26px; padding: 20px 18px; }
  .player-glow { top: 38px; right: -18px; width: 150px; opacity: .58; }
  .player-copy { width: 100%; }
  .player-kicker { font-size: 10px; }
  .player-copy h1 { display: none; }
  .player-lead { margin-top: 10px; font-size: 18px; font-weight: 720; }
  .player-meta { margin-top: 5px; font-size: 10px; }
  .player-wave { top: 91px; right: 14px; bottom: auto; left: 14px; height: 62px; }
  .player-controls { right: 14px; bottom: 24px; left: 14px; display: grid; grid-template-columns: 1fr auto auto auto; gap: 6px; }
  .primary-play { grid-row: 1; width: 58px; height: 58px; margin-right: auto; }
  .primary-play svg { width: 26px; height: 26px; }
  .control-chip { min-width: 44px; min-height: 44px; padding: 0 10px; font-size: 10px; }
  .control-chip svg { width: 13px; height: 13px; }
  .current-line { position: absolute; right: 16px; bottom: 84px; left: 16px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
  .current-line span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .highlights { margin-top: 20px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading .text-button { min-height: 44px; }
  .section-heading p { display: none; }
  .highlight-grid { grid-template-columns: 1fr; gap: 9px; }
  .brief-card { border-radius: 17px; padding: 13px; }
  .brief-main { min-height: 92px; grid-template-columns: minmax(0, 1fr) 62px; gap: 10px; padding: 9px 0; }
  .brief-copy strong { font-size: 13px; }
  .brief-copy > span { font-size: 10px; -webkit-line-clamp: 1; }
  .brief-art { width: 62px; border-radius: 14px; }
  .brief-footer { font-size: 8px; }
  .brief-footer button { width: 44px; height: 44px; }
  .mini-player {
    right: 10px;
    bottom: calc(73px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    min-height: 58px;
    grid-template-columns: 38px minmax(0, 1fr) 34px 34px;
    gap: 6px;
    border-radius: 16px;
    padding: 6px 8px;
  }
  .mini-player-icon { width: 38px; height: 38px; border-radius: 10px; }
  .mini-player-icon svg { width: 20px; height: 20px; }
  .mini-wave { display: none; }
  .mini-player .icon-button { width: 44px; height: 44px; }
  .mini-player { min-height: 66px; grid-template-columns: 42px minmax(0, 1fr) 44px 44px; }
  .mini-copy { min-height: 44px; justify-content: center; }
  .bottom-nav {
    position: fixed;
    z-index: var(--z-mini);
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(66px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    background: color-mix(in oklch, var(--surface), transparent 4%);
    padding: 7px max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left));
    box-shadow: 0 -8px 24px rgba(48, 60, 105, .08);
  }
  .bottom-nav-item { min-height: 54px; display: grid; place-items: center; align-content: center; gap: 2px; background: transparent; color: var(--muted); font-size: 9px; }
  .bottom-nav-item svg { width: 20px; height: 20px; }
  .bottom-nav-item.is-active { color: var(--accent-strong); font-weight: 720; }
  .secondary-view { width: 100%; margin: 0; padding: 0; }
  .secondary-title { min-height: 90px; gap: 13px; margin: 4px 0 14px; padding: 8px 4px; }
  .secondary-title > .title-icon { width: 54px; height: 54px; border-radius: 17px; }
  .secondary-title > .title-icon svg { width: 24px; height: 24px; }
  .secondary-title h1 { font-size: 24px; }
  .secondary-title p { font-size: 10px; }
  .settings-section { border-radius: 20px; padding: 16px 12px; }
  .manager-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 7px 6px; }
  .manager-order { display: none; }
  .visibility-button span { display: none; }
  .visibility-button { width: 38px; min-height: 34px; justify-content: center; padding: 0; }
  .stock-columns { grid-template-columns: 1fr; }
  .stock-add-form { grid-template-columns: minmax(0, 1fr) 92px; }
  .stock-add-form .primary-button { grid-column: 1 / -1; }
  .brief-row { display: block; }
  .brief-row .brief-card-top, .brief-row .brief-footer { display: flex; }
  .profile-title { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; }
  .profile-avatar { width: 58px; height: 58px; }
  .profile-title .local-badge { font-size: 8px; padding: 0 7px; }
  .preference-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 9px; padding: 8px 4px; }
  .preference-row > b { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .modal-backdrop { align-items: end; padding: 0; }
  .onboarding { width: 100%; max-height: calc(100vh - env(safe-area-inset-top) - 12px); border-radius: 26px 26px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); }
  .onboarding-progress { margin-bottom: 16px; }
  .onboarding-mark { width: 44px; height: 44px; border-radius: 14px; }
  .onboarding-heading h1 { margin-top: 12px; font-size: 23px; }
  .onboarding-heading p { font-size: 10px; }
  .onboarding-channel-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 18px; }
  .onboarding-channel { min-height: 94px; display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; justify-items: start; gap: 0 9px; border-radius: 15px; padding: 10px; text-align: left; }
  .onboarding-channel:last-child { grid-column: 1 / -1; }
  .onboarding-channel .channel-icon { grid-row: 1 / 3; width: 38px; height: 38px; }
  .onboarding-channel small { min-height: 0; }
  .onboarding-note { margin-top: 9px; }
  .onboarding-actions { position: sticky; bottom: 0; margin-top: 16px; padding-top: 4px; }
  .onboarding-actions .continue-button { min-width: 0; flex: 1; }
  .voice-choice { gap: 6px; }
  .voice-choice button { min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px; text-align: center; }
  .voice-choice button > span { width: 32px; height: 32px; }
  .segmented-choice button { min-width: 0; flex: 1; }
  .time-choice { padding: 9px 10px; }
  .onboarding-stock-form { grid-template-columns: minmax(0, 1fr) 100px 40px; }
  .onboarding-stock-columns { grid-template-columns: 1fr 1fr; }
  .drawer-backdrop { align-items: end; padding: 0; }
  .detail-drawer { width: 100%; height: auto; max-height: 84vh; border-radius: 24px 24px 0 0; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); animation-name: drawer-up; }
  .drawer-handle { width: 36px; height: 4px; display: block; margin: 0 auto 12px; border-radius: 999px; background: var(--line-strong); }
  .drawer-meta { margin-top: 18px; }
  .detail-drawer h2 { font-size: 23px; }
  .transcript-block { padding: 15px; }
  @keyframes drawer-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 380px) {
  .control-chip { padding: 0 8px; }
  .control-chip:first-of-type svg, .control-chip:last-of-type svg { display: none; }
  .onboarding-channel-grid { grid-template-columns: 1fr; }
  .onboarding-channel:last-child { grid-column: auto; }
  .onboarding { padding-inline: 13px; }
  .voice-choice button small { display: none; }
}

/* AI theme: strict white-surface / blue-violet ambient replica */
.ai-theme.theme-light {
  background:
    radial-gradient(70rem 52rem at 2% 0%, rgba(204, 221, 255, 0.98) 0%, rgba(204, 221, 255, 0) 70%),
    radial-gradient(54rem 44rem at 98% 3%, rgba(226, 211, 255, 0.88) 0%, rgba(226, 211, 255, 0) 72%),
    radial-gradient(82rem 34rem at 50% 108%, rgba(142, 162, 211, 0.76) 0%, rgba(142, 162, 211, 0) 76%),
    linear-gradient(135deg, var(--ai-canvas-blue) 0%, var(--ai-canvas-white) 48%, var(--ai-canvas-lavender) 100%);
}
.ai-theme.theme-light .ambient-orb { display: none; }
.ai-theme.theme-light .glass-surface,
.ai-theme.theme-light .glass-dialog {
  border: 1px solid var(--ai-border-light);
  background: var(--ai-surface-glass);
  -webkit-backdrop-filter: blur(26px) saturate(120%);
  backdrop-filter: blur(26px) saturate(120%);
}
.ai-theme.theme-light .desktop-header {
  box-shadow: var(--ai-shadow-card);
}
.ai-theme.theme-light .brand-mark {
  border: 1px solid var(--ai-border-light);
  background: var(--ai-surface-strong);
  box-shadow: var(--ai-shadow-card);
}
.ai-theme.theme-light .rail-channel:hover {
  background: rgba(255, 255, 255, 0.68);
}
.ai-theme.theme-light .rail-channel.is-selected {
  background: linear-gradient(105deg, rgba(216, 228, 255, 0.98), rgba(229, 219, 255, 0.9));
  box-shadow: inset 3px 0 0 rgba(94, 97, 247, 0.78), 0 10px 26px rgba(68, 84, 146, 0.1);
}
.ai-theme.theme-light .channel-icon {
  background: rgba(241, 245, 255, 0.96);
}
.ai-theme.theme-light .is-selected .rail-check {
  border-color: transparent;
  background: var(--ai-button-gradient);
  box-shadow: 0 6px 14px rgba(102, 103, 247, 0.24);
}
.ai-theme.theme-light .invite-card {
  border: 1px solid var(--ai-border-light);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,236,255,.88));
  box-shadow: var(--ai-shadow-card);
}
.player-hero-art { display: none; }
.ai-theme.theme-light .main-player {
  min-height: 342px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 74% 38%, rgba(255, 255, 255, 0.98) 0%, rgba(238, 242, 255, 0.94) 10%, rgba(177, 198, 255, 0.68) 29%, rgba(125, 135, 239, 0.32) 49%, rgba(125, 135, 239, 0) 68%),
    radial-gradient(ellipse at 72% 55%, rgba(107, 135, 255, 0.44) 0%, rgba(107, 135, 255, 0) 62%),
    radial-gradient(ellipse at 96% 88%, rgba(196, 161, 255, 0.54) 0%, rgba(196, 161, 255, 0) 54%),
    linear-gradient(110deg, var(--ai-hero-left) 0%, var(--ai-hero-blue) 29%, var(--ai-hero-indigo) 59%, var(--ai-hero-violet) 100%);
  box-shadow: var(--ai-shadow-floating);
}
.ai-theme.theme-light .main-player::after {
  z-index: 0;
  background:
    radial-gradient(ellipse at 57% 42%, rgba(255,255,255,.58), rgba(255,255,255,0) 38%),
    linear-gradient(105deg, rgba(255,255,255,.3), transparent 48%, rgba(255,255,255,.08));
}
.ai-theme.theme-light .player-glow,
.ai-theme.theme-light .player-wave { display: none; }
.ai-theme.theme-light .player-hero-art {
  position: absolute;
  z-index: 1;
  top: -10px;
  right: -42px;
  width: 680px;
  max-width: none;
  height: auto;
  display: block;
  pointer-events: none;
  opacity: 0.9;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: normal;
  filter: saturate(0.72) contrast(1.08) brightness(1.02) drop-shadow(0 22px 36px rgba(91, 104, 224, 0.22)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.46));
}
.ai-theme.theme-light .player-copy { position: relative; z-index: 3; }
.ai-theme.theme-light .player-controls,
.ai-theme.theme-light .current-line { z-index: 3; }
.ai-theme.theme-light .primary-play {
  border: 1px solid rgba(255, 255, 255, 0.94);
  background: var(--ai-surface-strong);
  color: var(--ai-accent-indigo);
  box-shadow: 0 16px 32px rgba(102, 103, 247, 0.24), inset 0 1px 0 #fff;
}
.ai-theme.theme-light .primary-play:hover { background: #fff; }
.ai-theme.theme-light .control-chip,
.ai-theme.theme-light .segmented-choice button,
.ai-theme.theme-light .channel-pill {
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 5px 16px rgba(71, 89, 143, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}
.ai-theme.theme-light .control-chip:hover,
.ai-theme.theme-light .control-chip.is-selected {
  background: rgba(255, 255, 255, 0.96);
}
.ai-theme.theme-light .channel-pill.is-selected,
.ai-theme.theme-light .primary-button,
.ai-theme.theme-light .continue-button {
  border-color: transparent;
  background: var(--ai-button-gradient);
  color: #fff;
  box-shadow: 0 14px 30px rgba(102, 103, 247, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.ai-theme.theme-light .brief-card,
.ai-theme.theme-light .playlist-panel,
.ai-theme.theme-light .settings-section,
.ai-theme.theme-light .empty-state {
  border: 1px solid var(--ai-border-dark);
  background: var(--ai-surface);
  box-shadow: var(--ai-shadow-card);
}
.ai-theme.theme-light .brief-card:hover { background: #fff; }
.ai-theme.theme-light .brief-art,
.ai-theme.theme-light .playlist-play,
.ai-theme.theme-light .customize-button,
.ai-theme.theme-light .stock-list,
.ai-theme.theme-light input,
.ai-theme.theme-light select {
  background: #f3f6fd;
}
.ai-theme.theme-light .playlist-item:hover,
.ai-theme.theme-light .playlist-item.is-active {
  background: linear-gradient(105deg, rgba(232, 239, 255, 0.98), rgba(239, 235, 255, 0.88));
}
.ai-theme.theme-light .mini-player {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(66, 82, 139, 0.18), 0 6px 18px rgba(73, 88, 148, 0.08), inset 0 1px 0 #fff;
}
.ai-theme.theme-light .mini-player-icon { background: var(--ai-button-gradient); }
.ai-theme.theme-light .modal-backdrop,
.ai-theme.theme-light .drawer-backdrop {
  background: rgba(89, 102, 148, 0.1);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.ai-theme.theme-light .onboarding,
.ai-theme.theme-light .detail-drawer {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--ai-shadow-modal);
}
.ai-theme.theme-light .onboarding-channel,
.ai-theme.theme-light .voice-choice button,
.ai-theme.theme-light .time-choice {
  border-color: var(--ai-border-dark);
  background: #fff;
  box-shadow: 0 6px 20px rgba(74, 89, 139, 0.05);
}
.ai-theme.theme-light .onboarding-channel.is-selected,
.ai-theme.theme-light .voice-choice button.is-selected {
  border-color: var(--ai-accent-indigo);
  background: linear-gradient(150deg, #fff 0%, #edf1ff 100%);
  box-shadow: 0 12px 30px rgba(91, 104, 196, 0.12), inset 0 0 0 1px rgba(109, 112, 255, 0.28);
}
.ai-theme.theme-light .onboarding-check,
.ai-theme.theme-light .onboarding-mark { background: var(--ai-button-gradient); }
.ai-theme.theme-light .bottom-nav {
  border-top: 1px solid rgba(255,255,255,.92);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  backdrop-filter: blur(24px) saturate(120%);
  box-shadow: 0 -10px 28px rgba(67, 82, 139, 0.09);
}

/* AI dark theme: the light composition translated into deep navy / violet light */
.ai-theme.theme-dark {
  --bg: #0a1021;
  --bg-deep: #070b17;
  --surface: #161d31;
  --surface-soft: #1c2540;
  --surface-raised: rgba(27, 35, 59, 0.9);
  --glass: rgba(20, 27, 47, 0.88);
  --glass-strong: rgba(25, 33, 56, 0.96);
  --ink: #f4f6ff;
  --ink-2: #c9d1e8;
  --muted: #9aa6c5;
  --faint: #74809f;
  --line: rgba(154, 171, 235, 0.14);
  --line-strong: rgba(139, 156, 255, 0.36);
  --highlight-line: rgba(255, 255, 255, 0.13);
  --accent: #7d8fff;
  --accent-strong: #9aa7ff;
  --accent-ink: #bac3ff;
  --accent-soft: #252f64;
  --blue: #6d9cff;
  --violet: #a17aff;
  --shadow-nav: 0 16px 44px rgba(0, 0, 0, 0.3);
  --shadow-player: 0 34px 96px rgba(0, 0, 0, 0.48), 0 10px 30px rgba(55, 67, 149, 0.2);
  --shadow-modal: 0 42px 120px rgba(0, 0, 0, 0.62);
  background:
    radial-gradient(66rem 48rem at 3% 0%, rgba(43, 72, 139, 0.46) 0%, rgba(43, 72, 139, 0) 70%),
    radial-gradient(54rem 46rem at 98% 2%, rgba(90, 55, 151, 0.4) 0%, rgba(90, 55, 151, 0) 72%),
    radial-gradient(82rem 34rem at 50% 108%, rgba(42, 73, 132, 0.5) 0%, rgba(42, 73, 132, 0) 76%),
    linear-gradient(135deg, #0b1326 0%, #080d1b 48%, #151126 100%);
}
.ai-theme.theme-dark .ambient-orb { display: none; }
.ai-theme.theme-dark .glass-surface,
.ai-theme.theme-dark .glass-dialog {
  border: 1px solid rgba(157, 173, 235, 0.13);
  background: rgba(20, 27, 47, 0.88);
  -webkit-backdrop-filter: blur(26px) saturate(125%);
  backdrop-filter: blur(26px) saturate(125%);
}
.ai-theme.theme-dark .desktop-header,
.ai-theme.theme-dark .brand-mark { box-shadow: var(--shadow-nav); }
.ai-theme.theme-dark .brand-mark {
  border: 1px solid rgba(159, 176, 238, 0.16);
  background: rgba(27, 36, 61, 0.96);
}
.ai-theme.theme-dark .rail-channel:hover { background: rgba(89, 108, 171, 0.12); }
.ai-theme.theme-dark .rail-channel.is-selected {
  background: linear-gradient(105deg, rgba(43, 61, 111, 0.94), rgba(62, 45, 105, 0.82));
  box-shadow: inset 3px 0 0 rgba(126, 143, 255, 0.9), 0 12px 30px rgba(0, 0, 0, 0.22);
}
.ai-theme.theme-dark .channel-icon { background: rgba(34, 44, 74, 0.94); }
.ai-theme.theme-dark .is-selected .rail-check {
  border-color: transparent;
  background: linear-gradient(105deg, #7088ff, #7656ee);
  box-shadow: 0 8px 18px rgba(87, 92, 235, 0.36);
}
.ai-theme.theme-dark .invite-card {
  border: 1px solid rgba(155, 172, 235, 0.14);
  background: linear-gradient(135deg, rgba(28, 37, 62, 0.98), rgba(42, 34, 69, 0.92));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}
.ai-theme.theme-dark .main-player {
  min-height: 342px;
  border: 1px solid rgba(183, 195, 255, 0.16);
  background:
    radial-gradient(circle at 74% 38%, rgba(228, 234, 255, 0.28) 0%, rgba(129, 151, 244, 0.24) 14%, rgba(63, 82, 177, 0.2) 34%, rgba(63, 82, 177, 0) 61%),
    radial-gradient(ellipse at 72% 56%, rgba(53, 84, 190, 0.5) 0%, rgba(53, 84, 190, 0) 64%),
    radial-gradient(ellipse at 96% 88%, rgba(112, 66, 184, 0.52) 0%, rgba(112, 66, 184, 0) 58%),
    linear-gradient(110deg, #17223d 0%, #1b2c57 31%, #292e69 61%, #3a2b63 100%);
  box-shadow: var(--shadow-player);
}
.ai-theme.theme-dark .main-player::after {
  z-index: 0;
  background:
    radial-gradient(ellipse at 58% 42%, rgba(182, 200, 255, 0.12), rgba(182, 200, 255, 0) 40%),
    linear-gradient(105deg, rgba(255,255,255,.09), transparent 48%, rgba(182, 160, 255, .07));
}
.ai-theme.theme-dark .player-glow,
.ai-theme.theme-dark .player-wave { display: none; }
.ai-theme.theme-dark .player-hero-art {
  position: absolute;
  z-index: 1;
  top: -10px;
  right: -42px;
  width: 680px;
  max-width: none;
  height: auto;
  display: block;
  pointer-events: none;
  opacity: 0.9;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: screen;
  filter: saturate(0.9) contrast(1.18) brightness(0.86) drop-shadow(0 24px 40px rgba(75, 91, 222, 0.32)) drop-shadow(0 0 22px rgba(168, 184, 255, 0.22));
}
.ai-theme.theme-dark .player-copy { position: relative; z-index: 3; }
.ai-theme.theme-dark .player-controls,
.ai-theme.theme-dark .current-line { z-index: 3; }
.ai-theme.theme-dark .primary-play {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(246, 248, 255, 0.96);
  color: #6269f2;
  box-shadow: 0 18px 38px rgba(75, 80, 218, 0.34), inset 0 1px 0 #fff;
}
.ai-theme.theme-dark .control-chip,
.ai-theme.theme-dark .segmented-choice button,
.ai-theme.theme-dark .channel-pill {
  border: 1px solid rgba(162, 177, 235, 0.14);
  background: rgba(17, 23, 42, 0.72);
  color: var(--ink-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,.06);
}
.ai-theme.theme-dark .control-chip:hover,
.ai-theme.theme-dark .control-chip.is-selected { background: rgba(38, 49, 83, 0.94); }
.ai-theme.theme-dark .channel-pill.is-selected,
.ai-theme.theme-dark .primary-button,
.ai-theme.theme-dark .continue-button {
  border-color: transparent;
  background: linear-gradient(105deg, #6983ff 0%, #696bfa 48%, #794ced 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(79, 75, 220, 0.36), inset 0 1px 0 rgba(255,255,255,.24);
}
.ai-theme.theme-dark .brief-card,
.ai-theme.theme-dark .playlist-panel,
.ai-theme.theme-dark .settings-section,
.ai-theme.theme-dark .empty-state {
  border: 1px solid rgba(149, 165, 224, 0.12);
  background: linear-gradient(155deg, rgba(24, 31, 52, 0.98), rgba(17, 23, 41, 0.98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(18, 26, 61, 0.2);
}
.ai-theme.theme-dark .brief-card:hover { background: linear-gradient(155deg, rgba(29, 38, 63, 1), rgba(20, 27, 48, 1)); }
.ai-theme.theme-dark .brief-art,
.ai-theme.theme-dark .playlist-play,
.ai-theme.theme-dark .customize-button,
.ai-theme.theme-dark .stock-list,
.ai-theme.theme-dark input,
.ai-theme.theme-dark select { background: #202a48; }
.ai-theme.theme-dark .playlist-item:hover,
.ai-theme.theme-dark .playlist-item.is-active {
  background: linear-gradient(105deg, rgba(47, 64, 113, 0.92), rgba(59, 43, 99, 0.86));
}
.ai-theme.theme-dark .mini-player {
  border: 1px solid rgba(157, 172, 235, 0.15);
  background: rgba(17, 23, 41, 0.96);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.48), 0 8px 22px rgba(42, 50, 121, 0.22), inset 0 1px 0 rgba(255,255,255,.06);
}
.ai-theme.theme-dark .mini-player-icon { background: linear-gradient(105deg, #627dff, #744ce8); }
.ai-theme.theme-dark .modal-backdrop,
.ai-theme.theme-dark .drawer-backdrop {
  background: rgba(4, 8, 18, 0.44);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ai-theme.theme-dark .onboarding,
.ai-theme.theme-dark .detail-drawer {
  border: 1px solid rgba(169, 183, 238, 0.14);
  background: rgba(20, 27, 47, 0.96);
  box-shadow: var(--shadow-modal);
}
.ai-theme.theme-dark .onboarding-channel,
.ai-theme.theme-dark .voice-choice button,
.ai-theme.theme-dark .time-choice {
  border-color: rgba(148, 165, 226, 0.14);
  background: #1c2540;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.ai-theme.theme-dark .onboarding-channel.is-selected,
.ai-theme.theme-dark .voice-choice button.is-selected {
  border-color: #7f91ff;
  background: linear-gradient(150deg, #263151 0%, #32285a 100%);
  box-shadow: 0 14px 34px rgba(52, 55, 155, 0.3), inset 0 0 0 1px rgba(127, 145, 255, 0.24);
}
.ai-theme.theme-dark .onboarding-check,
.ai-theme.theme-dark .onboarding-mark { background: linear-gradient(105deg, #6983ff, #794ced); }
.ai-theme.theme-dark .bottom-nav {
  border-top: 1px solid rgba(156, 172, 232, 0.14);
  background: rgba(14, 20, 36, 0.94);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.28);
}

@media (max-width: 760px) {
  .ai-theme.theme-light {
    background:
      radial-gradient(32rem 28rem at -8% -4%, rgba(205, 222, 255, 0.98), transparent 72%),
      radial-gradient(28rem 30rem at 108% 2%, rgba(227, 211, 255, 0.88), transparent 72%),
      radial-gradient(38rem 24rem at 50% 110%, rgba(143, 164, 214, 0.66), transparent 76%),
      linear-gradient(155deg, var(--ai-canvas-blue), var(--ai-canvas-white) 48%, var(--ai-canvas-lavender));
  }
  .ai-theme.theme-light .main-player {
    min-height: 300px;
    border-radius: 26px;
    background:
      radial-gradient(circle at 78% 26%, rgba(255,255,255,.92), rgba(255,255,255,0) 34%),
      radial-gradient(ellipse at 76% 62%, rgba(153, 165, 247, 0.28), rgba(153, 165, 247, 0) 58%),
      linear-gradient(145deg, var(--ai-hero-left) 0%, var(--ai-hero-blue) 42%, var(--ai-hero-violet) 100%);
  }
  .ai-theme.theme-light .player-hero-art {
    top: -8px;
    right: -62px;
    width: 430px;
    opacity: 0.76;
  }
  .ai-theme.theme-light .player-controls {
    position: absolute;
  }
  .ai-theme.theme-light .current-line {
    position: absolute;
  }
  .ai-theme.theme-light .brief-card { background: #fff; }
  .ai-theme.theme-dark {
    background:
      radial-gradient(32rem 28rem at -8% -4%, rgba(42, 71, 139, 0.48), transparent 72%),
      radial-gradient(28rem 30rem at 108% 2%, rgba(91, 54, 153, 0.42), transparent 72%),
      radial-gradient(38rem 24rem at 50% 110%, rgba(41, 72, 132, 0.5), transparent 76%),
      linear-gradient(155deg, #0b1326, #080d1b 48%, #151126);
  }
  .ai-theme.theme-dark .main-player {
    min-height: 300px;
    border-radius: 26px;
    background:
      radial-gradient(circle at 78% 28%, rgba(205, 216, 255, 0.26), rgba(205, 216, 255, 0) 34%),
      radial-gradient(ellipse at 76% 62%, rgba(69, 89, 205, 0.42), rgba(69, 89, 205, 0) 58%),
      linear-gradient(145deg, #17223d 0%, #222d62 46%, #3b2a64 100%);
  }
  .ai-theme.theme-dark .player-hero-art {
    top: -8px;
    right: -62px;
    width: 430px;
    opacity: 0.8;
  }
  .ai-theme.theme-dark .player-controls,
  .ai-theme.theme-dark .current-line { position: absolute; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
