/* A legible strategy-game shell: warm cards, dark lacquer and restrained gold. */
body{background:radial-gradient(ellipse at 0 0,#d9bd85 0,transparent 48%),linear-gradient(125deg,var(--paper),var(--light) 50%,#d8ccb4);color:#29291f}
.header{border-bottom:2px solid #b99c61;padding-bottom:18px}.brand-seal{background:linear-gradient(145deg,#a1432f,#64241e);box-shadow:0 3px 8px #57281830;border:1px solid #d9b36a;border-radius:5px}
.nav-btn{border-radius:7px;padding:11px 15px;font-weight:700}.nav-btn.active{color:#fbecd0!important;background:linear-gradient(145deg,var(--faction-accent,#4f535b),#32363e);box-shadow:inset 0 0 0 1px #bea374,0 4px 10px #2f333b26}
.hero,.birth-panel,.character-panel,.result-box,.ending,.archive-card{border:1px solid #b99d69;border-radius:14px;box-shadow:0 9px 24px #54452b13,inset 0 0 0 3px #ffffff38;overflow:hidden}
.hero{box-shadow:0 12px 30px #4731212b}.hero-copy{background:linear-gradient(90deg,#fbf3de99,transparent)}.birth-panel{background:linear-gradient(150deg,#fffaf0,#eee1c3);padding:24px}
.primary{border-radius:8px;background:linear-gradient(135deg,var(--faction-accent,#4f535b),#33373f);color:#fff7e4;box-shadow:inset 0 0 0 1px #bd9d61,0 4px 9px #3c404820;font-weight:700;min-height:44px}.secondary{border-radius:8px;background:linear-gradient(#fff9ee,#e9dcc0);border:1px solid #b59a67;min-height:42px}
.character-panel{background:linear-gradient(145deg,#fffbef,#eee3cb)}.character-portrait-wrap img,.character-panel .portrait-img{border:2px solid #b39965;border-radius:10px;box-shadow:0 5px 16px #3e2d1926}.char-name{font-weight:800}.stat-row{padding:6px 0}.stat-track{height:7px;border-radius:9px;overflow:hidden;background:#d6c8ae}.stat-fill{background:linear-gradient(90deg,var(--faction-accent,#4a6253),#b69d64);border-radius:9px}
.faction-theme-banner{border-radius:14px;background:linear-gradient(120deg,var(--faction-accent,#585c64),#2f333b)!important;color:#fff3d6;box-shadow:0 7px 18px #2f333b25;border-color:#b89b64!important}.faction-theme-banner p,.faction-theme-banner span{color:inherit}.faction-banner-kicker,.faction-banner-note,.faction-banner-next{opacity:.86}.faction-pennant{box-shadow:0 4px 12px #0003}
.faction-court-art{position:relative;margin:0 0 18px;border:1px solid #bda16c;border-radius:13px;overflow:hidden;background:#302b22}.faction-court-art img{display:block;width:100%;height:230px;object-fit:cover;object-position:center 35%}.faction-court-art figcaption{position:absolute;bottom:0;left:0;right:0;padding:28px 17px 12px;background:linear-gradient(transparent,#1d2129ed);color:#fff0cb;font-weight:700}.faction-court-art small{display:block;font:11px/1.6 var(--sans);color:#e3d4b5;margin-top:3px}
.choice-category-tabs{border-radius:11px;border:1px solid #b99d69!important;background:#efe3ca!important;box-shadow:0 5px 13px #51452e18}.choice-jump-button{border-radius:8px!important;min-height:44px}.choice-jump-button[aria-selected=true]{background:linear-gradient(135deg,var(--faction-accent,#585c64),#373b43)!important;color:#fff4dc!important;box-shadow:inset 0 0 0 1px #ccb17b,0 3px 8px #2e323a26}
.routine-choice-card{border:1px solid #bfa97f;border-radius:11px;overflow:hidden;box-shadow:0 4px 10px #564a3510;background:#fffbef}.routine-choice-card .choice{border-radius:0;background:linear-gradient(120deg,#fffcf3,#f1e7d2);padding:15px!important}.choice-num{width:31px;height:34px;border-radius:5px;background:linear-gradient(150deg,#f0e0ba,#d4b77c);color:#53401d;display:grid;place-items:center;border:1px solid #bca16b;font-weight:800}.choice-title{font-weight:800}.choice-arrow{background:#e2d2af;border-color:#bca16b}.choice-requirement{font-size:12px!important;line-height:1.6}.routine-choice-effects,.routine-success-rate{font-size:12px!important}.routine-success-rate{display:inline-block;color:#285c43;border:1px solid #89a78b;background:#e2edda;border-radius:5px;padding:3px 7px;margin:7px 5px 0 0;font-weight:800}.routine-choice-detail{background:#faf2e2}.routine-choice-detail>summary{min-height:38px;padding:10px 14px!important;font-size:12px}
.annual-actions{box-shadow:0 5px 15px #63513518;border:1px solid #b69a60!important;background:linear-gradient(125deg,#efe3c7,#faf3e2)!important;border-radius:11px}.annual-action-slot{border-radius:8px!important}.annual-action-slot.is-used{border-color:#8d9199!important;background:#e4e8f0!important}.annual-action-slot strong{font-size:14px}
.experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.experience-grid article{padding:17px;border:1px solid #bda575;background:linear-gradient(145deg,#fff8e8,#eee1c5);border-radius:11px}.experience-grid strong{display:block;font:800 34px var(--serif);margin:9px 0;color:var(--faction-accent,#565a62)}.experience-grid small{font:12px var(--sans)}.experience-grid progress{width:100%;height:9px;accent-color:var(--faction-accent,#565a62)}.experience-grid p{font-size:12px;line-height:1.7;margin-top:8px}.experience-mastery{display:inline-block;padding:8px 13px;margin:5px;background:#ede0c4;border-radius:6px;font-size:13px}
.historical-gallery figure{margin:20px 0;border:1px solid #b79b66;border-radius:12px;overflow:hidden;background:#32363e}.historical-gallery img{display:block;width:100%;height:auto}.historical-gallery figcaption{padding:14px 17px;color:#fff0d0;display:flex;justify-content:space-between;gap:10px}.historical-gallery figcaption span{font-size:12px}.save-indicator button{font:11px var(--sans);border:1px solid #bca478;padding:5px 7px;margin-left:4px;border-radius:5px;background:#faf1df}.save-indicator{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
@media(max-width:700px){.site-wrap{padding:0 14px 85px!important}.header{padding:16px 0!important;min-height:70px}.header nav{position:fixed!important;bottom:0;left:0;right:0;z-index:90;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 8px max(9px,env(safe-area-inset-bottom));gap:5px;background:linear-gradient(#383c44,#252931);border-top:1px solid #b9a16d;box-shadow:0 -5px 16px #24283020;width:auto!important}.header .nav-btn{font-size:12px;color:#e7dcc6;padding:11px 3px;border:1px solid #676b73;background:transparent;white-space:nowrap}.header .nav-btn.active{background:linear-gradient(#dbc28e,#b99a61)!important;color:#302d20!important;border-color:#ead5a6}.header .help-btn{margin-left:auto}.topline{gap:10px;align-items:flex-start;flex-wrap:wrap;padding:12px 0}.save-indicator{font-size:11px}.birth-panel{padding:18px}.faction-court-art img{height:160px}.faction-court-art figcaption{font-size:13px;padding:30px 12px 10px}.faction-court-art small{font-size:10px}.hero,.birth-panel,.character-panel,.result-box{border-radius:11px}.choice-category-tabs{top:6px!important}.choice-jump-buttons{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:thin;gap:6px;padding-bottom:5px}.choice-jump-button{flex:0 0 auto!important;font-size:12px!important;padding:9px 11px!important}.choice-jump-heading{padding-bottom:8px}.annual-action-slots{gap:6px}.annual-action-slot{padding:8px!important}.annual-action-slot strong{font-size:12px}.annual-actions>p{font-size:11px}.routine-choice-card .choice{padding:13px 11px!important;gap:10px}.choice-title{font-size:15px!important;line-height:1.6}.choice-description{font-size:12px!important;line-height:1.7}.choice-arrow{flex-shrink:0}.experience-grid{gap:9px}.experience-grid article{padding:12px}.experience-grid article>span{font-size:13px}.experience-grid strong{font-size:28px}.experience-grid p{font-size:11px}.historical-gallery figcaption{display:block}.historical-gallery figcaption span{display:block;margin-top:4px}.modal-copy p,dialog p{line-height:1.8}dialog{max-height:calc(100dvh - 35px);border-radius:13px}.character-panel{box-shadow:0 6px 20px #4b3c2414}}

@media(max-width:700px){#toast{bottom:85px!important}}

.game-layout>*{min-width:0}.choice-category-tabs,.choice-jump-buttons,.year-scene,.year-scene>.fade-in{min-width:0;max-width:100%}
@media(max-width:700px){.game-layout{grid-template-columns:minmax(0,1fr)}.header nav{height:auto!important}.choice-jump-buttons{width:100%}}
/* Imperial strategy presentation: original lacquer, bronze and silk treatments. */
body{background:#1c2028;background-image:radial-gradient(ellipse at 12% 0,#63533455,transparent 52%),radial-gradient(ellipse at 100% 32%,#4e525a45,transparent 65%),linear-gradient(135deg,#1f232b,#141820);background-attachment:fixed}
.site-wrap{background:linear-gradient(90deg,#ecdfc4f5,#f7efdf 48%,#e4d4b4f5);box-shadow:0 0 70px #0008;max-width:1440px;border-inline:1px solid #9d814d80}
.header{position:relative;margin-inline:-32px;padding-inline:28px;border:1px solid #ad8c4a;border-top:0;border-radius:0 0 15px 15px;background:linear-gradient(115deg,#22262e,var(--faction-banner,#442d24) 65%,#21252d);box-shadow:0 6px 18px #1f232b35,inset 0 -4px 0 #b99b5b28;color:#f6dfac}
.header .brand strong{color:#f9e4b6;text-shadow:0 2px 2px #0008;letter-spacing:5px}.header .brand small,.header .help-btn{color:#d7cba9}.header .circle-q{border-color:#c5ac79;color:#e4d4ab}.header nav{align-items:center;height:auto;gap:8px}.header .nav-btn{color:#e7d8b5;border:1px solid #d7bd7d44;background:#ffffff05;padding:12px 14px;min-height:46px}.header .nav-btn.active{background:linear-gradient(#e4c88c,#b39353)!important;color:#312a1b!important;border-color:#f5dca2;box-shadow:0 3px 11px #0004,inset 0 0 0 2px #fff3}.header .nav-btn.active:after{display:none}
.brand-seal{outline:1px solid #c7a767;box-shadow:0 0 0 4px #33231e,0 4px 11px #0006}
.hero-stack>.hero{border:1px solid #c2a263;box-shadow:0 8px 23px #30241540,inset 0 0 0 4px #d5b36e;isolation:isolate}.hero .hero-art{mix-blend-mode:normal;filter:saturate(1.18) contrast(1.04)}.hero:after{background:linear-gradient(90deg,#1c2028e8,#21252d8a 55%,#20242c0d),linear-gradient(0deg,#101d26aa,transparent 65%)}.hero-copy{background:none!important;padding-top:55px}.hero h1{color:#fff0cd!important;text-shadow:0 3px 12px #0e151ec9}.hero h1 em{color:#efc976!important}.hero .eyebrow{color:#dfc286}.hero-copy>p,.hero .hero-quote{color:#e5dcc5!important;text-shadow:0 2px 5px #000b}.hero-stamp{border-color:#d8b264;color:#e8c984;background:#2a241e88}
.birth-panel,.home-scenes,.path-card,.archive-card{border:1px solid #b39256;border-radius:12px;box-shadow:0 7px 20px #30231020,inset 0 0 0 3px #ffffff40;background:linear-gradient(135deg,#fff8e9,#e9d8b6)}.home-scenes{padding:20px}.path-card{min-height:132px}.path-card .path-character{color:#a784403b}.feature-symbol{color:#91703d;text-shadow:0 1px 0 #fff}.feature h3{font-weight:800}
.primary{background:linear-gradient(135deg,var(--faction-accent,#703c30),var(--faction-banner,#3d2f24));border:1px solid #c5a465;box-shadow:inset 0 0 0 2px #e9cd8024,0 4px 8px #33281935;text-shadow:0 1px 2px #0005}.secondary{box-shadow:inset 0 0 0 2px #fff4,0 2px 4px #31291813}.birth-panel>.primary{font-size:15px;font-weight:800;min-height:56px}
.faction-theme-banner{border-radius:12px 12px 0 0;margin-bottom:0!important;border-bottom:0!important;background:linear-gradient(115deg,#22262e,var(--faction-banner),#21252d)!important;box-shadow:inset 0 0 0 4px #d3b46720!important}.faction-banner-title>strong,.faction-banner-office>strong,.faction-theme-banner .faction-ornament-level{color:#f3dba6!important;text-shadow:0 2px 4px #0006}.faction-banner-office{border-color:#d1b47e55}.faction-banner-note{color:#d3c7ad!important}.faction-court-art{margin-top:0;border-radius:0 0 12px 12px;box-shadow:0 8px 18px #201c2333;border-top:1px solid #caab6c88}.faction-court-art img{height:280px;object-position:center 37%;filter:saturate(1.1)}.faction-court-art figcaption{padding:50px 20px 15px;letter-spacing:1px;background:linear-gradient(transparent,#171b23f5)}
.character-panel{border:1px solid #9f824e;box-shadow:0 7px 20px #45332024,inset 0 0 0 3px #fff6!important}.character-identity{padding-bottom:16px;border-bottom:3px double #baa171}.char-label{letter-spacing:2px;color:#86652c}.char-name{color:var(--faction-accent);text-shadow:0 1px 0 #fff}.character-portrait img{border:3px double #af8a47;border-radius:10px;box-shadow:0 6px 18px #28251d35}.character-brief-heading strong{color:var(--faction-accent)}.stat-row strong{font-weight:800}.stat-fill{box-shadow:inset 0 1px 1px #ffffff75}.stat-track{border:1px solid #c4b083}.chapter-head{border-bottom:3px double #b39761;padding-bottom:12px}.chapter-head .age-number{color:var(--faction-accent);text-shadow:0 1px 0 #fff}.world-strip{border:1px solid #b59961;border-radius:10px;box-shadow:0 5px 14px #493b2520;overflow:hidden}.world-strip>div{background:linear-gradient(145deg,#fff7e7,#eee0c5)}
.tab-year-context{border:1px solid #b99d64;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px #4536191f}.tab-year-context>summary{background:linear-gradient(100deg,var(--faction-banner),#32363e);color:#f9e5b7!important;padding:15px!important}.tab-year-context>summary strong,.tab-year-context>summary span{color:inherit!important}.tab-year-context .event-art{margin:14px;border:1px solid #bca06d;border-radius:8px;overflow:hidden}.event-title{font-weight:800}.result-box{border-top:4px double #a7813f!important;background:linear-gradient(140deg,#fff8e8,#e9d6ae)!important}.result-box h3{color:var(--faction-accent)}
.choice-category-tabs{border-top:3px solid #aa8746!important;box-shadow:0 5px 14px #382a1b2a}.choices .routine-choice-card{border:1px solid #b79a63;border-bottom:3px solid #a18249;box-shadow:0 4px 9px #3f321e1c}.choices .choice[data-choice] .choice-num{background:linear-gradient(140deg,#30343c,var(--faction-banner));border-color:#bda064;color:#f6dfa8;box-shadow:inset 0 0 0 2px #e5ca8517}.choices .choice[data-choice]:not(:disabled) .choice-arrow{background:linear-gradient(#eed5a0,#b89b63);color:#3c3322;border:1px solid #a38448;box-shadow:inset 0 1px 0 #fff9}.routine-success-rate{background:linear-gradient(#edf3df,#dbe8c7);color:#315731;border-color:#93ad78;box-shadow:inset 0 1px 0 #fffc}.choices .choice-title{font-family:var(--sans)}.action-slot-badge{border:1px solid #b49b6c!important;background:#e6d7b8!important;color:#60502b!important}
.experience-grid article{border-top:3px solid var(--faction-accent);box-shadow:0 5px 12px #45311a20}.historical-gallery figure{box-shadow:0 7px 17px #332b2338}.conquest-card,.atlas-card,.map-canvas,.region-detail{border:1px solid #af9158;border-radius:12px;box-shadow:0 7px 19px #30281924;overflow:hidden}.conquest-heading{background:linear-gradient(110deg,#2a2e36,var(--faction-banner));color:#f5dfae;border-bottom:2px solid #b49758}.conquest-heading h2,.conquest-count,.conquest-count small,.conquest-heading>div>span{color:#efd7a2!important}.conquest-stage{background:radial-gradient(ellipse,#b6bac2,#848890)}.conquest-flag{stroke:#fce3a0;stroke-width:1.5;filter:drop-shadow(0 2px 2px #22262e55)}.conquest-node.selected .conquest-node-halo{stroke:#aa7431;fill:#ffe8a8;fill-opacity:.7}.conquest-sidebar{background:linear-gradient(130deg,#fff5df,#e3d1ad)}.ending{border:2px solid #b59556;background:linear-gradient(135deg,#fff4d9,#e6cf9c);box-shadow:inset 0 0 0 5px #fff5,0 9px 22px #3a2b2030}.ending h2{color:#725126}.archive-card{border-top:4px double #ae8740}.footer{border-top:3px double #bca16d}
@media(min-width:1441px){.site-wrap{margin-block:18px;border-radius:16px}.header{border-top:1px solid #ad8c4a;border-radius:12px}}
@media(max-width:800px){.header{margin-inline:-8px;padding-inline:14px!important}.hero-copy{padding-top:32px}.home-scenes{padding:15px}.faction-court-art img{height:200px}}
@media(max-width:700px){.site-wrap{border-inline:0}.header{height:76px!important;min-height:76px;flex-wrap:nowrap;gap:12px}.header .brand{gap:9px}.header .brand strong{font-size:24px;letter-spacing:3px}.header .brand small{font-size:10px;letter-spacing:1px}.header .help-btn{display:flex!important;font-size:10px}.header nav{padding:8px 8px max(9px,env(safe-area-inset-bottom))!important;background:linear-gradient(#2e323a,#1d2129)!important}.header .nav-btn{min-height:45px;font-size:11px;padding:10px 3px!important}.faction-court-art img{height:175px}.faction-court-art figcaption{padding:40px 12px 10px;font-size:12px}.faction-court-art small{font-size:10px;letter-spacing:0}.faction-theme-banner{padding:15px!important;column-gap:13px}.faction-banner-title>strong{font-size:21px}.faction-banner-note{display:none}.character-panel{border-top:3px solid #ab8a4c!important}.home-scenes{border-radius:10px}.hero h1{font-size:38px}.tab-year-context>summary{padding:13px!important}.conquest-heading{padding:17px}.conquest-heading h2{font-size:18px}.path-card{min-height:125px}}
body{background-color:#1c2028!important;background-image:radial-gradient(ellipse at 12% 0,#63533455,transparent 52%),radial-gradient(ellipse at 100% 32%,color-mix(in srgb,var(--faction-accent) 30%,transparent),transparent 65%),linear-gradient(135deg,#1f232b,#141820)!important}
.choice-category-tabs .choice-jump-buttons{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px}.choice-category-tabs .choice-jump-button{flex:0 0 auto;padding-inline:12px}
.ability-radar{margin:16px 0;padding:12px 5px 8px;grid-column:1/-1;background:radial-gradient(ellipse at 50% 40%,#f9eed4,#e5d2ac);border:1px solid #b29760;border-radius:10px;box-shadow:inset 0 0 0 3px #fff3}.ability-radar figcaption{text-align:center}.ability-radar figcaption>span{display:block;font:10px var(--serif);letter-spacing:3px;color:#876c3b}.ability-radar figcaption>strong{font:700 15px var(--serif);color:#3e422d}.ability-radar svg{display:block;width:100%;max-width:280px;margin:0 auto;overflow:visible}.radar-grid{fill:none;stroke:#b9a77e;stroke-width:.7}.radar-outer{fill:#fff8e825;stroke:#9f844f;stroke-width:1.2}.radar-axis{stroke:#b9a77e;stroke-width:.8}.radar-value{fill:var(--faction-accent,#806132);fill-opacity:.28;stroke:var(--faction-accent,#806132);stroke-width:2;stroke-linejoin:round}.radar-dot{fill:#f9df9d;stroke:var(--faction-accent,#806132);stroke-width:1.7}.radar-label{font:600 12px var(--sans);fill:#5a5038}.radar-number{font-weight:800;font-size:15px;fill:var(--faction-accent,#806132)}.ability-radar p{text-align:center;font-size:10px;color:#716548!important;letter-spacing:0;margin:0!important}.character-details .ability-radar{width:100%;min-width:0}

/* Keep the mobile title card clear of the screen edge and its seal inside. */
@media(max-width:700px){.site-wrap{padding-top:calc(12px + env(safe-area-inset-top,0px))!important}.header{height:auto!important;min-height:88px;border-top:1px solid #ad8c4a;border-radius:12px;padding-block:18px!important}}

@media(min-width:701px){.site-wrap{padding-top:20px!important}.header{border-top:1px solid #ad8c4a;border-radius:12px}}

/* A separate gilt control below the portrait, including its top edge. */
.character-portrait .text-button[data-action="portrait-state"]{position:relative;isolation:isolate;margin-top:10px;min-height:44px;padding:12px 7px;border:1px solid #c7a257;border-top:1px solid #f1d997;border-radius:9px;background:radial-gradient(ellipse at 50% 0,#c5994540,transparent 70%),linear-gradient(135deg,var(--faction-banner,#413829),#2d3139);color:#ffe8b4;font:700 12px/1.5 var(--sans);letter-spacing:.2px;text-align:center;white-space:nowrap;text-shadow:0 1px 2px #0009;box-shadow:inset 0 1px 0 #fff2,inset 0 -3px 0 #0003,0 4px 9px #33271430;cursor:pointer}
.character-portrait .text-button[data-action="portrait-state"]::after{content:'';position:absolute;inset:3px;border:1px solid #d4b47166;border-radius:6px;pointer-events:none}
.character-portrait .text-button[data-action="portrait-state"]:focus-visible{outline:3px solid #a27127;outline-offset:3px}
.character-portrait .text-button[data-action="portrait-state"]:active{transform:translateY(1px);box-shadow:inset 0 2px 6px #0005}
.character-portrait .text-button[data-action="portrait-state"]{text-decoration:none}

/* Keep the page centered identically across short and long top-level tabs. */
html{overflow-y:scroll;scrollbar-gutter:stable}
/* Rank decoration must not change the title card's box dimensions. */
:root[data-theme-view][data-faction][data-faction-rank] .header{border-bottom-width:1px}

/* Center title-card contents with equal padding at every breakpoint. */
.header{align-items:center;padding-block:18px!important}
.header .brand,.header .help-btn{margin-block:0}
@media(min-width:701px) and (max-width:800px){.header{row-gap:14px}}

/* Show every action category without a sideways swipe on phones. */
@media(max-width:700px){
 .choice-category-tabs{position:static}
 .choice-category-tabs .choice-jump-buttons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible!important;padding-bottom:0;gap:6px}
 .choice-category-tabs .choice-jump-button{min-width:0;min-height:44px;padding:9px 5px!important;justify-content:center;gap:4px;font-size:12px!important}
 .choice-category-tabs .choice-jump-name{white-space:normal;word-break:keep-all}
 .choice-category-tabs .choice-jump-count{flex-shrink:0}
 .choice-category-tabs .choice-jump-heading{flex-wrap:wrap;gap:5px}
}
@media(max-width:360px){.choice-category-tabs .choice-jump-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* A growing illustrated life album, aligned with the adjacent setup card. */
.home-scenes{gap:20px}
.home-scenes-heading{margin-bottom:0}
.home-lords-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:13px}
.home-lords-heading>span{font:600 13px var(--serif);color:var(--red)}
.home-lords-heading p{font-size:11px;color:var(--muted)}
.home-lord-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.home-lord-grid figure{margin:0;min-width:0;text-align:center}
.home-lord-grid .historical-face{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:7px}
.home-lord-grid figcaption{font:600 13px/1.7 var(--serif);margin-top:6px;color:#604c2d}
@media(min-width:801px){
 .hero-grid{align-items:stretch}
 .hero-stack{align-self:stretch}
 .hero-stack>.home-scenes{flex:1;min-height:0}
 .home-scene-cards{flex:1;grid-template-rows:repeat(2,minmax(180px,1fr))}
 .home-scene-card{display:flex;flex-direction:column;overflow:hidden;border-radius:7px}
 .home-scene-card>img{height:0;min-height:110px;flex:1;object-fit:cover}
 .home-scene-caption{flex:none}
}
@media(max-width:800px){.home-scenes{gap:18px}.home-lords-heading{flex-wrap:wrap}.home-lord-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-lord-grid .historical-face{max-width:100px;margin-inline:auto}}
