/* Ollo reimagined prototype — DesignKit tokens.
   Warm near-black canvas, cream text. #1C10FF is a FILL for the one primary action per viewport — never text or icon colour. */
:root {
  --canvas: #1e1d14;
  --surface: #15140f;
  --raised: #26251a;
  --modal: #1a1911;
  --text: #fffefd;
  --cream: #f1eee6;
  --muted: rgba(241, 238, 230, 0.72);
  --subtle: rgba(241, 238, 230, 0.6); /* lifted from .42 so secondary text clears 4.5:1 */
  --brand: #1c10ff;
  --brand-hover: #1307ea;
  --line-10: rgba(255, 255, 255, 0.1);
  --line-14: rgba(255, 255, 255, 0.14);
  --line-22: rgba(255, 255, 255, 0.24);
  --ghost: rgba(255, 255, 255, 0.06);
  --ghost-hover: rgba(255, 255, 255, 0.11);
  --violet: #c49bff;
  --violet-deep: #712bb7;
  --amber: #f8d471;
  --coral: #ff9a8b;
  --scrim: rgba(7, 6, 4, 0.72);
  --r-btn: 4px;
  --r-card: 12px;
  --f-display: "Panchang", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; background: #100f0c; color: var(--cream); font-family: var(--f-body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, svg { display: block; }
a { color: inherit; }
::selection { background: rgba(241, 238, 230, 0.22); color: var(--text); }
:focus-visible { outline: 2px solid #f1eee6; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.i { width: 22px; height: 22px; flex: none; }
.i.sm { width: 16px; height: 16px; }
.i.xs { width: 13px; height: 13px; }
.lock { color: var(--violet); }
.lock.lg { width: 44px; height: 44px; }

/* ---------- type ---------- */
.eyebrow { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); margin: 0; line-height: 1; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-btn); border: 1px solid transparent; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; background: none; color: var(--cream); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-hover); }
.btn.secondary { border-color: var(--line-22); }
.btn.secondary:hover, .btn.ghost:hover { background: var(--ghost-hover); }
.btn.ghost { background: var(--ghost); }
.btn.cream { background: var(--cream); color: #15140f; }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.45; }
.btn .ext { opacity: .8; }
.link { display: inline; background: none; border: 0; padding: 0; color: var(--cream); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--cream); flex: none; }
.icon-btn:hover { background: var(--ghost); }
.play { width: 44px; height: 44px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--cream); color: #15140f; flex: none; }
.play.sm { width: 36px; height: 36px; }
.play.lg { width: 64px; height: 64px; }
.play.lg .i { width: 28px; height: 28px; }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-22); color: var(--cream); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.02em; white-space: nowrap; background: transparent; }
.tag.patron { color: #eadcff; border-color: rgba(196, 155, 255, 0.45); background: rgba(113, 43, 183, 0.22); }
.tag.patron .lock { color: var(--violet); }
button.tag { cursor: pointer; }

/* ---------- covers / imagery ---------- */
.cover { position: relative; overflow: hidden; border-radius: 10px; background: radial-gradient(90% 70% at 18% 12%, color-mix(in srgb, var(--c3) 80%, transparent), transparent 46%), linear-gradient(165deg, var(--c2), var(--c1) 72%); background-size: cover; background-position: center; }
.cover.ring::after { content: ""; position: absolute; width: 42%; aspect-ratio: 1; right: 12%; bottom: 14%; border: 1.5px solid color-mix(in srgb, var(--c3) 75%, transparent); border-radius: 50%; }
.cover.photo::after { display: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; padding: 0; border: 0; flex: none; background: none; }
.avatar .cover { width: 100%; height: 100%; border-radius: 50%; }
.avatar.sm { width: 32px; height: 32px; }
.avatar.xs { width: 28px; height: 28px; }
.avatar.lg { width: 76px; height: 76px; }
.avatar.me .cover { display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--text); }
.avatar.out { border: 1px solid var(--line-22); display: grid; place-items: center; color: var(--cream); }

