/* Ballers IQ v5: league, you, streak, sheets, share (WP9). Tokens only (no raw colour values). Spec §4.12-4.18, SCREENS §11-17. */

/* ---------- shared ---------- */
.meta-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; height: 100%; padding-top: calc(var(--sat) + var(--s3)); }
.meta-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: var(--header); padding: 0 var(--s2); text-align: center; }
.meta-top .t-head { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-top-gap { width: 44px; }
.sk .btn-row, .cr .btn-row, .sheet .btn-row { display: flex; gap: var(--s3); width: 100%; }
.sk-two, .sh-two { flex: 1; min-width: 0; padding: 0 var(--s2); font-size: 16px; line-height: 20px; text-transform: none; letter-spacing: 0; }
.sh-inline { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; margin: 0 2px; }

/* ---------- sheets ---------- */
.sheet.no-grab::before { display: none; }
.sheet .sh-head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: calc(var(--s3) * -1) calc(var(--s2) * -1) 0 0; }
.sh-head .t-title { padding-right: var(--s2); }
.sh-center { display: flex; flex-direction: column; gap: var(--s2); text-align: center; padding-top: var(--s2); }
.sh-left { display: flex; flex-direction: column; gap: var(--s2); padding-top: var(--s2); }
.sh-actions { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s3); }
.sheet > .btn-row { margin-top: var(--s3); }

/* goal tiles + position tiles share the pick look (SCREENS §4.3) */
.sh-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s3); }
.sh-tile, .sh-postile {
  position: relative; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--d-tap) var(--e-decel), background-color var(--d-small) var(--e-decel), box-shadow var(--d-small) var(--e-decel);
}
.sh-tile { height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1); }
.sh-tile-n { font: 900 28px/28px var(--f-head); }
.sh-tile:active, .sh-postile:active { transform: scale(.94); }
.sh-tile[aria-pressed="true"], .sh-postile[aria-pressed="true"] { background: var(--pressed); box-shadow: inset 0 0 0 2px var(--pri); }
.sh-badge {
  position: absolute; top: var(--s2); right: var(--s2); width: 20px; height: 20px; padding: 3px; border-radius: 50%;
  background: var(--pri); color: var(--on-pri); stroke-width: 3.5; transform: scale(0); transition: transform var(--d-small) var(--spring);
}
[aria-pressed="true"] > .sh-badge { transform: scale(1); }
.sh-pos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.sh-postile { height: 104px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: var(--s4); text-align: left; }
.sh-posicon { width: 28px; height: 28px; }

.sh-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s3); }
.sh-chip {
  min-height: var(--hit); border-radius: var(--r-pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font: 700 16px/20px var(--f-body); text-align: center; white-space: nowrap; transition: background-color var(--d-small), transform 120ms var(--e-decel);
}
.sh-chip[aria-pressed="true"] { background: var(--pri); color: var(--on-pri); box-shadow: none; animation: sh-chip-pop 120ms var(--e-decel); }
@keyframes sh-chip-pop { from { transform: scale(.94); } }

.sh-appicon { width: 64px; height: 64px; border-radius: 14px; margin: 0 auto; }
.sh-steps { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s3); }
.sh-steps li { display: flex; align-items: center; gap: var(--s3); min-height: 44px; }
.sh-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card); }
.sh-trophy { display: grid; place-items: center; color: var(--gold); }
.sh-trophy .i { width: 40px; height: 40px; }
.sh-swap { display: flex; flex-direction: column; gap: var(--s3); animation: fade-in 150ms linear; }

.sh-code {
  width: 100%; min-height: 120px; padding: var(--s3); resize: none; border: 0; border-radius: var(--r-sm);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 500 13px/16px var(--f-body); word-break: break-all;
}
.sh-code:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sh-err .i { width: 12px; height: 12px; vertical-align: -1px; margin: 0 4px 0 0; stroke-width: 3; }

/* IQ sheet */
.iq-top { display: flex; flex-direction: column; align-items: center; gap: var(--s2); margin-top: calc(var(--s5) * -1); }
.iq-top .t-hero { outline-offset: 6px; }
.iq-chip { transition: transform 150ms var(--e-accel); }
.iq-chip.is-flip { animation: iq-flip 300ms var(--e-emph); }
@keyframes iq-flip { 50% { transform: rotateX(90deg); } }
.iq-ladder { display: flex; flex-direction: column; padding: var(--s2); margin-top: var(--s3); }
.iq-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 var(--s4); border-radius: var(--r-sm); color: var(--ink3); }
.iq-row .t-head { display: flex; align-items: center; gap: var(--s2); }
.iq-row.is-passed { color: var(--ink2); }
.iq-row.is-cur { color: var(--ink); background: var(--raised); }
.iq-row.is-cur::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--pri); }
.iq-row.is-arrive { animation: iq-arrive var(--d-reveal) var(--e-emph); }
@keyframes iq-arrive { from { transform: translateY(48px); background: transparent; } }
.iq-tick { width: 16px; height: 16px; color: var(--gold); stroke-width: 3; }

