:root{
  --asphalt:#0A0B0E; --surface:#15171C; --line:#262A33; --line2:#343945;
  --bone:#F4F2EC; --dim:#767C8B;
  --fast:#B026FF; --good:#00E27A; --slow:#FFD400; --fail:#FF3B30;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{background:#0A0B0E !important;color-scheme:dark}
.bgfill{position:fixed;inset:-10vh -10vw;z-index:0;background:#08090C;
  background-image:
    radial-gradient(90% 55% at 50% 8%, rgba(64,80,120,.22), transparent 60%),
    radial-gradient(70% 40% at 50% 100%, rgba(30,38,58,.35), transparent 70%);
  pointer-events:none}
html,body{height:100%;min-height:100dvh;overflow:hidden;overscroll-behavior:none;touch-action:none}
body{background:#0A0B0E !important;color:var(--bone);
  font-family:ui-sans-serif,-apple-system,"Segoe UI",Roboto,sans-serif;
  display:flex;justify-content:center;user-select:none;-webkit-user-select:none}
.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
.phone{width:100%;max-width:460px;height:100dvh;min-height:100dvh;background:transparent;z-index:1;
  display:flex;flex-direction:column;position:relative;overflow:hidden}

header{padding:calc(env(safe-area-inset-top) + 14px) 18px 10px;display:flex;align-items:center;justify-content:space-between}
.quit{display:flex;align-items:center;gap:6px;color:#D8DAE2;font-size:10px;letter-spacing:.18em;
  font-weight:800;cursor:pointer;padding:8px 13px 8px 10px;border-radius:12px;
  border:1px solid #363C48;background:#171B22}
.quit svg{width:14px;height:14px}
.quit:active{background:#222731}
.quit.confirm{color:var(--fail)}
.wordmark{font-size:14px;font-weight:800;letter-spacing:.46em;color:#EDEBE4}
.seed{font-size:11px;letter-spacing:.18em;color:var(--dim)}
.strip{display:flex;gap:5px;padding:0 18px 12px}
.strip.hidden{display:none}
.pip{flex:1;height:3px;background:#23272F;border-radius:2px;transition:background .25s,box-shadow .25s}
.pip.fast{background:var(--fast);box-shadow:0 0 10px rgba(176,38,255,.5)}.pip.good{background:var(--good)}
.pip.slow{background:var(--slow)}.pip.fail{background:var(--fail)}

.arena{flex:1;position:relative;overflow:hidden;
  background:radial-gradient(110% 60% at 50% 10%, rgba(70,88,130,.16), transparent 64%),
    radial-gradient(60% 26% at 50% 72%, rgba(110,190,215,.05), transparent 70%)}
.gantry{position:absolute;left:9%;right:9%;height:15px;border-radius:5px;
  background:linear-gradient(180deg,#7B8496 0%,#4A5160 34%,#20242D 70%,#3A414F 100%);
  box-shadow:0 14px 34px rgba(0,0,0,.72),0 1px 0 rgba(255,255,255,.16) inset}
.gantry::before{content:"";position:absolute;inset:0;border-radius:5px;
  background:repeating-linear-gradient(90deg,rgba(0,0,0,.24) 0 2px,transparent 2px 10px)}
.gantry::after{content:"";position:absolute;left:12px;right:12px;top:3px;height:1px;
  background:rgba(255,255,255,.14)}
.gbolt{position:absolute;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;z-index:3;
  background:radial-gradient(circle at 36% 30%,#C6CCD8,#59606E 58%,#20242D);
  box-shadow:0 1px 2px rgba(0,0,0,.6)}
.gbolt.l{left:28%}.gbolt.r{left:72%}
.clamp{position:absolute;width:34px;height:19px;margin-left:-17px;z-index:2}
.clamp i{position:absolute;top:0;width:10px;height:18px;
  background:linear-gradient(180deg,#98A0AE,#3E4553 58%,#1C2029);
  box-shadow:0 3px 8px rgba(0,0,0,.65);transition:transform .16s cubic-bezier(.3,1.5,.4,1)}
.clamp i.a{left:1px;border-radius:3px 0 8px 3px;transform-origin:top center}
.clamp i.b{right:1px;border-radius:0 3px 3px 8px;transform-origin:top center}
.clamp.open i.a{transform:rotate(-26deg) translateX(-3px)}
.clamp.open i.b{transform:rotate(26deg) translateX(3px)}
.clamp.l{left:28%}.clamp.r{left:72%}
.ball{position:absolute;width:58px;height:58px;margin-left:-29px;margin-top:-29px;will-change:transform}
.ball.l{left:28%}.ball.r{left:72%}
.orb{position:absolute;inset:0;border-radius:50%;
  background:
    radial-gradient(circle at 33% 26%, #E4FEFF 0%, #8CE8F2 15%, #2FA8BC 45%, #155C6E 74%, #052430 100%);
  box-shadow:
    inset -7px -9px 18px rgba(2,18,26,.64),
    inset 4px 5px 12px rgba(215,250,255,.30),
    0 10px 22px rgba(0,0,0,.6),
    0 0 30px rgba(70,200,225,.16);}
.orb::after{content:"";position:absolute;left:26%;top:17%;width:19%;height:12%;border-radius:50%;
  background:rgba(235,254,255,.85);filter:blur(2px)}
.orb::before{content:"";position:absolute;inset:0;border-radius:50%;
  box-shadow:inset 0 -1px 0 rgba(180,240,255,.18)}
/* real tennis ball photo — switch on with document.body.classList.add('tennis') */
.tball{position:absolute;inset:-4%;opacity:0;transition:opacity .15s;pointer-events:none;
  background:url('/tennis.png') center/contain no-repeat;
  filter:drop-shadow(0 9px 16px rgba(0,0,0,.6))}
body.tennis .tball{opacity:1}
/* the photo sits ON TOP of the cyan orb rather than replacing it, so a failed
   image load degrades to a visible ball instead of an empty arena */
body.tennis .orb{opacity:.001}
body.tennis.noimg .orb{opacity:1}
body.tennis.noimg .tball{display:none}

/* No line and no target ring: a drawn deadline makes people play it as a
   timing game. The deadline is the pad itself, and the last of the fall is
   warned with a rising glow instead. */
.fade{position:absolute;left:0;right:0;bottom:0;height:16%;pointer-events:none;
  background:linear-gradient(to bottom,transparent,rgba(7,8,11,.95))}
.danger{position:absolute;left:0;right:0;bottom:0;height:22%;pointer-events:none;opacity:0;
  background:linear-gradient(to bottom,transparent,rgba(255,59,48,.16));transition:opacity .08s}
.telemetry{position:absolute;left:5%;width:60%;opacity:0;transform:translateY(10px);transition:opacity .18s,transform .18s;pointer-events:none}
.telemetry.show{opacity:1;transform:translateY(0)}
.tel-num{font-size:52px;font-weight:800;letter-spacing:-.03em;line-height:.9}
.tel-unit{font-size:16px;font-weight:600;color:var(--dim);letter-spacing:.06em;margin-left:4px}
.tel-label{font-size:10px;letter-spacing:.24em;margin-top:8px;color:var(--dim)}
.tel-track{margin-top:10px;height:6px;background:var(--line);border-radius:3px;overflow:hidden}
.tel-fill{height:100%;width:0;border-radius:3px;transition:width .35s cubic-bezier(.2,.9,.2,1)}
.callout{position:absolute;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.3em;font-weight:700}

.tutorbtns{display:flex;gap:10px;padding:0 14px 12px}
.tutorbtns.hidden{display:none}
.tbtn{flex:1;padding:15px;border-radius:15px;font-family:inherit;font-size:11.5px;font-weight:800;
  letter-spacing:.16em;cursor:pointer;border:1px solid #2B303B}
.tbtn.ghost{background:#14171E;color:#9AA0AE}
.tbtn.solid{background:#F4F2EC;color:#101319;border-color:#F4F2EC}
.tbtn:active{transform:scale(.985)}
.pads{display:flex;gap:12px;padding:0 14px calc(env(safe-area-inset-bottom) + 16px)}
.pad{position:relative;flex:1;height:126px;border-radius:20px;cursor:pointer;overflow:hidden;
  background:
    linear-gradient(180deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,0) 12%),
    linear-gradient(168deg,#6E7683 0%,#535A67 22%,#3A4049 48%,#2B303A 62%,#454C58 84%,#2A2F38 100%);
  border:1px solid #767E8C;
  box-shadow:0 1px 0 rgba(255,255,255,.28) inset, 0 -2px 6px rgba(0,0,0,.5) inset,
             0 14px 34px rgba(0,0,0,.62);
  transition:transform .07s, box-shadow .12s, border-color .12s, filter .12s}
.pad>*{pointer-events:none}
/* brushed grain */
.pad::before{content:"";position:absolute;inset:0;opacity:.5;
  background:repeating-linear-gradient(94deg,
    rgba(255,255,255,.055) 0 1px, transparent 1px 3px, rgba(0,0,0,.05) 3px 4px)}
/* knurled grip along the base */
.pad::after{content:"";position:absolute;left:0;right:0;bottom:0;height:30px;
  background:repeating-linear-gradient(45deg,
      rgba(0,0,0,.30) 0 3px, rgba(255,255,255,.05) 3px 6px);
  border-top:1px solid rgba(0,0,0,.45);opacity:.8}
.pface{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:6px;z-index:2}
.engrave{font-size:17px;font-weight:800;letter-spacing:.3em;
  color:rgba(18,21,26,.82);
  text-shadow:0 1px 0 rgba(255,255,255,.26), 0 -1px 1px rgba(0,0,0,.45)}
.engrave.small{font-size:8px;letter-spacing:.3em;font-weight:700;color:rgba(18,21,26,.55);
  text-shadow:0 1px 0 rgba(255,255,255,.2)}
.pstatus{font-size:8.5px;letter-spacing:.26em;font-weight:800;color:#79808E;transition:color .12s}
.serial{position:absolute;bottom:7px;right:11px;font-size:6.5px;letter-spacing:.2em;
  color:rgba(18,21,26,.5);text-shadow:0 1px 0 rgba(255,255,255,.18);z-index:2}
.screw{position:absolute;width:8px;height:8px;border-radius:50%;z-index:2;
  background:radial-gradient(circle at 36% 32%,#C3C9D4,#6C7381 55%,#2C3038);
  box-shadow:0 1px 1px rgba(255,255,255,.2),inset 0 -1px 2px rgba(0,0,0,.6)}
.screw::after{content:"";position:absolute;left:50%;top:2px;bottom:2px;width:1.4px;margin-left:-.7px;
  background:rgba(0,0,0,.55);border-radius:1px;transform:rotate(28deg)}
.screw.tl{top:10px;left:12px}.screw.tr{top:10px;right:12px}
.glowbar{position:absolute;left:14%;right:14%;top:10px;height:3px;border-radius:2px;
  background:#00E27A;opacity:0;transition:opacity .12s;z-index:3;
  box-shadow:0 0 14px rgba(0,226,122,.9),0 0 34px rgba(0,226,122,.5)}

/* HELD — contact strip lights, metal warms under it */
.pad.held{transform:translateY(3px) scale(.994);border-color:#39E58C;
  filter:brightness(1.08) saturate(1.05);
  box-shadow:0 1px 0 rgba(255,255,255,.3) inset, 0 -2px 6px rgba(0,0,0,.5) inset,
             0 0 0 1px rgba(57,229,140,.55), 0 0 34px rgba(0,226,122,.42),
             0 0 90px rgba(0,226,122,.18), 0 8px 22px rgba(0,0,0,.55)}
.pad.held .glowbar{opacity:1}
.pad.held .engrave{color:rgba(10,26,18,.85);
  text-shadow:0 1px 0 rgba(140,255,200,.35),0 -1px 1px rgba(0,0,0,.5)}
.pad.held .pstatus{color:#39E58C}

/* ARMED — the round is live */
.pad.armed .glowbar{opacity:1;animation:armpulse 1.1s ease-in-out infinite}
@keyframes armpulse{0%,100%{opacity:1}50%{opacity:.45}}
.pad.armed .pstatus{color:#39E58C}

/* FAULT */
.pad.caught{border-color:#5FD8EE;
  box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 0 0 1px rgba(95,216,238,.6),
             0 0 36px rgba(95,216,238,.45),0 0 90px rgba(95,216,238,.2),0 8px 22px rgba(0,0,0,.55)}
.pad.caught .glowbar{opacity:1;background:#5FD8EE;
  box-shadow:0 0 14px rgba(95,216,238,.9),0 0 34px rgba(95,216,238,.5)}
.pad.caught .pstatus{color:#5FD8EE}
.pad.err{border-color:#FF5A4E;filter:brightness(1.04) saturate(1.2) hue-rotate(-8deg);
  box-shadow:0 0 0 1px rgba(255,90,78,.6),0 0 34px rgba(255,59,48,.42),0 8px 22px rgba(0,0,0,.55)}
.pad.err .glowbar{opacity:1;background:#FF3B30;
  box-shadow:0 0 14px rgba(255,59,48,.9),0 0 34px rgba(255,59,48,.5)}
.pad.err .pstatus{color:#FF5A4E}
.pad.pulse{animation:padpulse 1.5s ease-in-out infinite}
@keyframes padpulse{0%,100%{border-color:#767E8C}50%{border-color:#5FD8EE}}

/* ---------- selectable balls ---------- */
body.ball-cyan .orb{background:radial-gradient(circle at 33% 26%,#E4FEFF 0%,#8CE8F2 15%,#2FA8BC 45%,#155C6E 74%,#052430 100%)}
body.ball-cyan .tball{display:none}
body.ball-cyan .orb{opacity:1}
body.ball-steel .orb{background:radial-gradient(circle at 33% 26%,#FFFFFF 0%,#E6EBF3 10%,#AEB7C6 34%,#6E7686 62%,#33394A 84%,#171B24 100%)}
body.ball-steel .tball{display:none}
body.ball-steel .orb{opacity:1}
body.ball-copper .orb{background:radial-gradient(circle at 33% 26%,#FFE0C8 0%,#E39A6A 16%,#B2643A 46%,#6E3A1E 74%,#2A1408 100%)}
body.ball-copper .tball{display:none}
body.ball-copper .orb{opacity:1}
body.ball-bone .orb{background:radial-gradient(circle at 33% 26%,#FFFFFF 0%,#F2F0E9 12%,#C8C4B6 38%,#8A867A 68%,#3A382F 100%)}
body.ball-bone .tball{display:none}
body.ball-bone .orb{opacity:1}
body.ball-slick .orb{background:radial-gradient(circle at 33% 26%,#F0E6FF 0%,#9DBEEA 14%,#7E7CD8 32%,#B268C0 52%,#4A4A86 74%,#14121F 100%)}
body.ball-slick .tball{display:none}
body.ball-slick .orb{opacity:1}
body.ball-tennis .orb{opacity:.001}
body.ball-tennis.noimg .orb{opacity:1}
body.ball-tennis.noimg .tball{display:none}
.ballgrid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin:20px 0 8px}
.bcell{aspect-ratio:1;border-radius:16px;border:1.5px solid #23272F;background:#101319;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;cursor:pointer}
.bcell.on{border-color:#5FD8EE;background:#0E1A20;box-shadow:0 0 26px rgba(95,216,238,.16) inset}
.bdot{width:46px;height:46px;border-radius:50%;box-shadow:0 6px 14px rgba(0,0,0,.55)}
.bname{font-size:10px;letter-spacing:.12em;color:#9AA0AE;font-weight:700}
.bcell.on .bname{color:#F4F2EC}

/* ---------- coaching panel (tutorial + demo only) ---------- */
.coach{position:absolute;left:0;right:0;top:52%;z-index:6;padding:0 26px;
  text-align:center;pointer-events:none}
.coach.hidden{display:none}
.ctext{display:block}
.ctext .cstep{display:block;font-size:11px;font-weight:800;letter-spacing:.34em;
  color:#5FD8EE;margin-bottom:14px}
.ctext b{display:block;font-size:36px;font-weight:800;letter-spacing:-.03em;line-height:1.1;
  color:#F4F2EC;text-shadow:0 3px 26px rgba(0,0,0,.95),0 0 60px rgba(0,0,0,.85)}
.ctext .csub{display:block;font-size:16px;font-weight:600;color:#AEB4C2;
  line-height:1.45;margin-top:14px;letter-spacing:0;
  text-shadow:0 2px 14px rgba(0,0,0,.9)}
.carrows{display:flex;justify-content:space-around;padding:0 16%;color:#5FD8EE;
  font-size:22px;margin-top:26px;animation:nudge 1.1s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateY(0);opacity:.45}50%{transform:translateY(8px);opacity:1}}
.coach.nodots .carrows{display:none}

/* ---------- demo framing: the player must know not to touch ---------- */
.demobadge{display:inline-flex;align-items:center;gap:8px;margin:0 auto 18px;
  padding:8px 14px;border-radius:999px;
  background:rgba(11,14,19,.94);border:1px solid #3A4150;backdrop-filter:blur(8px);
  font-size:10px;font-weight:800;letter-spacing:.24em;color:#C6CBD6;
  box-shadow:0 8px 26px rgba(0,0,0,.6)}
.demobadge.hidden{display:none}
.dpulse{width:8px;height:8px;border-radius:50%;background:#5FD8EE;
  animation:dp 1.4s ease-in-out infinite;flex:none}
@keyframes dp{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(95,216,238,.55)}
              50%{opacity:.5;box-shadow:0 0 0 7px rgba(95,216,238,0)}}
/* pads read as locked while the machine is playing */
body.demoing .pad{filter:saturate(.35) brightness(.62);pointer-events:none}
body.demoing .pad .pstatus{color:#5E6472}
body.demoing .hint{opacity:0}

/* ---------- demo thumbs: you must SEE the press and the release ---------- */
.thumb{position:absolute;bottom:26px;width:58px;height:58px;margin-left:-29px;z-index:6;
  border-radius:50%;opacity:0;pointer-events:none;
  background:radial-gradient(circle at 38% 32%,rgba(255,255,255,.95),rgba(226,232,245,.85) 45%,rgba(150,160,180,.7));
  box-shadow:0 6px 18px rgba(0,0,0,.6),0 0 0 3px rgba(255,255,255,.14);
  transition:transform .16s cubic-bezier(.3,1.4,.4,1),opacity .18s}
.thumb.l{left:25%}.thumb.r{left:75%}
.thumb.show{opacity:.92}
.thumb.press{transform:translateY(10px) scale(.92)}
.thumb.lift{transform:translateY(-52px) scale(1.04);opacity:1}
.thumb i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:22px;font-style:normal}

.hint{text-align:center;font-size:11px;letter-spacing:.16em;color:#7C8393;padding:0 18px 12px;min-height:16px}
.hint b{color:var(--bone);font-weight:600}

.sheet{position:absolute;inset:0;background:#0A0B0E;display:flex;flex-direction:column;
  padding:calc(env(safe-area-inset-top) + 26px) 22px calc(env(safe-area-inset-bottom) + 20px);z-index:5;overflow-y:auto;-webkit-overflow-scrolling:touch}
.sheet.hidden{display:none}
.sheet .spacer{flex:1;min-height:8px}
.eyebrow{font-size:10px;letter-spacing:.34em;color:var(--dim);margin-bottom:12px}
h1{font-size:36px;font-weight:800;letter-spacing:-.02em;line-height:1.03;margin-bottom:12px}
.lede{font-size:13.5px;line-height:1.5;color:#9AA0AE;max-width:36ch}
.btn{width:100%;padding:17px;border:none;border-radius:16px;background:var(--bone);color:#1A1C22;
  font-size:13px;font-weight:800;letter-spacing:.16em;font-family:inherit;cursor:pointer;margin-top:10px}
.btn.ghost{background:transparent;color:var(--dim);border:1.5px solid var(--line)}
.btn.ghost.on{color:var(--bone);border-color:var(--bone)}
.btn:disabled{opacity:.4}
.btn.sm{padding:13px;font-size:11px}
.row2{display:flex;gap:10px}

.modes{margin:20px 0 4px;border-top:1px solid var(--line)}
.mode{display:flex;align-items:center;gap:14px;padding:16px 2px;border-bottom:1px solid var(--line);cursor:pointer}
.mode .ic{width:36px;height:36px;border-radius:11px;border:1px solid var(--line2);background:#14161B;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:var(--dim);flex:none}
.mode .tx{flex:1}
.mode .tt{font-size:14px;font-weight:700;letter-spacing:.02em}
.mode .ss{font-size:11px;color:var(--dim);margin-top:3px;line-height:1.4}
.mode .go{color:var(--dim);font-size:16px}
.mode.done .ic{border-color:var(--good);color:var(--good)}

.idbar{display:flex;align-items:center;gap:10px;margin-top:14px}
.idbar label{font-size:10px;letter-spacing:.2em;color:var(--dim)}
.idbar input{flex:1;background:var(--surface);border:1.5px solid var(--line);border-radius:12px;
  padding:12px 14px;color:var(--bone);font-size:15px;font-weight:700;letter-spacing:.3em;
  font-family:ui-monospace,Menlo,monospace;text-transform:uppercase;outline:none;width:100%}
.idbar input:focus{border-color:var(--bone)}

.streaks{display:flex;gap:10px;margin-top:16px}
.stat{flex:1;background:linear-gradient(180deg,#16191F,#0F1216);border:1px solid var(--line);border-radius:16px;padding:13px}
.stat .k{font-size:9px;letter-spacing:.2em;color:var(--dim)}
.stat .v{font-size:22px;font-weight:800;margin-top:5px;letter-spacing:-.02em}

.adwrap{position:absolute;inset:0;z-index:12;background:#050608;display:flex;align-items:center;justify-content:center;padding:24px}
.adwrap.hidden{display:none}
.adbox{width:100%;max-width:340px;text-align:center}
.adtag{font-size:9px;letter-spacing:.3em;color:#5E6472;margin-bottom:18px}
.adart{height:180px;border-radius:20px;border:1px dashed #2B303B;background:#0E1116;
  display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.adorb{width:64px;height:64px;border-radius:50%;
  background:radial-gradient(circle at 34% 27%,#FFC79A,#FF9048 24%,#F2661A 54%,#B8420B 80%,#5E2206);
  animation:bob 1.6s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(-8px)}50%{transform:translateY(8px)}}
.adcopy{font-size:16px;font-weight:700;color:#8E95A5;margin-bottom:20px}
.adtimer{font-size:34px;font-weight:800;margin-bottom:14px}
.ecount{display:flex;align-items:baseline;gap:10px;padding:0 18px 10px}
.ecount.hidden{display:none}
.ecount .n{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1}
.ecount .l{font-size:9px;letter-spacing:.22em;color:#767C8B}
.ecount .w{margin-left:auto;font-size:11px;color:#767C8B}
.pbbar{display:flex;gap:26px;margin:20px 0 6px}
.pbcell{flex:0 1 auto;background:none;border:0;border-radius:0;box-shadow:none;padding:0}
.pbk{font-size:8.5px;letter-spacing:.2em;color:#7B8393;font-weight:800}
.pbv{font-size:24px;font-weight:800;letter-spacing:-.02em;margin-top:4px;color:#FFFFFF}
/* still flat and borderless — prominent through weight and contrast, not chrome */
.pbcell:first-child .pbv{color:#FFFFFF}
.hero{font-size:34px;font-weight:800;letter-spacing:-.03em;line-height:1.04;margin-bottom:11px}
.primary{border-radius:20px;padding:18px;cursor:pointer;margin-top:12px;
  background:linear-gradient(150deg,#2A1508,#171A21 62%);border:1px solid #4A2A12;
  box-shadow:0 10px 34px rgba(0,0,0,.45)}
.primary:active{transform:scale(.99)}
.primary.done{background:linear-gradient(150deg,#0F1A14,#171A21 62%);border-color:#1F3A2A}
.ptop{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:9px}
.pkicker{font-size:9px;letter-spacing:.26em;color:#FF9048;font-weight:800}
.primary.done .pkicker{color:var(--good)}
.pclock{font-size:10px;color:#8A8F9E;letter-spacing:.04em}
.ptitle{font-size:21px;font-weight:800;letter-spacing:-.02em;
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.psub{font-size:13.5px;color:#C3CAD8;margin-top:6px;line-height:1.45}
.howrow{display:flex;align-items:center;gap:13px;margin-top:12px;padding:15px 16px;cursor:pointer;
  border-radius:16px;border:1px solid #2E333E;background:#14171E}
.howrow:active{background:#191D25}
.howrow.first{border-color:#FF9048;background:linear-gradient(150deg,#2A1508,#14171E 70%);
  padding:18px;margin-bottom:0;animation:hpulse 2.4s ease-in-out infinite}
.howrow.first .hic{width:42px;height:42px}
.howrow.first .hic svg{width:17px;height:17px}
.howrow.first .hname{font-size:18px;font-weight:800;letter-spacing:-.01em}
.howrow.first .hsub{font-size:12px;margin-top:4px}
.howrow.done{margin-top:12px}
@keyframes hpulse{0%,100%{box-shadow:0 0 0 0 rgba(255,144,72,0)}50%{box-shadow:0 0 0 4px rgba(255,144,72,.10)}}
.hic{width:34px;height:34px;border-radius:50%;border:1px solid #3A4150;display:flex;align-items:center;
  justify-content:center;color:#9AA0AE;flex:none}
.howrow.first .hic{border-color:#FF9048;color:#FF9048}
.hic svg{width:14px;height:14px;margin-left:2px}
.htx{flex:1}
.hname{font-size:13.5px;font-weight:700}
.hsub{font-size:11px;color:#767C8B;margin-top:2px}
.hgo{color:#5E6472;font-size:16px}
.nextdrop{display:flex;align-items:baseline;gap:9px;margin-top:14px;padding-top:13px;
  border-top:1px solid rgba(255,255,255,.08)}
.nextdrop.hidden{display:none}
.ndlabel{font-size:9px;letter-spacing:.24em;color:#767C8B;font-weight:700}
.ndclock{font-size:19px;font-weight:800;letter-spacing:-.01em;color:#FF9048;margin-left:auto}
.pbonus{width:100%;margin-top:13px;padding:14px;border-radius:13px;cursor:pointer;
  border:1px solid #4A5160;background:#1B1F27;color:#F4F2EC;
  font-family:inherit;font-size:11px;font-weight:800;letter-spacing:.14em}
.pbonus.hidden{display:none}
.pbonus:active{background:#232833}
.tiles{display:flex;gap:10px;margin-top:12px}
.tile{flex:1;background:#13161C;border:1px solid #23272F;border-radius:16px;padding:18px 10px;
  text-align:center;cursor:pointer}
.tile:active{background:#181C24}
.tic{font-size:15px;font-weight:800;color:#8A8F9E;margin-bottom:7px}
.tname{font-size:12px;font-weight:700}
.tsub{font-size:9.5px;color:#767C8B;margin-top:3px;line-height:1.3}
.btmrow{display:flex;gap:10px;margin-top:14px;justify-content:center}
.btm{flex:0 1 152px;display:flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 12px;border-radius:15px;border:1px solid #2E333E;background:#14171E;cursor:pointer}
.btm:active{background:#191D25}
.btmic{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:10px;color:#9AA0AE;border:1px solid #3A4150;flex:none}
#btmBall{border:none;background:url('/tennis.png') center/contain no-repeat}
body.ball-cyan  #btmBall{background:radial-gradient(circle at 33% 26%,#E4FEFF,#8CE8F2 15%,#2FA8BC 45%,#155C6E 74%,#052430)}
body.ball-steel #btmBall{background:radial-gradient(circle at 33% 26%,#FFFFFF,#E6EBF3 10%,#AEB7C6 34%,#6E7686 62%,#33394A 84%,#171B24)}
body.ball-copper#btmBall{background:radial-gradient(circle at 33% 26%,#FFE0C8,#E39A6A 16%,#B2643A 46%,#6E3A1E 74%,#2A1408)}
body.ball-bone  #btmBall{background:radial-gradient(circle at 33% 26%,#FFFFFF,#F2F0E9 12%,#C8C4B6 38%,#8A867A 68%,#3A382F)}
body.ball-slick #btmBall{background:radial-gradient(circle at 33% 26%,#F0E6FF,#9DBEEA 14%,#7E7CD8 32%,#B268C0 52%,#4A4A86 74%,#14121F)}
.btmt{font-size:13.5px;font-weight:700;letter-spacing:.01em;color:#E4E7EE}
.stat-inline{display:block;text-align:center;font-size:10.5px;color:#5E6472;margin-top:12px;letter-spacing:.06em}
.minirow{display:flex;align-items:center;gap:9px;margin-top:18px;font-size:11px;color:#767C8B;flex-wrap:wrap}
.minirow span{cursor:pointer}
.minirow .dot{color:#3A4150;cursor:default}
.minirow .stat-inline{margin-left:auto;cursor:default;letter-spacing:.04em}
.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.avatar{width:44px;height:44px;border-radius:50%;border:1px solid #2B303B;background:#13161C;
  display:flex;align-items:center;justify-content:center;color:#8E95A5;position:relative;cursor:pointer;flex:none}
.avatar:active{transform:scale(.94)}
.avatar svg{width:22px;height:22px}
.avatar.in{color:#F4F2EC;border-color:#3A4150}
.avdot{position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;
  background:var(--good);border:2px solid #0A0B0E}
.avdot.hidden{display:none}
.scrim{position:absolute;inset:0;background:rgba(4,5,7,.72);z-index:8;backdrop-filter:blur(3px)}
.scrim.hidden,.authsheet.hidden{display:none}
.authsheet{position:absolute;left:0;right:0;bottom:0;z-index:9;background:#101319;
  border-top:1px solid #262A33;border-radius:26px 26px 0 0;
  padding:12px 22px calc(env(safe-area-inset-bottom) + 20px);
  box-shadow:0 -20px 60px rgba(0,0,0,.6);animation:rise .28s cubic-bezier(.2,.9,.25,1)}
@keyframes rise{from{transform:translateY(100%)}to{transform:translateY(0)}}
.grab{width:38px;height:4px;border-radius:3px;background:#333845;margin:0 auto 18px}
.authsheet h2{font-size:24px;font-weight:800;letter-spacing:-.02em;margin-bottom:10px}
.authsub{font-size:13.5px;line-height:1.55;color:#9AA0AE;margin-bottom:16px}
.perks{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;font-weight:700;letter-spacing:.04em;color:#F4F2EC;margin-bottom:18px}
.perks span:nth-child(even){color:#4A5060;font-weight:400}
.btn.oauth{background:#F4F2EC;color:#101319;display:flex;align-items:center;justify-content:center;gap:10px;
  letter-spacing:.02em;font-size:15px;font-weight:700;text-transform:none}
.gmark{font-weight:800;font-size:15px}
.authsheet.signedin .perks,.authsheet.signedin .oauth,.authsheet.signedin .fineprint{display:none}
#contBtn,#giveUp{display:none}
.authsheet.continuemode #contBtn,.authsheet.continuemode #giveUp{display:block}
.authsheet.continuemode .perks,.authsheet.continuemode .oauth,
.authsheet.continuemode .fineprint,.authsheet.continuemode #skipAuth,
.authsheet.continuemode #signOutBig{display:none}
.authsheet.signedin #signOutBig{display:block}
#signOutBig{display:none}
.fineprint{font-size:10.5px;color:#5E6472;line-height:1.5;margin-top:12px;text-align:center}
.acct{display:flex;align-items:center;gap:9px;margin-top:14px;padding:11px 13px;
  border:1px solid #262A33;border-radius:14px;background:#13161C}
.acct .dot{width:8px;height:8px;border-radius:50%;background:var(--good);flex:none}
.acct .t{flex:1;font-size:12px;color:#9AA0AE}
.acct .t b{color:#F4F2EC;font-weight:700}
.acct .out{font-size:10px;letter-spacing:.14em;color:#5E6472;cursor:pointer}
.resTop{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}
.closex{width:36px;height:36px;border-radius:50%;background:#191D25;border:1px solid #2B303B;
  display:flex;align-items:center;justify-content:center;color:#C6C9D4;cursor:pointer;flex:none;margin-top:-4px}
.closex:active{background:#222731}
.closex svg{width:16px;height:16px}
.resDate{font-size:12px;letter-spacing:.06em;color:#F4F2EC;font-weight:600}
.resClock{font-size:11px;letter-spacing:.04em;color:#767C8B;margin-top:4px}
.rankline{display:flex;align-items:baseline;gap:7px;margin-bottom:6px}
.rankline .rk{font-size:19px;font-weight:800;color:var(--good)}
.rankline .of{font-size:15px;color:#5E6472}
.scale{margin:16px 0 14px}
.sbar{position:relative;height:5px;border-radius:3px;
  background:linear-gradient(90deg,var(--fast) 0%,var(--fast) 42%,var(--good) 42%,var(--good) 60%,var(--slow) 60%,var(--slow) 100%);opacity:.55}
.sbar i{position:absolute;top:-5px;width:3px;height:15px;border-radius:2px;background:#fff;
  box-shadow:0 0 10px rgba(255,255,255,.7);transition:left .5s cubic-bezier(.2,.9,.2,1)}
.skeys{display:flex;justify-content:space-between;margin-top:7px;font-size:9px;letter-spacing:.12em;color:#767C8B}
.btn.big{padding:19px;font-size:14px}
.btn.bonus{background:#191D25;color:#F4F2EC;border:1px solid #3A4150}
.btn.bonus:active{background:#222731}
.btn.bonus:disabled{color:#5E6472;border-color:#262A33}
.sharecard{margin-top:20px;background:#0E1116;border:1px solid #23272F;border-radius:18px;padding:15px}
.scTop{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:11px}
.scWho{font-size:12px;letter-spacing:.2em;color:#767C8B}
.scScore{font-size:17px;font-weight:800}
.scBars{display:flex;gap:5px;height:52px}
.scBars .b{flex:1;border-radius:5px;position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;padding-bottom:5px}
.scBars .b span{font-size:10px;font-weight:800;color:rgba(10,11,14,.85)}
.scRule{height:1px;background:#23272F;margin:13px 0 11px}
.scFoot .scTitle{font-size:11.5px;font-weight:700;letter-spacing:.03em}
.scFoot .scLine{font-size:13px;letter-spacing:.06em;margin-top:5px;color:#C6C9D4}
.adwrap{position:absolute;inset:0;z-index:12;background:#05060A;display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding:30px;text-align:center}
.adwrap.hidden{display:none}
.adbox{width:100%;max-width:300px;aspect-ratio:5/4;border-radius:18px;border:1px dashed #2B303B;
  background:linear-gradient(140deg,#141821,#0C0F14);display:flex;align-items:center;justify-content:center;
  color:#4A5060;font-size:11px;letter-spacing:.24em;margin-bottom:20px}
.adnote{font-size:12px;color:#767C8B;letter-spacing:.04em}
.adskip{margin-top:16px;font-size:11px;letter-spacing:.18em;color:#5E6472}
.inimodal{position:absolute;left:22px;right:22px;top:34%;z-index:12;background:#101319;
  border:1px solid #2B303B;border-radius:20px;padding:20px}
.inimodal.hidden{display:none}
.inimodal h3{font-size:17px;font-weight:800;margin-bottom:7px}
.inimodal p{font-size:12px;color:#767C8B;line-height:1.5;margin-bottom:14px}
.inimodal input{width:100%;background:#181C24;border:1.5px solid #2B303B;border-radius:13px;
  padding:14px;color:#F4F2EC;font-size:22px;font-weight:800;letter-spacing:.4em;text-align:center;
  font-family:ui-monospace,Menlo,monospace;text-transform:uppercase;outline:none}
.inimodal input:focus{border-color:#F4F2EC}
.bigscore{font-size:76px;font-weight:800;letter-spacing:-.05em;line-height:.86}
.bigscore em{font-style:normal;font-size:20px;color:var(--dim);letter-spacing:0;margin-left:6px}
.verdict{font-size:12px;letter-spacing:.28em;font-weight:700;margin-top:12px}
.roast{font-size:14px;color:#C6C9D4;margin-top:10px;line-height:1.5;max-width:32ch}
.rounds{margin:20px 0;border-top:1px solid var(--line)}
.row{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}
.row .n{color:var(--dim);font-size:10px;letter-spacing:.14em;width:26px}
.row .bar{flex:1;height:5px;background:var(--line);border-radius:3px;overflow:hidden}
.row .bar i{display:block;height:100%;border-radius:3px}
.row .v{width:74px;text-align:right;font-size:12px}
.bench{margin:-4px 0 18px}
.bench-bar{position:relative;height:4px;background:var(--line);border-radius:2px;overflow:hidden}
.bench-bar i{position:absolute;top:0;height:100%;display:block;opacity:.85}
.bench-keys{display:flex;justify-content:space-between;margin-top:7px;font-size:9px;letter-spacing:.12em;color:var(--dim)}

.lb{margin:14px 0;border-top:1px solid var(--line)}
.lbrow{display:flex;align-items:center;gap:12px;padding:11px 2px;border-bottom:1px solid var(--line);font-size:13px}
.lbrow .rk{width:30px;color:var(--dim);font-size:11px}
.lbrow .ini{flex:1;font-weight:700;letter-spacing:.14em}
.lbrow .sc{font-size:13px;font-weight:700}
.lbrow.me{background:linear-gradient(90deg,rgba(176,38,255,.16),transparent);margin:0 -8px;padding-left:10px;padding-right:10px;border-radius:8px}
.lbrow.me .rk,.lbrow.me .ini{color:var(--bone)}
.empty{padding:26px 0;color:var(--dim);font-size:13px;line-height:1.6}
.tabs{display:flex;gap:8px;margin:4px 0 6px}
.tab{flex:1;padding:10px;border-radius:11px;border:1.5px solid var(--line);text-align:center;
  font-size:10px;letter-spacing:.16em;color:var(--dim);cursor:pointer}
.tab.on{border-color:var(--bone);color:var(--bone)}
.vs{display:flex;gap:10px;margin:18px 0}
.vscard{flex:1;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;text-align:center}
.vscard.win{border-color:var(--fast);background:linear-gradient(180deg,rgba(176,38,255,.14),transparent)}
.vscard .who{font-size:10px;letter-spacing:.2em;color:var(--dim)}
.vscard .num{font-size:30px;font-weight:800;margin-top:8px;letter-spacing:-.03em}
.vscard .tag2{font-size:9px;letter-spacing:.16em;margin-top:6px;color:var(--dim)}
/* The challenge, stated as a challenge. */
.duelCall{background:var(--surface);border:1px solid var(--line);border-radius:18px;
  padding:20px 16px;text-align:center;margin:14px 0}
.duelCall .dcWho{font-size:10px;letter-spacing:.22em;color:var(--dim);text-transform:uppercase}
.duelCall .dcNum{font-size:46px;font-weight:800;letter-spacing:-.04em;margin-top:8px;color:var(--bone)}
.duelCall .dcNum em{font-size:15px;font-style:normal;color:var(--dim);margin-left:4px;letter-spacing:0}
.duelCall .dcSub{font-size:12px;color:var(--dim);margin-top:8px}
.duelWait{background:var(--surface);border:1px dashed var(--line);border-radius:16px;
  padding:15px;text-align:center;font-size:12px;color:var(--dim);margin:14px 0}
#duelResult:empty{display:none}
.codebox{background:var(--surface);border:1.5px dashed var(--line);border-radius:14px;padding:14px;
  text-align:center;font-size:20px;font-weight:800;letter-spacing:.4em;margin:14px 0 4px}
.note{font-size:11px;color:var(--dim);line-height:1.6;margin-top:10px}
.back{display:inline-flex;align-items:center;gap:6px;font-size:10px;letter-spacing:.2em;font-weight:700;
  color:#D8DAE2;margin:0 0 18px 0;padding:10px 14px 10px 11px;border-radius:12px;
  border:1px solid #363C48;background:#171B22;cursor:pointer;align-self:flex-start;font-weight:800}
.back:active{background:#1A1E26}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* A refused score post — visible and retryable, never a silent console warning. */
.posterr{margin-top:12px;padding:12px 14px;border-radius:12px;cursor:pointer;
  border:1px solid #5A2A26;background:linear-gradient(180deg,#2A1512,#1A100E);
  color:#FF8A7A;font-size:12px;font-weight:700;letter-spacing:.06em;text-align:center}
.posterr:active{background:#331A16}
.posterr.hidden{display:none}

/* ---------------- grade zones ----------------
   A read-out behind each lane: where the ball actually is when the clock reads
   300 / 380 / 460ms. Every edge is positioned from the real fall curve in JS —
   nothing here assumes even spacing. Purely decorative, never hit-tested. */
.zones{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .3s}
.zones.on{opacity:1}
.zlane{position:absolute;top:0;bottom:0;width:84px;margin-left:-42px}
.zlane.l{left:28%}
.zlane.r{left:72%}
.zband{position:absolute;left:0;right:0;display:block;border-radius:3px;
  transition:top .3s cubic-bezier(.2,.9,.2,1),height .3s cubic-bezier(.2,.9,.2,1)}
.zb-elite{background:linear-gradient(rgba(168,92,255,.14),rgba(168,92,255,.035))}
.zb-sharp{background:linear-gradient(rgba(0,226,122,.13),rgba(0,226,122,.03))}
.zb-avg  {background:linear-gradient(rgba(255,212,0,.12),rgba(255,212,0,.03))}
.zb-miss {background:linear-gradient(rgba(255,59,48,.14),rgba(255,59,48,.045))}
/* boundary tick across both lanes, ms value in the right margin */
.zcut{position:absolute;left:16px;right:16px;height:0;
  border-top:1px dashed rgba(206,216,232,.19);transition:top .3s cubic-bezier(.2,.9,.2,1)}
.zcut b{position:absolute;right:0;top:-13px;font-size:9px;font-weight:700;letter-spacing:.14em;
  color:#798194;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-variant-numeric:tabular-nums}
/* zone name in the left margin, clear of both lanes */
.zname{position:absolute;left:16px;font-size:8px;font-weight:800;letter-spacing:.22em;opacity:.8;
  transition:top .3s cubic-bezier(.2,.9,.2,1)}
.zn-elite{color:#A85CFF}
.zn-sharp{color:#00E27A}
.zn-avg{color:#FFD400}
.zn-miss{color:#FF5A4E}
@media (prefers-reduced-motion:reduce){.zband,.zcut,.zname{transition:none}}

/* ---------------- launch build: sign-in hidden ----------------
   Mirrors AUTH_ENABLED=false in game.js. The account sheet still exists and the
   endless "continue" offer still uses it (.continuemode shows only that), but
   nothing offers a sign-in that cannot actually sign you in. */
body.noauth #avatarBtn{display:none}
body.noauth .authsheet .oauth,
body.noauth .authsheet .perks,
body.noauth .authsheet .fineprint,
body.noauth .authsheet #signOutBig{display:none}

/* small legal link at the foot of home */
.legal{text-align:center;padding:12px 0 2px}
.legal a,.legal .llink{color:#565D6B;font-size:9.5px;letter-spacing:.2em;font-weight:700;
  text-decoration:none;padding:6px 10px;border-radius:8px;cursor:pointer}
.legal a:active{color:#9AA0AE;background:#14171E}

/* muted state for the sound toggle */
.btm.off .btmic{color:#5A6070;border-color:#2B303B}
.btm.off .btmt{color:#7E8697}

/* the daily card once played: rank leads, the tap-through is clearly readable */
.primary.done .psub{color:#E2E7F0;font-weight:600}

/* your standing, sitting beside your time on the daily card */
.prank{font-size:13.5px;font-weight:700;letter-spacing:.01em;color:#B9C1D0;white-space:nowrap}
.prank.hidden{display:none}

/* ---------------- leaderboard corner ----------------
   A persistent glance at where you stand. It shares a right-hand group with the
   account button, so the two cannot collide when sign-in comes back — today the
   avatar is hidden by body.noauth and the trophy simply sits alone. */
.topright{display:flex;align-items:center;gap:10px}
.trophy{width:44px;height:44px;border-radius:50%;border:1px solid #4A3E23;
  background:radial-gradient(circle at 34% 28%,#1E1B15,#141519 70%);
  display:flex;align-items:center;justify-content:center;color:#D9A94C;position:relative;
  cursor:pointer;flex:none;transition:color .15s,border-color .15s,box-shadow .15s}
.trophy svg{width:23px;height:23px}
.trophy:active{transform:scale(.94)}
/* once you are on today's board it warms up and catches the light */
.trophy.ranked{color:#F3C85E;border-color:#6B5528;
  box-shadow:0 0 0 1px rgba(243,200,94,.10), 0 0 18px rgba(226,178,72,.16)}
/* the rank itself, tucked on the shoulder of the circle */
.tbadge{position:absolute;top:-5px;right:-7px;min-width:21px;height:18px;padding:0 5px;
  border-radius:9px;background:#241E12;border:1px solid #6B5528;color:#F6E3B0;
  font-size:10px;font-weight:800;line-height:16px;text-align:center;
  font-family:ui-monospace,"SF Mono",Menlo,monospace}
.tbadge.hidden{display:none}

/* the newcomer's card is only for newcomers; afterwards it is a footer line */
.howrow.hidden{display:none}
.legal .ldot{color:#3A4150;font-size:9.5px}
.legal .llink.hidden,.legal .ldot.hidden{display:none}
.legal .llink:active{color:#9AA0AE;background:#14171E}

/* ---------------- short screens ----------------
   Home fits without scrolling on 844pt and taller. On a 667pt phone it ran over
   by ~165px, so below 760pt everything tightens: type a step down, padding and
   gaps trimmed. Nothing is hidden — the whole screen still reads at a glance. */
@media (max-height:760px){
  .sheet{padding-top:calc(env(safe-area-inset-top) + 16px);
         padding-bottom:calc(env(safe-area-inset-bottom) + 10px)}
  .topbar{margin-bottom:12px}
  .trophy,.avatar{width:40px;height:40px}
  .trophy svg{width:21px;height:21px}
  .avatar svg{width:20px;height:20px}
  .hero{font-size:26px;line-height:1.06;margin-bottom:8px}
  .lede{font-size:12.5px;line-height:1.42}
  .pbbar{margin:12px 0 2px;gap:22px}
  .pbv{font-size:21px}
  #home .spacer[style]{max-height:8px !important}
  .howrow{margin-top:8px;padding:12px 14px}
  .howrow.first{padding:14px}
  .howrow.first .hname{font-size:16px}
  .primary{margin-top:8px;padding:14px}
  .ptitle{font-size:19px}
  .psub{font-size:12.5px;margin-top:4px}
  .nextdrop{margin-top:10px;padding-top:9px}
  .ndclock{font-size:17px}
  .pbonus{margin-top:9px;padding:11px}
  .tiles{margin-top:8px}
  .tile{padding:12px 8px}
  .btmrow{margin-top:9px}
  .btm{padding:11px 12px}
  .legal{padding:6px 0 0}
}

/* Very short (640pt and under): one more step down. Still nothing hidden. */
@media (max-height:660px){
  .sheet{padding-top:calc(env(safe-area-inset-top) + 12px)}
  .topbar{margin-bottom:8px}
  .hero{font-size:23px;margin-bottom:6px}
  .lede{font-size:12px;line-height:1.38}
  .pbbar{margin:9px 0 0;gap:18px}
  .pbk{font-size:7.5px}
  .pbv{font-size:19px}
  .howrow{padding:10px 12px}
  .howrow.first{padding:12px}
  .primary{padding:12px}
  .ptitle{font-size:18px}
  .psub{font-size:12px}
  .nextdrop{margin-top:8px;padding-top:7px}
  .ndclock{font-size:16px}
  .pbonus{margin-top:7px;padding:10px}
  .tile{padding:10px 8px}
  .btm{padding:9px 12px}
  .legal{padding:4px 0 0}
}

/* 568pt and under (iPhone 5s/SE-1 era). The only tier that drops something: the
   descriptive paragraph goes, because at this height it costs ~60px and the
   How-to-play card already explains the game to a newcomer. */
@media (max-height:580px){
  .lede{display:none}
  .legal{padding:2px 0 0}
  .hero{font-size:21px;margin-bottom:4px}
  .pbbar{margin:8px 0 0;gap:14px}
  .pbv{font-size:18px}
  .primary{padding:11px;margin-top:7px}
  .howrow{margin-top:7px}
  .tiles{margin-top:7px}
  .tile{padding:9px 6px}
  .btmrow{margin-top:7px}
  .btm{padding:8px 10px}
}
