/* Original 325 × 420 stone artwork, with native button coordinates. */
body #aux-window[data-kind=combat]{width:min(640px,calc(100vw - 24px));min-width:0;right:12px;padding:0;margin:0;border:0;border-image:none;border-radius:0;background:none;box-shadow:none;overflow:auto;overscroll-behavior:contain}
body #aux-window[data-kind=combat]>.panel-heading{display:none}
body #aux-window[data-kind=combat] #aux-body{padding:0;margin:0;background:none}
.combat-window-toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:flex-end;gap:4px;pointer-events:none}
body #aux-window[data-kind=combat] .combat-window-toolbar button{pointer-events:auto;min-width:76px;min-height:44px;padding:6px 12px;border:1px solid #bda474;border-radius:4px;background:#211f1bf5;color:#fff1cf;font:16px/1.4 Tahoma,sans-serif;touch-action:manipulation}
.combat-window-toolbar button:focus-visible{outline:2px solid #ffe9a5;outline-offset:-3px}
.combat-capacity-status{order:-1;flex:1;margin:0;padding:0 8px;border-radius:4px;background:#211f1bf5;color:#ffd695;font:13px/1.4 Tahoma,sans-serif}
.combat-capacity-status:empty{padding:0;background:none}
.combat-budget{max-width:calc(100vw - 24px);margin:auto;padding:12px;border:1px solid #bda474;border-radius:4px;background:#211f1bf5;color:#fff1cf;font:14px/1.5 Tahoma,sans-serif}
.combat-budget p{margin:0 0 4px}
.combat-budget-values{display:flex;flex-wrap:wrap;gap:4px 16px}
.combat-budget a{color:#ffd695;text-decoration:underline}
.combat-original{display:flex;align-items:flex-start;gap:8px;padding:0 0 4px}
.combat-plate-wrap{flex:none;width:calc(325px * var(--combat-scale,1));height:calc(420px * var(--combat-scale,1))}
.combat-plate{position:relative;width:325px;height:420px;background:url(point-0-textless.png) no-repeat;transform:scale(var(--combat-scale,1));transform-origin:top left;image-rendering:pixelated}
.combat-plate.is-overview{background-image:url(point-9-textless.png)}
body #aux-window[data-kind=combat] .combat-plate button{position:absolute;display:block;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background-color:transparent;background-repeat:no-repeat;transform:none;min-height:0;min-width:0;image-rendering:pixelated;touch-action:manipulation}
body #aux-window[data-kind=combat] .combat-plate button:hover{filter:brightness(1.15)}
body #aux-window[data-kind=combat] .combat-plate button:focus-visible{outline:2px solid #ffe9a5;outline-offset:2px;z-index:2}
body #aux-window[data-kind=combat] .combat-native-tabs button{top:70px;width:73px;height:35px}
body #aux-window[data-kind=combat] .combat-native-skill{width:42px;height:42px;background:#111}
.combat-native-skill>img{display:block;width:42px;height:42px;image-rendering:pixelated}
.combat-native-skill.is-unlearned>img{filter:grayscale(.8) brightness(.55)}
body #aux-window[data-kind=combat] .combat-native-skill.is-selected{outline:2px solid #fff1a1;outline-offset:1px}
body #aux-window[data-kind=combat] .combat-native-skill.is-prepared{box-shadow:0 0 8px 3px #8cdcff}
.combat-rank{position:absolute;bottom:0;right:1px;background:#080808c9;color:#fff6c2;font:700 12px Georgia,serif;line-height:14px;padding:0 2px;text-shadow:1px 1px #000;pointer-events:none}
.combat-native-points{position:absolute;left:205px;top:326px;width:37px;height:17px;text-align:center;color:#fff8cb;font:13px Tahoma,sans-serif;line-height:17px}
body #aux-window[data-kind=combat] .combat-native-plus{left:250px;top:310px;width:38px;height:34px;background-image:url(point-31.png)}
body #aux-window[data-kind=combat] .combat-native-plus:active{background-image:url(point-30.png)}
body #aux-window[data-kind=combat] .combat-native-done{left:118px;top:360px;width:83px;height:35px;background-image:url(point-43-textless.png)}
body #aux-window[data-kind=combat] .combat-native-done:active{background-image:url(point-42-textless.png)}
body #aux-window[data-kind=combat] .combat-group-choice{top:120px;width:129px;height:229px;background-image:var(--group-art);color:#fff3ce;text-align:center;font:11px Tahoma,sans-serif}
.combat-group-choice>img{position:absolute;left:43px;top:18px;width:42px;height:42px}
.combat-group-choice>b{position:absolute;top:60px;left:4px;width:121px;font-size:10px;line-height:15px}
.combat-group-choice>span{position:absolute;top:85px;left:8px;width:113px;text-align:left}
.combat-group-choice small{display:block;font-size:10px;line-height:18px;white-space:normal}
.combat-detail,.combat-unavailable{flex:1;min-width:0;padding:16px;background:#211f1bef;border:1px solid #9d8b68;color:#e9dfc5;font:12px/1.6 Tahoma,sans-serif;border-radius:3px;margin:10px 0}
.combat-detail-title{display:flex;gap:10px;align-items:center}
.combat-detail-title>img{width:42px;height:42px;image-rendering:pixelated}
.combat-detail h3{font:700 15px/1.4 Georgia,Tahoma,serif;color:#fff0b9;margin:0 0 4px;overflow-wrap:anywhere}
.combat-detail-title span,.combat-detail p{font-size:11px;margin:8px 0}
.combat-ranks{list-style:none;padding:0;margin:12px 0}
.combat-ranks li{padding:7px 0;border-bottom:1px solid #a18a583b;font-size:11px}
.combat-ranks li.learned{color:#b5e6a5}
.combat-learn-status{color:#edd19c;min-height:18px}
.combat-requirement-unmet,.combat-learn-status.is-blocked{color:#ff9a9a;font-weight:700}
.combat-learn-status.is-blocked{padding:8px 10px;border:1px solid #ff9a9a80;border-radius:4px;background:#521c1c66}
.combat-detail-actions{display:flex;gap:6px}
body #aux-window[data-kind=combat] .combat-detail-actions button{flex:1;min-height:36px;padding:6px;border:1px solid #8d7c57;background:#393227;color:#fff1cf;font:12px Tahoma,sans-serif;border-radius:2px}
.combat-help{color:#bdbaa9}.combat-slot-summary{color:#e7ce98}
@media(max-width:700px){.combat-original{flex-direction:column;align-items:center}.combat-detail{width:100%;margin:0}.combat-plate-wrap{align-self:center}}
@media(min-width:900px) and (min-height:720px){
  body:not(.mobile-hud,.community-dock-open) #aux-window[data-kind=combat]{width:800px}
  body:not(.mobile-hud,.community-dock-open) #aux-window[data-kind=combat] .combat-original{zoom:1.25}
}
.combat-live-title{position:absolute;left:70px;top:25px;width:185px;margin:0;text-align:center;color:#a51f16;font:20px/28px Tahoma,sans-serif}
.combat-live-points{position:absolute;left:194px;top:306px;width:55px;text-align:center;color:#a51f16;font:11px/17px Tahoma,sans-serif}
.is-overview .combat-live-points{display:none}
body #aux-window[data-kind=combat] .combat-native-done{font:17px/35px Tahoma,sans-serif;color:#a51f16}
body #aux-window[data-kind=combat] .combat-native-tabs button{font:10px/14px Tahoma,sans-serif;color:#202b80;overflow-wrap:anywhere}
