/* Mix Coach (Version B) — self-contained styling for the coach overlay.
   Reuses the app palette; dark, pro, calm. */
.cb-wrap {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: radial-gradient(130% 90% at 50% 0%, #17171f 0%, #0d0d11 60%, #0a0a0d 100%);
  color: var(--cream, #f2e9d8); padding: 28px 18px 60px;
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  display: flex; justify-content: center; align-items: flex-start;
}
.cb-card { width: 100%; max-width: 440px; margin: 0 auto; }
.cb-hero { text-align: center; padding-top: 24px; }
.cb-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .22em;
  color: var(--gold, #e8b84b); border: 1px solid rgba(232,184,75,.4); border-radius: 20px;
  padding: 5px 13px; margin-bottom: 18px; }
.cb-card h1 { font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; }
.cb-card h2 { font-size: 23px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; }
.cb-lead { color: #b9b9c4; font-size: 15px; line-height: 1.55; margin: 0 auto 22px; max-width: 380px; }
.cb-sub { color: #8d8d9a; font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; }
.cb-step { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d8d9a; font-weight: 700; margin-bottom: 10px; }
.cb-sec2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8d8d9a; font-weight: 700; margin: 24px 0 12px; }

.cb-points { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; max-width: 360px; margin-left: auto; margin-right: auto; }
.cb-points li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: #d8d8e0; padding: 8px 0; line-height: 1.4; }
.cb-points li b { color: var(--gold, #e8b84b); font-size: 15px; flex: 0 0 auto; }
.cb-promise { background: rgba(79,196,127,.1); border: 1px solid rgba(79,196,127,.35); border-radius: 14px;
  padding: 13px 16px; font-size: 14px; color: #d8d8e0; margin: 4px 0 22px; line-height: 1.45; }
.cb-promise b { color: var(--green, #4fc47f); }

.cb-cta { width: 100%; background: linear-gradient(180deg, #5bd98f, #36b56c); color: #0b1e14;
  border: none; border-radius: 15px; padding: 17px; font-size: 16.5px; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 22px rgba(79,207,134,.3); margin-top: 6px; font-family: inherit; }
.cb-cta:active { transform: translateY(1px); }
.cb-skip { display: block; width: 100%; background: none; border: none; color: #8d8d9a; font-size: 13.5px;
  padding: 14px; cursor: pointer; font-family: inherit; }
.cb-foot { color: #6f6f7c; font-size: 11.5px; margin-top: 16px; line-height: 1.5; }

/* tips */
.cb-tips { display: flex; flex-direction: column; gap: 11px; margin: 18px 0 22px; text-align: left; }
.cb-tip { display: flex; gap: 14px; align-items: flex-start; background: #181820; border: 1px solid #2b2b36;
  border-radius: 15px; padding: 14px 15px; }
.cb-tip .cb-ic { font-size: 23px; flex: 0 0 auto; width: 30px; text-align: center; }
.cb-tip b { font-size: 15px; display: block; margin-bottom: 2px; }
.cb-tip small { color: #8d8d9a; font-size: 12.5px; line-height: 1.45; }

/* chips */
.cb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-chip { background: #20202a; border: 1.5px solid #2b2b36; color: var(--cream, #f2e9d8);
  border-radius: 20px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.cb-chip.on { border-color: var(--green, #4fc47f); background: rgba(79,196,127,.12); color: var(--green, #4fc47f); }
/* engineer chips with photos (top 10) */
.cb-mchips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 4px; }
.cb-mchip { display: flex; align-items: center; gap: 9px; background: #20202a; border: 1.5px solid #2b2b36;
  color: var(--cream, #f2e9d8); border-radius: 30px; padding: 5px 14px 5px 5px; cursor: pointer; font-family: inherit; }
.cb-mchip.on { border-color: var(--green, #4fc47f); background: rgba(79,196,127,.12); }
.cb-mimg { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #15151a; flex: 0 0 auto; }
.cb-mname { font-size: 13.5px; font-weight: 700; }
.cb-mchip.on .cb-mname { color: var(--green, #4fc47f); }
.cb-auto { font-size: 11px; color: #6f6f7c; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* assessment progress */
.cb-progress { height: 5px; background: #20202a; border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.cb-progress-bar { height: 100%; background: var(--gold, #e8b84b); border-radius: 4px; transition: width .3s; }

/* report */
.cb-reptop { display: flex; gap: 18px; align-items: center; margin: 8px 0 6px; }
.cb-ring { --p: 0; width: 104px; height: 104px; flex: 0 0 auto; border-radius: 50%;
  background: conic-gradient(var(--green, #4fc47f) calc(var(--p) * 1%), #24242c 0);
  display: flex; align-items: center; justify-content: center; }
.cb-ring::before { content: ""; position: absolute; width: 104px; height: 104px; }
.cb-ring-v { width: 82px; height: 82px; border-radius: 50%; background: #121217; display: flex;
  flex-direction: column; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; z-index: 1; }
.cb-ring-v small { font-size: 12px; color: #8d8d9a; font-weight: 600; }
.cb-repsum { flex: 1; text-align: left; }
.cb-repline { font-size: 13.5px; color: #d8d8e0; line-height: 1.5; margin-bottom: 8px; }
.cb-repline.cb-muted { color: #8d8d9a; font-size: 12.5px; }
.cb-lvlscores { display: flex; gap: 8px; margin: 6px 0; }
.cb-lvlscore { background: #181820; border: 1px solid #2b2b36; border-radius: 10px; padding: 7px 10px; text-align: center; flex: 1; }
.cb-lvlscore b { font-size: 17px; display: block; } .cb-lvlscore small { font-size: 10px; color: #8d8d9a; text-transform: uppercase; }

.cb-stems { display: flex; flex-direction: column; gap: 12px; }
.cb-stem { background: #181820; border: 1px solid #2b2b36; border-radius: 14px; padding: 13px 15px; }
.cb-stem-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cb-stem-top b { font-size: 15px; }
.cb-grade { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; }
.cb-grade.g { background: rgba(79,196,127,.16); color: var(--green, #4fc47f); }
.cb-grade.a { background: rgba(232,184,75,.16); color: var(--gold, #e8b84b); }
.cb-grade.r { background: rgba(224,68,56,.16); color: var(--red, #e04438); }
.cb-meter { height: 7px; background: #0e0e12; border-radius: 4px; overflow: hidden; }
.cb-meter-fill { height: 100%; border-radius: 4px; }
.cb-meter-fill.g { background: var(--green, #4fc47f); } .cb-meter-fill.a { background: var(--gold, #e8b84b); } .cb-meter-fill.r { background: var(--red, #e04438); }
.cb-stem-sub { font-size: 12px; color: #8d8d9a; margin-top: 7px; } .cb-stem-sub b { color: #d8d8e0; }
.cb-focus { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cb-focuschip { background: rgba(224,68,56,.1); border: 1px solid rgba(224,68,56,.3); color: #f0a69f;
  border-radius: 20px; padding: 8px 13px; font-size: 13px; font-weight: 600; }
.cb-genres { display: flex; flex-direction: column; gap: 8px; }
.cb-gline { display: flex; align-items: center; gap: 9px; background: #181820; border: 1px solid #2b2b36;
  border-radius: 12px; padding: 11px 14px; font-size: 14px; }
.cb-gtag { font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; }
.cb-gtag.g { background: rgba(79,196,127,.16); color: var(--green, #4fc47f); }
.cb-gtag.r { background: rgba(224,68,56,.16); color: var(--red, #e04438); }

/* plan */
.cb-days { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 18px; }
.cb-day { display: flex; gap: 13px; align-items: center; background: #181820; border: 1px solid #2b2b36; border-radius: 13px; padding: 12px 14px; }
.cb-day-d { width: 38px; height: 38px; border-radius: 10px; background: #20202a; color: var(--gold, #e8b84b);
  font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cb-day-main { flex: 1; text-align: left; } .cb-day-main b { font-size: 14px; display: block; }
.cb-day-main small { color: #8d8d9a; font-size: 11.5px; line-height: 1.4; }
.cb-day-min { font-size: 11px; color: #6f6f7c; font-weight: 700; flex: 0 0 auto; }

/* back button (change your picks) — sits above the content, left-aligned */
.cb-backbtn { display: block; width: 40px; height: 40px; margin: 0 auto 14px 0; border-radius: 11px;
  background: #20202a; border: 1px solid #2b2b36; color: var(--cream, #f2e9d8); font-size: 20px;
  font-weight: 800; cursor: pointer; text-align: center; line-height: 38px; }
.cb-card { position: relative; }

.cb-sdot { width: 8px; height: 8px; border-radius: 50%; background: #2b2b36; }
.cb-sdot.done { background: var(--green, #4fc47f); } .cb-sdot.cur { background: var(--gold, #e8b84b); }

/* persistent TOP HUD — always on during a journey (overlay screens + the mix).
   space-between pins the edges so nothing ever clips on a narrow phone. */
.cb-tophud { position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: rgba(12,12,16,.96); backdrop-filter: blur(8px); border-bottom: 1px solid #2b2b36;
  padding: 9px 14px; padding-top: max(9px, env(safe-area-inset-top)); font-size: 12px; }
.cb-tophud .cb-th-left { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cb-tophud .cb-th-j { font-weight: 800; color: var(--gold, #e8b84b); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.cb-tophud .cb-th-stage { font-weight: 800; color: var(--cream, #f2e9d8); white-space: nowrap; flex: 0 0 auto; }
.cb-tophud .cb-th-rating { font-weight: 800; color: var(--gold, #e8b84b); font-variant-numeric: tabular-nums; white-space: nowrap; flex: 0 0 auto; }
.cb-tophud .cb-th-menu { flex: 0 0 auto; background: #20202a; border: 1px solid #2b2b36; color: var(--cream, #f2e9d8);
  width: 34px; height: 30px; border-radius: 9px; font-size: 16px; line-height: 1; cursor: pointer; }
.cb-tophud .cb-th-menu:active { background: #2b2b36; }
/* content clears the fixed HUD + the iPhone notch while it's showing */
.cb-wrap.has-hud,
body.cb-hud-on .cb-wrap { padding-top: calc(52px + env(safe-area-inset-top)); }
body.cb-hud-on #exercise { padding-top: calc(46px + env(safe-area-inset-top)); }

/* ☰ dropdown: home / account / admin — sits above the overlay, top-right */
.cb-menu { position: fixed; top: calc(44px + env(safe-area-inset-top)); left: 10px; right: auto; z-index: 100;
  background: #15151c; border: 1px solid #2b2b36; border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 34px rgba(0,0,0,.55); min-width: 210px; display: flex; flex-direction: column; gap: 2px; }
.cb-menu .cb-mi { display: block; width: 100%; text-align: left; background: none; border: 0;
  color: var(--cream, #f2e9d8); font-size: 14px; font-weight: 600; padding: 11px 12px; border-radius: 8px; cursor: pointer; }
.cb-menu .cb-mi:hover { background: #20202a; }
.cb-menu .cb-mi.gold, .cb-menu .cb-mi[data-act="admin"] { color: var(--gold, #e8b84b); }
.cb-menu .cb-mi.cb-mi-danger { color: #ff6b6b; }
.cb-menu .cb-mi-email { font-size: 11.5px; color: #8d8d9a; padding: 8px 12px 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; border-top: 1px solid #23232c; margin-top: 2px; }

/* landing / paywall fine print */
.cb-fineprint { text-align: center; color: #6a6a78; font-size: 12px; margin-top: 15px; }

/* PAYWALL — real engineer photos, their free one marked, $20/yr */
.cb-paywall { text-align: center; }
.cb-pw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 18px 0 6px; }
.cb-pw-cell { position: relative; aspect-ratio: 1; border-radius: 11px; overflow: hidden;
  background: #1c1c24; border: 1px solid #23232c; }
.cb-pw-cell img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.5); }
.cb-pw-cell.open img { filter: none; }
.cb-pw-cell.open { border-color: rgba(232,184,75,.5); }
.cb-pw-tag { position: absolute; }
.cb-pw-tag.free { left: 0; right: 0; bottom: 0; background: rgba(232,184,75,.92); color: #1a1205;
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em; padding: 3px 0; }
.cb-pw-tag.lock { inset: 0; background: rgba(10,10,13,.4); }
.cb-pw-tag.lock::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 11px;
  transform: translate(-50%, -30%); border: 2px solid rgba(242,233,216,.85); border-bottom: none;
  border-radius: 7px 7px 0 0; box-shadow: 0 11px 0 -2px rgba(242,233,216,.2); }
.cb-price { margin: 20px 0 4px; }
.cb-price-amt { font-size: 40px; font-weight: 800; color: var(--cream, #f2e9d8); letter-spacing: -.02em; }
.cb-price-per { color: #8d8d9a; font-size: 15px; margin-left: 4px; }
.cb-pw-list { list-style: none; text-align: left; max-width: 270px; margin: 14px auto 4px;
  display: flex; flex-direction: column; gap: 10px; padding: 0; }
.cb-pw-list li { font-size: 13.5px; color: #d8d8e0; padding-left: 22px; position: relative; }
.cb-pw-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 7px;
  border-left: 2px solid var(--green, #4fc47f); border-bottom: 2px solid var(--green, #4fc47f);
  transform: rotate(-45deg); }

/* hub: locked / free engineer cards */
.cb-engcard.locked { opacity: .78; }
.cb-engcard.locked .cb-engface { filter: grayscale(.7) brightness(.55); }
.cb-englock { position: absolute; top: 7px; right: 7px; width: 13px; height: 11px; z-index: 2;
  border: 2px solid rgba(242,233,216,.9); border-bottom: none; border-radius: 7px 7px 0 0; }
.cb-englock::after { content: ""; position: absolute; left: -3px; top: 9px; width: 16px; height: 10px;
  background: rgba(242,233,216,.9); border-radius: 2px; }
.cb-engstat.cb-locked-s { color: #8d8d9a; }
.cb-engstat.cb-free-s { color: var(--gold, #e8b84b); font-weight: 800; letter-spacing: .06em; }

.cb-hometitle { font-size: 27px; font-weight: 800; color: var(--cream, #f2e9d8); letter-spacing: -.01em; margin-bottom: 6px; }
/* HOME = the unlock screen: big engineer tiles, WHITE names, one price on the CTA */
.cb-homegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 18px 0 10px; }
.cb-homecard { background: none; border: 0; padding: 0; cursor: pointer; text-align: center; }
.cb-homecard.locked { cursor: pointer; }
/* Skeleton so cards look intentional (not blank/broken) while photos load. The
   loaded photo covers the shimmer; a missing one just keeps the soft gradient. */
.cb-homecard .cb-pw-cell { aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 10px;
  background: linear-gradient(135deg, #1b1b22, #23232c); }
.cb-homecard .cb-pw-cell::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.05) 50%, transparent 80%);
  transform: translateX(-100%); animation: cbshimmer 1.5s ease-in-out infinite; }
.cb-homecard .cb-pw-cell img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  display: block; }
@keyframes cbshimmer { to { transform: translateX(100%); } }
/* Native app: genre tiles have no engineer photo — give them an intentional
   brand gradient + a gold equalizer motif instead of an empty shimmering box. */
.mc-app .cb-homecard .cb-pw-cell { background: linear-gradient(150deg, #2a2113 0%, #1a1a20 55%, #141419 100%);
  border: 1px solid rgba(232,184,75,.30); }
.mc-app .cb-homecard .cb-pw-cell::before { animation: none; background: none; }
.mc-app .cb-homecard .cb-pw-cell::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(#e8b84b,#e8b84b) 18% 68%/7px 24% no-repeat,
    linear-gradient(#e8b84b,#e8b84b) 34% 68%/7px 46% no-repeat,
    linear-gradient(#e8b84b,#e8b84b) 50% 68%/7px 62% no-repeat,
    linear-gradient(#e8b84b,#e8b84b) 66% 68%/7px 40% no-repeat,
    linear-gradient(#e8b84b,#e8b84b) 82% 68%/7px 28% no-repeat;
  opacity: .92; }
.cb-homename { font-size: 12.5px; font-weight: 700; color: var(--cream, #f2e9d8); margin-top: 8px; line-height: 1.25; }
.cb-homecard.locked .cb-homename { color: #cfcfd8; }
.cb-homestat { font-size: 10.5px; font-weight: 700; margin-top: 2px; }
.cb-homestat.open { color: var(--green, #4fc47f); }
.cb-homestat.locked { color: #7a7a86; }
.cb-pulse { animation: cbpulse 1.05s ease 2; }
/* A locked card the user has earned the right to open — gold ring + "OPEN" tag. */
.cb-homecard.openable .cb-pw-cell { outline: 2px solid rgba(232,184,75,.92); outline-offset: 2px; border-radius: 10px; }
.cb-homehint { font-size: 13px; color: #9a9aa6; margin: 16px auto 2px; max-width: 320px; text-align: center; }
.cb-homehint.gold { color: var(--cream, #f2e9d8); font-weight: 700; }
/* Sign in with Apple — native app only (Apple HIG: black button + white logo). */
.auth-apple { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: #000; color: #fff; border: 0; border-radius: 9px; height: 48px; font-size: 17px;
  font-weight: 600; cursor: pointer; margin-bottom: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.auth-apple-logo { width: 15px; height: 18px; margin-top: -2px; }
/* Fader fine-trim nudge buttons: 0.1 dB per tap. BOTH sit in a horizontal row
   BELOW the track (− left, + right) so they're never in the fader's vertical
   travel — dragging the handle to the top can't land on a button. SOLID dark so
   they're visible on the light cassette backdrop. */
.msf-nudges { display: flex; justify-content: center; gap: 6px; margin: 6px 0 2px; }
.msf-nudge { display: flex; align-items: center; justify-content: center;
  width: 34px; height: 28px; padding: 0; -webkit-appearance: none; appearance: none;
  border: 1px solid rgba(255, 255, 255, .4); background: #16161c; color: #fff;
  border-radius: 7px; font-size: 19px; font-weight: 800; line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .5); cursor: pointer;
  user-select: none; -webkit-user-select: none; touch-action: none; }
.msf-nudge:active { background: var(--gold, #e8b84b); color: #1a1205; border-color: var(--gold, #e8b84b); }
/* "i" info badge on each engineer card → songs & artists popover. */
.cb-info { position: absolute; top: 4px; right: 4px; z-index: 3; width: 30px; height: 30px;
  padding: 0; -webkit-appearance: none; appearance: none;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(10, 10, 13, .72); color: #fff; font-size: 15px; font-weight: 700;
  font-style: italic; font-family: Georgia, "Times New Roman", serif; cursor: pointer;
  backdrop-filter: blur(2px); border: 1px solid rgba(255, 255, 255, .35); }
.cb-info:active { background: var(--gold, #e8b84b); color: #1a1205; }
.cb-info-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 8, 11, .7);
  display: flex; align-items: flex-start; justify-content: center; overflow-y: auto;
  padding: max(24px, calc(env(safe-area-inset-top) + 16px)) 20px max(24px, env(safe-area-inset-bottom)); }
.cb-info-ov[hidden] { display: none; }
.cb-info-card { background: #17171e; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
  padding: 22px; max-width: 420px; width: 100%; max-height: 72vh; display: flex; flex-direction: column;
  position: relative; }
.cb-info-card h3 { margin: 0 4px 2px; color: #f2e9d8; font-size: 20px; }
.cb-info-sub { margin: 0 4px 12px; color: #8d8d9a; font-size: 13px; }
.cb-info-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: #8d8d9a;
  font-size: 18px; cursor: pointer; }
.cb-info-list { overflow-y: auto; }
.cb-info-row { padding: 9px 4px; border-top: 1px solid rgba(255, 255, 255, .06); color: #d4d4de; font-size: 14.5px; }
.cb-info-row b { color: #f2e9d8; }
.cb-info-yr { color: #7a7a86; font-size: 12px; margin-left: 4px; }
/* Daily Puzzle — home CTA + result/leaderboard overlay. */
.cb-daily-cta { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  margin: 2px 0 20px; padding: 15px 16px; border: 1px solid rgba(232, 184, 75, .55); border-radius: 16px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(232, 184, 75, .22), rgba(232, 184, 75, .03) 60%), #15151c;
  box-shadow: 0 6px 22px rgba(232, 184, 75, .12), inset 0 1px 0 rgba(255, 255, 255, .05); cursor: pointer;
  position: relative; overflow: hidden; }
.cb-daily-cta::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%);
  transform: translateX(-120%); animation: cbdailyshine 4.5s ease-in-out infinite; }
@keyframes cbdailyshine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.cb-daily-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; z-index: 1; }
.cb-daily-k { font-weight: 800; letter-spacing: .12em; font-size: 12px; color: #e8b84b; }
.cb-daily-d { color: #cfcfd8; font-size: 13px; }
.cb-daily-play { z-index: 1; background: #e8b84b; color: #1a1205; font-weight: 800; font-size: 13px;
  letter-spacing: .04em; padding: 8px 16px; border-radius: 999px; box-shadow: 0 2px 8px rgba(232, 184, 75, .4); }
/* Little animated equalizer, no emoji. */
.cb-daily-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; z-index: 1; }
.cb-daily-bars i { width: 4px; background: #e8b84b; border-radius: 2px; animation: cbeq 1s ease-in-out infinite; }
.cb-daily-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.cb-daily-bars i:nth-child(2) { height: 85%; animation-delay: .15s; }
.cb-daily-bars i:nth-child(3) { height: 60%; animation-delay: .3s; }
.cb-daily-bars i:nth-child(4) { height: 100%; animation-delay: .45s; }
.cb-daily-bars i:nth-child(5) { height: 50%; animation-delay: .6s; }
@keyframes cbeq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
/* Centered "Preparing…" while a mix loads (goBtn is right-aligned / off in coach). */
.prep-ov { position: fixed; inset: 0; z-index: 9998; background: rgba(8, 8, 11, .6);
  display: flex; align-items: center; justify-content: center; }
.prep-ov[hidden] { display: none; }
.prep-box { background: #17171e; color: #f2e9d8; padding: 16px 28px; border-radius: 12px;
  font-weight: 700; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.cb-daily-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 8, 11, .72);
  display: flex; align-items: flex-start; justify-content: center; overflow-y: auto;
  padding: max(24px, calc(env(safe-area-inset-top) + 16px)) 20px max(24px, env(safe-area-inset-bottom)); }
.cb-daily-ov[hidden] { display: none; }
.cb-daily-card { position: relative; background: #17171e; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px; padding: 26px 22px; max-width: 420px; width: 100%; max-height: 82vh;
  overflow-y: auto; text-align: center; }
.cb-daily-score { font-size: 60px; font-weight: 800; color: #f2e9d8; line-height: 1; letter-spacing: -.02em; }
.cb-daily-score small { font-size: 20px; color: #8d8d9a; font-weight: 600; }
.cb-daily-rank { color: #e8b84b; font-weight: 700; margin: 6px 0 14px; }
.cb-daily-name { display: flex; gap: 8px; margin: 0 0 14px; }
.cb-daily-name .auth-input { flex: 1; }
.cb-cta.sm { width: auto; padding: 0 16px; font-size: 14px; }
.cb-lb { text-align: left; margin: 6px 0 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.cb-lb-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.cb-lb-row.me { background: rgba(232, 184, 75, .12); border-radius: 8px; }
.cb-lb-rank { width: 26px; color: #8d8d9a; font-weight: 700; font-size: 13px; }
.cb-lb-name { flex: 1; color: #e7e7ee; font-size: 14px; }
.cb-lb-row.me .cb-lb-name { color: #f2e9d8; font-weight: 700; }
.cb-lb-score { color: #e8b84b; font-weight: 800; }
@keyframes cbpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(79,196,127,.5); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(79,196,127,0); transform: scale(1.015); } }

/* result: chosen engineer avatars */
.cb-res-mixers { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 16px; }
.cb-res-face { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #0e0e12; margin-left: -10px; background: #20202a; }
.cb-res-face:first-child { margin-left: 0; }
.cb-res-mixcap { font-size: 11.5px; color: #8d8d9a; margin-left: 4px; }
.cb-face.sm { width: 34px; height: 34px; }
.cb-rep-faces { display: flex; margin: 8px 0 6px; }
.cb-rating span { font-size: 11px; color: var(--green, #4fc47f); font-weight: 700; margin-left: 4px; }
.cb-rating { color: var(--gold, #e8b84b); font-weight: 800; }

/* hub: sign-in prompt (guests) — save progress + rating */
.cb-saveprompt { display: block; width: 100%; margin: 4px 0 14px; padding: 11px 14px;
  background: rgba(232,184,75,.1); border: 1px solid rgba(232,184,75,.4); border-radius: 12px;
  color: var(--gold, #e8b84b); font-weight: 700; font-size: 13.5px; cursor: pointer;
  transition: background .15s; }
.cb-saveprompt:hover { background: rgba(232,184,75,.18); }

/* report: tendency + per-stem bias bars */
.cb-tendency { background: #181820; border: 1px solid #2b2b36; border-radius: 12px; padding: 12px 15px;
  font-size: 13.5px; color: #d8d8e0; line-height: 1.5; margin: 8px 0 4px; }
.cb-biasbars { display: flex; flex-direction: column; gap: 10px; }
.cb-biasrow { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; }
.cb-biasname { font-size: 13px; font-weight: 700; }
.cb-biastrack { position: relative; height: 10px; background: #15151b; border: 1px solid #2b2b36; border-radius: 6px; }
.cb-biaszero { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: #3a3a46; transform: translateX(-50%); }
.cb-biasfill { position: absolute; top: 1px; bottom: 1px; border-radius: 4px; }
.cb-biasfill.hot { background: var(--red, #e04438); } .cb-biasfill.low { background: #6aa9ff; } .cb-biasfill.ok { background: var(--green, #4fc47f); }
.cb-biasval { font-size: 11px; font-weight: 700; white-space: nowrap; }
.cb-biasval.hot { color: var(--red, #e04438); } .cb-biasval.low { color: #6aa9ff; } .cb-biasval.ok { color: var(--green, #4fc47f); }
/* report: accuracy sparkline */
.cb-sparkwrap { background: #181820; border: 1px solid #2b2b36; border-radius: 12px; padding: 10px 12px; }
.cb-spark { width: 100%; height: 56px; display: block; }
.cb-gain { color: var(--green, #4fc47f); }
.cb-vsbox { background: #181820; border: 1px solid #2b2b36; border-radius: 12px; padding: 12px 15px; }

/* read-only genre tags on the references screen */
.cb-genretags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.cb-gtag-ro { background: #181820; border: 1px solid #2b2b36; color: #b9b9c4; border-radius: 18px;
  padding: 6px 12px; font-size: 12.5px; font-weight: 600; }

/* journey engineer intro photo + completed banner */
.cb-face.big { width: 90px; height: 90px; margin: 2px auto 12px; display: block; border: 2px solid #2b2b36; }
.cb-done-mixer { display: flex; align-items: center; gap: 10px; background: rgba(79,196,127,.1);
  border: 1px solid rgba(79,196,127,.35); border-radius: 12px; padding: 9px 13px; margin-bottom: 14px; }
.cb-done-mixer .cb-face { width: 30px; height: 30px; margin: 0; }
.cb-done-mixer span { font-size: 13.5px; color: var(--green, #4fc47f); font-weight: 700; }
.cb-done-mixer b { color: var(--cream, #f2e9d8); }

/* progress page */
.cb-pstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 18px; }
.cb-pstat { background: #181820; border: 1px solid #2b2b36; border-radius: 12px; padding: 11px 6px; text-align: center; }
.cb-pstat b { font-size: 17px; display: block; color: var(--goldsoft, #f0cd82); } .cb-pstat small { font-size: 10px; color: #8d8d9a; }
.cb-enggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.cb-engcard { position: relative; background: #181820; border: 1px solid #2b2b36; border-radius: 14px; padding: 12px 8px; text-align: center; opacity: .55; }
.cb-engcard.done { opacity: 1; border-color: rgba(79,196,127,.5); }
.cb-engcard.inprog { opacity: 1; border-color: var(--gold, #e8b84b); box-shadow: 0 0 0 1px rgba(232,184,75,.3); }
.cb-engstat.inprog { color: var(--gold, #e8b84b); }
.cb-engface { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #20202a; }
.cb-engname { font-size: 12px; font-weight: 700; margin-top: 7px; line-height: 1.2; }
.cb-engstat { font-size: 10.5px; color: var(--green, #4fc47f); font-weight: 700; margin-top: 3px; }
.cb-engstat.cb-muted { color: #6f6f7c; }

/* landing faces */
.cb-faces { display: flex; justify-content: center; margin: 4px 0 10px; }
.cb-face { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 2px solid #0e0e12;
  box-shadow: 0 4px 14px rgba(0,0,0,.5); margin-left: -16px; background: #20202a; }
.cb-face:first-child { margin-left: 0; }
.cb-faces-cap { color: #8d8d9a; font-size: 12.5px; text-align: center; margin: 0 0 16px; }
.cb-bigic { font-size: 52px; margin: 6px 0 10px; }

/* method intro */
.cb-how { text-align: left; max-width: 360px; margin: 6px auto 20px; padding-left: 20px; color: #d8d8e0; }
.cb-how li { font-size: 14.5px; line-height: 1.4; padding: 7px 0; }
.cb-how li b { color: var(--cream, #f2e9d8); }

/* round result + mastery dots */
.cb-result { position: relative; overflow: hidden; }
.cb-score-big { font-size: 68px; font-weight: 800; line-height: 1; margin: 10px 0 6px; }
.cb-score-big small { font-size: 22px; color: #8d8d9a; font-weight: 600; }
.cb-score-big.g { color: var(--green, #4fc47f); } .cb-score-big.a { color: var(--gold, #e8b84b); }
.cb-dots { display: flex; gap: 9px; justify-content: center; margin: 2px 0 20px; }
.cb-dot { width: 11px; height: 11px; border-radius: 50%; background: #2b2b36; }
.cb-dot.on { background: var(--green, #4fc47f); }
.cb-improve { background: rgba(79,196,127,.1); border: 1px solid rgba(79,196,127,.3); border-radius: 12px;
  padding: 12px 15px; font-size: 14px; color: #d8d8e0; margin: 4px 0 16px; }
.cb-improve b { color: var(--green, #4fc47f); }

/* round-result per-channel detail (how far from the target, in dB) */
.cb-detail-toggle { background: none; border: none; color: #8d8d9a; font-size: 13px; font-weight: 700;
  cursor: pointer; padding: 10px; font-family: inherit; }
.cb-detail { background: #181820; border: 1px solid #2b2b36; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.cb-drow { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px solid #23232c; }
.cb-drow:last-child { border-bottom: none; }
.cb-drow > span { font-size: 13.5px; font-weight: 600; text-align: left; }
.cb-drow b { font-size: 14px; font-variant-numeric: tabular-nums; }
.cb-drow small { font-size: 11px; }
.cb-drow .hot { color: var(--red, #e04438); } .cb-drow .low { color: #6aa9ff; } .cb-drow .ok { color: var(--green, #4fc47f); }

/* confetti */
.cb-confetti { position: absolute; inset: 0 0 auto 0; height: 0; pointer-events: none; }
.cb-conf { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; opacity: .95;
  animation: cbFall 1400ms ease-in forwards; }
@keyframes cbFall { 0% { transform: translateY(-10px) rotate(0); opacity: 1; }
  100% { transform: translateY(560px) rotate(540deg); opacity: 0; } }
