/* ==========================================================================
   Sportzey: waitlist  (/early-testers/)

   The page is the product. One bold object: the manager character (ported
   from the app's ManagerMark) running a real flow in a sample thread.
   Everything else stays quiet. Namespaced .sz-wl-*, .sz-mgr, .sz-card and
   reads only from the --sz- tokens, so it cannot repaint other pages.
   ========================================================================== */

.sz-wl {
    background: var(--sz-surface-page);
    color: var(--sz-text-primary);
}

/* --------------------------------------------------------------------- hero */

.sz-wl-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 88px) var(--sz-gutter) clamp(56px, 8vw, 104px);
    background: var(--sz-paper-200);
    border-bottom: var(--sz-border-w-bold) solid var(--sz-ink-900);
}

.sz-wl-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--sz-maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.sz-wl-hero__kicker {
    font-family: var(--sz-font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--sz-accent-600);
    margin: 0 0 clamp(14px, 2vw, 22px);
}

.sz-wl-hero__title {
    font-family: var(--sz-font-display);
    font-size: clamp(52px, 8vw, 108px);
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0;
    color: var(--sz-ink-900);
}

.sz-wl-hero__line { display: block; }

.sz-wl-hero__line--out {
    color: transparent;
    -webkit-text-stroke: 3px var(--sz-accent-600);
}

.sz-wl-hero__lede {
    font-family: var(--sz-font-editorial);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.68;
    max-width: 44ch;
    color: var(--sz-text-secondary);
    margin: clamp(20px, 2.6vw, 30px) 0 0;
}

.sz-wl-hero__act {
    margin-top: clamp(24px, 3.2vw, 38px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.sz-wl-hero__sub { flex-basis: 100%; }

.sz-wl-hero__sub {
    font-family: var(--sz-font-ui);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--sz-text-muted);
}


/* the honest counter: raw live number, never rounded up */
.sz-wl-tally {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--sz-ink-900);
    max-width: 390px;
}
.sz-wl-tally__n {
    font-family: var(--sz-font-display);
    font-weight: 400;
    font-size: clamp(48px, 5vw, 68px);
    line-height: 0.82;
    color: var(--sz-accent-600);
    font-variant-numeric: tabular-nums;
    min-width: 1.2ch;
}
.sz-wl-tally__t {
    font-family: var(--sz-font-ui);
    font-size: 15px;
    line-height: 1.35;
    color: var(--sz-ink-900);
}
.sz-wl-tally__t em {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--sz-text-muted);
}
.sz-wl-tally--first .sz-wl-tally__t { font-family: var(--sz-font-display); font-size: 24px; }

/* ------------------------------------------------------------ the manager */
/* geometry is the app's: everything scales off --k (size / 200). */

.sz-mgr {
    --paper: var(--sz-paper-100);
    --accent: var(--sz-accent-500);
    position: relative;
    width: calc(var(--k) * 200px);
    height: calc(var(--k) * 212px);
    flex: none;
    cursor: pointer;
}

.sz-mgr__body {
    position: absolute;
    inset: 0;
    animation: sz-mgr-breathe 3.4s ease-in-out infinite;
}

.sz-mgr__plate {
    position: absolute;
    inset: 0 0 calc(var(--k) * 24px) 0;
    border: calc(var(--k) * 4px) solid var(--paper);
    border-radius: calc(var(--k) * 20px);
    background: var(--sz-ink-900);
}

.sz-mgr__notch {
    position: absolute;
    top: calc(var(--k) * -5px);
    right: calc(var(--k) * -5px);
    width: calc(var(--k) * 20px);
    height: calc(var(--k) * 20px);
    background: var(--accent);
    border-radius: calc(var(--k) * 3px);
}

