
body[data-mode=combat] .duel-page{width:100%;max-width:none;padding:0 2px}.duel-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}.duel-page-heading h1{font:26px Georgia;color:#f0d9b0;margin:5px 0 0}.duel-eyebrow{font:10px Georgia;letter-spacing:.13em;color:#b99a60}.duel-tools{display:flex;align-items:end;gap:8px}.duel-tools label{display:grid;gap:4px;font:11px Georgia;color:#c2aa81}.duel-tools select{max-width:225px;background:#1c140e;color:#e9d1a5;border:1px solid #95713b;border-radius:0;min-height:34px;font:13px Georgia;padding:5px 8px}.duel-button{position:relative;isolation:isolate;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;color:#e7cda0;min-height:38px;padding:8px 16px;font:14px Georgia;cursor:pointer}.duel-button.primary{font-weight:bold;color:#271706}.duel-button:disabled{opacity:.5;cursor:default}.duel-button:focus-visible{outline:2px solid #eac57c;outline-offset:2px}.duel-button:hover>.smith-button-skin.hover{opacity:1}.stationary-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;align-items:stretch}.duel-left{min-width:0;display:flex;flex-direction:column}.duel-page .battle-v100.battle-design3{display:block!important;width:100%!important;max-width:none!important;margin:0!important;flex:1;min-height:0}.duel-page .battle-v100.battle-design3 .battle-scene{height:100%!important;min-height:490px!important;max-height:none!important;border-width:7px!important}.duel-page .battle-v100.battle-design3 .battle-top{top:9px;left:9px;right:9px;gap:10px}.duel-page .battle-design3 .battle-top section{padding:8px}.duel-page .battle-identity{display:block!important}.duel-page .battle-identity strong{font:15px Georgia!important;line-height:1.25}.duel-page .battle-top [data-combat-health]{font:23px Georgia!important;display:block;margin-top:6px}.duel-page .battle-design3 .class-energy{font-size:11px;gap:4px;flex-wrap:wrap}.duel-page .battle-design3 .class-energy>strong{font-size:11px!important}.duel-page .battle-stat-row{gap:8px;font-size:10px!important;flex-wrap:wrap}.duel-page .battle-stat-row>span{font-size:10px!important}.duel-page .battle-design3 .battle-intent>span{display:block}.duel-page .battle-design3 .battle-intent strong{font-size:12px!important}.duel-page .battle-design3 .battle-intent b{font-size:11px}.duel-page .battle-design3 .battle-ground{top:150px;bottom:35px;left:2%;right:2%;container-type:size}.duel-page .battle-design3 .hero-fighter{height:78cqh!important;width:calc(78cqh * .818)!important;left:0!important;right:auto!important;bottom:0!important;transform:none!important;max-width:none!important}.duel-page .battle-design3 .enemy-fighter{height:calc(78cqh * var(--enemy-size,1))!important;width:calc(78cqh * var(--enemy-size,1) * var(--enemy-aspect,.65))!important;right:0!important;left:auto!important;bottom:0!important;transform:none!important}.duel-page .battle-design3 .arena-companion{height:19cqh!important;width:22cqh!important;left:25%!important;bottom:0!important}.duel-page .battle-design3 .battle-callout{display:none}.duel-phase-strip{display:flex;align-items:center;justify-content:space-around;gap:6px;background:#171009;border:1px solid #856335;padding:10px 8px;margin-top:8px;font:12px Georgia;color:#8f7b59}.duel-phase-strip i{font-style:normal;color:#6b5130}.duel-phase-strip .active{color:#ffe2a4;text-shadow:0 0 9px #e9ae4d55}.duel-scene-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:49px;font:12px/1.5 Georgia;color:#c6ac83}.duel-scene-caption .duel-button{font-size:12px;min-height:32px;flex:none;padding:5px 10px}
.duel-powers{min-width:0;border:8px solid #936d3b;border-image:url('assets/woodland-panel-leather-v1.webp') 82 fill/8px;background:#19110c;display:flex;flex-direction:column;padding:14px 12px}.duel-powers-heading{display:flex;align-items:center;gap:14px;padding-bottom:13px;border-bottom:1px solid #93703e77}.duel-powers-heading h2{font:25px Georgia;color:#efd8ad;margin:6px 0}.duel-powers-heading p{font:13px Georgia;color:#bca37d;margin:0;line-height:1.5}.duel-portrait{width:80px;height:87px;flex:none;border:5px solid #8c693c;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/5px;background:radial-gradient(#58533a,#181710);overflow:hidden}.duel-portrait>svg{display:block;width:100%;height:100%}.duel-table-wrap{min-width:0}.duel-table{border-collapse:separate;border-spacing:0 5px;width:100%;table-layout:fixed;margin:7px 0 0;font:13px/1.4 Georgia}.duel-table caption{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.col-name{width:30%}.col-cost{width:12%}.col-hit{width:10%}.col-cd{width:12%}.col-effect{width:36%}.duel-table thead th{font-weight:normal;color:#b79a68;font-size:11px;padding:7px 4px;border-bottom:1px solid #926b3766;text-align:center}.duel-table thead th:first-child,.duel-table thead th:last-child{text-align:left}.duel-table tbody th,.duel-table tbody td{background:#100c08b0;border-block:1px solid #79572c99;padding:10px 6px;vertical-align:middle;text-align:center}.duel-table tbody th{border-left:1px solid #79572c99;text-align:left;font-weight:normal}.duel-table tbody td:last-child{border-right:1px solid #79572c99;text-align:left}.duel-table .chosen th,.duel-table .chosen td{background:linear-gradient(#59402360,#34241299);border-block-color:#c69a50}.duel-table .chosen th{border-left-color:#c69a50}.duel-table .chosen td:last-child{border-right-color:#c69a50}.duel-table tbody th>button{display:flex;align-items:center;gap:8px;background:none;border:0;padding:0;color:#ebd0a4;cursor:pointer;width:100%;font:14px Georgia;text-align:left;min-height:53px;min-width:0}.duel-table button:focus-visible{outline:2px solid #e5c382;outline-offset:4px}.duel-table .ability-art,.duel-table .class-ability,.duel-table .class-skill-icon{display:block!important;position:static!important;width:37px!important;height:37px!important;object-fit:contain;flex:none}.duel-table th strong{font:15px/1.2 Georgia;color:#f2dcb2;display:block}.duel-table th small{display:block;font:10px Georgia;color:#b89c69;margin-top:6px}.duel-table td>strong{font:19px Georgia;color:#efd39a;white-space:nowrap}.duel-table td>strong small{font-size:10px;color:#b49a71}.duel-table .duel-effect{font:12px/1.55 Georgia;color:#cfb58c;overflow-wrap:anywhere}.duel-table .unavailable th small{color:#c48e74}.duel-table .unavailable .ability-art{filter:saturate(.2);opacity:.7}.duel-mobile-label{display:none}.duel-selection{display:flex;align-items:center;gap:13px;border-top:1px solid #ad824255;padding-top:13px;margin-top:auto}.duel-selection>div{min-width:0;flex:1}.duel-selection strong{font:18px Georgia;color:#f2d8a8;display:block;margin-top:5px}.duel-selection p{font:12px/1.5 Georgia;color:#bda47d;margin:6px 0 0}.duel-selection .duel-button{flex:none;min-height:48px;padding-inline:18px}.duel-finished{border:1px solid #9d783e;background:#1a130c;padding:40px}
@media(min-width:901px) and (max-height:820px){.duel-page-heading{margin-bottom:8px}.duel-page-heading h1{font-size:22px}.duel-page .battle-v100.battle-design3 .battle-scene{min-height:440px!important}.duel-powers{padding:9px}.duel-powers-heading{padding-bottom:8px;gap:10px}.duel-portrait{width:62px;height:65px}.duel-powers-heading h2{font-size:22px}.duel-powers-heading p{font-size:11px}.duel-table tbody th,.duel-table tbody td{padding:6px 4px}.duel-table tbody th>button{min-height:46px;gap:5px}.duel-table th strong{font-size:13px}.duel-table .ability-art{width:29px!important;height:29px!important}.duel-table .duel-effect{font-size:11px;line-height:1.4}.duel-selection{padding-top:8px;gap:8px}.duel-selection p{font-size:11px;margin-top:3px}.duel-selection strong{font-size:16px}.duel-selection .duel-button{min-height:43px;padding-inline:11px}.duel-scene-caption{min-height:40px}.duel-phase-strip{padding-block:7px}}
@media(min-width:901px) and (max-width:1250px){.stationary-layout{gap:9px;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.duel-page .battle-design3 .hero-fighter{height:70cqh!important;width:calc(70cqh * .818)!important}.duel-page .battle-design3 .enemy-fighter{height:calc(70cqh * var(--enemy-size,1))!important;width:calc(70cqh * var(--enemy-size,1) * var(--enemy-aspect,.65))!important}.duel-tools select{max-width:160px}.duel-table th>button{flex-direction:column!important;align-items:flex-start!important;gap:5px}.duel-table th strong{font-size:13px}.duel-table th small{font-size:9px}.duel-table .duel-effect{font-size:11px}.duel-table .col-name{width:27%}.duel-table .col-effect{width:39%}.duel-page .battle-identity strong{font-size:13px!important}.duel-page .battle-design3 .battle-intent strong{font-size:11px!important}}
@media(max-width:900px){.duel-page-heading{display:grid;gap:10px}.duel-page-heading h1{font-size:25px}.duel-tools{display:flex;flex-wrap:wrap;gap:7px;align-items:end}.duel-tools label:first-child{flex:1}.duel-tools select{max-width:100%;width:100%}.duel-tools label{font-size:10px}.duel-tools .duel-button{padding:7px 11px;min-height:34px}.stationary-layout{grid-template-columns:1fr;gap:12px}.duel-page .battle-v100.battle-design3 .battle-scene{height:390px!important;min-height:390px!important}.duel-page .battle-design3 .battle-ground{top:142px;bottom:29px}.duel-page .battle-design3 .hero-fighter{height:78cqh!important;width:calc(78cqh * .818)!important;left:1%!important}.duel-page .battle-design3 .enemy-fighter{height:calc(78cqh * var(--enemy-size,1))!important;width:calc(78cqh * var(--enemy-size,1) * var(--enemy-aspect,.65))!important;right:1%!important}.duel-page .battle-top [data-combat-health]{font-size:21px!important}.duel-powers{padding:11px 9px}.duel-powers-heading h2{font-size:23px}.duel-powers-heading p{font-size:12px}.duel-portrait{width:65px;height:75px}.duel-table{display:block;font-size:13px}.duel-table colgroup,.duel-table thead{display:none}.duel-table tbody{display:grid;gap:8px}.duel-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #816036;padding:10px;background:#110d09}.duel-table tbody tr.chosen{border-color:#d2a75d;background:linear-gradient(#4a341b99,#21170e)}.duel-table tbody th,.duel-table tbody td{border:0!important;background:none!important;padding:0!important}.duel-table tbody th{grid-column:1/-1;margin-bottom:10px}.duel-table tbody th>button{min-height:42px;flex-direction:row!important}.duel-table th strong{font-size:17px}.duel-table th small{font-size:11px;margin-top:5px}.duel-table .ability-art{width:40px!important;height:40px!important}.duel-mobile-label{display:block;font-size:11px;color:#b9a071;margin-bottom:3px}.duel-table td>strong{font-size:20px}.duel-table td.duel-effect{grid-column:1/-1;padding-top:10px!important;margin-top:9px;border-top:1px solid #95703d66!important;font:13px/1.55 Georgia}.duel-table td>strong small{font-size:11px}.duel-selection{margin-top:14px;display:grid}.duel-selection .duel-button{width:100%;font-size:17px}.duel-selection p{font-size:13px}.duel-selection strong{font-size:20px}.duel-scene-caption{font-size:11px}.duel-phase-strip{font-size:11px}.duel-page .battle-identity strong{font-size:13px!important}}
@media(max-width:370px){.duel-page .battle-design3 .hero-fighter{height:69cqh!important;width:calc(69cqh * .818)!important}.duel-page .battle-design3 .enemy-fighter{height:calc(69cqh * var(--enemy-size,1))!important;width:calc(69cqh * var(--enemy-size,1) * var(--enemy-aspect,.65))!important}.duel-page .battle-identity strong{font-size:12px!important}.duel-tools{gap:5px}.duel-eyebrow{font-size:9px}.duel-powers-heading h2{font-size:21px}}

/* Live table shares the approved stationary design; mechanics and navigation stay in app.js. */
.combat-stationary-live .battle-card-metrics{display:table-cell;border:0;margin:0;font:inherit}.combat-stationary-live .duel-statuses{font:11px Georgia;color:#cbb18a}.combat-stationary-live .class-statuses{display:flex;gap:5px;flex-wrap:wrap}.combat-stationary-live .class-statuses span{padding:3px 5px;border:1px solid #806138}.combat-stationary-live .duel-scene-tools{display:flex;gap:3px;flex:none}.combat-stationary-live .duel-scene-tools .duel-button{font-size:11px;padding:5px 8px}.combat-stationary-live .duel-table .unavailable{opacity:.65}.combat-stationary-live .duel-table button:disabled{cursor:wait}.combat-stationary-live .duel-table button:focus-visible{outline:2px solid #eac57c;outline-offset:3px}.combat-stationary-live .battle-callout{display:block!important;top:38%;font:16px Georgia}.combat-stationary-live .instant-action-hint{margin:0!important;padding:0!important;background:none!important;font:inherit!important}.combat-stationary-live .duel-powers{align-self:stretch}.combat-stationary-live .duel-selection{margin-top:auto}.combat-stationary-live .duel-scene-caption{min-height:40px}.combat-stationary-live .battle-scene{overflow:hidden}
@media(min-width:901px){.combat-stationary-live .battle-v100.battle-design3 .battle-scene{height:clamp(440px,calc(100dvh - 320px),760px)!important;min-height:440px!important}.combat-stationary-live .duel-table th>button{background:none!important;border:0!important;box-shadow:none!important;color:#efd8ad;padding:0!important}.combat-stationary-live .duel-statuses:empty{display:none}}
@media(max-width:900px){.combat-stationary-live .battle-card-metrics{display:block}.combat-stationary-live .duel-scene-caption{flex-wrap:wrap;gap:3px}.combat-stationary-live .duel-scene-tools{margin-left:auto}.combat-stationary-live .duel-statuses{font-size:12px}}

.combat-stationary-live .duel-scene-tools .mobile-battle-pause{display:inline-flex!important;align-items:center;justify-content:center}
@media(min-width:901px){.combat-stationary-live .battle-v100.battle-design3 .battle-scene{height:clamp(440px,calc(100dvh - 335px),760px)!important}.combat-stationary-live .duel-table tbody th,.combat-stationary-live .duel-table tbody td{padding:6px 4px!important}.combat-stationary-live .duel-table tbody th>button{min-height:50px}.combat-stationary-live .duel-statuses .class-statuses{margin:4px 0 0;min-height:0}.combat-stationary-live .duel-statuses .class-statuses span{padding:2px 4px}.combat-stationary-live .duel-selection{padding-top:8px}.combat-stationary-live .duel-left>.battle-v100{flex:0 0 auto}.combat-stationary-live .duel-scene-caption{margin-top:auto}}
@media(min-width:901px) and (max-height:820px){.combat-stationary-live .duel-table tbody th,.combat-stationary-live .duel-table tbody td{padding:4px!important}.combat-stationary-live .duel-table tbody th>button{min-height:38px}.combat-stationary-live .duel-powers-heading{padding-bottom:6px}.combat-stationary-live .duel-selection{padding-top:6px}.combat-stationary-live .duel-table{margin-top:3px}.combat-stationary-live .duel-statuses .class-statuses{margin-top:2px}.combat-stationary-live .duel-selection p{line-height:1.3}}

/* Weapon arcs extend beyond the figure box, while the arena remains clipped. */
.battle-design3 .hero-fighter.articulated-hero{overflow:visible!important}.battle-design3 .live-hero-rig{overflow:visible!important}

.battle-design3 .enemy-fighter.human-enemy-actor,.human-enemy-puppet{overflow:visible!important}.human-enemy-puppet .game-sprite{filter:none}.human-enemy-art{background:none!important;overflow:visible}.human-enemy-art>.human-enemy-puppet{width:100%;height:100%;object-fit:contain}.human-enemy-puppet[data-appearance-ready=pending]{visibility:hidden}.human-enemy-puppet[data-appearance-ready=error]{opacity:.35}

/* Mobile combat: one viewport for arena, all five skills and explicit confirmation. */
.duel-mobile-cost,.duel-selected-metrics{display:none}
@media(max-width:900px){
 body[data-layout=sidebar][data-mode=combat] #app{grid-template-rows:46px minmax(0,1fr) auto!important}
 body[data-layout=sidebar][data-mode=combat] .main-content{overflow:hidden!important;padding:4px 5px!important;touch-action:manipulation}
 body[data-layout=sidebar][data-mode=combat] .main-content>.view-content{height:100%!important;min-height:0;display:flex!important;flex-direction:column;gap:3px;overflow:hidden}
 body[data-mode=combat] .view-content>.eb-content{display:flex;flex-direction:column;flex:1;min-height:0;height:auto!important;overflow:hidden}
 body[data-mode=combat] .ep-title{flex:none;min-height:0!important;margin:0 0 3px!important}
 body[data-mode=combat] .ep-title h1{font-size:17px!important;line-height:1.1;margin:1px 0!important}
 body[data-mode=combat] .ep-title>div,body[data-mode=combat] .ep-title>span{display:none}
 body[data-mode=combat] .layout-footer{grid-template-columns:1fr;margin:0 5px 3px;padding:4px 7px!important;gap:0;border-width:4px;border-image-width:4px}
 body[data-mode=combat] .layout-footer .layout-footer-resources,body[data-mode=combat] .layout-footer .layout-continue,body[data-mode=combat] .layout-footer .layout-jobs{display:none!important}
 body[data-mode=combat] .layout-footer .layout-footer-route{gap:2px}
 body[data-mode=combat] .layout-footer .layout-route-title strong{font-size:11px}
 body[data-mode=combat] .layout-footer .layout-route-title>span{font-size:10px}
 body[data-mode=combat] .layout-footer .layout-route-progress{height:4px}
 .combat-stationary-live{display:flex;flex:1;min-height:0;padding:0!important}
 .combat-stationary-live .stationary-layout{width:100%;min-height:0;flex:1;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(130px,1fr) auto;gap:4px}
 .combat-stationary-live .duel-left{min-height:0;overflow:hidden}
 .combat-stationary-live .battle-v100.battle-design3{flex:1!important;min-height:0!important}
 .combat-stationary-live .battle-v100.battle-design3 .battle-scene{height:100%!important;min-height:0!important;max-height:none!important;border-width:4px!important;border-image-width:4px!important}
 .combat-stationary-live .battle-v100.battle-design3 .battle-top{top:3px;left:3px;right:3px;gap:4px}
 .combat-stationary-live .battle-design3 .battle-top section{padding:3px!important;border-width:3px;border-image-width:3px}
 .combat-stationary-live .battle-design3 .battle-identity strong{font:12px/1.1 Georgia!important;display:block}
 .combat-stationary-live .battle-top [data-combat-health]{font-size:17px!important;margin-top:2px}
 .combat-stationary-live .battle-top .meter{height:8px!important;margin:3px 0!important}
 .combat-stationary-live .battle-design3 .class-energy{flex-wrap:nowrap!important;gap:3px;margin:0;font-size:10px}
 .combat-stationary-live .battle-design3 .class-energy>strong{font-size:10px!important}
 .combat-stationary-live .battle-design3 .class-energy>b{font-size:10px}
 .combat-stationary-live .battle-stat-row{margin-top:2px;gap:5px;font-size:9px!important}
 .combat-stationary-live .battle-stat-row>span{font-size:9px!important}
 .combat-stationary-live .battle-design3 .battle-intent>span{display:flex;flex-wrap:wrap;gap:2px 5px}
 .combat-stationary-live .battle-design3 .battle-intent strong,.combat-stationary-live .battle-design3 .battle-intent b{font-size:10px!important}
 .combat-stationary-live .battle-design3 .battle-ground{top:111px;bottom:20px;left:2%;right:2%}
 .combat-stationary-live .battle-design3 .hero-fighter{height:82cqh!important;width:calc(82cqh * .818)!important;left:0!important}
 .combat-stationary-live .battle-design3 .enemy-fighter{height:calc(82cqh * var(--enemy-size,1))!important;width:calc(82cqh * var(--enemy-size,1) * var(--enemy-aspect,.65))!important;right:0!important}
 .combat-stationary-live .battle-design3 .arena-companion{left:28%!important;height:24cqh!important;width:27cqh!important}
 .combat-stationary-live .duel-phase-strip{display:none}
 .combat-stationary-live .duel-scene-caption{min-height:26px;margin:0!important;font-size:10px;flex-wrap:nowrap;gap:4px;flex:none}
 .combat-stationary-live .duel-scene-caption>[data-combat-message]{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .combat-stationary-live .duel-scene-tools .duel-button{min-height:26px!important;padding:3px 6px;font-size:10px}
 .combat-stationary-live .duel-powers{padding:5px;border-width:4px;border-image-width:4px;min-height:0;gap:3px}
 .combat-stationary-live .duel-powers-heading{padding:0;border:0;gap:0;min-height:0}
 .combat-stationary-live .duel-portrait,.combat-stationary-live .duel-powers-heading p,.combat-stationary-live .duel-powers-heading .duel-eyebrow{display:none}
 .combat-stationary-live .duel-powers-heading h2{font-size:15px;margin:0}
 .combat-stationary-live .duel-table{display:block;margin:0}
 .combat-stationary-live .duel-table tbody{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
 .combat-stationary-live .duel-table tbody tr{display:block;min-width:0;padding:0;position:relative;border:1px solid #866334}
 .combat-stationary-live .duel-table tbody th{display:block;margin:0}
 .combat-stationary-live .duel-table tbody td{display:none!important}
 .combat-stationary-live .duel-table tbody th>button{display:flex;position:relative;flex-direction:column!important;align-items:center!important;justify-content:center;gap:3px;min-height:82px!important;height:100%;width:100%;padding:4px 2px!important;touch-action:manipulation;color:#f1dbb2;background:none!important;border:0;box-shadow:none;text-align:center}
 .combat-stationary-live .duel-table th strong{font:11px/1.13 Georgia;overflow-wrap:anywhere;text-align:center;display:block}
 .combat-stationary-live .duel-table th small{display:none}
 .combat-stationary-live .duel-table .ability-art,.combat-stationary-live .duel-table .class-skill-icon,.combat-stationary-live .duel-table .class-ability{width:29px!important;height:29px!important}
 .combat-stationary-live .duel-mobile-cost{display:block;position:absolute;top:2px;right:2px;background:#17110ee6;color:#f0d28d;font:10px Georgia;padding:1px 2px;border:1px solid #876339}
 .combat-stationary-live .duel-table .chosen{box-shadow:inset 0 0 7px #d7a44c66;border-color:#edbf64}
 .combat-stationary-live .duel-selection{display:grid;grid-template-columns:minmax(0,1fr) 102px;gap:7px;margin:0!important;padding-top:4px}
 .combat-stationary-live .duel-selection .duel-eyebrow{display:none}
 .combat-stationary-live .duel-selection strong{font:14px/1.15 Georgia;margin:0}
 .combat-stationary-live .duel-selected-metrics{display:flex;flex-wrap:wrap;gap:2px 9px;font:11px/1.2 Georgia;color:#cab388;margin-top:3px}
 .combat-stationary-live .duel-selected-metrics b{color:#ffe0a3}
 .combat-stationary-live .duel-selection p{font:11px/1.25 Georgia;margin:3px 0 0;color:#d6bd92}
 .combat-stationary-live .duel-selection .duel-button{min-height:48px!important;padding:7px!important;font-size:14px;align-self:center;touch-action:manipulation;white-space:normal}
 .combat-stationary-live .duel-statuses{font-size:10px;line-height:1.15}
 .combat-stationary-live .duel-statuses .class-statuses{margin:0;gap:3px}
 .combat-stationary-live .duel-statuses .class-statuses span{padding:1px 3px;font-size:10px}
 body[data-mode=combat] .qa-combat-tools{flex:none;min-height:0;font-size:10px!important;margin:0!important;gap:3px!important}
 body[data-mode=combat] .qa-combat-tools>strong,body[data-mode=combat] #qa-status{display:none}
 body[data-mode=combat] .qa-combat-tools select,body[data-mode=combat] .qa-combat-tools button{min-height:23px!important;height:23px!important;padding:1px 4px!important;font-size:10px!important}
}
@media(max-width:900px) and (max-height:500px) and (orientation:landscape){
 .combat-stationary-live .stationary-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:5px}
 .combat-stationary-live .duel-powers-heading{display:none}
 .combat-stationary-live .duel-table tbody th>button{min-height:71px!important}
 .combat-stationary-live .duel-selection{grid-template-columns:minmax(0,1fr) 92px}
 .combat-stationary-live .duel-selection p{font-size:10px}
 .combat-stationary-live .battle-design3 .battle-ground{top:104px;bottom:18px}
}
/* Very short portrait screens retain access instead of clipping the confirm control. */
@media(max-width:900px) and (max-height:510px) and (orientation:portrait){
 body[data-layout=sidebar][data-mode=combat] .main-content{overflow-y:auto!important}
 body[data-mode=combat] .view-content>.eb-content{overflow:visible;min-height:440px;flex:none}
}
@media(max-width:900px) and (max-height:700px){
 .combat-stationary-live .battle-design3 .battle-identity{display:flex!important;justify-content:space-between;align-items:center;gap:3px}
 .combat-stationary-live .battle-design3 .battle-identity strong{font-size:11px!important;max-width:65%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .combat-stationary-live .battle-top [data-combat-health]{font-size:15px!important;white-space:nowrap;margin:0}
 .combat-stationary-live .battle-stat-row{display:none!important}
 .combat-stationary-live .battle-design3 .class-energy{font-size:9px;gap:2px}
 .combat-stationary-live .battle-design3 .class-energy>strong,.combat-stationary-live .battle-design3 .class-energy>b{font-size:9px!important}
 .combat-stationary-live .battle-design3 .battle-intent strong,.combat-stationary-live .battle-design3 .battle-intent b{font-size:9px!important}
 .combat-stationary-live .battle-design3 .battle-ground{top:78px;bottom:18px}
 .combat-stationary-live .battle-design3 .hero-fighter{height:92cqh!important;width:calc(92cqh * .818)!important;left:4%!important}
 .combat-stationary-live .battle-design3 .enemy-fighter{height:calc(92cqh * var(--enemy-size,1))!important;width:calc(92cqh * var(--enemy-size,1) * var(--enemy-aspect,.65))!important;right:4%!important}
 .combat-stationary-live .duel-powers-heading{display:none}
 .combat-stationary-live .duel-table tbody th>button{min-height:74px!important}
 .combat-stationary-live .duel-table th strong{font-size:10px;line-height:1.1}
 .combat-stationary-live .duel-selection p{font-size:10px}
}
@media(max-width:900px) and (max-height:600px){body[data-mode=combat] .layout-footer{display:none!important}}

/* Generous real SVG paint bounds: no dependence on overflow outside a filtered figure box. */
.battle-design3 .hero-fighter.articulated-hero,.battle-design3 .enemy-fighter.human-enemy-actor{filter:none!important;contain:none!important;isolation:auto!important}
.battle-design3 .rig-padded-viewport{position:absolute!important;left:var(--rig-paint-left)!important;top:var(--rig-paint-top)!important;width:var(--rig-paint-width)!important;height:var(--rig-paint-height)!important;max-width:none!important;max-height:none!important;overflow:hidden!important;pointer-events:none;filter:none!important}
.battle-design3 [data-rig-part="weapon"],.battle-design3 [data-human-part="weapon"]{overflow:visible!important;clip-path:none!important;filter:none!important}

.battle-design3 .enemy-fighter.human-enemy-actor>.human-enemy-puppet{transform:none!important}

/* Native transparent animal parts: no atlas color key, CSS filter or duplicated body slices. */
.animal-enemy-puppet,.animal-enemy-puppet svg,.animal-enemy-puppet image,.animal-enemy-art,.battle-design3 .enemy-fighter.animal-enemy-actor{filter:none!important;background:none!important}.animal-enemy-puppet{display:block;width:100%;height:100%;overflow:visible}.animal-enemy-art>.animal-enemy-puppet{width:100%;height:100%}.battle-design3 .enemy-fighter.animal-enemy-actor{overflow:visible!important;transform:none!important;contain:layout style}

.animal-workshop{margin-top:22px;padding:18px}.animal-lab-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.animal-lab-controls label{display:grid;gap:5px}.animal-lab-controls select{padding:9px;background:#19150e;color:#ecd4aa;border:1px solid #96713d;font:17px Georgia}.animal-lab-scene{max-width:850px;height:420px;margin:auto;background:radial-gradient(ellipse at 50% 80%,#424332,#171510 65%);border:1px solid #806039}.animal-lab-scene>svg{width:100%;height:100%}.animal-lab-scrub{display:flex;align-items:center;gap:14px;margin-top:10px}.animal-lab-scrub input{flex:1}.animal-workshop p{font:17px/1.5 Georgia}@media(max-width:850px){.animal-workshop{padding:10px}.animal-lab-scene{height:300px}.animal-lab-controls label{flex:1;min-width:130px}.animal-lab-controls select{width:100%;min-width:0}}