/* ---------- review chrome (outside the product) ---------- */
.review { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 16px; background: var(--cream); color: #1e1d14; }
.review a, .review p { color: #1e1d14; }
.review .home { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.review .home svg { height: 16px; width: auto; }
.review .disc { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.review .grow { flex: 1; }
.review .grp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.review .grp > span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; opacity: .7; }
.review button, .review .chip, .review select { height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(30, 29, 20, .25); background: transparent; color: #1e1d14; font-size: 12px; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; }
.review select { max-width: 280px; }
.review button[aria-pressed="true"], .review .chip[aria-current="page"], .review button:hover, .review .chip:hover { background: #1e1d14; color: var(--cream); }
.review :focus-visible { outline-color: #1e1d14; }
.stagewrap { display: grid; grid-template-columns: 260px auto 1fr; gap: 28px; padding: 18px 22px 40px; align-items: start; justify-content: center; }
.rail { position: sticky; top: 70px; max-height: calc(100vh - 90px); overflow: auto; padding-right: 6px; }
.rail h4 { margin: 14px 0 4px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.rail h4:first-child { margin-top: 0; }
.rail button { display: flex; gap: 8px; width: 100%; text-align: left; background: none; border: 0; color: var(--muted); padding: 5px 6px; border-radius: 6px; font-size: 13.5px; font-weight: 550; }
.rail button .n { font-family: var(--f-mono); font-size: 11px; color: var(--subtle); min-width: 22px; padding-top: 2px; }
.rail button:hover { background: var(--ghost); color: var(--text); }
.rail button[aria-current="true"] { background: rgba(241, 238, 230, .12); color: var(--text); }
.notes { max-width: 300px; position: sticky; top: 70px; font-size: 13.5px; color: var(--muted); }
.notes h4 { margin: 0 0 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.notes p { margin: 0 0 10px; }
.notes .ttl { color: var(--text); font-weight: 650; font-size: 15px; margin-bottom: 6px; }
.notes kbd { font-family: var(--f-mono); font-size: 11px; border: 1px solid var(--line-22); border-radius: 4px; padding: 1px 5px; }
.proto { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px dashed rgba(248, 212, 113, .6); border-radius: 999px; background: rgba(248, 212, 113, .08); color: var(--amber); font-family: var(--f-mono); font-size: 11.5px; }

/* ---------- device ---------- */
.device { position: relative; width: 410px; height: 864px; padding: 10px; border-radius: 52px; background: #0b0a07; box-shadow: 0 0 0 1px #2a2920, 0 30px 80px rgba(0, 0, 0, .5); flex: none; }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--canvas); display: flex; flex-direction: column; isolation: isolate; }
.statusbar { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px 0 34px; font-size: 15px; font-weight: 650; color: var(--text); flex: none; background: var(--canvas); position: relative; z-index: 6; }
.statusbar .island { width: 110px; height: 32px; border-radius: 20px; background: #000; }
.statusbar .sys { display: flex; gap: 5px; align-items: center; }
.homebar { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .7); z-index: 30; pointer-events: none; }
.screen.light-chrome .statusbar { background: #f4f3ef; color: #111; }

/* ---------- app shell ---------- */
.app { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; }
.pad { padding: 0 16px 20px; }
.appbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 12px 0 16px; background: var(--canvas); }
.appbar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: linear-gradient(var(--canvas), rgba(30, 29, 20, 0)); pointer-events: none; } /* scrim under sticky header */
.appbar .title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 22px; color: var(--text); letter-spacing: -.01em; }
.appbar .right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.appbar .wordmark { height: 20px; width: auto; color: var(--cream); }
.appbar.center .title { font-family: var(--f-body); text-transform: none; font-size: 15px; font-weight: 650; position: absolute; left: 50%; transform: translateX(-50%); }
.section-h { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; }
.section-h h2 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); height: 74px; padding-bottom: 18px; border-top: 1px solid var(--line-10); background: var(--surface); flex: none; }
.tabs button { background: none; border: 0; color: var(--subtle); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 650; }
.tabs button[aria-current="page"] { color: var(--text); }
.mini { position: relative; display: grid; grid-template-columns: 42px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 8px 8px 10px; margin: 0 8px 8px; border-radius: 12px; background: #2c2b20; box-shadow: 0 8px 24px rgba(0,0,0,.35); flex: none; z-index: 5; }
.mini .cover { width: 42px; height: 42px; border-radius: 7px; }
.mini .meta { min-width: 0; background: none; border: 0; padding: 0; text-align: left; color: inherit; }
.mini .meta strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.mini .meta span { display: block; color: var(--subtle); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .bar { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: rgba(241, 238, 230, .15); border-radius: 2px; overflow: hidden; }
.mini .bar span { display: block; height: 100%; background: var(--cream); }
.mini .hit { position: absolute; inset: 0; border: 0; background: none; border-radius: 12px; }
.mini > *:not(.hit):not(.bar) { position: relative; z-index: 1; }
.mini .meta { pointer-events: none; }
.toast { position: absolute; left: 12px; right: 12px; top: 58px; z-index: 40; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #2c2b20; border: 1px solid var(--line-14); color: var(--text); font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.4); animation: toastin .35s var(--ease); }
@keyframes toastin { from { transform: translateY(-8px); opacity: 0; } }
.ribbon { position: absolute; top: 50px; left: 0; right: 0; z-index: 35; display: flex; align-items: center; justify-content: center; gap: 8px; height: 28px; background: var(--amber); color: #1e1d14; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.web-root .ribbon { position: sticky; top: 0; }

/* ---------- feed / shared post card ---------- */
.post { padding: 16px 0 18px; border-top: 1px solid var(--line-10); }
.post:first-child { border-top: 0; }
.post.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0% { background: rgba(196, 155, 255, .14); } 100% { background: transparent; } }
.actor { display: flex; gap: 10px; align-items: center; }
.actor .who { display: flex; flex-direction: column; min-width: 0; }
.actor .name { background: none; border: 0; padding: 0; text-align: left; font-weight: 650; color: var(--text); font-size: 15px; }
.actor .verb { color: var(--subtle); font-size: 13px; }
.actor .tag { margin-left: auto; }
.caption { margin: 10px 0 0; font-size: 15.5px; line-height: 1.42; color: var(--cream); }
.media { margin-top: 12px; }
.poster { position: relative; overflow: hidden; border-radius: 12px; background: #100f0c; width: min(100%, 300px); aspect-ratio: 9 / 16; }
.poster .cover { position: absolute; inset: 0; border-radius: 0; }
.poster .cover.blur { filter: blur(16px) saturate(.8); transform: scale(1.12); }
.poster .hit { position: absolute; inset: 0; border: 0; background: transparent; z-index: 3; border-radius: 12px; }
.poster .glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; }
.poster .dur { position: absolute; left: 10px; bottom: 10px; z-index: 2; pointer-events: none; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .55); font-family: var(--f-mono); font-size: 11px; color: #fff; }
.poster .lockover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(12, 10, 8, .32); pointer-events: none; color: var(--text); font-weight: 650; font-size: 13px; }
.audio { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--ghost); }
.audio .cover { width: 52px; height: 52px; border-radius: 8px; }
.audio strong { display: block; font-size: 14.5px; color: var(--text); }
.audio .s { font-size: 12.5px; color: var(--subtle); }
.audio.locked .cover { filter: blur(6px); }
.textlock { position: relative; padding: 14px; border-radius: 12px; background: var(--ghost); overflow: hidden; }
.textlock p { filter: blur(5px); color: var(--muted); user-select: none; }
.song-chip { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line-22); background: transparent; color: var(--cream); font-size: 13px; font-weight: 600; }
.engage { display: flex; gap: 18px; align-items: center; margin-top: 10px; color: var(--muted); font-size: 13px; }
.engage button { background: none; border: 0; padding: 4px 0; display: inline-flex; gap: 6px; align-items: center; color: inherit; min-height: 34px; }
.engage button.on { color: var(--coral); }
.engage button.on svg path { fill: currentColor; }

/* ---------- gate (on the card) ---------- */
.gate { margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px solid rgba(196, 155, 255, .28); background: linear-gradient(180deg, rgba(113, 43, 183, .14), rgba(113, 43, 183, .04)); }
.gate .tier { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); font-size: 15px; }
.gate .benefit { margin: 4px 0 12px; color: var(--muted); font-size: 14px; }
.gate .alt { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.gate .checking { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; color: var(--cream); font-weight: 600; }
.gate .ended { margin-top: 8px; font-size: 13px; color: var(--muted); font-family: var(--f-mono); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(241, 238, 230, .25); border-top-color: var(--cream); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.inline-auth { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-10); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.field input, .field textarea, .searchbox input { min-height: 48px; border-radius: 4px; border: 1px solid var(--line-22); background: var(--surface); padding: 0 14px; outline: none; color: var(--text); font-size: 15px; }
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus, .searchbox input:focus { border-color: rgba(241, 238, 230, .6); }

/* ---------- empty / truthful home ---------- */
.empty-hero { padding: 28px 4px 8px; }
.empty-hero h1 { font-size: 30px; line-height: 1.02; }
.empty-hero p { margin: 12px 0 18px; color: var(--muted); }
.suggest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.suggest .a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; background: var(--ghost); text-align: center; font-size: 12.5px; font-weight: 600; border: 0; color: var(--cream); }
.suggest .a .avatar { width: 56px; height: 56px; }
.card { padding: 14px; border-radius: 12px; background: var(--ghost); }

/* ---------- artist ---------- */
.hero-art { height: 200px; margin: 0 -16px; position: relative; }
.hero-art .cover { position: absolute; inset: 0; border-radius: 0; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--canvas)); }
.artist-head { margin-top: -38px; position: relative; z-index: 1; }
.artist-head h1 { font-size: 30px; line-height: 1; }
.artist-head .sub { margin-top: 6px; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.bio { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---------- rows / lists ---------- */
.row { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; background: none; border: 0; color: inherit; text-align: left; border-radius: 8px; }
.row:hover { background: var(--ghost); }
.row .cover { width: 44px; height: 44px; border-radius: 6px; }
.row .t { min-width: 0; }
.row .t strong { display: block; font-size: 14.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 650; }
.row .t span { display: block; font-size: 12.5px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .end { display: flex; align-items: center; gap: 8px; }
.row.person { grid-template-columns: 40px minmax(0, 1fr) auto; }
.rowwrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-22); background: transparent; color: var(--cream); font-size: 13px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--cream); color: #15140f; border-color: var(--cream); }
.searchbox { position: relative; margin: 4px 0 6px; }
.searchbox input { width: 100%; padding-left: 42px; }
.searchbox svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--subtle); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.g-card { background: transparent; border: 0; padding: 0; text-align: left; color: inherit; }
.g-card .cover { width: 100%; aspect-ratio: 1; margin-bottom: 8px; border-radius: 12px; }
.g-card strong { display: block; font-size: 14px; color: var(--text); }
.g-card em { display: block; margin-top: 2px; font-style: normal; color: var(--subtle); font-size: 12.5px; line-height: 1.35; }
.letter { font-family: var(--f-mono); font-size: 11px; color: var(--subtle); letter-spacing: .08em; margin: 16px 0 8px; grid-column: 1 / -1; }
.dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line-10); font-size: 14px; }
.dl dt { color: var(--subtle); }
.dl dd { margin: 0; color: var(--cream); }

/* ---------- now playing ---------- */
.np { flex: 1; min-height: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, color-mix(in srgb, var(--npc, #3a2a1c) 55%, var(--canvas)) 0%, var(--canvas) 62%); }
.np-top { display: flex; align-items: center; padding: 2px 8px; }
.np-top .ctx { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.np-top .ctx strong { display: block; color: var(--text); font-size: 13.5px; }
.np-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 8px 24px 26px; }
.stagebox { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; flex: none; }
.stagebox .cover { position: absolute; inset: 0; border-radius: 12px; }
.lyrics { position: absolute; inset: 0; overflow-y: auto; padding: 18px 18px 40px; border-radius: 12px; background: rgba(0, 0, 0, .28); scrollbar-width: none; }
.lyrics p { font-family: var(--f-body); font-size: 22px; line-height: 1.28; font-weight: 700; color: rgba(241, 238, 230, .42); margin: 0 0 12px; }
.lyrics p.now { color: var(--text); }
.np-meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.np-meta .t { flex: 1; min-width: 0; }
.np-meta h2 { font-family: var(--f-body); text-transform: none; font-size: 21px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-meta .by { background: none; border: 0; padding: 2px 0 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.scrub { margin-top: 14px; }
.scrub .track { height: 4px; border-radius: 4px; background: rgba(241, 238, 230, .18); position: relative; }
.scrub .track span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--cream); }
.scrub .track i { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); transform: translate(-50%, -50%); }
.scrub .times { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11.5px; color: var(--subtle); margin-top: 6px; }
.transport { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 8px 0 10px; }
.np-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.np-foot .l { display: flex; gap: 6px; }
.toggle-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-22); background: transparent; color: var(--cream); font-size: 13px; font-weight: 650; }
.toggle-pill[aria-pressed="true"] { background: var(--cream); color: #15140f; border-color: var(--cream); }

/* ---------- viewer ---------- */
.viewer { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #0b0a07; position: relative; }
.viewer .stage { position: relative; flex: 1; overflow: hidden; margin: 0 8px; border-radius: 16px; background: #100f0c; }
.viewer .stage .cover { position: absolute; inset: 0; border-radius: 0; }
.viewer .stage .cover.blur { filter: blur(18px) saturate(.8); transform: scale(1.15); }
.viewer .vtop { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 4; display: flex; align-items: center; gap: 8px; }
.viewer .vtop .close { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 999px; border: 0; background: rgba(0,0,0,.45); color: #fff; font-weight: 650; font-size: 14px; }
.viewer .vtop .right { margin-left: auto; display: flex; gap: 6px; }
.viewer .vtop .icon-btn { background: rgba(0,0,0,.45); color: #fff; }
.viewer .vbottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 60px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; }
.viewer .vbottom .name { color: #fff; }
.viewer .vbottom .caption { color: rgba(255,255,255,.9); }
.viewer .vprog { height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.viewer .vprog span { display: block; height: 100%; background: #fff; }
.viewer .lockcenter { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 24px; background: rgba(8, 7, 4, .4); }
.viewer .lockcenter .gate { background: rgba(21, 20, 15, .9); backdrop-filter: blur(6px); }

/* ---------- sheets ---------- */
.sheet-root { position: absolute; inset: 0; z-index: 30; display: flex; align-items: flex-end; }
.sheet-root .scrim { position: absolute; inset: 0; background: var(--scrim); border: 0; }
.sheet { position: relative; width: 100%; max-height: 88%; overflow: auto; background: var(--modal); border-top: 1px solid var(--line-14); border-radius: 18px 18px 0 0; padding: 8px 20px 30px; animation: sheetin .32s var(--ease); }
@keyframes sheetin { from { transform: translateY(24px); opacity: .4; } }
.grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(241, 238, 230, .28); margin: 4px auto 14px; }
.sheet h2 { font-size: 22px; margin-bottom: 6px; }
.sheet .lede { color: var(--muted); margin-bottom: 14px; font-size: 14.5px; }
.sheet .btn { margin-top: 10px; }
.opt { width: 100%; display: grid; grid-template-columns: 24px 1fr 24px; gap: 12px; align-items: center; padding: 14px 4px; background: none; border: 0; border-top: 1px solid var(--line-10); text-align: left; color: var(--cream); }
.opt strong { display: block; color: var(--text); font-size: 15px; }
.opt span { display: block; color: var(--subtle); font-size: 13px; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-22); display: grid; place-items: center; }
.radio.on { border-color: var(--cream); }
.radio.on::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); }
.check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-22); display: grid; place-items: center; color: #15140f; }
.check.on { background: var(--cream); border-color: var(--cream); }

/* ---------- handoff (ollo.fm in Safari, outside the app) ---------- */
.safari { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #f4f3ef; color: #1e1d14; }
.safari .bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #e9e7e0; border-bottom: 1px solid #d6d3c9; font-size: 13px; }
.safari .bar .url { flex: 1; text-align: center; padding: 8px; border-radius: 10px; background: #fff; font-weight: 600; color: #333; }
.safari .bar button { background: none; border: 0; color: #1e1d14; font-weight: 650; min-height: 36px; }
.safari .page { flex: 1; overflow: auto; background: var(--canvas); color: var(--cream); padding: 20px 18px; }
.outside { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(248, 212, 113, .1); border: 1px dashed rgba(248, 212, 113, .5); border-radius: 10px; color: var(--amber); font-family: var(--f-mono); font-size: 11px; margin-bottom: 16px; }

/* ---------- concept surfaces ---------- */
.concept { padding-top: 34px; }

/* ---------- studio ---------- */
.wiz-top { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 56px; padding: 0 8px; background: var(--canvas); }
.wiz-top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; background: linear-gradient(var(--canvas), rgba(30,29,20,0)); pointer-events: none; }
.wiz-top .mid { text-align: center; font-weight: 700; font-size: 15px; color: var(--text); }
.wiz-top .mid small { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--subtle); font-weight: 500; letter-spacing: .06em; }
.wiz-top .r { justify-self: end; }
.wiz-top .btn { min-height: 40px; padding: 0 10px; }
.steps { display: flex; gap: 4px; padding: 0 16px; margin: 2px 0 14px; }
.steps i { flex: 1; height: 3px; border-radius: 3px; background: rgba(241, 238, 230, .16); }
.steps i.on { background: var(--cream); }
.as { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ghost); font-size: 14px; }
.as strong { color: var(--text); }
.as .link { margin-left: auto; font-size: 13px; }
.drop { margin-top: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 9/14; border-radius: 16px; border: 1.5px dashed var(--line-22); background: rgba(255,255,255,.02); text-align: center; padding: 20px; color: var(--muted); font-size: 14px; }
.drop strong { color: var(--text); font-size: 17px; }
.upl { margin-top: 14px; }
.pbar { height: 6px; border-radius: 6px; background: rgba(241, 238, 230, .15); overflow: hidden; }
.pbar span { display: block; height: 100%; background: var(--cream); transition: width .3s linear; }
.poster-pick { display: flex; justify-content: center; margin-top: 6px; }
.poster-pick .poster { width: 210px; }
.frames { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; margin-top: 16px; height: 58px; border-radius: 8px; overflow: hidden; }
.frames button { border: 0; padding: 0; position: relative; }
.frames button .cover { position: absolute; inset: 0; border-radius: 0; }
.frames button[aria-pressed="true"] { outline: 3px solid var(--cream); outline-offset: -3px; z-index: 1; }
.setrow { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 4px; background: none; border: 0; border-top: 1px solid var(--line-10); color: var(--cream); text-align: left; font-size: 15px; }
.setrow .k { color: var(--text); font-weight: 650; }
.setrow .v { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.note { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--subtle); }
.pv-toggle { display: flex; gap: 6px; margin: 6px 0 4px; }
.pv-card { border: 1px solid var(--line-14); border-radius: 14px; padding: 4px 14px; background: var(--canvas); }
.bigpct { font-family: var(--f-display); font-size: 64px; color: var(--text); text-align: center; margin: 28px 0 8px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ptable th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); font-weight: 500; padding: 8px 4px; border-bottom: 1px solid var(--line-10); }
.ptable td { padding: 10px 4px; border-bottom: 1px solid var(--line-10); vertical-align: middle; }
.ptable .thumb { width: 36px; height: 56px; border-radius: 6px; position: relative; overflow: hidden; }
.ptable .thumb .cover { position: absolute; inset: 0; border-radius: 0; }
.ptable .cap { color: var(--text); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptable .st { color: var(--subtle); font-size: 12px; font-family: var(--f-mono); }
.ptable tr.new td { background: rgba(241, 238, 230, .05); }

/* ---------- web ---------- */
.web-root { min-height: calc(100vh - 50px); background: var(--canvas); display: flex; flex-direction: column; position: relative; }
.topnav { position: sticky; top: 50px; z-index: 20; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 32px; background: var(--canvas); border-bottom: 1px solid var(--line-10); }
.topnav .wordmark { height: 22px; width: auto; color: var(--cream); }
.topnav nav { display: flex; gap: 4px; }
.topnav nav button { background: none; border: 0; color: var(--muted); font-weight: 650; font-size: 15px; padding: 10px 14px; border-radius: 999px; }
.topnav nav button[aria-current="page"] { color: var(--text); background: var(--ghost); }
.topnav .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.web-main { flex: 1; width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 120px; }
.web-main .pad { padding: 0; }
.wplayer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.3fr) minmax(220px, 1fr); align-items: center; gap: 20px; height: 84px; padding: 0 24px; background: rgba(21, 20, 15, .97); border-top: 1px solid var(--line-14); backdrop-filter: blur(8px); }
.wplayer .now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wplayer .now .cover { width: 52px; height: 52px; border-radius: 8px; flex: none; }
.wplayer .now strong { display: block; color: var(--text); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wplayer .now span { display: block; color: var(--subtle); font-size: 12.5px; }
.wplayer .ctr { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wplayer .ctr .btns { display: flex; align-items: center; gap: 14px; }
.wplayer .ctr .line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; width: 100%; font-family: var(--f-mono); font-size: 11.5px; color: var(--subtle); }
.wplayer .ctr .line .track { height: 4px; border-radius: 4px; background: rgba(241, 238, 230, .18); position: relative; }
.wplayer .ctr .line .track span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--cream); border-radius: 4px; }
.wplayer .end { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.split { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 32px; align-items: start; }
.split .poster { width: 100%; }
.split .right > .actor { margin-top: 0; }
.w-feed { max-width: 640px; }
.w-cols { display: grid; grid-template-columns: minmax(0, 640px) 300px; gap: 48px; justify-content: space-between; }
.w-side { position: sticky; top: 140px; align-self: start; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp > div { border: 1px solid var(--line-14); border-radius: 16px; padding: 4px 20px 8px; }
.cmp .lbl { margin: 14px 0 0; }
.w-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; }
.w-np { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 420px); gap: 48px; justify-content: center; padding-top: 12px; }
.w-np .np-body { padding: 0; }
.w-artist .hero-art { height: 280px; margin: -28px 0 0; border-radius: 0 0 16px 16px; overflow: hidden; }
.w-artist .artist-head h1 { font-size: 48px; }
.w-artist .two { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }

