:root{font-family:Arial,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;color:#f8f8f3;background:#06121e;color-scheme:dark;--gold:#f4cc68;--gold-bright:#ffe79b;--navy:#071d2d;--muted:#aec2ce;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}body{display:flex;justify-content:center;background:radial-gradient(ellipse at 50% 45%,#17413b 0,#0b1f2c 42%,#040c14 78%);overflow:hidden}button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #fff4bd;outline-offset:4px}button:disabled{cursor:default;filter:saturate(.3);opacity:.55}[hidden]{display:none!important}#game{position:relative;touch-action:none;width:100%;max-width:480px;height:100svh;min-height:550px;max-height:1100px;overflow:hidden;isolation:isolate;background:#173648;box-shadow:0 0 110px #0009;user-select:none;-webkit-user-select:none}#pitch{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#00132455 0%,transparent 15%,transparent 60%,#00132022 100%);z-index:1}.hud{position:absolute;z-index:3;top:max(19px,env(safe-area-inset-top));left:21px;right:18px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.wordmark{font-size:28px;font-weight:900;letter-spacing:-1.4px;font-style:italic;color:var(--gold-bright);text-shadow:0 2px 2px #503a20,0 0 16px #0007}.wordmark>span{display:block;margin:7px 0 0 2px;font-style:normal;font-size:10px;letter-spacing:4.8px;font-weight:700;color:#ecf4f6b8;text-shadow:none}.hud-right{display:grid;justify-items:end;gap:8px}.balance-chip{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:1px solid #8ba9c22e;border-radius:9px;background:#00101fcf;box-shadow:0 3px 15px #0003;font-variant-numeric:tabular-nums;font-size:22px;letter-spacing:.3px}.coin{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#fff0b0;background:linear-gradient(135deg,#ffe491,#bd8521);border:2px solid #fff0aa;box-shadow:inset 0 0 0 2px #b98529,0 1px 3px #0005;font-size:13px;text-shadow:0 1px 1px #724b13}.round-stake{background:#061b2bc9;color:var(--gold);padding:6px 10px;border-radius:5px;font-size:14px}.utilities{position:absolute;top:calc(max(19px,env(safe-area-inset-top)) + 71px);right:19px;z-index:3;display:flex;gap:7px}.icon-button{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid #c2d6df45;background:#0521328c;color:#e2ebf0;font-size:17px;font-weight:600;padding:6px}.icon-button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.panel{background:linear-gradient(130deg,#092b3eea,#041725f7 75%);border:1px solid #c6d7cc55;border-top-color:#edda8e80;border-radius:14px;box-shadow:0 10px 38px #0007;color:#f4f5ef;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.entry{position:absolute;z-index:4;bottom:calc(17px + var(--safe-bottom));left:15px;right:15px;padding:20px 18px 12px;animation:panel-in .38s ease both}.entry-heading{text-align:center}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#bbccd5}h1{font-weight:400;font-size:20px;margin:8px 0 16px;letter-spacing:.2px}.stakes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stakes button{position:relative;height:51px;color:#f9f8f1;font-size:27px;background:linear-gradient(#112d40,#061a2b);border:1px solid #8097a680;border-radius:8px;font-variant-numeric:tabular-nums;transition:border-color .16s,background .16s,box-shadow .16s}.stakes button[aria-pressed="true"]{border-color:#f4d777;background:linear-gradient(145deg,#52462a,#302c22);color:#ffe8a0;box-shadow:0 0 0 1px #e9c76650,inset 0 0 16px #f0c55614}.stakes button[aria-pressed="true"]:after{content:"";position:absolute;bottom:-1px;left:36%;right:36%;height:2px;background:#ffde80;box-shadow:0 0 8px #f3c14b}.return-line{text-align:center;margin:15px 0;font-size:14px;color:#d5e0e6}.return-line strong{color:var(--gold);font-weight:700}.primary{width:100%;height:56px;display:flex;align-items:center;justify-content:center;gap:18px;border-radius:8px;border:1px solid #ffeb9b;background:linear-gradient(160deg,#ffe699 0%,#edc35c 52%,#d6a535 100%);color:#302512;font-weight:800;font-size:23px;letter-spacing:.8px;box-shadow:0 3px 0 #a97522,0 6px 15px #0004,inset 0 1px #fff7c7;transition:filter .15s,transform .15s}.primary svg{height:21px;width:21px;stroke:currentColor;stroke-width:2;fill:none}.primary:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #a97522,0 3px 9px #0004}.entry-footer{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-top:12px}.text-button{border:0;background:none;color:#bbd0de;padding:8px 3px;font-size:13px;text-underline-offset:4px}.text-button:hover{text-decoration:underline;color:#fff}.entry-footer>span{font-size:10px;color:#7f9daa}.notice{color:#f5d585;text-align:center;line-height:1.5;font-size:12px;margin:7px 0 0}.reset-coins{display:block;margin:auto;color:var(--gold)}.aim-ui{position:absolute;z-index:3;bottom:calc(22px + var(--safe-bottom));left:14px;right:14px;text-align:center;pointer-events:none;text-shadow:0 2px 10px #002219,0 1px 3px #000}.aim-ui>p{font-size:22px;letter-spacing:-.5px;margin:0 0 8px;font-weight:600}.aim-ui>small{font-size:10px;color:#dbe7e2}.aim-ui .text-button{pointer-events:auto;display:block;margin:12px auto 0;font-size:11px;color:#cbd7d1;background:#001c207d;border-radius:30px;padding:8px 14px}.power{width:126px;margin:0 auto 20px}.power>span{font-size:9px;letter-spacing:2px;color:#fff2c1}.power>div{height:5px;margin-top:8px;border-radius:6px;background:#0005;overflow:hidden}.power i{display:block;height:100%;width:50%;background:linear-gradient(90deg,#c9e9a1,#f9d15c);box-shadow:0 0 10px #f6cc56;transform-origin:left}.result{position:absolute;inset:0;z-index:4;pointer-events:none}.result-title{position:absolute;bottom:calc(305px + var(--safe-bottom));left:0;right:0;text-align:center;animation:goal-title .4s cubic-bezier(.15,1.4,.4,1) both}.result-title .eyebrow{color:#ffe8a6;text-shadow:0 2px 6px #000}.result-title .result-main-title{font-size:68px;line-height:1;font-weight:900;font-style:italic;letter-spacing:-2px;margin:10px 0 0;color:#ffe18a;text-shadow:0 3px 0 #976b24,0 5px 24px #062413}.result-panel{position:absolute;bottom:calc(17px + var(--safe-bottom));left:15px;right:15px;text-align:center;padding:19px 19px 9px;pointer-events:auto;animation:panel-in .4s .08s ease both}.result-panel>p:first-child{font-size:12px;color:#b8d0d9;margin:0 0 10px}.payout{font-size:21px;margin:0 0 5px}.payout strong{font-size:38px;color:var(--gold);font-weight:700;letter-spacing:-1px}.payout>span{color:var(--gold)}.profit{font-size:15px;color:#b6ed99;margin:0}.shot-stats{height:34px;display:flex;align-items:center;justify-content:center;font-size:10px;letter-spacing:.7px;color:#9db3bf}.result-panel .primary{height:52px}.replay-button{font-size:12px;padding:12px 0 4px}.result[data-outcome="miss"] .result-title .result-main-title{font-size:48px;color:#f3f5ed;text-shadow:0 3px 0 #344a4b,0 5px 22px #062413}.result[data-outcome="miss"] .profit{color:#f2b8a9}.replay-skip{position:absolute;bottom:calc(28px + var(--safe-bottom));right:20px;background:#062132dc;border:1px solid #c6d4d57d;color:#f6e6ba;border-radius:30px;padding:10px 20px;z-index:6}.loader{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;background:#061a22ae;z-index:10}.loader p{font-size:11px;letter-spacing:4px;color:#e9d7a5}.loader-ball{font-size:35px;animation:breathe 1.2s infinite}.loading-line{width:100px;height:2px;background:linear-gradient(90deg,transparent,#fbe199,transparent);animation:loading 1.5s infinite}.toast{position:absolute;top:19%;left:50%;transform:translateX(-50%);z-index:12;padding:10px 17px;border:1px solid #c1d5d83b;background:#001c2aed;border-radius:25px;color:#f7edce;max-width:90%;font-size:12px;text-align:center;line-height:1.4;box-shadow:0 3px 20px #0004}.error-panel{position:absolute;z-index:15;top:40%;left:20px;right:20px;padding:24px}.error-panel .dialog-heading{font-size:22px}.error-panel p{font-size:14px;color:#c2d1d8;line-height:1.6}.impact{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 40%,transparent 30%,#ffeabc45 100%)}.impact.flash{animation:impact .45s ease-out}.rules{position:fixed;touch-action:pan-y;z-index:20;width:calc(100% - 32px);max-width:420px;padding:30px 24px 22px;max-height:88svh;overflow:auto;box-shadow:0 20px 100px #0009;background:#092333}.rules::backdrop{background:#000a;backdrop-filter:blur(4px)}.rules .dialog-heading{font-size:26px;line-height:1.25;font-weight:700;max-width:290px;letter-spacing:-.5px}.rules ol{padding:0;list-style:none;counter-reset:steps;display:grid;gap:19px;margin:25px 0}.rules li{position:relative;padding-left:35px;counter-increment:steps}.rules li:before{content:counter(steps);position:absolute;left:0;top:0;font-size:16px;color:var(--gold);width:24px;height:24px;border:1px solid #dfcb7c60;border-radius:50%;display:grid;place-items:center}.rules li strong{display:block;font-size:14px;color:#fff0c3;margin-bottom:6px}.rules li span,.rules p{font-size:12px;line-height:1.7;color:#b5ccd8}.rules .keyboard-note{font-size:10px;color:#839eac}.rules .primary{font-size:17px;height:47px;margin-top:20px}.close-button{position:absolute;right:12px;top:12px;font-size:24px;font-weight:300;padding:0}.rules p{margin-top:20px}
@keyframes panel-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes goal-title{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@keyframes breathe{0%,100%{opacity:.5;transform:scale(.96)}50%{opacity:1;transform:scale(1.05)}}@keyframes loading{0%,100%{opacity:.4;transform:scaleX(.65)}50%{opacity:1;transform:scaleX(1)}}@keyframes impact{0%{opacity:1}100%{opacity:0}}
@media(max-height:740px){.entry{padding:14px 15px 8px;bottom:calc(10px + var(--safe-bottom))}.entry-heading .eyebrow{display:none}h1{margin:0 0 12px;font-size:18px}.stakes button{height:45px;font-size:25px}.return-line{margin:12px 0}.primary{height:49px;font-size:21px}.entry-footer{margin-top:6px}.result-title{bottom:280px}.result-title .result-main-title{font-size:60px}.result-panel{padding:14px 17px 8px;bottom:12px}.aim-ui>small{font-size:9px}.aim-ui{bottom:15px}}
@media(min-width:600px){body{align-items:center;min-height:100svh}#game{width:min(480px,52svh);min-width:350px}.keyboard-note{display:block}}

.power-difficulty-button{position:absolute;top:calc(max(19px,env(safe-area-inset-top)) + 104px);right:19px;z-index:3;display:flex;align-items:center;justify-content:center;gap:6px;width:118px;height:38px;padding:0 7px;border:1px solid #8ccdbb80;border-radius:8px;background:#103934ef;color:#e6fff1;font-size:11px;white-space:nowrap}
.power-difficulty-button{flex-direction:column;gap:2px}
.power-difficulty-button small{font-size:9px;color:#b9d0d6;line-height:12px}
.power-difficulty-button b{color:#77eaaa;font-size:9px;font-variant-numeric:tabular-nums}
.power-difficulty-button:disabled{filter:none;opacity:.45}
.power-difficulty-dialog{position:fixed;width:calc(100% - 32px);max-width:350px;max-height:88svh;overflow:auto;padding:26px 20px 20px;touch-action:pan-y;background:#092333;text-align:center}
.power-difficulty-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}
.power-difficulty-dialog .debug-dialog-title{font-size:25px;line-height:1.3;margin:9px 0 10px}
.power-difficulty-dialog p{color:#b9d0d6;font-size:12px;line-height:1.8}
.difficulty-value-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px}
.difficulty-value-row button{height:40px;padding:0 10px;border:1px solid #a8c6d34a;border-radius:7px;background:#123d46;color:#d8f0eb;font-size:12px}
.difficulty-value-row output{color:#77eaaa;font-weight:800;font-size:34px;letter-spacing:-1px;font-variant-numeric:tabular-nums}
#power-difficulty-range{display:block;width:100%;height:42px;margin:14px 0 0;accent-color:#66d99b;touch-action:none;cursor:pointer}
.difficulty-limits{display:flex;justify-content:space-between;color:#8fadb8;font-size:10px}
.power-difficulty-dialog .difficulty-explanation{padding:12px 5px;margin:21px 0 3px;border:1px solid #9dc5b72b;border-radius:7px;background:#113735;color:#bddacf}
.difficulty-explanation strong{color:#83efb3;font-variant-numeric:tabular-nums}
.power-difficulty-dialog .primary{height:45px;margin-top:16px;font-size:17px}
.power-difficulty-dialog{max-height:90svh;overscroll-behavior:contain;padding:22px 16px 16px;scroll-padding:12px}
.power-difficulty-dialog .debug-dialog-title{font-size:24px;margin:0 0 8px}
.power-difficulty-dialog .debug-intro{font-size:11px;line-height:1.65;margin:0 0 14px}
.debug-section{padding:13px 12px 7px;border:1px solid #93bfbc3d;border-radius:9px;background:#08202bc9;text-align:left}
.debug-section+.debug-section{margin-top:12px}
.debug-section .debug-section-title{display:flex;align-items:center;justify-content:space-between;font-size:15px;margin:0;color:#e9f9ef}
.debug-section .debug-section-title span{font-size:9px;font-weight:400;color:#8cadaa}
.power-difficulty-dialog .debug-section>p{font-size:10px;margin:6px 0 0;line-height:1.5}
.debug-section .difficulty-value-row{margin-top:10px}
.debug-section .difficulty-value-row output{font-size:27px}
.debug-section .difficulty-value-row button{height:35px}
.debug-section .text-button{display:block;margin:2px auto 0;font-size:10px;min-height:32px;padding:7px 3px}
.debug-section #power-difficulty-range{display:block;width:100%;height:34px;margin:5px 0 0;accent-color:#66d99b;touch-action:none;cursor:pointer}
#power-difficulty-range:focus-visible{outline:2px solid #a5f7c9;outline-offset:3px;border-radius:4px}
.power-difficulty-dialog .debug-section .difficulty-explanation{padding:8px 3px;margin-top:10px;text-align:center}
:root{--power-surface:#061d28ed;--power-edge:#d0dcc13d;--power-ink:#eefbf2;--power-high:#a2c4b4;--power-peak:#0b653a}
.power-meter{--power:0;--power-accent:#8b2635;--power-accent-ink:#d3adb2;position:absolute;z-index:3;padding:11px 9px;border:1px solid var(--power-edge);border-radius:10px;background:var(--power-surface);box-shadow:0 5px 18px #00130f38;color:var(--power-ink);pointer-events:none;font-variant-numeric:tabular-nums;text-align:center}
#game>.power-meter{top:58%;right:16px;width:70px}
.power-label{display:block;font-size:10px;line-height:12px}
.power-status{display:block;font-size:8px;line-height:12px;color:#b9c9c7;margin-top:7px}
.power-dial{position:relative;margin-top:5px}
.power-number{display:flex;align-items:baseline;justify-content:center;gap:2px;white-space:nowrap;line-height:1;color:var(--power-accent-ink)}
.power-number strong{font-size:25px;letter-spacing:-1px;font-weight:800}
.power-number>span{font-size:11px;color:#d6d8bd}
.power-quality{display:block;margin-top:5px;font-size:10px;line-height:12px;color:var(--power-accent-ink)}
.power-meter[data-power-tier="excellent"],.power-meter[data-power-tier="max"]{--power-edge:var(--power-peak)}
.power-meter[data-power-tier="max"] .power-column{box-shadow:0 0 0 1px var(--power-high),0 0 10px var(--power-peak)}
.power-vertical{--power-height:126px;display:flex;justify-content:center;gap:6px;height:var(--power-height);margin:9px 0 10px}
.power-scale{display:flex;flex:none;width:35px;flex-direction:column;justify-content:space-between;font-size:8px;line-height:9px;color:#9bacac}
.power-scale>span:first-child{color:var(--power-high);font-weight:700}
.power-scale>span:last-child{color:var(--power-low,var(--power-ink))}
.power-scale em{display:block;margin-top:2px;font-size:8px;line-height:10px;font-style:normal;font-weight:400}
.power-column{position:relative;flex:none;overflow:hidden;width:17px;height:100%;border-radius:4px;background:#ffffff17}
.power-column:before{content:"";position:absolute;inset:0;background:var(--power-gradient);opacity:.18}
.power-column i{position:absolute;display:block;inset:auto 0 0;height:calc(var(--power)*1%);background:var(--power-gradient);background-size:100% var(--power-height);background-position:center bottom;background-repeat:no-repeat}
.power-notches{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0,transparent calc(10% - 1px),#051b2880 calc(10% - 1px),#051b2880 10%)}
.power-target-band{position:absolute;inset:0 0 auto;height:10%;border:1px solid var(--power-high);border-radius:3px 3px 0 0;pointer-events:none}
#game[data-control-mode="c"][data-power-state="preview"] .aim-ui>p,#game[data-control-mode="c"][data-power-state="preview"] .aim-ui>small{display:none}
.result{display:flex;flex-direction:column;justify-content:flex-end;gap:16px;padding:0 15px calc(17px + var(--safe-bottom))}
.result-title{position:static;flex:none}
.result-panel{position:static;flex:none}
.result-overview{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.result-copy{flex:1;min-width:0}
#result-description{font-size:12px;color:#b8d0d9;margin:0 0 10px;line-height:1.55}
.power-result-slot{flex:none}
.result-panel .power-meter{position:relative;width:64px;inset:auto;padding:0;margin:auto;background:none;border:0;box-shadow:none}
.result-panel .power-vertical{--power-height:78px}
@media(max-height:740px){
  .power-vertical{--power-height:104px}
  .result{gap:10px;padding-bottom:calc(10px + var(--safe-bottom))}
  .result-title .result-main-title{font-size:52px;margin-top:6px}
  .result-panel{padding:13px 14px 8px}
  .result-overview{gap:10px;margin-bottom:10px}
  #result-description{font-size:11px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.aim-actions{display:flex;justify-content:center;gap:9px;margin-top:12px}
.aim-ui .aim-actions .text-button{margin:0;padding:8px 13px}
.shot-cue{margin-top:10px;padding-bottom:8px;border-bottom:1px solid #cbdacd24}
.shot-cue>div{display:flex;justify-content:center;gap:4px;white-space:nowrap;font-size:9px;line-height:12px;color:#e9f2de}
#height-label{color:#b5cbd0;border-left:1px solid #b5cbd044;padding-left:4px}
#game[data-control-mode="c"]>.power-meter{width:78px}
#game[data-control-mode="c"]>.power-meter .power-vertical{--power-height:108px}
.power-meter[data-detail="coarse"] .power-number{display:none}
.shot-feedback{margin-bottom:9px}
.shot-quality{display:block;font-size:11px;line-height:15px;color:#d5e7df}
.shot-quality[data-quality="excellent"],.shot-quality[data-quality="placed"]{color:var(--power-high)}
.shot-quality[data-quality="outside"]{color:#f2b8a9}
.shot-map{margin:0 auto;width:min(100%,200px)}
.shot-map svg{display:block;width:100%;max-height:85px;overflow:visible}
.map-ground{fill:none;stroke:#c7d7d34a;stroke-width:1}
.map-net{fill:none;stroke:#b4d7ce29;stroke-width:.8}
.map-frame{fill:none;stroke:#deebe5c9;stroke-width:2;stroke-linejoin:round}
#shot-map-dot{fill:var(--gold-bright);stroke:#0e302f;stroke-width:1.5;filter:drop-shadow(0 0 3px #ffe39455)}
.shot-map figcaption{font-size:9px;line-height:12px;margin-top:1px;color:#a5bdbb}
@media(max-height:680px){
  #game[data-control-mode="c"]>.power-meter .power-vertical{--power-height:84px}
  .result-title .eyebrow{display:none}
  .result-title .result-main-title,#game .result[data-outcome="miss"] .result-title .result-main-title{font-size:40px}
  .result-panel .power-vertical{--power-height:54px}
  .result-panel .payout strong{font-size:30px}
  .result-panel .profit{font-size:13px}
  .result-overview{margin-bottom:6px}
  .shot-map svg{max-height:66px}
  .shot-feedback{margin-bottom:7px}
  .shot-quality{font-size:10px}
  .shot-stats{height:22px}
}
/* The shared brand and account controls sit together above the roster. */
body.penalty-shootout-page{display:block;overflow-x:hidden;overflow-y:auto;background:#06121e;color:#f8f8f3}
.penalty-shell{position:relative;max-width:480px;margin:0 auto}
.penalty-shell #game{width:100%;height:100svh;min-width:0;min-height:0;max-height:1100px;margin:0}
.penalty-shell .zf-game-control{position:absolute;z-index:20;top:max(12px,env(safe-area-inset-top));left:12px;right:auto}
.penalty-shell .zf-guest-panel{position:fixed;inset:auto;top:64px;left:max(12px,calc((100vw - 480px)/2 + 12px));width:min(370px,calc(100vw - 24px));max-height:calc(100svh - 88px);overflow:auto;color-scheme:light;touch-action:pan-y}
.penalty-shell .hud{top:max(12px,env(safe-area-inset-top));right:12px;left:106px;display:grid;grid-template-columns:minmax(58px,1fr) max-content;gap:4px;align-items:start;pointer-events:auto;z-index:5}
.penalty-shell .balance-chip{height:44px;gap:4px;padding:5px;font-size:16px}
.penalty-shell #game:not([data-debug-unlocked="true"]) .hud{grid-template-columns:max-content;justify-content:end}
.penalty-shell button.balance-chip{color:#eff9f5;text-align:left;touch-action:manipulation}
.penalty-shell .coin{width:18px;height:18px;font-size:10px;flex-shrink:0}
.penalty-shell .balance-chip.long-balance{font-size:11px;gap:3px;padding:4px}
.penalty-shell .balance-chip.long-balance .coin{width:14px;height:14px;font-size:8px}
.penalty-shell .hud-right{gap:2px}
.penalty-shell .round-stake{position:static;padding:0;font-size:9px;line-height:12px;white-space:nowrap;background:none}
.penalty-shell .power-difficulty-button{position:static;width:100%;max-width:118px;height:44px;gap:3px;padding:3px;font-size:10px;min-width:0}
.penalty-shell .power-difficulty-button small,.penalty-shell .power-difficulty-button b{font-size:8px}
.penalty-shell .debug-auto-summary{display:none}
.penalty-shell #game,.penalty-shell #pitch{touch-action:pan-y}
#swipe-area{position:absolute;top:76px;left:0;right:0;bottom:0;z-index:2;touch-action:none}
#game:not([data-phase="aiming"]) #swipe-area{pointer-events:none}
.roster-controls{position:absolute;top:calc(max(12px,env(safe-area-inset-top)) + 49px);left:12px;right:12px;z-index:5;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.roster-group{min-width:0}
.roster-group>span{display:block;margin:0 0 4px;color:#ceddde;font-size:11px;font-weight:700;line-height:14px;text-shadow:0 1px 3px #00121e}
.actor-choices{display:grid;grid-template-columns:repeat(3,minmax(44px,58px));gap:4px}
.actor-choice{position:relative;min-width:44px;min-height:56px;height:60px;padding:0;border:1px solid #75949680;border-radius:7px;overflow:hidden;background:#142b36;color:#e1edee;transition:border-color .15s,box-shadow .15s}
.actor-choice img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.actor-choice>span{position:absolute;bottom:0;left:0;right:0;padding:1px 3px;background:#001824b8;font-size:10px;line-height:13px;font-weight:800;text-align:left}
.actor-choice[aria-pressed="true"]{border-color:#9bedc4;box-shadow:0 0 0 1px #9bedc4}
.actor-choice[aria-pressed="true"]::after{content:"✓";position:absolute;bottom:0;right:3px;color:#a3f4cc;font-size:12px;line-height:15px;font-weight:900}
.actor-choice:disabled{opacity:.7;filter:saturate(.8)}
.roster-status{display:none}
.roster-controls[aria-busy="true"] .roster-status:not(:empty){position:absolute;z-index:6;inset:18px 0 0;display:grid;place-items:center;border-radius:7px;background:#061b2bf0;color:var(--gold);font-size:11px;line-height:16px}
.keeper-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.keeper-options label{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:6px 3px;border:1px solid #75949666;border-radius:7px;background:#06212b;font-size:11px;cursor:pointer}
.keeper-options label:has(input:checked){border-color:#80dcb1;background:#123c39;color:#e7fff2}
.keeper-options input{accent-color:#80dcb1;width:14px;height:14px;margin:0;flex:none}
.keeper-options label:has(input:disabled){opacity:.55;cursor:default}
@media(max-width:350px){.penalty-shell .balance-chip{font-size:14px;padding:4px}.penalty-shell .balance-chip.long-balance{font-size:10px}.penalty-shell .power-difficulty-button{font-size:9px}}
.penalty-shell .entry .primary{font-size:21px}
.penalty-shell .entry-footer{margin-top:4px}
.penalty-shell #help{min-height:44px}
.penalty-shell .aim-ui>p{font-size:18px;line-height:1.35}
.penalty-shell .power-scale em{max-width:48px;line-height:1.25;font-size:8px;white-space:normal}
.penalty-shell .power-label{font-size:10px}
.penalty-shell .power-quality{font-size:12px}
.penalty-shell .power-status{font-size:9px}
.penalty-shell .result-title .result-main-title{font-size:58px}
.penalty-shell .result[data-outcome="miss"] .result-title .result-main-title{font-size:39px}
.penalty-shell .wallet-status{font-size:11px;line-height:1.4;color:#c2d6d5;margin:7px 0;pointer-events:none}
.penalty-shell .wallet-status:empty,.notice:empty{display:none}
.penalty-shell .settlement-retry{font-size:12px;padding:7px;min-height:32px}
.penalty-shell #shot-error{font-size:12px;line-height:1.4;margin:5px 0}
.penalty-shell #start[aria-busy="true"]{filter:saturate(.2) brightness(.65);transition:none}

.penalty-shell .shot-quality{letter-spacing:0;font-size:11px}
.entry-game-title{font-size:22px;margin:8px 0 16px}
.power-difficulty-dialog .close-button{min-width:44px;min-height:44px;right:6px;top:6px}
.power-difficulty-dialog .debug-dialog-title{padding:3px 30px 0;font-size:21px}
.power-difficulty-dialog .difficulty-value-row button,.power-difficulty-dialog .debug-section .text-button{min-height:44px}
.debug-section #power-difficulty-range{min-height:44px}
@media(max-width:350px){.actor-choice{height:56px}.penalty-shell .aim-ui>p{font-size:16px}.penalty-shell .result-title .result-main-title{font-size:44px}.penalty-shell .result[data-outcome="miss"] .result-title .result-main-title{font-size:31px}}
@media(max-height:650px){
  .penalty-shell .entry{bottom:10px;padding:12px 14px 5px}
  .penalty-shell .entry-game-title{margin:2px 0 9px}
  .penalty-shell .result{gap:6px}
  .penalty-shell #game .result .result-title .result-main-title{font-size:28px;line-height:1.05;margin:0}
  .penalty-shell .result-panel{padding:10px 12px 6px}
  .penalty-shell .result-panel .shot-stats{height:22px}
  .penalty-shell .result-overview{margin-bottom:4px}
  .penalty-shell .result-panel .primary{height:48px}
  .penalty-shell .result-panel .power-vertical{--power-height:50px}
  .penalty-shell .result-panel .power-scale{width:42px}
  .penalty-shell .result-panel .power-scale em{white-space:nowrap;font-size:7px}
}

.power-difficulty-dialog .debug-section>.debug-section-title{font-size:15px;line-height:1.3;font-weight:700;color:#e9f9ef;margin:0}
.power-difficulty-dialog>.debug-dialog-title{font-size:21px;line-height:1.3;font-weight:700;color:#f4f5ef}

.kick-speed-auto{display:block;text-align:center;color:#86e3b0;font-size:23px;font-weight:700;margin:12px 0 0}
.power-kick{display:block;color:#bed5d0;font-size:9px;line-height:1.4;margin-top:5px;text-align:center}
#power-result-slot .power-kick{font-size:10px}

/* Onboarding uses composited DOM motion over the paused pitch. */
.swipe-guide{position:fixed;inset:auto;margin:0;padding:0;border:0;max-width:none;max-height:none;overflow:hidden;background:#031a1b66;color:#f5faf6;touch-action:none}
.swipe-guide::backdrop{background:transparent}
#game[data-swipe-guide="full"] .aim-ui{visibility:hidden}
.swipe-guide-layout{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;padding:18px 16px calc(18px + var(--safe-bottom));background:linear-gradient(transparent 34%,#041b1d20 62%,#041b1d94)}
.swipe-guide-card{flex:none;width:100%;padding:18px;border:1px solid #badfd445;border-radius:16px;background:#082a2df5;box-shadow:0 10px 28px #0003}
.swipe-guide-eyebrow{margin:0 0 8px;font-size:10px;letter-spacing:2px;color:#a3c7bd;font-weight:700}
#swipe-guide-title{font-size:23px;line-height:1.2;letter-spacing:-.5px;margin:0 0 14px;font-weight:700}
#swipe-guide-instructions{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:11px}
#swipe-guide-instructions li{display:flex;align-items:flex-start;gap:10px}
#swipe-guide-instructions li>span{flex:none;display:grid;place-items:center;border:1px solid #a7d6c74d;border-radius:50%;width:24px;height:24px;font-size:11px;color:#abdfc7;background:#ffffff08}
#swipe-guide-instructions p{margin:1px 0 0;font-size:15px;line-height:1.45;color:#e7f2ec}
#swipe-guide-done{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:14px;border:1px solid #b5e7ce;border-radius:9px;background:#b2e4cd;color:#0a3027;font-size:17px;font-weight:700}
#swipe-guide-done:active{background:#9dd8bd}
.penalty-shell .aim-ui .aim-actions{flex-wrap:wrap;gap:0 10px}
.penalty-shell .aim-ui .aim-actions .text-button{min-height:44px;margin:0}
.penalty-shell #show-swipe-guide{color:#e6f4ec;background:transparent;text-decoration:underline;text-underline-offset:3px}
.penalty-shell #control-hint{display:inline-block;max-width:100%;font-size:11px;line-height:1.5}
.swipe-demo{--travel:-116px;position:relative;flex:none;width:170px;height:180px;align-self:flex-end;margin-right:7%;pointer-events:none}
.demo-pass{--move-x:0px;--delay:0s;--tilt:0deg;--trail-length:116px;position:absolute;inset:0}
.demo-diagonal{--move-x:60px;--delay:2s;--tilt:27deg;--trail-length:131px}
.demo-hand{position:absolute;left:calc(50% - 16px);top:calc(100% - 48px);width:44px;height:55px;opacity:0;transform-origin:16px 5px}
.demo-hand svg{display:block;width:100%;height:100%;overflow:visible}
.demo-trail{position:absolute;bottom:44px;left:50%;width:3px;height:var(--trail-length);border-radius:3px;background:linear-gradient(to top,#fff5e066,#fff7e9);opacity:0;transform-origin:bottom;transform:rotate(var(--tilt)) scaleY(0)}
.demo-touch{position:absolute;left:calc(50% - 12px);bottom:32px;width:24px;height:24px;border:2px solid #fff;border-radius:50%;opacity:0}
.swipe-guide[open] .demo-hand,.swipe-reminder:not([hidden]) .demo-hand{animation:guide-swipe 4s var(--delay) infinite both}
.swipe-guide[open] .demo-trail,.swipe-reminder:not([hidden]) .demo-trail{animation:guide-trail 4s var(--delay) infinite both}
.swipe-guide[open] .demo-touch,.swipe-reminder:not([hidden]) .demo-touch{animation:guide-touch 4s var(--delay) infinite both}
.swipe-guide[data-paused="true"] .demo-pass>*,.swipe-reminder[data-paused="true"] .demo-pass>*{animation-play-state:paused!important}
.swipe-reminder{position:absolute;z-index:3;right:16%;bottom:24%;pointer-events:none}
.swipe-reminder .swipe-demo{margin:0}
@keyframes guide-swipe{0%,7.5%{opacity:0;transform:translate(0,0)}10%{opacity:1;transform:translate(0,0)}12%,22%{opacity:1;transform:translate(var(--move-x),var(--travel))}32%,100%{opacity:0;transform:translate(var(--move-x),calc(var(--travel) - 10px)) scale(.92)}}
@keyframes guide-trail{0%,10%{opacity:0;transform:rotate(var(--tilt)) scaleY(0)}12%,22%{opacity:.75;transform:rotate(var(--tilt)) scaleY(1)}32%,100%{opacity:0;transform:rotate(var(--tilt)) scaleY(1)}}
@keyframes guide-touch{0%,7.5%{opacity:0;transform:scale(.7)}10%{opacity:.9;transform:scale(1)}16%,100%{opacity:0;transform:scale(1.5)}}
@media(max-height:680px){
  .swipe-guide-layout{padding:12px 12px calc(10px + var(--safe-bottom));gap:4px}
  .swipe-guide-card{padding:14px}
  .swipe-guide-eyebrow{font-size:9px;margin-bottom:6px}
  #swipe-guide-title{font-size:18px;margin-bottom:10px}
  #swipe-guide-instructions{gap:8px;margin-bottom:12px}
  #swipe-guide-instructions p{font-size:13px;line-height:1.4}
  #swipe-guide-instructions li>span{width:21px;height:21px}
  .swipe-demo{--travel:-88px;height:140px;width:140px}
  .demo-pass{--trail-length:88px}
  .demo-diagonal{--move-x:45px;--trail-length:99px}
  .swipe-reminder{bottom:25%;right:15%}
}
@media(prefers-reduced-motion:reduce){
  .swipe-guide .demo-pass>*,.swipe-reminder .demo-pass>*{animation:none!important}
  .swipe-guide .demo-diagonal,.swipe-reminder .demo-diagonal{display:none}
  .swipe-guide .demo-hand,.swipe-reminder .demo-hand{opacity:1}
  .swipe-guide .demo-trail,.swipe-reminder .demo-trail{opacity:.65;transform:scaleY(1)}
  .demo-trail:after{content:"";position:absolute;top:0;left:-4px;width:9px;height:9px;border-top:2px solid #fff;border-left:2px solid #fff;transform:rotate(45deg)}
}
