/* The Skill test screens (28 Nov 2026): the three questions and the Snooker Card. Tokens only, so light and dark both work. */
.stPage { width: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
.stSkel { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; }
.stSkel .skel { display: block; height: 18px; }
.stEyebrow { color: var(--brand-text); }
.stH { font: 700 34px/1.02 var(--font-num); text-transform: none; text-wrap: balance; letter-spacing: 0.01em; }
.card h1.stH { font-size: 34px; text-transform: none; }
.stH2, .card h2.stH2 { font: 700 26px/1.05 var(--font-num); text-transform: none; letter-spacing: 0.01em; }
.stSub { font-size: 16.5px; line-height: 1.4; color: var(--text-2); }
.stMsg { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.stMsg .btn.block { align-self: stretch; text-decoration: none; }

/* the questions */
.stProg { display: flex; gap: 6px; }
.stProg i { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); }
.stProg i.on { background: var(--brand); }
.stCardQ { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.stChips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.stChip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: var(--r-pill); border: 0; background: var(--surface-2); color: var(--text); font: 600 16.5px var(--font-ui); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; text-align: left; }
.stChip:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.stChip.on { background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 2px var(--brand); }
.stChip:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.stFace { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); }
.stNav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stSkips { display: flex; gap: 6px; }
.stGo { text-decoration: none; min-height: 56px; font-size: 18px; margin-top: 6px; }
.stFine { text-align: center; }

/* the card */
.stLevel { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--baize-deep); color: var(--on-baize); box-shadow: var(--shadow); }
.stLevel .stEyebrow { color: var(--gold-fill); }
.stLvLab { font-size: 15px; color: color-mix(in srgb, var(--on-baize) 75%, transparent); margin-top: 6px; }
.stLvRow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stLv { font: 700 76px/0.95 var(--font-num); text-transform: none; letter-spacing: 0; color: var(--on-baize); }
.card h1.stLv { font-size: 76px; }
.stEarly { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--gold-fill); color: var(--gold-ink); font: 700 14px var(--font-ui); letter-spacing: 0.04em; }
.stNote { font-size: 14px; color: color-mix(in srgb, var(--on-baize) 75%, transparent); margin-top: 6px; }
.stLegend { display: flex; flex-direction: column; gap: 12px; }
.stLgTop { display: flex; align-items: center; gap: 16px; }
.stLgPhoto { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); box-shadow: 0 0 0 3px var(--gold-fill); }
.stLgPhoto.none { display: grid; place-items: center; font: 700 40px var(--font-num); color: var(--text-2); }
.stLgTxt { min-width: 0; }
.stLgLab { font: 600 14px var(--font-num); letter-spacing: 0; text-transform: none; color: var(--gold-text); }
.stLgName, .card h2.stLgName { font: 700 38px/1 var(--font-num); text-transform: none; overflow-wrap: anywhere; }
.stLgNick { font-size: 14.5px; color: var(--text-2); }
.stTrLab { font-size: 14px; color: var(--text-3); margin-bottom: 4px; }
.stTrList { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.stTr { display: flex; flex-direction: column; gap: 4px; }
.stTrName { font-weight: 700; font-size: 16px; }
.stTrBars { display: flex; flex-direction: column; gap: 4px; }
.stTrRow { display: grid; grid-template-columns: 76px 1fr 30px; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.stTrRow small { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stTrRow i { display: block; height: 8px; border-radius: 4px; background: var(--brand); }
.stTrRow i.them { background: var(--gold-fill); }
.stTrRow b { text-align: right; color: var(--text); }
.stLgFine, .stCredit { color: var(--text-3); }

/* the four bars */
.stBars { display: flex; flex-direction: column; gap: 8px; }
.stBarList { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.stBarRow { display: flex; flex-direction: column; gap: 5px; }
.stBarTop { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.stBarTop > b { font-size: 17px; }
.stBarVal { display: inline-flex; align-items: baseline; gap: 8px; }
.stBarVal > b { font: 700 28px/1 var(--font-num); }
.stBar { position: relative; display: block; height: 12px; border-radius: 7px; background: var(--surface-3); }
.stBar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; background: var(--brand); }
.stBarRow.early .stBar i { background: repeating-linear-gradient(135deg, var(--gold-fill) 0 6px, transparent 6px 11px); box-shadow: inset 0 0 0 2px var(--gold-fill); }
.stTick { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--text-2); opacity: 0.5; border-radius: 1px; }
.stBarN { font-size: 14px; color: var(--text-3); }
.stEarlyTag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--gold-fill) 22%, transparent); color: var(--gold-text); font: 700 14px var(--font-ui); letter-spacing: 0.03em; }
.stScale { position: relative; height: 16px; margin-top: -4px; }
.stScale span { position: absolute; transform: translateX(-50%); font-size: 14px; color: var(--text-3); white-space: nowrap; }