.sz-mgr__brows,
.sz-mgr__eyes {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.sz-mgr__brows { top: calc(var(--k) * 42px); gap: calc(var(--k) * 26px); }
.sz-mgr__eyes  { top: calc(var(--k) * 58px); gap: calc(var(--k) * 22px); }

.sz-mgr__brows i {
    width: calc(var(--k) * 20px);
    height: calc(var(--k) * 4px);
    background: var(--paper);
    border-radius: calc(var(--k) * 2px);
    transition: transform 220ms var(--sz-ease-out);
}

.sz-mgr__eyes i {
    width: calc(var(--k) * 15px);
    height: calc(var(--k) * 20px);
    border-radius: 50%;
    background: var(--paper);
    animation: sz-mgr-blink 4.1s infinite;
    transition: height 220ms var(--sz-ease-out), background 220ms;
}
.sz-mgr__eyes i:nth-child(2) { animation-delay: 0.26s; }

.sz-mgr__drop {
    position: absolute;
    top: calc(var(--k) * 50px);
    right: calc(var(--k) * 32px);
    width: calc(var(--k) * 8px);
    height: calc(var(--k) * 12px);
    border-radius: calc(var(--k) * 4px);
    background: var(--accent);
    opacity: 0;
}

.sz-mgr__mouth {
    position: absolute;
    top: calc(var(--k) * 92px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(var(--k) * 40px);
    height: calc(var(--k) * 12px);
    border: calc(var(--k) * 4px) solid var(--paper);
    border-top: 0;
    border-radius: 0 0 calc(var(--k) * 30px) calc(var(--k) * 30px);
    transition: width 220ms var(--sz-ease-out), height 220ms var(--sz-ease-out), background 220ms;
}

.sz-mgr__chest {
    position: absolute;
    top: calc(var(--k) * 126px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: calc(var(--k) * 4px);
    font-family: var(--sz-font-display);
}

.sz-mgr__chest b {
    font-weight: 400;
    font-size: calc(var(--k) * 30px);
    line-height: calc(var(--k) * 32px);
    color: var(--paper);
    background: var(--sz-ink-900);
    border: calc(var(--k) * 3px) solid var(--paper);
    border-radius: calc(var(--k) * 4px);
    padding: calc(var(--k) * 1px) calc(var(--k) * 6px);
}

.sz-mgr__chest s {
    text-decoration: none;
    font-size: calc(var(--k) * 22px);
    color: var(--accent);
}

.sz-mgr__legs {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: calc(var(--k) * 5px);
    height: calc(var(--k) * 34px);
}

.sz-mgr__legs i {
    width: calc(var(--k) * 6px);
    height: 100%;
    border-radius: calc(var(--k) * 2px);
    background: var(--paper);
    transform-origin: bottom;
    animation: sz-mgr-wiggle 2.4s ease-in-out infinite alternate;
}
.sz-mgr__legs i:nth-child(1) { animation-duration: 2.2s; animation-delay: 0s; }
.sz-mgr__legs i:nth-child(2) { animation-duration: 2.4s; animation-delay: 0.14s; }
.sz-mgr__legs i:nth-child(3) { animation-duration: 2.6s; animation-delay: 0.28s; }
.sz-mgr__legs i:nth-child(4) { animation-duration: 2.8s; animation-delay: 0.42s; }
.sz-mgr__legs i:nth-child(5) { animation-duration: 3.0s; animation-delay: 0.56s; }
.sz-mgr__legs i:nth-child(6) { animation-duration: 3.2s; animation-delay: 0.7s; }

.sz-mgr__ring {
    position: absolute;
    inset: 0 0 calc(var(--k) * 24px) 0;
    border: calc(var(--k) * 3px) solid var(--accent);
    border-radius: calc(var(--k) * 22px);
    opacity: 0;
    pointer-events: none;
}

/* think: squint, angled brows, flat mouth, sweat drop, faster breathe */
.sz-mgr[data-mood="think"] .sz-mgr__body { animation-duration: 1.1s; }
.sz-mgr[data-mood="think"] .sz-mgr__eyes i { height: calc(var(--k) * 6px); animation: none; }
.sz-mgr[data-mood="think"] .sz-mgr__brows i:first-child { transform: rotate(-10deg); }
.sz-mgr[data-mood="think"] .sz-mgr__brows i:last-child  { transform: rotate(10deg); }
.sz-mgr[data-mood="think"] .sz-mgr__mouth {
    width: calc(var(--k) * 30px);
    height: calc(var(--k) * 5px);
    background: var(--paper);
    border-radius: 0;
}
.sz-mgr[data-mood="think"] .sz-mgr__drop { animation: sz-mgr-sweat 1.4s ease-in-out infinite; }

/* hype: the listening state. accent eyes, wide mouth, dancing legs, rings */
.sz-mgr[data-mood="hype"] .sz-mgr__body { animation: sz-mgr-hype 0.55s ease-in-out infinite alternate; }
.sz-mgr[data-mood="hype"] .sz-mgr__eyes i { background: var(--accent); animation: none; }
.sz-mgr[data-mood="hype"] .sz-mgr__brows i { animation: sz-mgr-brow 0.5s ease-in-out infinite alternate; }
.sz-mgr[data-mood="hype"] .sz-mgr__mouth {
    width: calc(var(--k) * 54px);
    height: calc(var(--k) * 24px);
}
.sz-mgr[data-mood="hype"] .sz-mgr__legs i { animation: sz-mgr-dance 0.5s ease-in-out infinite alternate; }
.sz-mgr[data-mood="hype"] .sz-mgr__legs i:nth-child(even) { background: var(--accent); }
.sz-mgr[data-mood="hype"] .sz-mgr__ring { animation: sz-mgr-ring 1.5s ease-out infinite; }
.sz-mgr[data-mood="hype"] .sz-mgr__ring--b { animation-delay: 0.7s; }

@keyframes sz-mgr-breathe {
    from { transform: translateY(0) scale(1); }
    to   { transform: translateY(calc(var(--k) * -4px)) scale(1.015); }
}
@keyframes sz-mgr-hype {
    from { transform: translateY(0) rotate(-1.5deg); }
    to   { transform: translateY(calc(var(--k) * -9px)) rotate(1.5deg); }
}
@keyframes sz-mgr-blink {
    0%, 93%, 100% { transform: scaleY(1); }
    96%           { transform: scaleY(0.08); }
}
@keyframes sz-mgr-wiggle {
    from { transform: scaleY(0.3); }
    to   { transform: scaleY(0.8); }
}
@keyframes sz-mgr-dance {
    from { transform: scaleY(0.15); }
    to   { transform: scaleY(1); }
}
@keyframes sz-mgr-brow {
    from { transform: translateY(0) rotate(0deg); }
    to   { transform: translateY(calc(var(--k) * -3px)) rotate(-3deg); }
}
@keyframes sz-mgr-sweat {
    0%   { opacity: 0; transform: translateY(calc(var(--k) * -4px)); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(calc(var(--k) * 14px)); }
}
@keyframes sz-mgr-ring {
    from { opacity: 0.55; transform: scale(0.85); }
    to   { opacity: 0;    transform: scale(1.5); }
}

/* -------------------------------------------------------------- the stage */

.sz-wl-stage {
    background: var(--sz-ink-900);
    color: var(--sz-paper-100);
    border: var(--sz-border-w-bold) solid var(--sz-ink-900);
    box-shadow: 10px 10px 0 var(--sz-accent-600);
    display: flex;
    flex-direction: column;
    min-height: 560px;
    max-width: 520px;
    width: 100%;
    justify-self: end;
}

.sz-wl-stage__top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 22px 8px;
}

.sz-wl-stage__name {
    margin: 0;
    font-family: var(--sz-font-display);
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--sz-paper-100);
}

.sz-wl-stage__state {
    margin: 6px 0 0;
    font-family: var(--sz-font-ui);
    font-size: 13px;
    letter-spacing: 0.14em;
    color: var(--sz-accent-400);
}

.sz-wl-thread {
    flex: 1;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px 12px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
            mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
}

.sz-msg {
    font-family: var(--sz-font-ui);
    font-size: 15px;
    line-height: 1.5;
    animation: sz-msg-in 360ms var(--sz-ease-out) both;
}

@keyframes sz-msg-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

.sz-msg--me {
    align-self: flex-end;
    max-width: 82%;
    background: var(--sz-paper-100);
    color: var(--sz-ink-900);
    padding: 10px 14px;
}

.sz-msg--note {
    align-self: flex-start;
    max-width: 88%;
    color: var(--sz-ink-100);
}

.sz-msg--when {
    align-self: center;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--sz-ink-300);
}