/* settings */
.set-sheet { gap: var(--s2); }
.set-over { margin: var(--s4) 0 0; }
.set-list { padding: 0; overflow: hidden; }
.set-row {
  display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 56px; padding: var(--s2) var(--s4); text-align: left;
  transition: background-color var(--d-tap);
}
.set-row + .set-row { box-shadow: inset 0 1px 0 var(--line); }
button.set-row:active { background: var(--raised); }
.set-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.set-track { position: relative; flex: none; width: 51px; height: 31px; border-radius: var(--r-pill); background: var(--pressed); transition: background-color var(--d-small) var(--e-decel); }
.set-track span { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: var(--on-pri); box-shadow: var(--shadow); transition: transform var(--d-small) var(--spring); }
[aria-checked="true"] > .set-track { background: var(--pri); }
[aria-checked="true"] > .set-track span { transform: translateX(20px); }
.set-seg-row { justify-content: space-between; }
.set-seg { display: flex; padding: 2px; border-radius: var(--r-sm); background: var(--raised); }
.set-seg button { position: relative; width: 72px; height: 32px; border-radius: 10px; color: var(--ink2); font: 700 13px/16px var(--f-body); text-align: center; }
.set-seg button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: var(--hit); transform: translateY(-50%); }
.set-seg button[aria-checked="true"] { background: var(--pressed); color: var(--ink); }
.set-bad { color: var(--bad); }
.set-bad .i { width: 20px; height: 20px; }
.set-ver { text-align: center; margin-top: var(--s3); }
.set-row > .t-body { flex: none; }
.set-row > .i { width: 20px; height: 20px; }

/* full page over the app (How Ballers IQ works) */
.meta-page-bg { position: fixed; inset: 0; z-index: var(--z-sheet); background: var(--bg); animation: fade-in var(--d-small) linear backwards; }
.meta-page {
  position: fixed; inset: 0; z-index: var(--z-sheet); width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-top: var(--sat); padding-bottom: var(--sab); background: var(--bg); display: flex; flex-direction: column;
}
.meta-page.is-closing, .meta-page-bg.is-closing { animation: fade-out var(--d-small) var(--e-accel) forwards; pointer-events: none; }
.how-body { padding: var(--s2) var(--margin) var(--s6); }
.how-block { display: flex; flex-direction: column; gap: var(--s2); }
.how-block + .how-block { margin-top: var(--s5); }
.how-over { margin: var(--s6) 0 var(--s2); }
.how-list { padding: 0; }
.how-src { display: flex; align-items: center; gap: var(--s3); min-height: 44px; padding: var(--s2) var(--s4); }
.how-src + .how-src { box-shadow: inset 0 1px 0 var(--line); }
.how-src .t-cap { flex: 1; }
.how-src .i { width: 16px; height: 16px; }
.how-foot { margin-top: var(--s5); }

