/* ===== Hits-a-Century — THE CENTURY DIAL (first non-grid canvas) ===== */
#game4 .frame{display:flex;flex-direction:column;height:100vh;height:100dvh;height:var(--vvh,100dvh);max-width:480px;margin:0 auto;overflow:hidden;
  background:radial-gradient(120% 90% at 50% -10%, #161B26 0%, var(--ink) 55%, #07090D 100%);border-left:1px solid var(--hair);border-right:1px solid var(--hair);position:relative}
.cydial-wrap{position:relative;width:min(72%,290px);aspect-ratio:1;flex:none}
.cydial-wrap svg{width:100%;height:100%;display:block}
.cy-track{fill:none;stroke:#1B1F29;stroke-width:12}
.cy-ticks{stroke:#262C38;stroke-width:1}
#cyArc{fill:none;stroke:var(--good);stroke-width:12;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%;
  stroke-dasharray:527.8;stroke-dashoffset:527.8;transition:stroke-dashoffset .55s cubic-bezier(.3,.9,.35,1)}   /* single consistent green (founder 2026-07-07) */
#cyArc.notrans{transition:none}
.cy-summit{fill:var(--hot1);filter:drop-shadow(0 0 4px rgba(255,214,107,.8))}
/* the hit number stays fresh white in this game — on the reveal counter too (no molten strike phase) */
#game4 .reveal.struck{color:var(--ice);background:none;-webkit-background-clip:initial;background-clip:initial;-webkit-text-fill-color:var(--ice);filter:none}
#game4 .reveal .ball2{color:var(--ice);-webkit-text-fill-color:var(--ice)}
#game4 .reveal.cooled .ball2,#game4 .reveal.cooled.hit .ball2{color:var(--ice);-webkit-text-fill-color:var(--ice)}
/* the travelling ball — carries THIS climb around the ring */
#cyBallRot{transform-origin:100px 100px;transition:transform .65s cubic-bezier(.3,.9,.35,1)}
#cyBallCtr{transition:transform .65s cubic-bezier(.3,.9,.35,1)}
#cyBallRot.notrans,#cyBallCtr.notrans{transition:none}
.cy-ball{fill:#181C25;stroke:var(--hot1);stroke-width:2;filter:drop-shadow(0 0 6px rgba(255,214,107,.5))}
.cy-balltxt{fill:var(--ice);font-family:"IBM Plex Mono",monospace;font-size:9px;font-weight:700}
.cydial-wrap.crest::after{content:"";position:absolute;inset:-6%;border-radius:50%;border:3px solid var(--hot1);
  box-shadow:0 0 40px rgba(255,190,80,.75),inset 0 0 30px rgba(255,190,80,.35);animation:cframe 1.2s ease;pointer-events:none}
.cy-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none}
.cy-center .lbl{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--faint);font-weight:600}
.cy-center .gap{font-family:"IBM Plex Mono",monospace;font-weight:800;font-size:clamp(38px,13vw,56px);line-height:1.05;color:var(--ice);transition:color .3s}
.cy-center .sub{font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--faint);margin-top:2px;min-height:14px}
.cydial-wrap.armed .cy-center .gap{color:var(--hot1);animation:tpulse 1.1s ease-in-out infinite}
/* century banked → the dial rests until the player taps it to open the next climb */
.cydial-wrap.resume{cursor:pointer}
.cydial-wrap.resume .cy-center .sub{color:var(--hot1);font-weight:700;animation:tpulse 1.4s ease-in-out infinite}
.cy-tokens{flex:none;display:flex;flex-wrap:wrap;justify-content:center;gap:5px;min-height:20px;max-width:90%}
.cy-tok{width:18px;height:18px;border-radius:50%;border:1px solid rgba(255,214,107,.55);color:var(--hot1);
  display:grid;place-items:center;font-size:10px;font-weight:700;background:rgba(255,214,107,.08)}
.cy-tok.perfect{background:linear-gradient(180deg,var(--hot1),var(--hot2));color:#1A1206;border-color:#fff;box-shadow:0 0 10px rgba(255,200,90,.8)}
.cy-tok.pop{animation:bump .5s ease}
.flypts.crest{background:linear-gradient(110deg,var(--hot1),var(--hot2));color:#1A1206;font-size:16px;box-shadow:0 6px 20px rgba(255,160,50,.6)}

/* HIT → red RESET while the dial rests full after a century (founder 2026-10-25) */
#cyHit.reset{background:radial-gradient(140% 160% at 50% -20%,#FF8A8A,#E5484D 55%,#B42B30);color:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 -8px 18px rgba(0,0,0,.25) inset,0 14px 34px rgba(229,72,77,.35)}
#cyHit.reset .sub{color:rgba(255,255,255,.85)}
/* the climb's hit trail (founder 2026-10-25): one small circle per hit, where it landed */
.cy-mark circle{fill:#141821;stroke:rgba(70,224,176,.75);stroke-width:1.5}
.cy-mark text{fill:var(--ice);font-family:"IBM Plex Mono",monospace;font-size:8px;font-weight:700}
.cy-mark{animation:cyMarkIn .35s ease-out}
@keyframes cyMarkIn{from{opacity:0}to{opacity:1}}