.sz-msg--card {
    align-self: flex-start;
    width: 100%;
    background: var(--sz-paper-100);
    color: var(--sz-ink-900);
    padding: 14px 16px 16px;
    border-left: 6px solid var(--sz-accent-500);
}

.sz-msg__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--sz-accent-600);
}

.sz-msg__poster {
    margin: 0;
    font-family: var(--sz-font-display);
    font-size: 28px;
    line-height: 0.98;
    text-transform: uppercase;
}

.sz-msg__body {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--sz-text-secondary);
}

.sz-msg__cta {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 14px;
    background: var(--sz-ink-900);
    color: var(--sz-paper-100);
    font-size: 13px;
    letter-spacing: 0.06em;
}

.sz-ladder { margin: 10px 0 0; padding: 0; list-style: none; }
.sz-ladder li {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: baseline;
    padding: 7px 0;
    border-top: 1px solid var(--sz-border-hairline);
    font-size: 14px;
}
.sz-ladder b { font-family: var(--sz-font-display); font-weight: 400; font-size: 20px; }
.sz-ladder .is-you { background: var(--sz-paper-200); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.sz-ladder .is-you em { color: var(--sz-accent-600); font-style: normal; }

.sz-wl-thinking {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 6px 2px;
}
.sz-wl-thinking i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sz-paper-100);
    animation: sz-dot 1s ease-in-out infinite;
}
.sz-wl-thinking i:nth-child(2) { animation-delay: 0.15s; }
.sz-wl-thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes sz-dot { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.sz-wl-stage__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px 14px;
    border-top: 1px solid var(--sz-ink-700);
    font-family: var(--sz-font-ui);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--sz-ink-300);
}

.sz-wl-replay {
    background: none;
    border: 1px solid var(--sz-ink-300);
    color: var(--sz-paper-100);
    font: inherit;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    cursor: pointer;
}
.sz-wl-replay:hover { border-color: var(--sz-accent-400); color: var(--sz-accent-400); }

/* -------------------------------------------------------------------- rules */

.sz-wl-rules {
    padding: var(--sz-section-y) var(--sz-gutter);
    background: var(--sz-paper-50);
}