/* web phone-width */
.phonewrap { display: flex; justify-content: center; padding: 22px 16px 40px; }
.web-phone { width: 390px; height: 780px; border-radius: 22px; border: 1px solid var(--line-22); overflow: hidden; display: flex; flex-direction: column; background: var(--canvas); position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.web-phone .urlbar { height: 44px; flex: none; display: flex; align-items: center; justify-content: center; background: #2a2920; font-size: 12.5px; color: var(--muted); font-family: var(--f-mono); }
.web-phone .tabs { height: 60px; padding-bottom: 4px; }
.web-phone .mini { margin: 0; border-radius: 0; box-shadow: none; background: #26251a; border-top: 1px solid var(--line-14); }
.web-phone .mini .bar { left: 0; right: 0; bottom: auto; top: 0; }

/* ---------- landing ---------- */
.landing { max-width: 1080px; margin: 0 auto; padding: 56px 24px 80px; }
.landing h1 { font-size: clamp(44px, 7vw, 82px); margin: 20px 0 14px; }
.landing .lede { font-size: 18px; color: var(--muted); max-width: 40em; }
.landing .disc { margin-top: 18px; display: inline-flex; padding: 6px 10px; border: 1px dashed rgba(248,212,113,.6); border-radius: 8px; color: var(--amber); font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; }
.tile { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 22px; border-radius: 16px; border: 1px solid var(--line-14); background: var(--surface); text-decoration: none; transition: transform .2s var(--ease), border-color .2s; }
.tile:hover { border-color: var(--line-22); transform: translateY(-2px); }
.tile strong { font-family: var(--f-display); font-size: 30px; text-transform: uppercase; color: var(--text); }
.tile .muted { font-size: 14.5px; }
.tile .count { margin-top: auto; font-family: var(--f-mono); font-size: 11px; color: var(--subtle); letter-spacing: .06em; text-transform: uppercase; }
.p0 { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; padding: 0; list-style: none; counter-reset: p; }
.p0 li { counter-increment: p; padding: 12px 0; border-top: 1px solid var(--line-10); font-size: 14px; color: var(--muted); }
.p0 li::before { content: "P0." counter(p); display: block; font-family: var(--f-mono); font-size: 11px; color: var(--subtle); margin-bottom: 4px; }
.p0 li strong { color: var(--text); }

/* ---------- ios comps page ---------- */
.ios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(410px, 1fr)); gap: 40px 28px; padding: 24px 28px 60px; justify-items: center; }
.ios-cell figcaption { margin-top: 14px; max-width: 410px; }
.ios-cell figcaption strong { display: block; color: var(--text); font-size: 15px; }
.ios-cell figcaption span { font-size: 13.5px; color: var(--muted); }
.ios-cell { margin: 0; }
.ios-banner { margin: 22px 28px 0; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(248,212,113,.55); color: var(--amber); font-size: 14px; }
.ios-banner strong { color: var(--text); }

@media (max-width: 1100px) {
  .stagewrap { grid-template-columns: 220px auto; }
  .notes { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .w-cols { grid-template-columns: 1fr; }
  .w-side { display: none; }
}
@media (max-width: 760px) {
  .stagewrap { grid-template-columns: 1fr; justify-items: center; }
  .rail { position: static; max-height: 260px; width: 100%; }
  .device { transform: scale(.9); transform-origin: top center; }
  .tiles, .p0 { grid-template-columns: 1fr; }
}

/* review-bar offset (set by review.js) */
.topnav { top: var(--rv, 50px); }
.web-root .ribbon { top: var(--rv, 50px); z-index: 21; }
.web-root .ribbon + .topnav { top: calc(var(--rv, 50px) + 28px); }
.web-stage { padding: 0; }
.web-stage .phonewrap { min-height: calc(100vh - var(--rv, 50px)); }
.cellwrap { display: flex; justify-content: center; }

/* =========================================================== product ideas pass */
/* feed: reason line + song chip that opens the Song Hub */
.reason { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 12.5px; color: var(--subtle); font-family: var(--f-mono); letter-spacing: .02em; }
.song-chip .k { color: var(--subtle); font-weight: 500; margin-left: 2px; }
.np-chip { margin-top: 8px; min-height: 30px; font-size: 12px; }
/* Song Hub */
.hub-head .hub-art { margin: 4px 0 14px; }
.hub-head .hub-art .cover { width: 100%; aspect-ratio: 1; border-radius: 14px; }
.pad.hub .hub-art .cover { width: 220px; margin: 0 auto; }
.hub-id h1 { font-size: 30px; line-height: 1; margin-top: 6px; }
.hub-id .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.hub-id .by { background: none; border: 0; padding: 0; color: var(--text); font-weight: 650; font-size: 14px; }
.hub-sec { margin-top: 24px; }
.hub-sec > .eyebrow { margin-bottom: 8px; }
.landed { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-22); background: var(--ghost); font-size: 13.5px; color: var(--muted); margin: 4px 0 12px; }
.landed strong { color: var(--text); }
.bk-excerpt { width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 16px 18px; border: 0; border-radius: 12px; background: var(--cream); color: #1e1d14; }
.bk-excerpt .pg { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(30,29,20,.66); }
.bk-excerpt .q { font-size: 19px; line-height: 1.35; font-weight: 600; color: #1e1d14; }
.bk-excerpt .q.lockedq { font-size: 15px; font-weight: 500; color: rgba(30,29,20,.72); }
.bk-excerpt .go { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: #1e1d14; text-decoration: underline; text-underline-offset: 3px; }
.bk-row { grid-template-columns: 44px minmax(0,1fr) auto; }
.pgn { font-family: var(--f-mono); font-size: 12px; color: var(--subtle); }
.bk-row .pgn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line-14); }
.hrail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.take { flex: none; width: 138px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; background: none; border: 0; padding: 0; color: var(--cream); }
.take .th { position: relative; width: 138px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #100f0c; margin-bottom: 4px; }
.take .th .cover { position: absolute; inset: 0; border-radius: 0; }
.take .th .cover.blur { filter: blur(10px); transform: scale(1.1); }
.take .th .glyph, .take .th .lk { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; }
.take strong { font-size: 13.5px; color: var(--text); }
.take .s { font-size: 12px; color: var(--subtle); }
.take.new .th { outline: 2px solid var(--cream); outline-offset: 2px; }
.mx-card { flex: none; width: 200px; display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--line-14); background: var(--ghost); color: var(--cream); }
.mx-card strong { font-size: 14px; color: var(--text); line-height: 1.25; margin-top: 8px; }
.mx-card .by { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mx-card .k { font-family: var(--f-mono); font-size: 10.5px; color: var(--subtle); text-transform: uppercase; letter-spacing: .05em; }
.mx-stack { display: inline-flex; flex: none; }
.mx-stack .cover { width: 34px; height: 34px; border-radius: 6px; border: 2px solid var(--canvas); }
.mx-stack .cover + .cover { margin-left: -12px; }
.row .mx-stack .cover { width: 30px; height: 44px; }
.row .mx-stack { width: 44px; overflow: hidden; }
.cover.txt { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--cream); color: #1e1d14; }
.cover.txt.gone { background: transparent; border: 1px dashed rgba(241,238,230,.4); }
.tm-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; border: 1px solid rgba(170,169,157,.5); color: #aaa99d; font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
/* artist page Album Book card */
.bk-card { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; margin-top: 12px; padding: 10px; border-radius: 12px; border: 0; background: var(--cream); color: #1e1d14; text-align: left; }
.bk-card .cover { width: 52px; height: 52px; border-radius: 6px; }
.bk-card strong { display: block; font-size: 14.5px; color: #1e1d14; }
.bk-card .t span { display: block; font-size: 12.5px; color: rgba(30,29,20,.7); }
/* Album Book reader: cream pages, muted italic margin notes (never blue) */
.bk-segs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; margin: 4px 0 12px; }
.bk-segs button { height: 18px; border: 0; padding: 0; background: none; position: relative; }
.bk-segs button::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 2px; background: rgba(241,238,230,.22); }
.bk-segs button.pt::before { background: rgba(196,155,255,.4); }
.bk-segs button.on::before { background: var(--cream); top: 6px; height: 6px; }
.bk-page { position: relative; border-radius: 6px; background: var(--cream); color: #1e1d14; padding: 18px 20px 24px; min-height: 460px; box-shadow: 0 18px 40px rgba(0,0,0,.35); overflow: hidden; }
.bk-page .bk-ph { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(30,29,20,.6); padding-bottom: 10px; border-bottom: 1px solid rgba(30,29,20,.14); margin-bottom: 16px; }
.bk-page .bk-ph .mono { display: inline-flex; align-items: center; gap: 4px; }
.bk-page h3 { font-size: 20px; color: #1e1d14; margin-bottom: 12px; }
.bk-page p { font-size: 15px; line-height: 1.55; color: #2a291e; margin: 0 0 10px; }
.bk-page .sign { font-style: italic; color: rgba(30,29,20,.66); }
.bk-page .kick { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(30,29,20,.6); margin-bottom: 6px; }
.bk-cover { text-align: center; }
.bk-cover .art .cover { width: 100%; aspect-ratio: 1; border-radius: 4px; }
.bk-cover h2 { color: #1e1d14; font-size: 30px; margin-top: 16px; }
.bk-page .bk-cover p { margin: 6px 0 0; }
.bk-page .bk-cover .mono { font-size: 11px; color: rgba(30,29,20,.6); text-transform: uppercase; letter-spacing: .06em; }
.bk-tracks { list-style: none; margin: 0; padding: 0; }
.bk-tracks li { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; min-height: 44px; border-top: 1px solid rgba(30,29,20,.12); font-size: 15px; }
.bk-tracks .n, .bk-tracks .d { font-family: var(--f-mono); font-size: 12px; color: rgba(30,29,20,.6); }
.bk-tracks .tt { font-weight: 650; }
.bk-lyr p { font-size: 17px; line-height: 1.5; margin: 0; font-weight: 550; color: #1e1d14; }
.bk-page .margin { margin-top: 14px; padding-left: 12px; border-left: 2px solid rgba(30,29,20,.25); font-style: italic; color: rgba(30,29,20,.66); font-size: 14px; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bk-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(30,29,20,.35); background: transparent; color: #1e1d14; font-size: 13px; font-weight: 650; }
.bk-tracks .bk-chip { min-height: 32px; padding: 0 10px; font-size: 12px; }
.bk-photo .cover, .bk-video .cover { width: 100%; aspect-ratio: 4 / 5; border-radius: 4px; }
.bk-photo .cover { aspect-ratio: 4 / 3; }
.bk-page .cap { font-size: 13.5px; color: rgba(30,29,20,.7); margin-top: 10px; font-style: italic; }
.bk-video { position: relative; }
.bk-video .glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; }
.bk-video .dur { position: absolute; left: 10px; bottom: 10px; padding: 2px 7px; border-radius: 6px; background: rgba(0,0,0,.55); font-family: var(--f-mono); font-size: 11px; color: #fff; }
.bk-dl > div { display: grid; grid-template-columns: 100px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid rgba(30,29,20,.12); font-size: 14px; }
.bk-dl dt { color: rgba(30,29,20,.6); }
.bk-dl dd { margin: 0; color: #1e1d14; }
.bk-back { text-align: center; padding-top: 80px; }
.bk-back svg { width: 64px; height: auto; color: #1e1d14; margin: 0 auto 16px; display: block; }
.bk-page.locked { min-height: 300px; }
.bk-page.locked .bk-blur { filter: blur(7px); opacity: .55; user-select: none; max-height: 260px; overflow: hidden; }
.bk-lockmsg { position: absolute; left: 0; right: 0; top: 48%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; color: #1e1d14; }
.bk-page.locked + .gate { margin-top: 12px; }
.bk-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.pgbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-22); background: none; color: var(--cream); font-size: 13.5px; font-weight: 650; }
.icon-btn:disabled { opacity: .35; }
.toc-row { grid-template-columns: 28px 1fr auto; }
.toc-row[aria-current="true"] { background: rgba(241,238,230,.08); border-radius: 8px; }
.toc-row .pgn { text-align: center; }
.urlbox { padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line-22); background: var(--surface); font-family: var(--f-mono); font-size: 13px; color: var(--text); word-break: break-all; }
/* Mashup player: segmented N of M, cream Next (blue stays for Support only) */
.viewer.mx { background: #0b0a07; }
.mx-top { padding: 6px 8px 8px; flex: none; }
.mx-segs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 0 4px 8px; }
.mx-segs i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); }
.mx-segs i.done { background: rgba(255,255,255,.7); }
.mx-segs i.on { background: #fff; }
.viewer.mx .vtop { position: static; }
.mx-count { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-family: var(--f-mono); font-size: 13px; }
.viewer .mx-stage { display: flex; align-items: center; justify-content: center; }
.mx-glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; z-index: 2; }
.mx-vprog { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; margin: 0 !important; }
.mx-song { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.viewer .mx-song .art .cover { position: relative; inset: auto; width: 250px; height: 250px; border-radius: 12px; }
.mx-book { width: 100%; height: 100%; padding: 14px; overflow: hidden; }
.mx-book .bk-page.bk-mini { min-height: 100%; max-height: 100%; }
.mx-text, .mx-gone { margin: 16px; padding: 26px 22px; border-radius: 10px; background: var(--cream); color: #1e1d14; }
.mx-text .eyebrow, .mx-gone .eyebrow { color: rgba(30,29,20,.6); }
.mx-text .tx { font-family: var(--f-display); text-transform: uppercase; font-size: 22px; line-height: 1.15; margin: 12px 0 16px; color: #1e1d14; }
.mx-gone { background: transparent; border: 1.5px dashed rgba(241,238,230,.45); color: var(--cream); }
.mx-gone .eyebrow { color: var(--subtle); }
.mx-gone .tx { font-size: 18px; font-weight: 700; color: var(--text); margin: 10px 0 8px; }
.mx-gone .hint { color: var(--muted); font-size: 14px; }
.mx-text .hint { font-size: 13px; color: rgba(30,29,20,.66); margin: 0; }
.mx-panel { flex: none; padding: 12px 16px 26px; color: #fff; }
.mx-by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
.mx-by strong { color: #fff; }
.mx-title { margin: 6px 0 2px; font-weight: 700; color: #fff; font-size: 16px; }
.mx-cap { margin: 0; font-size: 14px; color: rgba(255,255,255,.82); }
.mx-cap strong { color: #fff; }
.mx-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mx-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 12.5px; font-weight: 650; }
.mx-ctl { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; margin-top: 12px; }
.mx-eng { display: flex; gap: 12px; color: rgba(255,255,255,.8); font-size: 13px; }
.mx-eng button { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; border: 0; background: none; color: inherit; padding: 0 4px; }
.mx-eng button.on { color: var(--coral); }
.mx-eng button.on svg path { fill: currentColor; }
.cmt { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line-10); font-size: 14px; }
.cmt strong { color: var(--text); font-size: 13.5px; }
.cmt p { margin: 2px 0 0; color: var(--muted); }
.cmt-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.cmt-form input { min-height: 44px; border-radius: 4px; border: 1px solid var(--line-22); background: var(--surface); padding: 0 12px; color: var(--text); font-size: 15px; }
.cmt-form .btn { margin-top: 0; min-height: 44px; }
/* Composer */
.compose .field input { font-size: 17px; font-weight: 650; }
.cm-scope { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.cm-scope strong { color: var(--text); }
.cm-count { font-size: 13px; color: var(--subtle); margin: 0 0 6px; font-family: var(--f-mono); }
.cm-count strong { color: var(--text); }
.cm-list { list-style: none; margin: 0; padding: 0; }
.cm-row { display: grid; grid-template-columns: 18px 40px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-10); }
.cm-row .n { font-family: var(--f-mono); font-size: 12px; color: var(--subtle); }
.cm-row .th .cover { width: 40px; height: 40px; border-radius: 6px; }
.cm-row .t strong { display: block; color: var(--text); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-row .t .s { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--subtle); margin-top: 3px; }
.cm-row textarea { width: 100%; min-height: 44px; border-radius: 4px; border: 1px solid var(--line-22); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; padding: 6px 8px; resize: none; }
.cm-row .mv { display: flex; }
.cm-row .mv .icon-btn { width: 36px; height: 44px; }
.cm-add { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cm-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cm-opt { grid-template-columns: 40px 1fr auto 24px; }
.cm-opt .th .cover { width: 40px; height: 40px; border-radius: 6px; }
.cm-opt[aria-pressed="true"] .ck { color: var(--text); }
.cm-opt:disabled { opacity: .4; }
/* Private stats */
.priv { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-22); font-size: 12.5px; color: var(--muted); }
.stat-hero { margin-top: 16px; padding: 18px; border-radius: 12px; background: var(--ghost); border: 1px solid var(--line-14); }
.stat-hero .big { font-family: var(--f-display); text-transform: uppercase; font-size: 28px; color: var(--text); margin: 8px 0 4px; }
.stat-hero .muted { font-size: 14px; margin: 0 0 14px; }
.soft { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-bottom: 6px; }
.soft span { flex: 1; border-radius: 4px 4px 0 0; background: rgba(241,238,230,.35); }
.softrow { padding: 10px 0; border-top: 1px solid var(--line-10); }
.softrow .l { display: flex; justify-content: space-between; font-size: 14px; }
.softrow .l strong { color: var(--text); font-weight: 600; }
.softrow .l span { color: var(--muted); }
.softrow .b { height: 4px; border-radius: 2px; background: var(--ghost); margin-top: 8px; overflow: hidden; }
.softrow .b i { display: block; height: 100%; background: rgba(241,238,230,.45); }
.stats .foot { margin-top: 18px; font-size: 12.5px; color: var(--subtle); }
.rules { margin: 18px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.rules li { margin-bottom: 6px; }
.seg { display: inline-flex; border: 1px solid var(--line-22); border-radius: 6px; overflow: hidden; }
.seg span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; font-size: 12.5px; color: var(--muted); }
.seg span.on { background: var(--cream); color: #1e1d14; font-weight: 650; }
.setrow .k .pgn { margin-right: 10px; }
/* Web desktop */
.w-hub { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; }
.w-hub .l { position: sticky; top: 100px; align-self: start; }
.w-hub .hrail { margin: 0; padding-left: 0; }
.w-book { display: grid; grid-template-columns: 300px minmax(0, 560px); gap: 48px; justify-content: center; }
.w-book .toc { position: sticky; top: 100px; align-self: start; }
.w-booktop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.w-mx { display: grid; grid-template-columns: 420px 300px; gap: 40px; justify-content: center; }
.w-mx .viewer.mx { height: 760px; border-radius: 18px; overflow: hidden; padding-top: 8px; }
.w-mxside { align-self: start; }
.w-narrow { max-width: 600px; }
.w-narrow .appbar { padding-left: 0; }
.avatar.me .cover::after { display: none; }

/* review pass (Astra + Opus) */
.mx-line { height: 3px; margin: 0 4px 8px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.mx-line span { display: block; height: 100%; background: rgba(255,255,255,.85); }
.cm-why { font-size: 13.5px; color: var(--text); margin: 4px 0 8px; }
.tag.patron { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.toc-row > span:nth-child(2) { min-width: 0; }
