@font-face{font-family:Wonder;src:url('assets/WonderKing.ttf')}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{font-family:Wonder,'Malgun Gothic',sans-serif;color:#e6ecd7;background:#101f1d}button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #e9cb7f;outline-offset:3px}[hidden]{display:none!important}.lobby{position:relative;max-width:1360px;height:100dvh;margin:auto;padding:0 50px 12px;display:flex;flex-direction:column;isolation:isolate}.lobby:before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#102421ed,#102421a3),url('assets/bg_archery.png') center/cover;opacity:.6}.lobby:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#101f1d,transparent 70%)}header{height:72px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #b4c4a321}.brand{display:flex;align-items:center;gap:12px;color:#e8ecd8;text-decoration:none;letter-spacing:1.6px;font-size:14px}.brand>b{font-size:26px;background:#5c7855;color:#f4e5ac;border-radius:10px;padding:5px 9px}.brand small{font-size:8px;letter-spacing:3px;display:block;margin-top:5px;color:#aebfa4}.quiet{border:1px solid #8da58b59;border-radius:7px;color:#d6e4cf;background:#19362ccc;padding:9px 13px;font-size:11px}.quiet:hover{background:#31523e}.intro{display:flex;justify-content:space-between;align-items:center;flex:1;min-height:0;padding:20px 4%;gap:36px}.intro-copy{min-width:0}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#c9b47b;margin:0 0 15px}h1{font-size:clamp(32px,4.4vw,65px);font-weight:900;line-height:1.25;letter-spacing:-2px;margin:0 0 18px}h1 em{font-style:normal;color:#f0d595}.lead{font-size:13px;line-height:1.9;color:#afc3b0}.facts{display:flex;gap:24px;margin-top:23px;color:#a3b7a1;font-size:10px}.facts b{font-size:24px;color:#e3dcc1;margin-right:5px}.hero-card{position:relative;flex:0 1 360px;height:100%;max-height:340px;min-height:200px;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden;border:1px solid #d5c18a3d;border-radius:24px;background:radial-gradient(ellipse at 50% 45%,#6b805136,transparent 70%)}.hero-tag{font-size:9px;letter-spacing:3px;color:#b3c99d;z-index:1}.hero-card img{image-rendering:pixelated;object-fit:contain;width:140px;height:125px;max-height:40%;margin:17px 0 8px;filter:drop-shadow(0 12px 8px #0004);z-index:1}.hero-card h2{font-size:28px;line-height:1;margin:5px;color:#f0daa1;z-index:1}.hero-card p{font-size:11px;color:#aebeaa;z-index:1}.hero-caption{font-size:9px;border:1px solid #afbf9347;padding:6px 12px;border-radius:30px;color:#c8d8b5;z-index:1}.hero-orbit{position:absolute;width:220px;height:220px;border:1px solid #c9d1a91f;border-radius:50%;box-shadow:0 0 0 30px #d4dfb208,0 0 0 60px #d4dfb204}.journey{flex-shrink:0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-heading h2{font-size:13px;margin:0;color:#d1dbc5}.section-heading>span{font-size:10px;color:#809d8b}.stage-list{list-style:none;display:grid;grid-template-columns:repeat(8,1fr);gap:10px;padding:0;margin:0}.stage-card{padding:10px 5px 12px;border:1px solid #94aa8640;background:#243c3073;border-radius:10px;text-align:center;position:relative;overflow:hidden}.stage-card img{image-rendering:pixelated;width:65px;height:56px;object-fit:contain;display:block;margin:0 auto 7px;filter:saturate(.8)}.stage-card small{display:block;font-size:8px;color:#87a28d;letter-spacing:1px}.stage-card b{font-size:13px;display:block;margin:5px 0;color:#d2dbc4}.stage-card span{display:block;font-size:9px;color:#96aa98}.stage-card.done{border-color:#a4c79566;background:#32503b7d}.stage-card.done:after{position:absolute;top:8px;right:8px;content:'✓';color:#bbd6a4;font-size:11px}.lobby-bottom{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;gap:15px;margin-top:20px;padding-top:18px;border-top:1px solid #9db59424}.key-guide{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#a7b9a3;line-height:2}.key-guide span{white-space:nowrap}kbd{font:inherit;display:inline-block;min-width:19px;padding:3px 5px;border:1px solid #9bae8c54;border-bottom-width:2px;border-radius:4px;background:#294032a6;color:#e1e7c9;line-height:1.2;margin:0 2px;text-align:center}.start-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.primary{font-size:15px;padding:15px 25px;color:#172c25;background:#e6ce90;border:1px solid #f3deaa;border-bottom:3px solid #b89a5e;border-radius:9px;box-shadow:0 4px 15px #0002}.primary:hover{background:#f3dea8}.load-status{flex-shrink:0;font-size:9px;color:#758f7d;text-align:center;margin:12px 0 0;line-height:1.5}.game-view{position:fixed;inset:0;display:grid;place-items:center;background:#0a1616;overflow:hidden}.arena-wrap{position:relative;width:min(100vw,177.777777dvh);aspect-ratio:16/9;max-height:100dvh;overflow:hidden;background:#213c30}canvas{display:block;width:100%;height:100%;touch-action:none;outline:0}.battle-nav{position:absolute;left:17px;right:17px;top:8px;height:27px;display:flex;justify-content:space-between;align-items:center;color:#e4ddbc;font-size:10px;letter-spacing:2px}.battle-nav .quiet{padding:6px 10px;font-size:10px}.battle-nav>div{display:flex;gap:6px}.hud{position:absolute;top:51px;left:28px;right:28px;display:grid;grid-template-columns:1fr 90px 1fr;gap:28px;pointer-events:none}.name-row{display:flex;justify-content:space-between;align-items:center}.name-row b{color:#fff0bf;font-size:24px;text-shadow:1px 2px #142e26}.name-row span{font-size:9px;letter-spacing:1px;color:#ced8ba}.health{position:relative;height:20px;margin:8px 0 6px;background:#24352f;border:2px solid #f2e3b0;border-radius:2px;overflow:hidden;box-shadow:0 2px 0 #10251c}.health i{position:absolute;inset:0 auto 0 0;width:100%;background:linear-gradient(#fff3b1,#eac769 50%,#ca9b46 51%,#f1d072);transition:width .12s linear}.enemy .health i{inset:0 0 0 auto;background:linear-gradient(#ffc8a2,#df926b 50%,#ae654c 51%,#e5a074)}.fighter-hud small{font-size:10px;color:#e5e8c9;text-shadow:1px 1px #13281d}.enemy{text-align:right}.center-mark{text-align:center;color:#f4de9c}.center-mark span{font-size:10px;display:block;letter-spacing:2px}.center-mark b{font-size:33px;line-height:1.3}.pattern-legend{position:absolute;top:145px;right:28px;display:flex;gap:13px;font-size:9px;color:#c8d7c2;text-shadow:1px 1px #17372c;pointer-events:none}.pattern-legend span{display:flex;align-items:center;gap:5px}.pattern-legend i{display:inline-block;width:5px;height:5px;border-radius:50%}.quick{background:#ffd982}.delay{background:#ffae8c}.double{background:#c7c1ff}.battle-footer{position:absolute;bottom:12px;left:20px;right:20px;display:flex;justify-content:space-between;gap:12px;color:#bbcbb0;font-size:9px;text-shadow:1px 1px #15291b}.battle-footer>span{white-space:nowrap}.battle-footer kbd{font-size:9px;min-width:16px;padding:2px 4px}.touch-controls{display:none;position:absolute;bottom:8px;left:0;right:0;gap:5px;justify-content:center}.touch-controls button{touch-action:none;user-select:none;padding:8px 10px;font-size:10px;border:1px solid #b0c19b7d;border-bottom-width:3px;border-radius:7px;background:#193d32e6;color:#e0ebd1}.touch-controls [data-control=parry]{background:#4c6b60e8;color:#e5ffff}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#102723a6;backdrop-filter:blur(5px);z-index:5}.result-card{padding:35px 42px;max-width:85%;text-align:center;border:1px solid #e0d3a57d;background:#172f2aeb;border-radius:18px;box-shadow:0 12px 50px #0005}.result-card .eyebrow{margin:0;color:#a8c8ad;font-size:11px}.result-card h2{font-size:34px;color:#f0dc9d;margin:18px 0}.result-card p{font-size:12px;line-height:1.8;color:#c3d1bc;white-space:pre-line}.result-actions{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:22px}.result-actions .quiet{font-size:11px}.health.low i{background:linear-gradient(#f4b391,#c6604c)!important}
@media(max-width:900px){.lobby{padding:0 25px 10px}.intro{padding:16px 1%}.hero-card{flex-basis:290px}.key-guide{font-size:9px;gap:6px}.lobby-bottom{gap:8px}.primary{font-size:13px;padding:13px 18px}.section-heading>span{font-size:8px}.stage-card span{font-size:8px}.battle-footer{font-size:8px}.battle-footer>span:last-child{display:none}.hud{top:38px;left:16px;right:16px;gap:15px;grid-template-columns:1fr 58px 1fr}.name-row b{font-size:19px}.health{height:15px;margin:5px 0}.fighter-hud small{font-size:8px}.center-mark b{font-size:28px}.center-mark span{font-size:8px}.pattern-legend{top:111px;right:16px;font-size:8px}.battle-nav{top:5px;left:10px;right:10px}.battle-nav .quiet{font-size:8px;padding:5px 7px}.battle-nav>span{font-size:8px;letter-spacing:1px}}
@media(max-width:650px){.lobby{padding:0 15px 8px}header{height:48px}.brand{font-size:10px;gap:8px}.brand>b{font-size:19px;padding:4px 7px}.brand small{font-size:6px;letter-spacing:2px}.quiet{padding:7px 9px;font-size:9px}.intro{gap:12px;padding:12px 0}.eyebrow{font-size:8px;margin-bottom:10px;letter-spacing:.6px}h1{font-size:31px;letter-spacing:-1px;margin-bottom:10px}.lead{font-size:9px;line-height:1.8}.facts{gap:10px;margin-top:12px;font-size:7px}.facts b{font-size:18px}.hero-card{min-height:170px;max-height:260px;flex-basis:155px;border-radius:16px}.hero-tag{font-size:6px;letter-spacing:2px}.hero-card img{width:90px;height:85px;margin:10px 0 6px}.hero-card h2{font-size:21px}.hero-card p{font-size:8px}.hero-caption{font-size:7px;padding:5px 7px}.hero-orbit{width:130px;height:130px}.section-heading{margin-bottom:8px}.section-heading h2{font-size:11px}.section-heading>span{font-size:7px}.stage-list{gap:5px}.stage-card{padding:8px 3px}.stage-card img{width:38px;height:40px;margin-bottom:5px}.stage-card b{font-size:10px}.stage-card small{font-size:6px}.stage-card span{display:none}.stage-card.done:after{top:4px;right:4px;font-size:8px}.lobby-bottom{flex-direction:column;align-items:stretch;margin-top:12px;padding-top:10px}.key-guide{justify-content:center;font-size:8px;gap:4px 8px}.key-guide kbd{padding:2px 3px;min-width:16px}.start-actions{justify-content:center}.primary{font-size:13px;padding:12px 24px}.load-status{font-size:8px;margin-top:9px}.hud{top:30px;left:10px;right:10px;gap:10px;grid-template-columns:1fr 38px 1fr}.name-row b{font-size:14px}.name-row span{font-size:6px}.health{height:11px;border-width:1px;margin:3px 0}.fighter-hud small{font-size:7px}.center-mark b{font-size:22px}.center-mark span{font-size:6px}.battle-nav{height:19px;left:7px;right:7px;top:3px}.battle-nav .quiet{font-size:7px;padding:4px 5px}.battle-nav>span{font-size:6px}.battle-nav>div{gap:4px}.pattern-legend{top:85px;right:9px;font-size:6px;gap:7px}.pattern-legend i{height:4px;width:4px}.battle-footer{display:none}.touch-controls{display:flex}.result-card{padding:18px 24px}.result-card h2{font-size:23px;margin:12px 0}.result-card p{font-size:9px}.result-card .eyebrow{font-size:8px}.result-actions{margin-top:14px;gap:8px}.result-actions .primary{font-size:11px;padding:10px 15px}.result-actions .quiet{font-size:9px}.touch-controls button{font-size:8px;padding:6px 8px}}
@media(max-height:600px){header{height:44px}.intro{padding:10px 0}.hero-card{max-height:235px;min-height:155px}h1{font-size:36px;margin-bottom:10px}.eyebrow{margin-bottom:8px}.lead{font-size:10px;line-height:1.6}.facts{margin-top:12px}.hero-card img{height:85px;margin:8px 0}.hero-card h2{font-size:23px}.hero-card p{margin:7px 0}.stage-card img{height:40px}.stage-card{padding:7px 4px}.stage-card b{font-size:11px;margin:4px 0}.lobby-bottom{margin-top:10px;padding-top:10px}.load-status{margin-top:7px}.primary{padding:11px 20px}.section-heading{margin-bottom:8px}}
@media(max-height:450px) and (min-width:650px){.lobby{padding:0 25px 6px}header{height:36px}.intro{padding:8px 0;gap:25px}.intro-copy{display:flex;align-items:center;gap:20px}.intro-copy .eyebrow,.lead,.facts{display:none}h1{font-size:29px;margin:0}.hero-card{flex:0 0 220px;min-height:85px;max-height:100px;display:grid;grid-template-columns:90px 1fr;padding:8px 12px;border-radius:12px}.hero-card img{grid-column:1;grid-row:1/4;max-height:none;height:70px;width:80px;margin:0}.hero-tag{grid-column:2;font-size:6px}.hero-card h2{grid-column:2;font-size:22px}.hero-card p{display:none}.hero-caption{grid-column:2;font-size:6px;padding:3px}.hero-orbit{width:120px;height:120px;left:-10px}.section-heading h2{font-size:11px}.stage-card{padding:5px}.stage-card img{height:32px;margin-bottom:4px}.stage-card b{font-size:11px}.stage-card span{display:none}.stage-card small{font-size:6px}.lobby-bottom{padding-top:7px;margin-top:7px}.key-guide{font-size:8px;gap:8px}.primary{padding:8px 15px;font-size:11px}.load-status{font-size:7px;margin-top:5px}}
@media(max-width:360px){h1{font-size:25px}.intro{gap:8px}.hero-card{flex-basis:125px}.hero-card p{font-size:7px}.hero-caption{font-size:6px}.facts{gap:7px;font-size:6px}.facts b{font-size:16px}.stage-card img{width:29px;height:33px}.stage-card b{font-size:9px}.section-heading>span{display:none}.touch-controls{gap:3px}.touch-controls button{padding:6px;font-size:7px}.result-card{padding:10px 16px}.result-card h2{font-size:17px}.result-card p{font-size:8px}.result-actions{margin-top:10px}}

.energy-hud{position:absolute;bottom:49px;left:28px;width:28%;max-width:370px;pointer-events:none}.energy-hud>span{display:block;font-size:10px;color:#c7decc;text-shadow:1px 1px #10291e;margin-bottom:5px}.energy-track{height:9px;border:1px solid #a4b99b;background:#142e26b3;border-radius:2px;overflow:hidden}.energy-track i{display:block;height:100%;width:0;background:linear-gradient(#bce4d3,#75b69e);transition:width .12s}.energy-hud.ready>span{color:#fff0aa}.energy-hud.ready .energy-track{border-color:#f4d589;box-shadow:0 0 12px #e9c35588}.energy-hud.ready .energy-track i{background:linear-gradient(#fff1ac,#e9b85b)}.touch-controls [data-control=special]{background:#8a6937df;border-color:#c3a567;color:#fff2c5}.touch-controls [data-control=special]:disabled{opacity:.4;cursor:default}.cinematic .hud,.cinematic .energy-hud,.cinematic .pattern-legend,.cinematic .battle-footer,.cinematic .touch-controls{opacity:0;pointer-events:none}
@media(max-width:900px){.energy-hud{left:16px;bottom:43px;width:32%}.energy-hud>span{font-size:8px}.energy-track{height:7px}}
@media(max-width:650px){.energy-hud{left:10px;bottom:43px;width:36%}.energy-hud>span{font-size:7px;margin-bottom:3px}.energy-track{height:5px}.touch-controls{gap:4px}.touch-controls button{padding:6px 7px}.key-guide{gap:3px 7px}}
@media(max-width:360px){.touch-controls{gap:3px}.touch-controls button{padding:6px 5px;font-size:7px}.energy-hud>span{font-size:6px}}
.recovery-status{position:absolute;bottom:52px;right:28px;color:#b3edc3;font-size:10px;text-shadow:1px 1px #10291e;pointer-events:none}.cinematic .recovery-status{opacity:0}
@media(max-width:900px){.recovery-status{bottom:43px;right:16px;font-size:8px}}
@media(max-width:650px){.recovery-status{bottom:44px;right:10px;font-size:6px;max-width:48%;text-align:right}}
@media(max-width:650px){.result-card{padding:12px 18px}.result-card h2{margin:10px 0}.result-card p{line-height:1.5;margin:7px 0}.result-actions{margin-top:10px}}
@media(max-width:360px){.result-card{padding:8px 12px}.result-card h2{margin:8px 0}.result-card p{line-height:1.4;margin:6px 0}.result-actions{margin-top:8px}}

.center-mark small{display:block;font-size:9px;color:#c2d2b3;white-space:nowrap}.center-mark i{font-style:normal}.center-mark.urgent b{color:#ff9f81;text-shadow:0 0 12px #f66a4277}.cinematic .battle-nav{opacity:0;pointer-events:none}
@media(max-width:650px){.center-mark small{font-size:6px}.stage-list{grid-template-columns:repeat(4,1fr)}.stage-card{padding:4px}.stage-card img{display:inline-block;vertical-align:middle;margin:0 3px 0 0;width:28px;height:27px}.stage-card small{position:absolute;top:4px;left:4px}.stage-card b{display:inline;font-size:9px}.stage-card.done:after{top:3px;right:3px}.load-status{max-height:30px}.hud{grid-template-columns:1fr 42px 1fr}}

.boss-energy-hud{position:absolute;top:172px;right:28px;width:24%;max-width:320px;pointer-events:none}.boss-energy-hud>span{display:block;color:#edc6a4;text-shadow:1px 1px #291a20;font-size:10px;margin-bottom:5px}.boss-energy-hud .energy-track i{background:linear-gradient(#ffda9f,#df683e)}.boss-energy-hud.ready .energy-track{border-color:#ffcf8f;box-shadow:0 0 14px #ff8b4e99}.boss-energy-hud.ready>span{color:#ffe2ac}.cinematic .boss-energy-hud{opacity:0}
@media(max-width:900px){.boss-energy-hud{top:134px;right:16px;width:29%}.boss-energy-hud>span{font-size:8px}}
@media(max-width:650px){.boss-energy-hud{top:103px;right:10px;width:31%}.boss-energy-hud>span{font-size:6px;margin-bottom:3px}}

.stage-card:hover{border-color:#e4ce9177;background:#3b513880}.start-actions{flex-wrap:wrap}.load-status{margin-top:6px}
@media(max-width:650px){.start-actions{gap:6px}.start-actions .quiet{padding:7px 9px}.lobby-bottom{margin-top:8px;padding-top:8px}}
@media(max-height:450px){.load-status{margin-top:3px}}

.stage-card:focus-within{border-color:#ffdf96;box-shadow:inset 0 0 0 2px #ffdf9677}

.center-mark b{font-variant-numeric:tabular-nums;letter-spacing:-1px}.power-status{position:absolute;bottom:80px;left:28px;color:#ffe1a1;background:#613a2280;border:1px solid #eeb26080;border-radius:5px;padding:5px 9px;font-size:11px;pointer-events:none;text-shadow:1px 1px #281c19}.cinematic .power-status{opacity:0}
@media(max-width:900px){.power-status{bottom:68px;left:16px;font-size:8px;padding:4px 7px}.center-mark b{font-size:25px}}
@media(max-width:650px){.power-status{bottom:65px;left:10px;font-size:7px;padding:3px 6px}.center-mark b{font-size:18px}.recovery-status{font-size:6px;max-width:53%}}

/* The roster is a preview, not a stage selector. */
.stage-card{cursor:default}.hero-caption{font-size:8px}.load-error{color:#ffd0ab;font-size:12px;text-align:center}

.header-actions{display:flex;align-items:center;gap:8px}.header-actions .quiet{text-decoration:none}.header-actions #online-status{font-size:11px;max-width:220px;overflow-wrap:anywhere}@media(max-width:650px){.header-actions{gap:4px}.header-actions .quiet{padding:6px;font-size:9px}.header-actions #online-status{max-width:100px;font-size:9px}}

.coupon-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d6bf85;border-radius:18px;padding:28px;color:#e6ecd7;background:#172f2a;text-align:center;box-shadow:0 16px 60px #0008}.coupon-dialog::backdrop{background:#071410cc}.coupon-dialog h2{color:#f0dc9d;font-size:24px;margin:0 0 18px}.coupon-dialog p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}#coupon-code{font:700 clamp(16px,4vw,25px) monospace;user-select:all;padding:16px 8px;border:1px solid #d6bf8555;border-radius:8px;background:#10231f;color:#fff0bf}.coupon-dialog #coupon-amount{color:#e6ce90;font-weight:bold}.coupon-dialog .result-actions{flex-wrap:wrap}