.sz-wl-rules__inner { max-width: var(--sz-maxw); margin: 0 auto; }

.sz-wl-rules__h {
    font-family: var(--sz-font-display);
    font-size: clamp(30px, 4.6vw, 60px);
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 clamp(28px, 4vw, 48px);
    color: var(--sz-ink-900);
}

.sz-wl-rule {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding: clamp(26px, 3.6vw, 44px) 0;
    border-top: var(--sz-border-w-bold) solid var(--sz-ink-900);
}

.sz-wl-rule__t {
    font-family: var(--sz-font-display);
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.02;
    margin: 0 0 12px;
    color: var(--sz-ink-900);
    max-width: 18ch;
}

.sz-wl-rule__d {
    margin: 0;
    font-family: var(--sz-font-editorial);
    font-size: clamp(15.5px, 1.2vw, 17.5px);
    line-height: 1.7;
    color: var(--sz-text-secondary);
    max-width: 52ch;
}

.sz-wl-viz {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 150px;
    padding: 22px;
    background: var(--sz-paper-200);
    border: var(--sz-border-w-bold) solid var(--sz-ink-900);
}

.sz-wl-viz__cap {
    flex-basis: 100%;
    text-align: center;
    font-family: var(--sz-font-ui);
    font-size: 13px;
    letter-spacing: 0.14em;
    color: var(--sz-text-muted);
}

.sz-wl-viz__who {
    font-family: var(--sz-font-display);
    font-size: 24px;
    padding: 4px 12px;
    background: var(--sz-ink-900);
    color: var(--sz-paper-100);
}

.sz-wl-viz__bar {
    flex: 1;
    min-width: 70px;
    height: 10px;
    background: var(--sz-paper-300);
    position: relative;
    overflow: hidden;
}
.sz-wl-viz__bar i {
    position: absolute; inset: 0;
    background: var(--sz-accent-500);
    transform: scaleX(0);
    transform-origin: left;
}
.sz-reveal.is-revealed .sz-wl-viz__bar i { animation: sz-fill 2.2s 0.3s var(--sz-ease-out) forwards; }
@keyframes sz-fill { to { transform: scaleX(1); } }

.sz-wl-viz__pips { display: flex; gap: 7px; }
.sz-wl-viz__pips i {
    width: 22px; height: 34px;
    border: 3px solid var(--sz-ink-900);
    background: transparent;
}
.sz-reveal.is-revealed .sz-wl-viz__pips i:nth-child(-n+3) {
    animation: sz-pip 420ms var(--sz-ease-out) forwards;
}
.sz-reveal.is-revealed .sz-wl-viz__pips i:nth-child(2) { animation-delay: 0.2s; }
.sz-reveal.is-revealed .sz-wl-viz__pips i:nth-child(3) { animation-delay: 0.4s; }
@keyframes sz-pip { to { background: var(--sz-accent-500); border-color: var(--sz-accent-600); } }

.sz-wl-viz--lock { position: relative; }
.sz-wl-viz__set {
    font-family: var(--sz-font-display);
    font-size: 96px;
    line-height: 0.9;
    color: var(--sz-ink-900);
}
.sz-wl-viz--lock::after {
    content: "locked";
    position: absolute;
    top: 22px; right: 22px;
    font-family: var(--sz-font-display);
    font-size: 20px;
    text-transform: uppercase;
    color: var(--sz-accent-600);
    border: 3px solid var(--sz-accent-600);
    padding: 2px 10px;
    transform: rotate(8deg) scale(1.6);
    opacity: 0;
}
.sz-reveal.is-revealed .sz-wl-viz--lock::after,
.sz-reveal.is-revealed.sz-wl-viz--lock::after {
    animation: sz-lock 380ms 0.6s var(--sz-ease-out) forwards;
}
@keyframes sz-lock { to { transform: rotate(8deg) scale(1); opacity: 1; } }

