/* Carry app shell: the phone frame, the vertical feed, overlays (top bar, rail, captions, nav), sheets, Browse
   (Netflix rows of live posters), the series page and Me. Scene visuals live in scenes/*.css. */
:root {
  /* neutral shell: near-black surfaces, white text, greys; ONE accent (--brand, set from brand.js) used sparingly */
  --brand: #FF5A36; --brand2: #FF2E7E; --brand-ink: #fff; --brand-grad: linear-gradient(90deg, #FF5A36, #FF2E7E);
  --night: #0B0B0F; --chalk: #FAFAF7; --mute: #A3A3AD;
  --bg: #000; --surface: var(--night); --surface2: #16161C; --ink: var(--chalk); --sub: var(--mute); --dim: rgba(250,250,247,.42);
  --accent: var(--brand); --gold: #FFB547; --hot: #FF2D55;
  --navh: 52px; --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  --glass: rgba(20, 20, 22, .86); --line: rgba(255, 255, 255, .1);
  --ui: 'Inter Tight', system-ui, sans-serif; --hook: 'Archivo', 'Inter Tight', sans-serif; --hud: 'Chakra Petch', 'Inter Tight', sans-serif; --epic: 'Cinzel', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; background: #000; color: var(--ink); font-family: var(--ui); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
#app { position: fixed; inset: 0; display: grid; place-items: center; background: #0a0a0b; }
#frame { position: relative; overflow: hidden; overflow: clip; width: 100vw; height: 100dvh; background: var(--bg); isolation: isolate; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#frame input, #frame textarea { -webkit-user-select: text; user-select: text; }
@media (min-width: 700px) and (min-height: 600px) {
  #frame { height: min(100dvh - 32px, 940px); width: calc(min(100dvh - 32px, 940px) * 9 / 19.5); border-radius: 38px; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 10px #161618, 0 0 0 11px #2a2a2e; }
}

/* ---------- views ---------- */
.view { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.view.on { visibility: visible; pointer-events: auto; }
#feed { touch-action: none; background: var(--bg); }
#track { position: absolute; inset: 0; }
#track.dragging { will-change: transform; }
/* neighbours are only painted while a swipe can reveal them (phones drop tiles when 3 scenes raster at once) */
.slot:not(.cur) { visibility: hidden; }
#track.dragging .slot, #track.settling .slot { visibility: visible; }
.slot { position: absolute; left: 0; width: 100%; height: 100%; overflow: hidden; background: var(--bg); contain: layout paint; }
.slot .cy-stage { position: absolute; left: 0; top: 0; }
.slot .host { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; }
.slot .poster-dim { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.35)); pointer-events: none; }
.slot.loading::after { content: ""; position: absolute; left: 50%; top: 46%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- overlays ---------- */
#segs { position: absolute; left: 12px; right: 12px; top: calc(var(--st) + 6px); z-index: 31; display: flex; gap: 3px; height: 3px; pointer-events: none; }
#segs i { flex: 1; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; position: relative; }
#segs i b { position: absolute; inset: 0; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
#segs i.done b { transform: scaleX(1); background: rgba(255,255,255,.75); }
#rail { position: absolute; right: 4px; width: 48px; bottom: calc(var(--navh) + var(--sb) + 64px); z-index: 25; display: flex; flex-direction: column; align-items: center; gap: 18px; }
#rail button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 48px; color: #fff; font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .01em; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
#rail button .ic { width: 32px; height: 32px; display: grid; place-items: center; filter: drop-shadow(0 1px 4px rgba(0,0,0,.55)); transition: transform .15s; }
#rail button svg { width: 30px; height: 30px; }
#rail button:active .ic { transform: scale(.86); }
#rail button.on .ic { color: var(--hot); }
#meta { position: absolute; left: 14px; right: 64px; bottom: calc(var(--navh) + var(--sb) + 12px); z-index: 24; pointer-events: none; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
#meta .s { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#meta .s .tag { margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62); }
#meta .s .tag.lock { color: var(--gold); }
#meta .t { margin-top: 3px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; font-family: var(--hud); font-weight: 700; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; text-shadow: none; }
.pill.free { background: rgba(255,255,255,.12); color: #fff; }
.pill.pass { background: linear-gradient(90deg, #FF5A36, #FF2E7E); color: #fff; }
.pill.course { background: rgba(255,90,54,.18); color: #FF8A6A; }
#captions { position: absolute; left: 48px; right: 48px; bottom: calc(var(--navh) + var(--sb) + 56px); z-index: 23; text-align: center; font-family: var(--ui); font-weight: 800; font-size: clamp(15px, 4.3vw, 19px); line-height: 1.3; max-height: calc(2 * 1.3em + 4px); overflow: hidden; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.75); }
@media (min-width: 700px) and (min-height: 600px) { #captions { font-size: 19px; } }
#captions .w { color: rgba(255,255,255,.6); padding: 0 .05em; border-radius: .22em; display: inline-block; transition: transform .22s cubic-bezier(.16,1,.3,1), color .12s; }
#captions .w.spoken { color: #fff; }
#captions .w.active { color: #fff; background: var(--brand-grad); text-shadow: none; transform: scale(1.05); }
#frame.nocaps #captions { display: none; }
#frame.ia #rail, #frame.ia #meta, #frame.ia-full #captions { opacity: 0; pointer-events: none; }
#rail, #meta, #captions { transition: opacity .3s; }
#center { position: absolute; inset: 0; z-index: 22; display: grid; place-items: center; pointer-events: none; }
#center .play { width: 76px; height: 76px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; }
#center .play svg { width: 40px; height: 40px; margin-left: 5px; }
#center .heart { position: absolute; width: 104px; height: 104px; color: var(--hot); filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
#hearts { position: absolute; inset: 0; z-index: 26; pointer-events: none; overflow: hidden; }
#hearts i { position: absolute; width: 20px; height: 20px; color: var(--hot); filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
#hearts i svg { width: 100%; height: 100%; display: block; }
#soundpill { position: absolute; left: 50%; top: calc(var(--st) + 22px); transform: translateX(-50%); z-index: 32; display: flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: #000; font-weight: 700; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.4); animation: pillIn .5s cubic-bezier(.16,1,.3,1) both; }
#soundpill svg { width: 20px; height: 20px; }
@keyframes pillIn { from { opacity: 0; transform: translate(-50%, -10px); } }
#hint { position: absolute; left: 50%; bottom: calc(var(--navh) + var(--sb) + 132px); transform: translateX(-50%); z-index: 26; display: flex; align-items: center; gap: 6px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); pointer-events: none; font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; animation: pillIn2 .5s cubic-bezier(.16,1,.3,1) both; }
#hint svg { width: 22px; height: 22px; animation: nudge 1.4s cubic-bezier(.65,0,.35,1) infinite; }
#hint svg:nth-child(2) { display: none; }
@keyframes pillIn2 { from { opacity: 0; transform: translate(-50%, 10px); } }
@keyframes nudge { 0%, 100% { transform: translateY(6px); opacity: .2; } 50% { transform: translateY(-6px); opacity: 1; } }
#answerbar { position: absolute; left: 12px; right: 12px; bottom: calc(var(--navh) + var(--sb) + 12px); z-index: 27; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
#answerbar button { padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--glass); border: 1px solid var(--line); }
#answerbar .back { background: #fff; color: #000; border: 0; }
#answerbar .think { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--glass); font-size: 13px; font-weight: 700; }
#answerbar .think::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--brand); animation: spin .8s linear infinite; }
#frame.answering #rail, #frame.answering #meta { opacity: 0; pointer-events: none; }
#nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--navh) + var(--sb)); padding-bottom: var(--sb); display: flex; align-items: stretch; background: #000; border-top: 1px solid rgba(255,255,255,.08); }
#nav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.55); }
#nav button svg { width: 22px; height: 22px; }
#nav button.on { color: #fff; }
#toast { position: absolute; left: 50%; top: calc(var(--st) + 22px); z-index: 60; transform: translate(-50%, -20px); opacity: 0; max-width: 86%; padding: 11px 16px; border-radius: 14px; background: rgba(255,255,255,.96); color: #000; font-size: 13px; font-weight: 600; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.45); transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1); pointer-events: none; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#boot { position: absolute; inset: 0; z-index: 90; display: grid; place-items: center; background: #000; transition: opacity .45s; }
#boot .mark svg { width: 64px; height: 64px; animation: bootpulse 1.2s ease-in-out infinite; }
@keyframes bootpulse { 50% { transform: translateY(-6px); filter: drop-shadow(0 8px 24px rgba(25,227,210,.5)); } }
#frame:not(.booting) #boot { opacity: 0; pointer-events: none; }

/* ---------- sheets ---------- */
#scrim { position: absolute; inset: 0; z-index: 70; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
#scrim.on { opacity: 1; pointer-events: auto; }
#sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 71; max-height: 86%; display: flex; flex-direction: column; border-radius: 18px 18px 0 0; background: var(--surface); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -20px 60px rgba(0,0,0,.5); transform: translateY(105%); transition: transform .38s cubic-bezier(.16,1,.3,1); padding: 8px 18px calc(18px + var(--sb)); overflow: hidden; }
#sheet.on { transform: translateY(0); }
#sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.22); margin: 2px auto 12px; flex: none; }
#sheet h3 { font-family: var(--ui); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
#sheet p { color: var(--sub); font-size: 14px; line-height: 1.45; margin-top: 6px; }
#sheet .body { overflow-y: auto; overscroll-behavior: contain; margin: 0 -18px; padding: 0 18px; }
.field { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 6px 6px 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.field:focus-within { border-color: rgba(255,255,255,.4); }
.field input { flex: 1; min-width: 0; height: 40px; background: none; border: 0; outline: none; font-size: 16px; font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--brand-grad); color: #fff; white-space: nowrap; }
.btn.ghost { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid rgba(255,255,255,.14); }
.btn.gold { background: var(--brand-grad); color: #fff; }
.btn.wide { width: 100%; height: 50px; border-radius: 14px; font-size: 16px; }
.btn:disabled { opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips button { padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); text-align: left; }
.note { font-size: 12px; color: var(--sub); margin-top: 10px; }
/* waitlist sheet (PAY_MODE=waitlist) */
.wl .btn.wide { margin-top: 14px; }
.wl-other { display: block; margin: 12px auto 0; font-size: 13px; font-weight: 600; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.wl-err { color: var(--hot); }
.wl-err:empty { display: none; }
.wl-ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-grad); color: #fff; margin: 2px 0 12px; }
.wl-ok svg { width: 26px; height: 26px; }
.devlink { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--brand); font-size: 12px; word-break: break-all; }
.eplist { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.eprow { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 12px; text-align: left; width: 100%; }
.eprow:active { background: rgba(255,255,255,.05); }
.eprow .n { width: 30px; font-family: var(--hook); font-weight: 900; font-size: 22px; color: var(--sub); text-align: center; flex: none; }
.eprow .tx { flex: 1; min-width: 0; }
.eprow .tx b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eprow .tx span { font-size: 12px; color: var(--sub); }
.eprow .bar { height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); margin-top: 6px; overflow: hidden; }
.eprow .bar i { display: block; height: 100%; background: var(--hot); }
.eprow .st { flex: none; width: 26px; height: 26px; display: grid; place-items: center; color: var(--sub); }
.eprow .st svg { width: 18px; height: 18px; }
.eprow.cur { background: rgba(255,255,255,.06); }

/* ---------- browse (Netflix) ---------- */
#browse { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: calc(var(--navh) + var(--sb) + 30px); background: #000; }
.hero { position: relative; height: min(68vh, 620px); overflow: hidden; }
.hero .mini { position: absolute; inset: 0; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 70%, #000 100%); pointer-events: none; }
.hero .info { position: absolute; left: 0; right: 0; bottom: 18px; padding: 0 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.hero .kind { font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.hero h2 { font-family: var(--epic); font-weight: 800; font-size: clamp(28px, 8.5vw, 38px); line-height: 1.02; text-shadow: 0 6px 30px rgba(0,0,0,.6); }
.hero .tag { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.85); max-width: 330px; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.hero .acts { display: flex; gap: 10px; margin-top: 4px; }
.hero .acts .btn { height: 40px; }
.hero .acts .btn.play { background: #fff; color: #000; }
.row { margin-top: 22px; }
.row h4 { font-family: var(--ui); font-weight: 800; font-size: 16px; letter-spacing: -.01em; padding: 0 14px; margin-bottom: 9px; }
.row .scroller { display: flex; gap: 9px; overflow-x: auto; overflow-y: hidden; padding: 0 14px 4px; scroll-snap-type: x proximity; scrollbar-width: none; touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
.row .scroller::-webkit-scrollbar { display: none; }
.tile { position: relative; flex: none; width: 118px; scroll-snap-align: start; text-align: left; }
.tile .pst { position: relative; width: 118px; height: 210px; border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.tile.wide { width: 210px; }
.tile.wide .pst { width: 210px; height: 120px; }
.tile .pst .mini { position: absolute; inset: 0; }
.tile .lk { position: absolute; top: 6px; right: 6px; z-index: 3; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,10,22,.7); color: var(--gold); }
.tile .lk svg { width: 12px; height: 12px; }
.tile .fr { position: absolute; top: 6px; left: 6px; z-index: 3; }
.tile .pr { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); z-index: 3; }
.tile .pr i { display: block; height: 100%; background: var(--hot); }
.tile .nm { margin-top: 6px; font-size: 12px; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .sb { font-size: 11px; color: var(--sub); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .rk { position: absolute; left: -6px; bottom: 38px; z-index: 4; font-family: var(--hook); font-weight: 900; font-size: 64px; line-height: 1; color: #000; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.mini { overflow: hidden; pointer-events: none; }
.mini .cy-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.mini .cy-stage .scene { pointer-events: none; }

/* ---------- series page ---------- */
#series { z-index: 50; overflow-y: auto; overscroll-behavior: contain; background: #000; touch-action: pan-y; transform: translateY(100%); transition: transform .42s cubic-bezier(.16,1,.3,1), visibility 0s .42s; }
#series.on { transform: none; transition: transform .42s cubic-bezier(.16,1,.3,1); }
#series .close { position: absolute; top: calc(var(--st) + 12px); right: 12px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: rgba(5,10,22,.6); display: grid; place-items: center; }
#series .close svg { width: 20px; height: 20px; }
#series .hero { height: min(62vh, 560px); }
#series .meta2 { padding: 4px 18px 0; }
#series .meta2 .facts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
#series .meta2 .facts span { font-size: 12px; color: var(--sub); font-weight: 700; }
#series .buy { margin: 14px 18px 0; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid rgba(255,255,255,.08); }
#series .buy p { color: var(--sub); font-size: 13px; margin-top: 6px; }
#series .eps { padding: 6px 12px calc(var(--sb) + 40px); }

/* ---------- me ---------- */
#me { overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: calc(var(--st) + 28px) 16px calc(var(--navh) + var(--sb) + 30px); background: #000; }
.card { border-radius: 16px; background: var(--surface); border: 1px solid rgba(255,255,255,.06); padding: 16px; margin-bottom: 12px; }
.prof { display: flex; align-items: center; gap: 14px; }
.prof .crest { width: 74px; height: 74px; flex: none; }
.prof .crest .ia-crest { transform: scale(.41); transform-origin: 0 0; }
.prof h2 { font-family: var(--ui); font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; }
.prof .sub { color: var(--sub); font-size: 13px; margin-top: 4px; }
.prof .champs { display: flex; gap: 6px; margin-top: 8px; }
.prof .champs img, .prof .champs .ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.5); background: #1b2a4a; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats3 div { border-radius: 14px; background: var(--surface); border: 1px solid rgba(255,255,255,.06); padding: 12px 8px; text-align: center; }
.stats3 b { display: block; font-family: var(--ui); font-weight: 800; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.stats3 span { display: block; margin-top: 4px; font-family: var(--ui); font-weight: 600; font-size: 11px; color: var(--sub); }
.planbox h3 { font-family: var(--ui); font-weight: 800; font-size: 17px; }
.planbox p { color: var(--sub); font-size: 13px; margin: 4px 0 12px; }
.planbox .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.legal { margin-top: 18px; font-size: 11px; line-height: 1.5; color: rgba(143,166,200,.75); }
.legal a { color: var(--sub); }
.toggle { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; font-size: 14px; font-weight: 700; }
.toggle i { width: 44px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.14); position: relative; transition: background .2s; }
.toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle.on i { background: var(--brand); }
.toggle.on i::after { transform: translateX(18px); }

@media (prefers-reduced-motion: reduce) {
  #hint svg, #boot .mark svg { animation: none; }
  #sheet, #series, #toast { transition: none; }
}

.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; padding: 14px 0 8px; }
.cgrid button { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--sub); }
.cgrid button span { max-width: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coachopts { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.coachopts button { text-align: left; padding: 16px; border-radius: 14px; background: var(--surface2); border: 1px solid rgba(255,255,255,.08); }
.coachopts button b { display: block; font-family: var(--ui); font-weight: 800; font-size: 17px; }
.coachopts button span { display: block; font-size: 13px; color: var(--sub); margin-top: 4px; line-height: 1.4; }


.pill.made { background: var(--brand-grad); color: #fff; font-style: normal; }
.eprow.mine { background: rgba(255,255,255,.04); }
.eprow.mine .n { color: var(--brand); }
.eprow.mine .n svg { width: 22px; height: 22px; }

/* brand lockup (brand.js): mark + "carry" wordmark, Unbounded 700 */
.brand-lockup { display: inline-flex; align-items: center; gap: calc(var(--bs) * .32); color: var(--chalk); }
.brand-lockup .brand-mark { width: calc(var(--bs) * 1.15); height: calc(var(--bs) * 1.15); flex: none; }
.brand-word { font-family: 'Unbounded', var(--ui); font-weight: 700; font-size: var(--bs); letter-spacing: -0.02em; line-height: 1; }
.mehead { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 16px; }
#boot .mark .brand-mark { width: 64px; height: 64px; }
#hearts i.amb { opacity: .5; }

.mupicks { display: flex; align-items: center; gap: 10px; margin: 16px 0 16px; }
.mupick { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface2); border: 1px solid rgba(255,255,255,.08); text-align: left; min-width: 0; }
.mupick span { display: flex; flex-direction: column; min-width: 0; }
.mupick i { font-style: normal; font-size: 11px; color: var(--sub); }
.mupick b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mupicks .vs { font-weight: 800; font-size: 13px; color: var(--sub); }
.mu-empty { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--sub); font-weight: 800; flex: none; }
