:root{font-family:Trebuchet MS,Arial,sans-serif;color:#fff4d6;background:#06192d;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 18%,#174877 0,#071e36 55%,#041326);min-height:100dvh}button,a{-webkit-tap-highlight-color:transparent}button{font:900 15px Trebuchet MS,sans-serif;cursor:pointer;min-height:44px;border:1px solid #7190a4;border-radius:8px;color:#fff1d0;background:#173e5b;padding:12px 20px;box-shadow:0 3px #061d30}button:hover{filter:brightness(1.12)}button:active{transform:translateY(2px);box-shadow:none}button:disabled{opacity:.35;cursor:default}a{color:#ffe294;text-underline-offset:4px}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ffffb3;outline-offset:4px}button.primary{color:#321a0b;background:linear-gradient(#ffe989,#f9ba3d);border:2px solid #fff0a6;box-shadow:0 5px #a54a16,0 8px 22px #0005;font-size:20px;letter-spacing:.6px;padding:16px 32px}.arcade{max-width:1180px;margin:auto;padding:20px 32px 12px}.masthead{display:flex;align-items:center;justify-content:space-between;gap:25px;max-width:1060px;margin:0 auto 16px}.masthead img{display:block;width:290px;height:auto}.masthead-right{display:flex;flex-direction:column;gap:10px;text-align:right}.edition{font-size:10px;letter-spacing:2px;color:#a6bfd2}.free-label{font-size:13px;font-weight:900;letter-spacing:2px}.cabinet{border:5px solid #b97a36;border-radius:15px;box-shadow:0 0 0 2px #efd196,0 20px 70px #0008;overflow:hidden;background:#092e50;max-width:1060px;margin:auto}.hud{height:76px;display:grid;grid-template-columns:1.3fr 1fr 1.7fr 1fr 48px;align-items:center;gap:12px;padding:10px 22px;background:linear-gradient(#164c7a,#082c51);border-bottom:4px solid #e4ae58}.hud>div{border-right:1px solid #7290a45c;min-width:0}.hud span{display:block;font-size:10px;letter-spacing:2px;font-weight:900;color:#d4d8c6;margin-bottom:4px}.hud strong{display:block;font-size:27px;color:#fff5ce;line-height:1;font-variant-numeric:tabular-nums}.hud small{font-size:16px;color:#bccfe0}.hud .scorebox strong{color:#ffe47d}.hud .scorebox,.hud .streakbox{container-type:inline-size}.hud .scorebox strong[data-long=true]{font-size:min(27px,24cqi)}.hud .streakbox strong[data-long=true]{font-size:min(27px,52cqi)}.hud .shotbox strong{display:flex;gap:5px}.shotbox i{width:23px;height:23px;background:center/contain no-repeat url(/sprites/ball-0.webp);display:block}.shotbox i.used{opacity:.2;filter:grayscale(1)}.icon{font-size:22px;padding:2px;min-width:44px}.stage{position:relative;height:min(66vh,640px);min-height:340px;background:#5ea5d4;isolation:isolate}canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-5px!important}.stage-grain{pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 70px #1e2a4255}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#031b376b;z-index:2;overflow:auto;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}[hidden]{display:none!important}.panel{width:min(490px,100%);padding:28px 32px;text-align:center;border:2px solid #dfb65e;border-radius:14px;background:linear-gradient(140deg,#0d3a60f5,#062344f8);box-shadow:0 14px 50px #0007,inset 0 0 0 5px #144365;color:#ffefd5}.panel .eyebrow{font-size:10px;letter-spacing:2.5px;color:#ffdb70;margin:0 0 12px;font-weight:900}.panel h2{font-size:clamp(28px,4vw,44px);line-height:1.04;letter-spacing:-1.3px;margin:8px 0 15px;font-weight:1000;text-shadow:0 4px 0 #001932}.panel em{font-style:normal;color:#ffe074}.panel p{font-size:15px;line-height:1.55;color:#dce4e5;margin:12px 0 20px}.panel .primary{width:100%}.panel-secondary{margin-top:10px}.panel-secondary button{background:transparent;border:none;box-shadow:none;color:#ffedb8}.best{font-size:10px;letter-spacing:2px;margin-top:14px;color:#b7cbd7}.best strong{font-size:17px;color:#fff1bf;margin-left:8px}.cabinet-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 16px;min-height:48px;border-top:3px solid #ddb161;background:#08294a}.cabinet-foot #status{font-size:12px;font-weight:700;color:#f8e9bc}.text-button{padding:6px 8px;border:0;background:transparent;box-shadow:none;white-space:nowrap;color:#f9db85;font-size:12px}.control-hint{text-align:center;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#b7c6ce;margin:20px 0}.control-hint span{margin:0 14px;color:#e7b768}.home-footer,footer{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;font-size:11px;color:#b0bdc8;padding:7px}.home-footer a{color:#c9d1d7;text-decoration:none}.home-footer span{margin-left:auto}.playing .control-hint{visibility:hidden}.panel ol{text-align:left;padding-left:22px;line-height:1.5;font-size:15px}.panel li{margin:10px 0}.panel .small{font-size:12px}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.menu-grid .primary{grid-column:1/-1}.round-balls{font-size:30px!important;letter-spacing:10px;color:#efc063!important}.result-score{font-size:48px;font-weight:900;color:#ffdf78;line-height:1.2}.stats{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin:18px 0 24px}.stats dt{font-size:11px;color:#c5d3db}.stats dd{font-size:24px;font-weight:700;margin:4px 0;color:#ffedb1}.document{max-width:800px;margin:auto;padding:40px 28px 80px;line-height:1.8;font-size:17px}.document .page-logo{display:block;width:min(330px,90%);margin:35px auto}.document h1{font-size:38px;line-height:1.15;color:#ffe497}.document h2{font-size:24px;color:#ffe497}.document .eyebrow{font-size:12px;color:#b5c8d5}.document li{margin-bottom:10px}.document footer{border-top:1px solid #527083;margin-top:35px;padding-top:25px}.back{font-size:14px}.initial{text-align:center;padding:80px 20px}progress{width:100%;accent-color:#ffcf59}@media(max-width:600px){.arcade{padding:max(10px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.masthead{justify-content:center;margin-bottom:9px}.masthead img{width:240px}.masthead-right{display:none}.cabinet{border-width:3px;border-radius:9px}.hud{height:63px;gap:7px;padding:8px 9px;grid-template-columns:1.15fr .8fr 1.4fr .65fr 44px}.hud span{font-size:8px;letter-spacing:1px}.hud strong{font-size:23px}.hud small{font-size:13px}.shotbox i{width:16px;height:20px}.hud .shotbox strong{gap:1px}.icon{min-width:44px;min-height:44px;font-size:20px}.stage{height:calc(100svh - 235px);min-height:440px;max-height:850px}.panel{padding:23px 21px}.overlay{padding:16px}.panel h2{font-size:35px}.panel p{font-size:13px}.panel button.primary{font-size:18px;padding:14px 16px}.cabinet-foot{padding:2px 8px}.cabinet-foot #status{font-size:10px}.text-button{font-size:11px}.control-hint{font-size:8px;letter-spacing:.6px;margin:14px 0 10px}.control-hint span{margin:0 4px}.home-footer{gap:19px;font-size:10px}.home-footer span{margin-left:0}.stats{gap:13px}.stats dd{font-size:22px}.document{padding:24px 22px}.document h1{font-size:31px}}@media(max-width:360px){.masthead img{width:210px}.hud{gap:5px;padding:6px}.hud strong{font-size:20px}.shotbox i{width:13px}.panel h2{font-size:30px}.panel{padding:21px 15px}.overlay{padding:12px}.stage{min-height:415px}.menu-grid button{padding:10px;font-size:13px}}@media(orientation:landscape)and (max-height:600px){.arcade{padding:6px max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left));max-width:1120px}.masthead,.control-hint,.home-footer{display:none}.cabinet{border-width:3px}.hud{height:52px;padding:5px 18px}.hud span{font-size:8px}.hud strong{font-size:21px}.stage{height:calc(100dvh - 109px);min-height:220px;max-height:none}.cabinet-foot{min-height:33px;height:33px}.text-button{min-height:28px}.panel{max-width:650px;padding:13px 25px}.panel h2{font-size:27px;margin:4px 0 8px}.panel h2 br{display:none}.panel h2 br+em{margin-left:.2em}.panel p{font-size:12px;margin:6px 0 10px}.panel .eyebrow{font-size:9px;margin:0 0 6px}.panel .primary{width:auto;padding:9px 24px;font-size:16px;min-height:40px}.panel-secondary{display:inline-block;margin:0 0 0 15px}.best{display:inline-block;margin:0 0 0 20px;font-size:9px}.menu-grid{grid-template-columns:repeat(3,1fr)}.menu-grid .primary{grid-column:auto}.menu-grid button{min-height:38px;padding:8px}.round-balls{display:none}.result-score{font-size:34px}.stats{display:inline-flex;margin:8px 18px;gap:20px}.stats dd{font-size:20px}.panel ol{font-size:12px;display:flex;gap:25px;list-style-position:inside;padding:0}.panel li{margin:0;flex:1}.panel .small{font-size:10px}.overlay{padding:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}.home-footer a,.document footer a{display:inline-flex;align-items:center;min-height:44px}.masthead{gap:16px;justify-content:space-between}.brand{display:block;min-width:0;flex:0 1 260px}.masthead .brand img{width:100%;height:auto}.header-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto}.icon-button{display:inline-flex;justify-content:center;align-items:center;width:46px;min-width:44px;height:46px;min-height:44px;padding:10px;border:1px solid #c39a54;border-radius:50%;background:linear-gradient(#234e72,#0d2a48);color:#ffe6a1;box-shadow:0 3px #03172b;flex-shrink:0}.icon-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.home-footer{justify-content:center}.home-footer span{margin:0}.utility-dialog{width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;margin:auto;overflow:auto;overscroll-behavior:contain;color:#ffefd5;background:#0b2c4b;border:2px solid #d9b46c;border-radius:16px;box-shadow:0 24px 80px #000b}.utility-dialog::backdrop{background:#031323b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;gap:16px;padding:18px 20px;position:sticky;top:0;background:#0b2c4b;border-bottom:1px solid #527083;z-index:1}.dialog-heading h2{margin:0;color:#ffe294;line-height:1.2;font-size:24px;flex:1;overflow-wrap:anywhere}.dialog-heading .icon-button{width:44px;height:44px}.dialog-content{padding:22px;line-height:1.6}.dialog-content p{margin:0 0 18px}.info-links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.info-links button{padding:14px 8px;min-width:0;overflow-wrap:anywhere}.utility-tagline,.publisher{text-align:center;font-size:12px;letter-spacing:1px;color:#e7cb91}.dialog-content .publisher{margin:20px 0 0}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.language-options button{display:flex;justify-content:space-between;text-align:left}.language-options button[aria-pressed=true]{color:#082d58;background:#ffe18d;border-color:#ffedbf}.back-to-info{margin:0 0 22px}.popup-document{overflow-wrap:anywhere;font-size:16px}.popup-document h2{color:#ffe294;font-size:22px}.popup-document .eyebrow{font-size:12px;color:#b8cedf}.popup-document li{margin:10px 0}#share-url{display:block;width:100%;background:#061e34;color:#fff0c3;font:inherit;padding:14px 10px;border:1px solid #a7bccc;border-radius:6px;margin-bottom:16px}#copy-status{margin-top:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.result-actions{display:flex;flex-direction:row;gap:14px;margin-top:20px;width:100%}.result-actions button{width:auto;min-width:0;flex:1;margin:0;flex-shrink:0}.panel{flex-shrink:0}.overlay{align-items:safe center}@media(max-width:600px){.masthead{display:flex;gap:8px;min-height:61px;margin-bottom:12px}.brand{flex-basis:215px}.header-controls{gap:8px}.header-controls .icon-button{width:44px;height:44px;padding:10px}.stage{height:calc(100svh - 206px)}.dialog-heading{padding:14px}.dialog-heading h2{font-size:21px}.dialog-content{padding:18px}}@media(max-width:360px){.masthead{gap:4px}.header-controls{gap:8px}.brand{flex:1 1 auto}.info-links{grid-template-columns:1fr}.language-options{gap:7px}.language-options button{padding:12px}}@media(orientation:landscape)and (max-height:600px){.masthead{display:flex;min-height:46px;height:46px;margin-bottom:7px}.brand{flex:0 1 145px}.masthead .brand img{max-height:46px;width:auto;max-width:100%}.header-controls .icon-button{width:44px;height:44px}.stage{height:calc(100dvh - 162px);min-height:165px}.result-actions{flex-direction:row;gap:14px;margin-top:12px}.panel .result-actions button,.panel .result-actions .primary{width:auto;flex:1;min-height:44px}.utility-dialog{max-height:calc(100dvh - 16px)}.dialog-heading{padding:8px 16px}.dialog-content{padding:16px}}.game-guide{max-width:800px;margin:32px auto 24px;padding:24px;border-top:1px solid #dfb65e80;line-height:1.7;color:#dce4e5}.game-guide h1{margin:0;font-size:clamp(26px,4vw,36px);color:#ffe074}.game-guide h2{font-size:21px;margin:24px 0 8px;color:#ffe074}.game-guide .guide-lead{margin:4px 0 16px;font-weight:700}.game-guide ol{padding-left:22px}.game-guide li{margin:8px 0}.home-footer{display:flex;flex-wrap:wrap;gap:18px}.home-footer a{padding:8px 0}@media(max-width:600px){.game-guide{padding:20px 12px;margin-top:24px}}@media(orientation:landscape)and (max-height:600px){.home-footer{display:flex}}.home-footer{align-items:center}.home-footer span{flex-basis:100%;text-align:center}@media(max-width:600px)and (orientation:portrait){.stage{height:auto;aspect-ratio:.78;min-height:385px;max-height:690px}.arcade{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.shotbox i{height:auto;aspect-ratio:1;flex-shrink:0}}.game-page,.game-page body,.game-page #app{width:100%;height:100%;min-height:0;overflow:hidden;overscroll-behavior:none}.game-page .arcade{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;width:100%;height:100dvh;min-height:0;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.game-page .masthead{width:100%;height:clamp(44px,9dvh,90px);min-height:0;margin:0 auto}.game-page .masthead .brand img{max-height:clamp(44px,9dvh,90px);max-width:100%;width:auto}.game-page .cabinet{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;min-width:0;min-height:0;margin:0 auto}.game-page .hud{height:clamp(48px,8dvh,76px);min-height:52px;padding-top:2px;padding-bottom:2px}.game-page .stage{height:100%;min-height:0;max-height:none;min-width:0;aspect-ratio:auto;container:playfield / size}.game-page .cabinet-foot{min-height:32px;height:auto}.game-page .home-footer{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;width:100%;max-width:1060px;margin:0 auto;padding:0;font-size:11px;line-height:14px}.game-page .home-footer span{flex-basis:auto}.game_complete .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.game_complete .stats dt{font-size:10px;line-height:1.2;overflow-wrap:anywhere}@media(max-width:600px)and (orientation:portrait){.game-page .home-footer span{flex-basis:100%;font-size:10px}}@media(orientation:landscape)and (max-height:600px){.game-page .arcade{gap:4px;padding-top:max(4px,env(safe-area-inset-top))}.game-page .masthead{height:44px}.game-page .cabinet-foot{min-height:26px}}@container playfield (max-height: 380px){.overlay{padding:8px}.panel{padding:12px 16px}.panel h2{font-size:26px;margin:3px 0 8px}.panel p{font-size:12px;line-height:1.3;margin:6px 0 10px}.panel .eyebrow{margin:0 0 5px}.panel button.primary{padding:10px 16px;font-size:16px}.panel ol{font-size:12px;line-height:1.3;margin:8px 0}.panel li{margin:5px 0}.stats{margin:8px 0;gap:12px}.stats dd{font-size:20px}.result-score{font-size:32px}.result-actions{margin-top:8px;gap:10px;flex-direction:row}.panel .result-actions button,.panel .result-actions .primary{flex:1;min-width:0;width:auto;min-height:44px;padding:8px;font-size:14px}.panel .best{margin:6px 0 0}}@container playfield (max-height: 240px){.panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:6px 16px;width:min(680px,100%);max-width:680px;padding:8px 12px}.panel>.eyebrow{display:none}.panel h2{font-size:22px;margin:0}.panel h2 br{display:none}.panel p,.panel .best{margin:0;font-size:11px}.panel-secondary{display:block;margin:0}.panel .menu-grid,.panel ol,.result-actions{grid-column:1 / -1}.panel .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.menu-grid .primary{grid-column:auto}.panel button,.panel button.primary{min-height:36px;padding:6px 10px;font-size:13px}.panel .round-balls{display:none}.panel .stats{margin:0;gap:10px}.stats dd{font-size:18px}.result-actions{flex-direction:row;margin:0}.panel ol{display:flex;gap:12px;padding:0;list-style-position:inside;margin:0;font-size:11px}.panel li{flex:1;margin:0}}@container playfield (max-height: 170px){.overlay{padding:4px}.panel{padding:4px 8px;gap:4px 12px}.panel .stats{gap:6px}.stats dt{font-size:10px}.stats dd{font-size:16px;line-height:1.1}.panel .result-score{font-size:24px;line-height:1}.game_complete .panel{padding:2px 8px}.panel h2{font-size:20px;line-height:1.05}.game_complete h2{display:none}.game_complete .result-score{grid-column:1;grid-row:1}.game_complete .best{grid-column:2;grid-row:1}.game_complete .stats{grid-column:1 / -1}.title .panel>.best{display:none}}.panel-secondary{display:flex;justify-content:center;gap:8px}.panel-secondary button{flex:1;min-width:0;padding-inline:6px}.panel [data-action=scores]{color:#ffe08a}.title [data-action=scores]:before{content:"🏆 "}.score-tools{display:flex;align-items:center;justify-content:center;gap:12px}.score-tools .best{margin:0}.score-tools button{font-size:12px;min-height:36px;padding:6px 10px}.score-tools .qualified-score{border-color:#ffe08a;background:#754318}.leaderboard-dialog{width:min(540px,calc(100vw - 24px))}.leaderboard-dialog .eyebrow{margin:0 0 4px;font-size:11px;color:#ffe08a}.leaderboard-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:clamp(12px,3.4vw,16px)}.leaderboard-table th{color:#acbfd1;font-size:11px;text-align:left;padding:8px 5px}.leaderboard-table td{border-top:1px solid #ffffff17;padding:10px 5px}.leaderboard-table th:last-child,.leaderboard-table td:last-child{text-align:right;color:#ffe08a}.leaderboard-table td:first-child{width:30px;color:#acbfd1}.leaderboard-table td:nth-child(2){overflow-wrap:anywhere}.house-badge{display:inline-block;margin-left:7px;font-size:8px;letter-spacing:.5px;padding:2px 4px;border:1px solid #9ab4c35c;border-radius:4px;color:#b4c7d3;vertical-align:middle}.leaderboard-table .your-score{background:#ffe08a20;outline:1px solid #ffe08a;outline-offset:-1px}.leaderboard-note,.score-entry p{font-size:12px;line-height:1.5;color:#c9d9e3}.score-entry{padding:14px;border:1px solid #d2a74b;border-radius:12px;margin-bottom:15px;background:#ffe08a0a}.score-entry h3{color:#ffe08a;margin:0}.score-entry .entry-points{font-size:28px;font-weight:900;margin:8px 0;color:#fff2bd}.score-entry label{display:block;font-size:14px;margin:10px 0 5px}.score-entry input{width:100%;min-width:0;padding:10px;border:1px solid #b1cada;border-radius:8px;font:inherit;background:#031d32;color:#fff}.score-entry button{min-height:44px}@container playfield (max-height:240px){.score-tools{grid-column:2;grid-row:2;gap:6px}.score-tools .best{font-size:9px;letter-spacing:0}.score-tools .best strong{font-size:13px;margin-left:3px}.panel .score-tools button{font-size:11px;padding:4px}.game_complete .stats{grid-column:1 / -1}.panel-secondary{display:flex;gap:4px}}@container playfield (max-height:170px){.game_complete .score-tools{grid-column:2;grid-row:1}}@container playfield (max-height:170px){.panel .score-tools button{min-height:24px;padding:2px 5px}}@container playfield (min-height:171px) and (max-height:240px){.game_complete .stats{grid-column:1;grid-row:2}}.leaderboard-dialog .dialog-heading{justify-content:space-between}.leaderboard-dialog .dialog-heading>div{min-width:0}@container playfield (max-height:380px){.game_complete .panel>.eyebrow{display:none}}@container playfield (min-height:241px) and (max-height:380px){.game_complete .panel{padding-block:8px}}@container playfield (min-height:381px) and (max-height:600px){.game_complete .panel{padding-block:18px}}@media(max-width:600px)and (orientation:portrait){.header-controls .icon-button{width:40px;min-width:40px;height:40px;min-height:40px;padding:8px}}@media(max-width:360px)and (orientation:portrait){.header-controls .icon-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:6px}.header-controls .icon-button svg{width:20px;height:20px}}
