#arenaOpen163{position:fixed;right:18px;top:145px;z-index:45;padding:12px 24px;color:#ffe6a0;font-weight:800;background:linear-gradient(#216746,#09271e);border:2px solid #d6b35b;border-radius:7px;box-shadow:0 3px 12px #0009,inset 0 0 0 2px #725b24;min-height:44px}#arenaOpen163[hidden],#arena163[hidden]{display:none!important}#arena163{--gold:#d3af56;--light:#ffe8a2;--green:#103e30;position:fixed;inset:0;z-index:1200;color:#f2ebcb;font:14px/1.35 Georgia,"Noto Sans KR",system-ui,sans-serif;background:linear-gradient(#07171088,#071710dd),url(assets/landmarks-v152/arena-interior.webp) center/cover;isolation:isolate;touch-action:manipulation;overflow:auto;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}#arena163 *{box-sizing:border-box}#arena163 h1,#arena163 h2,#arena163 h3,#arena163 p{margin:0}#arena163 h1{font-size:clamp(18px,2vw,28px);color:var(--light)}#arena163 h2{font-size:18px;color:#ffe19b}#arena163 h3{font-size:14px;color:#dcc075}#arena163 button,#arena163 input,#arena163 select{font:inherit;min-height:38px;color:#f7e9b7;background:linear-gradient(#1c533d,#09291f);border:1px solid var(--gold);border-radius:5px;padding:8px 12px;cursor:pointer;box-shadow:inset 0 0 0 1px #3a633f,0 2px 5px #0006}#arena163 button:hover{filter:brightness(1.2)}#arena163 button:focus-visible,#arena163 input:focus-visible,#arena163 select:focus-visible{outline:3px solid #80eec5;outline-offset:2px}#arena163 button:disabled{opacity:.5;cursor:wait}#arena163 small{display:block;font:11px/1.4 system-ui,sans-serif;color:#c0cdbb}#arena163 .a163-shell{width:min(1540px,100%);min-height:100%;margin:auto;display:flex;flex-direction:column;border:3px double var(--gold);background:linear-gradient(130deg,#0a2e22f5,#061d17ed);box-shadow:0 0 0 3px #07130c,0 8px 35px #000,inset 0 0 32px #0007;position:relative}#arena163 .a163-shell:before,#arena163 .a163-shell:after{content:"◆";position:absolute;top:-11px;color:#f2d179;text-shadow:0 2px 3px #000;font-size:20px;pointer-events:none}#arena163 .a163-shell:before{left:-9px}#arena163 .a163-shell:after{right:-9px}.a163-header{display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:2px solid var(--gold);background:linear-gradient(90deg,#0b3e2a,#082317,#0b3e2a);position:relative}.a163-header>div:nth-child(2){flex:1}.a163-header .a163-crest{display:grid;place-content:center;width:48px;height:48px;border:3px double #efd17d;border-radius:50%;color:#f9dc8a;font-size:28px;box-shadow:inset 0 0 14px #000,0 0 10px #b5a05255}.a163-header small{letter-spacing:2px}.a163-close{width:40px;height:40px;font:26px/1 system-ui!important;border-radius:50%!important;padding:0!important}.a163-setup{display:flex;align-items:center;gap:18px;padding:9px 20px;background:#041c15a8}.a163-setup label{display:flex;align-items:center;gap:10px}.a163-setup select{padding:4px 9px}.a163-setup>span{margin-left:auto;color:#e8d593;font-size:12px}.a163-teams{display:grid;grid-template-columns:1fr 52px 1fr;align-items:center;padding:10px 16px 15px;gap:6px;background:linear-gradient(#122a1a33,#08241955)}.a163-team{border:3px double #bd9b46;background:linear-gradient(110deg,#0d5037,#061e19);padding:9px;position:relative;box-shadow:inset 0 0 25px #0005}.a163-team.red{background:linear-gradient(110deg,#44191b,#200a0e)}.a163-team h2{display:flex;gap:10px;align-items:center;margin-bottom:7px!important}.a163-team h2 small{margin-left:auto}.a163-team h2 button{min-height:28px!important;padding:3px 8px!important;font-size:11px!important}.a163-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}#arena163 .a163-slot{padding:0;min-width:0;border:2px solid #aa8c44;border-radius:5px 5px 2px 2px;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#296e40,#071e17 80%);position:relative}.red .a163-slot{background:radial-gradient(ellipse at 50% 35%,#7b3934,#210a0e 80%)!important}.a163-slot img{display:block;width:100%;height:clamp(76px,13vh,190px);object-fit:cover;object-position:50% 15%;filter:drop-shadow(0 4px 5px #0007)}#arena163 .a163-slot.selected{border-color:#fff1a9;box-shadow:0 0 12px #ffdf6d88,inset 0 0 0 2px #f0d16c}.a163-slot span{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#051d15;border-top:1px solid #ba9a49;padding:4px 2px}.a163-slot small{font-size:9px!important;padding-bottom:3px}.a163-slot[data-locked]:before{content:"♛";position:absolute;top:1px;left:7px;color:#ffe17c;font-size:25px;text-shadow:0 2px 4px #000;z-index:1}.a163-versus{text-align:center;font-size:20px;color:#ffe190;border:2px solid #c7a85c;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;background:#062419;box-shadow:0 0 0 4px #07160e,0 0 0 5px #c7a85c}.a163-lower{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:12px;padding:0 16px 12px;min-height:0;flex:1}.a163-roster{grid-column:1;grid-row:1;border:2px double var(--gold);padding:12px;display:flex;flex-direction:column;min-height:180px;background:linear-gradient(110deg,#07241c,#10382b)}.a163-roster-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.a163-roster-heading h2 small{display:inline}.a163-roster-heading input{width:min(240px,55%);background:#051e15!important}.a163-roster>p{font:11px/1.5 system-ui;color:#aabdaa;padding:6px 0}.a163-heroes{display:grid;grid-template-columns:repeat(auto-fill,minmax(75px,1fr));gap:6px;overflow:auto;max-height:230px;padding:3px}#arena163 .a163-hero{padding:0;border:1px solid #9b8440;min-width:0;background:#092b20}.a163-hero img{width:100%;height:65px;object-fit:cover;object-position:50% 20%;display:block}.a163-hero.used{border-color:#efcc78!important;box-shadow:inset 0 0 0 2px #eece6a88!important}.a163-hero span{display:block;padding:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:10px/1.4 system-ui}.a163-hero small{font-size:9px!important;padding-bottom:3px}.a163-hero[hidden]{display:none!important}.a163-preview{grid-column:2;grid-row:1;border:2px double var(--gold);padding:12px;display:flex;gap:10px;background:radial-gradient(at 30% 50%,#66502166,#07271b 70%)}.a163-preview-body{width:30%;min-width:60px;display:flex;align-items:center}.a163-preview-body>img{width:100%;max-height:235px;object-fit:contain}.a163-preview-copy{flex:1;min-width:0}.a163-preview-copy>h2{font-size:16px!important}.a163-preview-copy>h3{margin-top:10px!important}.a163-preview-skill{display:flex;gap:7px;align-items:center;margin-top:7px}.a163-preview-skill strong{font:12px/1.4 system-ui}.a163-preview-skill small{font-size:10px!important;line-height:1.3!important}.a163-preview-skill .skill-art-v48{width:34px;height:34px}.a163-footer{display:flex;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid var(--gold);background:linear-gradient(90deg,#06281d,#0f3627)}.a163-footer>div{margin-right:auto}.a163-footer>p{color:#ffd98a;font:12px system-ui}.a163-primary{background:linear-gradient(#ffe28a,#c6942a 55%,#e7bc50)!important;color:#281c06!important;border:3px double #fff0a5!important;box-shadow:0 0 12px #f2cb5438,inset 0 0 0 2px #926720!important;font-weight:800!important;min-width:170px}.a163-battle{padding:0!important;overflow:hidden!important}.a163-battle>canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.a163-hud{position:absolute;top:max(8px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));display:grid;grid-template-columns:1fr 150px 1fr;gap:14px;align-items:start;pointer-events:none}.a163-hud-team{display:flex;gap:6px}.a163-hud-team.red{justify-content:flex-end}.a163-hud-unit{width:min(90px,20%);position:relative;padding:2px;border:2px double #c8ac59;background:#062b20e8;box-shadow:0 2px 8px #000b;border-radius:7px}.a163-hud-unit>img{width:100%;height:48px;object-fit:cover;object-position:50% 20%;display:block;border-radius:4px}.a163-hud-unit strong{display:block;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:10px/1.3 system-ui}.a163-hud-unit small{text-align:center;font-size:9px!important}.a163-hud-unit progress{display:block;width:100%;height:7px;accent-color:#5ecb63;border:0}.red progress{accent-color:#e46b61}.a163-hud-unit.dead{filter:grayscale(1);opacity:.45}.a163-hud-unit.controlled{box-shadow:0 0 8px #fff1ad;border-color:#fff1ad}.a163-clock{border:3px double #d4b461;border-radius:40px;background:linear-gradient(#0a452c,#05241b);text-align:center;color:#ffe6a1;box-shadow:0 3px 10px #0008;padding:6px 20px}.a163-clock strong{display:block;font-size:28px;font-variant-numeric:tabular-nums}.a163-clock span{font-size:10px;letter-spacing:2px}.a163-match-options{position:absolute;right:max(16px,env(safe-area-inset-right));top:122px;display:flex;gap:5px}.a163-match-options button{font-size:11px!important;min-height:30px!important;padding:4px 9px!important}.a163-countdown{position:absolute;top:34%;left:50%;transform:translateX(-50%);text-align:center;color:#ffe5a0;font-size:clamp(26px,4vw,60px);text-shadow:0 3px 8px #000,0 0 14px #000;pointer-events:none}.a163-command{position:absolute;left:max(16px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));background:linear-gradient(#073b2fea,#061e17ec);padding:12px 18px;border:3px double #c4a650;border-radius:8px;display:flex;align-items:center;gap:10px;max-width:40%;flex-wrap:wrap}.a163-command>span{color:#ffe09b;font-weight:bold}.a163-command small{width:100%}.a163-controls{position:absolute;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;gap:10px;align-items:flex-end;pointer-events:none}.a163-controls button{pointer-events:auto;touch-action:none;width:78px;height:78px;min-height:0!important;border:4px double #efd480!important;border-radius:50%!important;padding:6px!important;background:radial-gradient(#24513d,#051d17 70%)!important;box-shadow:0 4px 12px #000a,inset 0 0 0 3px #5c5125!important;position:relative}.a163-controls button>span:not(.skill-art-v48){font-size:28px}.a163-controls small{color:#f4d68b!important;font-size:10px!important;line-height:1.2!important;text-shadow:0 2px 3px #000}.a163-controls button b{position:absolute;top:0;right:0;background:#071e16d9;border-radius:10px;font:12px system-ui;color:#fff7d0;padding:2px}.a163-controls .a163-attack{width:90px;height:90px;background:radial-gradient(#a58330,#093023 75%)!important}.a163-controls .skill-art-v48{width:42px;height:42px;border-radius:50%;box-shadow:none}.a163-controls #arenaCasts163{display:flex;gap:10px;align-items:flex-end}.a163-controls button[data-a163-cast=ultimate]{width:102px;height:102px;border-width:6px!important;background:radial-gradient(#9c7624,#0b3c2a 75%)!important}.a163-battle-notice{position:absolute;left:30%;right:30%;bottom:140px;text-align:center;color:#fff0bd;text-shadow:0 2px 4px #000;pointer-events:none}.a163-stick{display:none;position:absolute;left:max(22px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));width:125px;height:125px;border-radius:50%;border:3px double #d4be85;background:#25362a88;box-shadow:inset 0 0 35px #0009,0 3px 8px #0006;color:#f0e5c9aa;touch-action:none;user-select:none;align-content:center;text-align:center;font:21px/1.5 system-ui}.a163-stick span{display:block}.a163-rotate{display:none}.a163-result-banner{display:flex;align-items:center;justify-content:center;gap:22px;padding:10px;position:relative;border-bottom:2px double #b9a052;background:radial-gradient(ellipse,#4d5724,#0a3022)}.a163-result-banner h2{font-size:38px!important;color:#ffdf76!important;letter-spacing:6px}.a163-result-banner>span{font-size:40px;color:#e6c263}.a163-result-banner>small{position:absolute;right:15px;bottom:8px}.a163-result-content{display:grid;grid-template-columns:30% 1fr;min-height:0;flex:1}.a163-mvp{text-align:center;padding:18px;background:radial-gradient(ellipse at 50% 40%,#736c2566,#08271e 70%);border-right:2px double var(--gold);display:flex;flex-direction:column;align-items:center}.a163-mvp>strong{color:#e9cb7e}.a163-mvp>img{width:85%;height:clamp(180px,34vh,390px);object-fit:contain;filter:drop-shadow(0 0 20px #d7b95455)}.a163-mvp h2{margin-top:10px!important}.a163-reward{margin-top:16px;padding:16px 8px;width:100%;border:3px double #cdb266;background:linear-gradient(#123b27,#062319);color:#f9dc85}.a163-reward small{margin-top:6px}.a163-results-table{padding:14px;overflow:auto}.a163-results-table h3{padding:5px 8px;border:1px solid #bc9f49;background:#114830;margin-bottom:4px!important}.a163-results-table h3.red{background:#521b20;margin-top:12px!important}.a163-results-table table{border-collapse:collapse;width:100%;font:12px/1.4 system-ui;text-align:right;white-space:nowrap}.a163-results-table td,.a163-results-table th{border-bottom:1px solid #59724677;padding:6px 8px}.a163-results-table th{color:#d7bb78;font-size:10px}.a163-results-table td:first-child,.a163-results-table th:first-child{text-align:left}.a163-results-table td img{width:30px;height:30px;object-fit:cover;vertical-align:middle;border:1px solid #baa05b;margin-right:7px}.a163-table-scroll{overflow:auto}.a163-result-actions{justify-content:center;flex-wrap:wrap}.a163-leave{position:absolute;inset:0;z-index:20;background:#020d0bbf;display:grid;place-items:center}.a163-leave>div{padding:30px;background:#0a3425;border:3px double #e8c981;text-align:center;max-width:90vw}.a163-leave p{margin:15px 0!important}.a163-leave button{margin:5px}.arena163-open #app,.arena163-open #game{pointer-events:none}.arena163-open #arenaOpen163{display:none!important}@media(max-width:1000px){#arena163{padding:8px;font-size:12px}.a163-header{padding:6px 12px;gap:8px}.a163-header .a163-crest{width:34px;height:34px;font-size:22px}.a163-header small{font-size:9px!important}.a163-header h1{font-size:18px!important}.a163-setup{padding:5px 12px;gap:10px}.a163-setup>span{font-size:10px}.a163-teams{padding:7px 10px;grid-template-columns:1fr 35px 1fr;gap:4px}.a163-team{padding:5px}.a163-team h2{font-size:13px!important;margin-bottom:3px!important}.a163-team h2 button{font-size:9px!important;padding:2px 4px!important}.a163-slots{gap:3px}.a163-slot img{height:clamp(60px,15vh,110px)}.a163-slot span{font-size:10px}.a163-versus{width:35px;height:35px;font-size:14px}.a163-lower{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);padding:0 10px 7px;gap:8px}.a163-roster,.a163-preview{padding:6px;min-height:140px}.a163-roster-heading h2{font-size:13px!important}.a163-roster-heading input{min-height:30px!important;padding:3px 5px!important}.a163-heroes{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));max-height:140px;gap:4px}.a163-hero img{height:48px}.a163-preview-body{display:none}.a163-preview-skill .skill-art-v48{width:26px;height:26px}.a163-preview-skill{margin-top:3px}.a163-preview-skill small{font-size:9px!important}.a163-footer{padding:7px 10px;gap:6px}.a163-footer small{font-size:9px!important}.a163-primary{min-width:130px!important}.a163-hud{grid-template-columns:1fr 95px 1fr;gap:8px;left:8px;right:8px;top:5px}.a163-hud-team{gap:3px}.a163-hud-unit{padding:1px}.a163-hud-unit>img{height:34px}.a163-hud-unit strong{font-size:8px}.a163-hud-unit small{display:none!important}.a163-clock{padding:3px 8px}.a163-clock strong{font-size:23px}.a163-clock small{font-size:9px!important}.a163-match-options{top:73px;right:10px}.a163-controls{right:max(14px,env(safe-area-inset-right));bottom:12px;gap:6px}.a163-controls #arenaCasts163{gap:6px}.a163-controls button{width:57px;height:57px;padding:3px!important}.a163-controls .a163-attack{width:67px;height:67px}.a163-controls button[data-a163-cast=ultimate]{width:76px;height:76px}.a163-controls .skill-art-v48{width:28px;height:28px}.a163-controls small{font-size:8px!important}.a163-controls button>span:not(.skill-art-v48){font-size:23px}.a163-stick{display:block;width:105px;height:105px;font-size:17px;bottom:12px}.a163-command{bottom:128px;left:14px;max-width:30%;padding:5px 8px;gap:5px;font-size:11px}.a163-command button{min-height:27px!important;padding:3px 6px!important;font-size:10px!important}.a163-command small{display:none!important}.a163-battle-notice{bottom:100px;left:20%;right:20%;font-size:12px}.a163-result-banner{padding:4px}.a163-result-banner h2{font-size:24px!important}.a163-result-banner>span{font-size:24px}.a163-result-content{grid-template-columns:25% 1fr}.a163-mvp{padding:8px}.a163-mvp>img{height:130px}.a163-mvp h2{font-size:13px!important}.a163-reward{padding:6px;font-size:11px;margin-top:8px}.a163-results-table{padding:7px}.a163-results-table table{font-size:10px}.a163-results-table td,.a163-results-table th{padding:3px 5px}.a163-results-table td img{width:23px;height:23px}.a163-result-actions button{padding:5px 8px!important;min-height:33px!important;font-size:11px!important}}@media(max-height:550px)and (orientation:landscape){#arena163{padding-top:max(5px,env(safe-area-inset-top));padding-bottom:max(5px,env(safe-area-inset-bottom))}.a163-header{padding:3px 10px}.a163-header .a163-crest{width:26px;height:26px;font-size:18px}.a163-header h1{font-size:16px!important}.a163-header .a163-close{height:30px!important;width:30px!important;min-height:30px!important}.a163-setup label{font-size:10px}.a163-setup select{min-height:26px!important;padding:2px 4px!important}.a163-team h2{font-size:11px!important}.a163-slot img{height:60px}.a163-slot small{display:none!important}.a163-lower{min-height:135px}.a163-preview-copy>h2{font-size:12px!important}.a163-preview-copy>small{display:none!important}.a163-preview-copy>h3{display:none}.a163-preview-skill small{display:none!important}.a163-roster>p{display:none}.a163-heroes{max-height:105px}.a163-hero img{height:42px}.a163-hero small{display:none!important}.a163-footer>div small:last-child{display:none!important}.a163-roster-heading input{height:26px!important;min-height:26px!important}.a163-roster-heading{margin-bottom:3px}.a163-mvp>img{height:110px}.a163-results-table td img{width:18px;height:18px}.a163-results-table td,.a163-results-table th{padding:2px 4px}.a163-result-banner>small{font-size:9px!important}.a163-result-content{max-height:calc(100dvh - 160px);overflow:auto}.a163-command{bottom:110px}.a163-stick{width:95px;height:95px}}@media(max-width:600px)and (orientation:portrait){.a163-teams{grid-template-columns:1fr}.a163-versus{margin:0 auto;height:25px;width:40px;font-size:12px}.a163-lower{grid-template-columns:1fr}.a163-roster{grid-row:2;grid-column:1}.a163-preview{grid-row:1;grid-column:1}.a163-preview-copy{display:flex;flex-wrap:wrap;gap:8px}.a163-preview-copy>h2{width:100%}.a163-preview-copy>h3{display:none}.a163-preview-skill{max-width:30%}.a163-preview-skill small{display:none!important}.a163-result-content{grid-template-columns:1fr}.a163-mvp>img{height:140px}.a163-rotate{display:block;position:absolute;inset:0;background:#041d16f5;z-index:30;align-content:center;text-align:center;font:20px system-ui;color:#ffe09a;padding:24px}.a163-setup{flex-wrap:wrap}.a163-setup>span{width:100%;margin:0}.a163-footer{flex-wrap:wrap}.a163-footer>div{width:100%}}#arena163 .a163-slot img{object-fit:contain;object-position:center bottom}.a163-slot:after{content:"❧";position:absolute;left:4px;top:30%;color:#d3b55b55;font-size:40px;pointer-events:none}#arenaCommander163{display:flex;gap:8px;align-items:center}#arenaCommander163>img{width:50px;height:50px;border:3px double #d4b461;border-radius:50%;object-fit:cover}#arenaCommander163 progress{display:block;width:100%;height:8px;accent-color:#91d26c}.a163-results-table td.a163-stat-damage{background:linear-gradient(90deg,#9c42277a var(--a163-bar),transparent var(--a163-bar))}.a163-results-table td.a163-stat-healing{background:linear-gradient(90deg,#398c4666 var(--a163-bar),transparent var(--a163-bar))}.a163-results-table td.a163-stat-taken{background:linear-gradient(90deg,#3c7b9b66 var(--a163-bar),transparent var(--a163-bar))}@media(max-width:1000px){#arenaCommander163>img{width:28px;height:28px}}#arena163 .a184-audit-dialog{position:fixed;inset:0;z-index:40;padding:16px}#arena163 .a184-audit-dialog>div{max-width:960px;width:94vw;max-height:85dvh;overflow:auto;text-align:left}#arena163 .a184-audit{margin:14px 0;border-top:1px solid #bda25666;padding-top:10px}#arena163 .a184-audit summary{color:#ffe8a2;cursor:pointer;min-height:36px;padding:8px 0}#arena163 .a184-audit table{width:100%;min-width:560px;border-collapse:collapse;font:12px/1.5 system-ui,sans-serif}#arena163 .a184-audit td,#arena163 .a184-audit th{padding:8px;border-bottom:1px solid #d3af5633;text-align:left}#arena163 .a184-audit-dialog section{margin-top:16px}
