:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#1b1711;--muted:#5f5546;--line:#3c3a35;--line-soft:#a47b4d;--paper:#f6efdf;--paper-deep:#eadcc1;--panel:#fffbf1db;--field:#faf4e6eb;--maroon:#8b1530;--maroon-dark:#4d101d;--brown:#5b351f;--brown-dark:#2f1b11;--gold:#9b6e27;--green:#2f6a42;--blue:#315b86;--shadow:#31201033}*{box-sizing:border-box}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 18% 10%,#fffcebeb,#0000 32rem),linear-gradient(90deg,#e7dbc2 0,#f8f0df 8%,#f6efdf 92%,#e4d5b9 100%);margin:0;font:18px/1.35 Georgia,Times New Roman,serif}button,input,select{font:inherit}button{border:2px solid var(--maroon-dark);background:linear-gradient(#a31b3a, var(--maroon));box-shadow:inset 0 1px #ffffff38, 0 1px 0 var(--shadow);color:#fff9ec;cursor:pointer;text-shadow:0 1px #00000040;border-radius:6px;padding:.62rem 1rem}button:hover:not(:disabled){filter:brightness(1.04)}button.secondary{color:var(--maroon-dark);text-shadow:none;background:linear-gradient(#fffaf0,#eadcc1)}button.danger{border-color:var(--maroon-dark);color:#fff9ec;background:linear-gradient(#9d1a36,#77142a)}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input,select{width:100%;color:var(--ink);background:#fffaf0;border:2px solid #877866;border-radius:6px;padding:.6rem}label{color:var(--muted);gap:.35rem;font-size:.95rem;font-weight:700;display:grid}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4,strong{letter-spacing:0}.hidden{display:none!important}.auth-shell{isolation:isolate;background:#202b22;place-items:center;min-height:100vh;padding:1rem;display:grid;position:relative;overflow:hidden}.auth-background{z-index:-1;filter:blur(3px);pointer-events:none;position:absolute;inset:-10px}.auth-background img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.auth-shell:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(110deg,#0c14131f,#0c141347),radial-gradient(#0000 35%,#080f0d59);position:absolute;inset:0}.auth-shell .auth-panel{box-shadow:0 16px 60px #00000061,inset 0 0 0 3px #fffbf1b8}@media (max-width:600px){.auth-background img{object-position:82% center}}.auth-panel,.panel,.card,.combat-entry{border:2px solid var(--line);background:var(--panel);outline-offset:-5px;box-shadow:0 2px 8px var(--shadow), inset 0 0 0 3px #fffbf1b8;border-radius:8px;outline:1px solid #1b17118c}.auth-panel{width:min(440px,100%);padding:1.35rem}.auth-panel h1{margin:0;font-size:clamp(2.1rem,5vw,3rem);line-height:1}.auth-panel p{color:var(--muted);margin:.3rem 0 1rem}#auth-form{gap:.85rem;display:grid}.auth-actions,.row,.captcha-row{flex-wrap:wrap;gap:.6rem;display:flex}.captcha-row{align-items:center}.captcha-row img{background:#fff;border:2px solid #877866;border-radius:6px}.income{color:var(--green);font-size:.9rem;font-weight:700}.stat{background:#fffaefa3;border:2px solid #4a4a46;border-radius:7px;min-height:72px;padding:.7rem;box-shadow:inset 0 0 0 1px #ffffffa6}.stat strong{font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.05;display:block}.stat span{color:var(--ink);font-size:1rem}.meter{background:#f4ead6;border:1px solid #5e564b;border-radius:999px;height:.72rem;overflow:hidden}.meter div{border-radius:inherit;background:linear-gradient(90deg, #245234, var(--green));height:100%}.panel{min-height:340px;box-shadow:none;background:#fffbf294;border-top:0;border-radius:0;outline:0;padding:2rem 1.2rem}.panel>h2{margin:0 0 1rem;font-size:clamp(2.1rem,4vw,3rem);line-height:1}.cards{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:stretch;gap:.85rem;display:grid}.card{flex-direction:column;min-height:100%;padding:1rem;display:flex}.card h3{margin:0 0 .45rem;font-size:1.6rem;line-height:1.05}.card p{color:var(--ink);margin:0 0 .75rem}.card>.row,.card>button{margin-top:auto}.card>.row{padding-top:.75rem}.raid-replay{width:min(1024px,100%);margin-top:.75rem}.raid-replay canvas{aspect-ratio:1;border:2px solid var(--line);background:var(--paper-deep);width:100%;max-width:1024px;image-rendering:pixelated;border-radius:6px;display:block}.raid-replay-controls{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.raid-replay-controls span{color:var(--muted);flex:0 0 28ch;font-weight:700;display:inline-block}.raid-replay-button{margin-left:.35rem;padding:.24rem .55rem}.map-tooltip{z-index:2;border:1px solid var(--maroon-dark);max-width:220px;color:var(--ink);pointer-events:none;box-shadow:0 2px 8px var(--shadow);background:#fffaeff0;border-radius:6px;padding:.3rem .45rem;font-size:.9rem;font-weight:700;position:absolute}.panel-section{margin-top:1.5rem}.panel-section>h3,.equipment-section>h3{margin:0 0 .75rem;font-size:1.65rem;line-height:1.05}.arena-action-section{margin-top:0;margin-bottom:1.75rem}.equipment-section{background:#f6efdf80;border:1px solid #3c3a358c;border-radius:8px;margin-top:1.35rem;padding:1rem;box-shadow:inset 0 0 0 1px #fffbf1b3}.equipment-section+.equipment-section{margin-top:1.6rem}.split{grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:1rem;display:grid}.list{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.list li{border-bottom:1px solid #5e442b52;padding:.35rem 0}.combat-list{gap:.75rem;display:grid}.combat-entry{background:#f9efdac7;border-color:#7d746a;padding:.75rem .85rem}.combat-entry h4{margin:0 0 .45rem;font-size:1.1rem;line-height:1.2}.combat-entry h4 span{color:var(--gold)}.combat-entry p{margin:0 0 .45rem}.turn-log{color:var(--ink);gap:.35rem;margin:.5rem 0 0;padding-left:1.2rem;font-size:.95rem;display:grid}.turn-log li{border-bottom:0;padding:0}.leaderboard{border-collapse:collapse;background:#fffaefc7;width:100%}.leaderboard th,.leaderboard td{text-align:left;border-bottom:1px solid #5e442b52;padding:.65rem}.leaderboard th{color:var(--muted);font-size:.9rem;font-weight:700}.leaderboard tr.current{background:var(--paper-deep);font-weight:700}.error{min-height:1.4em;color:var(--maroon-dark);font-weight:700}@media (max-width:980px){.split{grid-template-columns:1fr}}@media (max-width:720px){body{font-size:16px}.panel{padding:1.25rem .8rem}.leaderboard,.leaderboard thead,.leaderboard tbody,.leaderboard tr,.leaderboard td{width:100%;display:block}.leaderboard{border-collapse:separate;border-spacing:0;background:0 0}.leaderboard thead{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.leaderboard tbody{gap:.75rem;display:grid}.leaderboard tr{background:#fffaefc7;border:1px solid #3c3a358c;border-radius:8px;overflow:hidden}.leaderboard tr.current{background:var(--paper-deep)}.leaderboard td{overflow-wrap:anywhere;border-bottom:1px solid #5e442b3d;grid-template-columns:5.8rem minmax(0,1fr);align-items:baseline;gap:.75rem;padding:.55rem .65rem;display:grid}.leaderboard td:last-child{border-bottom:0}.leaderboard td:before{content:attr(data-label);color:var(--muted);font-size:.875rem;font-weight:700}}#castle-workspace-root{font-family:Georgia,Times New Roman,serif}.castle-section-label{letter-spacing:.15em;text-transform:uppercase;color:#776247;font:700 .875rem/1.4 system-ui,sans-serif;display:block}.castle-workspace{background:#f4ecd9;border:1px solid #9f8c6c;border-radius:5px;grid-template-columns:218px minmax(0,1fr);display:grid;overflow:hidden}.castle-build-panel{background:#e9dec6;border-right:1px solid #c0ac87;padding:1rem}.castle-materials{border:1px solid #b29b74;border-radius:3px;margin:.65rem 0 .9rem;display:flex;overflow:hidden}.castle-materials button{color:#74624b;text-shadow:none;box-shadow:none;background:#f7efdd;border:0;border-radius:0;flex:1;padding:.65rem .3rem;font:700 .875rem system-ui,sans-serif}.castle-materials button.active{color:#f7efdd;background:#5d4b36}.castle-build-list{gap:.5rem;display:grid}.castle-build-card{text-align:left;color:#4e412e;text-shadow:none;box-shadow:none;background:#f4ecd9;border:1px solid #bda985;border-radius:4px;align-items:center;gap:.7rem;padding:.8rem .65rem;display:flex}.castle-build-card .pixel-art{color:#827352;flex-shrink:0;width:36px;height:36px}.castle-build-card>span{gap:.2rem;display:grid}.castle-build-card strong{font-size:.96rem}.castle-build-card small{color:#77664f;font:.875rem/1.35 system-ui,sans-serif}.castle-build-card.active{background:#fcf4dc;border-color:#8c6936;box-shadow:inset 3px 0 #927142}.castle-build-card.active .pixel-art{color:#7b4f21}.castle-inspect,.castle-rotate,.castle-repair{width:100%;margin-top:.55rem}.castle-workspace button.secondary{color:#5e4b33;box-shadow:none;background:#f6edda;border-width:1px;border-color:#b09a74;border-radius:3px;padding:.6rem .65rem;font:.875rem/1.3 system-ui,sans-serif}.castle-workspace button.secondary.active{color:#fff3d7;background:#5d4b36;border-color:#5d4b36}.castle-workspace button:focus-visible{outline-offset:2px}.castle-rotate{justify-content:space-between;align-items:center;display:flex}.castle-workspace kbd{border:1px solid #b3a080;border-radius:2px;padding:.05rem .3rem;font:.875rem system-ui,sans-serif}.castle-help{color:#74654f;margin:.65rem 0;font:.875rem/1.55 system-ui,sans-serif}.castle-blueprint{text-align:left;gap:.25rem;width:100%;margin-top:.45rem;display:grid}.castle-blueprint span{font-weight:600}.castle-blueprint small{color:#8a7655;font-size:.875rem}.castle-main{min-width:0;padding:.85rem}.castle-map-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:.6rem;display:flex}.castle-map-title{align-items:center;gap:.5rem;font-size:.95rem;display:flex}.castle-map-title .pixel-art{color:#7b684c;width:30px;height:30px}.castle-map-title small{color:#7c6a50;margin-top:.2rem;font:.875rem system-ui,sans-serif;display:block}.castle-map-options{align-items:center;gap:.3rem;display:flex}#castle-zoom{text-align:center;min-width:36px;font:.875rem system-ui,sans-serif}.castle-map-viewport{aspect-ratio:1;scrollbar-color:#9b9473 #4c5c46;background:#748766;border:3px solid #4b513f;border-radius:2px;width:100%;overflow:auto}#castle-grid{aspect-ratio:1;cursor:crosshair;touch-action:none;width:100%;max-width:none;display:block}#castle-grid:focus-visible{outline-offset:-3px;outline:3px solid #efc975}.castle-selection-list{gap:4px;max-height:180px;margin-bottom:8px;display:grid;overflow-y:auto}.castle-map-caption{color:#77664f;justify-content:space-between;gap:.5rem;padding:.5rem 0 .65rem;font:.875rem/1.4 system-ui,sans-serif;display:flex}#castle-coordinates{flex-shrink:0}.castle-plan-bar{background:#e9ddc2;border:1px solid #c6b18b;border-radius:3px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem;display:flex}.castle-plan-bar strong{font-size:1rem;display:block}#castle-plan-cost{color:#776244;margin-top:.25rem;font:.875rem/1.4 system-ui,sans-serif;display:block}.castle-plan-bar [data-command=build]{color:#fff4db;box-shadow:none;text-shadow:none;background:#526447;border:1px solid #3a4c31;border-radius:3px;padding:.65rem 1rem;font:600 .875rem system-ui,sans-serif}.castle-message{color:#5a563c;min-height:1.5rem;margin-bottom:.4rem;padding:.6rem .1rem 0;font:.875rem/1.4 system-ui,sans-serif}.castle-management{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.castle-detail{background:#f8f0dd;border:1px solid #cdbb99;border-radius:3px;padding:.9rem}.castle-detail h3{margin:.6rem 0 .4rem;font-size:1.15rem;font-weight:400}.castle-maintain-actions{flex-wrap:wrap;gap:.4rem;margin-top:.7rem;display:flex}.castle-health{background:#d2c4a8;border-radius:2px;height:5px;overflow:hidden}.castle-health span{background:#6b7e52;height:100%;display:block}.castle-defense-stats{justify-content:space-between;gap:.65rem;margin-top:.55rem;display:flex}.castle-defense-stats strong{font-size:1.45rem;font-weight:400;display:block}.castle-defense-stats span{color:#7b6b51;font:.875rem/1.4 system-ui,sans-serif;display:block}.castle-practice{background:#e8ddc3;border:1px solid #bcaa88;border-radius:3px;margin-top:.7rem;padding:.85rem}.castle-practice>div:first-child{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.castle-practice strong{font-size:1rem}.castle-practice-controls{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.65rem;display:flex}.castle-practice-controls label{flex:1;min-width:100px;font:.875rem system-ui,sans-serif}.castle-practice-controls input{accent-color:#526447;padding:0}#castle-turn-meta{font:.875rem system-ui,sans-serif}.castle-loading{text-align:center;color:#756449;padding:3rem}@media (max-width:900px){.castle-workspace{grid-template-columns:185px minmax(0,1fr)}.castle-build-panel{padding:.7rem}.castle-build-card{gap:.4rem;padding:.65rem .45rem}.castle-build-card .pixel-art{width:27px}}@media (max-width:620px){.castle-workspace{grid-template-columns:1fr}.castle-build-panel{border-bottom:1px solid #c0ac87;border-right:0;grid-template-columns:1fr 1fr;gap:.4rem .65rem;display:grid}.castle-build-panel>.castle-section-label:first-child{align-self:center}.castle-materials{margin:0}.castle-build-list{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.castle-build-card{gap:.2rem;padding:.45rem;display:grid}.castle-build-card strong,.castle-build-card small{font-size:.875rem}.castle-build-card .pixel-art{height:24px}.castle-build-panel>.castle-section-label:not(:first-child){grid-column:1/-1;margin-top:.6rem}.castle-inspect,.castle-rotate,.castle-repair{margin:0}.castle-build-panel>.castle-help{grid-column:1/-1;margin:.3rem 0}.castle-blueprint{margin:0}.castle-main{padding:.5rem}.castle-map-toolbar{gap:.4rem}.castle-map-title{font-size:.875rem}.castle-map-title .pixel-art{display:none}.castle-map-options{gap:.2rem}.castle-map-options button.secondary{padding:.45rem;font-size:.875rem}.castle-map-viewport{aspect-ratio:1}.castle-management{grid-template-columns:1fr}.castle-map-caption{font-size:.875rem}.castle-plan-bar{padding:.6rem}.castle-plan-bar .row{gap:.4rem;width:100%}.castle-plan-bar .row button{flex:1}}#panel:has(#dungeon-workspace-root){padding:0}#dungeon-workspace-root{min-width:0}#dungeon-workspace-root button:focus-visible,#dungeon-workspace-root input:focus-visible,#dungeon-workspace-root summary:focus-visible{outline-offset:3px;outline:3px solid #9b6e27}.dungeon-heading{justify-content:space-between;align-items:center;gap:1rem;padding:1.4rem 1.5rem;display:flex}.dungeon-heading h2{margin:.2rem 0;font-size:2rem}.dungeon-heading p{color:var(--muted);margin:0;font-size:.9rem}.dungeon-eyebrow,.dungeon-section-label{color:#725d3e;text-transform:uppercase;letter-spacing:.12em;font:600 .875rem/1.5 system-ui,sans-serif}.dungeon-heading-stats{flex-wrap:wrap;gap:.5rem;display:flex}.dungeon-heading-stats>span{color:var(--muted);border:1px solid #cabb9d;border-radius:5px;padding:.6rem .8rem;font-size:.875rem}.dungeon-heading-stats strong{color:var(--ink);margin-top:.2rem;font-size:1rem;display:block}.dungeon-workspace{border-top:1px solid #cabb9d;grid-template-columns:230px minmax(0,1fr);display:grid}.dungeon-index{background:#eee3cf;border-right:1px solid #cabb9d;min-width:0;padding:1rem}.dungeon-search{color:var(--muted);margin:.9rem 0;font-size:.875rem;display:block}.dungeon-search input{width:100%;min-width:0;margin-top:.4rem;padding:.55rem .6rem;font-size:.875rem;display:block}.dungeon-filters{gap:.3rem;margin-bottom:.7rem;display:flex}.dungeon-filters button{flex:1;padding:.5rem .3rem;font-size:.875rem}.dungeon-filters button,.dungeon-destination,.dungeon-run-list button,.dungeon-route button{box-shadow:none;color:var(--ink);text-shadow:none;background:0 0;border:1px solid #cabb9d}.dungeon-filters button.active{color:#fff7e6;background:#384b3e;border-color:#384b3e}.dungeon-destinations{gap:.4rem;display:grid}.dungeon-destination{text-align:left;align-items:center;gap:.6rem;width:100%;padding:.7rem .5rem;display:flex}.dungeon-destination.active{background:#faf4e7;border-color:#927b52;box-shadow:inset 3px 0 #927b52}.dungeon-destination-icon{flex:0 0 36px}.dungeon-destination-icon .pixel-art{width:28px;display:block}.dungeon-destination strong,.dungeon-destination small,.dungeon-destination-status{display:block}.dungeon-destination strong{font-size:.875rem}.dungeon-destination small{color:var(--muted);margin:.25rem 0;font-size:.875rem}.dungeon-destination-status{color:#6c604c;font:.875rem/1.4 system-ui,sans-serif}.dungeon-destination[data-outgrown=true] .dungeon-destination-status{color:#894e3c}.dungeon-loot-preview summary,.dungeon-combat-transcript summary{cursor:pointer;color:var(--brown);padding:.6rem 0}.dungeon-main{min-width:0;padding:1rem}.dungeon-hero{isolation:isolate;background:#23332e;border-radius:7px;min-height:240px;position:relative;overflow:hidden}.dungeon-scenery{z-index:-2;width:70%;height:100%;position:absolute;top:0;right:0}.dungeon-hero:after{content:"";z-index:-1;background:linear-gradient(90deg,#1c2c26 6%,#1c2c26ec 26%,#1c2c2666 68%,#0000);position:absolute;inset:0}.dungeon-hero-content{color:#fff3d9;max-width:76%;padding:1.5rem}.dungeon-hero-content>span{text-transform:uppercase;letter-spacing:.16em;color:#d1bf98;font:.875rem/1.4 system-ui,sans-serif}.dungeon-hero h3{color:#fff3d9;margin:.5rem 0;font-size:clamp(1.5rem,3vw,2rem)}.dungeon-hero p{color:#e0d9c8;max-width:370px;font-size:.875rem;line-height:1.6}.dungeon-hero-tags{flex-wrap:wrap;gap:.4rem;display:flex}.dungeon-hero-tags span{background:#1a2926aa;border:1px solid #a3967066;border-radius:3px;padding:.35rem .5rem;font:.875rem/1.3 system-ui,sans-serif}.dungeon-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.dungeon-section-heading>span:last-child:not(:first-child){color:var(--muted);font-size:.875rem}.dungeon-route-section{margin:1.2rem 0}.dungeon-route{gap:.4rem;margin:0;padding:.6rem 0 .4rem;list-style:none;display:flex;overflow-x:auto}.dungeon-route li{flex:1 0 108px;min-width:0}.dungeon-route button{text-align:center;border-color:#d2c3a6;width:100%;height:100%;padding:.65rem .45rem}.dungeon-route button.selected{background:#eee3cf;border-color:#796b4a;box-shadow:inset 0 -3px #796b4a}.dungeon-route button.cleared{background:#e2eadc;border-color:#88a177}.dungeon-route button.fighting{background:#f3e4bf;border-color:#b09651}.dungeon-route-node{color:#695737;border:1px solid #b4a27f;border-radius:50%;place-items:center;width:30px;height:30px;margin-bottom:.45rem;display:inline-grid}.dungeon-route strong,.dungeon-route small,.dungeon-route em{display:block}.dungeon-route strong{font-size:.875rem}.dungeon-route small{color:var(--muted);margin:.2rem 0;font-size:.875rem}.dungeon-route em{color:#806a42;font:.875rem/1.5 system-ui,sans-serif}.dungeon-chamber-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:.8rem;display:grid}.dungeon-room-detail,.dungeon-expedition,.dungeon-pack,.dungeon-loadout{background:#fffaf066;border:1px solid #cabb9d;border-radius:6px;min-width:0;padding:1rem}.dungeon-room-detail h3,.dungeon-expedition h3,.dungeon-run-report h3{margin:.4rem 0 .8rem;font-size:1.25rem}.dungeon-enemy-stats{border-block:1px solid #dacdb5;grid-template-columns:repeat(3,1fr);padding:.7rem 0;display:grid}.dungeon-enemy-heading{align-items:center;gap:1rem;margin:.7rem 0 1rem;display:flex}.dungeon-enemy-heading .dungeon-enemy-portrait{aspect-ratio:1;background:#262b25;border:1px solid #6d6451;border-radius:4px;flex:none;width:clamp(88px,12vw,128px);height:auto}.dungeon-enemy-heading h3{margin:0}.dungeon-enemy-stats div{text-align:center}.dungeon-enemy-stats div+div{border-left:1px solid #dacdb5}.dungeon-enemy-stats strong,.dungeon-enemy-stats span{display:block}.dungeon-enemy-stats strong{font-size:1.2rem}.dungeon-enemy-stats span{color:var(--muted);margin-top:.2rem;font-size:.875rem}.dungeon-muted{color:var(--muted);font-size:.875rem;line-height:1.5}.dungeon-reward-preview{background:#eee4cf;border-radius:4px;gap:.3rem;padding:.7rem;font-size:.875rem;display:grid}.dungeon-reward-preview>span{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font:.875rem/1.4 system-ui,sans-serif}.dungeon-reward-preview small{color:var(--muted);font-size:.875rem;line-height:1.5}.dungeon-loot-preview{margin-top:.4rem;font-size:.875rem}.dungeon-loot-preview ul{padding:0;list-style:none}.dungeon-loot-preview li{border-bottom:1px solid #dacdb5;justify-content:space-between;gap:.5rem;padding:.5rem 0;display:flex}.dungeon-loot-preview small{color:var(--muted);margin-top:.2rem;font-size:.875rem;display:block}.dungeon-loot-preview li>strong{white-space:nowrap;font-size:.875rem}.dungeon-loot-preview li>span{overflow-wrap:anywhere;min-width:0}.dungeon-loot-preview .is-owned .dungeon-find-ownership{color:#526638;font-weight:600}.dungeon-expedition{background:#eee5d1;flex-direction:column;align-items:stretch;display:flex}.dungeon-expedition>button{width:100%;min-height:44px;margin-top:.5rem;font-size:.875rem}.dungeon-enter{background:linear-gradient(#45634b,#2e4934);border-color:#253f2c}.dungeon-meter{width:100%;margin:.4rem 0}.dungeon-meter>div:first-child{justify-content:space-between;gap:.5rem;margin-bottom:.3rem;font-size:.875rem;display:flex}.dungeon-meter-track,.dungeon-timer-track{background:#d5c9af;border-radius:5px;height:7px;overflow:hidden}.dungeon-meter-track>span,.dungeon-timer-track>span{background:#607b56;border-radius:5px;height:100%;display:block}.dungeon-timer-track>span{background:#a27e36}.dungeon-countdown{align-items:baseline;gap:.6rem;margin:.8rem 0;display:flex}.dungeon-countdown strong{color:#524c34;font-size:2.5rem}.dungeon-countdown span{color:var(--muted);font-size:.875rem}.dungeon-block-reason,.dungeon-pack-warning{color:#773e27;background:#f4e3ce;border-left:3px solid #b67d4a;padding:.6rem .7rem;font-size:.875rem;line-height:1.5}.dungeon-feedback{min-height:1.3em;margin:.6rem 0;font-size:.875rem}.dungeon-feedback.is-error{color:#8b1530}.dungeon-callout{background:#eee2bf;border:1px solid #cabb9d;border-radius:5px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin:.8rem 0;padding:.7rem;font-size:.875rem;display:flex}.dungeon-callout button{font-size:.875rem}.dungeon-outcome{background:#e9eddf;border-left:3px solid #607b56;margin:1rem 0;padding:.8rem 1rem}.dungeon-outcome.defeated{background:#f2e0d1;border-color:#9a593c}.dungeon-outcome h3{margin:0 0 .4rem;font-size:1rem}.dungeon-outcome p{margin:0;font-size:.875rem;line-height:1.5}.dungeon-preparation{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:.8rem;margin-bottom:1.2rem;display:grid}.dungeon-consumables>div{border-bottom:1px solid #dacdb5;justify-content:space-between;align-items:center;gap:.6rem;padding:.7rem 0;display:flex}.dungeon-consumables strong{font-size:.875rem}.dungeon-consumables small{color:var(--muted);margin-top:.25rem;font-size:.875rem;display:block}.dungeon-consumables strong small{display:inline}.dungeon-consumables button{min-height:44px;padding:.45rem .7rem;font-size:.875rem}.dungeon-pack-links{flex-wrap:wrap;gap:.4rem;margin-top:.6rem;display:flex}.dungeon-pack-links button{flex:1;padding:.55rem;font-size:.875rem}.dungeon-loadout ul{margin:.7rem 0;padding:0;list-style:none}.dungeon-loadout li{justify-content:space-between;gap:.5rem;padding:.4rem 0;font-size:.875rem;display:flex}.dungeon-loadout li>span{color:var(--muted)}.dungeon-loadout li>strong{text-align:right}.dungeon-journal{border-top:1px solid #cabb9d;padding-top:1rem}.dungeon-journal-empty{text-align:center;color:var(--muted);background:#eee5d166;border:1px dashed #cabb9d;border-radius:5px;margin-top:.8rem;padding:1.4rem;font-size:.875rem}.dungeon-journal-empty p{font-size:.875rem;line-height:1.5}.dungeon-journal-layout{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:1rem;margin-top:.8rem;display:grid}.dungeon-run-list{flex-direction:column;gap:.4rem;max-height:550px;display:flex;overflow-y:auto}.dungeon-run-list button{text-align:left;height:auto;color:var(--ink);text-shadow:none;box-shadow:none;background:#f8f1e1;border:1px solid #cabb9d;flex-shrink:0;padding:.7rem}.dungeon-run-list button.active{background:#eee4cf;border-color:#927b52}.dungeon-run-list strong,.dungeon-run-list span,.dungeon-run-list small{display:block}.dungeon-run-list strong{overflow-wrap:anywhere;font-size:1rem}.dungeon-run-list span{margin:.3rem 0;font-size:.875rem}.dungeon-run-list small,.dungeon-run-list time{color:var(--muted);font-size:.875rem}.dungeon-run-list time{margin-top:.3rem;display:block}.dungeon-comparison{flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin:.8rem 0;font:.875rem/1.5 system-ui,sans-serif;display:flex}.dungeon-risk{color:#683c28;background:#f4e3ce;border-left:3px solid #94603e;padding:.75rem;font:.875rem/1.5 system-ui,sans-serif}.departure-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1rem 0;font:.875rem/1.5 system-ui,sans-serif;display:grid}.departure-facts>div{background:#fffaf0;border:1px solid #cebd99;border-radius:4px;padding:.65rem .75rem}.departure-facts dt{color:var(--ux-muted)}.departure-facts dd{margin:.2rem 0 0;font-weight:700}.hunt-plan{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.25rem;margin:1.25rem 0;display:grid}.hunt-plan .realm-card{padding:1.25rem}.hunt-plan .hunt-rewards{background:#faf4e6}.hunt-plan .hunt-decision{border-top:4px solid #607b56}@media (max-width:760px){.hunt-plan{grid-template-columns:1fr;gap:1rem}}.dungeon-run-status.cleared{color:#3f623b}.dungeon-run-status.defeated{color:#8b1530}.dungeon-run-report{min-width:0}.dungeon-run-rewards{border-block:1px solid #dacdb5;flex-wrap:wrap;gap:.6rem;padding:.7rem 0;display:flex}.dungeon-run-rewards span{color:var(--muted);flex:1;font-size:.875rem}.dungeon-run-rewards strong{color:var(--ink);font-size:1.2rem;display:block}.dungeon-report-tabs{flex-wrap:wrap;gap:.3rem;margin:.8rem 0;display:flex}.dungeon-report-tabs button{padding:.45rem .6rem;font-size:.875rem}.dungeon-report-tabs button.active{background:#e3e9da;border-color:#617452}.dungeon-combat-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.dungeon-combat-heading h4{margin:.4rem 0;font-size:1rem}.dungeon-result{color:#385932;background:#e1e8d6;border-radius:4px;padding:.3rem .5rem;font:.875rem/1.4 system-ui,sans-serif}.dungeon-result.defeat{color:#893e2c;background:#eed8ca}.dungeon-result.retreat{color:#5e5236;background:#e6e0cf}.dungeon-loot-result{color:var(--muted);font-size:.875rem}.dungeon-replay-controls{flex-wrap:wrap;align-items:center;gap:.35rem;margin:.8rem 0;display:flex}.dungeon-replay-controls button{min-height:40px;padding:.4rem .55rem;font-size:.875rem}.dungeon-replay-controls label{flex:135px;align-items:center;gap:.4rem;font-size:.875rem;display:flex}.dungeon-replay-controls input{accent-color:#607b56;width:100%;min-width:60px;padding:0}#dungeon-replay-position{color:var(--muted);font:.875rem/1.4 system-ui,sans-serif}.dungeon-replay-health{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.dungeon-replay-health>p{grid-column:1/-1}.dungeon-turn-card{background:#eee5d177;border:1px solid #cabb9d;border-radius:5px;min-height:100px;margin-top:.6rem;padding:.8rem}.dungeon-turn-card p{margin:.4rem 0;font-size:.875rem;line-height:1.6}.dungeon-combat-transcript{font-size:.875rem}.dungeon-combat-transcript ol{padding-left:1.2rem}.dungeon-combat-transcript li{color:var(--muted);padding:.5rem 0;line-height:1.5}@media (max-width:1050px){.dungeon-workspace{grid-template-columns:200px minmax(0,1fr)}.dungeon-chamber-layout,.dungeon-preparation{grid-template-columns:1fr}.dungeon-journal-layout{grid-template-columns:230px minmax(0,1fr);gap:.8rem}.dungeon-hero-content{max-width:88%}}@media (max-width:720px){.dungeon-heading{align-items:start;padding:1rem}.dungeon-heading-stats{gap:.3rem}.dungeon-heading-stats>span{padding:.4rem}.dungeon-eyebrow{font-size:.875rem}.dungeon-heading h2{font-size:1.6rem}.dungeon-heading p{font-size:.875rem}.dungeon-workspace{grid-template-columns:1fr}.dungeon-index{border-bottom:1px solid #cabb9d;border-right:0;padding:.8rem}.dungeon-search{margin:.6rem 0}.dungeon-destinations{padding-bottom:.4rem;display:flex;overflow-x:auto}.dungeon-destination{flex:0 0 180px}.dungeon-main{padding:.7rem}.dungeon-hero{min-height:230px}.dungeon-hero-content{max-width:100%;padding:1.1rem}.dungeon-scenery{opacity:.6;width:100%}.dungeon-hero:after{background:linear-gradient(90deg,#1c2c26ef,#1c2c2699)}.dungeon-journal-layout{grid-template-columns:1fr}.dungeon-run-list{flex-direction:row;padding-bottom:.4rem;overflow-x:auto}.dungeon-run-list button{flex:0 0 165px}.dungeon-section-heading{gap:.25rem}.dungeon-replay-health{grid-template-columns:1fr;gap:.2rem}}#panel:has(.realm-workspace){padding:0}.realm-workspace{min-width:0}.realm-workspace button:focus-visible,.realm-workspace input:focus-visible,.realm-workspace canvas:focus-visible,.realm-workspace summary:focus-visible{outline-offset:3px;outline:3px solid #9b6e27}.realm-heading{border-bottom:1px solid #cabb9d;justify-content:space-between;align-items:center;gap:1rem;padding:1.4rem 1.5rem;display:flex}.realm-heading h2{margin:.2rem 0;font-size:2rem}.realm-heading p{color:var(--muted);margin:0;font-size:.875rem}.realm-eyebrow{color:#725d3e;text-transform:uppercase;letter-spacing:.12em;font:600 .875rem/1.5 system-ui,sans-serif}.realm-heading-stats{flex-wrap:wrap;flex-shrink:0;gap:.5rem;display:flex}.realm-heading-stats>span{color:var(--muted);border:1px solid #cabb9d;border-radius:5px;padding:.6rem .8rem;font-size:.875rem}.realm-heading-stats strong{color:var(--ink);margin-top:.2rem;font-size:1.1rem;display:block}.realm-body{padding:1rem}.realm-hero{isolation:isolate;background:#283c30;border-radius:7px;min-height:235px;margin-bottom:1rem;position:relative;overflow:hidden}.realm-hero.bank{background:#3f3b2c}.realm-scenery{z-index:-2;width:66%;height:100%;position:absolute;top:0;right:0}.realm-hero:after{content:"";z-index:-1;background:linear-gradient(90deg,#23332d 10%,#23332df5 25%,#23332d55 75%,#0000);position:absolute;inset:0}.realm-hero.bank:after{background:linear-gradient(90deg,#353226 10%,#353226f5 25%,#35322655 75%,#0000)}.realm-hero>div{color:#fff3d9;max-width:65%;padding:1.5rem}.realm-hero .realm-eyebrow{color:#d1bf98}.realm-hero h3{color:#fff3d9;margin:.5rem 0;font-size:1.8rem}.realm-hero p{color:#e0d9c8;max-width:430px;font-size:.875rem;line-height:1.6}.realm-tags{flex-wrap:wrap;gap:.4rem;display:flex}.realm-tags span{background:#1a2926aa;border:1px solid #a3967066;border-radius:3px;padding:.35rem .5rem;font:.875rem/1.3 system-ui,sans-serif}.realm-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.realm-card{background:#fffaf077;border:1px solid #cabb9d;border-radius:6px;min-width:0;padding:1rem}.realm-card h3{margin:.5rem 0 .8rem;font-size:1.3rem}.realm-muted{color:var(--muted);font-size:.875rem;line-height:1.6}.realm-metrics{border-block:1px solid #dacdb5;flex-wrap:wrap;gap:.5rem;margin:.8rem 0;padding:.8rem 0;display:flex}.realm-metrics>span{color:var(--muted);flex:85px;font-size:.875rem}.realm-metrics strong{color:var(--ink);margin-bottom:.25rem;font-size:1.7rem;display:block}.realm-rule{background:#eee4cf;border-radius:4px;margin:.7rem 0;padding:.8rem}.realm-rule strong,.realm-rule span{display:block}.realm-rule strong{font-size:.875rem}.realm-rule span{color:var(--muted);margin-top:.35rem;font-size:.875rem;line-height:1.6}.realm-primary{background:linear-gradient(#45634b,#2e4934);border-color:#253f2c;min-height:44px;font-size:.875rem}#bank-workspace-root .realm-primary{background:linear-gradient(#8d702e,#705422);border-color:#5a441e}.realm-decision>button{width:100%;min-height:44px;margin-top:.6rem}.realm-decision{background:#eee5d1}.realm-reason{color:#773e27;background:#f4e3ce;border-left:3px solid #b67d4a;padding:.65rem .8rem;font-size:.875rem;line-height:1.6}.realm-positive,.realm-metrics .realm-positive{color:#38633d}.realm-negative,.realm-metrics .realm-negative{color:#8b1530}.realm-feedback{min-height:1.3em;margin:.6rem 0 0;font-size:.875rem}.realm-feedback.is-error{color:#8b1530}.realm-links{flex-wrap:wrap;gap:.4rem;margin-top:.8rem;display:flex}.realm-links button{min-height:40px;padding:.55rem .8rem;font-size:.875rem}.realm-outcome{background:#e9eddf;border-left:3px solid #607b56;margin-bottom:1rem;padding:.85rem 1rem;font-size:.9rem}.realm-outcome p{margin:.4rem 0 0;font-size:.875rem}.realm-outcome.loss{background:#f2e0d1;border-color:#9a593c}.realm-progress{margin:.7rem 0}.realm-progress>div:first-of-type{align-items:baseline;gap:.6rem;padding:.7rem 0;display:flex}.realm-progress strong{color:#524c34;font-size:2.4rem}.realm-progress>div:first-of-type>span{color:var(--muted);font-size:.875rem}.realm-progress-track{background:#d5c9af;border-radius:5px;height:7px;overflow:hidden}.realm-progress-track>span{background:#a27e36;height:100%;display:block}.realm-progress p{color:var(--muted);font-size:.875rem}.realm-supply{border-bottom:1px solid #dacdb5;justify-content:space-between;align-items:center;gap:.6rem;padding:.65rem 0;display:flex}.realm-supply strong{font-size:.875rem}.realm-supply small{color:var(--muted);margin-top:.2rem;font-size:.875rem;display:block}.realm-supply button{min-height:44px;font-size:.875rem}.realm-journal{border-top:1px solid #cabb9d;margin-top:1.2rem;padding-top:1rem}.realm-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.8rem;display:flex}.realm-section-heading h3{margin:.3rem 0 0;font-size:1.15rem}.realm-log{background:#f9f2e4;border:1px solid #cabb9d;border-radius:5px;padding:.9rem;font-size:.875rem}.realm-log>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:.4rem;display:flex}.realm-log time,.realm-log small{color:var(--muted);font-size:.875rem}.realm-log p{margin:.5rem 0;font-size:.875rem;line-height:1.5}.realm-log summary{cursor:pointer;padding:.3rem 0;font-size:.875rem}.realm-empty{text-align:center;color:var(--muted);background:#eee5d166;border:1px dashed #cabb9d;border-radius:5px;padding:1.4rem;font-size:.875rem}.realm-empty p{font-size:.875rem;line-height:1.6}.bank-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.8rem 0;display:grid}.bank-choices button{text-align:left;color:var(--ink);text-shadow:none;box-shadow:none;background:#f8f1e1;border:1px solid #cabb9d;padding:.8rem}.bank-choices button.active{background:#eee1bf;border-color:#917438;box-shadow:inset 0 -3px #917438}.bank-choices strong,.bank-choices span,.bank-choices small{display:block}.bank-choices strong{font-size:.9rem}.bank-choices span{margin:.4rem 0;font-size:.875rem}.bank-choices small{color:var(--muted);font-size:.875rem}.bank-amount,.bank-slider-label{margin:.8rem 0;font-size:.875rem;display:block}.bank-amount input{width:100%;margin-top:.4rem;font-size:1.2rem;display:block}.bank-slider-label input{accent-color:#917438;width:100%;margin-top:.5rem;padding:0;display:block}.bank-presets{flex-wrap:wrap;gap:.4rem;display:flex}.bank-presets button{padding:.55rem;font-size:.875rem}.realm-balance,.realm-ledger-total{color:var(--muted);font-size:.875rem}.bank-ledger>div{border-bottom:1px solid #dacdb5;grid-template-columns:1.1fr .7fr .9fr 1.2fr;align-items:center;gap:.7rem;padding:.85rem .6rem;font-size:.875rem;display:grid}.bank-ledger>div:nth-child(2n){background:#eee5d155}.bank-ledger small{color:var(--muted);margin-top:.25rem;font-size:.875rem;display:block}.bank-ledger .bank-ledger-head{text-transform:uppercase;color:var(--muted);background:#eee4cf;font:.875rem/1.4 system-ui,sans-serif}.bank-ledger time{font-size:.875rem}.world-workspace{grid-template-columns:320px minmax(0,1fr);gap:1rem;display:grid}.world-directory{background:#eee3cf;align-self:start}.world-search{color:var(--muted);margin:.9rem 0 .6rem;font-size:.875rem;display:block}.world-search input{width:100%;min-width:0;margin-top:.4rem;padding:.55rem;font-size:.875rem;display:block}.world-directory-filters{flex-wrap:wrap;gap:.4rem;display:flex}.world-directory-filters button{flex:auto;padding:.5rem;font-size:.875rem}.world-directory-filters button.active{background:#e0d0ae;border-color:#796b4a}.world-village-list{flex-direction:column;gap:.4rem;max-height:650px;padding:.2rem;display:flex;overflow-y:auto}.world-village-list button{height:auto;color:var(--ink);text-shadow:none;box-shadow:none;text-align:left;background:#f8f1e1;border:1px solid #cabb9d;flex-shrink:0;padding:.85rem}.world-village-list button.active{background:#e9dfbf;border-color:#917438;box-shadow:inset 3px 0 #917438}.world-village-list strong,.world-village-list span,.world-village-list small{display:block}.world-village-list strong{overflow-wrap:anywhere;font-size:1rem}.world-village-list span{color:var(--muted);margin-top:.35rem;font-size:.875rem}.world-village-list small{color:#6b614e;margin-top:.3rem;font-size:.875rem}.world-refresh{width:100%;margin-top:.8rem;font-size:.875rem}.world-main{min-width:0}.world-map-section{background:#eee5d155;border:1px solid #cabb9d;border-radius:6px;padding:.8rem}.world-map-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:.8rem;display:flex}.world-map-toolbar h3{margin:.35rem 0 0;font-size:1rem}.world-map-controls{flex-wrap:wrap;align-items:center;gap:.3rem;display:flex}.world-map-controls button{min-height:38px;padding:.5rem .6rem;font-size:.875rem}#world-zoom{text-align:center;min-width:23px;font:.875rem/1.5 system-ui,sans-serif}.world-map-viewport{aspect-ratio:1;width:100%;margin:auto;position:relative}#world-map{width:100%;height:100%;image-rendering:pixelated;background:#e3d9be;border:2px solid #736a50;border-radius:5px;display:block}.world-loading{text-align:center;color:var(--muted);pointer-events:none;background:#eee3cfcc;padding:.8rem;font-size:.875rem;position:absolute;top:45%;left:0;right:0}.world-map-legend{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:.7rem;margin:.8rem 0;font:.875rem/1.4 system-ui,sans-serif;display:flex}.world-map-legend i{border-radius:50%;width:8px;height:8px;margin-right:.3rem;display:inline-block}.world-map-legend .home{background:#315b86}.world-map-legend .neighbor{background:#8b1530}.world-map-legend .selected{background:#b89543}.world-inspector{margin-top:1rem}.world-village-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.world-village-heading h3{overflow-wrap:anywhere}.world-village-heading button{padding:.5rem .6rem;font-size:.875rem}.world-scout{background:#eee4cf;border-radius:5px;justify-content:space-between;align-items:center;gap:.7rem;margin:.6rem 0;padding:.8rem;display:flex}.world-scout strong{font-size:.875rem}.world-scout p{margin-bottom:0}.world-scout button{flex-shrink:0;font-size:.875rem}.world-scout{flex-wrap:wrap}.world-scout label{max-width:90px}.world-scout input{width:100%;min-width:0}.world-chest-finds article+article{border-top:1px solid var(--line-soft);margin-top:.5rem;padding-top:.5rem}.world-chest-art{object-fit:contain}.world-latest-intel{border-block:1px solid #dacdb5;margin:.8rem 0;padding:.8rem 0}.world-intelligence{margin-top:.5rem;font-size:.875rem}.world-defense-plan summary{cursor:pointer;color:var(--brown);padding:.5rem 0;font-size:.875rem}.world-defense-plan svg{border:1px solid #cabb9d;width:min(100%,260px);margin-top:.6rem;display:block}.world-attack-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;margin:.8rem 0;display:flex}.world-attack-heading h4{margin:0;font-size:1rem}.world-attack-heading>span{color:var(--muted);font-size:.875rem}.world-troop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.world-troop-grid label{border:1px solid #cabb9d;border-radius:4px;justify-content:space-between;align-items:center;gap:.6rem;padding:.6rem;font-size:.875rem;display:flex}.world-troop-grid strong{font-size:.875rem}.world-troop-grid small{color:var(--muted);margin-top:.25rem;font-size:.875rem;display:block}.world-troop-grid input{width:70px;min-width:0;padding:.45rem;font-size:.875rem}.world-army-presets{flex-wrap:wrap;gap:.4rem;margin-top:.7rem;display:flex}.world-army-presets button{padding:.5rem .6rem;font-size:.875rem}#world-attack{width:100%}.world-battle-history{align-self:start}.world-battle-history .list{padding-left:1.1rem;font-size:.875rem;line-height:1.6}.world-battle-history .raid-replay-controls{flex-wrap:wrap}.world-battle-history .raid-replay-controls button{padding:.4rem .6rem;font-size:.875rem}@media (max-width:1050px){.world-workspace{grid-template-columns:280px minmax(0,1fr);gap:1rem}.world-troop-grid{grid-template-columns:1fr}.realm-hero>div{max-width:80%}}@media (max-width:720px){.realm-heading{flex-wrap:wrap;align-items:start;padding:1rem}.realm-heading h2{font-size:1.6rem}.realm-heading p{font-size:.875rem}.realm-heading-stats{gap:.4rem}.realm-heading-stats>span{padding:.4rem .6rem}.realm-heading-stats strong{font-size:.95rem}.realm-body{padding:.7rem}.realm-hero>div{max-width:100%;padding:1.1rem}.realm-hero h3{font-size:1.5rem}.realm-scenery{opacity:.5;width:100%}.realm-hero:after{background:linear-gradient(90deg,#23332def,#23332d99)}.realm-hero.bank:after{background:linear-gradient(90deg,#353226ef,#35322699)}.realm-columns{grid-template-columns:1fr;gap:.7rem}.realm-card{padding:.8rem}.realm-metrics strong{font-size:1.4rem}.bank-ledger>div{grid-template-columns:1.1fr .65fr 1fr;gap:.4rem;font-size:.875rem}.bank-ledger>div>span:last-child{grid-column:1/-1}.bank-ledger-head>span:last-child{display:none}.world-workspace{grid-template-columns:1fr}.world-village-list{flex-direction:row;padding-bottom:.4rem;overflow-x:auto}.world-village-list button{flex:0 0 190px}.world-directory>.realm-muted{margin:.5rem 0}.world-directory-filters{max-width:300px}.world-map-toolbar{gap:.6rem}.world-map-controls{width:100%}.world-map-controls button{min-height:44px}.world-scout{flex-direction:column;align-items:start}.world-scout button{width:100%}}.village-summary{background:linear-gradient(110deg,#ebe1c8,#f8f1df);border:1px solid #b8a982;border-radius:6px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem 1.1rem;display:flex}.village-summary>div:first-child>strong,.village-summary>div:first-child>span:last-child{display:block}.village-summary>div:first-child>strong{margin:.3rem 0;font-size:1.2rem}.village-summary>div:first-child>span:last-child{color:var(--muted);font-size:.875rem}.village-stores{text-align:right;gap:1.4rem;display:flex}.village-stores>span{text-transform:uppercase;color:var(--muted);font:.875rem/1.5 system-ui,sans-serif}.village-stores strong{color:var(--ink);font:700 1.2rem/1.5 Georgia,serif;display:block}.village-workspace{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:1rem;display:grid}.village-build-panel{background:#f4ecd9;border:1px solid #c1b292;border-radius:6px;padding:1rem}.village-build-panel h3{margin:.35rem 0 .75rem;font-size:1.1rem}.village-search{color:var(--muted);font-size:.875rem;display:block}.village-search input{width:100%;min-width:0;margin:.35rem 0 .65rem;font-size:.875rem}.village-filters{grid-template-columns:1fr 1fr;gap:.3rem;margin-bottom:.7rem;display:grid}.village-filters button{padding:.4rem .25rem;font:.875rem system-ui,sans-serif}.village-filters [aria-pressed=true],.village-map-options [aria-pressed=true]{background:#ded0ac;border-color:#8d713e;box-shadow:inset 0 0 0 1px #a58d58}.village-build-list{scrollbar-color:#b8a681 #ece3ce;gap:.45rem;max-height:520px;margin-bottom:.8rem;padding:.1rem .2rem .75rem .1rem;display:grid;overflow:auto}.village-build-card{text-align:left;color:var(--ink);text-shadow:none;background:#fbf6e9;border:1px solid #c8b895;align-items:center;gap:.6rem;padding:.6rem;display:flex;box-shadow:0 1px 2px #6e563b12}.village-build-card[aria-pressed=true]{background:#eadcba;border-color:#8b6a34;box-shadow:inset 3px 0 #946a2f}.village-build-card strong{font-size:.875rem;display:block}.village-build-card small{color:var(--muted);margin-top:.18rem;font:.875rem/1.5 system-ui,sans-serif;display:block}.village-building-emblem{color:#fff0c3;background:var(--building-color);text-shadow:0 1px #403926;border:1px solid #473e2b66;border-radius:3px 3px 10px 10px;flex-shrink:0;place-items:center;width:36px;height:38px;font:1.25rem Georgia,serif;display:grid;box-shadow:inset 0 1px #fff3}.village-landscape-tools{gap:.35rem;margin:.6rem 0 .8rem;display:grid}.village-landscape-tools button{justify-content:space-between;align-items:center;padding:.5rem .65rem;font-size:.875rem;display:flex}.village-landscape-tools small{color:var(--muted);font:.875rem system-ui,sans-serif}.village-landscape-tools [aria-pressed=true]{background:#e2d3b0;border-color:#8d713e}.village-guide{color:var(--muted);font-size:.875rem;line-height:1.7}.village-guide summary{cursor:pointer;color:var(--brown)}.village-main{min-width:0}.village-map-toolbar{background:#e9ddbf;border:1px solid #b3a482;border-bottom:0;border-radius:6px 6px 0 0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;padding:.7rem .8rem;display:flex}.village-map-toolbar strong{margin-top:.15rem;font-size:.875rem;display:block}.village-map-options{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.village-map-options button{padding:.4rem .5rem;font:.875rem system-ui,sans-serif}#village-zoom{text-align:center;min-width:35px;font:.875rem system-ui,sans-serif}.village-map-viewport{aspect-ratio:1;scrollbar-color:#9d8f65 #728158;background:#768860;border:2px solid #847452;width:100%;position:relative;overflow:auto}#village-grid{touch-action:none;max-width:none;display:block}#village-grid:focus-visible{outline-offset:-4px;outline:3px solid #f8d791}.village-north{color:#f6e6b4;pointer-events:none;background:#263627ba;border-radius:3px;width:38px;margin-top:-32px;padding:.3rem;font:700 .875rem Georgia,serif;display:block;position:sticky;bottom:.7rem;left:.7rem}.village-map-caption{color:var(--muted);justify-content:space-between;gap:.75rem;padding:.55rem .1rem;font:.875rem/1.6 system-ui,sans-serif;display:flex}#village-coordinates{white-space:nowrap}.village-legend{color:var(--muted);flex-wrap:wrap;gap:.35rem .9rem;padding-bottom:.8rem;font:.875rem system-ui,sans-serif;display:flex}.village-legend span:before{content:"";background:#89996e;border-radius:2px;width:8px;height:8px;margin-right:.35rem;display:inline-block}.village-legend .forest:before{background:#416647}.village-legend .rock:before{background:#a6a999}.village-legend .water:before{background:#6496a0}.village-legend .path:before{background:#bba47a}.village-legend .reserve:before{background:0 0;border:1px dashed #aa8e46}.village-plan-bar{background:#e9ddbf;border:1px solid #c2ad7e;border-radius:5px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;padding:.8rem;display:flex}.village-plan-bar strong{font-size:.875rem;display:block}.village-plan-bar>div>span{color:var(--muted);margin-top:.3rem;font-size:.875rem;display:block}.village-plan-buttons{flex-wrap:wrap;gap:.35rem;display:flex}.village-plan-buttons button{padding:.5rem .65rem;font-size:.875rem}.village-message{color:var(--brown);min-height:1.7em;margin:.75rem .1rem;font-size:.875rem}.village-construction:empty{display:none}.village-construction{background:#e9d7ab;border:1px solid #b99858;border-radius:5px;margin-bottom:.8rem;padding:.8rem}.village-construction strong{justify-content:space-between;gap:.5rem;margin-top:.3rem;font-size:.9rem;display:flex}.village-construction strong span{font:.875rem system-ui,sans-serif}.village-construction p{margin:.4rem 0 .7rem;font-size:.875rem}.village-management{grid-template-columns:1fr 1fr;gap:.8rem;display:grid}.village-management .realm-card{padding:.9rem}.village-management h3{font-size:1.1rem}.village-management p{font-size:.875rem;line-height:1.6}.village-inspector-title{align-items:center;gap:.7rem;margin:.6rem 0;display:flex}.village-inspector-title h3{margin:0 0 .2rem}.village-inspector-title>div>span{color:var(--muted);font:.875rem system-ui,sans-serif}.village-management button{padding:.5rem .65rem;font-size:.875rem}.village-rule{background:#ede2c9;border-left:3px solid #b9a56b;padding:.5rem .6rem;font:.875rem/1.6 system-ui,sans-serif}.village-reason{color:#8b352d}.village-placement-tools{align-items:center;gap:.7rem;margin-top:.7rem;font-size:.875rem;display:flex}.village-economy-stores{flex-wrap:wrap;gap:.4rem .8rem;display:flex}.village-economy-stores>span{color:var(--muted);text-transform:capitalize;font-size:.875rem}.village-economy-stores strong{color:var(--ink);font-size:.9rem;display:block}.village-region{align-items:center;gap:1rem;margin-top:.8rem;padding:1rem;display:flex}.village-region svg{border:3px solid #766647;border-radius:4px;flex-shrink:0;width:100px;height:100px}.village-region h3{margin:.25rem 0;font-size:1rem}.village-region p{margin:.4rem 0 .7rem;font-size:.875rem;line-height:1.6}.village-garrison{border-top:1px solid #c1b292;margin-top:1.5rem;padding-top:1.2rem}.village-garrison .recruitment-card{box-shadow:none;background:#fffaf077;border:1px solid #cabb9d;border-radius:6px;padding:1rem}.village-garrison .panel-section{margin-top:.5rem}.village-garrison h3{margin-top:0}.village-garrison p{font-size:.875rem}.village-garrison button{padding:.5rem .75rem;font-size:.875rem}.village-garrison .recruitment-card h3{font-size:1.15rem;line-height:1.4}.village-garrison .recruitment-card .realm-reason{color:#773e27}@media (max-width:1050px){.village-workspace{grid-template-columns:230px minmax(0,1fr)}.village-build-panel{padding:.75rem}.village-management{grid-template-columns:1fr}}@media (max-width:760px){.village-summary{flex-wrap:wrap;padding:.75rem}.village-stores{text-align:left;justify-content:space-between;width:100%}.village-workspace{flex-direction:column;display:flex}.village-main,.village-build-panel{width:100%}.village-build-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:235px}.village-build-card{gap:.4rem;padding:.5rem}.village-build-card strong,.village-build-card small{font-size:.875rem}.village-building-emblem{width:29px;height:33px;font-size:1rem}.village-filters,.village-landscape-tools{grid-template-columns:repeat(3,1fr)}.village-landscape-tools button{padding:.5rem .25rem;display:block}.village-landscape-tools small{margin-top:.25rem;display:block}.village-map-toolbar{padding:.6rem}.village-map-options{justify-content:space-between;gap:.3rem;width:100%}.village-map-options button{min-height:34px}.village-plan-bar{padding:.7rem}.village-plan-buttons{width:100%}.village-plan-buttons button{flex:1;min-height:38px}.village-region{align-items:start;gap:.65rem;padding:.75rem}.village-region svg{width:72px;height:72px}.village-region .realm-tags{gap:.3rem}.village-region .realm-tags span{font-size:.875rem}}@media (prefers-reduced-motion:reduce){.village-workspace *{scroll-behavior:auto}}.village-site-tools{background:#f1e6c9;border:1px solid #b3a482;border-bottom:0;justify-content:space-between;align-items:center;gap:.6rem;padding:.7rem .8rem;display:flex}.village-site-tools>div:first-child strong{font-size:.875rem;display:block}.village-site-tools>div:first-child span{color:var(--muted);margin-top:.25rem;font-size:.875rem;display:block}.village-site-tools>div:last-child{align-items:center;gap:.4rem;display:flex}.village-site-tools button{white-space:nowrap;padding:.45rem .6rem;font-size:.875rem}#village-rotation{white-space:nowrap;font:.875rem system-ui,sans-serif}@media (max-width:760px){.village-site-tools{flex-wrap:wrap}.village-site-tools>div:last-child{width:100%}}.commerce-filters{grid-template-columns:minmax(170px,1fr) 180px auto;align-items:end;gap:.8rem;margin-bottom:.8rem;display:grid}.commerce-filters label{color:var(--muted);font:.875rem/1.5 system-ui,sans-serif}.commerce-filters input,.commerce-filters select,.commerce-inspector input,.commerce-inspector select{border-width:1px;min-width:0;padding:.55rem .6rem;font:.875rem system-ui,sans-serif}.commerce-filters .commerce-check{white-space:nowrap;align-items:center;gap:.45rem;padding:.6rem 0;display:flex}.commerce-check input{width:16px;height:16px;accent-color:var(--maroon)}.commerce-categories{flex-wrap:wrap;gap:.35rem;margin-bottom:1.2rem;display:flex}.commerce-categories button{border-width:1px;padding:.45rem .75rem;font:.875rem system-ui,sans-serif}.commerce-categories [aria-pressed=true]{color:#fff1ce;background:#5c4631;border-color:#493624;box-shadow:inset 0 1px #ffffff20}.commerce-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:1rem;display:grid}.commerce-catalog{min-width:0}.commerce-section-heading{justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:.8rem;display:flex}.commerce-section-heading h3{margin:.25rem 0 0;font-size:1.15rem}.commerce-section-heading>span{color:var(--muted);text-align:right;font:.875rem/1.5 system-ui,sans-serif}.commerce-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.commerce-cards .item-card{background:linear-gradient(145deg,#fff9eb,#f2e7cd);border:1px solid #c7b694;border-radius:5px;flex-direction:column;min-width:0;padding:.85rem;display:flex;box-shadow:0 2px 5px #4a361411}.commerce-cards .item-card.selected{border-color:#916b35;box-shadow:inset 0 0 0 1px #ad854a,0 2px 5px #4a361411}.item-card-heading{align-items:center;gap:.65rem;margin-bottom:.6rem;display:flex}.item-card-heading>div{min-width:0}.item-card h3{overflow-wrap:anywhere;margin:.2rem 0 0;font-size:1rem}.item-kicker{text-transform:uppercase;letter-spacing:.045em;color:#7c6543;font:.875rem/1.5 system-ui,sans-serif}.item-emblem{color:#6b4b25;background:linear-gradient(135deg,#e6d7b5,#d1bd91);border:1px solid #bcab87;border-radius:4px 4px 13px 13px;flex-shrink:0;place-items:center;width:45px;height:49px;display:grid;box-shadow:inset 0 1px #fff8dc}.item-emblem .pixel-art{object-fit:contain;width:88%;height:88%}.item-emblem.armor,.item-emblem.shield{color:#4c5a4d;background:linear-gradient(135deg,#dbe0d7,#b9c1b4);border-color:#a1ac99}.item-emblem.trinket{color:#795125;background:linear-gradient(135deg,#e9d4b6,#cfab6c)}.item-emblem.consumable{color:#556143;background:linear-gradient(135deg,#dfe2c2,#b6c198);border-color:#adb58c}.item-emblem.large{width:62px;height:68px}.item-emblem.large .pixel-art{width:46px;height:46px}.item-stats{flex-wrap:wrap;gap:.3rem;margin:.2rem 0 .6rem;font:.875rem/1.5 system-ui,sans-serif;display:flex}.item-stats:empty{display:none}.item-stats span{background:#e8ddc4;border:1px solid #ccbd9d;border-radius:3px;padding:.2rem .4rem}.item-effect{color:#60543f;overflow-wrap:anywhere;margin:0;font:.875rem/1.4 system-ui,sans-serif}.item-comparison{flex-wrap:wrap;gap:.3rem .6rem;margin-bottom:.7rem;font:.875rem/1.6 system-ui,sans-serif;display:flex}.item-comparison p{color:var(--muted);flex-basis:100%;margin:0 0 .25rem}.item-comparison>span{background:#f8f2e4;border:1px solid #d2c6ac;border-radius:3px;padding:.12rem .3rem}.item-comparison small{color:var(--muted);display:block}.item-comparison .better{color:#315d35;background:#e6ecd8;border-color:#b3c39c}.item-comparison .worse{color:#8b352e;background:#f2dfd3;border-color:#d0ad97}.item-owned{color:var(--brown);margin:.15rem 0 .65rem;font:.875rem/1.65 system-ui,sans-serif}.item-owned span{color:var(--muted);font-size:.875rem;display:block}.item-prices{text-transform:uppercase;border-top:1px solid #d6c7a8;justify-content:space-between;gap:.5rem;padding:.6rem 0;font:.875rem/1.5 system-ui,sans-serif;display:flex}.item-prices strong{color:var(--brown);text-transform:none;font:700 1.05rem Georgia,serif;display:block}.item-prices small{text-transform:none;color:var(--muted);font-size:.875rem;display:block}.item-prices>span:last-child{text-align:right}.item-reason{color:#8a3f30;overflow-wrap:anywhere;margin:.25rem 0 .6rem;font:.875rem/1.6 system-ui,sans-serif}.item-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.35rem;margin-top:auto;padding-top:.4rem;display:grid}.equipment-card-comparison{grid-column:1/-1}.item-actions button{border-width:1px;min-width:0;padding:.5rem .35rem;font:.875rem/1.4 system-ui,sans-serif}.item-actions .item-details-button{box-shadow:none;color:var(--brown);background:0 0;border-color:#cbb893;grid-column:1/-1;justify-content:space-between;display:flex}.commerce-inspector{background:#eee1c4;border-color:#bca577;min-width:0;padding:1rem;position:sticky;top:1rem}.commerce-inspector:focus{outline:none}.commerce-inspector:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.commerce-inspector h3{margin:.25rem 0 .4rem;font-size:1.15rem}.commerce-inspector p{font:.875rem/1.65 system-ui,sans-serif}.commerce-inspector label{margin:.75rem 0 .4rem;font:.875rem system-ui,sans-serif}.commerce-inspector>button,#market-trade-preview>button{width:100%;min-height:40px;margin-top:.5rem;font:.875rem system-ui,sans-serif}.commerce-inspector-title{align-items:center;gap:.7rem;margin:.85rem 0;display:flex}.commerce-inspector-title>div{min-width:0}.commerce-inspector-title p{color:var(--muted);margin:0;font-size:.875rem}.commerce-inspector-empty{text-align:center;padding:1.4rem .2rem 1rem}.commerce-inspector-empty .item-emblem{margin:0 auto 1rem}.commerce-ownership{border-top:1px solid #c7b58b;border-bottom:1px solid #c7b58b;grid-template-columns:repeat(3,1fr);gap:.4rem;margin:.5rem 0;padding:.7rem 0;display:grid}.commerce-ownership span{color:var(--muted);font:.875rem/1.7 system-ui,sans-serif}.commerce-ownership strong{color:var(--ink);font:700 1.1rem Georgia,serif;display:block}.trade-presets{flex-wrap:wrap;gap:.3rem;margin-top:.5rem;display:flex}.trade-presets button{border-width:1px;padding:.4rem .55rem;font:.875rem system-ui,sans-serif}.trade-totals{border-top:1px solid #bea574;margin:1rem 0 .7rem;padding-top:.5rem;font:.875rem/1.6 system-ui,sans-serif}.trade-totals>div{justify-content:space-between;align-items:center;gap:.5rem;padding:.25rem 0;display:flex}.trade-totals dd{text-align:right;margin:0}.trade-totals .trade-total{color:var(--brown);border-bottom:1px solid #bea574;margin-bottom:.4rem;padding:.65rem 0;font:700 1.15rem Georgia,serif}.commerce-empty{text-align:center;background:#f4ecd9;border:1px dashed #c3b28d;border-radius:5px;grid-column:1/-1;padding:1.4rem}.commerce-empty p{color:var(--muted);margin:.6rem 0;font:.875rem/1.7 system-ui,sans-serif}.commerce-empty button{font:.875rem system-ui,sans-serif}.commerce-footnote{color:var(--muted);border-top:1px solid #c9b893;margin:1rem 0 0;padding-top:1rem;font:.875rem/1.7 system-ui,sans-serif}.commerce-feedback{color:var(--green);min-height:1.6em;margin:.7rem 0;font:.875rem/1.6 system-ui,sans-serif}.commerce-feedback.is-error{color:#8b352d}.armory-loadout{border-bottom:1px solid #c9b893;margin-bottom:1rem;padding-bottom:1rem}.armory-pack-summary{background:#eee0bd;border:1px solid #c2ae81;border-radius:5px;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;margin-bottom:1rem;padding:.85rem;display:grid}.armory-pack-summary strong{font-size:1rem}.armory-pack-summary span{color:var(--muted);margin-top:.25rem;font:.875rem/1.6 system-ui,sans-serif;display:block}.armory-pack-summary p{color:var(--muted);margin:0;font:.875rem/1.65 system-ui,sans-serif}.armory-pack-summary button{padding:.5rem .7rem;font:.875rem system-ui,sans-serif}.equipment-section{margin-bottom:1.25rem}.armory-resource-list{flex-wrap:wrap;gap:.5rem;display:flex}.armory-resource-list>span{text-transform:capitalize;background:#ede1c7;border:1px solid #c4b38f;border-radius:4px;align-items:center;gap:.6rem;padding:.5rem .65rem;font:.875rem system-ui,sans-serif;display:flex}.armory-resource-list strong{font:700 .875rem Georgia,serif}.armory-resources h3{margin:.3rem 0 .6rem;font-size:1.1rem}.armory-expedition{background:#ead7ab;border:1px solid #bd9651;border-radius:5px;margin-bottom:1rem;padding:.85rem}.armory-expedition p{margin:.5rem 0;font:.875rem/1.7 system-ui,sans-serif}.armory-expedition button{font:.875rem system-ui,sans-serif}.item-salvage{border-top:1px solid #bfa776;margin-top:1rem;padding-top:.85rem}.item-salvage h4{margin-bottom:.5rem}.item-salvage>button{width:100%;margin-top:.5rem;font:.875rem system-ui,sans-serif}@media (max-width:1100px){.commerce-layout{grid-template-columns:minmax(0,1fr) 260px}.armory-pack-summary{grid-template-columns:auto 1fr}.armory-pack-summary>button{grid-column:1/-1;justify-self:start}}@media (max-width:760px){.commerce-layout{flex-direction:column;display:flex}.commerce-catalog,.commerce-inspector{width:100%}.commerce-inspector{scroll-margin-top:1rem;position:static}.commerce-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem}.commerce-filters>label:first-child{grid-column:1/-1}.commerce-filters .commerce-check{white-space:normal}.commerce-categories{gap:.3rem}.commerce-categories button{min-height:36px;padding:.5rem .6rem}.commerce-cards{gap:.5rem}.commerce-cards .item-card{padding:.7rem}.item-card-heading{flex-wrap:wrap;gap:.45rem}.item-card h3{font-size:.9rem}.item-emblem{width:36px;height:40px}.item-emblem .pixel-art{width:28px;height:28px}.item-actions{grid-template-columns:1fr}.item-actions button{min-height:40px}.item-stats,.item-comparison{font-size:.875rem}.item-prices{flex-wrap:wrap}.item-prices>span:last-child{text-align:left}.armory-pack-summary{flex-wrap:wrap;gap:.65rem;display:flex}.armory-pack-summary>div{width:100%}.commerce-section-heading>span{max-width:105px}.commerce-section-heading h3{font-size:1rem}}@media (max-width:600px){.equipment-section .commerce-cards{grid-template-columns:1fr}.equipment-section .item-card-heading{flex-wrap:nowrap}}@media (max-width:360px){.commerce-cards{grid-template-columns:1fr}.item-card-heading{flex-wrap:nowrap}}.commerce-feedback:empty{display:none}.market-intent{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-bottom:1rem;display:grid}.market-intent button{text-align:left;border-width:1px;min-height:64px;padding:.8rem 1rem}.market-intent strong{font-size:1.1rem;display:block}.market-intent span{margin-top:.2rem;font:.875rem/1.5 system-ui,sans-serif;display:block}.market-intent [aria-pressed=true]{color:#fff1ce;background:#5c4631;border-color:#493624}.market-sell-scope{flex-wrap:wrap;align-items:center;gap:.7rem 1.5rem;margin-bottom:.8rem;display:flex}.market-sell-scope label{min-width:200px;max-width:100%;font:.875rem/1.5 system-ui,sans-serif}.market-sell-scope select{min-height:44px;margin-top:.3rem;font:.875rem system-ui,sans-serif}.market-sell-scope p{color:var(--muted);margin:0;font:.875rem/1.6 system-ui,sans-serif}.market-sell-scope button{min-height:40px;margin-left:.3rem;padding:.45rem .6rem;font-size:.875rem}.trade-direction{color:var(--muted);font:.875rem/1.6 system-ui,sans-serif}.commerce-inspector>.commerce-close{width:-moz-fit-content;width:fit-content;min-height:40px;margin:0 0 .8rem;padding:.5rem .7rem;font-size:.875rem;display:block}@media (max-width:760px){.commerce-workspace.has-selection .commerce-inspector{order:-1}.commerce-workspace:not(.has-selection) .commerce-inspector{display:none}}.progression-milestones{grid-template-columns:1fr 1fr;gap:.9rem;margin-bottom:1.4rem;display:grid}.progression-milestones .realm-card{background:linear-gradient(125deg,#f6edd7,#ede0c2)}.progression-milestones p{margin:.65rem 0;font:.875rem/1.65 system-ui,sans-serif}.progression-milestones button{padding:.5rem .7rem;font:.875rem system-ui,sans-serif}.progression-level{justify-content:space-between;align-items:baseline;gap:.6rem;margin:.7rem 0;display:flex}.progression-level strong{font-size:1.6rem}.progression-level>span{color:var(--muted);font:.875rem system-ui,sans-serif}.progression-rank{margin:.7rem 0}.progression-rank strong{font-size:1.35rem;display:block}.progression-rank>span{color:var(--muted);margin-top:.4rem;font:.875rem system-ui,sans-serif;display:block}.progression-meter{background:#d9c8a4;border:1px solid #b79f71;border-radius:3px;height:9px;overflow:hidden}.progression-meter>span{background:linear-gradient(90deg,#7a603b,#b98f44);height:100%;display:block}.stats-training{--stats-sheet-width:285px}.stats-training>.stats-allocation-heading,.stats-training>.progression-feedback{width:calc(100% - var(--stats-sheet-width) - 1rem)}.stats-layout{grid-template-columns:minmax(0, 1fr) var(--stats-sheet-width);align-items:start;gap:1rem;display:grid}.stats-layout>*{min-width:0}.stats-allocation-heading{justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.75rem;display:flex}.stats-allocation-heading h3{margin:.3rem 0 .4rem;font-size:1.25rem}.stats-allocation-heading p{margin:0;font:.875rem/1.65 system-ui,sans-serif}.stats-budget{text-align:center;background:#e8dcc0;border:1px solid #c5b28a;border-radius:4px;min-width:85px;padding:.5rem;font:.875rem/1.6 system-ui,sans-serif}.stats-cards{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.stats-cards .stats-card{background:linear-gradient(135deg,#fff7e6,#eee1c3);border:1px solid #c3ae83;border-radius:5px;flex-direction:column;min-width:0;padding:.9rem;display:flex}.stats-card-heading{align-items:center;gap:.65rem;margin-bottom:.8rem;display:flex}.stats-card h3{margin:.2rem 0 0;font-size:1.2rem}.stats-card .realm-eyebrow{font-size:.875rem}.progression-emblem{color:#634827;background:#decca5;border:1px solid #b4a783;border-radius:4px 4px 14px 14px;flex-shrink:0;place-items:center;width:46px;height:51px;display:grid;box-shadow:inset 0 1px #fff5d9}.progression-emblem .pixel-art{width:36px;height:36px}.progression-emblem.agility{color:#425b48;background:#cad4b9;border-color:#a5b093}.progression-emblem.luck{color:#795331;background:#e3cf9f}.progression-emblem.intelligence{color:#516274;background:#cbd3cc;border-color:#a4afa7}.stats-sources{border-bottom:1px solid #cdbb95;grid-template-columns:repeat(3,1fr);gap:.25rem;padding-bottom:.7rem;display:grid}.stats-sources>span{color:var(--muted);font:.875rem/1.6 system-ui,sans-serif}.stats-sources strong{color:var(--ink);font:700 1.15rem Georgia,serif;display:block}.stats-card>p{margin:.7rem 0;font:.875rem/1.7 system-ui,sans-serif}.stats-preview{background:#e7dec5;border:1px solid #c2af88;border-radius:4px;padding:.55rem .6rem}.stats-preview>div{flex-wrap:wrap;justify-content:space-between;gap:.4rem;padding:.2rem 0;display:flex}.stats-preview>div>span{color:var(--muted);font:.875rem system-ui,sans-serif}.stats-preview strong{font:700 .875rem Georgia,serif}.stats-preview strong>span{color:#91754e;margin:0 .25rem}.stats-card .stats-reason{color:var(--brown);font-size:.875rem}.stats-card>button{margin-top:auto;padding:.6rem .5rem;font:.875rem system-ui,sans-serif}.stats-sheet{background:#efe2c4;position:sticky;top:1rem}.stats-sheet h3{margin:.4rem 0 .7rem;font-size:1.15rem}.stats-sheet>p{color:var(--muted);font:.875rem/1.7 system-ui,sans-serif}.stats-breakdown{border-top:1px solid #c5b188;padding:.7rem 0}.stats-breakdown summary{cursor:pointer;justify-content:space-between;align-items:center;gap:.6rem;font-size:.875rem;display:flex}.stats-breakdown summary>span:before{content:"+";width:14px;color:var(--gold);display:inline-block}.stats-breakdown[open] summary>span:before{content:"−"}.stats-breakdown summary strong{font-size:1.3rem}.stats-breakdown dl{margin:0;padding:.5rem 0 0 14px;font:.875rem/1.7 system-ui,sans-serif}.stats-breakdown dl>div{justify-content:space-between;gap:.5rem;display:flex}.stats-breakdown dd{margin:0}.stats-sheet-links{gap:.4rem;margin:.8rem 0;display:grid}.stats-sheet-links button{padding:.5rem;font:.875rem system-ui,sans-serif}.progression-feedback{color:#375b35;background:#edf0db;border:1px solid #b6bf96;border-radius:4px;margin:.7rem 0;padding:.65rem .75rem;font:.875rem/1.7 system-ui,sans-serif}.progression-feedback:empty{display:none}.progression-feedback.is-error{color:#81392f;background:#f2ded2;border-color:#cda791}.leaderboard-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.leaderboard-champion{text-align:center;color:var(--ink);text-shadow:none;background:linear-gradient(135deg,#f3ebd6,#e9dbbb);border:1px solid #bfa97c;flex-direction:column;align-items:center;gap:.35rem;padding:1.1rem .8rem;display:flex;box-shadow:0 2px 5px #4d3b1712}.leaderboard-champion.first{background:linear-gradient(135deg,#f5e8bd,#deca97);border-color:#a7803f}.leaderboard-champion>strong{overflow-wrap:anywhere;font-size:1.1rem}.leaderboard-champion>span:last-of-type,.leaderboard-champion>small{color:var(--muted);font:.875rem/1.7 system-ui,sans-serif}.leaderboard-medal{color:#8a6a36;margin-bottom:.3rem;font:2rem/1.1 Georgia,serif}.leaderboard-personal{background:#e7d8b7;border:1px solid #b6a17a;border-radius:5px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem 1rem;display:flex}.leaderboard-personal strong{margin:.35rem 0;font-size:1.3rem;display:block}.leaderboard-personal p{color:var(--muted);margin:0;font:.875rem/1.7 system-ui,sans-serif}.leaderboard-personal-actions{flex-wrap:wrap;gap:.4rem;display:flex}.leaderboard-personal-actions button{padding:.55rem .7rem;font:.875rem system-ui,sans-serif}.leaderboard-controls{grid-template-columns:minmax(0,1fr) 235px;gap:.8rem;margin-bottom:.7rem;display:grid}.leaderboard-controls label{font:.875rem system-ui,sans-serif}.leaderboard-controls input,.leaderboard-controls select{border-width:1px;min-width:0;padding:.6rem;font:.875rem system-ui,sans-serif}.leaderboard-filters{flex-wrap:wrap;gap:.35rem;margin-bottom:.7rem;display:flex}.leaderboard-filters button{border-width:1px;padding:.45rem .65rem;font:.875rem system-ui,sans-serif}.leaderboard-filters [aria-pressed=true]{color:#fff1d2;background:#5a4831;border-color:#5a4831}#leaderboard-results{margin-bottom:.8rem;font-size:.875rem}.standings-layout{grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:1rem;display:grid}.standings-list{min-width:0}.standings-table-wrap{background:#fbf5e5;border:1px solid #c5b18b;border-radius:5px;overflow:hidden}.standings-table{border-collapse:collapse;width:100%;box-shadow:none;border:0;margin:0;font-size:.875rem}.standings-table th{text-transform:uppercase;color:#6b5635;background:#e6d8b6;border-bottom:1px solid #bdaa80;padding:.7rem .5rem;font:.875rem system-ui,sans-serif}.standings-table td{font-variant-numeric:tabular-nums;border:0;border-bottom:1px solid #ded0b2;padding:.75rem .5rem}.standings-table tr.current{background:#eee3c3;box-shadow:inset 3px 0 #9b773a}.standings-table tr.selected{background:#e2e8d5}.standings-table td small{color:var(--muted);margin-top:.2rem;font:.875rem/1.6 system-ui,sans-serif;display:block}.standing-name{box-shadow:none;text-shadow:none;color:#643b26;text-align:left;overflow-wrap:anywhere;background:0 0;border:0;border-radius:2px;padding:0;font:700 .875rem/1.6 Georgia,serif;display:inline}.standing-name:hover:not(:disabled){text-decoration:underline}.standing-you{color:#64502a;background:#d9c99e;border-radius:3px;margin-left:.4rem;padding:.1rem .25rem;font:.875rem system-ui,sans-serif;display:inline-block}.standings-pagination{justify-content:space-between;align-items:center;gap:.5rem;padding:.8rem 0;display:flex}.standings-pagination button{padding:.45rem .6rem;font:.875rem system-ui,sans-serif}.standings-pagination>span{color:var(--muted);font:.875rem system-ui,sans-serif}.standing-inspector{background:#eee2c8;min-width:0;scroll-margin-top:1rem;position:sticky;top:1rem}.standing-inspector h3{overflow-wrap:anywhere;margin:.65rem 0;font-size:1.1rem}.standing-inspector p{font:.875rem/1.7 system-ui,sans-serif}.standing-inspector>button{width:100%;margin-top:.5rem;padding:.55rem;font:.875rem system-ui,sans-serif}.standing-inspector>.standing-close{width:-moz-fit-content;width:fit-content;margin:0 0 .65rem;padding:.4rem .5rem;font-size:.875rem;display:block}.standing-inspector:focus{outline:none}.standing-inspector:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.standing-empty{text-align:center;padding:1rem 0}.standing-empty>span{color:#907544;font:3rem Georgia,serif}.standing-comparison{border-top:1px solid #c6b18a;border-bottom:1px solid #c6b18a;margin:.7rem 0;padding:.5rem 0;font:.875rem/1.6 system-ui,sans-serif}.standing-comparison>div{grid-template-columns:1fr .8fr .8fr;gap:.4rem;padding:.4rem 0;display:grid}.standing-comparison strong{text-align:right;font:700 .875rem Georgia,serif}.standing-comparison-heading{color:var(--muted);font-size:.875rem}.standing-comparison-heading>span:not(:first-child){text-align:right}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:1100px){.stats-training{--stats-sheet-width:250px}.standings-layout{grid-template-columns:1fr}.standing-inspector{position:static}}@media (max-width:760px){.stats-training>.stats-allocation-heading,.stats-training>.progression-feedback{width:100%}.progression-milestones,.stats-layout{flex-direction:column;display:flex}.progression-milestones>*,.stats-layout>*{width:100%}.stats-sheet{position:static}.stats-card-heading{flex-wrap:wrap}.stats-card h3{font-size:1.1rem}.stats-cards .stats-card{padding:.75rem}.stats-sources{grid-template-columns:1fr}.stats-sources>span{justify-content:space-between;align-items:center;gap:.3rem;display:flex}.stats-sources strong{font-size:.95rem}.stats-allocation-heading{align-items:start}.stats-allocation-heading h3{font-size:1.1rem}.stats-card>button{min-height:44px}.stats-preview strong{font-size:.875rem}.leaderboard-podium{gap:.45rem}.leaderboard-champion{padding:.7rem .45rem}.leaderboard-champion>strong,.leaderboard-champion .realm-eyebrow{font-size:.875rem}.leaderboard-medal{font-size:1.65rem}.leaderboard-personal{flex-wrap:wrap;padding:.8rem}.leaderboard-personal-actions{width:100%}.leaderboard-personal-actions button{flex:1;min-height:44px}.leaderboard-controls{grid-template-columns:1fr;gap:.6rem}.leaderboard-controls input,.leaderboard-controls select{min-height:44px}.leaderboard-filters button{min-height:40px}.standings-layout{flex-direction:column;display:flex}.standings-list,.standing-inspector{width:100%}#leaderboard-workspace-root.has-selection .standing-inspector{order:-1}#leaderboard-workspace-root:not(.has-selection) .standing-inspector{display:none}.standings-table-wrap{background:0 0;border:0;overflow:visible}.standings-table,.standings-table tbody,.standings-table tr,.standings-table td{display:block}.standings-table thead{display:none}.standings-table tr{background:#f8f0dd;border:1px solid #c6b38d;border-radius:5px;margin-bottom:.65rem;padding:.6rem .75rem}.standings-table td{border:0;justify-content:space-between;gap:.7rem;padding:.25rem 0;font-size:.875rem;display:flex}.standings-table td:before{content:attr(data-label);color:var(--muted);font:.875rem system-ui,sans-serif}.standings-table td[data-label=Knight]{border-bottom:1px solid #d6c5a3;margin-bottom:.4rem;padding-bottom:.5rem;display:block}.standings-table td[data-label=Knight]:before{display:none}.standing-name{min-height:36px;font-size:.9rem}.standings-table td small{font-size:.875rem}.standings-pagination button,.standing-inspector>button{min-height:44px}.standing-inspector>.standing-close{min-height:40px}}@media (max-width:600px){.stats-cards{grid-template-columns:1fr}.stats-card-heading{flex-wrap:nowrap}.stats-sources{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-sources>span{display:block}}@media (max-width:360px){.leaderboard-podium{grid-template-columns:1fr}.leaderboard-champion{padding:.7rem}}.court-hero{background:#3c3c2d}.court-hero:after{background:linear-gradient(90deg,#343b2d 10%,#343b2df5 25%,#343b2d55 75%,#0000)}.court-hero.arena:after{background:linear-gradient(90deg,#44342c 10%,#44342cf5 25%,#44342c55 75%,#0000)}.court-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;margin-bottom:1rem;display:grid}.court-workspace .realm-card>p{line-height:1.7}.court-vitals{grid-template-columns:1fr 1fr;gap:.8rem;margin:.9rem 0;display:grid}.court-meter{min-width:0;padding:.55rem 0}.court-meter>div:first-child{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:.3rem;margin-bottom:.35rem;font:.875rem/1.6 system-ui,sans-serif;display:flex}.court-meter strong{color:var(--ink);font:700 1rem Georgia,serif}.court-meter [role=progressbar]{background:#daceb4;border:1px solid #bba77e;border-radius:3px;height:8px;overflow:hidden}.court-meter [role=progressbar]>span{background:#67825e;height:100%;display:block}.court-preview{background:#eee3c8;border:1px solid #cbbb98;border-radius:4px;margin:.8rem 0;padding:.85rem}.court-preview>span{color:#705936;font:.875rem/1.6 system-ui,sans-serif}.court-preview>div{grid-template-columns:1fr 1fr;gap:.35rem .8rem;margin-top:.45rem;display:grid}.court-preview strong{font-size:1.25rem}.court-preview>div>span{color:var(--muted);font:.875rem/1.6 system-ui,sans-serif}.court-preview>div>strong:nth-child(3){grid-area:1/2}.court-preview>div>span:nth-child(4){grid-area:2/2}.court-timer{margin:.8rem 0}.court-timer>strong{color:#615539;margin:.35rem 0 .55rem;font-size:1.65rem;display:block}.court-feedback{color:#375b35;background:#edf0db;border:1px solid #b6bf96;border-radius:4px;margin:.8rem 0;padding:.7rem .85rem;font:.875rem/1.7 system-ui,sans-serif}.court-feedback:empty{display:none}.court-feedback.is-error{color:#81392f;background:#f2ded2;border-color:#cda791}.court-feedback:focus{outline:none}.court-feedback:focus-visible{outline-offset:3px;outline:3px solid #9b6e27}.court-supplies{border-top:1px solid #cbbb98;margin-top:1rem;padding-top:.8rem}.court-supplies>summary,.court-transcript>summary,.court-combat-details>summary{cursor:pointer;color:#745536;font:.875rem/1.7 system-ui,sans-serif}.home-activity{background:#f5ead1;border:1px solid #cbbb98;border-radius:5px;margin:.8rem 0;padding:.8rem}.home-activity>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.4rem;display:flex}.home-activity>div:first-child>span{color:var(--muted);font:.875rem system-ui,sans-serif}.home-activity>button{min-height:40px;padding:.5rem .7rem;font:.875rem system-ui,sans-serif}.home-estate .realm-section-heading>button{min-height:40px;font:.875rem system-ui,sans-serif}.home-schedules{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.home-schedules>article{background:#f0e5cc}.home-schedules>article>strong{margin:.5rem 0;font-size:1.65rem;display:block}.home-schedules>article>p{min-height:2.8em;font:.875rem/1.7 system-ui,sans-serif}.home-schedules>article>p>time{color:var(--muted);font:.875rem/1.6 system-ui,sans-serif}.home-schedules button{min-height:40px;padding:.5rem .6rem;font:.875rem system-ui,sans-serif}.home-records{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:.75rem;margin-top:1rem;display:grid}.home-records summary{cursor:pointer;font-size:.95rem;font-weight:700}.home-records summary>span{color:var(--muted);margin:.4rem 0 0;font:.875rem system-ui,sans-serif;display:block}.home-record-body{padding-top:.8rem;font:.875rem/1.7 system-ui,sans-serif}.home-record-body>h3{display:none}.home-record-body .list{margin:0;padding-left:1rem}.home-records>details[open]:has(canvas){grid-column:1/-1}.home-combat .combat-list{grid-template-columns:1fr 1fr;gap:.75rem;max-height:none;display:grid;overflow:visible}.home-combat .combat-entry{background:#faf3e3;border:1px solid #c6b28b;border-radius:5px;margin:0;padding:.85rem}.home-combat .combat-entry h4{margin:0 0 .55rem;font-size:.9rem}.home-combat .combat-entry>p{color:var(--muted);font:.875rem/1.7 system-ui,sans-serif}.court-combat-details{margin-top:.6rem;font:.875rem/1.7 system-ui,sans-serif}.court-combat-details .turn-log{max-height:360px;margin-top:.5rem;overflow-y:auto}.arena-risk{background:#eddfc8;border-left:3px solid #a67653}.arena-combatants{margin:.7rem 0;padding:0;list-style:none}.arena-combatants li{border-bottom:1px solid #d2c1a0;align-items:center;gap:.6rem;padding:.7rem 0;display:flex}.arena-combatants strong{overflow-wrap:anywhere;font-size:.875rem;display:block}.arena-combatants small{color:var(--muted);font:.875rem/1.6 system-ui,sans-serif}.court-workspace .realm-card>button{min-height:44px;font:.875rem system-ui,sans-serif}.arena-entry>button{width:100%}.arena-journal{grid-template-columns:minmax(0,270px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.arena-reports{gap:.6rem;display:grid}.arena-report{text-align:left;color:var(--ink);text-shadow:none;background:#f3e7cc;border:1px solid #c1ab80;flex-direction:column;gap:.3rem;padding:.8rem;display:flex}.arena-report.selected{background:#e3e6d1;border-color:#7d8e65;box-shadow:inset 3px 0 #7d8e65}.arena-report>strong{overflow-wrap:anywhere;font-size:1rem}.arena-report>span:not(.court-result),.arena-report time{color:var(--muted);font:.875rem/1.7 system-ui,sans-serif}#arena-report-inspector{background:#f4ead4;scroll-margin-top:1rem}#arena-report-inspector:focus,#stable-inspector:focus{outline:none}#arena-report-inspector:focus-visible,#stable-inspector:focus-visible{outline-offset:3px;outline:3px solid #9b6e27}#arena-replay-position{color:var(--muted);font:.875rem system-ui,sans-serif}.court-transcript{border-top:1px solid #cbbb98;margin-top:.8rem;padding-top:.7rem}.court-transcript ol{padding-left:1.2rem;font:.875rem/1.7 system-ui,sans-serif}.court-transcript li{margin:.5rem 0}.stable-main{align-items:stretch}.stable-mount,.stable-upgrade{flex-direction:column;display:flex}.stable-mount-heading{align-items:center;gap:.8rem;margin:.4rem 0 .8rem;display:flex}.stable-mount-heading h3{margin:.2rem 0}.stable-mount-heading p{margin:.3rem 0 0}.stable-emblem{color:#765232;background:#dfcda6;border:1px solid #b8a57a;border-radius:4px 4px 17px 17px;flex-shrink:0;place-items:center;width:54px;height:60px;display:grid}.stable-emblem .pixel-art{width:42px;height:42px}.stable-mount>.realm-primary,.stable-upgrade>.realm-primary{width:100%;margin-top:auto}.stable-mount>.realm-links{margin-top:.65rem}.stable-upgrade{background:#eee1c3;scroll-margin-top:1rem}.stable-upgrade .realm-metrics{margin-top:0}.stable-comparison{border-block:1px solid #cbbb98;margin:.5rem 0 .8rem;padding:.5rem 0;font:.875rem/1.7 system-ui,sans-serif}.stable-comparison>div{flex-wrap:wrap;justify-content:space-between;gap:.4rem;padding:.4rem 0;display:flex}.stable-comparison dd{margin:0;font:.875rem Georgia,serif}.stable-comparison dd>span{color:#937146;margin:0 .5rem}.court-purchase-balance{color:#4d6040;font:.875rem system-ui,sans-serif}.stable-tiers{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.75rem;display:grid}.stable-tier{white-space:normal;text-align:left;min-width:0;color:var(--ink);text-shadow:none;background:#f2e6cd;border:1px solid #bda67c;flex-direction:column;align-items:start;gap:.45rem;padding:1rem;display:flex;overflow:visible}.stable-tier.selected{background:#e1e6d1;border-color:#75865f;box-shadow:inset 0 3px #75865f}.stable-tier strong{font:700 1.1rem Georgia,serif}.stable-tier>span:last-of-type,.stable-tier small{color:var(--muted);font:.875rem/1.7 system-ui,sans-serif}.stable-tier .tier-2{color:#566c45;background:#cdd8bf}.stable-tier .tier-3{color:#536875;background:#c7d3d4}.stable-tier .tier-4{color:#8f7037;background:#dfcf98}.court-back{display:none}@media (max-width:1100px){.home-schedules,.stable-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}.home-records{grid-template-columns:1fr}}@media (max-width:760px){.court-columns{grid-template-columns:1fr}.court-vitals{gap:.6rem}.court-hero .realm-scenery{opacity:.65;width:100%}.court-hero>div{max-width:100%}.home-schedules{gap:.6rem}.home-schedules>article{padding:.8rem}.home-schedules>article>strong{font-size:1.25rem}.home-combat .combat-list{grid-template-columns:1fr}.arena-journal{flex-direction:column;display:flex}.arena-reports,#arena-report-inspector{width:100%}#arena-report-inspector{order:-1}.arena-replay-controls label{flex-basis:100%}.arena-replay-controls button{min-height:44px}.stable-tier{padding:.75rem}.stable-tier strong{font-size:.95rem}.stable-tiers{gap:.6rem}.court-back{align-self:start;min-height:40px;margin:0 0 .8rem;font:.875rem system-ui,sans-serif;display:block}}@media (max-width:360px){.home-schedules,.court-vitals{grid-template-columns:1fr}.arena-replay-controls{gap:.3rem}}.stable-comparison-caption{color:#705936;margin:.5rem 0 0;font:.875rem/1.7 system-ui,sans-serif}.stable-upgrade>.court-supplies{margin:.5rem 0 .85rem;padding-top:.65rem}.music-player{background:#ffffff05;border:1px solid #a399795c;border-radius:6px;flex:0 220px;min-width:170px;padding:.25rem .5rem}.music-track-row,.music-controls{align-items:center;gap:.35rem;min-width:0;display:flex}.music-note{color:#d4bc85;font-size:1rem;line-height:1}.music-track-row select{color:#f5e8c8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;text-overflow:ellipsis;background:0 0;border:0;flex:1;width:0;min-width:0;padding:.3rem .15rem;font:.875rem system-ui,sans-serif}.music-track-row option{color:#f5e8c8;background:#343c2e}.music-player button svg{width:15px;height:15px}.music-controls input[type=range]{accent-color:#d4bc85;cursor:pointer;background:0 0;border:0;flex:1;width:0;min-width:0;height:32px;margin:0;padding:0}.music-volume{font-variant-numeric:tabular-nums;color:#cec4a8;min-width:3ch;font:.875rem system-ui,sans-serif}@media (max-width:720px){.music-track-row select{min-height:44px}.music-controls input[type=range]{height:44px}}.fief-name-trigger:hover{text-underline-offset:.15em;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.fief-name-edit{display:inline}.fief-input-wrap{vertical-align:baseline;min-width:3ch;max-width:100%;display:inline-grid}.fief-input-wrap>span,.fief-input-wrap>input{font:inherit;grid-area:1/1;min-width:0}.fief-input-wrap>span{visibility:hidden;white-space:pre;overflow:hidden}.fief-name-help,.fief-name-feedback{color:var(--muted);margin:.3rem 0;font:.875rem/1.5 system-ui,sans-serif;display:block}.raid-replay{background:#eee4cc;border:1px solid #bdab86;border-radius:5px;max-width:760px;padding:.7rem}.raid-replay-controls button{min-height:40px;padding:.4rem .65rem;font:.875rem system-ui,sans-serif}.raid-replay-controls>span{flex:200px;font:.875rem/1.6 system-ui,sans-serif}.raid-replay-scrubber{white-space:nowrap;flex-basis:100%;align-items:center;gap:.75rem;margin:.25rem 0;font:.875rem system-ui,sans-serif;display:flex}.raid-replay-scrubber input{accent-color:#62774e;width:100%;min-width:0;padding:0}.raid-replay-legend{color:#716046;flex-wrap:wrap;gap:.4rem .8rem;margin:.55rem 0 .7rem;font:.875rem/1.5 system-ui,sans-serif;display:flex}.raid-replay-legend>span{align-items:center;gap:.3rem;display:flex}.raid-replay-legend i{clip-path:polygon(0 0,100% 0,100% 70%,50% 100%,0 70%);background:#6893a1;width:10px;height:13px;display:inline-block}.raid-replay-legend .replay-attackers{background:#8e4439}.raid-replay-legend .replay-tower-fire{clip-path:none;background:#315b86;width:16px;height:2px}@media (max-width:720px){.raid-replay{padding:.5rem}.raid-replay-controls{gap:.35rem}.raid-replay-controls>span{flex-basis:100%}}@media (max-width:760px){#panel :is(.realm-workspace,#dungeon-workspace-root) button{min-width:44px;min-height:44px}.castle-map-options{flex-wrap:wrap}}.crafting-workshop{margin-bottom:1.25rem}.crafting-workshop summary{cursor:pointer;padding-block:.5rem;font-weight:700}#location-finder-button{align-items:center;gap:.6rem;display:flex}#location-finder-button kbd{font:.875rem system-ui,sans-serif}.location-finder{width:min(640px,100vw - 2rem);max-height:min(720px,100dvh - 2rem);color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:1.25rem;box-shadow:0 18px 70px #21170d55}.location-finder::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#21170d99}.location-finder-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.location-finder-heading h2{margin:.3rem 0 0}.location-finder>label{margin-bottom:.5rem;font:.875rem system-ui,sans-serif;display:block}.location-finder>input{width:100%;min-height:48px}.location-finder-hint{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin:.7rem 0 .6rem;font:.875rem system-ui,sans-serif;display:flex}#location-results{overscroll-behavior:contain;max-height:min(440px,55dvh);overflow-y:auto}#location-results button{text-align:left;width:100%;color:var(--ink);box-shadow:none;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem;display:flex}#location-results button[aria-selected=true],#location-results button:hover{background:var(--field);border-color:var(--line-soft)}#location-results strong{font-size:1rem;display:block}#location-results small{color:var(--muted);margin-top:.3rem;font:.875rem/1.6 system-ui,sans-serif;display:block}.location-group{color:var(--muted);flex-shrink:0;font:.875rem system-ui,sans-serif}.location-empty{color:var(--muted);padding:1rem}@media (max-width:600px){#location-finder-button kbd,.location-group{display:none}.location-finder{padding:1rem}}.raid-replay-view-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;font:.875rem system-ui,sans-serif;display:flex}.raid-replay-view-controls label,.replay-zoom-controls{align-items:center;gap:.4rem;display:flex}.raid-replay-view-controls select{width:auto;min-height:40px;padding:.35rem .5rem}.raid-replay-view-controls button{min-width:40px;min-height:40px;font:inherit;padding:.35rem .6rem}#raid-replay-zoom{text-align:center;min-width:3.5rem}.raid-replay-hint{color:var(--muted);margin:.6rem 0;font:.875rem/1.5 system-ui,sans-serif}.raid-replay canvas.replay-zoomed{touch-action:none;cursor:grab}.raid-replay canvas.replay-zoomed:active{cursor:grabbing}.pixel-art{image-rendering:pixelated;object-fit:contain;flex-shrink:0}.game-icon{width:20px;height:20px;display:block}.realm-scenery,.dungeon-scenery{object-fit:cover;object-position:center;image-rendering:pixelated}.village-building-emblem .pixel-art{width:95%;height:95%}.dungeon-destination-icon .pixel-art{object-fit:cover;border:1px solid #a38d60;width:36px;height:36px}.resource-art{vertical-align:middle;width:26px;height:26px;margin-right:.35rem}.armory-resource-list>span{align-items:center}#village-grid,#castle-grid,#world-map,#raid-replay-grid{image-rendering:pixelated}.recruitment-art{float:right;width:64px;height:64px;margin:0 0 .4rem .6rem}.village-region svg,.world-defense-plan svg{image-rendering:pixelated}.message-board{margin:1.5rem 0}.board-messages{gap:.6rem;margin:1rem 0;padding:0;list-style:none;display:grid}.board-message{background:var(--field);border:1px solid var(--line-soft);border-radius:5px;min-width:0;padding:.75rem 1rem}.board-message>div{flex-wrap:wrap;justify-content:space-between;gap:.4rem 1rem;display:flex}.board-message strong{overflow-wrap:anywhere}.board-message time{color:var(--muted);font:.875rem/1.6 system-ui,sans-serif}.board-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.4rem 0 0}.message-board form>label{margin-bottom:.4rem;display:block}.message-board textarea{resize:vertical;width:100%;max-width:100%;min-height:80px;color:var(--ink);background:#fffaf0;border:2px solid #877866;border-radius:6px;padding:.6rem;font:1rem/1.5 system-ui,sans-serif;display:block}.message-board textarea:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.board-compose-meta,.board-compose-actions{justify-content:space-between;align-items:start;gap:.7rem;margin-top:.5rem;display:flex}.board-compose-meta{color:var(--muted);font:.875rem/1.5 system-ui,sans-serif}#board-counter{white-space:nowrap}.board-compose-actions{flex-wrap:wrap;align-items:center}#board-feedback{margin:0;font:.875rem/1.5 system-ui,sans-serif}#board-feedback[role=alert]{color:#8a262e}@media (max-width:500px){.message-board .realm-section-heading{flex-wrap:wrap}}.village-operation{background:#edf0df;border:1px solid #9fba89;border-radius:6px;margin:.85rem 0;padding:.8rem}.village-operation.is-disabled{background:#eee2cc;border-color:#baa37b}.village-operation>strong{font:700 .875rem system-ui,sans-serif;display:block}.village-operation p{margin:.5rem 0}.village-operation .realm-muted{margin-bottom:0}.village-build-card.is-disabled .village-building-emblem{filter:grayscale();opacity:.55}#game-view .village-build-card.is-disabled{color:#68665f;cursor:not-allowed;opacity:1;background:#e2e0da!important;border-color:#aaa79f!important}#game-view .village-build-card.is-disabled small{color:#68665f}.worker-tax-policies{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:1rem 0;display:grid}.worker-tax-policies button{flex-direction:column;gap:.35rem;padding:.7rem .4rem;display:flex}.worker-tax-policies button[aria-pressed=true]{color:#fff4db;opacity:1;background:#5c4930;border-color:#5c4930}.worker-tax-policies span{font-size:.875rem}.estate-production-scroll{overflow-x:auto}.estate-production{border-collapse:collapse;width:100%;font-size:.9rem}.estate-production th,.estate-production td{text-align:right;border-bottom:1px solid #d2be93;padding:.55rem .35rem}.estate-production th:first-child{text-align:left;text-transform:capitalize}.estate-production tr:focus,.estate-production tr:hover{background:#ece0c3}.horse-care-controls{flex-wrap:wrap;gap:.5rem;margin:1rem 0 .5rem;display:flex}.world-travelling-armies{padding-left:1.2rem}.world-travelling-armies li{margin:.6rem 0}.world-travelling-armies span{color:#6b5b44;font-size:.875rem;display:block}.stable-emblem.tier-5{color:#435455;background:#d3d7d5}.stable-emblem.tier-6{color:#554360;background:#d2c6d8}@media (max-width:480px){.worker-tax-policies{grid-template-columns:1fr}}.leaderboard-admin{border-top:1px solid var(--line,#cdbb94);gap:.75rem;margin-top:1rem;padding-top:1rem;display:grid}.leaderboard-admin label{gap:.35rem;display:grid}.leaderboard-admin input,.leaderboard-admin select{width:100%;min-width:0}.leaderboard-admin h4,.leaderboard-admin p{margin:0}.leaderboard-activity{vertical-align:middle;background:#969c9c;border:1px solid #5d6262;border-radius:50%;flex-shrink:0;width:.65rem;height:.65rem;margin-right:.35rem;display:inline-block}.leaderboard-activity.is-online{background:#3d9347;border-color:#235a29}:root{--ux-ink:#3c3428;--ux-muted:#554a39;--ux-danger:#922e2e}.game-shell :is(button,input,select,textarea,summary){font-size:1rem}.game-shell :is(label,small,.realm-muted,.dungeon-muted,.realm-eyebrow,.item-kicker,.castle-help,.header-eyebrow){font-size:.875rem}.game-shell :is(button,input,select,textarea){min-height:44px}.game-shell :is(button,input,select,textarea,label){font-family:system-ui,sans-serif}.game-shell :is(.realm-muted,.dungeon-muted,.castle-help,.item-owned,.item-kicker,.realm-eyebrow){color:var(--ux-muted)}.game-shell :is(.realm-hero,.court-hero) .realm-eyebrow{color:#f0ddb4}.game-shell .realm-negative,.estate-production tr.is-deficit td:last-child{color:var(--ux-danger);font-weight:700}.realm-neutral{color:var(--ux-muted)}.realm-reason:empty{display:none}.court-columns:has(.home-recovery):not(:has(.home-issues)){grid-template-columns:1fr}.home-plans{margin-top:1rem}.game-shell :is(button[data-action],.realm-primary,.dungeon-enter,.daily-gift-button):not(.secondary):not(.danger):not([data-action=navigate]):not(.fief-name-trigger){color:#fff7e6;background:#31543a;border-color:#31543a}.game-shell button.secondary:not(.active):not([aria-pressed=true]){color:#473a2d}.game-shell button:disabled{opacity:.65}.game-shell button[aria-pressed=true],.game-shell .arena-report.selected{outline-offset:-2px;outline:2px solid #746039}.game-shell :focus-visible{outline-offset:3px;outline:3px solid #805b1d}.realm-hero,.court-hero{min-height:0;padding:1rem}.realm-hero .realm-scenery{max-height:170px}.commerce-inspector-empty,.standing-empty{min-height:0;padding:.75rem}.commerce-inspector-empty .large{display:none}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.market-rows{grid-template-columns:1fr;gap:.5rem;display:grid}.market-rows .item-card{grid-template-columns:minmax(0,1fr) auto;gap:.4rem .75rem;padding:.65rem;display:grid}.market-rows .item-card-heading{grid-column:1}.market-rows .item-emblem{width:48px;height:48px}.market-rows .item-stats,.market-rows .item-owned,.market-rows .item-effect{margin:.15rem 0}.market-rows .item-prices{border:0;grid-area:1/2;padding:0}.market-rows .item-actions{grid-column:1/-1;margin-top:.3rem}.commerce-relevance,.market-pagination{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.75rem 0;display:flex}.future-equipment{grid-column:1/-1}.future-equipment>summary{cursor:pointer;padding:.65rem}.future-equipment .item-card{margin-top:.5rem}.game-shell .fief-name-trigger{min-height:24px}@media (max-width:760px){.market-rows .item-card{grid-template-columns:minmax(0,1fr)}.market-rows .item-prices{grid-area:auto/1}}.bank-body>.realm-hero{padding:.75rem}.bank-body>.realm-hero .realm-scenery{max-height:100px}.bank-body>.realm-hero h3{font-size:1.2rem}.bank-body>.realm-hero p{margin:.3rem 0}.home-community{margin:1rem 0}.home-community>summary{cursor:pointer;border:1px solid #cbbb98;border-radius:4px;padding:.75rem}.home-community>summary span{color:#554a39;overflow-wrap:anywhere;display:block}.recorded-playback>summary{cursor:pointer;padding:.5rem 0}.village-work-modes{flex-wrap:wrap;gap:.5rem;margin:.75rem 0;display:flex}.village-management{grid-template-columns:1fr}.village-upgrade-preview{background:#f9f1df;border:1px solid #c7b58c;padding:.65rem}.estate-production tr.is-deficit{background:#f4dfd5}.estate-production details{white-space:normal;min-width:12rem}.castle-map-viewport,.village-map-viewport{aspect-ratio:auto;contain:layout paint;height:clamp(260px,65vh,720px)}#castle-grid,#village-grid{max-width:none;max-height:none}#castle-input-mode{color:#403525;font:700 .875rem system-ui,sans-serif;display:block}@media (max-width:760px){.castle-map-viewport,.village-map-viewport{height:min(80vw,65vh);min-height:240px}}.standing-empty{padding:.5rem}.realm-body :is(p,li,dt,dd,td,th),.dungeon-main :is(p,li,dt,dd,td,th){font-family:system-ui,sans-serif}.item-emblem.art-failed:after{content:attr(data-art-fallback);color:#493e2c;overflow-wrap:anywhere;text-align:center;font:700 .875rem system-ui,sans-serif}.item-emblem.art-failed .pixel-art{display:none}.commerce-inspector{max-height:calc(100dvh - 1rem);overflow:auto}@media (max-height:650px),(max-width:760px){.commerce-inspector{max-height:none;position:static}}@media (max-width:760px){.realm-heading{padding:1rem}.realm-hero,.realm-body{padding:.75rem}}[data-journal-row][hidden]{display:none!important}.journal-search{margin:.65rem 0;display:block}.journal-search input{width:100%;max-width:30rem;display:block}.stable-emblem{position:relative}.stable-emblem .tier-mark{box-sizing:border-box;text-align:center;z-index:1;color:#342c20;background:#fff7df;border:2px solid #564124;border-radius:3px;min-width:1.6rem;padding:.15rem;font:700 .875rem system-ui,sans-serif;position:absolute;bottom:-.35rem;right:-.35rem}.stable-emblem.tier-2{border-style:double;border-width:5px}.stable-emblem.tier-3{border-radius:50%}.stable-emblem.tier-4{isolation:isolate;background:0 0;border:0}.stable-emblem.tier-4:before{content:"";z-index:-1;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);background:#dfcf98;border:1px solid #b8a57a;position:absolute;inset:0}.stable-emblem.tier-5{border-width:5px;border-radius:50% 50% 15% 15%}.stable-emblem.tier-6{outline-offset:3px;outline:3px double #655028}#castle-grid,#village-grid{margin-inline:auto}.game-shell :is(.header-tax small,.header-raid small,.header-gold small,.castle-map-title small){color:var(--ux-muted)}.arena-reports{max-height:24rem;overflow-y:auto}.game-shell button.secondary[aria-pressed=true]{color:var(--ux-ink);background:#e5d4ac;border-color:#746039}.scriptorium-banner{background:#e8dcc0;border:3px double #796044;align-items:center;gap:1rem;padding:1.2rem;display:flex;box-shadow:inset 1px 1px #fff7df,inset -1px -1px #ac9570}.scriptorium-banner h3{margin:.25rem 0 .5rem;font-size:1.45rem}.scriptorium-banner p{color:#5f5141;max-width:65ch;margin:0}.scriptorium-banner>button{flex-shrink:0;margin-left:auto}.scriptorium-seal .pixel-art{object-fit:contain;width:70px;height:70px}.research-desk{grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0;display:grid}.research-current,.research-standing{background:#f7efd9;border:2px solid #8c7454;box-shadow:inset 1px 1px #fffcef,2px 2px #c2ad89}.research-current>p,.research-active{margin:0;padding:1rem}.research-titlebar{color:#fff0cf;background:linear-gradient(#70442e,#4c2a1f);border-bottom:2px solid #382218;padding:.65rem .9rem}.research-titlebar h3{color:inherit;margin:0;font-size:1.15rem}.research-titlebar small{color:#dcc19a;text-transform:uppercase;letter-spacing:.1em;font:11px/1.6 Verdana,sans-serif}.research-active>strong{font-size:1.25rem}.research-active p{margin:.5rem 0}.research-timer{color:#6f322b;justify-content:space-between;margin:.75rem 0 .4rem;display:flex}.research-timer>span:first-child{font-weight:700}.research-active progress,.rank-next progress{accent-color:#7b2334;width:100%;height:12px}.research-standing{align-items:center;gap:1rem;padding:1rem;display:flex}.research-standing h3{margin:.25rem 0}.research-standing p{margin:.3rem 0}.research-standing small{color:var(--muted)}.research-bonuses{background:#e9e6cf;border:1px solid #a79674;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-bottom:1.25rem;padding:.9rem 1rem;font:13px/1.6 Verdana,sans-serif;display:flex}.research-bonuses>strong{color:#34543d}.research-branches{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.research-branch{background:#eee2c7;border:2px solid #806849;min-width:0;box-shadow:2px 2px #c3b292}.research-branch>header{align-items:center;gap:.6rem;display:flex}.research-branch>header .pixel-art{object-fit:contain;width:40px;height:40px}.research-motto{color:#6a5742;border-bottom:1px solid #bba47c;min-height:4rem;margin:0;padding:.8rem;font-size:.9rem;font-style:italic}.research-branch ol{margin:0;padding:0;list-style:none}.research-study{background:#f7efd9;border-bottom:1px solid #baa583;padding:1rem;position:relative}.research-study:last-child{border-bottom:0}.research-study+.research-study:before{content:"↓";text-align:center;color:#92774e;background:#f7efd9;width:1.5rem;font-size:.85rem;position:absolute;top:-.6rem;left:1.15rem}.research-study-heading{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.research-order{color:#806849;border:1px solid #b8a17a;padding:.15rem .25rem;font:700 11px/1.6 Verdana,sans-serif}.research-study h4{flex:1;margin:0;font-size:1.05rem}.research-status{text-transform:uppercase;color:#796144;font:10px/1.6 Verdana,sans-serif}.research-benefit{margin:.7rem 0;font-size:.95rem;line-height:1.45}.research-requirements{color:#6b5c48;font:11px/1.65 Verdana,sans-serif}.research-requirements>span{display:block}.research-price{margin:.8rem 0 .6rem;font:12px/1.65 Verdana,sans-serif}.research-price>strong,.research-price>span{display:block}.research-price>span{color:#78694f}.research-study>button{border-radius:2px;width:100%;font-size:.9rem}.research-reason{color:#725d49;margin:.6rem 0 0;font-size:.85rem;line-height:1.4}.research-study.is-learned{background:#e7ead6;box-shadow:inset 3px 0 #5a744c}.research-study.is-learned:before{background:#e7ead6}.research-study.is-studying{background:#f0e0b9;box-shadow:inset 3px 0 #ad7c29}.research-study.is-locked,.research-study.is-locked:before{background:#eae1cf}.research-learned{color:#47623b;margin-top:.8rem;font:11px/1.5 Verdana,sans-serif;display:block}.research-footnote{color:#655740;border:1px solid #b8a17e;margin-top:1.2rem;padding:1rem;font-size:.9rem}.research-footnote>p{margin:0 0 .7rem}.research-footnote>.realm-muted{margin:.8rem 0 0}.rank-portrait{background-image:url(/assets/hierarchy-DvHjaJ-K.png);background-size:600% 400%;background-position:var(--portrait-x) var(--portrait-y);width:112px;height:112px;image-rendering:pixelated;border:3px ridge #ae8d57;flex-shrink:0;display:block;box-shadow:0 1px 4px #4d30184d}.rank-portrait.is-large{border-width:5px;width:176px;height:176px}.rank-profile{background:linear-gradient(110deg,#e4d3ae,#f3e9d0);border:3px double #806342;align-items:center;gap:1.5rem;padding:1.5rem;display:flex}.rank-profile>div:not(.rank-successor){flex:1;min-width:0}.rank-profile h3{color:#5c2330;margin:.3rem 0;font-size:1.7rem}.rank-profile p{color:#6c5940;margin:.3rem 0 .7rem}.rank-next{margin-bottom:.8rem;font-size:.95rem}.rank-next progress{max-width:480px;margin-top:.6rem;display:block}.rank-successor{text-align:center;flex-direction:column;align-items:center;gap:.4rem;max-width:160px;font-size:.9rem;display:flex}.rank-successor small{color:#78654a}.rank-guide{color:#65533d;margin:1.2rem 0;font-size:.95rem}.rank-ladder{grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;gap:.85rem;display:grid}.rank-card{background:#f5ecd6;border:2px solid #b39b74;box-shadow:2px 2px #d3c4a6}.rank-card>summary{cursor:pointer;text-align:center;padding:.75rem;list-style:none}.rank-card>summary::-webkit-details-marker{display:none}.rank-card>summary:focus-visible{outline-offset:3px;outline:3px solid #7e2434}.rank-card>summary:hover{background:#e9dabb}.rank-card .rank-portrait{aspect-ratio:1;width:100%;max-width:128px;height:auto;margin:.7rem auto}.rank-card h3{min-height:2.6em;margin:.6rem 0 .35rem;font-size:1rem}.rank-card-top{color:#736046;justify-content:space-between;gap:.25rem;font:10px/1.5 Verdana,sans-serif;display:flex}.rank-card-top>span{color:#7e6543}.rank-card.is-current{border-color:#81273c;box-shadow:0 0 0 2px #e6cba0}.rank-card.is-current .rank-card-top>span{color:#7e2035;font-weight:700}.rank-card.is-attained{border-color:#778163}.rank-threshold{color:#6d4f28;font:700 12px/1.6 Verdana,sans-serif;display:block}.rank-social{color:#7c6c53;margin:.4rem 0;font-size:.75rem;display:block}.rank-card-hint{color:#702e39;font-size:.75rem}.rank-privileges{border-top:1px solid #b8a17b;padding:.8rem;font-size:.85rem;line-height:1.4}.rank-privileges ul{margin:.6rem 0;padding-left:1rem}.rank-privileges li+li{margin-top:.6rem}.rank-privileges small{color:#6e604a;display:block}.rank-privileges p{margin:.6rem 0 0}@media (max-width:1200px){.rank-ladder{grid-template-columns:repeat(4,minmax(0,1fr))}.research-branches{gap:.6rem}.research-study{padding:.8rem}}@media (max-width:900px){.research-branches{grid-template-columns:1fr}.research-branch ol{grid-template-columns:1fr 1fr;display:grid}.research-study{border:1px solid #c7b28b}.research-study+.research-study:before{display:none}.research-motto{min-height:0}.scriptorium-banner{flex-wrap:wrap}.scriptorium-banner>button{margin-left:0}.rank-successor{display:none}}@media (max-width:600px){.research-desk,.research-branch ol{grid-template-columns:1fr}.rank-ladder{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.rank-profile{align-items:flex-start;gap:.8rem;padding:1rem}.rank-portrait.is-large{border-width:3px;width:96px;height:96px}.rank-profile h3{font-size:1.25rem}.scriptorium-seal{display:none}.scriptorium-banner h3{font-size:1.2rem}.research-bonuses{font-size:11px}.rank-card>summary{padding:.6rem}.rank-card h3{font-size:.95rem}}.world-reset-panel{background:#f1dfb8;border:2px ridge #9b7649;margin-bottom:16px}.world-reset-countdown{color:#8b1530;font:700 28px monospace;display:block}.castle-construction{background:#261d161f;border:1px solid #8c714a;margin:12px 0;padding:12px}.castle-construction ol{margin:8px 0;padding-left:0;list-style:none}.castle-construction li{border-top:1px dotted #8c714a;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:5px 0;display:flex}.castle-construction li span{font-size:.85rem}#game-view .commerce-cards .item-card{background:linear-gradient(#f5ecd6,#e8d8b5);border:1px solid #bca77f;flex-direction:column;align-items:stretch;gap:.35rem;min-width:0;padding:.8rem;display:flex}#game-view .commerce-cards .item-card-heading{flex-wrap:nowrap;align-items:center;gap:.6rem;margin:0}#game-view .commerce-cards .item-actions{flex-wrap:wrap;align-items:end;gap:.4rem;margin-top:auto;display:flex}#game-view .commerce-cards .item-stats{flex-wrap:wrap;gap:.3rem .7rem;display:flex}#game-view .commerce-cards .item-owned{margin:.2rem 0}.card-workspace{gap:1rem;display:grid}.card-wheel-panel{grid-template-columns:minmax(240px,320px) minmax(0,1fr);align-items:center;gap:1.4rem;display:grid}.card-wheel{aspect-ratio:1;isolation:isolate;border-radius:50%;width:100%;max-width:320px;margin:auto;position:relative;overflow:hidden}.card-wheel-rotor{will-change:transform;position:absolute;inset:0}.card-wheel-face{border-radius:50%;position:absolute;inset:11%;box-shadow:inset 0 0 20px #2d190f66}.card-wheel-rim{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.card-wheel-spoke{transform-origin:50% 100%;background:#e7c96b;width:2px;height:38%;position:absolute;bottom:50%;left:calc(50% - 1px);box-shadow:1px 0 #4b331d}.card-wheel-tile{z-index:1;pointer-events:none;color:#fff7e3;min-width:76px;transform:translate(-50%,-50%) rotate(calc(-1 * var(--wheel-rotation,0deg)));text-shadow:1px 1px #352914;flex-direction:column;align-items:center;gap:4px;font:700 clamp(10px,1vw,12px)/1.2 system-ui,sans-serif;display:flex;position:absolute}.card-wheel-tile .pixel-art{object-fit:contain;filter:drop-shadow(1px 2px #25180f55);width:44px;height:44px;display:block}.card-wheel-tile.legendary{color:#2a1d0d;text-shadow:0 1px #eacd7a}.card-wheel-hub{z-index:2;aspect-ratio:1;background:radial-gradient(circle at 35% 30%,#e8d08c,#b38937 45%,#674214);border:3px solid #6c4a1d;border-radius:50%;width:12%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #deb768,2px 2px 3px #24180c}.card-wheel-pointer{z-index:3;color:#f5da85;text-shadow:-1px -1px #573b17,1px -1px #573b17,2px 3px #402b13;font:28px/1 system-ui,sans-serif;position:absolute;top:3%;left:50%;transform:translate(-50%)}.card-wheel[data-phase=waiting] .card-wheel-pointer,.card-wheel[data-phase=landing] .card-wheel-pointer{color:#fff1c2}.card-wheel-status{min-height:1.5em;font-weight:600}.card-wheel-legend{flex-wrap:wrap;gap:.5rem 1rem;margin:.5rem 0;display:flex}.card-wheel-legend>span{align-items:center;gap:.4rem;font-size:.85rem;display:inline-flex}.card-wheel-legend i{border:1px solid #5f492b;flex:0 0 12px;width:12px;height:12px;display:inline-block}.card-wheel-note{margin-bottom:0}.card-spin-results[hidden]{display:none}.trading-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.8rem;display:grid}.trading-card{--card-colour:#796544;border:2px solid var(--card-colour);background:#f5ecd6;border-radius:8px;flex-direction:column;min-width:0;display:flex;overflow:hidden;box-shadow:0 3px 8px #42300f18}.trading-card.uncommon,.card-draw.uncommon{--card-colour:#53714c}.trading-card.rare,.card-draw.rare{--card-colour:#76618d}.trading-card.legendary,.card-draw.legendary{--card-colour:#b38220}.trading-card.unowned{background:#ece3ce}.trading-card-art{border-bottom:1px solid var(--card-colour);background:radial-gradient(#ffffff50,#bdaa7420);place-items:center;padding:.65rem;display:grid}.trading-card-art img{object-fit:contain;width:144px;max-width:100%;height:144px}.trading-card-body{flex-direction:column;flex:1;gap:.5rem;padding:.8rem;display:flex}.trading-card-body h3,.trading-card-body p{margin:0}.trading-card-body button,.trading-card-body>.realm-muted{margin-top:auto}.card-spin-results>div{flex-wrap:wrap;gap:.6rem;display:flex}.card-draw{--card-colour:#796544;border:1px solid var(--card-colour);flex-direction:column;flex:1;align-items:center;gap:.3rem;min-width:130px;padding:.6rem;display:flex}.card-draw img{object-fit:contain;width:88px;height:88px}.card-draw small,.trading-card .item-kicker{text-transform:capitalize}@media (max-width:600px){.card-wheel-panel{grid-template-columns:1fr}.card-wheel{max-width:280px}}.parish-workspace{gap:1rem;display:grid}.parish-intro{align-items:center;gap:1.25rem;display:flex}.parish-hall{object-fit:contain;flex-shrink:0;width:160px;height:160px}.parish-council-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:1rem;display:grid}.parish-candidates{gap:.4rem;max-height:360px;display:grid;overflow:auto}.parish-candidates>div{border-top:1px solid #bca882;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.parish-candidates small,.parish-project>div:first-child>span,.parish-battle>span{display:block}.parish-stores{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.4rem;display:grid}.parish-stores>div{background:#eadbbc;border:1px solid #b7a076;align-items:center;gap:.45rem;padding:.45rem;display:flex}.parish-stores strong,.parish-stores small{display:block}.parish-stores .rare-good{background:#e3dfcc;border-color:#7c8362}.parish-treasury-form{flex-wrap:wrap;align-items:end;gap:.6rem;margin:1rem 0;display:flex}.parish-workspace label{flex-direction:column;gap:.25rem;display:flex}.parish-workspace input[type=number]{width:95px;max-width:100%}.parish-workspace select{max-width:100%}.parish-projects{gap:.8rem;display:grid}.parish-project{background:#f3e9d1;border:1px solid #b6a077;padding:.75rem}.parish-project-ledger{flex-wrap:wrap;gap:.4rem;margin:.6rem 0;display:flex}.parish-project-ledger>span{border:1px solid #b8a179;align-items:center;gap:.3rem;padding:.35rem;display:flex}.parish-project-ledger .funded{background:#dce4ce;border-color:#648163}.parish-donation-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem;margin-top:.6rem;display:grid}.parish-donation-form{background:#ece0c5;gap:.35rem;padding:.5rem;display:grid}[data-parish-replay-stage] canvas{aspect-ratio:1;width:100%;max-width:576px;image-rendering:pixelated;border:2px solid #88703f;display:block}.parish-recruitment{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.65rem;display:grid}.parish-recruit-card{border:1px solid #b8a178;gap:.5rem;padding:.6rem;display:flex}.parish-recruit-card small{margin:.3rem 0;display:block}.parish-muster{border:1px solid #b8a178;gap:.75rem;margin:.7rem 0;padding:.75rem;display:grid}.parish-army-inputs{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.5rem;display:grid}.parish-battle{border-top:1px solid #b8a178;padding:.65rem 0}.parish-battle button{margin-top:.4rem}@media (max-width:800px){.parish-council-grid{grid-template-columns:1fr}}@media (max-width:480px){.parish-intro{gap:.5rem}.parish-hall{width:85px;height:85px}.parish-treasury-form{flex-direction:column;align-items:stretch}}.parish-feedback{z-index:5;color:#7c2c20;background:#f6e4c7;border:1px solid #a35336;padding:.6rem;position:sticky;top:4px}.parish-feedback:empty{display:none}.parish-donor-table{border-collapse:collapse;width:100%}.parish-donor-table th,.parish-donor-table td{text-align:left;border-bottom:1px solid #b8a178;padding:.55rem .65rem}.parish-donor-table th:last-child,.parish-donor-table td:last-child{text-align:right;white-space:nowrap}.parish-donor-table tbody th{overflow-wrap:anywhere}.parish-donor-table .current{background:#e3e7ce}.parish-donor-table small{font-weight:400}.parish-relic-summary{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.parish-relic-summary>.pixel-art{object-fit:contain;flex-shrink:0}.parish-relic-summary>div{min-width:0}.parish-shared-favours{background:#e3e7ce;margin:1rem 0;padding:.5rem .75rem}.parish-missions .quest-row{margin:.4rem 0}.parish-tax-settings form{flex-wrap:wrap;align-items:end;gap:.6rem;display:flex}.parish-tax-settings{border-top:1px solid #b8a178;margin-top:1rem;padding-top:.5rem}.parish-project progress{accent-color:#668357;width:100%;margin:.7rem 0;display:block}@media (max-width:480px){.parish-relic-summary{align-items:flex-start;gap:.6rem}.parish-relic-summary>.pixel-art{width:56px;height:56px}.parish-relics .parish-donor-table th,.parish-relics .parish-donor-table td{padding:.5rem .3rem;font-size:.875rem}}.ration-policies{gap:.5rem;margin:.75rem 0;display:grid}.ration-policies button{text-align:left;white-space:normal;flex-direction:column;gap:.3rem;display:flex}.ration-policies button[aria-pressed=true]{color:#fff4db;opacity:1;background:#5c4930;border-color:#5c4930}.ration-policies span,.ration-policies small{font-size:.85rem}.village-banquets{background:#f5ead4;border:1px solid #b9a27b;margin:1rem 0;padding:1rem}.banquet-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0;display:grid}.banquet-option{border:1px solid #b9a27b;min-width:0;padding:.8rem}.banquet-option h5{margin:0;font-size:1rem}.banquet-option button{white-space:normal;max-width:100%}.banquet-option summary{cursor:pointer}.banquet-receipt{border-left:3px solid #61764a;padding-left:.75rem}@media (max-width:760px){.banquet-options{grid-template-columns:1fr}}.armory-loadout{margin-bottom:1.2rem}.armory-gesture{color:var(--muted);margin:.4rem 0 1rem;font:.85rem/1.5 system-ui,sans-serif}.armory-equipped-count{font:.8rem system-ui,sans-serif}.armory-paperdoll{grid-template-columns:minmax(140px,1fr) minmax(150px,230px) minmax(140px,1fr);grid-template-areas:"backpack figure trinket""weapon figure armor""ranged figure shield""legendary legendary legendary";align-items:stretch;gap:.8rem;max-width:940px;margin:auto;display:grid}.armory-figure{isolation:isolate;grid-area:figure;justify-content:center;align-items:center;min-height:360px;display:flex;position:relative}.armory-figure-halo{z-index:-1;background:radial-gradient(#b29b6266,#0000 70%);border-radius:50%;position:absolute;inset:8% -5% 12%}.armory-figure .knight-appearance{margin-bottom:30px;transform:scale(1.1)}.armory-figure-name{text-align:center;font-size:.9rem;font-weight:700;position:absolute;bottom:2px}.armory-figure-name small{color:var(--muted);margin-top:.2rem;font:.75rem system-ui,sans-serif;display:block}.armory-held-weapon{object-fit:contain;width:94px;height:124px;position:absolute;top:98px;left:-37px;transform:rotate(-24deg)}.armory-held-shield{object-fit:contain;width:78px;height:90px;position:absolute;top:106px;right:-26px}.armory-body-backpack{grid-area:backpack}.armory-body-weapon{grid-area:weapon}.armory-body-ranged{grid-area:ranged}.armory-body-trinket{grid-area:trinket}.armory-body-armor{grid-area:armor}.armory-body-shield{grid-area:shield}.armory-body-legendary{grid-area:legendary;justify-self:center;width:min(100%,400px)}.armory-body-slot{background:#eadcbda6;border:1px solid #b69c6b;border-radius:5px;flex-direction:column;justify-content:center;min-width:0;padding:.65rem;transition:background .15s,border-color .15s,box-shadow .15s;display:flex;position:relative}.armory-body-slot.is-empty{background:#f8efd754;border-style:dashed}.commerce-workspace .armory-slot-target{text-align:left;width:100%;box-shadow:none;color:inherit;background:0 0;border:0;align-items:center;gap:.65rem;min-height:72px;padding:0;display:flex}.armory-slot-icon{background:#f5e9cc;border:1px solid #b69c6b88;border-radius:6px;flex:none;place-items:center;width:54px;height:62px;display:grid}.armory-slot-icon img{object-fit:contain;width:46px;height:54px}.armory-slot-copy{min-width:0}.armory-slot-copy small{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font:600 .65rem/1.3 system-ui,sans-serif;display:block}.armory-slot-copy strong{overflow-wrap:anywhere;margin:.2rem 0;font:650 .88rem/1.4 system-ui,sans-serif;display:block}.armory-slot-copy>span{color:var(--muted);font:.7rem/1.5 system-ui,sans-serif;display:block}.commerce-workspace .armory-remove{align-self:end;min-height:28px;margin-top:.35rem;padding:.25rem .45rem;font:.7rem system-ui,sans-serif}.armory-body-slot.is-selected{border-color:#75562a;box-shadow:inset 0 0 0 1px #75562a}.armory-body-slot.is-compatible{background:#dce8c7;border:2px dashed #40735b;box-shadow:0 0 0 3px #40735b22}.armory-body-slot.is-over{background:#c4dca7;border-style:solid;box-shadow:0 0 0 4px #40735b44}.armory-body-slot.is-incompatible{opacity:.48}.armory-slot-target:focus-visible{outline-offset:4px;outline:3px solid #315e71}[data-armory-drag]{cursor:grab}[data-armory-drag].is-dragging{opacity:.45;cursor:grabbing}.armory-pick[aria-pressed=true]{background:#dce8c7;outline:2px solid #40735b}.armory-placement-status{align-items:center;gap:.6rem;min-height:36px;display:flex}.armory-placement-status .commerce-feedback{margin:.5rem 0}.armory-pack-summary{align-items:center;gap:1.5rem}.armory-pack-summary>div:first-child{flex:1}.armory-storage-summary{flex-direction:column;gap:.35rem;max-width:220px;display:flex}.armory-storage-summary small{color:var(--muted);font:.75rem/1.4 system-ui,sans-serif}.armory-pack-cells{flex-wrap:wrap;gap:.35rem;margin-top:.65rem;display:flex}.commerce-workspace .armory-pack-cell{color:#4b3924;background:#f9efd9;border:1px solid #b69c6b;border-radius:4px;place-items:center;width:48px;height:56px;padding:3px;display:grid;position:relative;box-shadow:inset 0 1px 3px #846b3b33}.armory-pack-cell img{object-fit:contain;width:38px;height:44px}.armory-pack-cell strong{background:#f9efd9;border-radius:2px;padding:0 2px;font:700 .65rem system-ui,sans-serif;position:absolute;bottom:1px;right:3px}.armory-pack-cell.is-empty{color:#b39d70;background:0 0;border-style:dashed}@media (max-width:680px){.armory-paperdoll{grid-template-columns:minmax(96px,1fr) minmax(74px,110px) minmax(96px,1fr);gap:.35rem}.armory-body-slot{padding:.4rem}.commerce-workspace .armory-slot-target{text-align:center;flex-direction:column;align-items:center;gap:.3rem;min-height:120px}.armory-slot-icon{width:40px;height:42px}.armory-slot-icon img{width:36px;height:38px}.armory-slot-copy strong{font-size:.75rem}.armory-slot-copy>span{font-size:.62rem}.armory-figure .knight-appearance{transform:scale(.67)}.armory-figure{min-height:380px}.armory-figure-name{font-size:.75rem;bottom:42px}.armory-body-legendary .armory-slot-target{text-align:left;flex-direction:row;min-height:58px}.armory-pack-summary{flex-wrap:wrap}.armory-pack-summary>div:first-child{flex-basis:100%}.armory-storage-summary{max-width:none}.armory-equipped-count{font-size:.7rem}}.context-metrics{flex-wrap:wrap;gap:.7rem;margin:1rem 0;display:flex}.context-metrics>span{border-left:2px solid #aa8c51;padding:.65rem .85rem;font:.75rem/1.5 system-ui,sans-serif}.context-metrics strong{font:700 1.05rem Georgia,serif;display:block}.production-context{max-width:320px;color:var(--muted);margin-top:.35rem;font:.7rem/1.4 system-ui,sans-serif;display:block}.crawler-combat-actions .crawler-icon-button{flex-direction:column;justify-content:center;align-items:center;gap:3px;width:auto;min-width:76px;height:auto;min-height:62px;padding:6px 8px;display:flex}.crawler-control-label{text-align:center;max-width:125px;font:600 .7rem/1.25 system-ui,sans-serif}.crawler-combat-actions{flex-wrap:wrap}.crawler-turn-hint{color:#d1bc8e;align-items:center;gap:.6rem;padding:.65rem 0;font:.75rem system-ui,sans-serif;display:flex}.crawler-turn-hint>span:not([aria-hidden]){border:1px solid #635538;border-radius:3px;padding:.4rem .6rem}.arena-deadline-note{color:#c9ba9a;font:.7rem/1.4 system-ui,sans-serif}.armory-inventory{min-width:0}@media (min-width:1100px){.armory-workbench{grid-template-columns:minmax(420px,.9fr) minmax(0,1.1fr);align-items:start;gap:1.25rem;display:grid}.armory-workbench>.armory-loadout{border-right:1px solid #b69c6b66;padding-right:1rem;position:sticky;top:12px}.armory-paperdoll{grid-template-columns:minmax(118px,1fr) minmax(90px,130px) minmax(118px,1fr);gap:.5rem}.armory-figure .knight-appearance{transform:scale(.9)}.armory-slot-target{flex-direction:column;text-align:center!important;gap:.35rem!important}.armory-slot-copy>span{font-size:.65rem}.armory-body-slot{padding:.5rem}.armory-body-legendary .armory-slot-target{flex-direction:row;text-align:left!important}.armory-figure-name{font-size:.75rem}.armory-slot-copy strong{font-size:.78rem}.armory-inventory .commerce-layout{flex-direction:column;display:flex}.armory-inventory .commerce-inspector{box-sizing:border-box;order:-1;width:100%;display:none;position:static}.has-selection .armory-inventory .commerce-inspector{display:block}.armory-inventory .commerce-catalog{width:100%}.armory-inventory .armory-pack-summary{flex-wrap:wrap;gap:.75rem}.armory-inventory .armory-pack-summary>div:first-child{flex-basis:100%}.armory-inventory .commerce-filters{grid-template-columns:minmax(0,1fr) minmax(120px,.6fr)}.armory-inventory .commerce-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:380px){.armory-paperdoll{grid-template-columns:minmax(86px,1fr) 60px minmax(86px,1fr)}.armory-figure .knight-appearance{transform:scale(.5)}.armory-figure-name{max-width:75px;font-size:.65rem}}.armory-pack-summary{flex-wrap:wrap;display:flex}.armory-storage-summary{flex:1;min-width:150px}@media (min-width:1100px){.armory-inventory .armory-storage-summary{flex:150px;max-width:none}.armory-paperdoll{grid-template-rows:repeat(3,minmax(100px,auto)) auto}.commerce-workspace .armory-slot-target{flex-direction:row;min-height:70px;text-align:left!important}.armory-slot-icon{width:36px;height:46px}.armory-slot-icon img{width:32px;height:40px}.armory-slot-copy small{font-size:.6rem}.armory-slot-copy strong{font-size:.74rem}.commerce-workspace .armory-remove{min-height:23px;padding:2px 5px;font-size:.65rem}.armory-body-legendary{max-width:340px}}.armory-body-slot.is-empty .armory-slot-icon img{opacity:.4;filter:grayscale()}:root{--ink:#2a2118;--muted:#65523b;--line:#6c5130;--line-soft:#b39a6d;--paper:#eee0bd;--paper-deep:#dfcda4;--panel:#f3e8ce;--field:#fff5dd;--ux-ink:var(--ink);--ux-muted:var(--muted);--ux-danger:#8b2530;--ledger-heading:#63442d;--control-bevel:inset 1px 1px #ffffff30, inset -1px -1px #00000020}html{font-size:14px}body{color:var(--ink);background:#30261d;font:13px/1.35 Tahoma,Verdana,Arial,sans-serif}button,input,select,textarea{font:inherit}button{box-shadow:var(--control-bevel);text-shadow:none;background:#773d37;border:1px solid #542e28;border-radius:0;padding:3px 7px}button.secondary{color:#4c3226;background:#e6d4ac;border-color:#9f8355}input,select,textarea{background:var(--field);border:1px solid #9c8055;border-radius:0;padding:3px 5px}label{gap:3px;font-size:12px}p{margin-bottom:6px}#game-view :is(button,input,select,textarea,summary){font-size:13px}#game-view :is(button,input,select,textarea){min-height:25px;font-family:Tahoma,Verdana,Arial,sans-serif}#game-view :is(input,select,textarea):not([type=range]):not([type=checkbox]){padding:3px 5px}#game-view .fief-input-wrap>input{min-height:0;padding:0}#game-view :is(button,input,select,textarea):not(input[type=range]):not(input[type=checkbox]){border-radius:0}#game-view button{text-shadow:none;padding:3px 7px}#game-view :is(label,small,.realm-muted,.dungeon-muted,.realm-eyebrow,.item-kicker,.header-eyebrow){font-size:12px}#game-view :is(p,li,dt,dd,td,th,label,small){line-height:1.35}#game-view :is(p,li,dt,dd,td,th){font-family:Tahoma,Verdana,Arial,sans-serif}#game-view :focus-visible{outline-offset:1px;outline:2px solid #315b86}#game-view button.secondary:not(.active):not([aria-pressed=true]){color:#4c3226;background:#e7d7b3;border-color:#9f8355}#game-view :is(.realm-header,.panel,.card,.realm-card,.combat-entry,.equipment-section,.castle-workspace,.castle-detail,.castle-practice,.castle-plan-bar,.castle-materials,.dungeon-room-detail,.dungeon-expedition,.dungeon-pack,.dungeon-loadout,.stats-card,.stats-preview,.stats-budget,.standings-table-wrap,.leaderboard-personal,.board-message,.village-operation,.world-target-summary,.realm-rule,.realm-reason,.realm-outcome,.dungeon-reward-preview,.dungeon-risk,.dungeon-callout,.dungeon-outcome,.dungeon-turn-card,.raid-replay,.commerce-inspector){box-shadow:none;border-color:var(--line-soft);border-radius:0}#game-view :is(.realm-header,.panel,.card,.realm-card,.combat-entry,.equipment-section,.castle-workspace,.castle-detail,.castle-practice,.castle-plan-bar,.castle-materials,.dungeon-room-detail,.dungeon-expedition,.dungeon-pack,.dungeon-loadout,.stats-card,.stats-preview,.stats-budget,.standings-table-wrap,.leaderboard-personal,.board-message,.village-operation,.world-target-summary,.realm-rule,.realm-reason,.realm-outcome,.dungeon-reward-preview,.dungeon-risk,.dungeon-callout,.dungeon-outcome,.dungeon-turn-card,.raid-replay,.commerce-inspector):not(:focus-visible){outline:0}#game-view :is(.card,.realm-card,.stats-card,.combat-entry,.equipment-section,.castle-detail,.castle-practice,.castle-plan-bar,.dungeon-room-detail,.dungeon-expedition,.dungeon-pack,.dungeon-loadout,.board-message){background:var(--panel);padding:7px}#game-view .card{min-height:0}#game-view :is(.card,.realm-card,.stats-card)>h3{border-bottom:1px solid var(--line-soft);background:var(--paper-deep);margin:-7px -7px 6px;padding:4px 7px;font:700 15px/1.2 Georgia,Times New Roman,serif}#game-view .item-card h3{background:0 0;border:0;margin:0;padding:0}#game-view :is(.card,.realm-card,.stats-card) p{margin-top:4px;margin-bottom:6px}#game-view .realm-card>.realm-eyebrow{background:var(--paper-deep);margin:-7px -7px 0;padding:3px 7px 0;display:block}#game-view .realm-card>.realm-eyebrow+h3{margin-top:0}#game-view :is(.realm-eyebrow,.dungeon-eyebrow,.castle-eyebrow,.castle-section-label,.header-eyebrow,.item-kicker){letter-spacing:.03em;font-size:11px;line-height:1.3}.password-settings{min-width:0}.password-form{gap:8px;margin-top:8px;display:grid}.password-form label{gap:3px;display:grid}.password-form input{width:100%;min-width:0}.password-form p,.password-message{overflow-wrap:anywhere;margin:5px 0;font-size:12px;line-height:1.4}.password-actions{flex-wrap:wrap;gap:5px;display:flex}.password-error{color:#9f231b}.music-player{border-radius:0;width:100%;min-width:0;padding:3px}#game-view .music-player button{width:25px;min-height:25px}.music-track-row select{min-height:25px}.music-controls input[type=range]{height:25px;min-height:0}#game-view .fief-name-trigger{min-height:0;padding:0}.panel{border:1px solid var(--line);background:var(--paper);min-width:0;min-height:0;padding:8px}#game-error{margin:0}#game-view .page-strip button.location-locked{color:#66523f}.page-strip button.location-locked .game-icon{filter:grayscale()opacity(.55)}.page-strip .location-lock{color:#6b5843;white-space:nowrap;font-size:10px;font-weight:400}.notice-stack{z-index:1100;left:0;bottom:calc(max(16px, env(safe-area-inset-bottom)) + var(--shell-bottom,0px));box-sizing:border-box;pointer-events:none;flex-direction:column;align-items:flex-start;gap:8px;width:min(592px,100vw);padding-inline:16px;display:flex;position:fixed}.notice-stack>*{pointer-events:auto}#game-error:not(:empty){box-sizing:border-box;color:#6b1d12;cursor:pointer;background:#fbe9d4;border:2px solid #7a2a1f;border-radius:4px;width:100%;padding:10px 14px;font-weight:700;box-shadow:0 6px 18px #28140a59}#game-view .command-failed{outline-offset:2px;outline:3px solid #a3321f;animation:.4s ease-in-out 2 command-failed}@keyframes command-failed{50%{transform:translate(3px)}}@media (prefers-reduced-motion:reduce){#game-view .command-failed{animation:none}}#game-error:not(:empty):after{content:"×";float:right;margin-left:12px;font-size:1.2em;line-height:1}.error:empty{display:none}#game-view :is(.realm-heading,.dungeon-heading){background:var(--ledger-heading);color:#fff0cd;border-bottom:1px solid #3e281d;gap:8px;padding:6px 8px}#game-view :is(.realm-heading,.dungeon-heading) h2{margin:1px 0;font:700 20px/1.1 Georgia,Times New Roman,serif}#game-view :is(.realm-heading,.dungeon-heading)>div:first-child{grid-template-columns:auto minmax(0,1fr);align-items:baseline;column-gap:8px;min-width:0;display:grid}#game-view :is(.realm-heading,.dungeon-heading)>div:first-child>:is(.realm-eyebrow,.dungeon-eyebrow){grid-area:1/2}#game-view :is(.realm-heading,.dungeon-heading)>div:first-child>h2{grid-area:1/1}#game-view :is(.realm-heading,.dungeon-heading)>div:first-child>p{grid-column:1/-1}#game-view :is(.realm-heading,.dungeon-heading) :is(p,.realm-eyebrow,.dungeon-eyebrow){color:#ead7b1}#game-view :is(.realm-heading-stats,.dungeon-heading-stats){flex-wrap:wrap;gap:5px}#game-view :is(.realm-heading-stats,.dungeon-heading-stats)>span{color:#ead7b1;background:#513723;border-color:#a08055;border-radius:0;padding:3px 6px;font-size:11px}#game-view :is(.realm-heading-stats,.dungeon-heading-stats) strong{color:#fff0cd;margin-left:5px;font-size:13px;display:inline}.realm-body,.dungeon-main,.castle-main{padding:7px}#game-view :is(.realm-hero,.court-hero,.dungeon-hero){border:1px solid #786746;border-radius:0;min-height:0;margin-bottom:7px;padding:0}#game-view .realm-hero>div,#game-view .dungeon-hero-content{max-width:72%;padding:8px 10px}#game-view :is(.realm-hero,.dungeon-hero) h3{background:0 0;border:0;margin:3px 0;padding:0;font-size:18px}#game-view :is(.realm-hero,.dungeon-hero) p{max-width:65ch;margin:4px 0;font-size:12px;line-height:1.3}#game-view :is(.realm-tags,.dungeon-hero-tags){gap:3px}#game-view :is(.realm-tags,.dungeon-hero-tags) span{border-radius:0;padding:2px 4px;font-size:11px}#game-view :is(.realm-columns,.court-columns,.hunt-plan,.dungeon-chamber-layout,.dungeon-preparation,.progression-milestones,.stats-cards,.castle-management,.home-records,.home-schedules,.stable-tiers){gap:6px;margin-bottom:7px}#game-view :is(.realm-columns,.court-columns,.hunt-plan){margin-top:7px}#game-view .court-columns:has(.home-recovery):not(:has(.home-issues)){grid-template-columns:minmax(0,1fr)}.realm-section-heading,.commerce-section-heading,.dungeon-section-heading{gap:6px;margin-bottom:5px}#game-view :is(.realm-section-heading,.commerce-section-heading,.dungeon-section-heading) h3{margin:2px 0;font-size:16px}#game-view :is(.realm-journal,.dungeon-journal,.panel-section,.equipment-section){margin-top:8px;padding-top:7px}#game-view :is(.realm-rule,.realm-reason,.realm-outcome,.court-preview,.dungeon-risk,.dungeon-reward-preview,.dungeon-callout,.dungeon-outcome,.home-issue,.village-operation){margin-block:5px;padding:5px 7px}#game-view :is(.realm-metrics,.court-vitals,.dungeon-enemy-stats,.dungeon-run-rewards){gap:6px;margin-block:5px;padding-block:5px}#game-view :is(.realm-metrics,.court-preview,.home-schedules) strong{margin-bottom:2px;font-size:17px}#game-view :is(.realm-links,.court-filters,.filter-row,.row,.item-actions,.trade-presets,.commerce-categories,.commerce-relevance,.market-pagination,.village-work-modes){gap:4px;margin-block:5px}#game-view :is(.realm-supply,.court-supplies>div,.dungeon-consumables>div,.dungeon-loadout li,.court-checklist li,.castle-map-caption,.combat-entry p,.list li){padding-block:4px}#game-view :is(.commerce-feedback,.realm-feedback,.dungeon-feedback,.castle-message):empty{display:none}#game-view :is(.crafting-workshop,.home-community){margin-block:6px}#game-view .crafting-workshop>summary{padding:0}#game-view :is(.home-community>summary,.future-equipment>summary){background:var(--paper-deep);border-radius:0;padding:5px 7px}#game-view input[type=checkbox]{min-height:0}.home-schedules{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.home-schedules>article>p{min-height:0}#game-view .court-meter{padding-block:3px}#game-view .court-preview{border-radius:0}#game-view .court-preview>div{gap:3px 6px;margin-top:3px}#game-view .court-supplies{margin-top:6px;padding-top:4px}#game-view .court-feedback:empty{display:none}.home-records{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:6px}.home-records summary>span{margin-left:5px;display:inline}.home-community>summary span{display:inline}.board-messages{border:1px solid var(--line-soft);gap:0;margin:6px 0}#game-view .board-message{border:0;border-bottom:1px solid var(--line-soft)}#game-view .board-message:nth-child(2n){background:var(--paper-deep)}.commerce-layout{grid-template-columns:minmax(0,1fr) 250px;gap:6px}.commerce-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:5px}.market-rows{grid-template-columns:1fr}#game-view .market-rows .item-card{gap:3px 6px;padding:6px}.item-card-heading{gap:6px;margin-bottom:4px}#game-view .item-card-heading .item-emblem{width:36px;height:36px}#game-view .item-actions{flex-wrap:wrap;margin-top:4px;padding-top:4px;display:flex}.equipment-card-comparison{flex-basis:100%}#game-view .item-actions button{flex:0 auto;width:auto;min-width:0;font-size:12px}#game-view .item-actions .item-details-button{box-shadow:var(--control-bevel);flex-basis:auto}.market-rows .item-details{grid-column:1/-1;min-width:0}.market-rows .item-prices>span{overflow-wrap:anywhere;min-width:0}#game-view :is(.item-stats,.item-owned,.item-effect,.item-prices,.item-comparison){margin-block:3px;padding-block:3px}.commerce-filters{gap:6px;margin-block:6px}#game-view .commerce-filters .commerce-check{padding:3px 0}#game-view :is(.equipment-section,.armory-loadout,.armory-resources){margin-block:6px}#game-view .armory-loadout{padding-bottom:6px}#game-view .armory-pack-summary{gap:6px;margin-block:6px;padding:6px}.trade-totals>div,.commerce-ownership>span{padding-block:4px}.standings-layout{grid-template-columns:minmax(0,1fr) 240px;gap:6px}.standing-inspector-actions{border-top:1px solid var(--line-soft);gap:4px;margin-top:6px;padding-top:6px;display:grid}.standing-inspector-actions button{width:100%}#game-view :is(.leaderboard-champion,.leaderboard-personal){box-shadow:none;border-radius:0;padding:6px}.leaderboard-podium{gap:5px;margin-bottom:6px}.leaderboard-medal{margin:0;font-size:20px}.leaderboard-controls{gap:6px;margin-bottom:6px}#game-view :is(.leaderboard,.standings-table,.estate-production){border-collapse:collapse;font-size:12px}#game-view :is(.leaderboard,.standings-table,.estate-production) :is(td,th){border-bottom:1px solid var(--line-soft);padding:4px 6px}#game-view :is(.leaderboard,.standings-table,.estate-production) tbody tr:nth-child(2n){background:#e8d8b5}#game-view :is(.leaderboard,.standings-table,.estate-production) th{color:#4d3625;background:#dbc69d}.stats-layout{gap:6px}.stats-card-heading{margin-bottom:5px}.stats-sources,.stats-breakdown{padding-block:5px}#game-view .stats-card-heading h3{background:0 0;border:0;margin:0;padding:0}#game-view :is(.stats-card>p,.stats-sheet>p,.progression-milestones p){margin-block:5px}#game-view .world-workspace{grid-template-columns:175px minmax(0,1fr) 320px;align-items:start;gap:6px}#game-view .world-directory{padding:6px}#game-view .world-village-list{gap:3px;max-height:62vh}#game-view .world-village-list button{border-radius:0;padding:5px}#game-view .world-village-list :is(span,small){margin-top:2px;font-size:11px}#game-view .world-refresh{margin-top:5px}#game-view .world-map-section{background:var(--paper);border-radius:0;padding:6px}#game-view .world-map-toolbar h3{margin:2px 0 0}#game-view .world-map-legend{gap:4px 8px;margin:5px 0;font-size:11px}#game-view #world-map-help{margin:5px 0 0;font-size:11px}#game-view .world-inspector{scrollbar-width:thin;max-height:calc(100dvh - 12px);margin-top:0;position:sticky;top:6px;overflow-y:auto}#game-view .world-inspector>.realm-eyebrow{background:var(--ledger-heading);color:#f3e8ce;margin:-7px -7px 0;padding:3px 7px;display:block}#game-view .world-village-heading{border-bottom:1px solid var(--line-soft);background:var(--paper-deep);gap:4px;margin:0 -7px 6px;padding:4px 7px}#game-view .world-village-heading>div{min-width:0}#game-view .world-village-heading h3{background:0 0;border:0;margin:0;padding:0;font:700 15px/1.2 Georgia,Times New Roman,serif}#game-view .world-village-heading p{margin:3px 0 0;font-size:11px}#game-view .world-last-battle{border-bottom:1px solid var(--line-soft);margin:4px 0;padding-bottom:4px;font-size:11px}#game-view .world-scout{background:0 0;border-radius:0;flex-direction:row;align-items:center;gap:5px;margin:4px 0;padding:4px 0}#game-view .world-scout button{width:auto}#game-view .world-scout small{color:var(--muted);margin-left:5px;font-size:11px;display:inline}#game-view .world-scout{flex-wrap:wrap}#game-view .world-scout label{max-width:80px}#game-view .world-no-intel{margin:2px 0 5px;font-size:11px}#game-view .world-fold{background:0 0;border:0;border-radius:0;margin:5px 0 0;padding:0}#game-view .world-fold>summary{border-block:1px solid var(--line-soft);color:var(--ink);padding:4px 0;font-size:12px;font-weight:700}#game-view .world-latest-intel{margin:4px 0}#game-view .world-intelligence{margin:5px 0;font-size:12px}#game-view .world-intel-note{margin:4px 0;font-size:11px}#game-view .world-intel-troops{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;display:grid}#game-view .world-intel-troops>span{border:1px solid var(--line-soft);background:var(--paper);align-items:center;gap:5px;min-width:0;padding:3px;display:flex}#game-view .world-intel-troops small{font-size:10px;display:block}#game-view .world-intel-troops .world-troop-portrait{width:28px;height:28px}#game-view :is(.world-store-ledger,.world-building-ledger,.world-march-ledger){gap:0 8px;margin:5px 0;display:grid}#game-view .world-store-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}#game-view :is(.world-store-ledger,.world-building-ledger,.world-march-ledger)>div{border-bottom:1px solid #b39a6d55;justify-content:space-between;align-items:baseline;gap:5px;padding:3px 0;display:flex}#game-view :is(.world-store-ledger,.world-building-ledger,.world-march-ledger) dt{color:var(--muted);font-size:11px}#game-view :is(.world-store-ledger,.world-building-ledger,.world-march-ledger) dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}#game-view .world-defense-plan svg{width:min(100%,290px);margin:5px auto}#game-view .world-attack-heading{gap:3px;margin:6px 0 4px}#game-view .world-attack-heading h4{font:700 15px/1.2 Georgia,Times New Roman,serif}#game-view .world-attack-heading>span{font-size:11px}#game-view .world-troop-grid{border:1px solid var(--line-soft);grid-template-columns:1fr;gap:0}#game-view .world-troop-grid label{border:0;border-bottom:1px solid var(--line-soft);background:var(--paper);border-radius:0;grid-template-columns:36px minmax(0,1fr) 58px;gap:6px;padding:4px;display:grid}#game-view .world-troop-grid label:nth-child(2n){background:var(--panel)}#game-view .world-troop-grid label:last-child{border-bottom:0}#game-view .world-troop-grid :is(strong,small){font-size:12px}#game-view .world-troop-grid small{margin:1px 0 0;font-size:11px}#game-view .world-troop-portrait{object-fit:contain;width:36px;height:36px;image-rendering:pixelated;background:var(--paper-deep);border:1px solid var(--line-soft);display:block}#game-view .world-troop-grid input{width:58px;padding:3px}#game-view .world-army-presets{align-items:center;gap:4px;margin:5px 0}#game-view .world-army-presets [data-action=navigate]{margin-left:auto}#game-view .world-sabotage{border:1px solid var(--line-soft);background:var(--paper);cursor:pointer;align-items:start;gap:6px;margin:5px 0;padding:4px;display:flex}#game-view .world-sabotage input{flex:0 0 14px;width:14px;height:14px;min-height:0;margin:2px 0 0}#game-view .world-sabotage small{color:var(--muted);margin-top:2px;font-size:10px;display:block}#game-view .world-march-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}#game-view .world-inspector .realm-reason{margin:5px 0;padding:4px 6px;font-size:11px}#game-view :is(#world-attack,#world-delivery){width:100%;margin:3px 0 0}#game-view .world-bounty{margin:5px 0;font-size:12px}#game-view .world-cargo-grid{border:1px solid var(--line-soft);grid-template-columns:1fr;margin:5px 0;display:grid}#game-view .world-cargo-grid label{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:5px;padding:3px 5px;display:flex}#game-view .world-cargo-grid label:last-child{border-bottom:0}#game-view .world-cargo-grid label:nth-child(odd){background:var(--paper)}#game-view .world-cargo-grid small{color:var(--muted);margin-left:5px;font-size:10px;display:inline}#game-view .world-cargo-grid input{width:65px}#game-view .world-order-summary{margin:5px 0;font-size:11px;font-weight:700}#game-view :is(.world-camp-threat,.world-camp-expiry){margin:3px 0;font-size:11px}@media (max-width:1150px){#game-view .world-workspace{grid-template-columns:minmax(0,1fr) 300px}#game-view .world-directory{grid-column:1/-1}#game-view .world-village-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:140px;display:grid}#game-view .world-main{grid-column:1}#game-view .world-inspector{grid-column:2}}@media (max-width:700px){#game-view .world-workspace{grid-template-columns:minmax(0,1fr)}#game-view :is(.world-main,.world-inspector){grid-column:1}#game-view .world-inspector{max-height:none;position:static;overflow:visible}#game-view .world-village-list{grid-template-columns:repeat(2,minmax(0,1fr))}}#game-view .village-region{align-items:flex-start;gap:8px}#game-view .village-region>div{min-width:0}#game-view .village-region h3{background:0 0;border:0;margin:2px 0 4px;padding:0;font:700 15px/1.2 Georgia,Times New Roman,serif}.village-workspace{grid-template-columns:220px minmax(0,1fr);gap:6px}.castle-workspace{grid-template-columns:185px minmax(0,1fr)}#game-view :is(.castle-build-panel,.village-build-panel,.dungeon-index){padding:6px}#game-view :is(.castle-build-card,.village-build-card,.dungeon-destination){border-radius:0;gap:5px;padding:5px}#game-view :is(.castle-build-list,.village-build-list,.dungeon-destinations){gap:3px}#game-view .village-build-card{background:var(--panel);border-color:var(--line-soft);box-shadow:none}#game-view .village-build-card[aria-pressed=true]{background:var(--paper-deep);border-color:var(--line);box-shadow:inset 3px 0 var(--line)}#game-view .village-build-card small{margin-top:1px;font:11px/1.25 Tahoma,Verdana,Arial,sans-serif}.castle-materials{margin-block:5px}.castle-build-panel .castle-section-label:not(:first-child){margin-top:7px}#game-view :is(.castle-help,.castle-guide){margin-block:5px;line-height:1.35}#game-view :is(.castle-map-toolbar,.village-map-toolbar,.world-map-toolbar){gap:5px;margin-bottom:5px}#game-view :is(.castle-map-viewport,.village-map-viewport,.world-map-viewport){border-radius:0}.castle-detail{overflow-wrap:anywhere;min-width:0}.dungeon-workspace{grid-template-columns:185px minmax(0,1fr)}.dungeon-route-section{margin-block:6px}#game-view .dungeon-route{gap:3px;padding-block:4px}#game-view .dungeon-route button{padding:4px}.dungeon-route-node{border-radius:0;width:22px;height:22px;margin-bottom:3px}.dungeon-enemy-heading{gap:8px;margin-block:5px}.dungeon-enemy-heading .dungeon-enemy-portrait{border-radius:0;width:64px}.dungeon-journal-layout{grid-template-columns:220px minmax(0,1fr);gap:6px;margin-top:6px}#game-view .dungeon-run-list button{padding:5px}#game-view :is(.departure-facts,.dungeon-replay-health){gap:5px;margin-block:6px}.departure-facts>div{border-radius:0;padding:5px 6px}#game-view :is(.realm-empty,.dungeon-journal-empty,.standing-empty){border-radius:0;min-height:0;padding:8px}#game-view .commerce-inspector-empty{text-align:left;min-height:0;padding:0}#game-view .commerce-inspector-empty p{margin:0 0 6px}#game-view .commerce-inspector-empty+button{margin-top:0}#game-view .commerce-empty{text-align:left;border-radius:0;padding:8px}#game-view .armory-resource-list{gap:4px}#game-view .armory-resource-list>span{border-radius:0;gap:4px;padding:3px 5px}.stable-tier{gap:4px}#game-view :is(.stable-tier,.arena-report){padding:6px}.auth-panel{background:var(--panel);border:3px double var(--line);border-radius:0;outline:none;padding:12px}.auth-panel h1{background:var(--ledger-heading);color:#fff0cd;margin:-10px -10px 8px;padding:7px 10px;font-size:28px}.auth-panel p{margin-bottom:8px}#auth-form{gap:7px}.auth-actions,.captcha-row{gap:5px}.captcha-row img{border-radius:0}.location-finder{box-shadow:none;border-radius:0;padding:8px;font:13px/1.35 Tahoma,Verdana,Arial,sans-serif}.location-finder-heading{gap:6px;margin-bottom:6px}.location-finder-heading h2{font:700 20px/1.2 Georgia,Times New Roman,serif}.location-finder>input{min-height:27px}#location-results button{border-bottom:1px solid var(--line-soft);border-radius:0;padding:5px 6px}#location-results small{margin-top:2px;font-size:12px}.location-finder::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.first-visit-guide{box-sizing:border-box;border:2px solid var(--line);background:var(--panel);width:min(960px,100vw - 32px);max-width:none;height:min(780px,100dvh - 32px);max-height:calc(100dvh - 32px);color:var(--ink);border-radius:0;margin:auto;padding:0;font:13px/1.5 Tahoma,Verdana,Arial,sans-serif;overflow:hidden;box-shadow:5px 5px #1e171a70}.first-visit-guide[open]{flex-direction:column;display:flex}.first-visit-guide::backdrop{background:#21180fa6}.guide-heading{background:var(--ledger-heading);color:#fff3d7;border-bottom:3px solid #bc9954;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.guide-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#e4c78e;margin-bottom:3px;font-size:10px;display:block}.guide-heading h2{margin:0;font:700 22px/1.2 Georgia,serif}.guide-heading button{flex:none;min-height:32px}.guide-layout{flex:1;grid-template-columns:230px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.guide-contents{border-right:1px solid var(--line-soft);scrollbar-width:thin;overscroll-behavior:contain;background:#e5d5ae;min-height:0;overflow:auto}.guide-contents>summary{z-index:1;cursor:pointer;border-bottom:1px solid var(--line-soft);background:#dac59b;padding:12px;font-size:12px;font-weight:700;position:sticky;top:0}.guide-contents>summary>span{float:right;border:1px solid #b39a6d;padding:0 5px;font-size:11px}.guide-chapters{gap:0;padding:4px 8px 12px;display:grid}.guide-chapters h3{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:14px 4px 6px;font-size:10px}.guide-chapters button.secondary{width:100%;box-shadow:none;color:#59432d;text-align:left;background:0 0;border:1px solid #0000;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:5px;margin:3px 0;padding:8px 7px;font:12px/1.4 Tahoma,sans-serif;display:grid}.guide-chapters button>span{color:#5e4a2e;padding-top:1px;font-size:11px}.guide-chapters button.secondary:hover{background:#f3e8ce;border-color:#b39a6d}.guide-chapters button.secondary[aria-current=step]{color:#fff5dd;background:#526447;border-color:#394d30;box-shadow:inset 3px 0 #d1b16a}.guide-chapters button[aria-current=step]>span{color:#e4cd9b}.guide-reading{scrollbar-width:thin;overscroll-behavior:contain;min-width:0;padding:22px 24px;overflow:auto}.guide-hero{border-bottom:1px solid #cab78d;align-items:center;gap:16px;margin-bottom:16px;padding-bottom:16px;display:flex}.guide-art{object-fit:contain;width:80px;height:80px;image-rendering:pixelated;box-sizing:border-box;border:1px solid var(--line-soft);background:#e8dcbf;flex:none;padding:5px;display:block}.guide-place{color:var(--muted);margin:0 0 5px;font-size:11px}.guide-hero h2{margin:0;font:700 25px/1.15 Georgia,serif}.guide-hero h2:focus{outline:none}#first-visit-guide-copy p{margin:5px 0 0}#first-visit-guide-copy .guide-lead{color:#59432d;margin:0 0 18px;font-size:14px;line-height:1.55}.guide-steps{counter-reset:guide-step;gap:17px;margin:0 0 20px;padding:0;list-style:none;display:grid}.guide-steps li{counter-increment:guide-step;padding-left:34px;position:relative}.guide-steps li:before{content:counter(guide-step);color:#725335;background:#e2d2ac;border:1px solid #b39a6d;place-items:center;width:23px;height:23px;font:700 13px Georgia,serif;display:grid;position:absolute;top:0;left:0}.guide-steps li>strong{font:700 16px/1.35 Georgia,serif;display:block}.guide-tip{color:#65523b;background:#e9dec2;border-left:3px solid #9c7b3c;margin:0 0 18px;padding:12px 14px}.guide-tip>strong{text-transform:uppercase;letter-spacing:.05em;color:#7a5b2c;font-size:10px}.guide-visit{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.guide-visit button{min-height:36px;padding:8px 12px}.guide-visit>span{color:var(--muted);font-size:11px}.guide-related{border-top:1px solid #cab78d;flex-wrap:wrap;align-items:center;gap:6px;margin-top:14px;padding-top:12px;display:flex}.guide-related>span{color:var(--muted);font-size:11px}.guide-related button{min-height:30px;font-size:12px}.guide-footer{border-top:1px solid var(--line-soft);background:var(--paper-deep);justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.guide-progress{width:135px;color:var(--muted);gap:5px;font-size:11px;display:grid}.guide-progress progress{accent-color:#526447;border:0;width:100%;height:6px;display:block}.guide-footer>div:last-child{gap:6px;display:flex}.guide-footer button{min-height:34px;padding:6px 11px}.guide-next{color:#fff2d2;background:#526447;border-color:#394d30}.first-visit-guide button:focus-visible,.guide-contents>summary:focus-visible{outline-offset:2px;outline:2px solid #315b86}.first-visit-guide button:disabled{opacity:.5}@media (max-width:680px){.first-visit-guide{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.guide-heading{padding:12px}.guide-heading h2{font-size:19px}.guide-eyebrow{font-size:9px}.guide-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.guide-contents{border-right:0;border-bottom:1px solid var(--line-soft);max-height:40dvh}.guide-contents>summary{padding:10px 12px}.guide-chapters{padding-bottom:8px}.guide-chapters button.secondary{min-height:38px}.guide-reading{padding:16px 14px}.guide-hero{gap:12px}.guide-art{width:60px;height:60px}.guide-hero h2{font-size:22px}.guide-place{font-size:10px}.guide-steps{gap:16px}.guide-steps li{padding-left:30px}.guide-steps li>strong{font-size:16px}.guide-visit button{width:100%;min-height:40px}.guide-related button{min-height:36px}.guide-footer{gap:10px;padding:10px}.guide-progress{flex:1;min-width:60px;max-width:110px;font-size:10px}.guide-footer button{min-height:38px;padding:6px 8px;font-size:12px}}@media (min-width:1000px){#game-view .market-rows{border:1px solid var(--line-soft);gap:0}#game-view .market-rows .item-card{border:0;border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(140px,1.3fr) minmax(110px,1.2fr) minmax(65px,.65fr) 65px minmax(110px,1fr);align-items:center;gap:3px 6px;padding:5px 6px}#game-view .market-rows .item-card:nth-child(2n){background:#e8d8b5}#game-view .market-rows .item-card-heading{grid-area:1/1;margin:0}#game-view .market-rows .item-details{grid-area:1/2;gap:2px;display:grid}#game-view .market-rows .item-details>:is(div,p){margin:0;padding:0;font-size:11px}#game-view .market-rows .item-owned{grid-area:1/3;margin:0;padding:0;font-size:11px}#game-view .market-rows .item-owned span{font-size:11px}#game-view .market-rows .item-prices{grid-area:1/4;margin:0;padding:0;font-size:11px}#game-view .market-rows .item-actions{grid-area:1/5;margin:0;padding:0}#game-view .market-rows .item-stats span{border-radius:0;padding:2px 3px;font-size:11px}#game-view .market-sales .item-card{grid-template-columns:minmax(130px,1.3fr) minmax(90px,1fr) minmax(140px,1.2fr) minmax(130px,1.6fr)}#game-view .market-sales .item-owned{grid-column:2}#game-view .market-sales .item-prices{grid-column:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}#game-view .market-sales .item-prices>span{text-align:left}#game-view .market-sales .item-actions{grid-column:4}.dungeon-chamber-layout,.dungeon-preparation{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}@media (max-width:1100px){.commerce-layout,.standings-layout{grid-template-columns:minmax(0,1fr) 210px}}@media (max-width:900px){.commerce-layout,.standings-layout,.stats-layout{grid-template-columns:1fr}.commerce-inspector,.stats-sheet{position:static}.stats-training>.stats-allocation-heading,.stats-training>.progression-feedback{width:100%}.world-workspace,.village-workspace{grid-template-columns:180px minmax(0,1fr)}}@media (max-width:700px){#game-view :is(.realm-heading,.dungeon-heading){flex-wrap:wrap;gap:5px;padding:5px 7px}#game-view :is(.realm-heading,.dungeon-heading) h2{font-size:18px}#game-view :is(.realm-heading-stats,.dungeon-heading-stats){flex-shrink:1}#game-view :is(.realm-hero,.dungeon-hero)>div{max-width:100%;padding:7px}.realm-columns,.court-columns,.hunt-plan,.progression-milestones{grid-template-columns:1fr}.commerce-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.home-records{grid-template-columns:repeat(3,minmax(0,1fr))}.home-records summary>span{margin:3px 0 0;display:block}.world-workspace,.village-workspace,.dungeon-workspace{grid-template-columns:1fr}.dungeon-index{border-right:0;border-bottom:1px solid var(--line-soft)}.dungeon-chamber-layout,.dungeon-preparation,.dungeon-journal-layout,.stats-cards{grid-template-columns:1fr}.market-rows .item-card{grid-template-columns:minmax(0,1fr) auto}.market-rows .item-prices{grid-area:1/2}}@media (max-width:620px){.castle-workspace,.castle-management{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){#game-view .standings-table-wrap{border:1px solid var(--line-soft);background:var(--panel);width:100%;overflow-x:auto}#game-view .standings-table{min-width:620px;display:table}#game-view .standings-table thead{display:table-header-group}#game-view .standings-table tbody{display:table-row-group}#game-view .standings-table tr{border:0;border-radius:0;margin:0;padding:0;display:table-row}#game-view .standings-table td{padding:4px 6px;display:table-cell}#game-view .standings-table td:before{display:none}#game-view .standing-name{min-height:0}}@media (max-width:380px){.market-rows .item-card{grid-template-columns:1fr}.market-rows .item-prices{grid-area:auto/1}}.quest-board-note{color:#67533b;margin:0 0 6px;font-size:12px}.quest-boards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.quest-board{border:1px solid #ad8d57;min-width:0}.quest-board>header{color:#f7e8bd;background:#63462e;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:3px 12px;padding:5px 7px;display:flex}.quest-board>header h3{color:inherit;background:0 0;border:0;margin:0;padding:0}.quest-board>header>span{font-size:11px}.quest-row{background:#f3e8cc;border-top:1px solid #c4aa77;grid-template-columns:minmax(150px,1.4fr) 65px minmax(130px,1fr) max-content;align-items:center;gap:7px;padding:7px;display:grid}.quest-row:nth-child(odd){background:#e9dbb5}.quest-order{gap:2px;display:grid}.quest-order small{color:#735b3c;text-transform:uppercase;font-size:10px;font-weight:700}.quest-order strong{font-family:Georgia,serif;font-size:15px}.quest-order>span{font-size:12px}.quest-progress{text-align:center;gap:4px;font-size:12px;display:grid}.quest-progress progress{accent-color:#647c4b;width:100%;height:7px}.quest-prize{align-items:center;gap:5px;min-width:0;font-size:12px;display:flex}.quest-prize img{object-fit:contain;flex:none;width:28px;height:28px}.quest-prize>span{gap:2px;display:grid}.quest-prize small{color:#67533b;font-size:11px;line-height:1.3}.quest-action{justify-self:end;min-width:0;max-width:100%}.quest-action button{white-space:normal;overflow-wrap:anywhere;max-width:100%;padding:3px 5px;font-size:12px}.quest-paid{color:#4e653b;font-size:12px}.quest-row.is-paid .quest-order{opacity:.7}.quest-row.is-ready{box-shadow:inset 3px 0 #536e3f}.quest-footnote{color:#67533b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;margin:6px 0;font-size:12px;display:flex}.quest-blessings{border:1px solid #bba06e;flex-wrap:wrap;gap:7px 15px;padding:5px 7px;font-size:12px;display:flex}.quest-ledger{margin-top:7px}.quest-ledger table{border-collapse:collapse;width:100%;font-size:12px}.quest-ledger th,.quest-ledger td{text-align:left;border-bottom:1px solid #c4aa77;padding:4px 6px}.quest-ledger tbody tr:nth-child(odd){background:#e9dbb5}@media (max-width:1280px){.quest-boards{grid-template-columns:1fr}}@media (max-width:600px){.quest-row{grid-template-columns:minmax(0,1fr) max-content;gap:5px}.quest-prize{grid-column:1}.quest-action{text-align:center;grid-column:2}.quest-ledger{overflow:auto}.quest-ledger table{min-width:650px}}#game-view .commerce-cards.market-rows{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:8px;display:grid}#game-view .commerce-cards .item-card{border:1px solid var(--line);background:linear-gradient(#f5ecd6,#e8d8b5);flex-direction:column;align-items:stretch;gap:4px;min-width:0;padding:8px;display:flex}#game-view .commerce-cards .item-card>*{grid-area:auto}#game-view .commerce-cards .item-card-heading{flex-wrap:nowrap;align-items:center;margin:0}#game-view .commerce-cards .item-card-heading .item-emblem{flex:0 0 44px;width:44px;height:48px}#game-view .commerce-cards .item-details{display:block}#game-view .commerce-cards .item-card :is(.item-effect,.realm-muted,.item-stats){margin:0;padding:0}#game-view .commerce-cards .item-stats:empty{display:none}#game-view .commerce-cards .item-actions{flex-wrap:wrap;gap:5px;margin-top:auto;display:flex}#game-view .commerce-cards .item-prices{flex-wrap:wrap;gap:8px;display:flex}#game-view .commerce-cards .item-prices small{display:block}#game-view .trading-card h3{background:0 0;border:0;padding:0}.village-wellbeing{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.village-wellbeing-card{background:linear-gradient(135deg,#faf1d7,#e9dbb8);border:1px solid #b69c66;min-width:0;padding:18px}.village-wellbeing-heading{align-items:center;gap:12px;display:flex}.village-wellbeing-heading>strong{color:#66502d;margin-left:auto;font:700 22px Georgia,serif}.village-wellbeing-heading h4{margin:4px 0;font:700 23px Georgia,serif}.village-wellbeing-card meter{accent-color:#7b8b4d;width:100%;height:18px;margin:14px 0;display:block}.faith-services div{border-bottom:1px solid #cbb991;padding:7px 0}.faith-services dt{font-weight:700}.faith-services dd{color:#69583c;margin:3px 0 0}.village-food-stores{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0;display:grid}.village-food-stores>div{border:1px solid #cbb991;align-items:center;gap:7px;padding:8px;display:flex}.village-food-stores .is-served{background:#dce2c5;border-color:#85915c}.village-food-stores small{color:#69583c;display:block}.village-food-stores img{flex-shrink:0}@media (max-width:900px){.village-wellbeing{grid-template-columns:1fr}}@media (max-width:420px){.village-wellbeing-card{padding:12px}.village-food-stores{grid-template-columns:1fr}}@media (pointer:coarse){#game-view :is(button,select,summary,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),textarea,.tabs button),.game-toast button,.notification-launcher{min-height:44px!important}#game-view :is(input[type=checkbox],input[type=radio]){width:24px;height:24px}}#game-view .workspace-loading{color:var(--muted);padding:12px}#game-view .parish-construction-tabs{border:1px solid var(--line-soft);border-bottom:0;grid-template-columns:1fr 1fr;gap:0;margin-bottom:0;display:grid}#game-view .parish-construction-tabs button{background:var(--paper-deep);min-height:42px;color:var(--muted);box-shadow:none;border:0;padding:9px 12px}#game-view .parish-construction-tabs button+button{border-left:1px solid var(--line-soft)}#game-view .parish-construction-tabs [aria-pressed=true]{color:#fff5dd;background:#526447;box-shadow:inset 0 -3px #c9ab64}#game-view .parish-construction-workspace :is(.parish-commons,.parish-stronghold){min-width:0;padding:0;overflow:hidden}#game-view .parish-editor-heading{border-bottom:1px solid var(--line-soft);background:var(--panel);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}#game-view .parish-editor-heading h3{margin:2px 0 4px;font:700 23px/1.15 Georgia,serif}#game-view .parish-editor-heading p{color:var(--muted);margin:0}#game-view .parish-editor-badge{color:#526447;white-space:nowrap;background:#e4e4cc;border:1px solid #b9aa82;padding:6px 9px;font-size:11px}#game-view .parish-construction-workspace :is(.castle-workspace,.parish-builder-layout){background:var(--panel);border:0;grid-template-columns:232px minmax(0,1fr);align-items:start;gap:0;display:grid}#game-view .parish-construction-workspace :is(.castle-build-panel,.parish-build-menu){border:0;border-right:1px solid var(--line-soft);background:#e8d9b6;align-self:stretch;min-width:0;max-height:none;padding:12px;display:block;overflow:visible}#game-view .parish-palette-heading{color:var(--ink);flex-direction:column;gap:3px;margin-bottom:9px;display:flex}#game-view .parish-palette-heading>strong{font:700 16px Georgia,serif}#game-view .parish-palette-heading>small{color:var(--muted);font-size:11px}#game-view .parish-construction-workspace :is(.castle-main,.parish-builder-main){align-content:start;gap:9px;min-width:0;padding:12px;display:grid}#game-view .parish-build-menu [data-parish-palette]{scrollbar-width:thin;gap:5px;max-height:636px;display:grid;overflow:auto}#game-view .parish-construction-workspace :is(.village-build-card,.castle-build-card){text-align:left;background:var(--panel);width:100%;min-width:0;min-height:62px;color:var(--ink);box-shadow:none;border:1px solid #bda77d;align-items:center;gap:9px;padding:7px 8px;display:flex}#game-view .parish-construction-workspace :is(.village-build-card,.castle-build-card)>span{gap:2px;min-width:0;display:grid}#game-view .parish-construction-workspace :is(.village-build-card,.castle-build-card) strong{font-size:12px;line-height:1.25}#game-view .parish-construction-workspace :is(.village-build-card,.castle-build-card) small{color:var(--muted);font:11px/1.35 Tahoma,sans-serif}#game-view .parish-construction-workspace :is(.village-build-card,.castle-build-card)>.pixel-art{object-fit:contain;flex:none;width:42px;height:42px}#game-view .parish-construction-workspace button[aria-pressed=true]{color:#35472b;background:#dfe3ca;border-color:#71805a;outline:0;box-shadow:inset 3px 0 #60734b}#game-view .parish-construction-workspace .castle-materials{margin:0 0 8px;display:flex}#game-view .parish-construction-workspace .castle-materials button{min-height:34px}#game-view .parish-construction-workspace .castle-build-list{grid-template-columns:1fr;gap:5px;margin-bottom:9px;display:grid}#game-view .parish-construction-workspace .castle-build-panel>[data-stronghold-tool=inspect],#game-view .parish-construction-workspace .castle-build-panel>[data-stronghold-command=rotate]{width:100%;min-height:32px;margin-top:5px;display:block}#game-view .parish-tool-group{border-top:1px solid #bda77d;margin-top:12px}#game-view .parish-tool-group>summary{cursor:pointer;color:#5e4b33;padding:10px 0;font-weight:700}#game-view .parish-tool-actions{gap:5px;display:grid}#game-view .parish-maintenance{padding-bottom:5px}#game-view .parish-maintenance button{white-space:normal;width:100%}#game-view .parish-builder-hint{color:var(--muted);border-top:1px solid #bda77d;margin-top:14px;padding-top:10px;font-size:11px}#game-view .parish-construction-workspace :is(.castle-map-toolbar,.village-map-toolbar){background:0 0;border:0;border-bottom:1px solid #cab88f;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:0 0 8px;display:flex}#game-view .parish-construction-workspace :is(.castle-map-options,.village-map-toolbar>div){flex-wrap:wrap;gap:4px;display:flex}#game-view .parish-construction-workspace :is(.castle-map-toolbar,.village-map-toolbar) button{min-width:30px;min-height:30px;padding:4px 7px}#game-view .parish-construction-workspace :is(.castle-map-viewport,.parish-map-viewport){aspect-ratio:1;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#afa374 #4c5c46;overscroll-behavior:contain;background:#64764c;border:3px solid #5c6347;width:100%;max-width:620px;height:auto;max-height:none;margin:0 auto;overflow:auto}#game-view .parish-construction-workspace :is(.castle-map-viewport,.parish-map-viewport) canvas{max-width:none;image-rendering:pixelated;display:block}#game-view .parish-construction-workspace :is(.castle-plan-bar,.parish-build-plan){background:#e6d7b3;border:1px solid #bda77d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:10px;display:flex}#game-view .parish-construction-workspace :is(.castle-plan-bar,.parish-build-plan)>div:first-child{min-width:0}#game-view .parish-construction-workspace :is(.castle-plan-bar,.parish-build-plan) strong{font:700 15px Georgia,serif}#game-view [data-stronghold-plan-cost]{color:var(--muted);margin-top:4px;font-size:12px;display:block}#game-view .parish-construction-workspace :is(.castle-plan-bar .row,.parish-build-plan>div){flex-wrap:wrap;gap:5px;width:auto;display:flex}#game-view .parish-construction-workspace :is(.castle-plan-bar,.parish-build-plan) button{min-height:33px}#game-view .parish-construction-workspace :is([data-stronghold-submit],[data-parish-builder-confirm]){color:#fff5dd;box-shadow:var(--control-bevel);background:#526447;border-color:#394d30}#game-view .parish-construction-workspace button:disabled{opacity:.5}#game-view .parish-construction-workspace :is(.castle-map-caption,.parish-build-plan p){color:var(--muted);margin:0;padding:0;font-size:12px;line-height:1.45;display:block}#game-view .parish-construction-workspace .castle-management{grid-template-columns:1fr 1fr;gap:9px;display:grid}#game-view .parish-construction-workspace :is(.castle-detail,.parish-building-detail){background:#f5ebd3;border:1px solid #c6b48d;min-width:0;margin:0;padding:12px}#game-view .parish-construction-workspace :is(.castle-detail h4,.parish-building-detail h3){margin:0 0 7px;font:700 16px Georgia,serif}#game-view .parish-construction-workspace .castle-detail button{margin:4px 4px 0 0}#game-view .parish-building-detail .village-inspector-title>.pixel-art{object-fit:contain;flex:none;width:64px;height:64px}#game-view .parish-building-detail button{margin:6px 5px 0 0}#game-view .parish-construction-workspace .castle-construction{background:#e7d9b8;border-left:3px solid #8b6a34;max-height:180px;padding:10px;overflow:auto}#game-view .parish-construction-workspace .castle-construction[hidden]{display:none}#game-view .parish-construction-workspace .castle-construction ol{margin:6px 0 0;padding-left:20px}@media (max-width:1050px){#game-view .parish-construction-workspace :is(.castle-workspace,.parish-builder-layout){grid-template-columns:196px minmax(0,1fr)}#game-view .parish-construction-workspace :is(.castle-main,.parish-builder-main,.castle-build-panel,.parish-build-menu){padding:9px}}@media (max-width:760px){#game-view .parish-construction-workspace :is(.castle-workspace,.parish-builder-layout){grid-template-columns:minmax(0,1fr)}#game-view .parish-construction-workspace :is(.castle-build-panel,.parish-build-menu){border-right:0;border-bottom:1px solid var(--line-soft)}#game-view .parish-editor-heading{padding:12px}#game-view .parish-editor-heading h3{font-size:21px}#game-view .parish-editor-badge{display:none}#game-view .parish-palette-heading{flex-direction:row;justify-content:space-between;align-items:center}#game-view .parish-build-menu [data-parish-palette]{scroll-snap-type:x proximity;gap:6px;max-height:none;padding-bottom:5px;display:flex;overflow:auto}#game-view .parish-build-menu .village-build-card{scroll-snap-align:start;flex:0 0 178px}#game-view .parish-construction-workspace .castle-build-list{grid-template-columns:repeat(3,minmax(0,1fr))}#game-view .parish-construction-workspace .castle-build-card{text-align:center;flex-direction:column;gap:4px;padding:7px 4px}#game-view .parish-construction-workspace .castle-build-card>.pixel-art{width:36px;height:36px}#game-view .parish-construction-workspace .castle-build-card strong{font-size:11px}#game-view .parish-construction-workspace .castle-build-card small{font-size:10px}#game-view .parish-construction-workspace .castle-build-panel>[data-stronghold-tool=inspect],#game-view .parish-construction-workspace .castle-build-panel>[data-stronghold-command=rotate]{vertical-align:top;width:calc(50% - 3px);margin:0;display:inline-block}#game-view .parish-tool-group{vertical-align:top;width:calc(50% - 3px);margin-top:8px;display:inline-block}#game-view .parish-tool-group[open]{width:100%;display:block}#game-view .parish-builder-hint{display:none}#game-view .parish-construction-workspace .castle-management{grid-template-columns:minmax(0,1fr)}#game-view .parish-construction-tabs button{min-height:48px;padding:8px;font-size:12px}#game-view .parish-construction-workspace :is(.castle-plan-bar .row,.parish-build-plan>div){width:100%}#game-view .parish-construction-workspace :is(.castle-plan-bar .row,.parish-build-plan>div) button{flex:1;min-height:38px}}#game-view .parish-construction-workspace .parish-construction-tabs [aria-pressed=true]{color:#fff5dd;background:#526447;border-color:#71805a;box-shadow:inset 0 -3px #c9ab64}#game-view .parish-project-status{border:1px solid var(--line-soft);color:var(--muted);background:#e5d6b2;border-bottom:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}#game-view .parish-project-status button{flex:none;min-height:30px}#game-view .your-village,#game-view .village-screen-body{min-width:0}#game-view .village-estate-ledger{border:1px solid var(--line-soft);background:#e8d9b6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px;display:flex}#game-view .village-estate-ledger>div:first-child{gap:3px;min-width:0;display:grid}#game-view .village-estate-ledger>div:first-child>strong{overflow-wrap:anywhere;font:700 20px Georgia,serif}#game-view .village-estate-ledger small{color:var(--muted)}#game-view .village-estate-stocks{flex-wrap:wrap;gap:6px;display:flex}#game-view .village-estate-stocks>span{background:var(--panel);border:1px solid #bda77d;align-items:center;gap:7px;min-width:92px;padding:6px 10px;display:flex}#game-view .village-estate-stocks .pixel-art{object-fit:contain;width:30px;height:30px}#game-view .village-estate-stocks>span>span{text-transform:capitalize;color:var(--muted);font-size:11px;display:grid}#game-view [data-village-stock]{color:var(--ink);font-variant-numeric:tabular-nums;font-size:14px}#game-view .your-village :is(#village-workspace-root,#castle-workspace-root){border:1px solid var(--line-soft);background:var(--panel);min-width:0}#game-view .your-village :is(#village-workspace-root,#castle-workspace-root)>.realm-body{padding:0}#game-view .village-editor-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}#game-view .village-editor-heading h3{margin:2px 0 4px;font:700 23px/1.15 Georgia,serif}#game-view .village-editor-heading p{color:var(--muted);margin:0}#game-view .village-editor-badge{color:#526447;white-space:nowrap;background:#e4e4cc;border:1px solid #b9aa82;padding:6px 9px;font-size:11px}#game-view .your-village .village-work-modes{border-bottom:1px solid var(--line-soft);background:#e8d9b6;flex-wrap:wrap;gap:5px;margin:0;padding:9px 12px;display:flex}#game-view .your-village .village-work-modes button{min-height:32px;padding:5px 12px}#game-view .your-village :is(.village-workspace,.castle-workspace){background:var(--panel);border:0;border-radius:0;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:0;display:grid;overflow:visible}#game-view .your-village :is(.village-build-panel,.castle-build-panel){border:0;border-right:1px solid var(--line-soft);background:#e8d9b6;align-self:stretch;width:auto;min-width:0;padding:12px;display:block}#game-view .village-palette-heading{gap:3px;margin-bottom:9px;display:grid}#game-view .village-palette-heading>strong{font:700 16px Georgia,serif}#game-view .village-palette-heading>small{color:var(--muted);font-size:11px}#game-view .your-village .village-search{gap:4px;display:grid}#game-view .your-village .village-search input{width:100%;min-height:32px}#game-view .your-village .village-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:8px 0;display:grid}#game-view .your-village .village-filters button{min-height:28px;padding:5px 2px;font-size:10px}#game-view .your-village :is(.village-build-list,.castle-build-list){scrollbar-width:thin;grid-template-columns:minmax(0,1fr);gap:5px;max-height:560px;display:grid;overflow:auto}#game-view .your-village :is(.village-build-card,.castle-build-card){text-align:left;background:var(--panel);width:100%;min-width:0;min-height:72px;color:var(--ink);box-shadow:none;border:1px solid #bda77d;align-items:center;gap:8px;padding:8px;display:flex}#game-view .your-village :is(.village-build-card,.castle-build-card)>span{gap:2px;min-width:0;display:grid}#game-view .your-village :is(.village-build-card,.castle-build-card) strong{font-size:12px;line-height:1.25}#game-view .your-village :is(.village-build-card,.castle-build-card) small{color:var(--muted);font:11px/1.35 Tahoma,sans-serif}#game-view .your-village .village-build-card small:last-child{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#game-view .your-village .village-building-emblem{width:44px;min-width:0;height:44px;box-shadow:none;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:flex}#game-view .your-village :is(.village-building-emblem,.castle-build-card)>.pixel-art{object-fit:contain;flex:none;width:44px;height:44px}#game-view .your-village .village-build-card.is-disabled{opacity:.6;color:var(--muted);background:#e0d6bf!important;border-color:#b8a982!important}#game-view .your-village :is(.village-build-card,.castle-build-card,.village-filters button,.village-work-modes button,.castle-materials button)[aria-pressed=true]{color:#35472b;background:#dfe3ca;border-color:#71805a;box-shadow:inset 3px 0 #60734b}#game-view .your-village .castle-materials{margin:0 0 8px;display:flex}#game-view .your-village .castle-materials button{min-height:34px}#game-view .your-village :is(.castle-inspect,.castle-rotate){width:100%;min-height:32px;margin-top:7px}#game-view .your-village .castle-help{font-size:11px}#game-view .your-village :is(.village-tool-group,.village-guide,.castle-guide){background:0 0;border:0;border-top:1px solid #bda77d;margin-top:12px;padding:0}#game-view .your-village :is(.village-tool-group,.village-guide,.castle-guide)>summary{cursor:pointer;color:#5e4b33;padding:10px 0;font-weight:700}#game-view .your-village :is(.village-tool-actions,.village-landscape-tools){gap:5px;display:grid}#game-view .your-village .village-landscape-tools button{justify-content:space-between;align-items:center;gap:7px;min-height:36px;padding:7px;display:flex}#game-view .your-village .village-landscape-tools strong{font-size:12px}#game-view .your-village .village-landscape-tools small{font-size:10px}#game-view .your-village .castle-blueprint{min-height:40px;margin:0}#game-view .your-village :is(.village-main,.castle-main){align-content:start;gap:9px;width:auto;min-width:0;padding:12px;display:grid}#game-view .your-village :is(.village-map-toolbar,.castle-map-toolbar){background:0 0;border:0;border-bottom:1px solid #cab88f;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:0 0 8px;display:flex}#game-view .your-village :is(.castle-map-title,.village-map-toolbar>div:first-child){gap:2px;min-width:0;font-size:13px;display:grid}#game-view .your-village .castle-map-title small{color:var(--muted);margin-top:2px;font-size:11px;display:block}#game-view .your-village :is(.village-map-options,.castle-map-options){flex-wrap:wrap;align-items:center;gap:4px;display:flex}#game-view .your-village :is(.village-map-toolbar,.castle-map-toolbar) button{min-width:30px;min-height:30px;padding:4px 7px}#game-view .your-village :is(#village-zoom,#castle-zoom){min-width:32px;font-size:11px}#game-view .your-village :is(.village-map-viewport,.castle-map-viewport){aspect-ratio:1;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#afa374 #4c5c46;overscroll-behavior:contain;background:#64764c;border:3px solid #5c6347;border-radius:0;width:100%;max-width:620px;height:auto;min-height:0;max-height:none;margin:0 auto}#game-view .your-village :is(#village-grid,#castle-grid){max-width:none;image-rendering:pixelated;display:block}#game-view .your-village .village-north{display:none}#game-view .your-village :is(.village-map-caption,.castle-map-caption){color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:5px;margin:0;padding:0;font-size:11px;line-height:1.4;display:flex}#game-view .your-village .village-legend{gap:9px;margin:0;padding:4px 0;font-size:10px}#game-view .your-village :is(.village-plan-bar,.castle-plan-bar){background:#e6d7b3;border:1px solid #bda77d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:10px;display:flex}#game-view .your-village :is(.village-plan-bar,.castle-plan-bar)>div:first-child{min-width:0}#game-view .your-village :is(.village-plan-bar,.castle-plan-bar) strong{font:700 15px Georgia,serif;display:block}#game-view .your-village :is(#village-plan-cost,#castle-plan-cost){color:var(--muted);margin-top:4px;font-size:12px;display:block}#game-view .your-village :is(.village-plan-buttons,.castle-plan-bar>.row){flex-wrap:wrap;gap:5px;display:flex}#game-view .your-village :is(.village-plan-bar,.castle-plan-bar) button{min-height:34px}#game-view .your-village :is([data-village-command=commit],[data-command=build]){color:#fff5dd;box-shadow:var(--control-bevel);background:#526447;border-color:#394d30}#game-view .your-village :is(.village-message,.castle-message){min-height:0;margin:0;padding:0;font-size:12px}#game-view .your-village :is(.village-management,.castle-management){grid-template-columns:minmax(0,1fr);gap:9px;margin:0;display:grid}#game-view .your-village .castle-management{grid-template-columns:1fr 1fr}#game-view .your-village :is(.castle-detail,.village-inspector){background:#f5ebd3;border:1px solid #c6b48d;min-width:0;margin:0;padding:12px}#game-view .your-village :is(.castle-detail h3,.village-inspector h3){margin:5px 0 8px;font:700 17px Georgia,serif}#game-view .your-village .village-inspector-title .village-building-emblem,#game-view .your-village .village-inspector-title .pixel-art{width:64px;height:64px}#game-view .your-village .village-building-notes{background:#eae0c6;border:1px solid #c6b48d;margin:10px 0;padding:0 10px}#game-view .your-village .village-building-notes>summary{cursor:pointer;padding:10px 0;font-weight:700}#game-view .your-village :is(.castle-construction,.village-construction):empty{display:none}#game-view .your-village .castle-construction{max-height:180px;overflow:auto}#game-view .your-village :is([data-village-work-panel=economy],[data-village-work-panel=garrison],[data-village-work-panel=research]){padding:12px}#game-view .your-village .village-palette-filter{border-bottom:1px solid #bda77d;margin:0 0 9px}#game-view .your-village .village-palette-filter>summary{cursor:pointer;color:var(--muted);padding:7px 0;font-size:12px;font-weight:700}@media (max-width:1050px){#game-view .your-village :is(.village-workspace,.castle-workspace){grid-template-columns:200px minmax(0,1fr)}#game-view .your-village :is(.village-main,.castle-main,.village-build-panel,.castle-build-panel){padding:9px}}@media (max-width:760px){#game-view .village-estate-ledger{padding:10px}#game-view .village-estate-stocks{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;display:grid}#game-view .village-estate-stocks>span{gap:4px;min-width:0;padding:5px 4px}#game-view .village-estate-stocks .pixel-art{width:23px;height:23px}#game-view [data-village-stock]{font-size:12px}#game-view .village-estate-stocks>span>span{font-size:10px}#game-view .village-editor-heading{padding:12px}#game-view .village-editor-heading h3{font-size:21px}#game-view .village-editor-badge{display:none}#game-view .your-village :is(.village-workspace,.castle-workspace){grid-template-columns:minmax(0,1fr);display:grid}#game-view .your-village :is(.village-build-panel,.castle-build-panel){border-right:0;border-bottom:1px solid var(--line-soft)}#game-view .your-village .village-filters{grid-template-columns:repeat(6,minmax(0,1fr))}#game-view .your-village .village-build-list{scroll-snap-type:x proximity;gap:6px;max-height:none;padding-bottom:5px;display:flex;overflow:auto}#game-view .your-village .village-build-card{scroll-snap-align:start;flex:0 0 210px}#game-view .your-village .castle-build-list{gap:6px;max-height:none;padding-bottom:5px;display:flex;overflow:auto}#game-view .your-village .castle-build-card{text-align:left;flex-direction:row;flex:0 0 190px;gap:8px;min-height:94px;padding:8px}#game-view .your-village .castle-build-card>.pixel-art{width:44px;height:44px}#game-view .your-village .castle-build-card strong{font-size:12px}#game-view .your-village .castle-build-card small{font-size:11px}#game-view .your-village :is(.castle-inspect,.castle-rotate){vertical-align:top;justify-content:center;gap:5px;width:calc(50% - 3px);margin:8px 0 0;font-size:11px;display:inline-flex}#game-view .your-village #castle-tool-help{display:none}#game-view .your-village :is(.village-tool-group,.village-guide,.castle-guide){margin-top:8px}#game-view .your-village .village-palette-heading{justify-content:space-between;align-items:center;display:flex}#game-view .your-village :is(.village-tool-group,.village-guide){vertical-align:top;width:calc(50% - 3px);display:inline-block}#game-view .your-village :is(.village-tool-group,.village-guide)[open]{width:100%;display:block}#game-view .your-village .castle-management{grid-template-columns:minmax(0,1fr)}#game-view .your-village :is(.village-plan-buttons,.castle-plan-bar>.row){width:100%}#game-view .your-village :is(.village-plan-buttons,.castle-plan-bar>.row) button{flex:1;min-height:38px}}@media (prefers-reduced-motion:reduce){#game-view .your-village *{scroll-behavior:auto}}@media (max-width:420px){#game-view .village-estate-stocks>span{text-align:center;flex-direction:column;gap:2px}}@font-face{font-family:Dungeon Pixel;src:url(/assets/pixelify-sans-lrcDQVzA.ttf)format("truetype");font-style:normal;font-weight:400 700;font-display:swap}#dungeon-workspace-root .crawler-window{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#ddd0af;background:#171512;border:1px solid #89724b;padding:3px;font:12px/1.35 Tahoma,Verdana,sans-serif;box-shadow:inset 0 0 0 3px #302a20}#dungeon-workspace-root .crawler-layout{grid-template-columns:minmax(0,1fr) 248px;align-items:start;gap:5px;display:grid}#dungeon-workspace-root .crawler-play{min-width:0}#dungeon-workspace-root .crawler-viewport{aspect-ratio:8/5;background:#0e0c0a;border:2px solid #79623e;width:100%;max-height:clamp(240px,100vh - 430px,650px);position:relative;overflow:hidden}#dungeon-workspace-root #dungeon-crawler-canvas{width:100%;height:100%;image-rendering:pixelated;outline-offset:-3px;cursor:crosshair;display:block;position:absolute;inset:0}#dungeon-workspace-root .crawler-compass{color:#e1c78f;background:#17130bc9;border:1px solid #5e4e33;padding:3px 8px;font:700 17px Georgia,serif;position:absolute;top:8px;left:8px}#dungeon-workspace-root .crawler-compass small{margin-left:6px;font:11px Tahoma,sans-serif}#dungeon-workspace-root .crawler-reticle{color:#c6b79480;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#dungeon-workspace-root .crawler-held{object-fit:contain;filter:brightness(.63)drop-shadow(2px 3px 2px #000);pointer-events:none;opacity:.9;width:17%;height:29%;position:absolute;bottom:0;right:9%;transform:rotate(-27deg)}#dungeon-workspace-root .crawler-caption{color:#ddca9d;text-align:center;background:#15120ddb;border-top:1px solid #625234;width:max-content;max-width:88%;padding:4px 9px;position:absolute;bottom:5px;left:50%;transform:translate(-50%)}#dungeon-workspace-root .crawler-vitals{background:#241f17;border:1px solid #56482f;align-items:center;gap:12px;margin-top:4px;padding:5px 7px;display:flex}#dungeon-workspace-root .crawler-vitals label{color:#b7a681;flex:1;grid-template-columns:1fr auto;display:grid}#dungeon-workspace-root .crawler-vitals strong{color:#e7d4aa}#dungeon-workspace-root .crawler-vitals meter{grid-column:1/-1;width:100%;height:9px}#dungeon-workspace-root .crawler-vitals meter::-webkit-meter-bar{background:#100f0d;border:1px solid #5c503c;border-radius:0}#dungeon-workspace-root .crawler-vitals meter::-webkit-meter-optimum-value{background:#819065}#dungeon-workspace-root .crawler-vitals label:nth-child(2) meter::-webkit-meter-optimum-value{background:#ad8c49}#dungeon-workspace-root .crawler-vitals meter::-moz-meter-bar{background:#819065}#dungeon-workspace-root .crawler-actions{background:#211d16;border:1px solid #54452f;align-items:center;gap:8px;margin-top:4px;padding:5px;display:flex}#dungeon-workspace-root .crawler-movement{flex:0 0 160px;grid-template-columns:repeat(3,1fr);gap:3px;display:grid}#dungeon-workspace-root .crawler-combat-actions{flex-wrap:wrap;gap:4px;display:flex}#dungeon-workspace-root .crawler-window button{color:#e5d4ab;font:inherit;background:#433722;border:1px solid #8d7650;border-radius:0;min-height:26px;padding:4px 7px;box-shadow:inset 1px 1px #b49b632e,inset -1px -1px #0008}#dungeon-workspace-root .crawler-window button:hover:not(:disabled){background:#655030;border-color:#d5b477}#dungeon-workspace-root .crawler-window button:disabled{color:#8d826a;opacity:.65;background:#29251c}#dungeon-workspace-root .crawler-window button:focus-visible,#dungeon-crawler-canvas:focus-visible{outline:2px solid #dfbe7c}#panel #dungeon-workspace-root .crawler-window .crawler-icon-button{box-sizing:border-box;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:34px;padding:3px;display:flex}#dungeon-workspace-root .crawler-control-icon{width:26px;height:26px;image-rendering:pixelated;background:url(/assets/control-icons-D0NUk6mi.png) 0 0/400% 400% no-repeat;flex:0 0 26px;display:block}#dungeon-workspace-root .crawler-move-icon{font:700 24px/26px Tahoma,sans-serif}#dungeon-workspace-root .crawler-toolbar{z-index:6;gap:3px;display:flex;position:absolute;top:6px;right:6px}#dungeon-workspace-root .crawler-toolbar .crawler-icon-button{background-color:#292218ed;width:36px;height:36px}#dungeon-workspace-root .crawler-toolbar [data-crawler-ui=sidebar]{display:none}#dungeon-workspace-root .crawler-window kbd{color:#a2916f;white-space:nowrap;padding:0 2px;font:10px Tahoma,sans-serif}#dungeon-workspace-root .crawler-feedback{color:#ad9973;min-height:19px;padding:2px 6px}#dungeon-workspace-root .crawler-feedback:empty{display:none}#dungeon-workspace-root .crawler-feedback.is-error{color:#f0b492}#dungeon-workspace-root .crawler-log{color:#a99c7f;background:#1f1b15;border:1px solid #51422d;margin:0;padding:4px 8px;font:12px/1.5 Georgia,serif;list-style:none}#dungeon-workspace-root .crawler-log li:last-child{color:#e2c994}#dungeon-workspace-root .crawler-sidebar{gap:5px;min-width:0;display:grid}#dungeon-workspace-root .crawler-rest button{width:100%}#dungeon-workspace-root .crawler-rest>small{margin-top:4px;display:block}#dungeon-workspace-root .crawler-sidebar section,#dungeon-workspace-root .crawler-sidebar details{background:#262118;border:1px solid #584a34;border-radius:0;padding:6px}#dungeon-workspace-root .crawler-window h3{color:#d9c69e;background:#3c3020;border:0;border-bottom:1px solid #675334;width:auto;margin:-6px -6px 5px;padding:3px 5px;font:700 14px Georgia,serif;display:block}#dungeon-workspace-root .crawler-window p{margin:4px 0;line-height:1.35}#dungeon-workspace-root .crawler-window small{color:#ab9b7c;font-size:10px}#dungeon-workspace-root .crawler-sidebar summary{cursor:pointer;color:#d8c395;font-weight:700}#dungeon-workspace-root .crawler-map-section{text-align:center}#dungeon-workspace-root #dungeon-crawler-map{width:180px;max-width:100%;height:auto;image-rendering:pixelated;margin:0 auto 3px;display:block}#dungeon-workspace-root .crawler-door-detail>img{object-fit:cover;border:1px solid #574831;width:100%;height:auto;max-height:120px;margin-bottom:5px;display:block}#dungeon-workspace-root .crawler-door-detail h3{background:0 0;border-bottom:1px solid #625032;margin:0 0 4px;padding:2px 0}#dungeon-workspace-root .crawler-door-detail>div{margin-top:5px}#dungeon-workspace-root .crawler-door-list button{text-align:left;justify-content:space-between;gap:4px;width:100%;margin-top:3px;display:flex}#dungeon-workspace-root .crawler-door-list button[aria-pressed=true]{background:#514028;border-color:#d7b979}#dungeon-workspace-root .crawler-foe{align-items:center;gap:8px;display:flex}#dungeon-workspace-root .crawler-foe>img{border:1px solid #75613e;width:64px;height:64px}#dungeon-workspace-root .crawler-foe h3{background:0 0;border:0;margin:0 0 4px;padding:0}#dungeon-workspace-root .crawler-foe small{display:block}#dungeon-workspace-root .crawler-loadout{gap:2px;display:grid}#dungeon-workspace-root .crawler-loadout>div,#dungeon-workspace-root .crawler-chest-items>div,#dungeon-workspace-root .crawler-supplies>div{border-bottom:1px solid #51432d;align-items:center;gap:5px;padding:3px 0;display:flex}#dungeon-workspace-root .crawler-loadout img,#dungeon-workspace-root .crawler-chest img,#dungeon-workspace-root .crawler-supplies img,#dungeon-workspace-root .crawler-loot img,#dungeon-workspace-root .crawler-treasure img{object-fit:contain;width:30px;height:30px}#dungeon-workspace-root .crawler-treasure>div{align-items:center;gap:5px;padding:2px 0;display:flex}#dungeon-workspace-root .crawler-loadout span,#dungeon-workspace-root .crawler-chest-items span,#dungeon-workspace-root .crawler-supplies span{flex:1;min-width:0}#dungeon-workspace-root .crawler-loadout small,#dungeon-workspace-root .crawler-loadout strong,#dungeon-workspace-root .crawler-chest small,#dungeon-workspace-root .crawler-supplies small{display:block}#dungeon-workspace-root .crawler-loadout strong{font-size:11px}#dungeon-workspace-root .crawler-chest-items{max-height:250px;overflow-y:auto}#dungeon-workspace-root .crawler-muted{color:#aa9b7f}#dungeon-workspace-root .crawler-journal,#dungeon-workspace-root .crawler-legacy{border:1px solid #675338;margin-top:5px;padding:6px}#dungeon-workspace-root .crawler-journal summary,#dungeon-workspace-root .crawler-legacy summary{cursor:pointer}#dungeon-workspace-root .crawler-journal>div{border-bottom:1px solid #4d422e;justify-content:space-between;gap:8px;padding:4px 0;display:flex}#dungeon-workspace-root .crawler-legacy{color:#2a2118;background:#eee0bd}#dungeon-workspace-root .crawler-swing{animation:.26s ease-out crawler-swing}#dungeon-workspace-root .crawler-hurt:after{content:"";pointer-events:none;background:#9a211d70;animation:.4s ease-out forwards crawler-hurt;position:absolute;inset:0}@keyframes crawler-swing{50%{transform:translate(-100%,-10%)rotate(-90deg)}}@keyframes crawler-hurt{to{opacity:0}}@media (min-width:1600px){#dungeon-workspace-root .crawler-layout{grid-template-columns:minmax(0,1fr) 280px}}@media (max-width:900px){#dungeon-workspace-root .crawler-layout{grid-template-columns:minmax(0,1fr) 205px}}@media (max-width:660px){#dungeon-workspace-root .crawler-layout{grid-template-columns:1fr}#dungeon-workspace-root .crawler-viewport{max-height:none}#dungeon-workspace-root .crawler-sidebar{grid-template-columns:1fr 1fr}#dungeon-workspace-root .crawler-caption{font-size:12px}#dungeon-workspace-root .crawler-vitals{gap:6px;font-size:11px}#dungeon-workspace-root .crawler-map-section{grid-row:span 2}#dungeon-workspace-root .crawler-help,#dungeon-workspace-root .crawler-chest,#dungeon-workspace-root .crawler-journal{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){#dungeon-workspace-root .crawler-swing,#dungeon-workspace-root .crawler-hurt:after{animation:none}}#dungeon-workspace-root .crawler-window .crawler-wall-stud{z-index:3;opacity:.45;background:#65543d;border:1px solid #443b2d;width:10px;height:7px;min-height:0;padding:0;position:absolute;transform:translate(-50%,-50%);box-shadow:inset 1px 1px #8a7650,inset -1px -1px #27231d}#dungeon-workspace-root .crawler-window .crawler-wall-stud[hidden]{display:none}#dungeon-workspace-root .crawler-window .crawler-wall-stud:hover{opacity:.7;background:#65543d;border-color:#66533c}#dungeon-workspace-root .crawler-window .crawler-wall-stud:focus-visible{opacity:1;outline-offset:3px}#dungeon-workspace-root .crawler-foes .crawler-foe{border-bottom:1px solid #433722;gap:5px;padding:3px 0}#dungeon-workspace-root .crawler-foes .crawler-foe>img{width:40px;height:40px}#dungeon-workspace-root .crawler-door-plaque{box-sizing:border-box;transform-origin:0 0;pointer-events:none;text-align:center;text-shadow:1px 1px #080604;background:#1a1510;border:2px solid #75603b;flex-direction:column;justify-content:center;gap:7px;width:300px;height:114px;padding:8px 12px;display:flex;position:absolute;top:0;left:0;overflow:hidden;box-shadow:inset 0 0 0 2px #302618}#dungeon-workspace-root .crawler-door-plaque[hidden]{display:none}#dungeon-workspace-root .crawler-door-plaque strong{color:#fff0cd;letter-spacing:.3px;font:600 26px/1.05 Dungeon Pixel,monospace}#dungeon-workspace-root .crawler-door-plaque span{color:#eddfc1;font:400 20px/1.15 Dungeon Pixel,monospace}#dungeon-workspace-root .crawler-plaque-title-only span{display:none}#dungeon-workspace-root .crawler-caption{color:#f5e5bc;text-shadow:1px 1px #080604;font-family:Dungeon Pixel,monospace;font-size:16px;line-height:1.2}#dungeon-workspace-root .crawler-fatal-fall #dungeon-crawler-canvas{animation:.65s steps(8,end) forwards crawler-fall}#dungeon-workspace-root .crawler-fatal-fall .crawler-held{visibility:hidden}@keyframes crawler-fall{to{filter:brightness(.35);transform:translateY(-4%)}}@media (prefers-reduced-motion:reduce){#dungeon-workspace-root .crawler-fatal-fall #dungeon-crawler-canvas{filter:brightness(.35);animation:none}}#dungeon-workspace-root .crawler-relics{border-color:#92743c}#dungeon-workspace-root .crawler-relics>div{align-items:center;gap:6px;padding:3px 0;display:flex}#dungeon-workspace-root .crawler-relics img{object-fit:contain;width:32px;height:32px}#dungeon-workspace-root .crawler-relics strong{color:#ead49b}#dungeon-workspace-root .crawler-relics small{display:block}html.crawler-screen-open,html.crawler-screen-open body{overscroll-behavior:none;overflow:hidden}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen){z-index:1000;width:100%;height:100vh;max-width:none;height:100dvh;max-height:none;padding:max(3px, env(safe-area-inset-top)) max(3px, env(safe-area-inset-right)) max(3px, env(safe-area-inset-bottom)) max(3px, env(safe-area-inset-left));box-sizing:border-box;background:#100f0d;flex-direction:column;margin:0;display:flex;position:fixed;inset:0;overflow:hidden}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-layout{flex:1;grid-template-columns:minmax(0,1fr);align-items:stretch;min-height:0;position:relative}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-play{flex-direction:column;min-height:0;display:flex}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-viewport{aspect-ratio:auto;box-sizing:border-box;flex:1;min-height:0;max-height:none}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) :is(.crawler-vitals,.crawler-actions,.crawler-feedback,.crawler-log){flex-shrink:0}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-log{box-sizing:border-box;max-height:54px;overflow-y:auto}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-sidebar{z-index:5;box-sizing:border-box;background:#171512f5;border:1px solid #89724b;grid-template-columns:1fr;align-content:start;width:min(320px,100%);padding:4px;display:none;position:absolute;top:48px;bottom:0;right:0;overflow-y:auto;box-shadow:-5px 0 16px #0009}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen).crawler-panel-open .crawler-sidebar{display:grid}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-toolbar [data-crawler-ui=sidebar]{display:flex}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-sidebar>*{grid-area:auto}@media (max-width:660px){#dungeon-workspace-root .crawler-actions{gap:5px;padding:3px}#dungeon-workspace-root .crawler-movement{flex-basis:120px}#dungeon-workspace-root .crawler-combat-actions{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;min-width:0;display:grid}#panel #dungeon-workspace-root .crawler-actions .crawler-icon-button{min-height:38px}#dungeon-workspace-root .crawler-actions kbd{display:none}#dungeon-workspace-root .crawler-vitals{padding:3px 5px}#dungeon-workspace-root .crawler-vitals meter{height:7px}#dungeon-workspace-root .crawler-caption{padding:3px 5px;font-size:13px}}@media (max-height:500px){#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-actions{padding:3px}#panel #dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-icon-button{min-height:30px}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-vitals{padding:2px 5px}#dungeon-workspace-root .crawler-window:is(.crawler-expanded,:fullscreen) .crawler-log{max-height:30px}}#dungeon-workspace-root .crawler-shoot{grid-template-columns:32px auto;align-items:center;gap:2px 5px;min-width:70px;display:grid}#dungeon-workspace-root .crawler-shoot img{object-fit:contain;grid-row:1/3}#dungeon-workspace-root .crawler-shoot span{font-size:11px}#dungeon-workspace-root .crawler-ranged-stats{color:#b8a589;margin-top:8px;display:block}#dungeon-workspace-root .crawler-shoot-animation{animation:.32s step-end crawler-shoot}@keyframes crawler-shoot{0%{transform:rotate(-10deg)translateY(-8px)}50%{transform:rotate(-18deg)translateY(8px)}to{transform:rotate(-27deg)}}@media (prefers-reduced-motion:reduce){#dungeon-workspace-root .crawler-shoot-animation{animation:none}}#dungeon-workspace-root .crawler-critical-alert{z-index:8;pointer-events:none;background:url(/assets/critical-impact-DIRYn6-b.png) 50%/min(65%,300px) no-repeat;flex-direction:column;justify-content:center;align-items:center;gap:5px;animation:1.05s ease-out both crawler-critical-reveal;display:flex;position:absolute;inset:0}#dungeon-workspace-root .crawler-critical-alert strong{color:#ffe8a1;text-transform:uppercase;text-shadow:2px 2px #45250a;background:#251609df;border:2px solid #d4a74d;padding:4px 10px;font:700 clamp(20px,3vw,34px)/1.2 Pixelify Sans,monospace;box-shadow:3px 3px #140c05}#dungeon-workspace-root .crawler-critical-alert span{color:#fff0c4;background:#20150dea;padding:3px 7px;font-size:13px}#dungeon-workspace-root .crawler-critical-alert.incoming strong{color:#ffcfab;border-color:#c87753}#dungeon-workspace-root .crawler-critical-impact{animation:.32s ease-out crawler-critical-impact}@keyframes crawler-critical-reveal{0%{opacity:0;transform:scale(.85)}15%,70%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.04)}}@keyframes crawler-critical-impact{0%,to{transform:translate(0)}25%{transform:translate(-4px)}55%{transform:translate(4px)}80%{transform:translate(-2px)}}@media (prefers-reduced-motion:reduce){#dungeon-workspace-root .crawler-critical-alert,#dungeon-workspace-root .crawler-critical-impact{animation:none}}.arena-entry{background:#f4e9cc;border:1px solid #b5996c;padding:8px}.arena-entry h2{color:#f1dfb7;background:#62432c;margin:-8px -8px 6px;padding:5px 8px;font:700 20px Georgia,serif}.arena-entry h2 small{text-transform:uppercase;font:11px Tahoma,sans-serif}.arena-entry p{margin:4px 0}.arena-fighter-line{align-items:center;gap:7px;display:flex}.arena-player-portrait{width:64px;height:64px;image-rendering:pixelated;background:url(/assets/arena-players-BymUeQzY.png) 0 0/400% 400% no-repeat;flex:0 0 64px;display:block}.arena-turn-bar{background:#34291b;border:1px solid #78623e;flex-shrink:0;justify-content:space-between;align-items:center;gap:5px;padding:4px 6px;font-size:12px;display:flex}.arena-turn-bar strong{color:#f1dba7}.arena-turn-bar>span{color:#b3a17e}.arena-arms{gap:4px;padding-top:4px;display:flex}.arena-arms img{object-fit:contain;width:32px;height:32px}.arena-shot-icon{object-fit:contain;width:26px;height:26px}#arena-workspace-root .arena-bout-history{min-width:0;display:block;container:arena-history/inline-size}#arena-workspace-root .arena-bout-history>.arena-bout{border-bottom:1px solid #b5996c;grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;gap:1px 8px;padding:4px 0;display:grid}#arena-workspace-root .arena-bout>strong{overflow-wrap:anywhere;min-width:0}#arena-workspace-root .arena-bout>span{text-transform:capitalize}#arena-workspace-root .arena-bout>small{overflow-wrap:anywhere;grid-column:1/-1}#arena-workspace-root .arena-bout:last-child{border-bottom:0}#dungeon-workspace-root .arena-bout-history>.arena-bout{border-bottom-color:#4d422e}@container arena-history (width>=520px){#arena-workspace-root .arena-bout-history>.arena-bout{grid-template-columns:minmax(0,1fr) max-content max-content}#arena-workspace-root .arena-bout>small{grid-column:auto}}#dungeon-workspace-root .arena-game .crawler-help p{margin-bottom:5px}@media (max-width:660px){.arena-turn-bar{padding:3px 5px;font-size:11px}}#game-view .world-workspace{grid-template-columns:190px minmax(0,1fr) 290px;gap:10px}#game-view .world-directory,#game-view .world-main{min-width:0}#game-view .world-map-toolbar{align-items:center;gap:6px}#game-view .world-map-toolbar>div:has(h3){margin-right:auto}#game-view .world-map-toolbar>.world-map-controls{justify-content:flex-end;width:100%}#game-view .world-map-viewport{background:#455840;border:1px solid #857653;position:relative}#game-view #world-map{aspect-ratio:1;image-rendering:auto;width:100%;height:auto;display:block}#game-view .world-map-selection{background:#f8eed5;border:1px solid #b39a6d;border-top:0;justify-content:space-between;align-items:center;gap:8px;min-height:54px;padding:8px;display:flex}#game-view .world-map-selection strong{overflow-wrap:anywhere;display:block}#game-view .world-map-selection span{color:var(--muted);font-size:12px;display:block}#game-view .world-selection-actions{flex-wrap:wrap;flex-shrink:0;gap:5px;display:flex}#game-view .world-selection-actions button{min-height:30px}#game-view .world-map-legend{justify-content:flex-start;gap:7px 12px;margin:10px 0 6px}#game-view .world-map-legend>span{align-items:center;gap:3px;display:inline-flex}#game-view .world-map-legend .neighbor{background:#555c43}#game-view .world-map-legend .selected{background:0 0;border:2px solid #285c88;width:11px;height:11px}#game-view #world-map-position{font-variant-numeric:tabular-nums;margin-left:auto}#game-view .world-inspector{max-height:calc(100dvh - 16px);top:8px}#game-view .world-village-appearance{align-items:center;gap:8px;display:flex}#game-view .world-village-appearance img{flex:0 0 48px}#game-view .world-village-appearance strong,#game-view .world-village-appearance small{display:block}#game-view .world-village-appearance small{color:var(--muted);margin-top:3px}#game-view .world-village-list button.active{border-color:#315b86;box-shadow:inset 3px 0 #315b86}#game-view .world-map-toolbar [aria-pressed=true]{color:#2a402a;background:#d1ddc1;border-color:#718566}@media (max-width:1450px){#game-view .world-workspace{grid-template-columns:minmax(0,1fr) 290px}#game-view .world-directory{grid-column:1/-1}#game-view .world-directory>.realm-eyebrow{display:none}#game-view .world-search{margin:0 0 6px}#game-view .world-directory-filters{max-width:none;display:inline-flex}#game-view .world-village-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-height:100px;display:grid}#game-view .world-directory>p.realm-muted{margin:5px 0}#game-view .world-main{grid-column:1}#game-view .world-inspector{grid-column:2}#game-view .world-refresh{width:auto}}@media (max-width:900px){#game-view .world-workspace{flex-direction:column;display:flex}#game-view .world-workspace>*{width:100%}#game-view .world-main{order:0}#game-view .world-inspector{order:1;max-height:none;position:static;overflow:visible}#game-view .world-directory{order:2}#game-view .world-village-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px}#game-view .world-map-section{padding:6px}#game-view .world-map-toolbar>.world-map-controls{justify-content:flex-start}#game-view .world-map-controls button{min-height:38px}#game-view .world-map-selection{flex-wrap:wrap}#game-view .world-selection-actions{flex-wrap:wrap;flex-shrink:1}}#game-view .fealty-council{margin-bottom:14px}#game-view .fealty-heading{flex-wrap:wrap;align-items:center;gap:10px;display:flex}#game-view .fealty-heading>div{margin-right:auto}#game-view .fealty-heading>span{color:var(--muted);font-size:13px}#game-view .fealty-offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}#game-view .fealty-row{border-top:1px solid #c6b58d;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px 0;display:flex}#game-view .fealty-row>div{overflow-wrap:anywhere;min-width:0}#game-view .fealty-row p{margin:4px 0}#game-view .fealty-row small{color:var(--muted)}#game-view .fealty-actions{flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}#game-view .fealty-actions details{max-width:320px}#game-view .fealty-actions summary{cursor:pointer;min-height:36px;padding:7px}#game-view .fealty-proposal{gap:5px;margin:12px 0;display:grid}#game-view [data-fealty-feedback]:not(.hidden){background:#e3ecd6;border:1px solid #7b9366;padding:10px}@media (max-width:700px){#game-view .fealty-offers{grid-template-columns:minmax(0,1fr);gap:6px}#game-view .fealty-actions{width:100%}#game-view .fealty-actions button{white-space:normal}}.faction-motto,.faction-council-message{white-space:pre-wrap;overflow-wrap:anywhere}[data-faction-feedback]:focus{outline-offset:4px;outline:2px solid}#game-view .politics-workspace{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:14px;margin:0 0 18px;display:grid}#game-view .politics-main{min-width:0}#game-view .politics-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}#game-view .politics-heading h3{margin:3px 0 5px;font-size:24px}#game-view .politics-heading p{max-width:65ch;margin:0;font-size:13px}#game-view .politics-summary{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}#game-view .politics-badge{overflow-wrap:anywhere;text-transform:capitalize;background:#e9ddbf;border:1px solid #bcaa80;max-width:100%;padding:3px 7px;font-size:12px;line-height:1.4;display:inline-block}#game-view .politics-badge.is-good{color:#304830;background:#dce5cb;border-color:#8c9d70}#game-view .politics-badge.is-attention{color:#6d481b;background:#f0dca8;border-color:#b3965a}#game-view .politics-table-scroll{background:#f6ebcf;border:1px solid #aa9264;max-width:100%;overflow:auto}#game-view .politics-table{border-collapse:collapse;width:100%;min-width:620px;margin:0;font-size:13px}#game-view .politics-table thead{background:#d9c89c}#game-view .politics-table th,#game-view .politics-table td{text-align:left;vertical-align:middle;overflow-wrap:anywhere;border:0;border-bottom:1px solid #d3c29a;padding:11px 10px}#game-view .politics-table thead th{text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;font-size:11px}#game-view .politics-table tbody th{min-width:190px;max-width:310px;font-weight:400}#game-view .politics-table tbody td{font-variant-numeric:tabular-nums}#game-view .politics-table tbody tr:last-child>*{border-bottom:0}#game-view .politics-table tbody tr[data-politics-row]{cursor:pointer}#game-view .politics-table tbody tr[data-politics-row]:hover{background:#eee0b9}#game-view .politics-table tbody tr.is-selected{background:#e3d4a9}#game-view .politics-table tbody tr.is-selected>th{box-shadow:inset 3px 0 #705526}#game-view .politics-select{width:100%;min-height:30px;box-shadow:none;color:var(--text,#302719);font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;padding:4px 8px;font-weight:700;display:block}#game-view .politics-select:hover{color:#79501d;background:0 0}#game-view .politics-select:focus-visible{outline-offset:3px;outline:2px solid #705526}#game-view .politics-own{color:#4a6036;margin-top:3px;padding-left:8px;font-size:11px;display:block}#game-view .politics-empty{text-align:center;color:var(--muted);padding:28px 12px;font-size:14px}#game-view .politics-sidebar{scrollbar-gutter:stable;background:#f1e5c6;border:1px solid #aa9264;min-width:0;max-height:calc(100dvh - 16px);scroll-margin-top:12px;position:sticky;top:8px;overflow:auto}#game-view .politics-sidebar:focus{outline-offset:2px;outline:2px solid #8e7545}#game-view .politics-nav{background:#dfcfa7;border-bottom:1px solid #bba274;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px;display:grid}#game-view .politics-nav button{text-align:left;white-space:normal;justify-content:space-between;align-items:center;gap:4px;min-width:0;min-height:40px;padding:7px;font-size:12px;line-height:1.35;display:flex}#game-view .politics-nav button.active{color:#fff5de;background:#735c34;border-color:#5a4727}#game-view .politics-nav b{opacity:.85;font-variant-numeric:tabular-nums;flex-shrink:0}#game-view .politics-tools{border-bottom:1px solid #c9b68a;gap:6px;padding:10px 12px;display:grid}#game-view .politics-context{overflow-wrap:anywhere;min-width:0;padding:14px 12px}#game-view .politics-context+.politics-context{border-top:1px solid #c9b68a}#game-view .politics-context h4{margin:3px 0 10px;font-size:19px}#game-view .politics-context h5{margin:12px 0 8px;font-size:14px}#game-view .politics-context p{margin:8px 0;font-size:13px;line-height:1.55}#game-view .politics-facts{margin:12px 0;font-size:13px}#game-view .politics-facts>div{border-bottom:1px solid #dacaa7;justify-content:space-between;gap:12px;padding:6px 0;display:flex}#game-view .politics-facts dt{color:var(--muted);flex-shrink:0}#game-view .politics-facts dd{text-align:right;overflow-wrap:anywhere;margin:0}#game-view .politics-actions{align-items:start;gap:7px;margin-top:12px;display:grid}#game-view .politics-actions button,#game-view .politics-context>button{white-space:normal;width:100%;min-height:36px}#game-view .politics-sidebar form{gap:7px;margin:10px 0;display:grid}#game-view .politics-sidebar input,#game-view .politics-sidebar textarea,#game-view .politics-sidebar select{box-sizing:border-box;width:100%;min-width:0;font:inherit}#game-view .politics-sidebar textarea{resize:vertical;padding:8px}#game-view .politics-sidebar label{font-size:13px;font-weight:700}#game-view .politics-sidebar small{font-size:12px;line-height:1.5}#game-view .politics-confirm{background:#f8edcf;border:1px solid #a9915c;padding:10px}#game-view .politics-confirm strong{font-size:14px}#game-view .politics-option{border-top:1px solid #c9b68a;margin-top:10px;padding-top:10px}#game-view .politics-compact-list{margin:8px 0;padding-left:18px;font-size:13px;line-height:1.8}@media (max-width:1100px){#game-view .politics-workspace{grid-template-columns:minmax(0,1fr) 280px;gap:10px}}@media (max-width:900px){#game-view .politics-workspace{grid-template-columns:minmax(0,1fr)}#game-view .politics-sidebar{max-height:none;position:static;overflow:visible}#game-view .politics-nav{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}#game-view .politics-table-scroll{max-height:55dvh}#game-view .politics-table thead th{z-index:1;background:#d9c89c;position:sticky;top:0}}#game-view .politics-table-link{display:none}#game-view .politics-main:focus{outline:none}@media (max-width:900px){#game-view .politics-table-link{margin:10px 12px;display:block}}.notification-launcher{right:20px;bottom:max(18px,env(safe-area-inset-bottom));z-index:1100;color:#382c1f;text-align:left;background:#f7eccf;border:1px solid #9b8153;align-items:center;gap:9px;min-height:48px;padding:9px 13px;display:flex;position:fixed;box-shadow:0 5px 20px #20170f40}.notification-launcher .game-icon{flex:0 0 30px;width:30px;height:30px}.notification-launcher span{font-size:13px;font-weight:700}.notification-launcher small{color:#75634a;margin-top:1px;font-size:10px;font-weight:400;display:block}.notification-launcher.has-unread{border-color:#355979;box-shadow:inset 3px 0 #355979,0 5px 20px #20170f40}.notification-count{color:#fff7e6;background:#315b7c;border-radius:50%;place-items:center;min-width:23px;height:23px;padding:0 4px;font:700 11px/1 Tahoma,sans-serif;display:grid}.notification-inbox{color:#342b21;background:#f7efd9;border:1px solid #90744c;border-radius:10px;width:min(530px,100vw - 32px);max-width:none;max-height:min(750px,100dvh - 105px);margin:0;padding:0;font:13px/1.45 Tahoma,sans-serif;position:fixed;inset:auto 20px 80px auto;overflow:hidden;box-shadow:0 18px 70px #17130dc0}.notification-inbox[open]{flex-direction:column;display:flex}.notification-inbox::backdrop{background:#17120d35}.notification-inbox button,.notification-inbox select{font:inherit;cursor:pointer;touch-action:manipulation;border-radius:4px}.notification-inbox button:disabled{cursor:default;opacity:.5}.notification-inbox button:focus-visible,.notification-launcher:focus-visible,.notification-inbox select:focus-visible{outline-offset:3px;outline:2px solid #315b7c}.notification-inbox button.secondary{color:#58452c;background:#f6ecd1;border:1px solid #bda67c;min-height:32px;padding:6px 9px}.notification-header{color:#fff1cf;background:#3a2c21;border-bottom:3px solid #a38752;flex-shrink:0;align-items:center;gap:12px;padding:18px 20px 16px;display:flex}.notification-seal{background:#e6d6ad;border:1px solid #907449;border-radius:50%;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.notification-seal .game-icon{width:34px;height:34px}.notification-eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#d9c498;font-size:9px}.notification-header h2{margin:4px 0;font:700 24px/1.15 Georgia,serif}.notification-header p{color:#f2ddb1;margin:5px 0 0;font-size:11px}.notification-header p span{color:#c8b389}.notification-header .notification-close{color:#f4e1bb;background:0 0;border-color:#89704b;align-self:flex-start;min-width:32px;margin-left:auto;padding:2px;font-size:22px;line-height:1}.notification-toolbar{flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:13px 18px 7px;display:flex}.notification-tabs{gap:5px;display:flex}.notification-inbox .notification-tabs [aria-pressed=true]{color:#fff7e6;background:#315b7c;border-color:#315b7c}.notification-tabs span{margin-left:3px;font-size:11px}.notification-category select{color:#5d503c;background:#fff9e9;border:1px solid #bdad89;max-width:170px;min-height:32px;padding:7px 8px;font-size:12px}.notification-actions{border-bottom:1px solid #d7c7a4;flex-shrink:0;gap:8px;padding:0 18px 10px;display:flex}.notification-inbox .notification-actions button{box-shadow:none;color:#315b7c;background:0 0;border:0;min-height:26px;padding:3px 0;font-size:11px}.notification-actions .notification-refresh{margin-left:auto}.notification-list{overscroll-behavior:contain;scrollbar-color:#b8a17a #f7efd9;scrollbar-width:thin;min-height:120px;padding-bottom:5px;overflow:auto}.notification-list:focus{outline:none}.notification-day h3{z-index:1;letter-spacing:.08em;text-transform:uppercase;color:#756246;background:#e9dec3f5;border-block:1px solid #d7c7a4;margin:0;padding:8px 19px;font-size:10px;position:sticky;top:0}.notification-day:first-child h3{border-top:0}.notification-day ol{margin:0;padding:0;list-style:none}.notification-entry{overflow-wrap:anywhere;background:#f6efdf;border-bottom:1px solid #dfd3b8;border-left:3px solid #0000;gap:11px;padding:13px 18px;display:flex}.notification-entry.is-unread{background:#fff8e7;border-left-color:#315b7c}.notification-entry.is-warning.is-unread{border-left-color:#996337}.notification-entry-icon{flex:0 0 32px;align-self:flex-start;margin-top:2px;position:relative}.notification-entry-icon .game-icon{width:30px;max-width:100%;height:30px}.notification-unread-dot{background:#315b7c;border:2px solid #fff8e7;border-radius:50%;width:8px;height:8px;position:absolute;bottom:-1px;right:-1px}.notification-entry-content{flex:1;min-width:0}.notification-entry-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.notification-entry-heading h4{margin:0;font-size:12px;font-weight:600;line-height:1.4}.notification-entry.is-unread h4{font-weight:700}.notification-entry time{white-space:nowrap;color:#887758;font-size:10px}.notification-entry p{color:#73614b;margin:4px 0 6px;font-size:12px;line-height:1.5}.notification-entry-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.notification-entry-actions button{box-shadow:none;background:0 0;border:0;min-height:26px;padding:2px 0;font-size:10px}.notification-open{color:#315b7c;font-weight:700!important}.notification-read{color:#83745a;margin-left:auto}.notification-entry.is-unread .notification-read{color:#315b7c}.notification-empty{text-align:center;color:#7a674e;padding:35px 24px}.notification-empty .game-icon{opacity:.65;width:54px;height:54px}.notification-empty h3{color:#51412e;margin:12px 0 8px;font:700 20px Georgia,serif}.notification-empty p{max-width:310px;margin:0 auto 12px;font-size:12px}.notification-more{display:block;margin:12px auto!important}.notification-footer{color:#827052;background:#ece1c6;border-top:1px solid #d4c39f;flex-shrink:0;align-items:center;gap:7px;padding:10px 18px;font-size:10px;display:flex}.notification-status-dot{background:#718561;border-radius:50%;flex-shrink:0;width:5px;height:5px}.notification-error{color:#8b492d;background:#fff0df;border-block:1px solid #d6b995;margin:0;padding:10px 18px;font-size:12px}.notification-error button{margin-left:5px}.notification-inbox .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:600px){.notification-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:8px 11px}.notification-launcher span{font-size:12px}.notification-inbox{border-radius:9px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);inset:12px 12px auto}.notification-header{gap:10px;padding:15px}.notification-header h2{font-size:23px}.notification-toolbar{gap:8px;padding:11px 12px 7px}.notification-category{flex:1}.notification-category select{width:100%;max-width:none;font-size:11px}.notification-tabs{gap:4px}.notification-inbox .notification-tabs button{padding:6px 8px;font-size:11px}.notification-actions{padding-inline:12px}.notification-entry{gap:8px;padding:12px 11px}.notification-entry-heading{flex-wrap:wrap;gap:2px 7px}.notification-entry-heading time{margin-left:auto}.notification-entry-heading h4{flex:1;min-width:145px}.notification-entry-actions{gap:6px}.notification-entry-actions button{min-height:32px;font-size:10px}.notification-footer{padding:10px 12px}.notification-entry-icon{flex-basis:28px}.notification-entry-icon .game-icon{width:26px;height:26px}}@media (prefers-reduced-motion:no-preference){.notification-inbox[open]{animation:.16s ease-out notification-appear}@keyframes notification-appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}.notification-actions{flex-wrap:wrap}.notification-inbox .notification-actions .notification-new{font-weight:700}.game-toasts{pointer-events:none;gap:8px;width:min(380px,100%);display:grid}.game-toast{pointer-events:auto;color:#382c1f;background:#f7eccf;border:1px solid #9b8153;align-items:center;gap:10px;padding:9px 10px 9px 13px;font:700 13px/1.35 Tahoma,sans-serif;display:flex;box-shadow:inset 3px 0 #4f7a3a,0 5px 20px #20170f40}.game-toast span{flex:1}.game-toast button{min-height:32px;padding:4px 10px}.game-toast .game-toast-dismiss{color:#5b4a35;box-shadow:none;background:0 0;border:0;padding:4px 6px;font-size:18px;line-height:1}.knight-appearance{flex:none;width:128px;height:280px;display:block;position:relative}.knight-part,.designer-swatch{image-rendering:pixelated;background-image:url(/assets/wardrobe-CqiyfcB9.png);background-repeat:no-repeat;background-size:600% 300%;display:block}.knight-part{width:128px;height:128px;position:absolute}.knight-part-headgear,.designer-choices-headgear .designer-swatch{background-image:url(/assets/headgear-faces-DPpwfyPJ.png)}.knight-part-chest{top:60px;left:0}.knight-part-shoes{width:115px;height:115px;top:165px;left:6.5px}.character-designer{box-sizing:border-box;color:#3b2d22;background:#f4ecd9;border:2px solid #967347;border-radius:8px;width:min(1010px,100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:auto;box-shadow:0 18px 80px #1c130db3}.character-designer::backdrop{background:#19150ed1}.designer-heading{background:#e9dcc0;border-bottom:1px solid #ccb78f;justify-content:space-between;align-items:start;gap:1rem;padding:1.3rem 1.5rem;display:flex}.designer-heading h2{margin:.3rem 0 .5rem;font-size:1.7rem}.designer-heading p{color:#695945;max-width:600px;margin:0;line-height:1.5}.designer-heading h2:focus{outline:none}.designer-body{grid-template-columns:230px minmax(0,1fr);gap:1.5rem;padding:1.4rem;display:grid}.designer-preview{text-align:center;flex-direction:column;align-self:start;align-items:center;gap:.6rem;display:flex;position:sticky;top:1rem}.designer-preview>span:last-child{color:#776348;font:.8rem system-ui,sans-serif}.designer-portrait{background:radial-gradient(#4a5144,#252e29 75%);border:5px ridge #9d8356;width:100%;height:338px;position:relative;box-shadow:inset 0 0 32px #10140f}.designer-portrait .knight-appearance{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1.1)}.designer-options{min-width:0}.designer-options fieldset{border:0;min-width:0;margin:0 0 1.2rem;padding:0}.designer-options legend{width:100%;margin-bottom:.6rem;font-size:1.15rem;font-weight:700}.designer-options legend small{color:#78664c;margin-left:.6rem;font:.75rem system-ui,sans-serif}.designer-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.designer-choices-chest{grid-template-columns:repeat(5,minmax(0,1fr))}.designer-choices-shoes{grid-template-columns:repeat(4,minmax(0,1fr))}.designer-choice{color:#4f422e;background:#e9dfc9;border:1px solid #cab88e;border-radius:4px;flex-direction:column;justify-content:start;align-items:center;gap:.2rem;min-width:0;padding:.4rem .25rem .5rem;font:.75rem/1.35 system-ui,sans-serif;display:flex;position:relative}.designer-choice:hover{background:#f8f0dd;border-color:#9c753f}.designer-choice.selected{background:#f9efd3;border-color:#6f542c;box-shadow:inset 0 0 0 2px #b89452}.designer-choice:focus-visible{outline-offset:3px;outline:3px solid #315e71}.designer-swatch{flex:none;width:64px;height:64px}.designer-choice-mark{color:#5a6336;font-weight:700;position:absolute;top:.25rem;right:.4rem}.designer-footer{z-index:1;background:#e9dcc0;border-top:1px solid #ccb78f;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex;position:sticky;bottom:0}.designer-footer p{color:#655438;margin:0;font-size:.875rem}.designer-footer .is-error{color:#9b3028}.designer-footer>div{flex-shrink:0;gap:.5rem;display:flex}@media (max-width:680px){.character-designer{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.designer-heading{padding:1rem}.designer-heading h2{font-size:1.35rem}.designer-body{grid-template-columns:1fr;gap:1rem;padding:1rem}.designer-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.designer-preview{position:static}.designer-portrait{width:160px;height:220px}.designer-portrait .knight-appearance{transform:translate(-50%,-50%)scale(.72)}.designer-preview>.realm-eyebrow{display:none}.designer-footer{flex-direction:column;align-items:stretch;gap:.4rem;padding:.6rem .8rem}.designer-footer>div{justify-content:end}}body{background:#30271e}#panel :is(section,details,.home-records,.rank-profile,.rank-ladder,.research-desk,.research-branches,.commerce-catalog,.commerce-inspector,.progression-milestones,.stable-tiers){scroll-margin-top:10px}.skip-to-game{z-index:2000;color:#fff4d4;background:#493127;border:2px solid #d5af64;padding:8px 12px;position:fixed;top:-80px;left:12px}.skip-to-game:focus{top:8px}#game-view{padding-bottom:0}.notification-inbox{border-radius:0;max-height:calc(100dvh - 70px);inset:52px 20px auto auto}.notification-inbox :is(button,select,.notification-seal){border-radius:0}.notification-header{gap:8px;padding:10px 12px}.notification-header h2{font-size:20px}.notification-seal{width:36px;height:36px}.notification-entry{gap:7px;padding:8px 10px}.notification-toolbar{gap:5px;padding:8px 10px}.notification-actions{padding-inline:10px}.notification-entry-icon,.notification-entry-icon .game-icon{flex-basis:24px;width:24px;height:24px}#game-view .court-columns:has(.home-desk){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.home-desk-sections{gap:6px;display:grid}.home-desk-sections>section{border:1px solid var(--line-soft);min-width:0}.home-desk-heading{background:#dfcda4;align-items:center;gap:7px;padding:5px 7px;display:flex}.home-desk-heading .pixel-art{object-fit:contain;width:26px;height:26px}.home-desk-heading div{min-width:0}.home-desk-heading span{color:var(--muted);text-transform:uppercase;font-size:10px;display:block}.home-desk-heading strong{overflow-wrap:anywhere;font:700 14px/1.3 Georgia,serif;display:block}.home-desk-links{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}#game-view .home-desk-links button{box-shadow:none;text-align:left;color:#673c2d;white-space:normal;text-underline-offset:2px;background:#f3e8ce;border:0;border-top:1px solid #c7b18a;padding:5px 7px;font-size:12px;text-decoration:underline}#game-view .home-desk-links button:nth-child(2n){border-left:1px solid #c7b18a}#game-view .home-desk-links button:hover{background:#e4d2ac}.world-pages{border:1px solid var(--line-soft);grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:7px;display:grid}#game-view .world-pages button{border:0;border-right:1px solid var(--line-soft);color:#513727;text-align:left;box-shadow:none;white-space:normal;background:#dfcda4;padding:7px 8px;position:relative}#game-view .world-pages button:last-child{border-right:0}.world-pages strong{font-size:12px;display:block}#game-view .world-pages small{color:#67533b;margin-top:3px;font-size:10px;display:block}#game-view .world-pages button[aria-current]{color:#fff5dd;background:#526447;box-shadow:inset 0 -3px #c9ab64}#game-view .world-pages button[aria-current] small{color:#efe2c3}.world-page-count{color:#fff3d5;background:#843e32;padding:0 4px;font:700 10px/1.4 Tahoma,sans-serif;display:inline-block}.world-admin{border:1px solid var(--line-soft);margin-top:7px}.world-admin>summary{cursor:pointer;background:#dfcda4;padding:5px 7px}#game-view .world-admin .world-reset-panel{border:0;margin:0}.world-page{min-width:0}#game-view .world-page>.realm-card{margin:0}#game-view .world-map-section{padding:6px}#game-view .world-workspace{gap:7px}#game-view .world-map-toolbar .world-map-controls{justify-content:flex-start}#game-view .world-map-controls button{min-height:25px}#game-view .world-map-selection{min-height:38px;padding:5px}#game-view .world-map-legend{margin-block:6px;font-size:11px}.world-page :is(.faction-heading,.fealty-heading,.fealty-row){justify-content:space-between;align-items:center;display:flex}.world-page :is(.faction-actions,.fealty-actions){flex-wrap:wrap;align-items:center;display:flex}.world-page .fealty-offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.world-page h4{margin:8px 0 5px;font:700 14px Georgia,serif}.world-page>.realm-journal:first-child{margin-top:0;padding-top:0}#game-view :is(.faction-council,.fealty-council){padding:7px}.fealty-heading{border-bottom:1px solid var(--line-soft);background:#dfcda4;margin:-7px -7px 7px;padding:5px 7px}.fealty-heading h3{margin:0;font:700 17px/1.2 Georgia,serif}.fealty-heading .realm-eyebrow{font-size:10px}.world-page :is([data-faction-detail],[data-fealty-detail]){background:#f4e9cf;border:1px solid #bca376;min-width:0;margin-block:6px;padding:0 7px}.world-page :is([data-faction-detail],[data-fealty-detail])>summary{color:#553b29;cursor:pointer;overflow-wrap:anywhere;background:#e1d0aa;border-bottom:1px solid #0000;margin-inline:-7px;padding:5px 7px}.world-page :is([data-faction-detail],[data-fealty-detail])[open]>summary{border-bottom-color:#bca376;margin-bottom:6px}.world-page :is([data-faction-detail],[data-fealty-detail]) p{max-width:110ch}.world-page .fealty-row{background:#f3e8ce;border-bottom:1px solid #c5ac80;gap:6px 12px;margin:0;padding:6px}.world-page .fealty-row:nth-child(2n){background:#e9dbbb}.world-page .fealty-row>div{min-width:0}.world-page :is(.faction-actions,.faction-standing-actions,.fealty-actions){gap:4px}.world-page :is(.faction-council-posts,.fealty-bonds){border:1px solid #c5ac80;margin-block:6px}.world-page form[data-faction-form]{background:#e9dbb9;border:1px solid #c5ac80;max-width:650px;margin-block:6px;padding:7px}.world-page textarea{resize:vertical;width:100%}#game-view .merchant-desk{margin:0 0 7px;padding:0}.merchant-desk>summary{cursor:pointer;color:#573c29;background:#dfcda4;padding:6px 8px}.merchant-desk>summary>span{margin-left:10px;font-size:11px}.merchant-desk>summary>small{float:right}.merchant-desk-body{border-top:1px solid var(--line-soft);padding:7px}.merchant-desk-body .commerce-filters{flex-wrap:wrap;align-items:end;gap:7px;display:flex}.merchant-desk-body .commerce-filters>label{flex:120px}.commerce-catalog{min-width:0;container:merchant-stalls/inline-size}@container merchant-stalls (width>=570px){#game-view .commerce-cards.market-rows{border:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr);gap:0}#game-view .commerce-cards.market-rows .item-card{border:0;border-bottom:1px solid var(--line-soft);background:var(--panel);grid-template-columns:minmax(145px,1.2fr) minmax(130px,1.4fr) minmax(75px,.7fr) minmax(110px,1fr);align-items:center;gap:3px 10px;padding:6px;display:grid}#game-view .commerce-cards.market-rows .item-card:nth-child(2n){background:#e8d8b5}#game-view .commerce-cards.market-rows .item-card:last-child{border-bottom:0}#game-view .commerce-cards.market-rows .item-card-heading{grid-area:1/1/3}#game-view .commerce-cards.market-rows .item-details{grid-area:1/2/3;font-size:11px}#game-view .commerce-cards.market-rows .item-owned{grid-area:1/3;font-size:11px}#game-view .commerce-cards.market-rows .item-prices{grid-area:2/3;justify-content:flex-start;font-size:12px}#game-view .commerce-cards.market-rows .item-actions{grid-area:1/4/3;align-content:center;margin:0;padding:0}#game-view .commerce-cards.market-rows .item-card-heading .item-emblem{flex-basis:32px;width:32px;height:36px}#game-view .commerce-cards.market-rows .item-stats{gap:3px}#game-view .commerce-cards.market-sales .item-prices{grid-area:1/2/3;gap:7px;display:flex}#game-view .commerce-cards.market-sales .item-owned{grid-area:1/3/3}}#game-view .trading-card{box-shadow:none;border-radius:0;grid-template-columns:64px minmax(0,1fr);display:grid}.trading-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:6px}.trading-card-art{border-bottom:0;border-right:1px solid var(--card-colour);padding:4px}.trading-card-art img{width:56px;height:56px}.trading-card-body{gap:4px;padding:6px}.trading-card-body h3{font:700 15px/1.2 Georgia,serif}.card-workspace{gap:7px}.card-uncollected{border:1px solid var(--line-soft);margin-top:7px}.card-uncollected>summary{cursor:pointer;background:var(--paper-deep);color:#553b29;padding:6px 8px}.card-uncollected>.trading-card-grid{padding:6px}.card-wheel-panel{grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:14px}#game-view .rank-card{box-shadow:none;border-radius:0}.rank-card .rank-portrait{max-width:80px;margin:5px auto}.rank-card h3{min-height:0;margin:4px 0}.rank-privileges{padding:6px}#game-view :is(.village-estate-ledger,.village-editor-heading,.parish-editor-heading){gap:7px;margin-bottom:6px;padding:7px 9px}#game-view :is(.village-editor-heading,.parish-editor-heading) h3{font-size:18px}#game-view .village-estate-ledger>div:first-child>strong{font-size:17px}#game-view .village-estate-stocks>span{min-width:75px;padding:3px 6px}#game-view .village-estate-stocks .pixel-art{width:22px;height:22px}#game-view .parish-construction-tabs button{min-height:29px;padding:5px 7px}.parish-workspace{gap:7px}.parish-intro{gap:10px}.parish-hall{width:72px;height:72px}.parish-council-grid{gap:7px}#game-view :is(.parish-community-projects,.parish-treasury,.parish-election,.parish-relics,.parish-garrison,.parish-campaigns,.parish-donor-board,.parish-missions){min-width:0}#game-view :is(.parish-project,.parish-muster,.parish-recruit-card,.parish-donation-form){gap:5px;padding:6px}.parish-recruitment{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:6px}.parish-recruit-card>div{min-width:0}.parish-recruit-card>img{width:34px;height:34px}.parish-recruit-card label{margin-right:4px;display:inline-flex}.parish-candidates>div{padding:5px 0}.parish-tax-settings{margin-top:7px;padding-top:5px}.parish-tax-settings h4{margin:4px 0}.parish-treasury-form{gap:6px;margin:7px 0}.parish-project-ledger{gap:4px;margin:6px 0}.parish-donor-table th,.parish-donor-table td{padding:5px 6px}.parish-muster{margin:6px 0}.parish-stores{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:4px}.parish-stores>div{padding:4px}.parish-stores .pixel-art{width:22px;height:22px}.parish-donation-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:5px}.parish-relic-summary>.pixel-art{width:64px;height:64px}.village-wellbeing{gap:7px;margin:7px 0}.village-wellbeing-card{background:var(--panel);padding:7px}.village-wellbeing-heading{border-bottom:1px solid var(--line-soft);gap:6px;padding-bottom:5px}.village-wellbeing-heading>.pixel-art{width:32px;height:32px}.village-wellbeing-heading h4{margin:2px 0;font-size:17px}.village-wellbeing-heading>strong{font-size:17px}.village-wellbeing-card meter{height:10px;margin:7px 0}.faith-services{margin-block:7px}.faith-services div{padding:4px 0}.village-food-stores{gap:4px;margin-block:7px}.village-food-stores>div{padding:4px}.village-food-stores img{width:24px;height:24px}.village-banquets{margin:7px 0;padding:7px}.village-banquets>h4{margin:3px 0 6px;font:700 17px Georgia,serif}.banquet-options{gap:6px;margin:7px 0}.banquet-option{padding:6px}.scriptorium-banner{gap:8px;margin-bottom:7px;padding:8px}.scriptorium-banner h3{font-size:18px}.scriptorium-seal{width:40px;height:40px}.scriptorium-seal .pixel-art{width:32px;height:32px}.research-desk{gap:7px;margin-bottom:7px}.research-standing{gap:8px;padding:7px}.research-standing .rank-portrait{width:56px;height:56px}.research-titlebar{padding:5px 7px}.research-branch>header .pixel-art{width:28px;height:28px}.research-branches{gap:7px}.research-branch{box-shadow:none;border-width:1px}.research-motto{min-height:0;padding:6px 7px}.research-study{padding:7px}.research-entry>summary{cursor:pointer;padding-right:15px;list-style:none;position:relative}.research-entry>summary::-webkit-details-marker{display:none}.research-entry>summary:after{content:"+";color:#796144;font-weight:700;position:absolute;top:1px;right:0}.research-entry[open]>summary:after{content:"−"}.research-entry-body>button{width:100%}.research-entry-body .research-learned{margin-top:6px}.research-entry:not([open]) h4{font-size:13px}.research-entry:not([open]) .research-status{font-size:10px}.research-study+.research-study:before{display:none}.research-study-heading{gap:5px}.research-benefit,.research-price{margin:6px 0}.research-reason{margin-top:5px}.research-bonuses{gap:4px 10px;margin-bottom:7px;padding:6px 7px;font-size:11px}.rank-profile{gap:12px;padding:8px}.rank-profile .rank-portrait.is-large{width:96px;height:96px}.rank-profile h3{font-size:20px}.rank-guide{margin:7px 0}.rank-ladder{gap:6px}@media (min-width:701px) and (max-width:1450px){#game-view .world-directory{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:4px 8px;display:grid}#game-view .world-directory .world-search,#game-view .world-directory-filters{margin:0}#game-view .world-village-list{grid-area:2/1/auto/-1}#game-view .world-directory>p{margin:0}#game-view .world-directory .world-refresh{grid-column:2;justify-self:end}}@media (max-width:1100px){.world-pages small{display:none!important}}@media (max-width:700px){.notification-inbox{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);inset:8px auto auto 8px}#game-view .court-columns:has(.home-desk){grid-template-columns:1fr}.world-pages{grid-template-columns:repeat(3,minmax(0,1fr))}#game-view .world-pages button{border-bottom:1px solid var(--line-soft);min-height:32px;padding:7px 5px}#game-view .world-pages strong{font-size:11px}#game-view .world-pages button:nth-child(3){border-right:0}.world-page .fealty-row{flex-wrap:wrap}.world-page :is(.faction-actions,.faction-standing-actions,.fealty-actions){max-width:100%}.world-page :is(.faction-heading,.fealty-heading){flex-wrap:wrap;gap:5px}.world-page .fealty-offers{grid-template-columns:1fr}.merchant-desk>summary>small{display:none}.merchant-desk>summary>span{margin:3px 0 0 14px;display:block}.card-wheel-panel{grid-template-columns:1fr}.card-wheel{max-width:240px}.parish-council-grid{grid-template-columns:1fr}}:root{--shell-bottom:0px;--shell-dark:#493127;--shell-gold:#ad8750;--shell-light:#fff2d2}#game-view.game-shell{width:calc(100% - 16px);max-width:1920px;color:var(--ink);margin:8px auto;padding:0 0 12px;display:block}#game-view .sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.header-eyebrow{text-transform:uppercase;letter-spacing:.11em;color:#79603d;font:700 .875rem/1.6 system-ui,sans-serif;display:block}.realm-header{border:1px solid var(--line);background:var(--paper);border-top:3px solid #b99a61;grid-template-columns:auto minmax(110px,max-content) minmax(100px,170px) minmax(84px,170px) minmax(84px,170px) auto auto minmax(0,1fr);align-items:center;column-gap:12px;display:grid}#knight-identity,#status-grid,.header-compact{display:contents}#topbar-root{background:var(--shell-dark);border-bottom:2px solid var(--shell-gold);min-width:0;height:40px;color:var(--shell-light);grid-column:1/-1;align-items:center;gap:10px;padding:0 8px;display:flex}.header-brand{align-items:baseline;gap:12px;min-width:0;display:flex}#game-view .header-brand h1{color:var(--shell-light);white-space:nowrap;margin:0;font:700 20px/1 Georgia,Times New Roman,serif}.header-clock{color:#e3cfa3;white-space:nowrap;font-variant-numeric:tabular-nums;font:12px/1.2 Tahoma,Verdana,sans-serif}.header-event{white-space:nowrap;text-overflow:ellipsis;background:#5d4032;border:1px solid #8c6d40;align-items:baseline;gap:6px;min-width:0;margin:0;padding:2px 8px;font-size:12px;display:flex;overflow:hidden}.header-event strong{color:#f1d488;text-overflow:ellipsis;overflow:hidden}.header-event span{color:#e3cfa3}.header-controls{align-items:center;gap:5px;min-width:0;margin-left:auto;display:flex}.topbar-quick{align-items:center;gap:5px;display:flex}#game-view #topbar-root :is(.topbar-quick>button,.daily-gift-button,.notification-launcher,.account-controls>summary){z-index:auto;color:#4c3226;min-height:30px;box-shadow:var(--control-bevel);cursor:pointer;white-space:nowrap;background:#e6d4ac;border:1px solid #9f8355;border-radius:0;align-items:center;gap:5px;margin:0;padding:3px 8px;font:13px/1.2 Tahoma,Verdana,sans-serif;display:inline-flex;position:relative;inset:auto}#game-view #topbar-root .daily-gift-button:not(.is-claimed){background:#f1d78d;border-color:#ad8547;font-weight:700}#game-view #topbar-root .daily-gift-button.is-claimed{color:#5b4636;background:#e3d3b0}#game-view #topbar-root .daily-gift-button[aria-disabled=true]{cursor:default}.daily-gift{position:relative}.daily-gift-button img{width:18px;height:18px;image-rendering:pixelated}.daily-gift-button small,.daily-gift-button strong{font:inherit}.daily-gift-button small{display:none}.daily-gift-feedback{z-index:30;border:1px solid var(--shell-gold);background:var(--shell-dark);color:#f0dfac;white-space:normal;width:max-content;max-width:min(320px,80vw);padding:5px 8px;font-size:12px;line-height:1.35;position:absolute;top:calc(100% + 6px);left:0}.daily-gift-feedback:empty{display:none}.daily-gift-feedback:not(.is-error){animation:.4s 6s forwards shell-fade}.daily-gift-feedback.is-error{color:#ffc0ac}@keyframes shell-fade{to{opacity:0;visibility:hidden}}#topbar-root kbd{color:#6d5a3d;background:#f4e7c6;border:1px solid #b59b6e;padding:0 3px;font:10px/1.4 Tahoma,sans-serif}#topbar-root .notification-launcher .game-icon{flex:0 0 18px;width:18px;height:18px}#topbar-root .notification-launcher small{display:none}#topbar-root .notification-count{border-radius:0;min-width:17px;height:17px;padding:0 3px;font-size:10px;line-height:17px}.account-controls{position:relative}.account-controls>summary{list-style:none}.account-controls>summary::-webkit-details-marker{display:none}.account-glyph{font-weight:700}.account-menu{z-index:40;border:1px solid var(--shell-gold);background:var(--shell-dark);width:280px;max-width:calc(100vw - 16px);max-height:min(80vh,620px);padding:6px;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 6px 18px #0006}.account-menu .password-settings{color:var(--shell-light);margin-top:8px}.account-menu :is(.password-form label,.password-form p,.password-message){color:var(--shell-light)}.account-menu .password-form .password-error{color:#ffb9ac}#game-view .account-menu .topbar-actions{flex-wrap:wrap;gap:5px;margin-top:6px;display:flex}#game-view .account-menu .topbar-actions button{min-height:30px;color:var(--shell-light);background:#5d4032;border-color:#8c6d40}#game-view .account-menu .topbar-actions .danger{color:#e1b8a9;background:0 0;border-color:#8c4b3c}.header-character{border:1px solid var(--line-soft);width:34px;height:38px;box-shadow:none;cursor:pointer;background:#e8d6ad;grid-column:1;margin:4px 0 4px 8px;padding:0;display:block;overflow:hidden}#game-view .header-character{min-height:0;padding:0}.header-character:hover{background:#f5e9d1}.header-character-art{width:100%;height:100%;display:block;position:relative}.header-character-art .knight-appearance{transform-origin:0 0;position:absolute;top:-4px;left:2px;transform:scale(.23)}.header-knight-name{grid-column:2;min-width:0;position:relative}#game-view .header-knight-name h2{white-space:nowrap;text-overflow:ellipsis;margin:0;font:700 15px/1.25 Georgia,serif;overflow:hidden}#game-view .fief-name-trigger{min-height:0;box-shadow:none;color:inherit;font:inherit;text-underline-offset:3px;cursor:text;background:0 0;border:0;padding:0;-webkit-text-decoration:underline dotted #a08458;text-decoration:underline dotted #a08458;display:inline}.fief-input-wrap{display:inline-grid;position:relative}.fief-input-wrap>span,.fief-input-wrap>input{font:inherit;grid-area:1/1}.fief-input-wrap>span{visibility:hidden;white-space:pre;padding-right:2px}#game-view .fief-input-wrap>input{width:100%;min-height:0;color:inherit;box-shadow:inset 0 -2px var(--line);background:0 0;border:0;padding:0}.fief-name-popover{z-index:30;border:1px solid var(--line);background:var(--panel);width:max-content;max-width:min(360px,90vw);padding:5px 8px;position:absolute;top:100%;left:0;box-shadow:0 4px 12px #0003}.fief-name-popover :is(small,p){margin:0;font-size:12px;display:block}.fief-name-feedback.is-error{color:var(--ux-danger)}.header-identity-tags{white-space:nowrap;min-width:0;color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex;overflow:hidden}.header-identity-tags>span{flex:none}.header-rank-text{display:none}.header-identity-tags .header-warning{color:#8c4336;background:#efd8c7;padding:0 4px}.header-identity-tags .header-boost{color:#52623c;background:#e2e8cb;padding:0 4px}#game-view button.header-link.secondary{min-height:0;box-shadow:none;color:#6d3030;text-underline-offset:2px;text-overflow:ellipsis;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline;overflow:hidden}.header-experience{grid-column:3;min-width:0}.header-xp-text{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;margin-top:2px;font-size:11px;display:block;overflow:hidden}.header-meter{min-width:0}.header-meter.health{grid-column:4}.header-meter.energy{grid-column:5}.header-meter>div:first-child{white-space:nowrap;justify-content:space-between;gap:4px;margin-bottom:3px;font-size:12px;display:flex}.header-meter strong{font-variant-numeric:tabular-nums;font:700 12px Georgia,serif}.header-meter strong>span{color:var(--muted);font:11px Tahoma,sans-serif}.header-meter-track{background:#e3d8bd;border:1px solid #b39a6d;height:6px;overflow:hidden}.header-meter-track>span{background:#6c8259;height:100%;transition:width .3s;display:block}.header-meter.energy .header-meter-track>span{background:#ae8e48}.header-experience .header-meter-track>span{background:#8a4e40}:is(.compact-gold,.compact-standing){white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:4px;font:700 14px Georgia,serif;display:flex}.compact-gold{grid-column:6}.compact-standing{grid-column:7}:is(.compact-gold,.compact-standing) .game-icon{width:18px;height:18px}.compact-gold small{color:var(--muted);font:11px Tahoma,sans-serif}#active-action{grid-column:8;justify-content:flex-end;gap:5px;min-width:0;padding-right:8px;display:flex}#active-action:empty{display:none}#game-view button.header-chip{border:1px solid var(--line-soft);min-width:0;max-width:100%;min-height:28px;box-shadow:none;color:var(--ink);background:#e7d5ae;align-items:center;gap:5px;padding:2px 8px;font-size:12px;display:inline-flex}.header-chip-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header-chip-glyph{color:#6d3030}#game-view button.header-chip.world-reset-panel{color:#7a1f27;background:#f2d4c4;border-color:#8b2530}.hub-frame{margin-top:6px}.hub-bar{border:1px solid var(--line);background:var(--ledger-heading);border-bottom:0;gap:2px;padding:3px 3px 0;display:flex}#game-view .hub-button{min-width:0;min-height:36px;box-shadow:none;color:#f8e9c6;background:0 0;border:1px solid #0000;border-bottom:0;flex:1 1 0;justify-content:center;align-items:center;gap:7px;margin:0;padding:3px 8px;font:700 14px/1.1 Georgia,serif;display:flex;position:relative}#game-view .hub-button:hover:not(.active){background:#7a5139}#game-view .hub-button.active{border-color:var(--line);background:var(--paper-deep);color:var(--ink)}.hub-button .game-icon{flex:none;width:22px;height:22px}.hub-badge{font-variant-numeric:tabular-nums;color:#fff4ce;text-align:center;background:#506440;border:1px solid #c4aa77;min-width:18px;padding:0 4px;font:700 11px/16px Tahoma,sans-serif;display:inline-block}.hub-badge.is-risk{color:#fff1e6;background:#8b2530;border-color:#d39c8c}.hub-strip{border:1px solid var(--line);background:var(--paper-deep);border-top:0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 8px;min-height:40px;padding:3px 6px;display:grid}.page-strip{scrollbar-width:thin;gap:2px;min-width:0;display:flex;position:relative;overflow-x:auto}#game-view .page-strip button{min-height:32px;box-shadow:none;color:#513427;white-space:nowrap;background:0 0;border:1px solid #0000;flex:none;align-items:center;gap:5px;margin:0;padding:3px 9px;font-size:13px;display:inline-flex}#game-view .page-strip button:hover:not(.active){background:#e8d8b5;border-color:#b5996c}#game-view .page-strip button.active{border-color:var(--line);background:var(--panel);color:var(--ink);font-weight:700;box-shadow:inset 0 -3px #ad8750}.page-strip .game-icon{flex:none;width:18px;height:18px}.workspace-jump{position:relative}.workspace-contents>summary{color:#4c3226;cursor:pointer;background:#e6d4ac;border:1px solid #9f8355;align-items:center;gap:4px;min-height:32px;padding:3px 8px;font-size:12px;list-style:none;display:flex}.workspace-contents>summary::-webkit-details-marker{display:none}.workspace-contents>summary:after{content:"▾"}.workspace-contents[open]>summary:after{content:"▴"}.workspace-jump-short{display:none}.workspace-contents>nav{z-index:40;border:1px solid var(--line);background:var(--panel);width:max-content;min-width:200px;max-width:min(320px,90vw);max-height:60vh;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 6px 18px #0004}#game-view .workspace-contents>nav button{min-height:32px;box-shadow:none;color:#663b2d;text-align:left;white-space:normal;background:0 0;border:0;padding:4px 8px}#game-view .workspace-contents>nav button:hover{background:#e4d2ac}#game-view .ledger-toggle{white-space:nowrap;align-items:center;gap:5px;min-height:32px;margin:0;padding:3px 8px;font-size:12px;display:inline-flex}.ledger-toggle .game-icon{width:16px;height:16px}.ledger-toggle[aria-expanded=true]{background:var(--panel)}.hub-ledger{border-top:1px solid var(--line-soft);grid-column:1/-1;padding:4px 0 2px}.compact-stores{border:1px solid var(--line-soft);background:#e7d5ae;grid-template-columns:repeat(6,minmax(0,1fr));margin:0;display:grid}.compact-stores>div{border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);min-width:0;padding:3px 6px}.compact-stores>div:nth-child(6n){border-right:0}.compact-stores>div:nth-last-child(-n+6){border-bottom:0}.compact-stores .store-deficit{background:#eed7ae}.compact-stores dt{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:3px;font-size:11px;display:flex;overflow:hidden}.compact-stores .game-icon{flex:none;width:14px;height:14px}.compact-stores dd{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:0 5px;margin:1px 0 0;font-size:13px;font-weight:700;display:flex}#game-view .compact-stores small{white-space:nowrap;font-size:10px;font-weight:400}#game-view .compact-stores small.realm-positive{color:#375535}#game-view .compact-stores small.realm-neutral{color:var(--muted)}.header-realm-details{margin-top:4px}#game-view .header-realm-details>summary{color:#614526;cursor:pointer;min-height:0;padding:3px 4px;font-size:12px;display:list-item}.header-realm-summary{color:var(--muted);margin-left:8px}.header-realm-body{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px;padding:4px 0;display:grid}.header-realm-body>section,.header-breakdown{border:1px solid var(--line-soft);background:var(--panel);min-width:0;padding:6px 8px}#game-view .header-realm-body h3,.header-breakdown>strong{color:var(--ink);background:0 0;border:0;margin:0 0 4px;padding:0;font:700 13px Georgia,serif;display:block}.header-realm-body p{color:var(--muted);overflow-wrap:anywhere;margin:3px 0;font-size:12px;line-height:1.4}.header-realm-body dl,.header-breakdown dl{margin:0 0 4px;font-size:12px}.header-realm-body dl>div,.header-breakdown dl>div{border-bottom:1px dotted var(--line-soft);justify-content:space-between;gap:6px;padding:2px 0;display:flex}.header-realm-body dd,.header-breakdown dd{margin:0;font-weight:700}.workspace-shell{min-width:0;margin-top:6px}.workspace-shell .panel{margin:0}#game-view .world-pages,#board-workspace-root .message-board>.realm-section-heading .realm-eyebrow,#board-workspace-root .message-board>.realm-section-heading h3{display:none}#board-workspace-root .message-board>.realm-section-heading{justify-content:flex-end}#panel :is(section,details){scroll-margin-top:8px}.home-dashboard{gap:7px;display:grid}#game-view :is(.home-dashboard,.home-columns)>*{margin:0}.home-event{color:#ead7b1;background:#5d4032;border:1px solid #8c6d40;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:5px 8px;font-size:12px;display:flex}.home-event strong{color:#f1d488;font:700 14px Georgia,serif}.home-agenda .realm-section-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.agenda-list{gap:4px;margin:6px 0 0;padding:0;list-style:none;display:grid}.agenda-item{border:1px solid var(--line-soft);background:var(--panel);border-left:4px solid #8f9a6b;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:5px 8px;display:grid}.agenda-item.is-risk{background:#f6e2d2;border-left-color:#8b2530}.agenda-item.is-ready{border-left-color:#506440}.agenda-item.is-idle{border-left-color:#b59a62}.agenda-item>.pixel-art{object-fit:contain;width:32px;height:32px}.agenda-item strong{font:700 14px/1.25 Georgia,serif;display:block}#game-view .agenda-item p{color:var(--muted);margin:1px 0 0;font-size:12px;line-height:1.35}.agenda-kind{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:10px;display:block}.agenda-item.is-risk .agenda-kind{color:#8b2530;font-weight:700}#game-view .agenda-item>button{white-space:nowrap;min-height:32px}.agenda-more{margin:5px 0 0;font-size:12px}.agenda-empty{border:1px dashed var(--line-soft);background:var(--panel);text-align:center;margin-top:6px;padding:10px}.agenda-empty strong{font:700 16px Georgia,serif}.agenda-empty p{color:var(--muted);margin:4px 0 0}.home-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:7px;display:grid}.home-plans .home-activity{border:1px solid var(--line-soft);background:var(--panel);flex-wrap:wrap;align-items:center;gap:4px 10px;margin:4px 0 0;padding:5px 7px;display:flex}.home-plans .home-activity>div:first-child{flex:160px;min-width:0}.home-plans .home-activity>div:first-child>:is(strong,span){display:block}.home-plans .home-activity>div:first-child>span{color:var(--muted);font-size:12px}.home-plans .court-timer{flex:0 140px}#game-view .home-dashboard>details.realm-journal{border:1px solid var(--line-soft);background:var(--panel);padding:0}#game-view .home-dashboard>details.realm-journal>summary{background:var(--paper-deep);cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-height:36px;padding:6px 8px;display:flex}.home-dashboard>details.realm-journal>summary:before{content:"▸";color:var(--muted)}.home-dashboard>details.realm-journal[open]>summary:before{content:"▾"}.home-dashboard>details.realm-journal>summary>strong{font:700 14px Georgia,serif}.home-dashboard>details.realm-journal>summary>span{color:var(--muted);font-size:12px}.home-dashboard>details.realm-journal>:not(summary),.home-dashboard .home-desk{margin:6px 8px}@media (max-width:1100px){.header-xp-text{display:none}.realm-header{grid-template-columns:auto minmax(110px,max-content) minmax(70px,140px) minmax(80px,150px) minmax(80px,150px) auto auto minmax(0,1fr);column-gap:10px}#topbar-root kbd,.header-event{display:none}.compact-stores{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-stores>div:nth-child(6n){border-right:1px solid var(--line-soft)}.compact-stores>div:nth-child(4n){border-right:0}.compact-stores>div:nth-last-child(-n+6){border-bottom:1px solid var(--line-soft)}.compact-stores>div:nth-last-child(-n+4){border-bottom:0}}@media (max-width:860px){.realm-header{grid-template-columns:auto minmax(0,1fr) minmax(70px,120px) minmax(70px,120px) auto auto}.header-experience{grid-area:3/1/auto/-1;margin:0 8px 4px}.header-meter.health{grid-column:3}.header-meter.energy{grid-column:4}.compact-gold{grid-column:5}.compact-standing{grid-column:6;padding-right:8px}#active-action{grid-area:4/1/auto/-1;justify-content:flex-start;padding:0 8px 4px}#active-action .header-plans-chip{display:none}.daily-gift-button strong,#topbar-root .notification-launcher>span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.home-columns{grid-template-columns:minmax(0,1fr)}.hub-button span:not(.sr-only){font-size:13px}}#game-view :is(.hub-button,.page-strip button){position:relative}#game-view .page-strip button{padding-right:19px}.page-strip button>.hub-badge{min-width:15px;padding:0 2px;font-size:10px;line-height:13px;position:absolute;top:1px;right:1px}@media (min-width:641px){.hub-label{position:relative}.hub-label>.hub-badge{position:absolute;top:50%;left:calc(100% + 6px);transform:translateY(-50%)}}.locked-page-card{grid-template-columns:96px minmax(0,1fr);align-items:start;gap:12px;max-width:780px;display:grid}.locked-page-card>.pixel-art{object-fit:contain;filter:grayscale(.5);width:96px;height:96px}#game-view .locked-page-card h3{margin:2px 0 6px}#game-view .locked-page-card p{margin:4px 0}.locked-page-card .realm-links{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}@media (max-width:640px){:root{--shell-bottom:calc(58px + env(safe-area-inset-bottom))}#game-view.game-shell{width:100%;padding-bottom:calc(var(--shell-bottom) + 8px);margin:0}.realm-header{border-inline:0;border-top-width:2px;grid-template-columns:auto minmax(0,1fr) auto auto;gap:0 8px}#topbar-root{gap:6px;height:44px;padding:0 6px}.header-brand{flex-direction:column;align-items:flex-start;gap:2px}#game-view .header-brand h1{font-size:16px}.header-clock{font-size:10px}.header-controls,.topbar-quick{gap:3px}#game-view #topbar-root :is(.topbar-quick>button,.daily-gift-button,.notification-launcher,.account-controls>summary){justify-content:center;min-width:40px;min-height:40px;padding:2px 6px;font-size:12px}.daily-gift-button strong,#topbar-root .notification-launcher>span,.account-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.daily-gift-button img{width:22px;height:22px}#topbar-root .notification-launcher .game-icon{flex-basis:22px;width:22px;height:22px}#topbar-root .notification-count{position:absolute;top:-4px;right:-4px}.account-glyph{font-size:18px}.daily-gift-feedback{left:auto;right:-120px}.header-character{grid-area:2/1;width:30px;height:32px;margin:3px 0 2px 6px}.header-knight-name{grid-area:2/2}#game-view .header-knight-name h2{font-size:14px;line-height:1.2}.header-identity-tags{font-size:11px;line-height:1.2}.header-identity-tags .header-link.secondary{font-size:11px}.header-optional{display:none}.header-rank-text{display:inline}.compact-gold{grid-area:2/3}.compact-standing{grid-area:2/4;padding-right:6px}:is(.compact-gold,.compact-standing){font-size:13px}.header-meter.health{grid-area:3/1/auto/3;margin-left:6px}.header-meter.energy{grid-area:3/3/auto/5;margin-right:6px}.header-meter>div:first-child{margin-bottom:1px;font-size:11px}.header-meter-track{height:5px}.header-experience{grid-area:4/1/auto/-1;margin:3px 0 0}.header-experience .header-meter-track{border:0;height:3px}#active-action{grid-row:5}.hub-frame{margin-top:0;position:relative}.hub-bar{z-index:900;padding:0 0 env(safe-area-inset-bottom);border:0;border-top:2px solid var(--shell-gold);background:#3b281f;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -3px 10px #0005}#game-view .hub-button{border:0;flex-direction:column;gap:2px;min-height:56px;padding:4px 1px 3px;font:700 11px/1.1 Tahoma,sans-serif}#game-view .hub-button.active{background:var(--paper-deep);box-shadow:inset 0 3px #ad8750}.hub-button .game-icon{width:24px;height:24px}.hub-button .hub-badge{min-width:16px;padding:0 3px;font-size:10px;line-height:14px;position:absolute;top:3px;left:calc(50% + 6px)}.hub-strip{border-inline:0;border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;gap:4px;min-height:46px;padding:3px 4px}#game-view .page-strip button{min-height:40px;padding:3px 19px 3px 8px}.page-strip{scroll-snap-type:x proximity;scrollbar-width:none}.page-strip>button{scroll-snap-align:start}.workspace-contents>summary,#game-view .ledger-toggle{justify-content:center;min-width:40px;min-height:40px;padding:3px 6px}.workspace-jump-label,.ledger-toggle-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.workspace-jump-short{font-weight:700;display:inline}.ledger-caret,.workspace-contents>summary:after,.compact-stores dt .game-icon{display:none}.compact-stores dd{font-size:12px}.workspace-shell{margin-top:4px;padding-inline:4px}.agenda-item{grid-template-columns:28px minmax(0,1fr);padding:6px}.locked-page-card{grid-template-columns:56px minmax(0,1fr)}.locked-page-card>.pixel-art{width:56px;height:56px}#game-view .header-knight-name h2{margin:-2px 0 -20px;padding:2px 0 20px}#game-view .fief-name-trigger{z-index:1;margin:-2px -6px -20px;padding:2px 6px 20px;display:inline-block;position:relative}.agenda-item>.pixel-art{align-self:start;width:28px;height:28px}#game-view .agenda-item>button{grid-column:2;justify-self:start;min-height:40px}#game-view .home-dashboard button,#game-view .home-dashboard>details>summary{min-height:40px}}