/* the leaks */
.stLeaks { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid color-mix(in srgb, var(--gold-fill) 55%, var(--line)); background: color-mix(in srgb, var(--gold-fill) 6%, var(--surface)); }
.stLeakList { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.stLeak { display: flex; gap: 12px; align-items: flex-start; }
.stLeakN { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-fill); color: var(--gold-ink); font: 700 15px var(--font-ui); margin-top: 1px; }
.stLeakBody { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.stLeakP { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.stSaid { margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 16px; color: var(--text-2); }

/* actions and the share sheet */
.stActs { display: flex; flex-direction: column; gap: 10px; }
.stPlan { text-decoration: none; min-height: 56px; font-size: 18px; }
.stActRow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stActRow .btn { padding: 0 10px; text-align: center; }
.stSheet { position: fixed; inset: 0; z-index: 90; background: var(--scrim); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.stSheetBox { width: min(100%, 420px); max-height: 100%; background: var(--surface); border-radius: var(--r-l); padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); overflow-y: auto; }
.stShareImg { width: 100%; height: auto; aspect-ratio: 1080 / 1350; border-radius: var(--r-m); display: block; background: var(--surface-3); }
.stShareActs { display: flex; flex-direction: column; gap: 8px; }
.stShareActs .btn { text-decoration: none; }
.stClose { align-self: center; }
@media (max-width: 420px) { .stLv, .card h1.stLv { font-size: 64px; } .stH, .card h1.stH { font-size: 30px; } }
@media (min-width: 900px) { .stSheetBox { width: min(100%, 460px); } }

/* v3: the level with Game touch beside it, five judgement areas, the seeing-versus-striking line */
.stLvWrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.stLvMain { min-width: 0; }
.stTouch { display: flex; flex-direction: column; gap: 1px; min-width: 128px; max-width: 168px; padding: 10px 12px; border-radius: var(--r-m); border: 1.5px dashed color-mix(in srgb, var(--on-baize) 45%, transparent); }
.stTouch.early { border-style: dotted; }
.stTouchLab { font: 600 14px var(--font-num); letter-spacing: 0; text-transform: none; color: var(--gold-fill); }
.stTouchName { font-size: 14.5px; color: var(--on-baize); }
.stTouchVal { font: 700 40px/1 var(--font-num); color: var(--on-baize); }
.stTouch small { font-size: 14px; line-height: 1.3; color: color-mix(in srgb, var(--on-baize) 70%, transparent); }
.stBarName { display: flex; flex-direction: column; min-width: 0; }
.stBarName small { font-size: 14px; color: var(--text-3); font-weight: 400; }
.stCmp { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; border-left: 4px solid var(--brand); }
.stCmpP { font-size: 17px; line-height: 1.4; }
.stCta { display: flex; flex-direction: column; gap: 10px; background: var(--brand-soft); }
.stCta .stGo { margin-top: 4px; }
/* r24b: the headline insights, above the bars: big, plain sentences, one per line (KTK-style) */
.stInsights { display: flex; flex-direction: column; gap: 10px; border-left: 4px solid var(--gold, #0E6B43); }
.stInsList { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.stIns { font-size: 19px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.stIns.none { font-weight: 400; color: var(--text-2); }

/* the home hero and the guest's save ask */
.stHeroSlot { display: block; }
.stHero { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; background: var(--baize-deep); color: var(--on-baize); }
.stHero .stHeroEye { color: var(--gold-fill); }
.stHeroH, .card h2.stHeroH { font: 700 36px/1 var(--font-num); text-transform: none; letter-spacing: 0.01em; color: var(--on-baize); text-wrap: balance; }
.stHeroP { font-size: 19px; font-weight: 600; color: var(--on-baize); }
.stHeroSub { font-size: 15.5px; line-height: 1.4; color: color-mix(in srgb, var(--on-baize) 78%, transparent); }
.stHeroGo { margin-top: 6px; min-height: 56px; font-size: 18px; text-decoration: none; background: var(--gold-fill); color: var(--gold-ink); }
.stHeroGo:hover { background: #0E6B43; }
.stHeroDone { text-decoration: none; }
.stSave { display: flex; flex-direction: column; gap: 10px; }
.stSaveBox { display: flex; flex-direction: column; gap: 12px; }
.stSaveBtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stSaveBtn { width: 100%; min-height: 52px; padding: 0 10px; }
@media (max-width: 420px) { .stHeroH, .card h2.stHeroH { font-size: 32px; } }

/* r33: "Your training plan is ready", right under "What stands out": the six steps (locked and blurred for a guest) and one primary button */
.stPlanBlock { display: flex; flex-direction: column; gap: 12px; border: 1.5px solid color-mix(in srgb, var(--brand) 40%, var(--line)); background: color-mix(in srgb, var(--brand-soft) 60%, var(--surface)); }
.stPlanWrap { position: relative; }
.stPlanSteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; counter-reset: none; }
.stPlanStep { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15.5px; font-weight: 600; line-height: 1.2; min-width: 0; }
.stPlanN { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand, #fff); font: 700 14px var(--font-ui); }
.stPlanName { min-width: 0; overflow-wrap: anywhere; }
.stPlanSteps.locked .stPlanName { filter: blur(5px); user-select: none; -webkit-user-select: none; }
.stPlanSteps.locked .stPlanN { background: var(--text-3); }
.stPlanLock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 1px 2px rgba(20,32,26,0.12), inset 0 0 0 1.5px var(--line); font: 700 14.5px var(--font-ui); color: var(--text); white-space: nowrap; pointer-events: none; }
.stPlanLock::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h1.5a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V8a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h1.5a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V8a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.stPlanGet { text-decoration: none; min-height: 56px; font-size: 18px; }
.stPlanFine { text-align: center; margin: 0; }
.stSr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 420px) { .stPlanStep { font-size: 14.5px; padding: 8px 10px; } }

/* Watertight journey Phase 1: the Home hero once a card exists ("Your Snooker Card") */
.stHeroHave { gap: 6px; }
.stHeroLv, .card h2.stHeroLv { font-size: 48px; }
.stHeroLike { margin-top: 2px; }
.stHeroPlan { text-decoration: none; min-height: 52px; }

/* v4 (29 Nov 2026): "Your aim" and "Your cue ball", the play-first card's headline */
.stHead4 { display: flex; flex-direction: column; gap: 16px; border-left: 4px solid var(--brand); }
.stH4Part { display: flex; flex-direction: column; gap: 6px; }
.stH4Main { font-size: 18px; line-height: 1.4; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.stH4Rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.stH4Row { font-size: 16px; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }

/* 3 Dec 2026 (training steps visible): the plan block's steps in full for everyone, never blurred: number, title, what it trains, and a
   lock on the locked ones ("Unlocks with your free trial" under it on the web) */
.stPlanSteps { grid-template-columns: 1fr; }
@media (min-width: 720px) { .stPlanSteps { grid-template-columns: 1fr 1fr; } }
.stPlanSteps.locked .stPlanName, .stPlanSteps .stPlanName { filter: none; user-select: auto; -webkit-user-select: auto; }
.stPlanSteps.locked .stPlanN { background: var(--brand); }
.stPlanStep { align-items: flex-start; min-height: 56px; padding: 10px 12px; }
.stPlanStep.lock .stPlanN { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.stPlanTxt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.stPlanLine { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--text-2); }
.stPlanUnlock { font-size: 14px; font-weight: 600; color: var(--brand-text); }
.stPlanLockIco { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--text-2); }
.stPlanLockIco svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
