@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap";:root{font-family:Noto Sans JP,sans-serif;color:#17392e;background:#f3f2e9;font-synthesis:none;font-weight:500;line-height:1.6;--green: #174f3b;--lime: #d7ec7c;--muted: #748177}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.48;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #699948;outline-offset:4px}button{border:0}h1,p{margin:0}h1{font-size:clamp(24px,6.5vw,32px);letter-spacing:-.045em;line-height:1.5}small{font-size:11px}strong{font-weight:800}.app{max-width:520px;min-height:100dvh;margin:auto;display:flex;flex-direction:column;padding:0 26px;background:#faf9f1;border-left:1px solid #dedfd4;border-right:1px solid #dedfd4}.lobby-mode.app{position:relative;isolation:isolate;background:#1765ae;color:#fff}.lobby-mode.app:before,.lobby-mode.app:after{position:absolute;inset:0;z-index:-1;content:"";pointer-events:none}.lobby-mode.app:before{background:url(/images/title/title-background.webp) center / cover no-repeat}.lobby-mode.app:after{background:linear-gradient(180deg,#031c4261,#031c422b 42%,#031c166b)}.lobby-mode .topbar{color:#fff;text-shadow:0 1px 5px rgb(0 22 55 / 65%)}.lobby-mode .connection{color:#fff}.lobby-mode .eyebrow,.lobby-mode .intro,.lobby-mode .hint,.lobby-mode .feature-strip,.lobby-mode .page-footer{text-shadow:0 1px 5px rgb(0 22 55 / 65%)}.lobby-mode .page-footer{border-color:#ffffff59}.lobby-code .eyebrow{display:block;margin-bottom:5px}.lobby-mode .intro,.lobby-mode .eyebrow{color:#fff}.lobby-mode .count-pill,.lobby-mode .room-code .eyebrow,.lobby-mode .player-card,.lobby-mode .player-card .eyebrow,.lobby-mode .player-card .player-detail,.lobby-mode code{color:#333}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:85px}.brand{font-size:11px;font-weight:900;letter-spacing:.07em;display:flex;align-items:center;gap:8px;white-space:nowrap}.brand-mark{display:inline-grid;place-items:center;background:var(--green);color:var(--lime);width:26px;height:26px;border-radius:50%;font-style:italic;font-size:17px}.connection{display:flex;gap:5px;align-items:center;font-size:9px;color:var(--muted);text-align:right}.connection i{width:6px;height:6px;border-radius:50%;background:#b99e62;flex:none}.connection.online i{background:#619c51}main{flex:1;padding:22px 0 30px}.eyebrow{font-size:9px;letter-spacing:.16em;font-weight:800;color:var(--muted);margin-bottom:8px}.title-hero h1{font-size:clamp(32px,9vw,46px);line-height:1.4;font-weight:900;letter-spacing:-.055em;margin:16px 0}.title-hero h1>span{color:#91a83b}.title-description,.intro{font-size:12px;color:#66766a;line-height:2;margin:12px 0 25px}.hero-art{position:relative;height:285px;margin:12px -10px 22px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#dfebc5 0%,transparent 68%)}.orbit-label{position:absolute;font-size:8px;letter-spacing:.19em;top:3px;left:13px;transform:rotate(-8deg);color:#83966f}.art-sticker{position:absolute;right:10px;bottom:18px;border-radius:50%;background:#eed49f;color:#34513b;width:66px;height:66px;display:flex;align-items:center;justify-content:center;gap:5px;transform:rotate(12deg);font-weight:900;font-size:22px;border:4px solid #faf9f1}.art-sticker small{font-size:9px}.pitch{height:164px;width:250px;position:relative;border:12px solid #ba8b58;border-bottom:19px solid #8d613b;background:repeating-linear-gradient(90deg,#3c7850 0 20%,#347048 20% 40%);border-radius:15px;transform:perspective(650px) rotateX(22deg) rotate(-13deg);box-shadow:0 13px #513d2b,0 29px 25px #17392e22}.pitch-large{width:300px;height:207px}.pitch-lines{position:absolute;inset:10px;border:1px solid #e3efbc88}.pitch-lines:before{content:"";position:absolute;height:100%;width:1px;left:50%;background:#e3efbc88}.pitch-lines:after{content:"";position:absolute;border:1px solid #e3efbc88;border-radius:50%;height:49px;width:49px;top:50%;left:50%;transform:translate(-50%,-50%)}.rod{position:absolute;top:-23px;bottom:-23px;width:4px;background:linear-gradient(90deg,#889488,#e4e6d9,#8a9789);box-shadow:2px 2px 3px #0003;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center}.rod:before{content:"";position:absolute;top:-12px;width:9px;height:24px;border-radius:3px;background:#303e36}.rod:nth-child(odd):before{top:auto;bottom:-12px}.rod i{width:12px;height:19px;background:#efd178;border-radius:5px 5px 3px 3px;box-shadow:2px 3px #957632}.rod:nth-child(odd) i{background:#d8d9d1;box-shadow:2px 3px #95988b}.rod-0{left:10%}.rod-1{left:25%}.rod-2{left:41%}.rod-3{left:59%}.rod-4{left:75%}.rod-5{left:90%}.rod-0 i+i,.rod-5 i+i{display:none}.ball{position:absolute;top:60%;left:52%;width:11px;height:11px;background:#f9f6df;border-radius:50%;box-shadow:2px 4px 3px #142b3380}.primary,.secondary{width:100%;min-height:56px;display:flex;align-items:center;justify-content:center;gap:20px;border-radius:12px;padding:14px 18px;font-size:14px;font-weight:800}.primary{background:var(--green);color:#fff}.primary span{color:var(--lime);margin-left:auto}.secondary{background:#eceddc;border:1px solid #dbe0cb;color:var(--green)}.secondary span{margin-left:auto}.title-footnote{font-size:10px;text-align:center;color:var(--muted);margin:15px 0}.page-footer{display:flex;justify-content:space-between;border-top:1px solid #e3e4d8;padding:20px 0 max(20px,env(safe-area-inset-bottom));font-size:8px;letter-spacing:.13em;color:#fff}.menu-cards{display:grid;gap:12px}.menu-card{position:relative;text-align:left;border-radius:14px;background:var(--green);color:#fff;display:grid;grid-template-columns:32px 1fr;padding:23px 20px;gap:3px 10px}.menu-number{grid-row:span 2;font-size:11px;color:var(--lime);padding-top:5px}.menu-card strong{font-size:18px}.menu-card small{color:#d9e5cd;font-size:11px}.menu-arrow{position:absolute;right:20px;top:28px;color:var(--lime);font-size:25px}.menu-card.pale{background:#e9edda;color:var(--green)}.menu-card.pale small,.menu-card.pale .menu-number,.menu-card.pale .menu-arrow{color:#6b7e51}.feature-strip{display:flex;justify-content:space-between;font-size:9px;color:#fff;margin-top:25px}.back-button,.text-button{background:none;color:#6b7b6d;padding:10px 0;min-height:44px;font-size:11px}.back-button{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border:1px solid rgb(255 255 255 / 88%);border-radius:999px;background:linear-gradient(180deg,#fff,#e8f2ff);color:#12477b;box-shadow:0 3px #0d4382,0 6px 14px #001c3e47;font-size:13px;font-weight:800;line-height:1.4;text-shadow:none;margin:-10px 0 23px}.back-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px #0d4382,0 8px 16px #001c3e52}.back-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #0d4382,0 3px 8px #001c3e3d}.form-stack{display:grid;gap:24px;margin:25px 0}label{display:grid;gap:9px;font-size:12px;font-weight:700}input:not([type=radio]){width:100%;min-height:54px;border:1px solid #d9decd;background:#fff;color:#17392e;border-radius:10px;padding:12px;font-size:16px}input::placeholder{font-size:12px;color:#9aa18f}.room-input{font-family:monospace;font-size:13px!important}fieldset{padding:15px;border:1px solid #d9decd;border-radius:10px;margin:0}legend{font-size:12px}.radio-option{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:13px}.radio-option input{accent-color:var(--green);width:18px;height:18px}.hint{font-size:10px;line-height:1.8;text-align:center;color:#fff;margin:13px 0 22px}.error{background:#fce7e1;border:1px solid #f0c4b9;border-radius:8px;color:#893727;padding:13px;margin-bottom:15px;font-size:12px}.notice,.reconnect-banner{background:#eeedce;padding:12px;border-radius:8px;margin-bottom:15px;font-size:11px}.reconnect-banner{display:grid;gap:10px}.reconnect-banner button{min-height:44px;background:var(--green);color:#fff;border-radius:7px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:10px}.section-heading h1{font-size:24px}.count-pill{font-size:11px;background:#e7ebd8;padding:6px 12px;border-radius:20px;white-space:nowrap}.room-code{padding:8px 15px;background:#eeefe3;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px dashed #c7d1b9;border-radius:10px;margin-bottom:26px}.room-code>div{min-width:0;flex:1}.room-code code{font-size:28px;overflow-wrap:anywhere;display:block;-webkit-user-select:all;user-select:all}.room-code .eyebrow{display:block;margin-bottom:5px}.icon-button{background:#fff;color:var(--green);min-width:44px;min-height:44px;border-radius:8px;font-size:22px}.player-card{display:flex;gap:10px;align-items:center;padding:10px 12px;background:#fff;border:1px solid #e1e5d6;border-radius:13px}.avatar{position:relative;width:65px;height:65px;border-radius:10px;display:grid;place-items:center;font-size:26px;font-weight:900;flex:none;background:#ead699;color:#6a5b32}.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:inherit}.avatar.team-1{background:#d5e4da;color:#315343}.player-detail{display:grid;flex:1;min-width:0}.player-detail .eyebrow{margin-bottom:3px;font-size:8px}.player-detail strong{font-size:16px;overflow-wrap:anywhere}.player-detail small{font-size:9px;color:#8a927f;margin-top:0}.ready-tag{font-size:8px;background:#eceee5;color:#8b9384;padding:5px 7px;border-radius:5px}.ready-tag.is-ready{background:#d8eab6;color:#49682c}.empty{background:#ffffff80;border-style:dashed}.empty .avatar{background:#eef0e4;color:#a4ad96}.empty strong{font-size:10px}.versus{text-align:center;font-size:20px;letter-spacing:.15em;color:#fff;padding:0}.spectators{display:flex;justify-content:space-between;font-size:11px;padding:12px 1px;border-bottom:1px solid #e5e7dc;margin-bottom:22px;color:#fff}.spectator-names{font-size:11px;overflow-wrap:anywhere;margin:-12px 0 20px;color:#fff}.room-actions{color:#174f3b}.room-meta{display:flex;justify-content:space-between;font-size:9px;color:#fff;margin-top:23px}.footer-actions{display:flex;gap:10px;margin-top:14px}.room-utility-button{flex:1;min-height:46px;padding:10px 12px;border:1px solid rgb(255 255 255 / 76%);border-radius:10px;background:#ffffffeb;color:#174f3b;font-size:12px;font-weight:800;box-shadow:0 3px 10px #0016372e}.room-exit-button{border-color:#ffe6e1eb;color:#963d31}.danger{color:#a46a57}.game-preview{text-align:center;background:#e9eedb;border-radius:14px;padding:35px 12px 22px;margin-bottom:22px;overflow:hidden}.game-preview .pitch{margin:0 auto 35px;width:240px;height:170px}.preview-label{font-size:8px;letter-spacing:.16em;color:#819367}.game-preview p{font-size:12px;font-weight:800;margin:10px 0 6px}.game-preview small{font-size:9px;color:#7f8d73}.muted{font-size:11px;color:#7f8d73;margin-bottom:15px}@media(min-width:700px){body{padding:30px 0}.app{min-height:calc(100dvh - 60px);border-radius:22px;box-shadow:0 20px 70px #294c2010;padding:0 36px}.title-hero h1{font-size:46px}}@media(max-width:360px){.app{padding:0 18px}.brand{font-size:9px}.connection{font-size:8px}.pitch-large{width:260px;height:180px}.hero-art{height:255px}.section-heading h1{font-size:21px}.ready-tag{font-size:7px;padding:4px}.player-card{padding:14px 9px;gap:7px}}.start-match{margin-bottom:12px;background:#0163e6;color:#fff}.start-match span{color:#fff}.match-debug{border:1px solid #d8e1cf;border-radius:15px;background:#fff;padding:18px;margin-bottom:24px}.match-heading{display:flex;justify-content:space-between;align-items:center}.match-heading .eyebrow{margin:0}.match-state{font-size:9px;padding:5px 9px;border-radius:20px;background:#e6efdb;color:#3e6642}.scoreboard{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;text-align:center;margin:24px 0 18px}.scoreboard>div{min-width:0;display:grid;gap:5px}.scoreboard span{font-size:9px;letter-spacing:.1em;color:#839176}.scoreboard strong{font-size:12px;overflow-wrap:anywhere}.scoreboard b{font-size:29px;white-space:nowrap}.match-timer{text-align:center;display:grid;gap:2px;background:#f2f5e9;border-radius:10px;padding:12px}.match-timer span{font-size:9px;letter-spacing:.15em;color:#84916f}.match-timer strong{font-size:40px;font-variant-numeric:tabular-nums;letter-spacing:.06em;line-height:1.3}.countdown{text-align:center;font-size:52px;font-weight:900;color:#789a37}.go-label{text-align:center;font-size:24px;font-weight:900;color:#608b30;margin-top:12px}.debug-controls{border-top:1px solid #e5e8da;margin-top:22px;padding-top:18px}.rod-tabs{display:flex;gap:8px;margin-bottom:18px}.rod-tabs button{flex:1;min-height:44px;border-radius:8px;background:#eef1e4;color:#5e7254;font-weight:800;font-size:12px}.rod-tabs button[aria-pressed=true]{background:#174f3b;color:#fff}.slider-label{display:flex;flex-wrap:wrap;justify-content:space-between;font-size:11px;gap:8px}.slider-label output{font-variant-numeric:tabular-nums}.slider-label input[type=range]{width:100%;accent-color:#174f3b;padding:0;min-height:44px;border:0}.range-labels{display:flex;justify-content:space-between;font-size:9px;color:#899679;margin:0 0 18px}.input-result{font-size:10px;color:#6a8056;min-height:25px;padding-top:10px;overflow-wrap:anywhere}.match-debug summary{font-size:10px;color:#738867;cursor:pointer;min-height:36px;padding-top:10px}.rod-table{border-collapse:collapse;width:100%;font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.rod-table th,.rod-table td{padding:8px;border-bottom:1px solid #e5e8dd}.rod-table th:first-child{text-align:left}.rod-table thead{color:#7f8d72;font-size:9px}.match-identifiers{display:grid;gap:5px;margin-top:18px;font-size:8px;color:#8a947f}.match-identifiers code{overflow-wrap:anywhere;font-size:9px;color:#647657}.match-identifiers span{margin-top:3px}.app.game-mode{max-width:1100px}.game-viewport{position:relative;height:min(65vh,620px);min-height:300px;width:100%;overflow:hidden;border-radius:20px;background:#102b32;touch-action:none}.webgl-fallback{padding:3rem 1rem;color:#fff}.result-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0}.result-controls p{margin:0}.orientation-hint{font-size:.8rem;color:#667c78}@media(orientation:landscape){.orientation-hint{display:none}.game-viewport{height:70vh;min-height:280px}}.touch-controls{display:flex;gap:12px;margin:12px 0;touch-action:none;-webkit-user-select:none;user-select:none}.touch-rods{display:flex;flex:1;gap:8px}.touch-rods button{flex:1;background:#e4ede4;border:2px solid transparent;padding:14px 8px;border-radius:12px;touch-action:none}.touch-rods button[aria-pressed=true]{border-color:#bd8e23;background:#fcf0b8}.touch-rods small{display:block;font-size:9px;margin-top:6px}.kick-button{background:#143e39;color:#fff;padding:12px 18px;border:0;border-radius:12px}.game-overlay{position:absolute;inset:0;pointer-events:none;color:#f1f5e9;font-variant-numeric:tabular-nums}.game-scorebar{display:flex;align-items:center;justify-content:center;gap:24px;padding:15px 10px;background:linear-gradient(#102b32,transparent)}.game-scorebar span{display:flex;flex-direction:column;font-size:10px;letter-spacing:.12em;max-width:30%}.game-scorebar b{font-size:14px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-scorebar strong{font-size:28px;white-space:nowrap}.team-home{color:#74ebc9}.team-away{color:#ffac8e}.game-clock{position:absolute;top:75px;right:16px;display:flex;flex-direction:column;text-align:right}.game-clock span{font-size:23px}.game-clock small{font-size:9px;letter-spacing:.12em}.game-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:800;text-shadow:0 4px 25px #102b32}.game-center.finished{font-size:30px;flex-direction:column;background:#102b3280}.game-center small{font-size:45px}.game-reconnecting{position:absolute;inset:0;display:grid;place-content:center;background:#102b32b0;font-size:22px}.game-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:8px;padding:14px;font-size:10px;background:linear-gradient(transparent,#102b32)}@media(orientation:landscape){.app.game-mode:not(.debug-mode){margin:0 auto;padding:0 12px;border-radius:0}.game-mode:not(.debug-mode) .topbar{min-height:38px}.game-mode:not(.debug-mode) main{padding-top:0}.game-mode:not(.debug-mode) .section-heading,.game-mode:not(.debug-mode) .room-code{display:none}.game-mode:not(.debug-mode) .game-viewport{height:calc(100svh - 134px);min-height:190px}.game-mode:not(.debug-mode) .touch-controls{margin:8px 0 20px}.game-mode:not(.debug-mode) .touch-rods button{padding:8px}}@media(orientation:landscape){body:has(.game-mode:not(.debug-mode)){padding-top:0}}.webgl-fallback{height:100%;display:grid;place-content:center;padding:85px 24px 48px;text-align:center}.touch-controls{touch-action:none;overscroll-behavior:contain}.touch-controls button{min-height:48px;min-width:48px}button:focus-visible{outline:3px solid #4ce7c1;outline-offset:3px}.settings{align-self:flex-end;position:relative;z-index:20}.settings>button{min-height:44px;border-radius:12px;padding:8px 14px;background:#e7ecdd;color:#17392e}.settings>button{display:grid;width:44px;min-height:44px;padding:10px;place-items:center}.settings>button svg{display:block;width:22px;height:22px}.settings section{position:absolute;right:0;top:100%;width:min(310px,85vw);padding:18px;display:grid;gap:12px;color:#999;background:#faf9f1;border:1px solid #b2c2b2;border-radius:12px;box-shadow:0 12px 35px #102b3233}.action-game-footer.action-game-footer-settings{grid-template-columns:auto minmax(0,1fr) auto}.action-game-footer .settings.settings-game{position:relative;align-self:center;inset:auto;z-index:20;font-size:1rem}.action-game-footer .settings.settings-game section{top:auto;right:auto;bottom:calc(100% + 8px);left:0;max-height:calc(100svh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}.settings label{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings input[type=checkbox]{width:24px;height:24px}.settings input[type=range]{width:130px}.settings select{min-height:44px}.game-scorebar{padding:10px 16px;align-items:center;background:linear-gradient(#102b32ee,#102b3288)}.game-scorebar>span{min-width:0;display:flex;align-items:center;gap:6px}.game-scorebar b{overflow:hidden;text-overflow:ellipsis;max-width:15ch;white-space:nowrap}.game-scorebar small{border:1px solid currentColor;border-radius:6px;padding:1px 4px;font-size:9px}.game-clock>span{font-variant-numeric:tabular-nums;font-size:clamp(20px,4vw,32px);font-weight:800}.game-center{font-size:clamp(36px,7vw,64px)}.game-center small{font-size:clamp(18px,4vw,30px)}.goal-celebration.team-home{color:#4ce7c1}.goal-celebration.team-away{color:#ff8668}.goal-effect{position:fixed;z-index:300;inset:0;display:grid;overflow:hidden;place-items:center;pointer-events:none;perspective:700px}.goal-effect:before{position:absolute;width:min(105vw,680px);aspect-ratio:1;border-radius:50%;background:repeating-conic-gradient(from -8deg,#ffee5700 0deg 9deg,#fff59494 10deg 11deg,#ffee5700 13deg 20deg);content:"";animation:goal-rays 1.5s ease-out both}.goal-effect:after{position:absolute;inset:0;background:radial-gradient(ellipse at center,rgb(255 250 193 / 28%),rgb(255 112 0 / 8%) 34%,transparent 68%);content:"";animation:goal-flash 1.5s ease-out both}.goal-effect span{position:relative;z-index:1;max-width:100vw;padding-inline:3vw;color:#fff36a;font-size:clamp(76px,23vw,164px);font-style:italic;font-weight:1000;letter-spacing:-.065em;line-height:1;white-space:nowrap;-webkit-text-stroke:clamp(3px,1vw,8px) #d20d12;paint-order:stroke fill;text-shadow:0 2px 0 #fff7a5,0 6px 0 #fa9711,0 9px 0 #9c0711,0 0 12px #fff9ae,0 0 28px #ffef32,0 0 54px #ff5512,0 12px 28px rgb(57 0 0 / 80%);animation:goal-word 1.5s cubic-bezier(.16,.82,.25,1) both}@keyframes goal-word{0%{opacity:0;transform:translateY(14px) rotateX(35deg) rotate(-8deg) scale(.22);filter:brightness(2.5)}22%{opacity:1;transform:translateY(0) rotateX(0) rotate(3deg) scale(1.16);filter:brightness(1.8)}34%{transform:rotate(-2deg) scale(.98);filter:brightness(1.2)}67%{opacity:1;transform:rotate(0) scale(1.03);filter:brightness(1.45)}to{opacity:0;transform:translateY(-18px) rotate(2deg) scale(.86);filter:brightness(1.8)}}@keyframes goal-rays{0%{opacity:0;transform:rotate(-30deg) scale(.15)}22%{opacity:.95}65%{opacity:.58;transform:rotate(22deg) scale(1)}to{opacity:0;transform:rotate(45deg) scale(1.25)}}@keyframes goal-flash{0%,to{opacity:0}12%{opacity:1}26%{opacity:.24}}.goal-celebration.animate{animation:goal-pop .6s ease-out both}.countdown-pulse.animate{animation:count-pulse .6s ease-out both}@keyframes goal-pop{0%{opacity:.35;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes count-pulse{0%{opacity:.5;transform:scale(1.04)}to{opacity:1;transform:scale(1)}}.result-controls{justify-content:center;border-radius:14px;background:#e9efdc;padding:12px}.result-controls button{min-height:48px;padding:10px 18px;border-radius:12px}.kick-button{min-width:120px;font-weight:900;font-size:18px;box-shadow:inset 0 -3px #ffffff18}.kick-button:active:not(:disabled){background:#206a53}@media(prefers-reduced-motion:reduce){.goal-effect:before,.goal-effect:after,.goal-effect span{animation:none}.goal-celebration.animate,.countdown-pulse.animate{animation:none;transform:none}}.action-game-screen{position:fixed;z-index:100;inset:0;display:grid;grid-template-rows:54px minmax(0,1fr) 48px;justify-items:center;gap:4px;padding:max(6px,env(safe-area-inset-top)) max(0px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(0px,env(safe-area-inset-left));overflow:hidden;color:#f2f5e9;background:#041e7e;font-variant-numeric:tabular-nums}.game-audio-enable{position:fixed;z-index:400;right:max(12px,env(safe-area-inset-right));bottom:calc(64px + env(safe-area-inset-bottom));min-height:44px;padding:8px 14px;border:1px solid #b5eaff;border-radius:10px;color:#f2f9ff;background:#102443;box-shadow:0 3px 14px #0006;font-size:13px;touch-action:manipulation}.action-game-hud,.action-game-footer{width:100%;display:grid;align-items:center;gap:8px;padding-inline:8px}.action-game-hud{grid-template-columns:minmax(0,1fr) auto;align-items:center}.action-game-clock{display:grid;justify-items:end;line-height:1.1}.action-game-clock small{color:#9db9ad;font-size:9px;letter-spacing:.14em}.action-game-clock strong{font-size:22px}.action-game-score{display:flex;align-items:center;justify-self:start;min-width:0;gap:clamp(5px,1.6vw,9px);padding:4px 6px;border:1px solid rgb(192 221 255 / 24%);border-radius:10px;background:#05143773;white-space:nowrap;font-size:clamp(20px,5.8vw,26px);font-weight:900;font-variant-numeric:tabular-nums}.action-scoreboard .avatar{width:clamp(24px,6.8vw,30px);height:clamp(24px,6.8vw,30px);border-radius:7px;font-size:16px}.action-scoreboard-team{display:flex;flex:none}.action-scoreboard-values{display:flex;align-items:center;gap:6px;line-height:1}.action-scoreboard-divider{color:#9db9ad;font-size:18px}.action-game-stage{position:relative;isolation:isolate;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;overscroll-behavior:contain}.action-stadium-audience{position:absolute;z-index:-1;inset:0;pointer-events:none;background-color:#091d23;background-image:radial-gradient(ellipse at center,transparent 25%,#041117a6 100%),url(/images/stadium-audience.webp),repeating-linear-gradient(0deg,transparent 0 30px,#071820b8 30px 38px),radial-gradient(circle at 25% 30%,#b3aa87 0 1px,transparent 1.8px),radial-gradient(ellipse at 25% 70%,#496f79 0 2px,transparent 3px),radial-gradient(circle at 75% 35%,#779388 0 1.2px,transparent 2px),linear-gradient(#203c47,#0c2028);background-size:cover,cover,auto,13px 16px,13px 16px,17px 19px,cover;background-position:center;background-repeat:no-repeat,no-repeat,repeat,repeat,repeat,repeat,no-repeat;box-shadow:inset 0 0 65px 20px #031117a6}.action-game-stage canvas{display:block;width:100%;height:100%;touch-action:none}.action-model-loading{position:absolute;z-index:2;top:12px;left:50%;transform:translate(-50%);display:grid;gap:2px;max-width:calc(100% - 24px);padding:8px 16px;border:1px solid #8ed9de80;border-radius:12px;background:#0b2238e8;color:#efffff;font-size:clamp(11px,2.8vw,13px);text-align:center;pointer-events:none}.action-match-result{position:absolute;z-index:4;inset:0;display:grid;place-items:center;padding:clamp(12px,3vw,32px);background:#0208167a;animation:action-result-dim .22s ease-out both}.action-result-panel{position:relative;isolation:isolate;width:min(100%,560px);max-height:100%;overflow:hidden;padding:clamp(22px,5vw,42px) clamp(12px,3vw,28px);border:1px solid #b5eaff;border-radius:24px;color:#f2f9ff;background:linear-gradient(145deg,#0f2344f2,#050e23f0);box-shadow:0 0 0 4px #77bfff18,0 0 28px #84d8ff4d,0 20px 48px #0009,inset 0 1px #ffffff40;text-align:center;animation:action-result-panel-in .35s cubic-bezier(.2,.8,.2,1) both}.action-result-title{margin:0 0 clamp(20px,4vw,34px);color:#d6f2ff;font-size:clamp(22px,5vw,36px);font-weight:900;letter-spacing:.17em;text-shadow:0 0 18px #91dbff80;animation:action-result-reveal .25s 80ms both}.action-result-teams{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1.2fr) minmax(0,1fr);align-items:center;gap:clamp(5px,1.5vw,16px)}.action-result-player{display:grid;min-width:0;justify-items:center;gap:8px}.action-result-player .avatar{width:clamp(48px,12vw,78px);height:clamp(48px,12vw,78px);border:2px solid #d8f3ffb0;border-radius:18px;box-shadow:0 7px 16px #0005}.action-result-side{color:#9cbdd7;font-size:10px;font-weight:800;letter-spacing:.13em}.action-result-player strong{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:clamp(11px,2.7vw,16px)}.action-result-score{display:flex;justify-content:center;align-items:center;gap:clamp(6px,1.6vw,14px);font-size:clamp(30px,7.5vw,60px);font-weight:900;font-variant-numeric:tabular-nums;text-shadow:0 3px 14px #8edaff45;animation:action-result-reveal .22s .22s both}.action-result-dash{color:#88a6c5;font-size:.55em}.action-result-outcome{display:grid;justify-items:center;gap:8px;margin-top:clamp(22px,5vw,36px);font-size:clamp(28px,6.5vw,42px);font-weight:900;letter-spacing:.06em;color:#e5f4ff;animation:action-result-reveal .25s .38s both}.action-result-trophy{font-size:48px;line-height:1.2;filter:drop-shadow(0 0 12px #ffdc6570)}.action-result-confetti{position:absolute;z-index:-1;inset:0;overflow:hidden;pointer-events:none}.action-result-confetti i{position:absolute;left:var(--confetti-x);top:-12px;width:5px;height:10px;background:var(--confetti-color);animation:action-result-confetti 1.3s var(--confetti-delay) ease-in both}@keyframes action-result-dim{0%{background:transparent}}@keyframes action-result-panel-in{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes action-result-reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes action-result-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}15%{opacity:1}to{opacity:0;transform:translateY(450px) rotate(var(--confetti-turn))}}@media(max-height:460px){.action-result-panel{padding:12px;border-radius:16px}.action-result-title{margin-bottom:8px;font-size:20px}.action-result-player .avatar{width:40px;height:40px;border-radius:10px}.action-result-player{gap:3px}.action-result-outcome{display:flex;justify-content:center;margin-top:8px;font-size:26px}.action-result-trophy{font-size:30px}}@media(prefers-reduced-motion:reduce){.action-match-result,.action-result-panel,.action-result-title,.action-result-score,.action-result-outcome{animation:none}.action-result-confetti{display:none}.action-result-confetti i{animation:none}}.action-game-footer{grid-template-columns:1fr auto;color:#d6e4d9;font-size:10px;padding-inline:8px}.action-game-footer-state{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.action-view-switch{display:flex;gap:5px}.action-view-switch button{min-width:48px;min-height:40px;padding:5px 8px;border:1px solid #7d9c8f;border-radius:8px;background:#183f39;color:#e7f2e7;font-size:10px;font-weight:800;touch-action:manipulation}.action-view-switch button[aria-pressed=true]{background:#d7ec7c;color:#183b32}.action-game-footer-state>button,.action-return-button{min-height:40px;padding:5px 16px;border:1px solid #d7ec7c;border-radius:8px;background:#d7ec7c;color:#183b32;font-size:11px;font-weight:900;touch-action:manipulation}.action-game-footer-state>[role=alert]{grid-column:1 / -1;color:#ffd8c6;font-size:10px;overflow-wrap:anywhere}.action-game-sr-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.action-net-debug{position:absolute;z-index:5;left:max(6px,env(safe-area-inset-left));bottom:max(54px,calc(env(safe-area-inset-bottom) + 48px));max-width:calc(100vw - 12px);padding:4px 7px;border-radius:5px;color:#e1f3dc;background:#102b32dd;font:9px/1.4 ui-monospace,monospace;pointer-events:none}@media(min-width:720px){.action-game-screen{grid-template-rows:54px minmax(0,1fr) 48px}.action-game-stage{width:100%;height:100%}.action-game-hud,.action-game-footer{width:min(100%,calc((100svh - 132px)*.5625))}}.app{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);min-height:100svh}.game-mode{position:relative}.game-mode .settings{position:absolute;right:max(12px,env(safe-area-inset-right));top:env(safe-area-inset-top)}.game-mode .topbar{padding-right:90px;min-height:48px}.game-mode .settings>button{font-size:11px}.game-mode:not(.debug-mode) .input-result{height:0;overflow:hidden;margin:0}.performance-overlay{display:block;font:11px/1.6 ui-monospace,monospace;color:#e1f3dc;background:#102b32;padding:8px;border-radius:8px}.webgl-fallback button{pointer-events:auto;min-height:44px;border-radius:10px;margin:12px auto;padding:8px 18px}@media(orientation:landscape){.app.game-mode:not(.debug-mode){padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:env(safe-area-inset-bottom)}.game-mode:not(.debug-mode) .game-viewport{height:calc(100svh - 136px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:180px}.game-mode:not(.debug-mode) .topbar{min-height:48px}.game-mode:not(.debug-mode) .touch-controls{margin:8px 0}}@media(max-width:380px){.game-scorebar{padding:8px;gap:6px}.game-scorebar b{max-width:7ch}.game-scorebar>span{flex-wrap:wrap;gap:2px}.game-bottom{font-size:9px}.kick-button{min-width:86px;padding:10px}.touch-rods button{padding:10px 8px}}@media(min-width:1200px){.app.game-mode{max-width:1200px}}.game-scorebar>span{flex-direction:row;flex-wrap:wrap;justify-content:center}.game-scorebar b{font-size:11px}.game-scorebar{padding:8px 12px}.game-scorebar strong{font-size:26px}.playtest-overlay{font:12px/1.6 ui-monospace,monospace;background:#102b32;color:#d9f4dc;padding:12px;border-radius:10px;margin:8px 0;overflow-wrap:anywhere}.playtest-overlay button{min-height:44px;margin:6px;padding:8px 12px}.playtest-overlay textarea{width:100%;height:180px;font:11px monospace}.title-mode.app{position:relative;isolation:isolate;width:min(100%,520px);height:100dvh;min-height:100svh;overflow:hidden;padding:0;border:0;border-radius:0;background:#1765ae;color:#fff}.title-mode.app:before,.title-mode.app:after{position:absolute;inset:0;z-index:-1;content:"";pointer-events:none}.title-mode.app:before{background-image:url(/images/title/title-background.webp);background-position:center center;background-repeat:no-repeat;background-size:cover}.title-mode.app:after{inset:auto 0 0;height:40%;background:linear-gradient(180deg,transparent 0%,rgb(3 28 22 / 24%) 34%,rgb(3 28 22 / 65%) 100%)}.title-mode .topbar{position:absolute;z-index:5;inset:env(safe-area-inset-top) 0 auto;min-height:56px;padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));color:#fff;text-shadow:0 1px 5px rgb(0 22 55 / 65%)}.brand{font-size:10px}.brand-mark{width:44px;height:44px;border-radius:0;object-fit:contain;background:transparent;filter:drop-shadow(0 2px 5px rgb(0 22 55 / 35%))}.brand-name{font-size:10px;letter-spacing:.09em;white-space:nowrap}.connection{margin-right:0;color:#fff}.connection i{background:#bff56a;box-shadow:0 0 8px #bff56abf}.settings{position:absolute;z-index:10;top:max(6px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}.title-mode .settings>button{display:none}.title-mode .settings section{color:#17392e;text-shadow:none}.title-mode main{position:relative;z-index:1;display:flex;flex:1;min-height:0;padding:0}.title-mode .reconnect-banner{display:none}.title-mode>.page-footer{display:none}.title-mode .title-hero{display:flex;flex:1;flex-direction:column;align-items:center;min-height:0;padding:0 max(18px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}.title-mode .title-hero>.eyebrow,.title-mode .title-hero>h1,.title-mode .title-description,.title-mode .hero-art,.title-mode .title-footnote{display:none}.title-logo{display:block;flex:none;width:min(calc(100vw - 40px),440px);height:auto;max-height:38svh;object-fit:contain;margin:clamp(100px,14svh,150px) auto 0;filter:drop-shadow(0 5px 12px rgb(0 0 0 / 35%))}.title-menu{display:grid;width:100%;gap:clamp(8px,2.4svh,18px);margin:clamp(14px,3svh,26px) 0 clamp(72px,11svh,100px)}.title-submenu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,3vw,16px)}.title-image-button{display:block;min-width:0;padding:0;border:0;background:transparent;line-height:0;cursor:pointer;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 5px 8px rgb(0 22 56 / 32%));transition:transform .1s ease,filter .1s ease}.title-image-button img{display:block;width:100%;height:auto;object-fit:contain;-webkit-user-select:none;user-select:none}.title-start-button,.title-submenu .title-image-button{width:100%}.title-feature-banner{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 4px 8px rgb(0 22 56 / 28%))}.title-image-button:active{transform:translateY(3px) scale(.985);filter:drop-shadow(0 2px 4px rgb(0 22 56 / 35%))}.title-image-button:focus-visible{outline:3px solid white;outline-offset:3px;border-radius:18px}.title-mode .settings section{top:48px;right:0;color:#17392e;text-shadow:none}.how-to-play-backdrop{position:fixed;z-index:30;inset:0;display:grid;place-items:center;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:#00143094}.how-to-play-dialog{width:min(100%,420px);padding:24px;border:2px solid #54bcff;border-radius:22px;background:#fff;color:#123d79;box-shadow:0 18px 50px #00143059}.how-to-play-dialog h2{margin:0 0 14px;font-size:1.5rem}.how-to-play-dialog p{margin:10px 0;line-height:1.6}.how-to-play-dialog>button{width:100%;min-height:48px;margin-top:12px;border:0;border-radius:12px;background:#0878dd;color:#fff;font:inherit;font-weight:700}@media(min-width:700px){body:has(.title-mode){padding:30px 0}.title-mode.app{height:calc(100dvh - 60px);min-height:min(660px,calc(100dvh - 60px));border:1px solid rgb(255 255 255 / 65%);border-radius:22px;box-shadow:0 20px 70px #00143059}}@media(max-height:680px){.title-mode .title-logo{width:min(calc(100vw - 56px),360px);max-height:32svh;margin-top:max(88px,14svh)}.title-mode .title-menu{margin-top:12px;margin-bottom:max(24px,env(safe-area-inset-bottom))}}.club-avatar{font-size:clamp(9px,.85em,19px);text-shadow:0 1px 3px #000b;overflow:hidden}.club-avatar img{background:#fff}.action-scoreboard .club-avatar{font-size:9px;letter-spacing:-.05em}.action-result-player .club-avatar{font-size:clamp(10px,2.5vw,18px)}.action-result-outcome strong{min-width:0;overflow-wrap:anywhere}.team-avatar-button{padding:0;border:0;background:none;border-radius:10px;cursor:pointer;flex:none}.team-avatar-button:focus-visible,.team-selection-card:focus-visible{outline:3px solid #0057b8;outline-offset:3px}.selected-team-name{color:#315343;font-size:12px;font-weight:800}.team-selection-modal{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #d1d9bd;border-radius:20px;color:#153b36;background:#f7f9ed;box-shadow:0 20px 80px #001b25a0}.team-selection-modal::backdrop{background:#061b30bb}.team-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.team-selection-heading h2{margin:0 0 16px;font-size:22px}.team-selection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 20px}.team-selection-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;border:2px solid #d7dfcc;border-radius:12px;background:#fff;color:#173b32;cursor:pointer;min-width:0}.team-selection-card[aria-pressed=true]{border-color:#0057b8;background:#edf5ff}.team-selection-card small{font-size:11px}.team-selection-card:disabled{opacity:.65;cursor:wait}@media(min-width:720px){.team-selection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
