.pop-ball-page [hidden]{display:none!important}
.pop-hero{padding:58px 0 40px;background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%)}
.pop-hero-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:36px}
.pop-hero h1{font-size:clamp(40px,6vw,64px);line-height:1.02;letter-spacing:-.055em;margin:12px 0 14px}
.pop-lead{max-width:660px;margin:0;color:#526176;font-size:18px;line-height:1.65}
.pop-back-link{display:inline-flex;margin-top:20px;color:var(--blue);font-size:14px;font-weight:650}
.pop-back-link:focus-visible,.pop-ball-page button:focus-visible{outline:3px solid rgba(37,99,235,.32);outline-offset:3px}
.pop-maturity{display:flex;align-items:flex-start;gap:12px;min-width:220px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.pop-status-dot{width:9px;height:9px;margin-top:6px;flex:0 0 auto;border-radius:50%;background:#7c3aed;box-shadow:0 0 0 4px #f1eafe}
.pop-maturity strong,.pop-maturity span{display:block}.pop-maturity strong{font-size:13px}.pop-maturity div span{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.45}
.pop-game-section{padding:42px 0 84px}
.pop-game-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:22px}
.pop-game-heading h2{margin:5px 0 0;font-size:clamp(26px,3vw,34px);letter-spacing:-.04em;line-height:1.15}
.pop-game-heading>p{max-width:400px;margin:0;color:var(--muted);font-size:14px}
.pop-game-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:22px;align-items:stretch}
.pop-stage-card,.pop-play-panel{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.055)}
.pop-stage-card{padding:18px}
.pop-stage-topline,.pop-stage-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pop-stage-label{display:inline-flex;align-items:center;gap:8px;color:#526176;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.pop-stage-label i{width:8px;height:8px;border-radius:50%;background:#0891b2;box-shadow:0 0 0 4px #cffafe}
.pop-clock{font-variant-numeric:tabular-nums;font-size:13px;font-weight:700;color:#475467}
.pop-stage{position:relative;isolation:isolate;overflow:hidden;min-height:420px;margin:16px 0;border:1px solid #e7edf5;border-radius:18px;background:radial-gradient(ellipse at 50% 48%,#fff 0%,#f7f9fc 70%,#f1f5f9 100%)}
.pop-stage:before{position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 50% 55%,rgba(8,145,178,.08),transparent 45%);content:""}
.spatial-canvas{position:absolute;z-index:0;inset:0;display:none;width:100%;height:100%;pointer-events:none}
.pop-stage.is-spatial .spatial-canvas{display:block}
.pop-stage.is-spatial .touch-bubble{visibility:hidden}
.pop-stage.is-spatial .stage-message{display:none}
.stage-orbit{position:absolute;z-index:-1;border:1px solid rgba(37,99,235,.11);border-radius:50%;pointer-events:none}
.stage-orbit-one{width:280px;height:280px;left:50%;top:50%;transform:translate(-50%,-50%)}
.stage-orbit-two{width:430px;height:430px;left:50%;top:50%;border-color:rgba(124,58,237,.08);transform:translate(-50%,-50%)}
.touch-bubble{position:absolute;z-index:1;width:66px;height:66px;padding:0;border:1px solid rgba(255,255,255,.9);border-radius:50%;box-shadow:0 10px 24px rgba(15,23,42,.12),inset 0 2px 5px rgba(255,255,255,.85);cursor:pointer;touch-action:manipulation;transition:transform .14s ease,opacity .14s ease}
.touch-bubble span{position:absolute;inset:9px;border-radius:50%;background:radial-gradient(circle at 31% 25%,rgba(255,255,255,.93) 0 7%,rgba(255,255,255,.34) 8% 17%,transparent 18%),linear-gradient(145deg,rgba(255,255,255,.46),rgba(255,255,255,0) 52%)}
.touch-bubble:hover:not(:disabled){transform:scale(1.1)}.touch-bubble:active:not(:disabled){transform:scale(.9)}.touch-bubble:disabled{cursor:default;opacity:.88}
.touch-bubble.is-popping{animation:pop-burst .22s ease-out forwards}
@keyframes pop-burst{to{opacity:0;transform:scale(1.42)}}
.bubble-a{left:20%;top:25%;background:linear-gradient(145deg,#60a5fa,#2563eb)}.bubble-b{left:42%;top:16%;width:76px;height:76px;background:linear-gradient(145deg,#c4b5fd,#7c3aed)}.bubble-c{right:17%;top:29%;width:58px;height:58px;background:linear-gradient(145deg,#67e8f9,#0891b2)}.bubble-d{left:25%;bottom:18%;width:59px;height:59px;background:linear-gradient(145deg,#fda4af,#d94670)}.bubble-e{left:52%;bottom:18%;width:72px;height:72px;background:linear-gradient(145deg,#86efac,#16825d)}.bubble-f{right:13%;bottom:22%;width:51px;height:51px;background:linear-gradient(145deg,#fde68a,#b7791f)}
.stage-message{position:absolute;z-index:2;left:50%;top:52%;display:grid;justify-items:center;gap:5px;width:min(80%,290px);padding:17px 18px;border:1px solid rgba(220,228,239,.88);border-radius:16px;background:rgba(255,255,255,.88);box-shadow:0 8px 24px rgba(15,23,42,.055);text-align:center;transform:translate(-50%,-50%);pointer-events:none}
.stage-message-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e0f2fe;color:#0891b2;font-size:18px}.stage-message strong{font-size:14px}.stage-message>span:last-child{color:var(--muted);font-size:12px}
.pop-stage.is-playing .stage-message{opacity:0;visibility:hidden}
.pop-stage-footer{padding:0 2px 2px}.pop-score{color:var(--muted);font-size:13px}.pop-score strong{display:inline-block;margin-left:6px;color:var(--ink);font-size:18px;font-variant-numeric:tabular-nums}
.touch-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.gesture-cursor{position:absolute;z-index:3;width:38px;height:38px;border:3px solid #1d4ed8;border-radius:50%;background:rgba(255,255,255,.35);box-shadow:0 0 0 5px rgba(37,99,235,.15);transform:translate(-50%,-50%);pointer-events:none;transition:left .08s linear,top .08s linear}.gesture-cursor[hidden]{display:none}
.pop-stage.is-spatial .gesture-cursor{border-color:#7c3aed;box-shadow:0 0 0 5px rgba(124,58,237,.16)}
.pop-play-panel{display:flex;flex-direction:column;overflow:hidden}
.pop-ar-block{padding:23px 22px 21px;background:linear-gradient(145deg,#f7fbff,#fff 72%)}
.pop-gesture-block{padding:23px 22px 21px;border-top:1px solid var(--line);background:linear-gradient(145deg,#fbfaff,#fff 72%)}
.pop-panel-mark{display:grid;place-items:center;width:38px;height:38px;margin-bottom:18px;border:1px solid #dce8f7;border-radius:12px;background:#fff;color:var(--blue);font-size:22px}
.pop-ar-block h3,.pop-gesture-block h3,.pop-howto h3{margin:5px 0 8px;font-size:19px;letter-spacing:-.025em;line-height:1.28}
.pop-ar-block>p:not(.eyebrow),.pop-gesture-block>p:not(.eyebrow){margin:0;color:#5b687a;font-size:13px;line-height:1.6}
.pop-ar-block .ar-support{min-height:42px;margin:15px 0 12px!important;padding:9px 10px;border-radius:10px;background:#f7f9fc;color:#536174;font-size:12px!important}
.pop-ar-block .btn{width:100%}.pop-ar-block .btn:disabled{cursor:not-allowed;opacity:.58;transform:none}
.pop-gesture-block .gesture-support{min-height:54px;margin:13px 0 11px!important;padding:9px 10px;border-radius:10px;background:#f7f9fc;color:#536174;font-size:12px!important}
.gesture-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gesture-actions .btn{width:100%}.gesture-actions .btn:disabled{cursor:not-allowed;opacity:.58;transform:none}
.pop-gesture-block .gesture-privacy{margin-top:11px!important;color:#667085;font-size:11px!important;line-height:1.55!important}
.pop-howto{padding:19px 22px 20px;border-top:1px solid var(--line)}
.pop-howto h3{font-size:15px}.pop-howto ol{display:grid;gap:8px;margin:10px 0 0;padding-left:19px;color:#5b687a;font-size:12px;line-height:1.55}
.pop-privacy-note{margin:auto 14px 14px;padding:14px 15px;border:1px solid #e4edf7;border-radius:13px;background:#f8fafc}
.pop-privacy-note strong{font-size:12px}.pop-privacy-note p{margin:5px 0 0;color:#667085;font-size:11px;line-height:1.55}
.ar-canvas{display:none}
.ar-overlay[hidden]{display:none!important}
.ar-overlay{position:fixed;z-index:110;inset:0;pointer-events:none}
.ar-hud{position:absolute;top:max(14px,env(safe-area-inset-top));left:50%;display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:14px;width:min(calc(100% - 28px),560px);padding:12px 14px;border:1px solid rgba(220,228,239,.95);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 12px 34px rgba(15,23,42,.15);color:var(--ink);transform:translateX(-50%);pointer-events:auto}
.ar-hud-copy{display:grid;gap:2px}.ar-hud-label{font-size:12px;font-weight:750}.ar-hud-copy>[role=status]{color:#5b687a;font-size:11px;line-height:1.35}
.ar-hud-stats{display:grid;justify-items:end;gap:1px;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}.ar-hud-stats strong{font-size:13px}
.ar-again,.ar-stop{min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.ar-stop{background:#111827;border-color:#111827;color:#fff}
.ar-presenting .ar-canvas{position:fixed;z-index:100;inset:0;display:block;width:100vw;height:100vh;max-width:none;touch-action:none}
.ar-presenting .site-header,.ar-presenting main>section,.ar-presenting .site-footer{visibility:hidden}
.ar-presenting .ar-overlay{z-index:120}
@media(min-width:721px){.pop-ball-page #agent-launcher{position:static;margin:14px 20px 24px auto}}
@media(max-width:820px){.pop-hero-inner{align-items:flex-start;flex-direction:column;gap:22px}.pop-maturity{min-width:0}.pop-game-grid{grid-template-columns:1fr}.pop-play-panel{display:grid;grid-template-columns:1fr 1fr}.pop-ar-block{grid-row:span 2;border-right:1px solid var(--line)}.pop-howto{border-top:0}.pop-privacy-note{grid-column:1/-1;margin-top:0}}
@media(max-width:600px){.pop-hero{padding:44px 0 32px}.pop-lead{font-size:16px}.pop-game-section{padding:32px 0 58px}.pop-game-heading{display:block}.pop-game-heading>p{margin-top:10px}.pop-stage-card{padding:12px}.pop-stage{min-height:360px}.touch-bubble{transform:scale(.88)}.touch-bubble:hover:not(:disabled){transform:scale(.96)}.pop-play-panel{display:flex}.pop-ar-block{border-right:0}.pop-gesture-block{border-top:1px solid var(--line)}.gesture-actions{grid-template-columns:1fr}.pop-howto{border-top:1px solid var(--line)}.pop-privacy-note{margin:0 14px 14px}.ar-hud{grid-template-columns:minmax(100px,1fr) auto;gap:8px;padding:10px}.ar-hud-stats{grid-column:2;grid-row:1}.ar-hud .ar-stop,.ar-hud .ar-again{grid-column:1 / -1;width:100%}.pop-stage-footer{align-items:flex-start;flex-direction:column}.pop-stage-footer .btn{width:100%}}
@media(max-width:370px){.pop-stage{min-height:320px}.touch-bubble{transform:scale(.78)}.ar-hud-copy>[role=status]{max-width:180px}}
@media(prefers-reduced-motion:reduce){.touch-bubble{transition:none}.touch-bubble.is-popping{animation:none;opacity:.35}}
@media(forced-colors:active){.pop-stage-card,.pop-play-panel,.pop-stage,.pop-maturity,.pop-privacy-note{border:1px solid CanvasText}.touch-bubble{border:2px solid ButtonText}.pop-status-dot{background:Highlight}}
