/* Painted character cards and a dedicated scenario panel on the existing Three.js board. */
[hidden]{display:none!important}
.lords-mode .chronicleBar,.lords-mode #onlineBar,.lords-mode #right>:not(#domPanel),.lords-mode #saveBtn,.lords-mode #loadBtn,.lords-mode #newBtn,.lords-mode #onlineBtn,.lords-mode #helpBtn,.lords-mode #testBtn,.lords-mode #compactVitals,.lords-mode #mapIndexBtn,.lords-mode #objectiveBanner,.lords-mode #worldTicker,.lords-mode #diceTray{display:none!important}
.lords-mode .gameLayout{grid-template-columns:minmax(380px,1fr) minmax(380px,440px);height:calc(100dvh - 190px)}
.lords-mode #right{background:linear-gradient(135deg,#182b23ef,#13221dec),url('assets/chronicle.webp') center/cover}
.lords-mode .mapLegend{bottom:30px}.lords-mode .mapHint{bottom:8px}.lords-mode .compass{bottom:82px}
.lordHud{display:flex;gap:20px;align-items:center;padding:12px 22px;border-block:1px solid #aa8854;background:linear-gradient(100deg,#2f201bec,#15251deb),url('assets/chronicle.webp') center/cover;flex-wrap:wrap}.lordHud>div{margin-right:auto}.lordHud b{display:block;font:22px Georgia,serif;color:#f6d99c}.lordHud small{font-size:12px;letter-spacing:.08em}.lordHud>span{font-size:13px;color:#ded9c5}.lordHud>button{margin-left:auto}
.lordPanelTop{display:flex;justify-content:space-between;gap:8px;padding:12px}.lordPanelTop button{font-size:13px}.lordObjective{padding:16px;background:linear-gradient(110deg,#55412ce8,#23392de8);border-block:1px solid #ac8c5c}.lordObjective small{display:block;letter-spacing:.07em;color:#f0c980;margin-bottom:7px}.lordObjective b{font-size:16px;line-height:1.55;color:#fff2d5}.lordTabs{margin:0;display:flex;gap:0;position:sticky;top:0;z-index:3;background:#17251f;border-bottom:1px solid #827048}.lordTabs button{flex:1;font-size:14px;padding:12px 5px}.lordTabs button[aria-pressed=true]{background:#81613b;color:#fff3d9}.lordBody{padding:20px}.lordBody h2{font-size:28px}.lordBody h3{margin:22px 0 12px}.lordBody p{font-size:15px;color:#e0decd}.lordActions{display:grid;gap:8px;margin:14px 0}.lordActions button{text-align:left;min-height:46px}.lordQuest,.lordCastle,.lordRival{margin:12px 0;padding:17px;border:1px solid #a68a54;border-radius:8px;background:linear-gradient(115deg,#253a2ef2,#192b23db),url('assets/chronicle.webp') center/cover}.lordQuest h3,.lordCastle h3{margin-top:0}.lordQuest button,.lordCastle button{margin:4px 3px 0 0;font-size:14px}.lordCastle{background:linear-gradient(100deg,#3c2d20e8,#1b2a23bb),url('assets/chronicle.webp') 85% 35%/cover;box-shadow:inset 0 0 0 3px #b78d4922}
.lordHero{position:relative;margin:0 auto 20px;border:2px solid #b89552;border-radius:14px;overflow:hidden;max-width:400px;background:#e2cf9e;color:#31271b;box-shadow:0 14px 35px #030a0870,inset 0 0 0 5px #77644444}.lordPortrait{aspect-ratio:1;background:url('assets/lords-portraits.webp') 0 0/200% 200% no-repeat}.lordHero>.lordPortrait{width:100%}.lordCardCaption{position:relative;background:linear-gradient(90deg,#381e1b,#583d26);padding:16px 18px;border-block:1px solid #c0a467}.lordCardCaption small{font-size:11px;letter-spacing:.07em;color:#e2c795}.lordCardCaption h2{color:#fff1ca;margin:7px 0 0;font-size:30px}.lordStats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#85663c;padding:1px}.lordStats span{padding:10px 4px;text-align:center;background:#e3ce9c;font-size:12px}.lordStats b{display:block;font:24px Georgia;color:#3b241b}.lordHero p{padding:0 16px;color:#473622!important;margin:13px 0}.lordHero .hint{font-size:12px}.lordHero.compact{max-width:280px}.lordHero.compact .lordPortrait{max-height:220px;aspect-ratio:1}.lordTraits{display:grid;gap:12px}.lordTraits article{border:1px solid #927947;border-radius:9px;padding:20px;background:linear-gradient(#223027df,#1a2821ed),url('assets/map-parchment.webp') center/cover}.lordTraits article.earned{border:2px solid #e0b960;background:linear-gradient(#61462ccc,#31442bef),url('assets/map-parchment.webp') center/cover}.lordTraits b{font:22px Georgia;color:#f0d292}.lordTraits p{margin:10px 0}.lordMarket{display:grid;gap:12px}.lordMarket article{padding:15px;border:1px solid #a28b5f;border-radius:8px;background:#1c3028}.lordMarket .itemArt{float:left;width:70px;height:70px;margin-right:14px}.lordMarket h3{margin:0}.lordMarket button{margin:5px 5px 0 0}.lordSetupGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.lordSetupGrid label{font-size:14px}.lordSetupGrid select,.lordSetupGrid input{margin-top:7px}.lordIntro{padding:28px 20px;background:linear-gradient(90deg,#1b281feb,#2e34209a),url('assets/chronicle.webp') center/cover;border:1px solid #ab8957;border-radius:8px;margin-bottom:16px}.lordIntro h2{font-size:36px;margin:10px 0}.lordPreview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}.lordPreview>div{border:1px solid #b49b67;border-radius:7px;overflow:hidden;background:#24352b}.lordPreview b{display:block;padding:8px;font:14px Georgia;text-align:center}.lordDuel{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lordDuel>div{border:1px solid #b08b51;border-radius:9px;overflow:hidden;background:#182b23}.lordDuel b,.lordDuel span{display:block;padding:6px 10px}.lordDuel span{font-size:13px}.lordEnemy{background:linear-gradient(#78271e99,#2d241af0),url('assets/chronicle.webp') center/cover!important}.lordEnemy strong{display:flex;align-items:center;justify-content:center;aspect-ratio:1;font-size:75px;color:#ecd5a3}.lordLog p{padding:12px;border-left:2px solid #8c7546;border-bottom:1px solid #5a61423d;margin:0 0 8px;background:#12251b9c;font-size:14px}.lordJudgment{padding:20px;border:1px solid #c59b68;background:linear-gradient(#3d251ddd,#203021e8),url('assets/chronicle.webp') center/cover;border-radius:10px}.lordVictory{padding:20px;text-align:center;border:2px solid #e4bd69;background:linear-gradient(#65502bbf,#203527e8),url('assets/chronicle.webp') center/cover;border-radius:12px;animation:lordVictoryGlow 3s ease-in-out infinite alternate}@keyframes lordVictoryGlow{to{box-shadow:0 0 25px #d9b86866}}.lordGuide{padding-left:22px}.lordGuide li{padding:10px 0;line-height:1.65}.lordRoll{border:1px solid #a68d58;padding:10px 14px;color:#f0d291;border-radius:7px;background:#352c1f}.lordBody button.danger{background:#702c25;border-color:#c4785b}#lordError{padding:0 20px;color:#ffd4b0;font-size:15px}#lordError:not(:empty){padding-block:12px;background:#572c23}#lordSetupError{color:#ffd2b7}
@media(max-width:1000px){.lords-mode .gameLayout{grid-template-columns:minmax(300px,1fr) 365px}.lordHud{gap:12px;padding:12px}.lordHud>div{width:100%}.lordHud b{font-size:19px}}
@media(max-width:680px){.lords-mode .gameLayout{display:flex;height:auto}.lords-mode #right{max-height:none}.lords-mode #boardWrap{min-height:480px}.lordHud{gap:14px}.lordHud>button{width:100%}.lordPreview{grid-template-columns:repeat(2,1fr)}.lordSetupGrid{grid-template-columns:1fr}.lordIntro h2{font-size:29px}.lordHero{max-width:340px}.lordPanelTop{position:relative}.lordTabs{top:0}.lordBody{padding:17px}#top nav{flex-wrap:wrap}#lordsBtn{flex:1 0 100%}}
@media(prefers-reduced-motion:reduce){.lordVictory{animation:none}}