/* ---------- streak screen (SCREENS §14) ---------- */
.sk {
  position: fixed; inset: 0; z-index: calc(var(--z-sheet) + 1); display: flex; flex-direction: column;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--sat) 0 var(--sab); background: var(--bg);
  animation: fade-in var(--d-small) linear backwards;
}
.sk.is-leaving { animation: fade-out var(--d-small) var(--e-accel) forwards; pointer-events: none; }
.sk-top { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--s5) var(--margin) 8vh; text-align: center; }
.sk-flame { position: relative; width: 96px; height: 96px; color: var(--gold); margin-bottom: var(--s2); }
.sk-flame::before { content: ''; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(closest-side, var(--gold-soft), transparent); }
.sk-flame .i { position: relative; width: 100%; height: 100%; }
.fl-out { fill: var(--gold); }
.fl-in { fill: color-mix(in srgb, var(--gold) 45%, var(--ink)); }
.sk.is-anim .sk-flame { animation: sk-flame 300ms var(--spring) 100ms backwards; }
.sk.is-milestone .sk-flame { width: 120px; height: 120px; }
.sk.is-anim.is-milestone .sk-flame { animation: sk-flame-big 400ms var(--spring) 100ms backwards; }
@keyframes sk-flame { from { transform: scale(.6); } }
@keyframes sk-flame-big { from { transform: scale(.5); } }
.sk-num { position: relative; height: 64px; min-width: 2ch; overflow: hidden; margin-bottom: var(--s1); }
.sk-num > span { display: block; }
.sk-new { position: absolute; left: 0; right: 0; top: 0; transform: translateY(100%); }
.sk-num.is-roll .sk-old { transform: translateY(-100%); transition: transform 400ms var(--spring); }
.sk-num.is-roll .sk-new { transform: none; transition: transform 400ms var(--spring); }
.sk-week { display: grid; grid-template-columns: repeat(7, 40px); gap: 6px; margin-top: var(--s5); padding: var(--s2) var(--s2) var(--s3); border-radius: var(--r); box-shadow: inset 0 0 0 2px transparent; }
.sk-week.is-perfect { box-shadow: inset 0 0 0 2px var(--gold); }
.sk-week li { display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.sk-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.sk-dot .i { width: 16px; height: 16px; stroke-width: 3; }
.sk-dot.is-done { background: var(--gold); color: var(--bg); }
.sk-dot.is-rest { background: var(--us); color: var(--ink); }
.sk-dot.is-today { box-shadow: inset 0 0 0 2px var(--pri); }
.sk-dot.is-future { box-shadow: inset 0 0 0 1px var(--line-2); }
.sk-dot.is-missed { background: var(--raised); }
.sk-dot.is-pop .i { animation: sk-pop var(--d-small) var(--spring) backwards; }
.sk-dot.is-pop { animation: sk-fill var(--d-small) var(--e-decel) backwards; }
@keyframes sk-pop { from { transform: scale(0); } }
@keyframes sk-fill { from { background: transparent; box-shadow: inset 0 0 0 2px var(--pri); } }
.sk-extras { display: flex; justify-content: center; gap: var(--s5); margin-top: var(--s4); }
.sk-extras .t-cap { display: inline-flex; align-items: center; gap: 6px; }
.sk-extras .i { width: 16px; height: 16px; }
.sk-goal { display: flex; flex-direction: column; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.sk-goal .bar { width: 200px; }
.sk-line { max-width: 300px; margin-top: var(--s4); }
.sk-line + .t-cap { margin-top: var(--s1); }
.sk-bottom { flex: none; padding: 0 var(--margin) var(--s4); display: flex; justify-content: center; }
.sk-bottom > .btn { max-width: 430px; }
.sk-bottom > .btn-ghost { width: auto; min-width: 160px; }
.sk.is-milestone .sk-bottom { opacity: 0; transition: opacity var(--d-screen) var(--e-decel); }
.sk.is-milestone .sk-bottom.is-in { opacity: 1; }

/* ---------- league (SCREENS §15) ---------- */
.lg-head { display: flex; align-items: center; gap: var(--s3); padding: 0 var(--margin); }
.lg-crest { position: relative; flex: none; width: 48px; height: 48px; display: grid; place-items: center; color: var(--gold); }
.lg-crest::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, var(--gold-soft), transparent); }
.lg-crest .i { position: relative; width: 44px; height: 44px; fill: var(--gold-soft); stroke-width: 1.6; }
.lg-crest b { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-46%); text-align: center; font: 900 15px/1 var(--f-head); color: var(--gold); }
.lg-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s1); }
.lg-ladder { flex: none; display: flex; gap: 4px; align-items: flex-end; }
.lg-ladder li { width: 6px; height: 10px; border-radius: 3px; background: var(--raised); }
.lg-ladder li:nth-child(2) { height: 13px; } .lg-ladder li:nth-child(3) { height: 16px; } .lg-ladder li:nth-child(4) { height: 19px; } .lg-ladder li:nth-child(5) { height: 22px; }
.lg-ladder li.is-past { background: var(--ink3); }
.lg-ladder li.is-cur { background: var(--gold); box-shadow: 0 0 12px var(--gold-soft); }
.lg-rule { padding: var(--s2) var(--margin) 0; text-wrap: pretty; }
.lg-scroll { margin-top: var(--s4); padding: 0 var(--margin) calc(var(--s5) + var(--tab)); scroll-padding: var(--s4); }
.lg-result { display: flex; align-items: flex-start; gap: var(--s3); margin-bottom: var(--s4); padding-right: var(--s7); animation: fade-in var(--d-screen) var(--e-decel) backwards; }
.lg-result.is-leaving { animation: fade-out var(--d-small) var(--e-accel) forwards; }
.lg-result-i { flex: none; color: var(--ink2); margin-top: 0; }
.lg-result.is-up .lg-result-i { color: var(--gold); }
.lg-result-x { position: absolute; top: 4px; right: 4px; }
.lg-table { display: flex; flex-direction: column; }
.lg-row {
  position: relative; display: flex; align-items: center; gap: var(--s3); min-height: 56px; padding: var(--s2) var(--s3) var(--s2) 0;
  border-radius: var(--r-sm);
}
.lg-row + .lg-row::after { content: ''; position: absolute; top: 0; left: 44px; right: 0; height: 1px; background: var(--line); }
.lg-row.is-moving { transition: transform var(--d-reveal) var(--e-emph); }
.lg-row.is-you { background: var(--raised); box-shadow: inset 0 1px 0 var(--hi), var(--shadow); z-index: 1; }
.lg-row.is-you::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--pri); }
.lg-row.is-you + .lg-row::after, .lg-row.is-you::after, .lg-line + .lg-row::after { display: none; }
.lg-rank { flex: none; width: 32px; text-align: right; color: var(--ink2); }
.lg-row.is-top .lg-rank { color: var(--gold); }
.lg-av {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px dashed var(--ink3); color: var(--ink2); font: 700 13px/16px var(--f-body); font-variant-numeric: tabular-nums;
}
.lg-row.is-top .lg-av { border-color: var(--gold); color: var(--gold); border-style: dashed; }
.lg-av.is-you { border: 0; background: var(--pri); color: var(--on-pri); font: 900 10px/12px var(--f-head); letter-spacing: .02em; box-shadow: 0 0 0 3px var(--pri-soft); }
.lg-name { flex: 1; min-width: 0; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-row.is-you .lg-name { color: var(--ink); font-weight: 700; }
.lg-xp { flex: none; text-align: right; }
.lg-xp small { font: 700 13px/16px var(--f-body); color: var(--ink2); }
.lg-line { position: relative; display: flex; align-items: center; height: 24px; }
.lg-line::after { content: ''; flex: 1; height: 1px; margin-left: var(--s2); }
.lg-line.is-up { color: var(--gold); }
.lg-line.is-up::after { background: linear-gradient(90deg, var(--gold), transparent); }
.lg-line.is-down { color: var(--ink3); }
.lg-line.is-down::after { background: var(--ink3); opacity: .6; }
.lg-line .t-over { flex: none; display: inline-flex; align-items: center; gap: 4px; }

.lg-locked { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s4); padding: 0 var(--margin) calc(var(--s5) + var(--tab)); text-align: center; }
.lg-lock-crest { color: var(--ink3); }
.lg-lock-crest .i { width: 48px; height: 48px; }
.lg-lock-bar { display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.lg-lock-bar .bar { width: 200px; }
.lg-locked .btn { max-width: 350px; margin-top: var(--s2); }

/* ---------- you + player card (SCREENS §16) ---------- */
.yu-scroll { padding: 0 var(--margin) calc(var(--s5) + var(--tab)); }
.yu-title { margin-bottom: var(--s4); }
.yu-card { display: flex; justify-content: center; }
.yu-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s4); }
.yu-stats .card { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3); min-height: 72px; }
.yu-stats b { font: 900 22px/26px var(--f-head); }
.yu-share { margin-top: var(--s4); min-height: 48px; }
.yu-share .i { width: 20px; height: 20px; }
.yu-list { padding: 0; margin-top: var(--s5); overflow: hidden; }
.yu-row { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 56px; padding: 0 var(--s4); transition: background-color var(--d-tap); }
.yu-row + .yu-row { box-shadow: inset 0 1px 0 var(--line); }
.yu-row:active { background: var(--raised); }
.yu-row .t-head { flex: 1; }
.yu-row .i { width: 20px; height: 20px; }
.yu-foot { text-align: center; margin-top: var(--s5); }

