/* ROPA Arena v0.7: image-backed artwork and controls; no redundant hero copy. */
:root{--gold:#ffdd9a;--txt:#fff7e8;--bg:#070b12}
html{background:#070b12}
body{background:linear-gradient(180deg,rgba(5,8,15,.08),rgba(5,8,15,.28) 54%,rgba(5,8,15,.48)),url("./art/arena-bg.webp") center top/cover fixed no-repeat!important;color:var(--txt)}
body::before{display:none!important}
body::after{display:none!important}
.wash{display:none!important}
.app{position:relative;max-width:480px;min-height:100dvh;padding:0 17px 15px}
.topbar{padding:9px 2px 4px;border:0;justify-content:flex-end}
.brand,.beta{display:none}
.top-right{margin-left:auto}.connection{font-size:10px;color:#f5d29d;text-shadow:0 2px 3px #000;background:#0407109e;border:1px solid #bd8b4e65;border-radius:20px;padding:3px 9px}
.intro{padding:0 0 10px!important;min-height:146px;isolation:auto;display:flex;align-items:center;justify-content:center}
.intro::before,.intro::after{display:none!important}
.hero-title{margin:0;width:100%;display:flex;justify-content:center}
.hero-title img{display:block;width:min(100%,405px);height:auto;max-height:151px;object-fit:contain;filter:drop-shadow(0 7px 10px #000b) drop-shadow(0 0 10px #ee65384d)}
.panel,.invite-box,.game-box{border:2px solid #e4ac63!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(15,20,30,.94),rgba(8,10,19,.94))!important;box-shadow:inset 0 0 0 1px #65452c,inset 0 12px 35px #76582b19,0 16px 35px #000a!important;backdrop-filter:blur(10px)}
.panel{padding:17px 17px 19px!important;position:relative}
.panel::before,.panel::after{display:none!important}
.tabs{background:#040914c9!important;border:1px solid #9a714d!important;clip-path:none!important;border-radius:8px!important;margin-bottom:17px;padding:4px;gap:4px}
.tab{border-radius:6px!important;letter-spacing:.8px;min-height:43px;color:#e0d0be;font-size:12px}
.tab.selected{background:linear-gradient(180deg,#f9cf89,#c57d36 45%,#7d341d)!important;color:#1f0c0b;text-shadow:none;box-shadow:inset 0 2px 1px #fff8c0,0 3px 12px #df89334c}
.field{margin-bottom:14px!important}.field>label{color:#f8d9a4;letter-spacing:1px;font-size:11px;margin-bottom:6px}.field>label:before{content:none}
.field>input:not([type=hidden]),.field select{height:48px;background:linear-gradient(180deg,#0c1621,#181b27)!important;border:1px solid #a28c79!important;border-radius:7px!important;color:#fff5df;box-shadow:inset 0 2px 5px #0007}
.field #stakeCustom{margin-top:8px}
.length-row{gap:7px}.length{padding:10px 1px!important;min-height:43px;border:1px solid #9a826b;border-radius:6px!important;box-shadow:none;background:linear-gradient(#232938,#101826)!important;color:#ebd3b8;font-size:11px}
.length.selected{background:linear-gradient(#ffcd78,#a65926)!important;border-color:#ffe3a8;color:#180c08;box-shadow:0 0 13px #f4a64b62!important}
.primary,.arena-button,.secondary,.arena-secondary{clip-path:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background-color:transparent!important;background-image:url('./art/button-primary.png')!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;min-height:59px;padding:14px 27px!important;color:#fff4d0!important;text-shadow:0 2px 2px #2c0808!important;font:bold italic 20px/1.1 'Roboto Condensed','Arial Narrow',system-ui,sans-serif!important;letter-spacing:.6px!important;transition:filter .16s,transform .16s}
.secondary,.arena-secondary{background-image:url('./art/button-secondary.png')!important;font-size:14px!important;min-height:47px;padding:9px 15px!important}
.primary:active,.secondary:active,.arena-button:active{transform:scale(.975)}
.primary:hover,.secondary:hover{filter:brightness(1.1)}
.foot{margin:10px 0 0;color:#ddcbb7}
.local{background:#03070d66;border-radius:5px;padding:13px 5px;margin-top:9px}
.site-footer{padding:13px 0 8px;font-size:9px;color:#dec197;text-shadow:0 1px #000}
.room{padding-top:4px}.room-brand{gap:10px;margin:10px auto 17px}
.room-brand span{font-size:clamp(16px,4.1vw,21px);font-style:italic}
.game-box,.invite-box{margin-top:15px;padding:17px!important}
.room-title,.fighter-prompt{color:#ffe2a2;text-shadow:0 3px #381913,0 0 18px #e69c365e}
.scoreboard,.stake-card{background:linear-gradient(180deg,#080e17d9,#151926c9);border-color:#a38056}
.room[data-corner] .hand{clip-path:none!important;border-radius:9px!important;background:linear-gradient(155deg,#19202d,#05070e)!important;box-shadow:inset 0 0 0 1px #ac835d,0 8px 18px #0009!important;overflow:hidden}
.room[data-corner] .hand .label{font-size:clamp(13px,3.7vw,17px)!important;font-weight:950;background:linear-gradient(180deg,#f5d69f,#8b592c)!important;color:#180c0a!important;text-shadow:none;box-shadow:none!important}
.room[data-corner] .hand .fighter-image{height:clamp(112px,35vw,178px)}
.room[data-corner] .hand .fighter-image img{object-fit:cover}
.locked-weapon img{border-radius:10px;max-width:240px}
.ready-link{text-align:center;color:#f3cb88;font-weight:bold;font-size:12px;letter-spacing:.6px;margin:10px 0 20px}
.invite-box .primary{width:100%;font-size:19px!important}
.invite-box .secondary{font-size:14px!important}
.room-footer{opacity:.85}
/* Clean storyboard playback. Never show the broken POV collage or duplicate transition. */
.pov-layer{display:none!important}.fight-stage.show-pov .fight-frame{opacity:1!important}
.fight-overlay{background:#05080deF url('./art/arena-bg.webp') center center/cover no-repeat!important}
.fight-stage{overflow:hidden!important;border:2px solid #bd955b!important;border-radius:10px!important;background:#070a10;box-shadow:0 12px 28px #0008,0 0 20px #9c5a2d57!important}
.fight-frame{object-fit:contain!important;width:100%;height:100%;transition:none!important;animation:none!important}
.fight-stage.impact .fight-frame,.fight-stage.morphing .fight-frame{animation:none!important}
.fight-blur{filter:blur(22px) brightness(.30)!important;object-fit:cover!important}
.fight-header{padding-top:5px}.fight-versus{font-size:30px;color:#ffe09b;filter:none!important}
.fight-result{background:linear-gradient(180deg,transparent 15%,rgba(5,7,10,.85) 100%)}
.fight-result-title{font-size:clamp(35px,12vw,66px)}
@media(max-width:390px){.app{padding:0 12px 12px}.intro{min-height:132px}.hero-title img{max-height:134px}.panel{padding:12px 13px 16px!important}.field{margin-bottom:10px!important}.field>input:not([type=hidden]),.field select{height:43px}.length{min-height:40px}.primary{min-height:53px}}
@media(prefers-reduced-motion:reduce){.primary,.secondary{transition:none}}
.primary::after,.arena-button::after{display:none!important}