/* ------------------------------------------------------------- the real app */
.sz-reel {
    position: relative;
    padding: var(--sz-section-y) var(--sz-gutter);
    background: var(--sz-ink-900);
    color: var(--sz-paper-100);
    border-top: var(--sz-border-w-bold) solid var(--sz-ink-900);
    overflow: hidden;
}
.sz-reel__inner {
    position: relative; z-index: 1;
    max-width: var(--sz-maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}
.sz-reel__phone { justify-self: center; }
.sz-reel__frame {
    position: relative;
    width: clamp(240px, 26vw, 330px);
    aspect-ratio: 9 / 16;
    background: #000;
    border: 3px solid var(--sz-paper-100);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 10px 10px 0 var(--sz-accent-600);
}
.sz-reel__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.sz-reel__play {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 0;
    background: rgba(19, 26, 34, 0.38);
    border: 0; cursor: pointer; color: #fff;
    font-family: var(--sz-font-ui); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.sz-reel__play i {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--sz-accent-500);
    border: 3px solid var(--sz-paper-100);
    position: relative;
    transition: transform 160ms var(--sz-ease-out);
}
.sz-reel__play i::after {
    content: ""; position: absolute; left: 25px; top: 18px;
    border-style: solid; border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
}
.sz-reel__play:hover i { transform: scale(1.08); }
.sz-reel__play:focus-visible { outline: 3px solid var(--sz-accent-500); outline-offset: -6px; }
.sz-reel.is-playing .sz-reel__play { display: none; }

.sz-reel__h {
    font-family: var(--sz-font-display);
    font-size: clamp(32px, 4.8vw, 64px);
    line-height: 0.98; text-transform: uppercase;
    margin: 0 0 14px; color: var(--sz-paper-100);
}
.sz-reel__d {
    margin: 0 0 22px; max-width: 46ch;
    font-family: var(--sz-font-editorial);
    font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7;
    color: var(--sz-paper-300);
}
.sz-reel__chs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 0; max-width: 520px; }
.sz-reel__chs li + li { border-top: 1px solid rgba(253, 251, 246, 0.16); }
.sz-reel__ch {
    width: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: baseline;
    padding: 10px 6px; text-align: left; cursor: pointer;
    background: transparent; border: 0; color: inherit;
    border-left: 4px solid transparent;
    transition: background 160ms, border-color 160ms;
}
.sz-reel__ch:hover { background: rgba(253, 251, 246, 0.06); }
.sz-reel__ch:focus-visible { outline: 2px solid var(--sz-accent-500); outline-offset: 2px; }
.sz-reel__ch.is-on { border-left-color: var(--sz-accent-500); background: rgba(212, 73, 31, 0.14); }
.sz-reel__t { font-family: var(--sz-font-ui); font-size: 13px; letter-spacing: 0.1em; color: var(--sz-accent-400, #E8764F); padding-left: 8px; }
.sz-reel__n { display: flex; flex-direction: column; gap: 2px; }
.sz-reel__n b { font-family: var(--sz-font-ui); font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.sz-reel__n i { font-family: var(--sz-font-editorial); font-size: 14px; color: var(--sz-paper-300); opacity: 0.85; }
.sz-reel__note { margin: 0; font-family: var(--sz-font-ui); font-size: 12px; letter-spacing: 0.1em; color: var(--sz-paper-300); opacity: 0.8; max-width: 52ch; }

@media (max-width: 860px) {
    .sz-reel__inner { grid-template-columns: 1fr; }
    .sz-reel__frame { width: min(300px, 78vw); }
}

/* ------------------------------------------------------------- game cards */

.sz-wl-cards {
    position: relative;
    padding: var(--sz-section-y) var(--sz-gutter);
    background: var(--sz-paper-300);
    border-top: var(--sz-border-w-bold) solid var(--sz-ink-900);
    overflow: hidden;
}

.sz-wl-cards__inner {
    position: relative;
    z-index: 1;
    max-width: var(--sz-maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.sz-wl-cards__h {
    font-family: var(--sz-font-display);
    font-size: clamp(32px, 4.8vw, 64px);
    line-height: 0.98;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: var(--sz-ink-900);
}

.sz-wl-cards__d {
    margin: 0 0 14px;
    font-family: var(--sz-font-editorial);
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.7;
    color: var(--sz-ink-800);
    max-width: 46ch;
}

.sz-wl-cards__note {
    margin: 0;
    font-family: var(--sz-font-ui);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--sz-ink-700);
}

.sz-wl-fan {
    position: relative;
    height: 560px;
    --k: 0.9;
}

/* ---- match card: the app's MatchCard (feed mode, 360 x 520) ported to CSS.
   Built at its native size and scaled with --k so every proportion matches. */
.mc {
    --primary: #0E7C6B; --deep: #08453B; --wash: #D7EDE9; --accent: #D4491F;
    --paper: #FDFBF6; --muted: #64748B; --ink: #131A22; --ink3: #94A3B8;
    position: absolute;
    top: 0;
    width: 360px;
    height: 520px;
    background: var(--paper);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 44px rgba(27, 37, 48, 0.3);
    transform-origin: top left;
    transition: transform 500ms var(--sz-ease-out);
    font-family: var(--sz-font-ui);
    color: var(--ink);
}
.mc::after { /* print grain, plain noise */
    content: "";
    position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .18  0 0 0 0 .15  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.mc--pb { --primary: #3457D5; --deep: #1C2F86; --wash: #DDE3FA; --accent: #E0A32A; left: 0; transform: rotate(-5deg) scale(var(--k)); z-index: 1; }
.mc--bd { left: calc(360px * var(--k) * 0.7); transform: rotate(4deg) translateY(22px) scale(var(--k)); z-index: 2; }
.sz-wl-fan:hover .mc--pb { transform: rotate(-7deg) translateX(-10px) scale(var(--k)); }
.sz-wl-fan:hover .mc--bd { transform: rotate(6deg) translateY(8px) translateX(10px) scale(var(--k)); }

.mc__mast { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px; height: 52px; }
.mc__mark {
    display: block; width: 84px; height: 35px; background: var(--deep);
    -webkit-mask: url("../images/cards/mark-wordmark.png") left center / contain no-repeat;
            mask: url("../images/cards/mark-wordmark.png") left center / contain no-repeat;
}
.mc__meta { text-align: right; display: flex; flex-direction: column; }
.mc__meta b { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.mc__meta span { font-size: 9px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.mc__photo { position: relative; height: 146px; overflow: hidden; background: var(--wash); }
.mc__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.mc__photo.is-empty .mc__ring { display: block; }
.mc__ring { display: none; position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 2px solid var(--primary); opacity: 0.6; }
.mc__cut { position: absolute; left: 0; bottom: 0; width: 100%; height: 22px; background: var(--paper); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.mc__edge { position: absolute; left: 0; bottom: 0; width: 100%; height: 22px; background: var(--accent);
    clip-path: polygon(0 calc(100% - 3px), 100% 0, 100% 3px, 0 100%); }

.mc__body { position: relative; padding: 12px 16px 16px; height: calc(520px - 52px - 146px); }
.mc__motif { position: absolute; width: 158px; height: 101px; right: 22px; top: -73px; transform: rotate(-22deg); z-index: 3; overflow: visible;
    --paper: #FDFBF6; }
.mc__court { position: absolute; left: 0; right: 0; top: 4px; height: 118px; opacity: 0.18; pointer-events: none;
    background:
      linear-gradient(var(--primary), var(--primary)) 0 0 / 100% 1px no-repeat,
      linear-gradient(var(--primary), var(--primary)) 0 28% / 100% 1px no-repeat,
      linear-gradient(var(--primary), var(--primary)) 0 58% / 100% 1px no-repeat,
      linear-gradient(var(--primary), var(--primary)) 0 86% / 100% 1px no-repeat,
      linear-gradient(var(--primary), var(--primary)) 13% 0 / 1px 100% no-repeat,
      linear-gradient(var(--primary), var(--primary)) 36% 0 / 1px 100% no-repeat,
      linear-gradient(var(--primary), var(--primary)) 62% 0 / 1px 100% no-repeat,
      linear-gradient(var(--primary), var(--primary)) 86% 0 / 1px 100% no-repeat; }

.mc__head { position: relative; padding-left: 20px; margin: 0 0 12px; }
.mc__word { margin: 0; font-family: var(--sz-font-display); font-size: 50px; line-height: 1.06; letter-spacing: -1px; text-transform: uppercase; color: var(--deep); }
.mc__score { margin: 0; font-family: var(--sz-font-display); font-size: 32px; line-height: 35px; color: var(--accent); }
.mc__fmt { margin: 4px 0 0; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--deep); }

.mc__bandcut { display: block; position: relative; height: 14px; margin: 0 -16px; background: var(--deep); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.mc__band { display: flex; align-items: flex-end; justify-content: space-between; background: var(--deep); margin: 0 -16px; padding: 12px 16px; }
.mc__names { flex: 1; min-width: 0; }
.mc__n1, .mc__n2 { margin: 0; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc__n1 { display: flex; align-items: center; font-size: 16px; font-weight: 600; letter-spacing: 0.5px; color: #fff; }
.mc__n1 .mc__stamp { display: inline-flex; align-items: center; margin-left: 8px; font-size: 9px; letter-spacing: 0.14em; color: var(--primary); filter: brightness(1.7); }
.mc__stamp i { width: 13px; height: 4px; margin-right: 4px; background: currentColor;
    -webkit-mask: url("../images/cards/mark-arc.png") center / contain no-repeat; mask: url("../images/cards/mark-arc.png") center / contain no-repeat; }
.mc__n2 { margin-top: 2px; font-size: 14px; font-weight: 400; letter-spacing: 0.5px; color: var(--ink3); }
.mc__games { text-align: right; padding-left: 12px; }
.mc__games small { display: block; font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink3); }
.mc__games p { display: flex; gap: 12px; justify-content: flex-end; margin: 4px 0 0; font-size: 14px; font-weight: 500; color: var(--paper); }

.mc__stand { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 12px; }
.mc__rate small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mc__rate p { display: flex; align-items: center; margin: 0; }
.mc__rate b { font-family: var(--sz-font-display); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--deep); }
.mc__delta { display: inline-flex; align-items: center; margin-left: 8px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--primary); }
.mc__delta::before { content: ""; border-style: solid; border-width: 0 3.9px 7px; border-color: transparent transparent currentColor; margin-right: 4px; }
.mc__where { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mc__where span:first-child { color: var(--deep); }
.mc__where span + span { margin-top: 2px; }
.mc__quote { margin: 12px 0 0; padding-left: 12px; border-left: 2px solid var(--primary); font-family: var(--sz-font-editorial); font-style: italic; font-size: 14px; line-height: 1.4; color: var(--ink); opacity: 0.8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------------- claim */
.sz-wl-claim {
    position: relative;
    padding: var(--sz-section-y) var(--sz-gutter);
    background: var(--sz-surface-ink);
    border-top: var(--sz-border-w-bold) solid var(--sz-ink-900);
}

.sz-wl-claim__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.sz-wl-form {
    background: var(--sz-paper-50);
    border: var(--sz-border-w-bold) solid var(--sz-ink-900);
    box-shadow: var(--sz-shadow-raised);
    padding: clamp(24px, 3.4vw, 46px);
}

.sz-wl-form__head {
    margin-bottom: clamp(22px, 3vw, 32px);
}

.sz-wl-form__h {
    font-family: var(--sz-font-display);
    font-size: clamp(27px, 4vw, 44px);
    line-height: 1.02;
    margin: 0 0 10px;
    color: var(--sz-ink-900);
}

.sz-wl-form__sub {
    margin: 0;
    font-family: var(--sz-font-ui);
    font-size: 14px;
    color: var(--sz-text-muted);
    letter-spacing: 0.03em;
}

.sz-wl-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.sz-wl-field {
    display: block;
}

.sz-wl-field--wide {
    grid-column: 1 / -1;
}

.sz-wl-field__l {
    display: block;
    font-family: var(--sz-font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: none;
    color: var(--sz-ink-700);
    margin-bottom: 7px;
    padding: 0;
}

.sz-wl-field input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: var(--sz-border-w-default) solid var(--sz-ink-300);
    padding: 11px 2px;
    font-family: var(--sz-font-ui);
    font-size: 16px;
    color: var(--sz-ink-900);
    transition: border-color var(--sz-duration-base) var(--sz-ease-out);
}

.sz-wl-field input::placeholder {
    color: var(--sz-ink-300);
}

/* the rule under a focused field draws itself in accent — answers the action */
.sz-wl-field input:focus {
    outline: none;
    border-bottom-color: var(--sz-accent-500);
    border-bottom-width: var(--sz-border-w-bold);
}

.sz-wl-field input:focus-visible {
    outline: none;
}

.sz-wl-field input.is-invalid {
    border-bottom-color: var(--sz-danger-600);
}

/* sports */

.sz-wl-sports {
    border: 0;
    padding: 0;
    margin: clamp(24px, 3vw, 34px) 0 0;
}

.sz-wl-sports legend {
    padding: 0;
}

.sz-wl-sports__hint {
    margin: 0 0 14px;
    font-family: var(--sz-font-ui);
    font-size: 13px;
    color: var(--sz-text-muted);
}

.sz-wl-sports__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sz-wl-sport input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sz-wl-sport__face {
    display: inline-block;
    border: var(--sz-border-w-default) solid var(--sz-ink-900);
    border-radius: 999px;
    padding: 9px 18px;
    font-family: var(--sz-font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--sz-ink-700);
    cursor: pointer;
    transition: background var(--sz-duration-fast) var(--sz-ease-out),
                color var(--sz-duration-fast) var(--sz-ease-out),
                transform var(--sz-duration-fast) var(--sz-ease-out);
}

/* selecting reads as a stamp press, matching the letterpress logo */
.sz-wl-sport input:checked + .sz-wl-sport__face {
    background: var(--sz-ink-900);
    color: var(--sz-paper-100);
    transform: scale(0.97);
}

.sz-wl-sport input:focus-visible + .sz-wl-sport__face {
    outline: 3px solid var(--sz-accent-500);
    outline-offset: 2px;
}

.sz-wl-form__error {
    margin: 18px 0 0;
    font-family: var(--sz-font-ui);
    font-size: 14px;
    color: var(--sz-danger-600);
    border-left: var(--sz-border-w-bold) solid var(--sz-danger-600);
    padding-left: 12px;
}

.sz-wl-form__submit {
    width: 100%;
    margin-top: clamp(24px, 3vw, 34px);
    text-align: center;
}

.sz-wl-form__submit[aria-busy="true"] {
    opacity: 0.75;
    pointer-events: none;
}

.sz-wl-form__fine {
    margin: 16px 0 0;
    font-family: var(--sz-font-ui);
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--sz-text-muted);
    text-align: center;
}

.sz-wl-form__fine a {
    color: var(--sz-ink-700);
    text-decoration: underline;
}

/* success */

.sz-wl-done {
    background: var(--sz-paper-50);
    border: var(--sz-border-w-bold) solid var(--sz-ink-900);
    box-shadow: var(--sz-shadow-raised);
    padding: clamp(28px, 4vw, 52px);
    text-align: center;
}

.sz-wl-done__stamp {
    font-size: clamp(22px, 3vw, 32px);
    margin: 0 0 clamp(18px, 2.4vw, 26px);
    animation: sz-wl-slam 420ms var(--sz-ease-out) both;
}

@keyframes sz-wl-slam {
    from { transform: rotate(-3deg) scale(1.5); opacity: 0; }
    to   { transform: rotate(-3deg) scale(1); opacity: 1; }
}

.sz-wl-done__line {
    font-family: var(--sz-font-display);
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--sz-ink-900);
}

.sz-wl-done__line strong {
    color: var(--sz-accent-600);
    font-weight: 400;
}

.sz-wl-done__body {
    font-family: var(--sz-font-ui);
    font-size: 15.5px;
    line-height: 1.66;
    color: var(--sz-text-secondary);
    max-width: 46ch;
    margin: 0 auto clamp(24px, 3vw, 32px);
}

.sz-wl-done__act {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ----------------------------------------------------------------- next steps */

.sz-wl-next {
    padding: var(--sz-section-y) var(--sz-gutter);
    background: var(--sz-paper-200);
}

.sz-wl-next__inner {
    max-width: var(--sz-maxw-text);
    margin: 0 auto;
}

.sz-wl-next__h {
    font-family: var(--sz-font-display);
    font-size: clamp(27px, 4vw, 46px);
    line-height: 1.04;
    margin: 0 0 clamp(28px, 4vw, 44px);
    color: var(--sz-ink-900);
}

.sz-wl-steps {
    list-style: none;
    margin: 0 0 clamp(44px, 6vw, 72px);
    padding: 0;
    display: grid;
    gap: 0;
}

.sz-wl-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: start;
    padding: clamp(18px, 2.4vw, 26px) 0;
    border-bottom: var(--sz-border-w-default) solid var(--sz-border-hairline);
}

.sz-wl-step:first-child {
    border-top: var(--sz-border-w-bold) solid var(--sz-ink-900);
}

.sz-wl-step__n {
    font-family: var(--sz-font-display);
    font-size: 30px;
    line-height: 1;
    color: var(--sz-accent-600);
}

.sz-wl-step__t {
    font-family: var(--sz-font-ui);
    font-size: clamp(17px, 1.7vw, 20px);
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--sz-ink-900);
}

.sz-wl-step__d {
    margin: 0;
    font-family: var(--sz-font-ui);
    font-size: 15px;
    line-height: 1.6;
    color: var(--sz-text-secondary);
    max-width: 52ch;
}

.sz-wl-jump {
    background: var(--sz-surface-ink);
    color: var(--sz-text-on-ink);
    padding: clamp(26px, 3.6vw, 44px);
    border: var(--sz-border-w-bold) solid var(--sz-ink-900);
}

.sz-wl-jump__t {
    font-family: var(--sz-font-display);
    font-size: clamp(23px, 3vw, 34px);
    margin: 0 0 10px;
    color: var(--sz-paper-100);
}

.sz-wl-jump__d {
    font-family: var(--sz-font-ui);
    font-size: 15.5px;
    line-height: 1.66;
    color: var(--sz-ink-100);
    max-width: 56ch;
    margin: 0 0 clamp(20px, 2.6vw, 28px);
}


/* ----------------------------------------------------------------- responsive */

@media (max-width: 1040px) {
    .sz-wl-hero__inner { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 56px); }
    .sz-wl-stage { justify-self: start; max-width: 560px; box-shadow: 8px 8px 0 var(--sz-accent-600); }
    .sz-wl-rule { grid-template-columns: 1fr; }
    .sz-wl-cards__inner { grid-template-columns: 1fr; }
    .sz-wl-fan { max-width: 560px; }
}

@media (max-width: 700px) {
    .sz-wl-hero__line--out { -webkit-text-stroke-width: 2px; }
    .sz-wl-stage { min-height: 520px; }
    .sz-wl-thread { min-height: 330px; padding: 6px 14px 10px; }
    .sz-msg__poster { font-size: 24px; }
    .sz-wl-fan { height: 430px; --k: 0.6; }
    .mc--bd { left: calc(360px * var(--k) * 0.58); }
}

@media (prefers-reduced-motion: reduce) {
    .sz-mgr__body, .sz-mgr__eyes i, .sz-mgr__legs i, .sz-mgr__drop, .sz-mgr__ring,
    .sz-mgr__brows i, .sz-wl-thinking i { animation: none !important; }
    .sz-msg { animation: none; }
    .sz-wl-viz__bar i { transform: scaleX(1); animation: none !important; }
    .sz-wl-viz__pips i:nth-child(-n+3) { background: var(--sz-accent-500); border-color: var(--sz-accent-600); animation: none !important; }
    .sz-wl-viz--lock::after { opacity: 1; transform: rotate(8deg); animation: none !important; }
    .mc { transition: none; }
    .sz-wl-done__stamp { animation: none; }
}