.pc {
  --foil: var(--step-scan);
  position: relative; isolation: isolate; overflow: hidden; flex: none;
  width: 280px; height: 380px; padding: var(--margin); border-radius: var(--r); border: 2px solid transparent;
  display: flex; flex-direction: column; text-align: left;
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--foil) 26%, transparent), transparent 62%) padding-box,
    linear-gradient(165deg, var(--raised), var(--card) 58%) padding-box,
    conic-gradient(from 210deg, var(--foil), color-mix(in srgb, var(--foil) 30%, var(--ink)), var(--foil), color-mix(in srgb, var(--foil) 35%, transparent), var(--foil)) border-box;
  box-shadow: inset 0 1px 0 var(--hi), 0 28px 60px -28px color-mix(in srgb, var(--foil) 70%, transparent);
}
.pc-sheen {
  position: absolute; inset: -40% -60%; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--ink) 7%, transparent) 50%, transparent 58%);
  transform: translateX(-30%);
}
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pc-iq { display: block; padding: 0; margin: 0 0 var(--s1); color: var(--ink); text-align: left; border-radius: var(--r-sm); }
button.pc-iq:active { opacity: .8; }
.pc-sub { color: var(--ink2); }
.pc-mark { height: 28px; width: auto; opacity: .6; }
.pc-rule { border: 0; height: 1px; background: var(--line); margin: var(--s4) 0; }
.pc-best { color: var(--foil); margin-top: var(--s1); }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s5); }
.pc-grid li { display: flex; flex-direction: column; gap: 6px; min-height: 64px; }
.pc-n { font: 900 28px/28px var(--f-head); }
.pc-bar { position: relative; height: 3px; border-radius: 2px; background: var(--raised); overflow: hidden; }
.pc-bar::after { content: ''; position: absolute; inset: 0; background: var(--c); transform-origin: 0 0; transform: scaleX(var(--p, 0)); transition: transform var(--d-reveal) var(--e-decel); }
.pc-pitch { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: auto; fill: none; stroke: var(--hi); stroke-width: 1.5; }
.pc-locked {
  background: none; border: 2px dashed var(--line-2); box-shadow: none; align-items: center; justify-content: center; text-align: center; gap: var(--s1);
}
.pc-lock { width: 32px; height: 32px; color: var(--ink-lock); margin-bottom: var(--s2); }
.pc-lockbar { display: flex; flex-direction: column; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.pc-lockbar .bar { width: 160px; }

/* card reveal (SCREENS §16.4) */
.cr {
  position: fixed; inset: 0; z-index: calc(var(--z-sheet) + 1); display: flex; flex-direction: column;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--sat) var(--margin) calc(var(--sab) + var(--s4)); background: var(--bg);
  animation: fade-in var(--d-small) linear backwards;
}
.cr.is-leaving { animation: fade-out var(--d-small) var(--e-accel) forwards; pointer-events: none; }
.cr-top { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1); text-align: center; padding: var(--s4) 0; }
.cr-top .t-title { margin-top: var(--s2); }
.cr-card { margin-top: var(--s5); perspective: 800px; }
.cr.is-anim .pc { animation: cr-turn 600ms var(--e-emph) 300ms backwards; }
.cr.is-anim .pc-sheen { animation: cr-sheen 900ms var(--e-decel) 700ms backwards; }
@keyframes cr-turn { from { transform: rotateY(90deg) scale(.9); opacity: 0; } 20% { opacity: 1; } }
@keyframes cr-sheen { from { transform: translateX(-80%); } to { transform: translateX(-30%); } }
.cr.is-anim .cr-btns { animation: fade-in var(--d-screen) var(--e-decel) 1300ms backwards; }

/* ---------- small screens (360 × 640) and reduced motion ---------- */
@media (max-width: 370px) {
  .sh-tile { height: 80px; }
  .sh-chip { font-size: 15px; }
  .yu-stats { gap: var(--s2); }
}
@media (max-height: 680px) {
  .sk-top { padding-bottom: var(--s4); }
  .cr-card { margin-top: var(--s3); }
}
@media (prefers-reduced-motion: reduce) {
  .sk-flame, .sk.is-anim .sk-flame, .cr.is-anim .pc, .cr.is-anim .pc-sheen, .iq-row.is-arrive, .iq-chip.is-flip { animation: none; }
  .lg-row.is-moving { transition: none; }
}
:root[data-motion="reduce"] .sk-flame, :root[data-motion="reduce"] .cr.is-anim .pc, :root[data-motion="reduce"] .cr.is-anim .pc-sheen,
:root[data-motion="reduce"] .iq-row.is-arrive, :root[data-motion="reduce"] .iq-chip.is-flip { animation: none; }
:root[data-motion="reduce"] .lg-row.is-moving { transition: none; }

/* programmatic focus targets (sheet titles, overlays) move the screen reader, not a ring */
[data-title]:focus, .sk:focus, .cr:focus { outline: none; }
