@import "https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap";:root{color:#25271f;font-synthesis:none;--paper:#f8f4eb;--ink:#25271f;--yellow:#efd249;--teal:#aae4dd;background:#e9e6de;font-family:Noto Sans KR,sans-serif;font-weight:500}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none}:is(button:focus-visible,input:focus-visible){outline-offset:4px;outline:3px solid #168f8a}button:disabled{cursor:default}button svg{width:23px;height:23px}.site-wrap{justify-content:center;align-items:center;gap:68px;min-height:100dvh;padding:24px;display:flex}.phone-shell{background:var(--paper);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.035' filter='url(%23n)'/%3E%3C/svg%3E");border:1px solid #d7d1c4;width:420px;min-width:0;max-width:100%;min-height:820px;position:relative;overflow:hidden;box-shadow:0 15px 60px #3e372324}.topbar{z-index:2;justify-content:space-between;align-items:center;height:72px;padding:18px 20px 10px;display:flex;position:relative}.wordmark{letter-spacing:-1.4px;text-align:left;background:0 0;border:0;padding:0;font-size:20px;font-weight:900;line-height:.95;position:relative;transform:rotate(-4deg)}.wordmark span{letter-spacing:-1.2px;font-size:27px;display:block}.wordmark i{color:#be9d1c;font-size:31px;position:absolute;top:9px;right:-24px}.header-right{align-items:center;gap:17px;display:flex}.kill-counter{align-items:baseline;gap:5px;display:flex;position:relative}.kill-counter:before{content:"";background:var(--yellow);z-index:-1;position:absolute;inset:11px -7px 1px;transform:rotate(-4deg)}.kill-counter strong{font-size:27px;font-weight:900}.kill-counter span{font-size:12px;font-weight:800}.sound-button{background:0 0;border:0;place-items:center;padding:6px;display:grid}.muted-icon{font-size:24px;position:relative}.muted-icon b{font-size:18px}.battlefield{height:425px;position:relative}.arena-canvas{position:absolute;inset:0}.arena-canvas canvas{display:block}.opponent-info{z-index:2;pointer-events:none;position:absolute;top:27px;left:24px}.stage-label{letter-spacing:1.7px;color:#888574;font-size:8px;font-weight:800}.opponent-info h2{background:#efd24999;border-radius:2px;margin:7px 0 3px;padding:1px 9px;font-family:Gaegu,sans-serif;font-size:29px;line-height:1.1;display:inline-block;transform:rotate(-3deg)}.opponent-info h2 span{margin-left:13px;font-family:sans-serif;font-size:15px}.opponent-info p{margin:4px 0 9px;font-size:10px}.energy{align-items:baseline;gap:9px;font-size:13px;font-weight:800;display:flex}.energy strong{font-size:34px;font-weight:900;line-height:1}.opponent-info .energy strong{font-size:25px}.battle-caption{text-align:center;pointer-events:none;font-family:Gaegu,sans-serif;font-size:25px;font-weight:700;position:absolute;bottom:9px;left:17px;right:17px}.battle-caption.intro{background:#f8f4ebd9;font-size:43px;animation:.18s ease-out pop;top:44%;bottom:auto;transform:rotate(-4deg)}.battle-caption.victory{color:#1d746d;font-size:65px;top:40%;bottom:auto;transform:rotate(-8deg)}.intro-note{text-align:center;color:#747568;width:100%;font-size:11px;position:absolute;bottom:10px}.hero-stamp{letter-spacing:-1px;pointer-events:none;font-size:25px;font-weight:900;line-height:.9;position:absolute;top:185px;left:28px;transform:rotate(-12deg)}.hero-stamp span{color:#76836c;font-size:15px}.home-field{height:337px}.home-field .opponent-info{top:12px}.home-field .arena-canvas{inset:0 0 -12px}.controls-panel{padding:0 18px 12px}.player-status{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.selection{color:#8b8a7d;font-size:10px}.selection.chosen{color:#28756f;font-weight:800}.action-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.action-button{border:2px solid var(--ink);height:80px;box-shadow:1px 3px 0 var(--ink);background:#fffdf7;border-radius:13px 9px 12px 8px;align-items:center;gap:8px;padding:9px 9px 9px 5px;transition:background 80ms,transform 80ms,box-shadow 80ms;display:flex;position:relative;overflow:hidden}.action-button:nth-child(2n){border-radius:9px 13px 8px 12px}.action-button.charge{grid-column:span 2;justify-content:center;gap:18px;height:72px}.action-button.selected{background:var(--teal);box-shadow:1px 3px #1c5751}.action-button:active:not(:disabled){box-shadow:0 1px 0 var(--ink);transform:translateY(2px)}.action-button.unaffordable{color:#88897f;background:#e9e6de;border-color:#99988e;box-shadow:1px 3px #99988e}.action-button:disabled{filter:saturate(.65)}.move-icon{background-image:url(/art/hands-atlas.png);background-repeat:no-repeat;background-size:300% 200%;flex-shrink:0;width:55px;height:55px}.unaffordable .move-icon{opacity:.4;filter:grayscale()}.move-copy{text-align:left;white-space:nowrap}.move-copy strong{letter-spacing:-1px;font-size:18px;font-weight:900}.beam .move-copy strong{font-size:16px}.move-copy small{margin-top:4px;font-size:11px;display:block}.charge .move-copy{align-items:center;gap:17px;display:flex}.charge .move-copy strong{font-size:23px}.charge .move-copy small{font-size:16px}kbd{color:#7f8276;font:8px Noto Sans KR,sans-serif;position:absolute;bottom:5px;right:7px}.selected-check{font-size:11px;position:absolute;top:3px;right:6px}.control-foot{color:#8b8a7b;letter-spacing:.3px;justify-content:space-between;margin-top:15px;font-size:8px;display:flex}.start-panel{padding:0 24px 20px}.start-heading{margin-bottom:18px}.eyebrow{letter-spacing:1.6px;font-size:9px;font-weight:800}.start-heading .eyebrow{letter-spacing:0;color:#676b59;font-size:11px}.start-heading h2{letter-spacing:-1px;margin:3px 0;font-family:Gaegu,sans-serif;font-size:35px}.start-heading p{color:#777a6b;margin:0;font-size:11px}.start-panel label{justify-content:space-between;margin-bottom:7px;font-size:11px;font-weight:800;display:flex}.start-panel label span{color:#898b80;font-size:9px;font-weight:400}input{width:100%;height:45px;color:var(--ink);background:#fffcf5;border:1.5px solid #bbb9ab;border-radius:8px;padding:0 13px;font-size:16px}.primary{background:var(--yellow);border:2px solid var(--ink);box-shadow:2px 3px 0 var(--ink);border-radius:9px 13px 8px 11px;justify-content:center;align-items:center;gap:20px;width:100%;min-height:51px;font-size:18px;font-weight:900;display:flex}.primary:active{box-shadow:0 1px 0 var(--ink);transform:translateY(2px)}.primary:disabled{opacity:.6}.primary span{font-size:25px}.start-button{margin-top:11px}.text-button{background:0 0;border:0;margin:15px auto;padding:4px;font-size:11px;display:block}.prototype-note{color:#96978b;text-align:center;margin:9px 0 0;font-size:8px;line-height:1.7}.form-error{color:#a44236;margin:7px 0;font-size:11px}.modal-shade{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10;background:#26251c67;justify-content:center;align-items:center;padding:25px;display:flex;position:absolute;inset:0}.result-card,.help-card{background:var(--paper);border:2px solid var(--ink);text-align:center;border-radius:15px 8px 12px 10px;width:100%;padding:30px 24px;animation:.22s ease-out pop;position:relative;box-shadow:5px 6px #25271f}.result-name{margin:24px 0 0;font-size:13px}.result-card h2{margin:0;font-family:Gaegu,sans-serif;font-size:30px;transform:rotate(-3deg)}.result-card h2 strong{letter-spacing:-7px;margin-right:9px;font-family:Noto Sans KR,sans-serif;font-size:92px}.result-line{background:var(--yellow);width:110px;height:6px;margin:-3px auto 20px;transform:rotate(-3deg)}.reason{margin:0 0 24px;font-size:12px;line-height:1.8}.help-card{text-align:left}.help-card h2{margin:10px 0;font-family:Gaegu,sans-serif;font-size:26px}.help-card p{font-size:12px;line-height:1.8}.help-card ul{margin:20px 0;padding:0;list-style:none}.help-card li{border-bottom:1px dashed #cbc7b8;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;font-size:11px;display:flex}.help-card li span{color:#757b69;font-size:10px}.help-warning{background:#efd2493b;margin-bottom:20px;padding:12px;font-size:11px;line-height:1.8}.close{background:0 0;border:0;font-size:28px;position:absolute;top:10px;right:15px}.toast{color:#fff;text-align:center;z-index:15;background:#25271feb;border-radius:9px;padding:13px;font-size:12px;position:absolute;bottom:320px;left:20px;right:20px}.desktop-note{width:240px}.desktop-note h1{letter-spacing:-3px;margin:28px 0 20px;font-family:Gaegu,sans-serif;font-size:66px;line-height:1.1;transform:rotate(-4deg)}.desktop-note p{color:#737568;font-size:13px;line-height:1.9}.note-rule{background:#b3bb9f;width:50px;height:4px;margin:28px 0}.desktop-note p.subtle{letter-spacing:1.5px;font-size:8px}.desktop-right{color:#878a7a;align-self:center;width:145px}.desktop-right>span{letter-spacing:1px;font-size:8px}.side-scribble{color:#727e66;margin:35px 0;font-family:Gaegu,sans-serif;font-size:38px;transform:rotate(9deg)}.desktop-right p{font-size:10px;line-height:2.1}.desktop-right b{color:#575e4f;font-size:11px}@keyframes pop{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@media (max-width:1050px){.desktop-right{display:none}.site-wrap{gap:35px}.desktop-note{width:200px}}@media (max-width:720px){.desktop-note{display:none}.site-wrap{min-height:100dvh;padding:0;display:block}.phone-shell{width:100%;max-width:480px;min-height:100dvh;box-shadow:none;border:0;flex-direction:column;margin:auto;display:flex}.topbar{padding-top:max(14px, env(safe-area-inset-top));flex-shrink:0;height:70px}.battlefield{aspect-ratio:400/425;flex:1;height:auto;min-height:290px;max-height:480px}.controls-panel{padding-bottom:max(13px, env(safe-area-inset-bottom));flex-shrink:0}.home-field{aspect-ratio:400/330;min-height:260px;max-height:355px}.start-panel{padding-bottom:max(20px, env(safe-area-inset-bottom))}.action-button{height:77px}.action-button.charge{height:69px}kbd{display:none}.opponent-info{top:18px}.hero-stamp{top:160px}.modal-shade{max-width:480px;margin:auto;position:fixed}.toast{max-width:430px;margin:auto;position:fixed}.control-foot{font-size:8px}.move-icon{width:54px;height:54px}}@media (max-height:760px) and (max-width:720px){.topbar{height:61px}.battlefield{min-height:240px;max-height:330px}.home-field{min-height:215px;max-height:245px}.opponent-info{top:10px;left:18px}.opponent-info h2{font-size:25px}.opponent-info p{font-size:9px}.opponent-info .energy strong{font-size:22px}.action-button{height:64px}.action-button.charge{height:59px}.move-icon{width:46px;height:46px}.player-status{margin-bottom:8px}.action-grid{gap:8px}.start-heading{margin-bottom:11px}.start-heading h2{font-size:30px}.start-panel{padding-top:0}.hero-stamp{font-size:22px;top:125px}.control-foot{margin-top:11px}.energy strong{font-size:30px}.battle-caption{font-size:21px}.text-button{margin:11px auto}.start-panel label{margin-bottom:5px}.prototype-note{font-size:7px}.move-copy strong{font-size:17px}.beam .move-copy strong{font-size:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (max-width:720px){.phone-shell{height:100dvh;min-height:0}.battlefield,.home-field{aspect-ratio:auto;flex:1 1 0;min-height:0;max-height:none}.start-panel{flex-shrink:0}.home-field .arena-canvas{inset:0}.modal-shade{overflow-y:auto}.help-card{max-height:calc(100dvh - 40px);overflow-y:auto}}@media (max-width:350px){.controls-panel{padding-left:13px;padding-right:13px}.move-icon{width:34px;height:34px}.action-button{gap:6px}.move-copy strong{font-size:16px}.beam .move-copy strong{font-size:13px}.start-panel{padding-left:19px;padding-right:19px}.opponent-info{left:16px}.hero-stamp{font-size:19px;top:110px}}.arena-canvas{overflow:hidden}.desktop-note h1{white-space:nowrap;font-size:54px}.battlefield[hidden]{visibility:hidden;pointer-events:none;width:min(400px,100%);height:450px;display:block;position:absolute}.kill-counter[hidden]{display:none}.start-panel{flex-direction:column;flex:1;justify-content:center;display:flex}.home-title{text-align:center;margin:10px 0 24px}.home-title>span{background:#f4cf42;border:2px solid #24251f;border-radius:45%;padding:0 12px;font:700 44px Gaegu,sans-serif;display:inline-block;transform:rotate(-12deg)}.home-title>span+span{margin-left:25px;transform:rotate(12deg)translateY(12px)}.home-title h2{letter-spacing:-5px;margin:24px 0 12px;font:700 76px/.88 Gaegu,sans-serif}.home-title p{letter-spacing:2px;font-size:10px}.battle-caption.intro{white-space:nowrap;font-size:clamp(24px,7vw,34px)}@media (max-height:680px){.home-title{margin:0 0 10px}.home-title h2{margin:14px 0 8px;font-size:50px}.home-title>span{font-size:30px}}.player-status{flex-wrap:wrap;gap:4px;margin-bottom:10px}.selection{text-align:center;width:100%;color:var(--ink);background:#f2dc71;border-radius:8px;order:2;padding:9px 6px;font-size:19px;font-weight:800;line-height:1.35;display:block}.selection.chosen{color:#245d54;background:#d9ebe4;font-size:17px}.move-copy strong,.beam .move-copy strong{font-size:20px}.move-copy small,.energy,.opponent-info p{font-size:15px}.start-heading p,.start-panel label,.text-button,.reason,.result-name{font-size:16px}.start-panel label span,.prototype-note,.control-foot,.stage-label{font-size:12px}.tutorial-dialog{border:2px solid var(--ink);background:var(--paper);width:min(440px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);border-radius:16px 9px 14px 10px;padding:0;overflow-y:auto;box-shadow:5px 6px #25271f}.tutorial-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#26251c99}.tutorial-body{padding:26px 20px 4px}.tutorial-body .eyebrow{font-size:14px}.tutorial-body h2{letter-spacing:-1px;margin:12px 0 16px;font-size:23px;line-height:1.45}.tutorial-body mark{color:inherit;background:#f4d84f}.tutorial-example{text-align:center;background:#eeeadd;border:1px dashed #aaa48d;border-radius:12px;padding:12px}.example-beats{justify-content:center;align-items:center;gap:10px;display:flex}.example-beats b{opacity:.4;padding:4px 7px;font-size:20px}.example-beats .current{opacity:1;background:#f4d84f;border-radius:8px;transform:rotate(-5deg)}.example-beats .reveal{background:#b4d8cf}.example-hands{background-repeat:no-repeat;width:102px;height:84px;margin:0 auto}.example-button{background:var(--paper);border:2px solid #34372e;border-radius:8px;padding:7px;font-size:16px}.example-button.picking{background:#b4d8cf;box-shadow:0 3px #34372e}.tutorial-example>strong{min-height:20px;margin-top:10px;font-size:14px;display:block}.tutorial-explanation{margin:14px 0 8px;font-size:16px;line-height:1.7}.tutorial-warning{margin:8px 0 14px;font-size:16px;font-weight:800}.tutorial-rules{font-size:15px;line-height:1.6}.tutorial-rules summary{cursor:pointer;padding:8px 0}.tutorial-rules ul{padding:0;list-style:none}.tutorial-rules li{border-bottom:1px dashed #b9b3a3;flex-direction:column;padding:8px 0;display:flex}.tutorial-footer{background:var(--paper);border-top:1px solid #d6d0bf;padding:12px 20px 16px}.tutorial-preference{cursor:pointer;align-items:center;gap:10px;min-height:44px;margin-bottom:8px;font-size:16px;display:flex}.tutorial-preference input{accent-color:#28756f;width:22px;height:22px}.tutorial-footer .primary{width:100%;font-size:21px}.tutorial-footer .text-button{min-height:36px;margin:10px auto 0;display:block}@media (max-width:350px){.selection{font-size:17px}.selection.chosen{font-size:15px}.move-copy strong,.beam .move-copy strong{font-size:18px}.tutorial-body{padding:22px 14px 4px}.tutorial-body h2{font-size:20px}.tutorial-footer{padding:8px 14px 12px}}@media (max-height:680px){.home-title{display:none}.tutorial-body h2{margin:8px 0 12px}.tutorial-dialog{max-height:calc(100dvh - 16px)}}.tutorial-dialog[open]{flex-direction:column;display:flex;overflow:hidden}.tutorial-body{min-height:0;overflow-y:auto}.tutorial-footer{flex-shrink:0}.selection{justify-content:center;align-items:center;height:56px;display:flex}@media (max-width:350px) and (max-height:680px){.opponent-info{top:8px}.opponent-info p{display:none}}.opponent-info{box-shadow:none;background:0 0;border:0;border-radius:0;padding:9px 0;top:4px;left:14px;right:14px}.opponent-meta{align-items:center;gap:8px;min-height:20px;display:flex}.opponent-info .stage-label{color:#514d3d;font-size:12px}.reinforcement{color:#fff;background:#bf592b;border-radius:0;padding:2px 7px;font-size:13px;transform:rotate(3deg)}.speed-up{color:#9d3517;margin-left:auto;font-size:13px;font-weight:900}.opponent-info .npc-name{white-space:nowrap;letter-spacing:-1px;clip-path:polygon(2% 0,99% 2%,97% 100%,0 95%);background:#f0d44f;max-width:100%;margin:8px 0 10px;padding:7px 12px;font-family:Gaegu,sans-serif;font-size:clamp(22px,6vw,29px);line-height:1.1;display:inline-block;transform:rotate(-2deg)}.opponent-detail{justify-content:space-between;align-items:center;gap:6px;display:flex}.opponent-info .opponent-detail p{word-break:keep-all;margin:0;font-size:12px;display:block}.opponent-detail .energy{white-space:nowrap;gap:5px;font-size:12px}.opponent-detail .energy strong{font-size:22px}.battlefield .arena-canvas{top:104px}.opponent-info.arriving{animation:.55s ease-out both rival-arrive}@keyframes rival-arrive{0%{opacity:0;transform:translate(28px)}65%{opacity:1;transform:translate(-3px)}to{transform:translate(0)}}@media (max-width:350px){.opponent-info{padding:7px 0;left:8px;right:8px}.opponent-info .npc-name{letter-spacing:-1.2px;font-size:22px}.opponent-info .opponent-detail p{font-size:10px}.battlefield .arena-canvas{top:95px}}@media (prefers-reduced-motion:reduce){.opponent-info.arriving{animation:none}}.test-settings{border:1px dashed #99927d;border-radius:8px;margin:16px 0;padding:12px}.test-settings summary{cursor:pointer;font-weight:700}.test-settings .test-toggle{align-items:center;gap:8px;margin:12px 0;font-size:15px;display:flex}.test-settings input[type=checkbox]{flex-shrink:0;width:20px;height:20px;margin:0}.test-fields select{width:100%;font:inherit;background:#fffdf7;border:2px solid #42443c;border-radius:8px;padding:12px}.test-fields p{font-size:13px;line-height:1.6}.test-fields label{margin-top:10px}@media (max-width:720px) and (max-height:760px){.phone-shell:has(.controls-panel) .topbar{height:52px;padding:max(6px, env(safe-area-inset-top)) 16px 4px}.phone-shell:has(.controls-panel) .wordmark{font-size:17px}.phone-shell:has(.controls-panel) .wordmark span{font-size:22px}.phone-shell:has(.controls-panel) .wordmark i{font-size:25px}.opponent-info{padding:2px 0;top:0;left:14px;right:14px}.opponent-meta{min-height:17px}.opponent-info .stage-label,.reinforcement,.speed-up{font-size:11px}.opponent-info .npc-name{margin:4px 0 5px;padding:5px 10px;font-size:24px}.opponent-info .opponent-detail p{font-size:11px}.opponent-detail .energy strong{font-size:20px}.battlefield .arena-canvas{top:82px;bottom:30px}.battle-caption.reveal{background:var(--paper);justify-content:center;align-items:center;min-height:28px;margin:0;font-size:18px;line-height:1.2;display:flex;bottom:0;left:10px;right:10px}.controls-panel{padding:2px 14px max(9px, env(safe-area-inset-bottom))}.player-status{flex-wrap:nowrap;gap:5px;margin-bottom:7px}.player-status>.energy{flex-shrink:0;gap:4px;font-size:12px}.player-status .energy strong{font-size:25px}.selection,.selection.chosen{flex:1;width:auto;height:36px;padding:3px 5px;font-size:14px;line-height:1.2}.action-grid{gap:7px}.action-button,.action-button.charge{gap:6px;height:54px;min-height:48px;padding:3px 7px}.move-icon{width:36px;height:36px}.move-copy strong,.beam .move-copy strong,.charge .move-copy strong{letter-spacing:-.8px;font-size:17px}.move-copy small,.charge .move-copy small{margin-top:1px;font-size:12px}.charge .move-copy{gap:10px}.control-foot{display:none}}@media (max-width:720px) and (max-height:600px){.phone-shell:has(.controls-panel) .topbar{height:48px}.opponent-info .npc-name{margin:3px 0;padding:4px 9px;font-size:22px}.battlefield .arena-canvas{top:73px;bottom:28px}.action-button,.action-button.charge{height:48px}.selection,.selection.chosen{height:32px;font-size:12px}.move-copy strong,.beam .move-copy strong,.charge .move-copy strong{font-size:16px}.move-icon{width:30px;height:30px}.battle-caption.reveal{font-size:16px}}.ranking-dialog{border:2px solid var(--ink);background:var(--paper);width:min(440px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);border-radius:12px;padding:18px;overflow:auto}.ranking-dialog::backdrop{background:#24251f99}.ranking-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.ranking-heading h2{margin:0;font-size:22px}.ranking-heading button{background:0 0;border:0;min-width:44px;min-height:44px;font-size:28px}.ranking-dialog>p{font-size:13px}.ranking-list{padding:0;list-style:none}.ranking-list li{border-bottom:1px dashed #aaa;align-items:center;gap:12px;padding:12px 0;display:flex}.ranking-list li div{overflow-wrap:anywhere;flex:1;min-width:0}.ranking-list small{color:#646457;font-size:11px;display:block}.record-status{text-align:center;font-size:14px;line-height:1.5}.record-status:empty{display:none}.record-status .text-button{margin:8px auto;font-size:14px}.phone-shell:has(.start-panel){height:auto;min-height:100dvh;overflow:visible}#root,.site-wrap,.start-panel,.controls-panel{min-width:0;max-width:100%}@media (max-width:720px){body:has(.controls-panel){overflow:hidden}.site-wrap:has(.controls-panel){width:100%;height:100dvh;min-height:0;position:fixed;inset:0;overflow:hidden}.phone-shell:has(.controls-panel){grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;min-height:0;display:grid;overflow:hidden}.phone-shell:has(.controls-panel)>.battlefield{aspect-ratio:auto;min-width:0;height:auto;min-height:0;max-height:none;overflow:hidden}.phone-shell:has(.controls-panel)>.controls-panel{min-width:0}}.practice-visibility{color:inherit;font:inherit;background:0 0;border:0;padding:0}.practice-visibility:focus-visible{outline-offset:4px}.practice-settings{border:1px dashed #99927d;margin:0 0 12px;padding:12px}.practice-settings h3{margin:12px 0;font-size:16px}.home-title h2{letter-spacing:-3px;font-size:clamp(48px,13vw,64px)}.tutorial-example[hidden]{display:none}.tutorial-navigation{align-items:center;gap:12px;display:flex}.tutorial-navigation>.text-button{flex-shrink:0}.round-arrival,.victory-stamp{z-index:8;text-align:center;pointer-events:none;background:#f8f4ebf5;border:3px solid #25271f;border-radius:12px;padding:16px 8px;position:absolute;top:28%;left:16px;right:16px;box-shadow:4px 5px #25271f}.round-arrival{animation:.22s ease-out both arrival-card}.round-arrival>span,.round-arrival>b{font-size:14px;display:block}.round-arrival>strong{font-size:clamp(26px,8vw,38px);display:block}.round-arrival p{word-break:keep-all;margin:8px 0 0;font-family:Gaegu,sans-serif;font-size:clamp(20px,5vw,26px)}.victory-stamp{background:#f4cf42;animation:.24s ease-out both victory-pop;transform:rotate(-4deg)}.victory-stamp strong{font:700 64px/1 Gaegu,sans-serif;display:block}.victory-stamp span{margin-top:8px;font-size:14px;display:block}.kill-counter.celebrate{animation:.45s ease-out score-pop}:is(.battlefield:has(.victory-stamp) .battle-caption,.battlefield:has(.round-arrival) .battle-caption){visibility:hidden}@keyframes victory-pop{0%{opacity:0;transform:rotate(-10deg)scale(1.25)}to{opacity:1;transform:rotate(-4deg)scale(1)}}@keyframes score-pop{40%{transform:scale(1.22)rotate(-3deg)}}@keyframes arrival-card{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.round-arrival,.victory-stamp,.kill-counter.celebrate{animation:none}}.action-button.beam .move-copy{padding-top:12px;position:relative}.ultimate-badge{letter-spacing:0;color:#503307;background:#f5d76a;border-radius:4px;padding:0 5px;font-size:10px;font-weight:900;line-height:14px;position:absolute;top:-3px;left:0}.action-button.beam.ultimate-ready{background:#fff3c2;border-color:#b78312;box-shadow:1px 3px #805d10,inset 0 0 0 1px #edc451}.ultimate-ready .ultimate-badge{animation:.65s ease-out ultimate-ready-in}.action-button.beam.selected{background:var(--teal);border-color:#1c5751}@keyframes ultimate-ready-in{0%{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.ultimate-ready .ultimate-badge{animation:none}}.exit-game-button{min-width:44px;min-height:44px;color:var(--ink);background:0 0;border:1px solid #b5b0a2;border-radius:8px;flex-shrink:0;padding:4px 6px;font-size:13px;font-weight:700}.exit-game-button:hover{background:#eae4d6}@media (max-width:420px){.header-right{gap:6px}}.version-info{color:#66665a;margin:12px 0;font-size:13px;line-height:1.6}.version-info summary{cursor:pointer}.pause-game-button{color:var(--ink);background:0 0;border:0;flex-shrink:0;width:40px;min-height:44px;padding:0;font-size:25px;font-weight:900}.pause-game-button:hover{background:#eae4d6;border-radius:8px}.pause-dialog{box-sizing:border-box;border:2px solid var(--ink);width:min(360px,100vw - 32px);color:var(--ink);text-align:center;background:#faf6ec;border-radius:16px;padding:28px 24px}.pause-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#25271f88}.pause-dialog p{font-size:14px;line-height:1.6}.pause-dialog button{width:100%;margin-top:12px;display:block}:root{--result-title-size:24px;--result-emphasis-size:22px;--result-body-size:16px;--result-caption-size:14px}.popup-game-title{max-width:100%;color:var(--ink);font-size:var(--result-title-size);letter-spacing:-.055em;justify-content:center;align-items:center;gap:8px;margin:0 0 8px;padding:2px 4px 10px;font-weight:900;line-height:1.35;display:inline-flex}.popup-game-title>span{isolation:isolate;white-space:nowrap;position:relative}.popup-game-title>span:after{content:"";background:var(--yellow);clip-path:polygon(0 14%,98% 0,100% 82%,2% 100%);z-index:-1;height:9px;position:absolute;bottom:-3px;left:-3px;right:-3px;transform:rotate(-2deg)}.popup-game-title>i{color:#bd960b;font-size:27px;font-style:normal;transform:rotate(9deg)}.result-card .result-name{overflow-wrap:anywhere;margin:16px 0 4px;font-size:15px}.result-name strong{font-size:var(--result-emphasis-size);font-weight:900}.result-name span{margin-left:3px}.result-card h2{font-size:24px;font-weight:700}.result-card h2 strong{font-size:72px;font-weight:900}.result-card .reason{font-size:var(--result-body-size);word-break:keep-all;overflow-wrap:anywhere;font-weight:500;line-height:1.6}.result-card>.primary{min-height:48px;font-size:18px;font-weight:900}.result-card>.text-button{min-height:48px;font-size:16px}.rank-wheel-block{margin:12px 0 18px}.rank-wheel-block p{font-size:var(--result-caption-size);margin:0 0 5px;font-weight:500}.rank-wheel{background:linear-gradient(#ebe5d8,#fff9e9 45%,#ebe5d8);border-radius:14px;height:140px;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#0000,#000 14% 82%,#0000);mask-image:linear-gradient(#0000,#000 14% 82%,#0000)}.rank-tick,.rank-current{justify-content:center;align-items:center;gap:12px;padding:0 10px;display:flex}.rank-tick{color:#777569;height:34px;font-size:17px;font-weight:500}.rank-tick strong{flex-shrink:0;font-weight:500}.rank-current{height:62px;font-size:var(--result-emphasis-size);background:#f5dc7080;border-block:1px solid #d8bd58;font-weight:900}.rank-current strong{flex-shrink:0}.rank-tick span,.rank-current span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.result-rank-status{background:#eee8d7;border-radius:12px;margin:16px 0 20px;padding:18px 12px}.result-rank-status>strong{font-size:var(--result-emphasis-size);word-break:keep-all;font-weight:900;line-height:1.4;display:block}.result-rank-status p{font-size:var(--result-caption-size);margin:8px 0 0;line-height:1.6}.result-card{max-height:calc(100dvh - 24px);overflow-y:auto}@media (max-height:700px){.result-card{padding:20px}.result-card h2 strong{font-size:68px}.result-card .reason{margin-bottom:10px}.result-card .result-name{margin-top:10px}.rank-wheel-block{margin:8px 0 12px}}.main-ranking-button{background:#eee8d7;border:1px solid #c9c1a8;border-radius:9px;margin-top:10px}.secondary-button{border:2px solid var(--ink);width:100%;min-height:48px;color:var(--ink);box-shadow:1px 2px 0 var(--ink);background:#eee8d7;border-radius:12px;margin-top:12px;padding:12px 16px;font-size:16px;font-weight:700;line-height:1.4;display:block}.secondary-button:hover{background:#e4dcc7}.secondary-button:active{box-shadow:none;transform:translateY(2px)}.pause-dialog h2{margin:20px 0 12px}.pause-dialog>p{margin-bottom:18px}
