/* Battle report: painted scene, recorded identities and readable parchment. */
/* Report troop cards keep the complete square paintings used by the other families. */
@media(forced-colors:none){.territorial-art-ready .manuscript-report .report-portrait:is(.swordsman,.guardian,.skirmisher,.horseArcher,.lightCavalry,.ram,.trebuchet){height:auto;background-color:var(--paper);mask-image:none}}
.report-rewards{margin:16px 0 20px;border:3px double #9d783d;background:#fff7df52;box-shadow:inset 0 0 0 2px #fff9dd66,0 2px 5px #54361420;color:var(--antique-ink,#392b18)}
.manuscript-report .report-rewards>h3{display:flex;align-items:center;justify-content:center;gap:16px;margin:0;padding:10px 12px;border-bottom:2px ridge #b89956;background:linear-gradient(100deg,#102e27eb,#274c38eb,#102e27eb),url('./art-web/wood-dark-v3-331b77e862.webp') center/520px auto;color:#f2d48f;font:700 27px/1.1 var(--serif);text-shadow:0 1px 2px #0009}
.report-rewards>h3>.icon{width:22px;height:22px;color:#e0bd72}
.report-reward-group{padding:12px}
.report-reward-group+.report-reward-group{border-top:1px solid #a6895088}
.manuscript-report .report-reward-group>h4{display:flex;align-items:center;gap:7px;margin:0 0 10px;color:#31503c;font:700 12px/1.4 var(--sans)}
.report-reward-group>h4>.icon{width:17px;height:17px;flex:none}
.report-reward-group.is-returning>h4{color:#725021}
.report-reward-group.is-undeliverable>h4,.report-reward-group.is-unrecorded>h4{color:#6b3b2b}
.report-reward-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0}
.report-reward-card{display:flex;align-items:center;gap:8px;min-width:0;padding:10px 8px;border:1px solid #ad8c4c99;background:linear-gradient(135deg,#f9ecccbb,#d7b7713d);box-shadow:inset 0 0 0 2px #fff3ce55}
.report-reward-card>div{min-width:0}
.report-reward-card strong{display:block;color:#3f2d12;font:700 28px/1 var(--serif)}
.report-reward-card div>span{display:block;margin-top:5px;font:600 11px/1.3 var(--sans);overflow-wrap:anywhere}
.report-reward-art{display:grid;place-items:center;flex:none;width:54px;height:54px;color:#96702e;filter:drop-shadow(0 2px 1px #60431f33)}
.report-reward-art>.standard-item-art,.report-reward-art>.icon{width:54px;height:54px}
.report-reward-art>.icon{stroke-width:1.3}
.manuscript-report .report-reward-note{margin:0 0 10px;color:#51452e;font:400 12px/1.45 var(--sans)}
.manuscript-report .report-reward-total{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 0 0;padding:9px 6px 0;border-top:1px solid #a88a5080;color:#32513c;text-align:center;font:600 12px/1.4 var(--sans)}
.report-reward-total>.icon{flex:none;width:17px;height:17px}
@media(max-width:520px){.report-rewards{margin:12px 0 16px}.manuscript-report .report-rewards>h3{font-size:24px;padding:8px 10px}.report-reward-group{padding:10px}.report-reward-card{gap:6px;padding:10px 6px}.report-reward-art,.report-reward-art>.standard-item-art,.report-reward-art>.icon{width:44px;height:44px}.report-reward-card strong{font-size:26px}}
@media(forced-colors:active){.report-rewards,.report-reward-card{border-color:CanvasText}.manuscript-report .report-rewards>h3{background:Canvas;color:CanvasText;text-shadow:none}}
.action-sheet:is([data-view='report'],[data-view='shared-report']):has(.battle-report){--battle-green:#234d3d;--battle-red:#792d25;--battle-gold:#b18b47}
.action-sheet:has(.battle-report) .sheet-handle{display:none}
.action-sheet:has(.battle-report) .sheet-heading{position:relative;min-height:94px;padding:12px calc(66px + var(--sheet-close-inset) + var(--space)) 12px 88px;background:linear-gradient(100deg,#102e27e8,#193b2eed,#10291fe8),url('./art-web/wood-dark-v3-331b77e862.webp') center/520px auto;border:4px ridge #a57c3f;box-shadow:inset 0 0 0 2px #17291e,inset 0 0 0 3px #d2b47766,0 3px 5px #402b232b;text-align:center}
.action-sheet:has(.battle-report) .sheet-heading>div{width:100%;min-width:0;display:flex;flex-direction:column-reverse;gap:5px}
.action-sheet:has(.battle-report) .sheet-heading h2{color:#f2d48f;font:700 clamp(25px,4vw,40px)/1.02 var(--serif);text-shadow:0 2px 3px #000;margin:0}
.action-sheet:has(.battle-report) .sheet-heading .eyebrow{color:#e2c791;font:500 11px/1.3 var(--serif);letter-spacing:.12em;margin:0}
.action-sheet:has(.battle-report) .sheet-heading::before{content:'';position:absolute;left:-7px;top:-9px;width:93px;height:112px;background:url('./art-web/governor-regalia-v1-d5b7eac8bf.webp') left center/200% 100% no-repeat;pointer-events:none;filter:drop-shadow(0 3px 2px #0006)}
.action-sheet:has(.battle-report) #close-sheet{position:absolute;right:var(--sheet-close-inset);top:8px;z-index:3;width:66px;height:66px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent url('./art-web/governor-regalia-v1-d5b7eac8bf.webp') right center/200% 100% no-repeat;color:#e0be70;filter:drop-shadow(0 2px 1px #31180999)}
.action-sheet:has(.battle-report) #close-sheet>.icon{width:29px;height:29px;stroke-width:1.8;filter:drop-shadow(0 1px 1px #30180c)}
.action-sheet:has(.battle-report) #close-sheet:focus-visible{outline:2px solid #f3d48c;outline-offset:2px;border-radius:50%}
.action-sheet:has(.battle-report) .sheet-content{padding:12px 16px 20px}
.battle-report{--side-color:var(--battle-green);font-family:var(--serif);font-size:16px}
.battle-report .battle-enemy{--side-color:var(--battle-red)}
.battle-meta{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:10px;padding:0 0 8px;color:#58402a}
.battle-meta>span{display:flex;align-items:center;gap:6px;min-width:0;font:600 11px/1.3 var(--sans)}
.battle-meta>span:last-child{text-align:right;justify-content:flex-end}
.battle-meta .icon{width:19px;height:21px;flex:none}
.battle-meta small{display:block;font:400 10px/1.3 var(--sans);color:#69573d;margin-top:2px}
.battle-duel{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;padding:6px 3px 0}
.battle-duel::before{content:'';position:absolute;inset:0 -10px auto;height:275px;z-index:-1;background:url('./art-web/battle-panorama-v1-ccf3af94da.webp') center 40%/cover no-repeat;mask-image:linear-gradient(#000 65%,transparent)}
.battle-duel.is-hunt::before{background-image:url('./art-web/report-scenes-v1-91acf092be.webp');background-size:100% 300%;background-position:center 50%}
.battle-side{display:contents;color:var(--side-color)}
.battle-side>*{min-width:0;text-align:center;color:var(--side-color);grid-column:1}.battle-side.battle-enemy>*{grid-column:2}
.battle-side>header{grid-row:1}.battle-side>.battle-effigy{grid-row:2}.battle-side>.battle-side-origin{grid-row:4}.battle-side>.battle-damage{grid-row:5}
.battle-side>header{z-index:2;display:grid;place-items:center;padding:6px 8px;margin-bottom:5px;border:1px solid #a88b5b88;background:#f0dfbb;box-shadow:inset 0 0 0 2px #fff5;color:#392b18}
.battle-report .battle-side h3{margin:0;font:700 21px/1.15 var(--serif);color:#392b18;overflow-wrap:anywhere}
.battle-effigy{height:222px;position:relative;display:grid;place-items:center}
.battle-crest{--cloth:#0d392d;display:block;position:relative;width:114px;aspect-ratio:120/156;flex:none;filter:drop-shadow(1px 3px 2px #39271466)}
.battle-banner{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.battle-cloth{fill:var(--cloth)}
.battle-crest-symbol{position:absolute;inset:29% 25% 23%;display:grid;place-items:center;color:#e8c373}
.battle-crest-symbol>.icon{width:100%;height:100%;stroke-width:1.25;filter:drop-shadow(0 1px 1px #000b)}
.battle-crest.faction-ferro{--cloth:#652f2a}.battle-crest.faction-campinas{--cloth:#695324}.battle-crest.faction-pedra{--cloth:#384e63}.battle-crest.faction-aurora{--cloth:#54415e}
.battle-enemy .battle-crest.faction-neutral{--cloth:#66251f}
@media(forced-colors:none){.battle-crest.faction-cedro{background:url('./art-web/governor-regalia-v1-d5b7eac8bf.webp') left center/200% 100% no-repeat}.battle-crest.faction-cedro>.battle-banner,.battle-crest.faction-cedro>.battle-crest-symbol{visibility:hidden}}
.battle-effigy>.battle-crest{position:absolute;z-index:0;width:164px;top:0;left:50%;transform:translateX(-50%)}
.battle-effigy .battle-crest-symbol{inset:7% 30% 67%}
.battle-governor-picture,.battle-garrison-picture{position:absolute;z-index:1;bottom:0;height:172px;width:auto;aspect-ratio:var(--portrait-ratio);max-width:115%;background-color:transparent;background-image:var(--portrait-image);background-size:var(--portrait-size);background-position:var(--portrait-position);background-repeat:no-repeat;pointer-events:none}
.battle-stronghold{position:relative;margin-top:39px;display:grid;place-items:center;width:120px;height:126px;color:#f4d590;background:radial-gradient(ellipse,#15382df5 20%,#15382dbb 60%,transparent 73%)}
.battle-enemy .battle-stronghold{background:radial-gradient(ellipse,#4f211be0 20%,#4f211b80 60%,transparent 71%)}
.battle-stronghold>.icon{width:74px;height:78px;stroke-width:1.2}
.battle-report .battle-stronghold.is-castle{width:192px;height:163px;background:transparent url('./art-web/castles-hd-v1-f5b7fecc3f.webp') 0 0/300% 200% no-repeat;mask-image:linear-gradient(#000 80%,transparent)}
.battle-stronghold.is-castle>.icon{visibility:hidden}
.battle-verdict{position:relative;grid-column:1/-1;grid-row:2;align-self:end;justify-self:center;z-index:3;width:238px;max-width:65%;margin:0 0 1px;padding:15px 27px 14px;text-align:center;color:#dfb861;text-shadow:0 2px 3px #241805;pointer-events:none}
.battle-verdict::before{content:'';position:absolute;inset:20px 23px 15px;border-top:2px solid #c4a15b;border-bottom:2px solid #c4a15b;background:linear-gradient(90deg,#34291de6,#76531ef5 50%,#34291de6);box-shadow:0 4px 12px #422b1755;clip-path:polygon(3% 0,97% 0,100% 50%,97% 100%,3% 100%,0 50%)}
.battle-laurels{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 1px 1px #4e3717)}
.battle-verdict-content{position:relative;display:flex;align-items:center;justify-content:center;min-height:34px;color:#fff0c0}
.battle-verdict-content>.icon{position:absolute;left:50%;top:-23px;transform:translateX(-50%);width:27px;height:29px;fill:#b48125;stroke:#ffe7a4}
.battle-verdict strong{font:700 28px/1 var(--serif);text-transform:uppercase;display:block;overflow-wrap:anywhere}
.battle-verdict.is-defeat::before{background:linear-gradient(90deg,#411810eb,#853d2ef5 50%,#411810eb)}
.battle-report .battle-resolution{grid-column:1/-1;grid-row:3;margin:8px 0 4px;padding:8px 10px;border-block:1px solid #a88b5b88;background:#f0dfbb;color:#392b18;font:500 14px/1.4 var(--sans);text-align:center;overflow-wrap:anywhere}
.battle-side-origin{min-height:41px;padding:4px 3px 0;overflow-wrap:anywhere}
.battle-side-origin strong{display:block;font:700 20px/1.06 var(--serif)}
.battle-side-origin>span{display:block;font:600 12px/1.4 var(--serif)}
.battle-report .battle-damage{display:flex;align-items:center;justify-content:center;gap:4px;color:var(--side-color);font:500 13px/1.25 var(--serif);padding:5px 0 8px;margin:0}
.battle-damage>span{min-width:0}.battle-damage .icon{width:19px;height:21px;flex:none}.battle-damage b{display:block;font-size:18px;white-space:nowrap}
.battle-damage>.battle-role-art{width:34px;height:34px;object-fit:contain;flex:none;pointer-events:none}
.battle-comparison{width:100%;table-layout:fixed;border:3px double #ae8c5580;border-collapse:separate;border-spacing:0;background:linear-gradient(90deg,#d9e4d021,transparent 36%,transparent 64%,#b25c4910),#fffaf126;margin:0 0 12px}
.battle-comparison .battle-stat-column{width:40%}
.battle-comparison thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.battle-comparison tbody th{font:500 17px/1.15 var(--serif);color:#52371f;padding:5px 0}
.battle-comparison th>.icon{height:20px;width:20px;vertical-align:middle;margin-right:6px}
.battle-comparison td{font:700 23px/1.15 var(--serif);text-align:center;padding:7px 4px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.battle-comparison td:first-child{color:var(--battle-green)}.battle-comparison td:last-child{color:var(--battle-red)}
.battle-comparison tr+tr>*{border-top:1px solid #b2946344}
.hunt-power-panel{margin:12px 0;border:3px double #af8a5366;background:#fff9ed21;color:var(--antique-ink,#392b18)}
.hunt-power-panel>.metric-line,.hunt-power-detail-body{padding:8px 12px}
.hunt-power-scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;text-align:center}
.hunt-power-scores span{display:block;font:600 12px/1.4 var(--sans)}
.hunt-power-scores strong{display:block;margin-top:4px;font:700 28px/1.1 var(--serif);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.hunt-power-verdict{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0;padding:8px 12px;background:#31503c12;color:#31503c;font:600 13px/1.4 var(--sans);text-align:center}
.hunt-power-verdict.is-defeat{background:#b25c4910;color:#7e3c28}
.hunt-power-verdict>.icon{width:18px;height:18px;flex:none}
.hunt-power-verdict>span{font-variant-numeric:tabular-nums;white-space:nowrap}
.hunt-power-comparison thead{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
.hunt-power-comparison thead th{padding:8px 4px;font:600 12px/1.3 var(--sans);color:#67523a;background:#87603112}
.hunt-power-comparison{margin:0;border-width:0}
.hunt-power-comparison .hunt-power-total>*{border-top:2px solid #b2946380;background:#87603112}
.hunt-power-details{border-top:1px solid #b2946344;font:400 12px/1.5 var(--sans)}
.hunt-power-details>summary{padding:10px 12px;cursor:pointer;color:#31503c;font-weight:600}
.hunt-power-details>summary:focus-visible{outline:2px solid #96702e;outline-offset:-3px}
.hunt-power-detail-body>p{margin:0 0 10px;font:400 12px/1.5 var(--sans);overflow-wrap:anywhere}
.hunt-power-detail-body>.hunt-power-comparison{margin-bottom:12px}
.hunt-power-cohorts h4{margin:12px 0 8px;font:700 18px/1.2 var(--serif)}
.hunt-power-cohort{border-top:1px solid #b2946344;padding:8px 0}
.hunt-power-cohort h5{margin:0;font:600 12px/1.4 var(--sans);overflow-wrap:anywhere}
.hunt-power-cohort p{margin:4px 0;font:400 11px/1.4 var(--sans)}
.hunt-power-cohort dl{margin:0;font:400 11px/1.5 var(--sans)}
.hunt-power-cohort dl>div{display:flex;justify-content:space-between;gap:8px;padding:3px 0}
.hunt-power-cohort dt{flex:0 0 28%}.hunt-power-cohort dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.battle-section{border:3px double #af8a5366;margin:12px 0;background:#fff9ed21}
.battle-report .battle-section>h3{display:flex;align-items:center;justify-content:center;gap:8px;padding:5px 6px;margin:0;background:linear-gradient(90deg,#87603112,#87603133,#87603112);border-bottom:1px solid #9f7b4255;color:#54371f;font:700 22px/1.1 var(--serif);text-align:center}
.battle-section>h3>.icon{width:22px;height:24px;flex:none}
.battle-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px 5px}
.battle-columns>div{min-width:0;padding:0 8px}
.battle-columns>div+div{border-left:1px solid #ae8a5155}
.battle-columns h4{font:700 16px/1.15 var(--serif);color:var(--side-color);margin:0 0 9px;text-align:center}
.battle-columns>div:has(.battle-advantages)>h4{margin:0 -3px 9px;padding:4px 3px;color:#fff0cd;background:var(--side-color);text-shadow:0 1px 1px #0008}
.battle-advantages{display:flex;gap:8px;align-items:flex-start}
.battle-advantages>.battle-crest{width:60px;max-width:25%}
.battle-benefits{min-width:0;flex:1}.battle-more{margin-top:7px;border-top:1px solid #ae8a5155}.battle-more>summary{cursor:pointer;color:var(--side-color);font:700 12px/1.4 var(--serif);min-height:44px;box-sizing:border-box;padding:13px 0}.battle-more[open]>summary{margin-bottom:6px}
.battle-advantages ul{list-style:none;margin:0;padding:0;min-width:0;flex:1;display:grid;gap:8px}
.battle-advantages li{display:flex;gap:5px;align-items:flex-start;color:#4a3822}
.battle-benefit-symbol{width:24px;height:27px;display:grid;place-items:center;flex:none;background:var(--side-color);color:#f5dda1;border:1px solid #b79a60;box-shadow:inset 0 0 0 2px #fff1;border-radius:2px}
.battle-benefit-symbol .icon{width:19px;height:21px}
.battle-advantages li strong{display:block;font:700 14px/1.1 var(--serif);overflow-wrap:anywhere}
.battle-advantages li div>span{display:block;font:500 11px/1.3 var(--sans);margin-top:2px;overflow-wrap:anywhere}
.battle-report .battle-empty{font:500 12px/1.5 var(--serif);margin:4px 0;color:#655039}
.battle-equipment{--report-equipment-scale:.6;display:grid;grid-template-columns:repeat(var(--equipment-slots,4),minmax(0,1fr));gap:5px}
.battle-equipment-item{display:flex;flex-direction:column;min-width:0}
.battle-equipment-item>.battle-equipment-slot{display:block;width:calc(100% * var(--report-equipment-scale));align-self:center}
/* Scale the complete jewel row with its equipment, including frames, levels and spacing. Tooltips live outside this scaled group. */
.battle-equipment-jewels{display:block;margin:6px 0 5px;zoom:var(--report-equipment-scale)}
.battle-equipment-jewels .governor-jewel-indicators{gap:3px;margin:0}
.battle-equipment-jewels .jewel-socket{position:relative;width:21px;height:21px}
.battle-equipment-jewels .jewel-art{width:19px;height:19px}
.jewel-level-badge{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);display:grid;place-items:center;min-width:12px;height:12px;padding:0 2px;border:1px solid #b69853;background:#163725;color:#f3dcaa;font:700 10px/1 var(--sans);text-shadow:none}
@media(max-width:520px){.battle-columns:has(.battle-equipment-jewels) .battle-equipment{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 6px}.battle-equipment-jewels .jewel-socket{width:22px;height:22px}.battle-equipment-jewels .jewel-art{width:20px;height:20px}}
.battle-equipment-slot{aspect-ratio:1;position:relative;border:2px ridge #b99751;border-radius:3px;background:linear-gradient(135deg,#514021,#998057 50%,#41321c);box-shadow:inset 0 0 0 2px #edc46733,0 2px 2px #4a321a25}
.battle-enemy .battle-equipment-slot.is-equipped{background:linear-gradient(135deg,#37110e,#824a31 50%,#421913)}
.battle-equipment-slot.is-empty{border:1px solid #ad925f77;background:linear-gradient(135deg,#94734013,#ead6a033);box-shadow:inset 0 0 0 3px #fff2}
.battle-equipment-slot>b{position:absolute;bottom:1px;right:2px;font:700 10px/1 var(--sans);color:#ffe8ad;text-shadow:0 1px 2px #000}
.battle-report .battle-caption{font:400 10px/1.45 var(--sans);color:#67523a;margin:7px 0 0;text-align:center}
.battle-journey{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;padding:14px}
.battle-journey>div{display:flex;gap:8px;min-width:0;align-items:center}
.battle-journey .icon{width:25px;height:28px;flex:none;color:#735236}
.battle-journey strong{display:block;overflow-wrap:anywhere;font:600 15px/1.25 var(--serif)}
.battle-journey small{display:block;font:500 11px/1.4 var(--sans);color:#6b5236}
.support-route>div>span{min-width:0;overflow-wrap:anywhere}
.support-report .manuscript-summary>div{min-width:0;overflow-wrap:anywhere}
.battle-report .manuscript-summary{margin-top:12px}.battle-report .manuscript-divider{font-size:18px;margin:18px 0 10px}
.battle-report .manuscript-unit{padding:8px}.battle-report .manuscript-unit h4{font-size:18px}.battle-report .manuscript-back{margin-top:16px}
.battle-footer{text-align:center;margin:18px 0 4px;padding:16px 6px 8px;border-top:1px solid #a17b4266;font:600 11px/1.5 var(--serif);letter-spacing:.12em;color:#755831}.battle-footer>.icon{display:block;width:23px;height:23px;margin:0 auto 7px}
.battle-report>.manuscript-title{padding:0 3px 9px;margin:0 0 9px;border-bottom:1px solid #a88b5b66;text-align:left}
.battle-report>.manuscript-title h3{font:700 15px/1.2 var(--serif);margin:0 0 3px;color:#40301e}
.battle-report>.manuscript-title p{font:400 10px/1.35 var(--sans);margin:0;color:#68543a}
@media(min-width:700px){.action-sheet:is([data-view='report'],[data-view='shared-report']):has(.battle-report){width:min(740px,calc(100% - 32px));max-height:calc(100% - 16px);right:16px;bottom:8px}}
@media(max-width:520px){
 .action-sheet:has(.battle-report) .sheet-content{padding:9px 8px 16px}
 .action-sheet:has(.battle-report) .sheet-heading{min-height:72px;padding:10px calc(48px + var(--sheet-close-inset) + var(--space)) 10px 53px;border-width:3px}
 .action-sheet:has(.battle-report) .sheet-heading h2{font-size:25px}
 .action-sheet:has(.battle-report) .sheet-heading .eyebrow{font-size:8px;letter-spacing:.07em}
 .action-sheet:has(.battle-report) .sheet-heading::before{left:-8px;top:-6px;width:67px;height:84px}
 .action-sheet:has(.battle-report) #close-sheet{width:48px;height:48px;top:8px}
 .battle-meta{gap:5px;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);padding-bottom:7px}.battle-meta>span{font-size:9px;gap:4px}.battle-meta .icon{width:15px;height:17px}.battle-meta small{font-size:9px}
 .battle-duel{column-gap:18px;padding:4px 0 0}.battle-duel::before{height:220px;inset-inline:-6px}
 .battle-side>header{padding:5px 4px}.battle-report .battle-side h3{font-size:17px}
 .battle-report .battle-resolution{font-size:12px;padding:7px 8px}
 .battle-effigy{height:169px}.battle-effigy>.battle-crest{width:123px}
 .battle-governor-picture,.battle-garrison-picture{height:131px}
 .battle-stronghold{width:92px;height:97px;margin-top:28px}.battle-stronghold>.icon{width:58px;height:66px}.battle-report .battle-stronghold.is-castle{width:137px;height:119px}
 .battle-verdict{width:168px;max-width:58%;padding:12px 19px 11px;margin-bottom:0}.battle-verdict::before{inset:17px 16px 11px}.battle-verdict-content{min-height:25px}.battle-verdict-content>.icon{width:21px;height:24px;top:-19px}.battle-verdict strong{font-size:23px}
 .battle-side-origin{min-height:35px;padding:4px 1px 0}.battle-side-origin strong{font-size:16px}.battle-side-origin>span{font-size:10px}
 .battle-report .battle-damage{font-size:12px;gap:3px;padding:4px 0 7px}.battle-damage b{font-size:15px}.battle-damage .icon{width:15px;height:17px}
 .battle-damage>.battle-role-art{width:28px;height:28px}
 .battle-comparison td{font-size:18px;padding:6px 2px}.battle-comparison tbody th{font-size:13px}.battle-comparison th>.icon{width:15px;height:16px;margin-right:4px}
 .battle-section{margin:10px 0}.battle-report .battle-section>h3{font-size:18px;gap:5px;padding:5px 3px}.battle-section>h3>.icon{width:19px;height:20px}
 .battle-columns{padding:6px 2px}.battle-columns>div{padding:0 5px}.battle-columns h4{font-size:13px;margin-bottom:7px}
 .battle-advantages{gap:5px}.battle-advantages>.battle-crest{width:34px;max-width:24%}.battle-advantages ul{gap:7px}.battle-benefit-symbol{width:18px;height:21px}.battle-benefit-symbol .icon{width:14px;height:17px}.battle-advantages li{gap:4px}.battle-advantages li strong{font-size:12px}.battle-advantages li div>span{font-size:9px}
 .battle-equipment{gap:3px}.battle-equipment-slot{border-width:1px}.battle-equipment-slot>b{font-size:8px}.battle-report .battle-caption{font-size:9px}
 .battle-journey{padding:11px 7px;gap:12px 10px}.battle-journey>div{gap:5px}.battle-journey .icon{width:20px;height:23px}.battle-journey strong{font-size:14px}.battle-journey small{font-size:10px}
}
@media(forced-colors:active){.battle-side>header,.battle-report .battle-resolution{background:Canvas;border-color:CanvasText;color:CanvasText;box-shadow:none}.battle-duel::before,.action-sheet:has(.battle-report) .sheet-heading::before{display:none}.battle-crest{filter:none}.battle-cloth{fill:Canvas}.battle-crest-symbol,.battle-side,.battle-report .battle-side h3,.battle-comparison td,.battle-columns h4{color:CanvasText}.battle-verdict,.battle-stronghold,.battle-benefit-symbol{background:Canvas;color:CanvasText}.battle-equipment-slot{border:1px solid CanvasText}.battle-banner path{stroke:CanvasText}.action-sheet:has(.battle-report) #close-sheet{background:ButtonFace;border:1px solid ButtonText;filter:none}.action-sheet:has(.battle-report) #close-sheet>.icon,.battle-stronghold.is-castle>.icon{visibility:visible}}

.manuscript-report .combat-armies .combat-kills td{text-align:left;padding:0 6px 8px}
.manuscript-report .combat-kills .unit-kills{margin:0;padding-top:4px;border-top:0}

/* Report-only controls preserve the equipment paintings and jewel arrangement. */
.battle-equipment button.battle-equipment-slot{padding:0;cursor:help;color:inherit;min-width:24px;min-height:24px}
.battle-equipment-jewels .governor-jewel-indicators{gap:1px;justify-content:center;pointer-events:auto}
.battle-equipment-jewels .jewel-socket{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;color:inherit}
.battle-equipment-jewels button.jewel-socket{cursor:help}
.battle-equipment [data-report-equipment-tip]:focus-visible{outline:2px solid #806028;outline-offset:2px}
.battle-equipment [data-report-equipment-tip][aria-describedby]{box-shadow:0 0 0 1px #e5c884}
.report-equipment-tooltip{position:fixed;z-index:85;box-sizing:border-box;width:max-content;max-width:min(238px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:9px 11px;color:#372918;background:linear-gradient(120deg,#f0dfb9,#ddc598);border:1px solid #9d793f;border-radius:4px;box-shadow:0 3px 12px #10190f66;text-shadow:none;font:500 12px/1.35 var(--sans);overflow-wrap:anywhere}
.report-equipment-tooltip[hidden]{display:none}
.report-equipment-tooltip>strong{font:700 16px/1.2 var(--serif)}
.report-equipment-tooltip>small{margin-left:6px;color:#675039;font-size:11px;white-space:nowrap}
.report-equipment-tooltip>b{display:block;margin-top:5px;font-size:12px;color:#254a35}
.battle-report .military-report-contingents{table-layout:fixed;width:100%}.battle-report .military-report-contingents th,.battle-report .military-report-contingents td{padding:6px 3px;overflow-wrap:anywhere;font-size:11px}.battle-report .military-report-contingents th:first-child{width:32%;text-align:left}
.report-equipment-tooltip>p{margin:5px 0 0;font:400 10px/1.35 var(--sans);color:#675039}
