/* ============================================================
   NORTHSTAR v4 (key screens, 12 Nov 2026)
   Paper and ink, photographs, records. Glass only on photographs.
   Motion: things rise in once, records turn, nothing jumps.
   ============================================================ */
:root { --x-r: 26px; --x-glass: rgba(255,255,255,0.12); --x-hair: rgba(255,255,255,0.16); --x-ease: cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes x-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes x-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes x-turn { to { transform: rotate(360deg); } }
@keyframes x-kb { from { transform: scale(1.06); } to { transform: scale(1.0); } }
@keyframes x-drift { 0% { transform: scale(1.04) translate3d(0, 0, 0); } 100% { transform: scale(1.12) translate3d(-2%, -1.5%, 0); } }
@keyframes x-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0.55); } 50% { box-shadow: 0 0 0 7px rgba(255,59,48,0); } }
@keyframes x-float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--rot, 0deg)); } }
@keyframes x-spinb { to { transform: rotate(1turn); } }

.x-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay; background-image: url(/art/v3/grain.png); background-size: 160px 160px; }
.x-sp { width: 40px; height: 40px; flex: 0 0 40px; }
.x-star { width: 22px; height: 25px; }

/* ---------- buttons ---------- */
.x-btn { height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform 160ms var(--x-ease), background 240ms, color 240ms, opacity 200ms; width: 100%; }
.x-btn svg { width: 20px; height: 20px; }
.x-btn.white { background: #fff; color: var(--ink); }
.x-btn.ink { background: var(--ink); color: #fff; }
.x-btn:active, .x-pill:active, .x-chip:active { transform: scale(0.97); }
.x-btn:disabled { opacity: 1; }
.x-btn.busy, .x-pill.busy { color: transparent; position: relative; }
.x-btn.busy::after, .x-pill.busy::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(11,11,12,0.2); border-top-color: var(--ink); animation: x-spinb 700ms linear infinite; }
.x-btn.ink.busy::after { border-color: rgba(255,255,255,0.25); border-top-color: #fff; }
.x-btn.done { background: rgba(255,255,255,0.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.x-lt .x-btn.done { background: var(--bone); color: var(--ink); box-shadow: none; }
.x-pill { height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; transition: transform 160ms var(--x-ease); }
.x-pill svg { width: 18px; height: 18px; }
.x-pill.white { background: #fff; color: var(--ink); }
.x-link { height: 48px; width: 100%; font-size: 16px; font-weight: 700; color: #fff; text-align: center; }
.x-back { width: 44px; height: 44px; border-radius: 50%; background: rgba(11,11,12,0.06); display: flex; align-items: center; justify-content: center; }
.x-back svg { width: 20px; height: 20px; }
.x-back.glass { background: rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }

/* ---------- the scene: photo above the line, frosted below ---------- */
.x-scene { position: absolute; inset: 0; display: flex; flex-direction: column; color: #fff; background: #0a2a33; overflow: hidden; }
.x-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: x-drift 40s ease-in-out infinite alternate; will-change: transform; }
.x-scene.night .x-bg { filter: brightness(0.55) saturate(0.85) hue-rotate(10deg); }
.x-shade { position: absolute; left: 0; top: 0; width: 100%; height: 62%; background: linear-gradient(180deg, rgba(3,12,16,0.72) 0%, rgba(3,12,16,0.42) 66%, rgba(3,12,16,0.1) 100%); pointer-events: none; }
.x-top { position: relative; flex: 0 0 auto; height: calc(var(--top) + 254px); padding: calc(var(--top) + 6px) 20px 18px; display: flex; flex-direction: column; }
.x-bar { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.x-av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.x-av.light { background: rgba(11,11,12,0.06); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.x-say { flex: 1; min-height: 0; padding: 18px 4px 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.x-l { animation: x-rise 520ms var(--x-ease) both; transition: opacity 180ms, transform 200ms; }
.x-l.out { opacity: 0; transform: translateY(-8px); animation: none; }
.x-l.q { font-size: 30px; line-height: 33px; font-weight: 700; letter-spacing: -0.035em; }
.x-l.q.dim { font-size: 20px; line-height: 24px; color: rgba(255,255,255,0.7); letter-spacing: -0.025em; max-width: 310px; }
.x-l.me { align-self: flex-end; max-width: 320px; text-align: right; font-size: 28px; line-height: 31px; font-weight: 700; letter-spacing: -0.035em; }
.x-l.ns { font-size: 28px; line-height: 31px; font-weight: 700; letter-spacing: -0.035em; max-width: 340px; }
.x-say.tight .x-l.me, .x-say.tight .x-l.ns { font-size: 23px; line-height: 26px; }
.x-say.tight .x-l.q.dim { font-size: 17px; line-height: 21px; }
.x-l.think { width: 26px; height: 30px; }
.x-l.think svg { width: 22px; height: 25px; animation: x-turn 1.6s linear infinite; }
.x-line { position: relative; height: 1.5px; flex: 0 0 1.5px; background: #fff; box-shadow: 0 0 14px rgba(255,255,255,0.35); }
.x-low { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: rgba(6,24,32,0.46); -webkit-backdrop-filter: blur(30px) saturate(1.35); backdrop-filter: blur(30px) saturate(1.35); }
.x-low::-webkit-scrollbar { display: none; }
.x-scene.night .x-low { background: rgba(6,10,26,0.55); }
.x-low-in { padding: 16px 16px calc(var(--bot) + 24px); }
.x-scene.tabs .x-low-in { padding-bottom: calc(var(--bot) + 104px); }
body.kb .x-scene .x-low-in { padding-bottom: 14px; }
body.kb .x-scene .x-kb-hide { display: none; }
.x-stack { display: flex; flex-direction: column; gap: 12px; transition: opacity 180ms, transform 200ms; }
.x-stack.out { opacity: 0; transform: translateY(8px); }
.x-stack > * { animation: x-rise 560ms var(--x-ease) both; }
.x-stack > *:nth-child(2) { animation-delay: 70ms; } .x-stack > *:nth-child(3) { animation-delay: 140ms; } .x-stack > *:nth-child(4) { animation-delay: 210ms; }
.x-cap { padding: 2px 6px 0; font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.72); letter-spacing: -0.01em; }
.x-note { padding: 2px 8px; font-size: 17px; line-height: 23px; color: rgba(255,255,255,0.88); }
.x-cta { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding: 0 8px; }

/* the glass Protocol card */
.x-gcard { padding: 18px 18px 12px; border-radius: var(--x-r); background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-hair), 0 20px 50px rgba(0,0,0,0.18); display: flex; flex-direction: column; }
.x-gh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.x-gt { font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -0.03em; }
.x-gl { font-size: 15px; color: rgba(255,255,255,0.78); white-space: nowrap; }
.x-rows { display: flex; flex-direction: column; }
.x-mrow { position: relative; height: 68px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--x-hair); text-align: left; color: #fff;
  transition: background 240ms, transform 160ms var(--x-ease); border-radius: 0; }
.x-mrow:active { transform: scale(0.985); }
.x-mrow.on { margin: 0 -10px; padding: 0 10px; height: 74px; border-radius: 20px; background: #fff; color: var(--ink); border-top-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.x-mrow.on + .x-mrow { border-top-color: transparent; }
.x-mrec { flex: 0 0 48px; width: 48px; height: 48px; display: block; transition: transform 600ms var(--x-ease); }
.x-mrow.on .x-mrec .spin, .x-mrow.pressed .x-mrec .spin { animation: x-turn 2.4s linear infinite; }
.x-mrow.on .x-mrec { transform: rotate(-12deg); }
.x-mt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.x-mt b { font-size: 18px; line-height: 22px; font-weight: 700; letter-spacing: -0.02em; }
.x-mt > span { font-size: 15px; line-height: 20px; color: rgba(255,255,255,0.78); }
.x-mrow.on .x-mt > span { color: rgba(11,11,12,0.62); }
.x-ph { font-size: 14px; color: rgba(255,255,255,0.7); }
.x-start { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; font-size: 14px; font-weight: 700; flex: 0 0 auto; }
.x-add { margin-top: 10px; height: 52px; font-size: 16px; }

/* quick answers and the field */
.x-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
.x-chips::-webkit-scrollbar { display: none; }
.x-chip { flex: 0 0 auto; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; transition: transform 160ms var(--x-ease), background 200ms; animation: x-rise 520ms var(--x-ease) both; animation-delay: calc(var(--i) * 50ms + 80ms); }
.x-chip.picked { background: #fff; color: var(--ink); }
.x-field { margin: 0; height: 56px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); display: flex; align-items: center; padding: 0 6px 0 22px; gap: 8px; transition: box-shadow 200ms, background 200ms; }
.x-field:focus-within { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,0.08); }
.x-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: #fff; font: inherit; font-size: 17px; caret-color: #fff; }
.x-field input::placeholder { color: rgba(255,255,255,0.7); }
.x-go { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform 160ms, opacity 200ms; }
.x-go svg { width: 20px; height: 20px; }
.x-go.dim { opacity: 0.5; }
.x-go.rec-on { animation: x-pulse 1.2s ease-in-out infinite; background: #FF3B30; color: #fff; }

/* a Sound that's coming */
.x-soon { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 4px 4px; }
.x-soon-rec { margin: 8px 0 20px; filter: drop-shadow(0 22px 40px rgba(0,0,0,0.22)); }
.x-soon-rec .spin { animation: x-turn 9s linear infinite; }
.x-soon h2 { font-size: 30px; line-height: 33px; letter-spacing: -0.035em; }
.x-soon p { margin-top: 8px; font-size: 17px; line-height: 23px; color: var(--stone); }
.x-soon .x-soon-l { color: var(--ink); font-weight: 700; margin: 14px 0 20px; }

/* ---------- light pages ---------- */
.x-lt { background: #fff; color: var(--ink); }
.x-pad { padding: calc(var(--top) + 6px) 24px calc(var(--bot) + 120px); position: relative; }
.x-head { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.x-h1 { margin-top: 22px; font-size: 38px; line-height: 42px; font-weight: 700; letter-spacing: -0.045em; animation: x-rise 520ms var(--x-ease) both; }
.x-sec { margin: 44px 0 16px; font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.x-small { font-size: 16px; line-height: 22px; color: var(--stone); margin: -6px 0 6px; }

/* the segmented pill with its sliding knob */
.x-seg { position: relative; margin-top: 18px; height: 54px; padding: 4px; border-radius: 999px; background: rgba(11,11,12,0.06); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.x-seg button { position: relative; z-index: 1; height: 46px; border-radius: 999px; font-size: 15.5px; font-weight: 700; text-align: center; transition: color 260ms; }
.x-seg button[aria-selected="true"] { color: #fff; }
.x-knob { position: absolute; left: 0; top: 4px; height: 46px; border-radius: 999px; background: var(--ink); transition: transform 420ms cubic-bezier(0.3, 1.25, 0.4, 1), width 420ms var(--x-ease); box-shadow: 0 6px 16px rgba(11,11,12,0.18); }
.x-seg-in { animation: x-fade 260ms ease-out both; }

/* Sounds: the carousel */
.x-car { margin: 26px -24px 0; }
.x-car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px calc(50vw - 125px) 40px; gap: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.x-car-track::-webkit-scrollbar { display: none; }
.x-car-i { flex: 0 0 250px; height: 250px; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; margin: 0 -28px;
  transform: scale(var(--s, 0.7)); opacity: var(--o, 0.55); transition: transform 90ms linear; }
.x-car-i:first-child { margin-left: 0; } .x-car-i:last-child { margin-right: 0; }
.x-car-i.mid { z-index: 2; }
.x-car-rec { display: block; border-radius: 50%; box-shadow: 0 28px 60px rgba(0,0,0,0.22); }
.x-car-rec .spin { transform: rotate(var(--r, 0deg)); }
.x-car-i.spin-up .x-car-rec .spin { animation: x-turn 700ms cubic-bezier(0.5, 0, 0.3, 1); }
.x-car-meta { text-align: center; margin-top: -6px; }
.x-car-meta.swap .x-car-t, .x-car-meta.swap .x-car-u { animation: x-rise 380ms var(--x-ease) both; }
.x-car-t { font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.04em; }
.x-car-u { margin-top: 4px; font-size: 17px; color: var(--stone); animation-delay: 50ms !important; }
.x-car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.x-car-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(11,11,12,0.16); transition: width 300ms var(--x-ease), background 300ms; }
.x-car-dots i.on { width: 20px; background: var(--ink); }

/* Gear (coming) */
.x-gear { margin-top: 34px; display: flex; flex-direction: column; align-items: center; }
.x-gear-art { position: relative; width: 100%; height: 260px; }
.x-gear-art img { position: absolute; width: 190px; height: 190px; object-fit: contain; mix-blend-mode: multiply; animation: x-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -2s); }
.x-gear-art img:nth-child(1) { left: -6px; top: 40px; --rot: -8deg; }
.x-gear-art img:nth-child(2) { right: -6px; top: 10px; --rot: 7deg; }
.x-gear-art img:nth-child(3) { left: 50%; margin-left: -95px; top: 86px; --rot: -2deg; z-index: 1; }
.x-gear-go { margin-top: 18px; height: 52px; display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--stone); }
.x-gear-go svg { width: 20px; height: 20px; }

/* photo cards */
.x-pcards { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.x-pcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 236px; padding: 20px; overflow: hidden; border-radius: var(--x-r);
  background: #141416; color: #fff; text-align: left; transition: transform 200ms var(--x-ease); animation: x-rise 560ms var(--x-ease) both; animation-delay: calc(var(--i, 0) * 70ms); isolation: isolate; }
.x-pcard:active { transform: scale(0.98); }
.x-pcard > img, .x-sart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--x-ease); }
.x-pcard:active > img { transform: scale(1.04); }
.x-fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,0.1) 0%, rgba(11,11,12,0.06) 40%, rgba(11,11,12,0.78) 100%); }
.x-pc-l { font-size: 15px; line-height: 20px; color: rgba(255,255,255,0.86); }
.x-pc-t { margin-top: 4px; font-size: 32px; line-height: 34px; font-weight: 700; letter-spacing: -0.045em; }
.x-pc-t.s { font-size: 27px; line-height: 30px; letter-spacing: -0.04em; }
.x-pc-c { margin-top: 4px; font-size: 16px; color: rgba(255,255,255,0.86); }
.x-pc-recs { position: absolute; right: 18px; top: 18px; display: flex; }
.x-pc-recs .rec { margin-left: -10px; box-shadow: 0 6px 14px rgba(0,0,0,0.3); border-radius: 50%; }
.x-newp { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--x-r); background: var(--bone); text-align: left; animation: x-rise 560ms var(--x-ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.x-newp b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.x-newp > span:last-child > span { display: block; margin-top: 2px; font-size: 16px; color: var(--stone); }
.x-plus { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 48px; }
.x-plus svg { width: 22px; height: 22px; }
.x-req { display: flex; flex-direction: column; padding: 20px; border-radius: var(--x-r); background: var(--bone); text-align: left; animation: x-rise 560ms var(--x-ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.x-req-l { font-size: 15px; color: var(--stone); }
.x-req-t { margin-top: 4px; font-size: 25px; line-height: 29px; font-weight: 700; letter-spacing: -0.035em; }
.x-req-s { margin-top: 4px; font-size: 16px; line-height: 21px; color: var(--stone); }

/* session covers: the coach's photograph, washed in the session's colour */
.x-sart { overflow: hidden; background: var(--tint); }
.x-sart img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; filter: grayscale(1) contrast(1.15) brightness(0.95); mix-blend-mode: luminosity; }
.x-sart-w { position: absolute; inset: 0; background: linear-gradient(160deg, var(--tint) 0%, rgba(0,0,0,0) 60%), var(--tint); mix-blend-mode: multiply; opacity: 0.85; }
.x-sart.dot { position: relative; inset: auto; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; z-index: 0; }
.x-scard { height: 256px; }
.x-sc-rec { position: absolute; right: 18px; top: 18px; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35)); }
.x-sc-rec .spin { animation: x-turn 12s linear infinite; }

/* the Protocol page */
.x-proto .x-wash { position: absolute; left: 0; top: 0; width: 100%; height: 420px; background: radial-gradient(120% 90% at 90% 0%, color-mix(in srgb, var(--w) 40%, #fff) 0%, #fff 70%); opacity: 0.9; pointer-events: none; }
.x-proto .scroll { z-index: 1; }
.x-pl { margin-top: 26px; font-size: 16px; color: var(--stone); animation: x-rise 520ms var(--x-ease) both; }
.x-ptitle { margin-top: 2px; font-size: 44px; line-height: 46px; font-weight: 700; letter-spacing: -0.05em; animation: x-rise 520ms var(--x-ease) 40ms both; }
.x-psub { margin-top: 10px; font-size: 18px; line-height: 24px; color: var(--stone2); animation: x-rise 520ms var(--x-ease) 80ms both; }
.x-fan { position: relative; height: 200px; margin: 28px 0 12px; }
.x-fan-r { position: absolute; top: 0; left: 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.2)); animation: x-fanin 900ms cubic-bezier(0.3, 1.2, 0.4, 1) both; animation-delay: calc(var(--i) * 90ms + 120ms);
  transform: translateX(calc(var(--i) * var(--step, 84px))); z-index: calc(3 - var(--i)); }
.x-fan-r:nth-child(1) { z-index: 3; } .x-fan-r:nth-child(2) { z-index: 2; } .x-fan-r:nth-child(3) { z-index: 1; }
@keyframes x-fanin { from { transform: translateX(var(--step, 84px)) rotate(-120deg); opacity: 0; } to { transform: translateX(calc(var(--i) * var(--step, 84px))); opacity: 1; } }
.x-fan-r .spin { animation: x-turn 18s linear infinite; animation-delay: calc(var(--i) * -3s); }
.x-fan-r.lift { animation: x-lift 700ms var(--x-ease); }
@keyframes x-lift { 50% { transform: translateX(calc(var(--i) * var(--step, 84px))) translateY(-18px); } }
.x-plist { border-top: 1px solid var(--hair2); }
.x-prow { width: 100%; min-height: 96px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--hair2); text-align: left; animation: x-rise 520ms var(--x-ease) both; animation-delay: calc(var(--i) * 70ms + 300ms); }
.x-prow:active { background: rgba(11,11,12,0.03); }
.x-prow-r { flex: 0 0 64px; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.16)); }
.x-prow .x-mt b { font-size: 21px; line-height: 25px; }
.x-prow .x-mt > span, .x-lt .x-mt > span { color: var(--stone); font-size: 16px; }
.x-lt .x-ph { color: var(--stone); font-size: 15px; }
.x-pa { margin-top: 28px; }
.x-quiet { display: block; margin: 34px auto 0; height: 44px; font-size: 15px; color: var(--stone); }

/* Explore */
.x-hero { position: relative; margin-top: 18px; height: 420px; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 22px; color: #fff; isolation: isolate; animation: x-rise 600ms var(--x-ease) 60ms both; }
.x-hero > img { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); object-fit: cover; z-index: -2; will-change: transform; }
.x-hero .x-fade { z-index: -1; }
.x-hero-t { margin-top: 4px; font-size: 36px; line-height: 37px; font-weight: 700; letter-spacing: -0.045em; max-width: 300px; }
.x-hero .x-pill { margin-top: 18px; }
.x-pill.done { background: rgba(255,255,255,0.22); color: #fff; }
.x-rail { display: flex; gap: 18px; overflow-x: auto; margin: 0 -24px; padding: 4px 24px 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
.x-rail::-webkit-scrollbar { display: none; }
.x-rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.x-snd { width: 160px; display: flex; flex-direction: column; text-align: left; animation: x-rise 560ms var(--x-ease) both; animation-delay: calc(var(--i) * 60ms); }
.x-snd-r { display: block; border-radius: 50%; filter: drop-shadow(0 16px 26px rgba(0,0,0,0.18)); transition: transform 500ms var(--x-ease); }
.x-snd:active .x-snd-r { transform: rotate(40deg) scale(0.97); }
.x-snd-t { margin-top: 14px; font-size: 18px; line-height: 22px; font-weight: 700; letter-spacing: -0.02em; }
.x-snd-u { margin-top: 2px; font-size: 15px; color: var(--stone); }
.x-gcell { width: 200px; display: flex; flex-direction: column; }
.x-gimg { width: 200px; height: 200px; border-radius: 22px; background: linear-gradient(180deg, #F6F5F1, #EDEBE5); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.x-gimg img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; }
.x-tcard { width: 300px; height: 210px; }
.x-tcard.wide { width: 100%; }
.x-sched { border-top: 1px solid var(--hair2); }
.x-day { padding: 18px 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.x-srow { width: 100%; min-height: 76px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--hair2); text-align: left; }
.x-srow:active { background: rgba(11,11,12,0.03); }
.x-stime { flex: 0 0 82px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; display: flex; flex-direction: column; }
.x-stime b { font-size: 18px; }
.x-srow .x-mt b { font-size: 18px; }
.x-one { margin-top: 36px; }
.x-one h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.035em; }
.x-one p { margin: 4px 0 10px; font-size: 16px; color: var(--stone); }
.x-orow { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--hair2); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.x-req-b { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; transition: background 240ms, color 240ms; }
.x-req-b.on { background: var(--bone); color: var(--stone2); }
.x-coach { height: 340px; }
.x-coach .x-pc-t { font-size: 34px; }

/* the coach (dark) */
.x-coachp { background: #0B0B0C; color: #fff; }
.x-chero { position: relative; height: 520px; overflow: hidden; }
.x-chero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; animation: x-kb 1.4s var(--x-ease) both; }
.x-cfade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0.25) 0%, rgba(11,11,12,0) 30%, rgba(11,11,12,0.5) 70%, #0B0B0C 100%); }
.x-chero .x-back { position: absolute; left: 20px; top: calc(var(--top) + 6px); }
.x-cname { position: absolute; left: 24px; right: 24px; bottom: 20px; animation: x-rise 600ms var(--x-ease) 200ms both; }
.x-cname h1 { font-size: 42px; line-height: 44px; letter-spacing: -0.05em; }
.x-cname div { margin-top: 6px; font-size: 17px; color: rgba(255,255,255,0.8); }
.x-pad.dk { padding-top: 6px; }
.x-bio { font-size: 18px; line-height: 26px; color: rgba(255,255,255,0.86); }
.x-coachp .x-sched, .x-coachp .x-srow, .x-coachp .x-orow { border-color: rgba(255,255,255,0.14); }
.x-coachp .x-srow .x-mt b { color: #fff; }
.x-coachp .x-stime { font-weight: 400; color: rgba(255,255,255,0.7); font-size: 15px; }
.x-coachp .x-stime b { color: #fff; }
.x-coachp .x-small, .x-coachp .x-snd-u { color: rgba(255,255,255,0.7); }
.x-coachp .x-req-b { background: #fff; color: var(--ink); }
.x-coachp .x-req-b.on { background: rgba(255,255,255,0.14); color: #fff; }
.x-coachp .x-snd { width: 130px; }
.x-coachp .x-tcard.wide { height: 220px; }

/* a group session (placeholder): full bleed */
.x-live { background: #000; color: #fff; overflow: hidden; }
.x-live-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; animation: x-drift 30s ease-in-out infinite alternate; }
.x-live-w { position: absolute; inset: 0; background: var(--tint); mix-blend-mode: soft-light; opacity: 0.8; }
.x-live-f { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.85) 100%); }
.x-live-bar { position: absolute; left: 20px; right: 20px; top: calc(var(--top) + 6px); display: flex; align-items: center; justify-content: space-between; }
.x-live-pill { height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.x-live-pill i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; animation: x-pulse 2s ease-in-out infinite; }
.x-live-meta { position: absolute; left: 24px; right: 24px; bottom: calc(var(--bot) + 132px); animation: x-rise 640ms var(--x-ease) 160ms both; }
.x-live-meta h1 { font-size: 40px; line-height: 42px; letter-spacing: -0.045em; }
.x-live-meta > div { margin-top: 6px; font-size: 17px; color: rgba(255,255,255,0.82); }
.x-spot { margin-top: 20px; width: auto; padding: 0 26px; display: inline-flex; height: 50px; font-size: 16px; }
.x-live-card { position: absolute; left: 16px; right: 16px; bottom: calc(var(--bot) + 20px); height: 92px; padding: 0 14px 0 16px; border-radius: 26px; display: flex; align-items: center; gap: 14px;
  background: rgba(30,30,32,0.5); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); animation: x-rise 640ms var(--x-ease) 300ms both; }
.x-live-card .x-mt > span { font-size: 15px; color: rgba(255,255,255,0.75); }
.x-live-card .x-mt b { font-size: 19px; }
.x-live-rec { cursor: pointer; }
.x-live-rec .spin { animation: x-turn 6s linear infinite; }

/* Profile and membership */
.x-member { position: relative; margin-top: 22px; height: 214px; border-radius: 24px; overflow: hidden; padding: 24px 26px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: linear-gradient(135deg, #1b1b1e 0%, #0b0b0c 45%, #1e1e22 100%); box-shadow: 0 30px 60px rgba(11,11,12,0.28), inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 200ms ease-out; animation: x-rise 620ms var(--x-ease) 60ms both; }
.x-m-sheen { position: absolute; inset: -40%; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.14) 45%, rgba(190,210,255,0.12) 50%, rgba(255,255,255,0) 62%);
  transform: translateX(calc(var(--mx, 50%) - 50%)); transition: transform 200ms ease-out; pointer-events: none; }
.x-m-grain { position: absolute; inset: 0; opacity: 0.12; mix-blend-mode: overlay; background-image: url(/art/v3/grain.png); background-size: 140px; }
.x-m-star { position: absolute; left: 24px; top: 24px; width: 30px; height: 34px; }
.x-m-l { position: relative; font-size: 16px; color: rgba(255,255,255,0.72); }
.x-m-t { position: relative; margin-top: 4px; font-size: 30px; line-height: 33px; font-weight: 700; letter-spacing: -0.04em; }
.x-inc-r { min-height: 60px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--hair2); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; animation: x-rise 520ms var(--x-ease) both; animation-delay: calc(var(--i) * 60ms + 200ms); }
.x-inc-r:last-child { border-bottom: 0; }
.x-inc-r svg { width: 20px; height: 20px; flex: 0 0 20px; }
.x-prem { margin-top: 22px; padding: 22px 24px; border-radius: 24px; background: var(--bone); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); text-decoration: none; }
.x-prem b { display: block; font-size: 22px; letter-spacing: -0.03em; }
.x-prem > span > span { display: block; margin-top: 4px; font-size: 16px; line-height: 22px; color: var(--stone); }
.x-prem svg { width: 22px; height: 22px; flex: 0 0 22px; }
.x-manage { display: block; margin-top: 20px; font-size: 16px; color: var(--stone); text-decoration: none; }
.x-arow { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--hair2); border-bottom: 1px solid var(--hair2); font-size: 18px; font-weight: 700; }
.x-arow svg { width: 20px; height: 20px; color: var(--stone); }
.x-ver { margin-top: 26px; text-align: center; font-size: 13px; color: var(--stone); }

/* ---------- the tab bar, as the design draws it ---------- */
#tabbar { height: 58px; padding: 6px; background: rgba(238,238,236,0.92); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
#tabbar button { height: 46px; padding: 0 19px; font-size: 16px; color: var(--ink); }
#tabbar button[aria-current="page"] { color: #fff; }
#tabbar .knob { height: 46px; background: var(--ink); }
#tabbar.glass { background: rgba(255,255,255,0.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
#tabbar.glass button { color: #fff; }
#tabbar.glass button[aria-current="page"] { color: var(--ink); }
#tabbar.glass .knob { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .x-bg, .x-live-bg, .x-gear-art img, .x-fan-r .spin, .x-sc-rec .spin, .x-live-rec .spin, .x-soon-rec .spin { animation: none !important; }
}
.page.dark.x-coachp { background: #0B0B0C; }
.page.dark.x-live { background: #000; }

/* polish */
.x-rail { scroll-padding-left: 24px; }
.x-lt::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--bot) + 110px); background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 62%); pointer-events: none; z-index: 2; }
.x-prof::after, .x-proto::after { height: calc(var(--bot) + 60px); }
.x-chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.x-car-play { margin: 18px auto 0; display: flex; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; transition: transform 160ms var(--x-ease); }
.x-car-play svg { width: 16px; height: 16px; }
.x-car-play:active { transform: scale(0.96); }
.x-gear-art img, .x-gimg img { filter: brightness(1.05) contrast(1.06); }
.x-m-t { font-size: 27px; line-height: 30px; }
.x-coachp .x-tcard.wide + .x-tcard.wide { margin-top: 12px; }
.x-seg button { font-size: 15px; letter-spacing: -0.015em; }

/* the player, as "Player, unchanged" draws it: mono measures */
.pl-ctx { font-family: var(--mono) !important; font-weight: 500 !important; font-size: 13px !important; letter-spacing: 0.16em !important; text-transform: uppercase !important; color: rgba(255,255,255,0.78) !important; }
.pl-meta .mono { display: inline-block !important; margin-top: 10px !important; font-family: var(--mono) !important; font-weight: 500 !important; font-size: 13px !important; letter-spacing: 0.16em !important; text-transform: uppercase !important;
  color: rgba(255,255,255,0.86) !important; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(255,255,255,0.4); }
.pl-meta h1 { font-size: 32px !important; letter-spacing: -0.04em; }
.pl-n { font-family: var(--mono) !important; text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px !important; color: rgba(255,255,255,0.86) !important; }
.pl-name { font-size: 24px !important; line-height: 30px !important; }
.pl-play .pl-pp { display: flex; align-items: center; justify-content: center; }
.pl-play .pl-pp svg { position: static; width: 26px; height: 26px; }
.x-gear-art { height: 250px; }
.x-gear-art img { width: 210px; height: 210px; }
.x-gear-art img:nth-child(1) { left: -10px; top: 34px; }
.x-gear-art img:nth-child(2) { right: -10px; left: auto; top: 0; }

/* ---------- round 2: the conversation ---------- */
/* the text box is docked above the bottom bar; what Northstar gives scrolls above it */
.x-low { display: flex; flex-direction: column; overflow: hidden; }
.x-low-in { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 16px 12px !important; }
.x-low-in::-webkit-scrollbar { display: none; }
.x-dock { flex: 0 0 auto; padding: 4px 16px calc(var(--bot) + 20px); }
.x-dock:not(.on) { display: none; }
.x-scene.tabs .x-dock { padding-bottom: calc(var(--bot) + 90px); }
body.kb .x-dock, body.kb .x-scene.tabs .x-dock { padding-bottom: 10px; }
.x-dock .x-field { animation: x-rise 500ms var(--x-ease) both; }

/* Northstar's lines arrive word by word */
.x-l.ns { animation: none; }
.x-w { display: inline-block; animation: x-word 460ms var(--x-ease) both; animation-delay: calc(var(--d, 0ms) + var(--w) * 38ms); }
@keyframes x-word { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.x-l.ns.q { font-size: 30px; line-height: 33px; }

/* quick answers wrap, so every option is visible */
.x-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
.x-chip { height: 46px; }

/* what Northstar gives: shown, not played */
.x-give .x-mrow { pointer-events: none; }
.x-give .x-mrow:active { transform: none; }
.x-give .x-mrow .x-mrec .spin { animation: x-turn 14s linear infinite; animation-delay: calc(var(--i) * -4s); }
.x-one { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px; }
.x-one-r { flex: 0 0 96px; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.35)); animation: x-drop 1s cubic-bezier(0.3, 1.3, 0.4, 1) both; }
.x-one-r .spin { animation: x-turn 10s linear infinite; }
.x-one-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.x-one-t b { font-size: 24px; line-height: 27px; letter-spacing: -0.03em; }
.x-one-t > span:last-child { font-size: 15px; line-height: 20px; color: rgba(255,255,255,0.78); }
.x-one .x-add { flex: 1 0 100%; margin-top: 2px; }
.x-give .x-mrec { animation: x-drop 900ms cubic-bezier(0.3, 1.3, 0.4, 1) both; animation-delay: calc(var(--i) * 140ms + 200ms); }
@keyframes x-drop { from { opacity: 0; transform: translateY(-26px) rotate(-120deg) scale(0.8); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.x-note.big { font-size: 19px; line-height: 26px; }
.x-goto { gap: 10px; }
.x-goto svg { width: 18px; height: 18px; }
.x-link.ink { color: var(--ink); margin-top: 6px; }
.x-soon p + .x-soon-l { font-weight: 400; color: var(--stone2); margin: 10px 0 22px; }

/* ---------- round 3: the thread over the art ---------- */
.x-thread-scene .x-shade { height: 100%; background: linear-gradient(180deg, rgba(3,12,16,0.55) 0%, rgba(3,12,16,0.18) 30%, rgba(3,12,16,0.28) 62%, rgba(3,12,16,0.6) 100%); }
.x-thread-scene .x-top { flex: 1 1 auto; height: auto; min-height: 0; padding: calc(var(--top) + 6px) 0 0; display: flex; flex-direction: column; }
.x-thread-scene .x-bar { padding: 0 20px; flex: 0 0 auto; position: relative; z-index: 2; }
.x-thread { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 20px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 56px, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 56px, #000 100%); }
.x-thread::-webkit-scrollbar { display: none; }
.x-tin { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 64px 4px 22px; }
.x-m { animation: x-rise 420ms var(--x-ease) both; max-width: 100%; text-shadow: 0 1px 18px rgba(0,0,0,0.25); }
.x-m.ns { font-size: 25px; line-height: 29px; font-weight: 700; letter-spacing: -0.03em; max-width: 340px; }
.x-m.ns.sub { font-size: 17px; line-height: 23px; font-weight: 400; letter-spacing: -0.005em; color: rgba(255,255,255,0.9); }
.x-m.ns.dim { font-size: 18px; line-height: 23px; color: rgba(255,255,255,0.72); letter-spacing: -0.02em; }
.x-m.me { align-self: flex-end; text-align: right; max-width: 82%; margin-top: 6px; font-size: 21px; line-height: 25px; font-weight: 700; letter-spacing: -0.025em; color: rgba(255,255,255,0.78); }
.x-m.ns + .x-m.me, .x-m.card + .x-m.me { margin-top: 14px; }
.x-m.me + .x-m.ns { margin-top: 8px; }
.x-m .th { color: transparent; }
.x-m.card { text-shadow: none; animation: x-rise 520ms var(--x-ease) both; }
.x-m.card .x-gcard { margin: 2px 0; }
.x-m.think { width: 26px; height: 30px; }
.x-m.think svg { width: 22px; height: 25px; animation: x-turn 1.6s linear infinite; }
.x-safety .ex { color: #fff; }

/* the bottom third: the line, suggested answers, the text box */
.x-thread-scene .x-low { flex: 0 0 auto; display: block; overflow: visible; background: rgba(6,24,32,0.42); }
.x-thread-scene.night .x-low { background: rgba(6,10,26,0.5); }
.x-sugg { padding: 14px 0 0; }
.x-sugg:not(.on) { display: none; }
.x-sugg .x-chips { flex-wrap: nowrap; overflow-x: auto; padding: 0 16px; margin: 0; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.x-sugg .x-chips::-webkit-scrollbar { display: none; }
.x-thread-scene .x-dock { padding: 12px 16px calc(var(--bot) + 18px); }
.x-thread-scene.tabs .x-dock { padding-bottom: calc(var(--bot) + 88px); }
body.kb .x-thread-scene .x-dock { padding-bottom: 10px; }
.x-thread-scene.x-done .x-low { display: none; }
.x-thread-scene .x-goto { margin-top: 4px; }

/* Explore: the hero is full bleed */
.page.x-explore, .page.x-explore.dark { background: #fff; color: var(--ink); }
.x-hero.full { margin: 0; height: calc(var(--top) + 600px); border-radius: 0; padding: 0; display: block; animation: none; overflow: hidden; }
.x-hero.full > img { top: 0; height: 100%; animation: x-kb 1.6s var(--x-ease) backwards; transform-origin: 50% 100%; }
.x-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.05) 28%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.72) 100%); }
.x-hero-head { position: absolute; left: 24px; right: 20px; top: calc(var(--top) + 6px); }
.x-hero-h1 { position: absolute; left: 24px; top: calc(var(--top) + 60px); margin: 0; color: #fff; }
.x-hero-foot { position: absolute; left: 24px; right: 24px; bottom: 30px; display: flex; flex-direction: column; align-items: flex-start; animation: x-rise 700ms var(--x-ease) 200ms both; }
.x-hero.full .x-hero-t { font-size: 44px; line-height: 44px; letter-spacing: -0.05em; max-width: 340px; }
.x-after-hero { padding-top: 0; }
.x-after-hero > .x-sec:first-child { margin-top: 34px; }
.x-m.card .x-gcard { background: rgba(8,16,20,0.5); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), 0 18px 40px rgba(0,0,0,0.25); }
.x-m.me { color: rgba(255,255,255,0.9); }
.x-hero.full { height: 100vh; height: 100dvh; min-height: 560px; }
.x-hero-foot { bottom: calc(var(--bot) + 108px); }
.x-explore::after { transition: opacity 300ms; }
.x-explore.dark::after { opacity: 0; }

/* ---------- 1.0: built from the pieces above ---------- */
/* the Protocol page: the art as a sleeve, the records out in front of it */
.x-fan.slv { height: 200px; }
.x-fan-slv { position: absolute; left: 0; top: 0; width: 200px; height: 200px; border-radius: 6px; overflow: hidden; background: #1A1410;
  box-shadow: 0 22px 44px rgba(0,0,0,0.22); animation: x-rise 600ms var(--x-ease) 60ms both; }
.x-fan-slv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-fan-slv .st { position: absolute; right: 12px; top: 12px; width: 16px; height: 18px; }
.x-fan.slv .x-fan-r { left: 36px; top: 22px; --step: 64px; }
@media (min-width: 400px) { .x-fan.slv .x-fan-r { left: 44px; --step: 68px; } }
/* About this Protocol */
.x-about { display: flex; flex-direction: column; gap: 16px; }
.x-ab-by { font-size: 21px; line-height: 25px; font-weight: 700; letter-spacing: -0.02em; }
.x-ab-by span { display: block; margin-top: 2px; font-size: 16px; font-weight: 400; color: var(--stone); letter-spacing: 0; }
.x-ab-q { margin: 0; padding-left: 16px; border-left: 2px solid var(--ink); font-size: 20px; line-height: 27px; letter-spacing: -0.015em; }
.x-ab-ep { padding: 18px 20px; border-radius: 22px; background: var(--bone); display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.x-ab-ep > svg:first-child { width: 18px; height: 18px; flex: 0 0 18px; }
.x-ab-ep > span { flex: 1; min-width: 0; }
.x-ab-ep b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.x-ab-ep > span > span { display: block; margin-top: 2px; font-size: 15px; color: var(--stone); }
.x-ab-ep > svg:last-child { width: 20px; height: 20px; flex: 0 0 20px; }
.x-ab-note { font-size: 15px; line-height: 21px; color: var(--stone); }
.x-built { margin-top: 36px; font-size: 17px; line-height: 24px; }
.x-built-l { font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11,11,12,0.3); }
/* coaching units */
.x-units { border-top: 1px solid var(--hair2); }
.x-urow { width: 100%; min-height: 96px; padding: 16px 0; display: flex; align-items: flex-start; gap: 14px; border-bottom: 1px solid var(--hair2); }
.x-urow .x-mt b { font-size: 18px; }
.x-urow .x-req-b { flex: 0 0 auto; }
.x-uco { align-self: flex-start; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(11,11,12,0.3); }
.x-coachp .x-units, .x-coachp .x-urow { border-color: rgba(255,255,255,0.14); }
.x-coachp .x-urow .x-mt b { color: #fff; }
.x-coachp .x-urow .x-mt > span { color: rgba(255,255,255,0.7); }
.x-explore .x-small { margin: -6px 0 10px; }
/* the request */
.x-reqf { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.x-reqf .x-req-l { font-size: 15px; color: var(--stone); }
.x-reqf h2 { margin: -8px 0 4px; font-size: 26px; line-height: 30px; letter-spacing: -0.035em; }
.x-flabel { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.x-ta { height: auto; min-height: 104px; padding: 14px 16px; resize: none; line-height: 23px; }
.x-ferr { min-height: 20px; font-size: 15px; color: #B3261E; text-align: center; }
.x-reqok .x-plus { width: 64px; height: 64px; margin: 10px 0 18px; }
.x-reqok .x-btn { margin-top: 24px; }
/* account */
.x-email { margin-top: 4px; font-size: 17px; color: var(--stone); overflow-wrap: anywhere; }
.x-arows { margin-top: 28px; }
.x-arows .x-arow + .x-arow, .x-arows .x-arow + .x-anote + .x-arow { border-top: 0; }
.x-arows a.x-arow { color: var(--ink); text-decoration: none; }
.x-av-v { display: flex; align-items: center; gap: 6px; font-weight: 400; color: var(--stone); }
.x-arow-sw { border-bottom: 0 !important; }
.x-anote { padding: 0 0 14px; border-bottom: 1px solid var(--hair2); font-size: 15px; line-height: 21px; color: var(--stone); }
.x-danger { color: #B3261E; }
.x-danger svg { color: #B3261E; }
/* the chat: consent, and the recommendation card */
.x-consent { display: flex; flex-direction: column; align-items: stretch; gap: 2px; max-width: 340px; }
.x-small-link { height: 40px; font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.35); }
.x-m.card.x-spent { animation: none; opacity: 0.4; transition: opacity 300ms; }
.x-recc .x-one-t { gap: 6px; }
.x-from { align-self: flex-start; font-size: 15px; line-height: 20px; color: rgba(255,255,255,0.82); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.35); text-align: left; }
.pl-add.on { background: #fff; color: var(--ink); }
/* the drifting photo is wider than the screen: never let focus scroll the frame sideways */
.x-scene { overflow: clip; }
/* tap-only: the answers take the text box's place above the bottom bar */
.x-thread-scene.x-tap .x-low { padding-bottom: calc(var(--bot) + 18px); }
.x-thread-scene.tabs.x-tap .x-low { padding-bottom: calc(var(--bot) + 88px); }
/* paused after the crisis card: the card clears the bottom bar */
.x-thread-scene.tabs.x-done .x-tin { padding-bottom: calc(var(--bot) + 96px); }
.x-mt > .x-ufmt { order: -1; margin-bottom: 2px; font-size: 14px; line-height: 18px; color: var(--stone); }
.x-coachp .x-mt > .x-ufmt { color: rgba(255,255,255,0.7); }

/* ================= 1.0, round 2: light until content is presented ================= */

/* ---------- the chat: light, the whole screen ---------- */
.page.x-today { background: #fff; }
.x-chat { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; color: var(--ink); overflow: clip; }
.x-amb { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--x-ease), background 1.2s var(--x-ease);
  background: radial-gradient(140% 80% at 50% 40%, color-mix(in srgb, var(--amb, #ffffff) 34%, #fff) 0%, color-mix(in srgb, var(--amb, #ffffff) 12%, #fff) 55%, #fff 100%); }
.x-chat.amb .x-amb { opacity: 1; }
.x-cbar { position: relative; z-index: 2; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 44px; margin: calc(var(--top) + 6px) 24px 0; }
.x-cthread { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 100%); }
.x-cthread::-webkit-scrollbar { display: none; }
.x-chat .x-tin { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 40px 0 18px; }
.x-chat .x-m { animation: x-rise 420ms var(--x-ease) both; max-width: 100%; text-shadow: none; }
.x-chat .x-m.ns { font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -0.035em; max-width: 340px; color: var(--ink); }
.x-chat .x-m.ns.sub { font-size: 17px; line-height: 23px; font-weight: 400; letter-spacing: -0.005em; color: var(--stone2); }
.x-chat .x-m.ns.dim { font-size: 17px; line-height: 23px; font-weight: 400; letter-spacing: -0.005em; color: var(--stone); }
.x-chat .x-m.me { align-self: flex-end; text-align: right; max-width: 80%; margin-top: 12px; font-size: 15px; line-height: 20px; font-weight: 400; letter-spacing: 0; color: var(--stone); }
.x-chat .x-m.me + .x-m.ns { margin-top: 2px; }
.x-chat .x-m .th { color: transparent; }
.x-chat .x-m.think { width: 26px; height: 30px; }
.x-chat .x-m.think svg { width: 22px; height: 25px; animation: x-turn 1.6s linear infinite; }
.x-chat .x-m.card { text-shadow: none; }

/* the bottom: suggested answers and the text box, light */
.x-clow { position: relative; z-index: 2; flex: 0 0 auto; padding: 4px 0 calc(var(--bot) + 18px); }
.x-chat.tabs .x-clow { padding-bottom: calc(var(--bot) + 88px); }
body.kb .x-chat .x-clow { padding-bottom: 10px; }
.x-chat .x-sugg { padding: 6px 0 10px; }
.x-chat .x-sugg:not(.on) { display: none; }
.x-chat .x-chips { flex-wrap: nowrap; overflow-x: auto; padding: 0 24px; margin: 0; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.x-chat .x-chips::-webkit-scrollbar { display: none; }
.x-chat .x-chip { height: 42px; padding: 0 17px; background: rgba(11,11,12,0.06); box-shadow: none; color: var(--ink); font-size: 15px; }
.x-chat .x-chip.picked { background: var(--ink); color: #fff; }
.x-chat .x-dock { padding: 0 24px; }
.x-chat .x-dock:not(.on) { display: none; }
.x-chat .x-field { height: 52px; padding: 0 6px 0 20px; background: rgba(11,11,12,0.06); box-shadow: none; }
.x-chat .x-field:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.x-chat .x-field input { color: var(--ink); caret-color: var(--ink); font-size: 16px; }
.x-chat .x-field input::placeholder { color: var(--stone); }
.x-chat .x-go { width: 40px; height: 40px; flex: 0 0 40px; background: var(--ink); color: #fff; }
.x-chat .x-go.dim { opacity: 0.35; }
.x-chat.x-done .x-clow { display: none; }
.x-chat.tabs.x-done .x-tin { padding-bottom: calc(var(--bot) + 96px); }
.x-chat .x-goto { margin-top: 6px; }
.x-consent { display: flex; flex-direction: column; align-items: stretch; gap: 2px; max-width: 340px; }
.x-chat .x-small-link { color: var(--stone); text-decoration-color: rgba(11,11,12,0.25); }
.x-btn.bone { background: rgba(11,11,12,0.07); color: var(--ink); }
a.x-btn { text-decoration: none; }

/* the crisis card, light */
.x-crisis { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: 24px; background: rgba(11,11,12,0.05); }
.x-crisis b { font-size: 24px; line-height: 28px; letter-spacing: -0.03em; }
.x-crisis p { font-size: 16px; line-height: 22px; color: var(--stone2); margin-bottom: 6px; }
.x-crisis .x-crisis-s { margin: 4px 0 0; font-size: 14px; line-height: 19px; color: var(--stone); }

/* the presented moment: your line small, Northstar's large, the record big */
.x-serve { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 0 6px; }
.x-sv-rec { display: block; border-radius: 50%; animation: x-drop 1s cubic-bezier(0.3, 1.3, 0.4, 1) both; }
.x-sv-rec .rec, .x-snd-big .rec { border-radius: 50%; box-shadow: 0 28px 48px rgba(0,0,0,0.2); }
.x-sv-rec .spin { animation: x-turn 14s linear infinite; }
.x-sv-rec:active { transform: scale(0.98); }
.x-sv-t { margin-top: 26px; font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -0.035em; }
.x-sv-s { margin-top: 4px; font-size: 15px; line-height: 20px; color: var(--stone2); }
button.x-sv-s { color: var(--stone2); }
.x-sv-b { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.x-sv-fan { position: relative; display: block; width: 320px; max-width: 100%; height: 194px; animation: x-rise 600ms var(--x-ease) both; }
.x-sv-slv { position: absolute; left: 0; top: 0; width: 194px; height: 194px; border-radius: 6px; overflow: hidden; background: #1A1410; box-shadow: 0 22px 44px rgba(0,0,0,0.22); }
.x-sv-slv img { width: 100%; height: 100%; object-fit: cover; }
.x-sv-fr { position: absolute; top: 31px; left: calc(52px + var(--i) * 62px); z-index: calc(3 - var(--i)); filter: drop-shadow(0 14px 24px rgba(0,0,0,0.22));
  animation: x-drop 900ms cubic-bezier(0.3, 1.3, 0.4, 1) both; animation-delay: calc(var(--i) * 120ms + 150ms); }
.x-sv-fr .spin { animation: x-turn 18s linear infinite; animation-delay: calc(var(--i) * -3s); }

/* pill buttons: Play, Add, Request */
.x-pb { height: 44px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform 160ms var(--x-ease), background 240ms, color 240ms; white-space: nowrap; }
.x-pb svg { width: 16px; height: 16px; }
.x-pb.ink { background: var(--ink); color: #fff; }
.x-pb.bone { background: rgba(11,11,12,0.07); color: var(--ink); }
.x-pb.on { color: var(--stone2); }
.x-pb:active { transform: scale(0.97); }
.x-pb.busy { color: transparent; position: relative; }
.x-pb.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11,11,12,0.2); border-top-color: var(--ink); animation: x-spinb 700ms linear infinite; }

/* ---------- navigation: mono, underlined ---------- */
.x-nav { display: flex; gap: 24px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.x-nav::-webkit-scrollbar { display: none; }
.x-nav button { flex: 0 0 auto; padding: 10px 0 7px; font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone);
  border-bottom: 2px solid transparent; transition: color 220ms, border-color 220ms; }
.x-nav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.x-after-hero > .x-nav { margin-top: 26px; }
.x-after-hero > .x-nav + .x-sec { margin-top: 30px; }
.x-mine .x-seg-in { margin-top: 6px; }

/* ---------- the Protocol page and the Sound page, like an album and a song ---------- */
.x-proto .x-wash { height: 640px; opacity: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--w) 30%, #fff) 0%, color-mix(in srgb, var(--w) 12%, #fff) 50%, #fff 100%); }
.x-proto .x-fan.slv { margin: 16px 0 6px; }
.x-proto .x-pl { margin-top: 22px; }
.x-acts { display: flex; gap: 10px; margin-top: 20px; animation: x-rise 520ms var(--x-ease) 120ms both; }
.x-desc { margin-top: 22px; font-size: 17px; line-height: 25px; color: var(--stone2); animation: x-rise 520ms var(--x-ease) 160ms both; }
.x-proto .x-plist { margin-top: 26px; }
.x-snd-big { display: flex; justify-content: center; margin: 14px 0 8px; animation: x-drop 1s cubic-bezier(0.3, 1.3, 0.4, 1) both; }
.x-snd-big .spin { animation: x-turn 16s linear infinite; }
.x-incl { display: flex; flex-direction: column; gap: 12px; }

/* ---------- the coach, light ---------- */
.page.x-coachp, .x-lt.x-coachp { background: #fff; color: var(--ink); }
.x-lt.x-coachp .x-chero { height: 480px; }
.x-lt.x-coachp .x-cfade { background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.55) 72%, #fff 100%); }
.x-lt.x-coachp .x-cname h1 { color: var(--ink); }
.x-lt.x-coachp .x-cname div { color: var(--stone2); }
.x-lt.x-coachp .x-bio { color: var(--stone2); }
.x-lt.x-coachp .x-units, .x-lt.x-coachp .x-urow { border-color: var(--hair2); }
.x-lt.x-coachp .x-urow .x-mt b { color: var(--ink); }
.x-lt.x-coachp .x-urow .x-mt > span, .x-lt.x-coachp .x-small, .x-lt.x-coachp .x-snd-u, .x-lt.x-coachp .x-mt > .x-ufmt { color: var(--stone); }
.x-lt.x-coachp .x-req-b { background: var(--ink); color: #fff; }
.x-lt.x-coachp .x-req-b.on { background: var(--bone); color: var(--stone2); }

@media (prefers-reduced-motion: reduce) {
  .x-sv-rec .spin, .x-sv-fr .spin, .x-snd-big .spin { animation: none !important; }
  .x-amb { transition: none; }
}
