.war-room .dialogue{border:0;background:transparent;box-shadow:none;isolation:isolate;padding:18px 24px}.war-room .dialogue:before{content:"";display:block;position:absolute;inset:-12px -8px;z-index:-1;background:url('assets/papyrus-fast.webp') center/100% 100% no-repeat;pointer-events:none}.war-room .speech{background:none;border:0;padding:14px 24px}.war-room .speech>p{color:#342719;text-shadow:none}.war-room .speaker{background:none;border:0;padding:0 12px 12px}.war-room .speaker>span{color:#48331b;background:none;border:0;text-shadow:none}.war-room .speaker-portrait{border:2px solid #806340;box-shadow:0 3px 8px #432c1733;margin-top:0}.war-room .choices:not(.choice-locked) button{background:#73512514;border:1px solid #84643b;box-shadow:inset 0 1px #fff7;color:#342719}.war-room .choices:not(.choice-locked) button:hover{background:#73512530;border-color:#493018}.war-room .speech>.choice-heading{color:#574022}.war-room .choices button b{color:#342719}.war-room .dialogue-wide .speech{padding:14px 28px}

.war-room .speaker-portrait{height:140px}.war-room .speaker>span{font-size:24px;line-height:1.4;flex-shrink:0;padding:2px}.war-room .speaker{justify-content:center;gap:5px}
.status-card .metric-pips{display:flex!important;gap:5px}.status-card .metric-pips i{display:block;flex:0 0 10px;width:10px;height:10px}
/* Keep all text inside the clean writing area of the papyrus. */
.war-room.game{--dialogue-height:300px}.war-room .dialogue{padding:38px 54px 34px}.war-room .dialogue:before{inset:-12px -8px}.war-room .speech,.war-room .dialogue-wide .speech{padding:12px 26px;gap:14px}.war-room .speaker-portrait{height:140px}.war-room .speech>p{font-size:27px;line-height:1.65}.war-room .choices{display:flex;flex-direction:column;gap:4px;flex:1;min-height:0}.war-room .choices button,.war-room .choices:not(.choice-locked) button,.war-room .choices:not(.choice-locked) button:hover,.war-room .choices.choice-locked .choice-confirmed{position:relative;text-align:left;width:100%;height:auto;min-height:0;flex:1;padding:8px 65px 8px 12px;border:0;box-shadow:none;background:transparent;transform:none}.war-room .choices button b{font-size:25px;line-height:1.5}.war-room .choices:not(.choice-locked) button:hover{color:#241708;background:#78532a0c}.war-room .choices button:after{content:'☜';position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:36px;line-height:1;color:#503518;visibility:hidden;pointer-events:none}.war-room .choices:not(.choice-locked) button:hover:after,.war-room .choices:not(.choice-locked) button:focus-visible:after{visibility:visible}.war-room .choices .choice-confirmed:after{content:'✓';visibility:visible}.war-room .choices .choice-marker{display:none!important}.war-room .choices.choice-locked .choice-confirmed{animation:paper-choice-flash 1.2s steps(1,end) 3}.war-room .choices:not(.choice-locked) button:focus-visible{outline:1px dashed #765331;outline-offset:-2px}@keyframes paper-choice-flash{0%,100%{color:#342719}50%{color:#96764c}}.war-room .choices.choice-locked .choice-confirmed b{color:inherit}@media(max-width:1000px){.war-room.game{--dialogue-height:340px}.war-room .dialogue{padding:40px 32px 36px}.war-room .speech,.war-room .dialogue-wide .speech{padding:10px 20px}.war-room .choices button b{font-size:23px}}@media(max-width:640px){.war-room.game{--dialogue-height:420px}.war-room .dialogue{padding:48px 16px 38px}.war-room .speech,.war-room .dialogue-wide .speech{padding:8px 12px}.war-room .speech>p{font-size:21px}.war-room .choices button b{font-size:20px}.war-room .choices button{padding-right:45px}.war-room .choices button:after{right:8px;font-size:28px}}@media(prefers-reduced-motion:reduce){.war-room .choices.choice-locked .choice-confirmed{animation:none}}

body,button,.speech,.unit-info,.speaker>span{font-family:"Noto Serif KR",Batang,serif}.eyebrow,.latin,.year,.intro h1{font-family:Cinzel,"Noto Serif KR",serif}.war-room .speech>p{font-weight:500}.war-room .choices button b{font-weight:700}.war-room .choices button:after{font-family:"Segoe UI Symbol",serif}
h1,h2,h3,.scenehead h1,.army-banner h2{font-family:"Noto Serif KR",Batang,serif}

.war-room .speaker-portrait{border:0;background:none;box-shadow:none;overflow:hidden;filter:drop-shadow(3px 5px 3px #20150855)}.war-room .speaker,.war-room .speaker>span{background:none;border:0;box-shadow:none}body,button,h1,h2,h3,.speech,.unit-info,.speaker>span,.scenehead h1,.army-banner h2{font-family:"Noto Serif KR",Batang,serif}

/* Stronger lettering for presentation readability. */
.war-room .speech>p,.war-room .speech .speech-letters,.war-room .choices button b,.war-room .speaker>span,.war-room .unit-info b,.primary{font-weight:700}.war-room .speech>p,.war-room .speech>.choice-heading,.war-room .choices button b,.war-room .speaker>span{color:#24190f}.war-room .choices.choice-locked .choice-confirmed b{color:inherit}

@font-face{font-family:BookkMyungjo;src:url("assets/BookkMyungjo-Bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
body,button,h1,h2,h3,.speech,.unit-info,.speaker>span,.scenehead h1,.army-banner h2,.war-room .speech>p,.war-room .choices button b{font-family:BookkMyungjo,serif;font-weight:700}.eyebrow,.latin{font-family:Cinzel,BookkMyungjo,serif}
.war-room .army-banner{background:url("assets/alliance-banner.webp") center/100% 100% no-repeat;border:0;box-shadow:none;clip-path:none;padding:32px 18px 30px;min-height:150px}.war-room .enemy .army-banner{background-image:url("assets/opposition-banner.webp")}.war-room .army-banner:before,.war-room .army-banner:after{display:none}.year{font-family:BookkMyungjo,serif;font-weight:700}
.war-room .enemy .army-banner{background:url("assets/opposition-banner.webp") center/100% 100% no-repeat}
/* Extra vertical safe area for the irregular papyrus edges. */
.war-room.game{--dialogue-height:348px}.war-room .dialogue{padding-top:62px;padding-bottom:58px}@media(max-width:1000px){.war-room.game{--dialogue-height:388px}.war-room .dialogue{padding-top:64px;padding-bottom:60px}}@media(max-width:640px){.war-room.game{--dialogue-height:468px}.war-room .dialogue{padding-top:72px;padding-bottom:62px}}
/* Wider horizontal writing area inset. */
.war-room .dialogue{padding-left:90px;padding-right:90px}@media(max-width:1000px){.war-room .dialogue{padding-left:60px;padding-right:60px}}@media(max-width:640px){.war-room .dialogue{padding-left:30px;padding-right:30px}}
/* Keep hover and selection feedback adjacent to the choice text. */
.war-room .choices button:after{position:static;display:inline-block;transform:none;flex:0 0 36px;width:36px;margin-left:16px;vertical-align:middle}.war-room .choices button,.war-room .choices:not(.choice-locked) button,.war-room .choices:not(.choice-locked) button:hover,.war-room .choices.choice-locked .choice-confirmed{display:flex;align-items:center;justify-content:flex-start;padding-right:12px}.war-room .choices button b{flex:0 1 auto}.war-room .choices button:after{align-self:center}
/* Unselected choices stay on the paper during confirmation. */
.war-room .choices.choice-locked button:not(.choice-confirmed){background:transparent;border:0;box-shadow:none;opacity:1;transition:none}
.war-room .units,.war-room .enemy .units{background:none;border:0;box-shadow:none;padding:0;gap:8px}.war-room .unit,.war-room .enemy .unit{background:url("assets/unit-nameplate.webp") center/100% 100% no-repeat;border:0;box-shadow:none;padding:14px 18px;min-height:88px}.war-room .unit.unit-new{padding-top:25px}.war-room .unit .badge,.war-room .enemy .unit .badge{border:0;background:none;box-shadow:none}.war-room .unit-new-tag{right:18px;top:8px}
/* Face-only portraits contained within the nameplate. */
.war-room .unit .badge{width:40px;height:40px;min-width:40px;flex:0 0 40px;overflow:hidden;align-self:center}.war-room .unit .badge img.badge-from-fullbody{transform:scale(5);transform-origin:50% 0;position:relative;top:-3px}.war-room .unit .badge img:not(.badge-from-fullbody){width:100%;height:100%;object-fit:cover;object-position:center top}
/* Taller nameplates and headroom for portraits. */
.war-room .unit,.war-room .enemy .unit{min-height:104px;padding-top:18px;padding-bottom:18px}.war-room .unit .badge{width:44px;height:52px;min-width:44px;flex-basis:44px}.war-room .unit .badge img.badge-from-fullbody{top:3px;transform:scale(4.5)}
/* Compensate for transparent padding around the nameplate artwork. */
.war-room .units{gap:0}.war-room .unit:not(:last-child){margin-bottom:-24px}
/* Keep every portrait clear of the nameplate's upper and lower bronze edges. */
.war-room .unit .badge{width:44px;height:42px;min-width:44px;flex:0 0 44px;margin-block:8px;overflow:hidden;contain:paint;border-radius:2px}.war-room .unit .badge img{display:block}.war-room .unit .badge img.badge-from-fullbody{top:5px;transform:scale(4.2)}
/* Saturated result colors for stronger presentation contrast. */
.status-card .metric-grid b.metric-up,.status-card .metric-change.positive{color:#16a34a!important}.status-card .metric-grid b.metric-down,.status-card .metric-change.negative{color:#dc2626!important}
/* Mission results: symbol, label, pips, counting value and delta. */
.status-card .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;background:none;border:0;box-shadow:none}.status-card .metric-grid .metric-row{display:grid;grid-template-columns:42px 82px minmax(110px,1fr) 58px 68px;align-items:center;gap:10px;padding:14px 16px;text-align:left;border:1px solid #79674466;background:#0b110c99}.metric-symbol{font:700 30px/1 "Segoe UI Symbol",serif;color:#d8bd7c;text-align:center}.metric-name{font-size:20px;color:#d9d2bd}.metric-pips{display:flex;gap:5px}.metric-pips i{width:10px;height:10px;border:1px solid #8d805f;border-radius:50%;background:transparent}.metric-pips i.active{background:#d8bd7c;box-shadow:0 0 7px #d8bd7c55}.status-card .metric-grid b{margin:0;text-align:right;font-size:38px}.metric-change{font-size:18px;text-align:right;color:#aeb49f}.metric-change.positive{color:#8bcc8b}.metric-change.negative{color:#e37c73}.metric-change.steady{color:#aeb49f}@media(max-width:900px){.status-card .metric-grid{grid-template-columns:1fr}.status-card .metric-grid .metric-row{grid-template-columns:38px 74px minmax(80px,1fr) 52px 58px}}@media(max-width:520px){.status-card .metric-grid .metric-row{grid-template-columns:34px 66px 1fr 48px 52px;padding:11px 8px;gap:6px}.metric-pips{gap:3px}.metric-pips i{width:7px;height:7px}.metric-name{font-size:17px}.metric-change{font-size:15px}}
