.phase16-workspace .phase17-stage-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,350px);align-items:stretch;gap:14px;margin-bottom:13px}.phase17-stage-main,.phase17-stage-aside{min-width:0;display:flex;flex-direction:column}.phase16-workspace .phase17-stage-main .premium-scene-shell{flex:1;min-height:520px}.phase16-workspace .phase17-stage-main .premium-pixi-view{height:clamp(500px,50vw,745px)}.phase16-workspace .phase17-stage-main .premium-building-selector{margin:0;gap:7px;padding:10px;border-top:1px solid #af894c}.phase16-workspace .phase17-stage-main .premium-building-selector button{flex-basis:130px;min-height:115px;padding:9px 7px;gap:5px;transition:border-color .18s,filter .18s;background:linear-gradient(165deg,#263b2b,#12241b);box-shadow:inset 0 1px #f5df9a17}.phase16-workspace .phase17-stage-main .premium-building-selector button.active{background:linear-gradient(#355b39,#162c1d);box-shadow:inset 0 1px #ffe2a959,0 0 0 1px #d9a950}.phase16-workspace .phase17-stage-main .premium-building-portrait.compact{width:102px;height:88px;background:radial-gradient(ellipse,#6883525e 5%,#142c219c 82%);overflow:hidden}.phase16-workspace .phase17-stage-aside .building-inspector{margin:0;display:flex;flex-direction:column;gap:14px;flex:1;padding:16px;border:1px solid #c39b56!important;background:linear-gradient(180deg,#12291e,#0c1c16)!important;box-shadow:inset 0 0 0 2px #b898382d,0 10px 30px #0009}.phase17-inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0 10px}.phase16-workspace .phase17-inspector-heading h3{font:600 clamp(20px,2vw,26px) Georgia,serif;margin:0;color:#f6df9d}.phase17-inspector-heading span{flex-shrink:0;font-size:10px;padding:6px 8px;background:#223728;color:#f1d792;border:1px solid #8e7849}.phase17-inspector-visual{display:grid;place-items:center;min-height:192px;border:1px solid #aa8a50;background:radial-gradient(ellipse at 52% 65%,#3a593b,#233b2e 43%,#102018 92%);box-shadow:inset 0 2px 32px #07140eb8,0 6px 13px #0007;overflow:hidden}.phase16-workspace .phase17-inspector-visual>.premium-building-portrait{border:0;border-radius:0;background:transparent;box-shadow:none;width:100%;height:214px}.phase16-workspace .phase17-stage-aside .inspector-main{min-width:0}.phase16-workspace .phase17-stage-aside .inspector-main>p{line-height:1.55;font-size:12px;color:#c1cbb6}.phase16-workspace .phase17-stage-aside .inspector-effect{margin:10px 0;font-size:11px}.phase16-workspace .phase17-stage-aside .inspector-stats{margin:12px 0;gap:5px}.phase16-workspace .phase17-stage-aside .inspector-stats span{font-size:10px;padding:6px}.phase16-workspace .phase17-stage-aside .inspector-action{margin-top:auto;padding:13px;background:#241d12;border-color:#b38a46}.phase16-workspace .phase17-stage-aside .inspector-action>strong{font-size:24px}.phase16-workspace .phase17-stage-aside .build-costs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.phase16-workspace .phase17-stage-aside .build-costs>span{font-size:10px;padding:6px 3px;min-width:0}.phase16-workspace .phase17-stage-aside .build-costs strong{font-size:13px;overflow-wrap:anywhere}.phase16-workspace .phase17-stage-aside .btn-primary{width:100%;justify-content:center;min-height:43px}.phase16-workspace .phase17-stage-aside .premium-building-portrait:not(.compact)>div{max-width:100%}@media(max-width:1180px){.phase16-workspace .phase17-stage-grid{grid-template-columns:minmax(0,1fr)}.phase16-workspace .phase17-stage-main .premium-pixi-view{height:clamp(450px,55vw,710px)}.phase16-workspace .phase17-stage-aside .building-inspector{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,290px);align-items:start}.phase16-workspace .phase17-stage-aside .inspector-action{margin-top:0}}@media(max-width:740px){.phase16-workspace .phase17-stage-main .premium-pixi-view{height:500px}.phase16-workspace .phase17-stage-main .premium-scene-shell{min-height:500px}.phase16-workspace .phase17-stage-aside .building-inspector{display:flex;padding:12px}.phase16-workspace .phase17-stage-aside .build-costs{grid-template-columns:repeat(3,minmax(0,1fr))}.phase16-workspace .phase17-stage-main .premium-building-selector button{flex-basis:115px}}@media(prefers-reduced-motion:reduce){.phase17-progress-meter>span,.phase16-workspace .phase17-stage-main .premium-building-selector button{transition:none!important}}.phase18-building-finder{display:grid;gap:9px;padding:12px 14px;background:linear-gradient(170deg,#122920,#19231b);border:1px solid #927741;border-top:none;color:#e9d5a9}.phase18-finder-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.phase18-finder-top label{font-size:13px;font-weight:700;letter-spacing:.04em;color:#f2d38c;white-space:nowrap}.phase18-finder-top input{flex:1;min-width:130px;background:#091a15;color:#f9e7c2;border:1px solid #947849;padding:9px 12px;border-radius:4px;min-height:38px;outline-offset:3px}.phase18-finder-top input:focus-visible{outline:2px solid #f3c76d}.phase18-finder-top button,.phase18-finder-filters button{border:1px solid #8d7645;border-radius:4px;color:#ecdeb6;background:#253b2d;padding:8px 12px;cursor:pointer;min-height:36px}.phase18-finder-top button:hover:not(:disabled),.phase18-finder-filters button:hover{background:#38583a;border-color:#efd18f}.phase18-finder-top button:disabled{opacity:.45;cursor:not-allowed}.phase18-finder-filters{display:flex;flex-wrap:wrap;gap:7px}.phase18-finder-filters button.active{background:#456644;border-color:#ffda87;color:#fff1c6}.phase18-finder-filters button span{margin-left:6px;display:inline-flex;min-width:22px;height:22px;padding:1px 5px;border-radius:50%;background:#081e18;align-items:center;justify-content:center;color:#f3ca7e}.phase18-building-finder>small{font-size:11px;color:#adbda7}.phase16-workspace .phase18-building-selector{min-height:132px}.phase18-ready{display:block;color:#b9e7a6;background:#1f472a;border:1px solid #648653;border-radius:3px;padding:2px 7px;font-size:10px}.phase18-no-results{padding:20px;color:#d6c4a7;font-size:13px;align-self:center}@media(max-width:720px){.phase18-building-finder{padding:10px}.phase18-finder-top{align-items:stretch}.phase18-finder-top input{flex-basis:100%}.phase18-finder-filters button{flex:1 0 auto}.phase16-workspace .phase18-building-selector{min-height:115px}}@media(prefers-reduced-motion:reduce){.phase18-building-finder *{scroll-behavior:auto!important;transition:none!important}}.phase19-wall-portrait{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:160px;background:radial-gradient(ellipse at center,#385243,#12281f 74%)}.phase19-wall-portrait img{display:block;width:min(100%,360px);max-height:190px;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 6px 9px rgba(0,0,0,.35))}.phase19-wall-portrait span{color:#d6bd7e;font-size:12px;letter-spacing:.03em}.phase19-wall-portrait.compact{min-height:76px;gap:0}.phase19-wall-portrait.compact img{max-height:68px;width:138px}.phase19-wall-portrait.compact span{font-size:10px}@media(max-width:720px){.phase19-wall-portrait img{max-height:140px}}.phase27-atmosphere{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;pointer-events:none!important;z-index:3;contain:paint}.premium-scene-shell .phase27-atmosphere{z-index:3}.premium-scene-shell .premium-scene-label,.premium-scene-shell .premium-scene-key,.premium-scene-shell .premium-camera-controls{z-index:5}.premium-scene-shell .premium-fallback{z-index:2}.phase27-scene-weather{display:block;padding-top:4px;margin-top:4px;border-top:1px solid #957a4e66;color:#cde2d6;font-size:11px;letter-spacing:.02em}.phase27-map-weather-control{display:flex;gap:7px;align-items:center;color:#e2ceac;font-size:12px}.phase27-map-weather-control select{min-width:110px;max-width:155px;padding:7px 8px;border:1px solid #967a4c;background:#152d27;color:#f4dca8;border-radius:6px}.phase27-weather-state{font:600 11px system-ui,sans-serif;color:#f5dcaa;white-space:nowrap;background:#102d23;padding:7px 10px;border:1px solid #a18454;border-radius:7px}.premium-map-frame .phase27-atmosphere{z-index:2}.premium-map-frame .map-legend,.premium-map-frame .premium-map-hint,.premium-map-frame .map-loading,.premium-map-frame .map-error,.premium-map-frame .premium-map-coords,.premium-map-frame .premium-compass{z-index:5}.premium-graphics-settings{gap:10px 13px}.premium-graphics-settings select{max-width:144px}.premium-graphics-settings .premium-check{display:flex;align-items:center;gap:5px}@media(max-width:700px){.phase27-weather-state{display:none}.phase27-map-weather-control select{min-width:92px}}@media(prefers-reduced-motion:reduce){.phase27-atmosphere{animation:none!important;transition:none!important}}.phase28-siege-warning,.phase28-military-warning,.phase28-map-alert{border:1px solid #d29460;border-radius:10px;background:linear-gradient(110deg,#553128f3,#2b2626f5);box-shadow:0 0 18px #b65a433e,inset 0 0 18px #15130e9e;color:#ffe8c0}.phase28-siege-warning{display:flex;align-items:center;gap:13px;padding:13px 16px;margin-bottom:9px;position:relative;z-index:4}.phase28-siege-signal{height:43px;width:43px;flex:0 0 43px;display:grid;place-items:center;color:#ffe6b0;background:#7f312e;border:1px solid #e0a36d;border-radius:50%;font-size:23px;box-shadow:0 0 12px #e66a4688;animation:phase28-warning-glow 2.3s ease-in-out infinite}.phase28-siege-warning strong,.phase28-military-warning strong,.phase28-map-alert strong{display:block;color:#ffe3a1;font-family:Georgia,serif;font-size:16px}.phase28-siege-warning span,.phase28-military-warning span,.phase28-map-alert span{display:block;color:#f5cfb6;font-size:12px;margin-top:4px}.phase28-siege-warning small{display:block;margin-top:6px;color:#dfc1af;font-size:11px;line-height:1.4}.phase28-military-warning{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:16px 0}.phase28-march-track{height:7px;width:100%;margin-top:11px;background:#0e241e;overflow:hidden;border-radius:8px;box-shadow:inset 0 0 0 1px #b8a57638}.phase28-march-track>span{display:block;height:100%;background:linear-gradient(90deg,#8eab79,#e2cc83);border-radius:8px;transition:width 1s linear}.phase28-march-track>.phase28-attack{background:linear-gradient(90deg,#a75745,#ffae7c)}.phase28-marches-section .queue-order-main{min-width:0}.phase28-map-alert{position:absolute;top:12px;left:12px;z-index:7;padding:9px 12px;max-width:calc(100% - 98px);pointer-events:none}.phase28-map-alert strong{font-size:13px}.phase28-map-alert span{font-size:11px}.phase28-march-toggle{display:flex;align-items:center;gap:6px;color:#edddb7;font-size:12px;white-space:nowrap}.phase28-march-toggle input{accent-color:#d6ad70}.phase28-field-book{border:1px solid #8a704a;background:linear-gradient(155deg,#29392f,#1b302a);border-radius:10px;padding:13px;margin-top:13px}.phase28-field-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}.phase28-field-heading h3{color:#f4d7a2;font-family:Georgia,serif;font-size:17px;margin:0}.phase28-field-heading>span{color:#bfd3c3;font-size:10px}.phase28-incoming-note{color:#ffd0a3!important;font-size:11px!important;line-height:1.5;margin:0 0 10px}.phase28-field-entry{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left;background:#132d24c9;border:1px solid #49624e;border-radius:7px;padding:10px;margin:5px 0;color:#e7dcbd;cursor:pointer}.phase28-field-entry.phase28-danger{border-color:#9f6953;background:#3a2f28}.phase28-field-entry:hover,.phase28-field-entry:focus-visible{border-color:#ebbf84;outline:none}.phase28-field-entry b{font-size:11px;font-weight:600;display:block;line-height:1.45}.phase28-field-entry small{font-size:10px;color:#bfccbd;display:block;margin-top:3px}.phase28-field-progress{background:#0c231b;width:100%;height:4px;border-radius:5px;overflow:hidden}.phase28-field-progress>span{display:block;height:100%;background:#d6b977;transition:width 1s linear}.phase28-field-entry.phase28-danger .phase28-field-progress>span{background:#e58a68}@keyframes phase28-warning-glow{0%,to{box-shadow:0 0 7px #d56a4055}50%{box-shadow:0 0 18px #e66a46b3}}@media(max-width:700px){.phase28-siege-warning{align-items:flex-start}.phase28-field-book{padding:10px}.phase28-map-alert{top:6px;left:6px}.phase28-map-alert strong{font-size:11px}}@media(prefers-reduced-motion:reduce){.phase28-siege-signal{animation:none}.phase28-march-track>span,.phase28-field-progress>span{transition:none}}.phase16-workspace .premium-control-bar{background:linear-gradient(145deg,#142f25,#25422d 48%,#142a20);border:1px solid #c49e5b;box-shadow:inset 0 1px #ffe0a145,0 5px 16px #0005}.phase16-workspace .premium-scene-shell{border:2px solid #cfa75d;border-radius:8px;box-shadow:inset 0 0 0 2px #142a20,0 22px 40px #000a;isolation:isolate}.phase16-workspace .premium-scene-shell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:4;box-shadow:inset 0 0 0 3px #0b211bc9,inset 0 0 58px #0618109c;background:linear-gradient(135deg,#f8cf6810 0%,transparent 21%,transparent 75%,#0719101b 100%)}.phase33-scene-title{font-family:Georgia,serif;border:1px solid #d6b76b;border-radius:3px 11px;padding:11px 16px;background:linear-gradient(100deg,#13281fea,#1b3d2bea 75%,#14251de8);box-shadow:inset 0 1px #f1d6904a,0 4px 15px #0009}.phase33-scene-title strong{display:block;overflow-wrap:anywhere;max-width:260px;color:#f3dca5;text-shadow:0 2px 4px #06150a;font-size:17px}.phase33-scene-title span{letter-spacing:.035em;color:#d3d6ba}.phase33-selected-plaque{position:absolute;right:73px;top:16px;z-index:5;display:grid;gap:3px;min-width:170px;max-width:min(285px,39%);padding:10px 13px;border:1px solid #c5a366;border-radius:6px;color:#e5d5a7;background:linear-gradient(135deg,#11271eeb,#203929eb);box-shadow:inset 0 1px #e2c18133,0 7px 21px #0009;pointer-events:none}.phase33-selected-plaque .phase33-plaque-eyebrow{font:700 10px system-ui,sans-serif;letter-spacing:.1em;color:#bca577}.phase33-selected-plaque strong{font:600 20px Georgia,serif;color:#fff0bb;overflow-wrap:anywhere}.phase33-selected-plaque>span:last-child{font-size:11px;color:#bfd3bf}.phase33-build-hud{position:absolute;z-index:6;left:50%;bottom:14px;transform:translate(-50%);width:min(330px,35%);min-width:215px;display:grid;gap:6px;padding:10px 13px;border:1px solid #d3ad65;border-radius:6px;background:linear-gradient(155deg,#222313f3,#173124f4 60%,#14291ff5);color:#f1d89e;box-shadow:inset 0 1px #f2d78c4d,0 7px 20px #000b}.phase33-build-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font:600 14px Georgia,serif}.phase33-build-heading strong{font:700 13px system-ui;color:#ffe4a3;font-variant-numeric:tabular-nums}.phase33-build-track{height:9px;padding:1px;overflow:hidden;border:1px solid #a5854e;border-radius:8px;background:#0a1e17}.phase33-build-track>span{height:100%;display:block;background:linear-gradient(90deg,#92652d,#f9d081,#fff1b3);border-radius:6px;transition:width .8s ease}.phase33-build-hud button{background:transparent;border:none;border-top:1px solid #a78e5f70;padding:6px 0 0;color:#ffdf9b;cursor:pointer;text-align:left;font-size:11px;font-weight:650}.phase33-build-hud button:hover,.phase33-build-hud button:focus-visible{color:#fff4c8;text-decoration:underline}.phase33-build-hud button:focus-visible{outline:2px solid #f3d78d;outline-offset:2px}.phase16-workspace .premium-scene-key,.phase16-workspace .premium-camera-controls{z-index:6}.phase16-workspace .premium-camera-controls button{border-color:#d7b56e;background:linear-gradient(150deg,#214735f2,#10271fef);box-shadow:inset 0 1px #f8d88633,0 3px 10px #000a}.phase16-workspace .premium-camera-controls button:focus-visible{outline:3px solid #ffdd8b;outline-offset:2px}.phase16-workspace .phase17-inspector-visual{background:radial-gradient(ellipse at 50% 52%,#416147,#183125 75%,#0d2118);border-color:#be9a59}.phase16-workspace .phase17-stage-main .premium-building-selector button{border-color:#806b46;box-shadow:inset 0 1px #f7d78d1b}.phase16-workspace .phase17-stage-main .premium-building-selector button.active{border-color:#e9bf6c;box-shadow:inset 0 0 0 1px #e7bf6e,0 0 12px #a886343c}@media(max-width:980px){.phase33-selected-plaque{right:69px;max-width:36%;padding:8px 10px}.phase33-selected-plaque strong{font-size:16px}.phase33-build-hud{min-width:180px;padding:9px 10px}}@media(max-width:680px){.phase33-scene-title{top:10px;left:9px;padding:8px 9px}.phase33-scene-title strong{font-size:12px;max-width:147px}.phase33-selected-plaque{top:10px;right:10px;max-width:43%;min-width:0;gap:1px;padding:7px}.phase33-selected-plaque strong{font-size:13px}.phase33-selected-plaque>span:last-child{font-size:10px}.phase33-selected-plaque .phase33-plaque-eyebrow{font-size:8px}.phase33-build-hud{bottom:72px;left:11px;transform:none;width:min(275px,calc(100% - 75px));min-width:0}.phase16-workspace .premium-scene-key{bottom:12px;left:10px;max-width:calc(100% - 78px)}.phase16-workspace .premium-camera-controls{right:9px;bottom:11px;gap:5px}.phase16-workspace .premium-camera-controls button{width:35px;height:35px;font-size:22px}}@media(prefers-reduced-motion:reduce){.phase33-build-track>span{transition:none}}.phase34-season-strip{position:absolute;z-index:6;top:83px;left:16px;width:-moz-max-content;width:max-content;max-width:min(290px,45%);display:grid;gap:3px;padding:10px 13px;border:1px solid #c6a161;border-radius:3px 11px;background:linear-gradient(117deg,#122a20f0,#274732e9 72%,#12271fe9);box-shadow:inset 0 1px #f1d59c48,0 5px 17px #06150caf;color:#e6d5a8;pointer-events:none}.phase34-season-strip strong{font:650 16px Georgia,serif;color:#ffe2a5;text-shadow:0 1px 3px #0008}.phase34-season-strip span{font:500 12px system-ui,sans-serif;color:#e2dec5}.phase34-season-strip small{color:#b4c6b6;font:600 10px system-ui,sans-serif;letter-spacing:.025em}@media(max-width:760px){.phase34-season-strip{top:66px;left:9px;max-width:42%;padding:8px 9px;gap:2px}.phase34-season-strip strong{font-size:13px}.phase34-season-strip span{font-size:11px}.phase34-season-strip small{font-size:9px}}@media(max-width:460px){.phase34-season-strip{top:67px;left:8px;max-width:53%}.phase34-season-strip strong{font-size:12px}.phase34-season-strip span{font-size:10px}.phase34-season-strip small{font-size:8px}}@media(prefers-reduced-motion:reduce){.phase34-season-strip{animation:none;transition:none}}.phase41-placement{margin:16px 0;padding:14px;border:1px solid rgba(194,161,90,.4);border-radius:12px;background:linear-gradient(130deg,#1c422fe8,#102420f7);color:#f3ebd2}.phase41-placement p{font-size:.85rem;margin:7px 0 11px;color:#d1dbcc}.phase41-plot-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.phase41-plot-controls label{display:flex;flex-direction:column;gap:5px;font-size:.8rem;font-weight:600}.phase41-plot-controls label:last-child{grid-column:1/-1}.phase41-plot-controls input,.phase41-plot-controls select{width:100%;min-width:0;padding:9px;background:#172b26;color:#f8edcc;border:1px solid #9e8959;border-radius:7px;font:inherit}.phase41-plot-controls :focus-visible,.phase41-plot-buttons :focus-visible{outline:3px solid #e8c779;outline-offset:2px}.phase41-plot-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.phase41-plot-buttons button{flex:1 1 115px;min-height:38px}.phase41-placement small{display:block;margin-top:7px;color:#ecd09c}.phase41-place-hint{position:absolute;left:50%;transform:translate(-50%);bottom:60px;z-index:15;max-width:86%;padding:8px 12px;border:1px solid #efd08d;border-radius:9px;background:#113024f0;color:#ffedc5;box-shadow:0 3px 12px #081d1c80;text-align:center;font-weight:600;font-size:.83rem;pointer-events:none}.construction-staffing{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;font-size:.83rem;margin:.3rem 0;color:inherit}.construction-staffing select{background:#26362d;color:#f5ebd3;border:1px solid #bca06f;border-radius:6px;padding:.27rem .55rem}.phase16-workspace .phase43-settlement{margin-top:0}.phase43-settlement>.section-heading{align-items:center;gap:10px}.phase43-settlement>.section-heading .eyebrow{display:none}.phase16-workspace .phase43-settlement>.section-heading h2{font-size:19px}.phase43-settlement>.section-heading .section-note{font-size:11px}.phase43-settlement .phase16-current-build{margin:4px 0 8px;padding:7px 10px}.phase43-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:6px 10px;flex-wrap:wrap}.phase43-map-toolbar .premium-scene-intro{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px}.phase43-map-toolbar .premium-scene-intro span{font-size:11px}.phase43-graphics{position:relative;margin-left:auto}.phase43-graphics>summary{list-style:none;display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #907949;color:#f6e1ae;border-radius:5px;background:#152d23;cursor:pointer;font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.phase43-graphics>summary::-webkit-details-marker{display:none}.phase43-graphics[open]>summary{background:#3a593a;border-color:#dfba71}.phase16-workspace .phase43-graphics .premium-graphics-settings{position:absolute;right:0;top:calc(100% + 5px);z-index:34;width:min(355px,90vw);max-height:65vh;overflow:auto;padding:13px;display:flex;flex-wrap:wrap;gap:10px;border:1px solid #c8a46a;border-radius:6px;background:#132b22;box-shadow:0 12px 30px #000c}.phase43-graphics .premium-graphics-settings>label{min-height:32px}.phase43-build-fab{display:none}.phase43-build-menu-toggle{display:none;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 12px;border:1px solid #e1bd7a;border-radius:5px;background:#3b542f;color:#fff1c6;font-weight:700;cursor:pointer}.phase16-workspace .phase43-settlement .phase17-stage-grid{grid-template-columns:minmax(0,1fr) minmax(290px,332px);align-items:start;gap:10px}.phase16-workspace .phase43-settlement .phase17-stage-main .premium-scene-shell{min-height:500px}.phase16-workspace .phase43-settlement .phase17-stage-main .premium-pixi-view{height:clamp(495px,55vh,690px)}.phase43-build-dock{position:sticky;top:89px;align-self:start;min-width:0;max-height:calc(100dvh - 105px);overflow-y:auto;overscroll-behavior:contain;display:flex!important;flex-direction:column;gap:8px;padding:10px;border:1px solid #b69a63;border-radius:6px;background:linear-gradient(#173427,#0e261e);scrollbar-color:#b99a60 #122b21}.phase43-dock-top{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #826b44;padding-bottom:7px;color:#ffe8b9}.phase43-dock-top>div{display:grid;gap:3px}.phase43-dock-top strong{font:600 19px Georgia,serif}.phase43-dock-top small{font-size:10px;color:#b9c7ab}.phase43-dock-close{display:none;align-items:center;justify-content:center;min-height:36px;min-width:36px;border:1px solid #a28654;border-radius:5px;background:#1a3b2b;color:#f5d89c;cursor:pointer}.phase43-quick-build{display:grid;gap:8px;padding:10px;border:1px solid #a98852;border-radius:6px;background:#263827}.phase43-quick-selected{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.phase43-quick-selected strong{font:600 17px Georgia,serif;color:#ffdfa1;overflow-wrap:anywhere}.phase43-quick-selected span{font-size:11px;color:#bfcdaf;white-space:nowrap}.phase43-quick-cost{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.phase43-quick-cost>span{padding:6px 3px;background:#10291f;border:1px solid #665b3c;border-radius:3px;color:#f3e0b4;font-size:12px;text-align:center;font-variant-numeric:tabular-nums}.phase43-quick-build>.btn-primary{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:39px;white-space:normal}.phase43-quick-build>small{display:block;font-size:11px;color:#e9c88f}.phase43-dock-catalog{min-height:0}.phase43-build-dock .phase18-building-finder{display:grid;gap:5px;padding:8px;border:1px solid #735f3c;border-bottom:0}.phase43-build-dock .phase18-finder-top{gap:6px}.phase43-build-dock .phase18-finder-top label{display:none}.phase43-build-dock .phase18-finder-top input{min-width:0;width:100%;flex:1 1 100%;min-height:34px;padding:5px 9px}.phase43-build-dock .phase18-finder-top>button{display:none}.phase43-build-dock .phase18-finder-filters{gap:4px}.phase43-build-dock .phase18-finder-filters button{flex:1;min-height:30px;padding:5px 4px;font-size:10px}.phase43-build-dock .phase18-finder-filters button span{min-width:0;width:auto;min-height:0;height:auto;margin-left:2px;padding:0 2px}.phase43-build-dock .phase18-building-finder>small{font-size:10px;color:#b4c8ae}.phase16-workspace .phase43-build-dock .premium-building-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:clamp(180px,28vh,290px);min-height:120px;overflow-y:auto;overflow-x:hidden;margin:0;padding:7px;border:1px solid #927748;background:#0d241b;scrollbar-color:#c0a069 #12281f}.phase16-workspace .phase43-build-dock .premium-building-selector button{width:100%;min-height:57px;flex:none;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:5px;padding:6px;border:1px solid #5e6948;border-radius:4px;text-align:left;white-space:normal;background:#183229;scroll-snap-align:none}.phase16-workspace .phase43-build-dock .premium-building-portrait.compact{flex:0 0 39px;width:39px;height:43px;margin:0;overflow:hidden}.phase43-build-dock .phase16-building-name{min-width:0;flex:1;text-align:left;font-size:11px;overflow-wrap:anywhere}.phase43-build-dock .phase16-building-name small{font-size:9px}.phase43-build-dock .phase18-ready{display:none}.phase43-building-details{margin-top:2px;min-width:0}.phase43-building-details>summary,.phase43-queue-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #927b50;border-radius:5px;background:#193527;color:#f5dfa9;cursor:pointer;font-size:12px;font-weight:650}.phase43-building-details>summary::-webkit-details-marker,.phase43-queue-details>summary::-webkit-details-marker{display:none}.phase43-building-details>summary svg,.phase43-queue-details>summary svg:last-child{flex-shrink:0;transition:transform .2s ease}.phase43-building-details[open]>summary svg,.phase43-queue-details[open]>summary svg:last-child{transform:rotate(180deg)}.phase16-workspace .phase43-building-details .building-inspector{padding:10px;gap:9px;box-shadow:none}.phase16-workspace .phase43-building-details .phase17-inspector-visual{min-height:120px}.phase16-workspace .phase43-building-details .phase17-inspector-visual>.premium-building-portrait{height:145px}.phase16-workspace .phase43-building-details .inspector-action{margin:0}.phase16-workspace .phase43-building-details .inspector-action>strong{font-size:17px}.phase43-queue-details{margin:10px 0;min-width:0}.phase43-queue-details>summary{padding:10px 12px;background:#143026}.phase43-queue-details>summary span{display:flex;align-items:center;gap:7px}.phase43-queue-details>summary strong{padding:3px 7px;border-radius:14px;background:#38543a;color:#f7de9f}.phase16-workspace .phase43-queue-details .phase16-queue{margin:0;border-top:0}.phase43-settlement>.construction-info{margin-top:7px;padding:7px 10px;opacity:.8;font-size:11px}.phase43-settlement>.construction-info p{font-size:11px;margin:0}.phase43-drawer-scrim{display:none}.phase43-settlement button:focus-visible,.phase43-settlement summary:focus-visible{outline:3px solid #ffd98a;outline-offset:2px}@media(max-width:1180px){.phase16-workspace .phase43-settlement .phase17-stage-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.phase43-build-menu-toggle{display:flex}.phase43-build-fab{display:flex;align-items:center;gap:8px;position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));z-index:49;min-height:50px;padding:10px 18px;border:2px solid #f6d58e;border-radius:28px;color:#1e301f;background:linear-gradient(140deg,#ffeca6,#cda25d);box-shadow:0 6px 24px #000b;font-weight:800;cursor:pointer}.phase43-drawer-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#000b;border:0;cursor:pointer}.phase43-build-dock{display:none!important;position:fixed;top:0;right:0;bottom:0;left:auto;z-index:91;width:min(390px,94vw);max-height:none;height:100dvh;margin:0;overflow-y:auto;padding:13px 11px;padding-top:max(13px,env(safe-area-inset-top));border-radius:0;box-shadow:-12px 0 40px #000c}.phase43-build-dock.phase43-open{display:flex!important}.phase43-dock-close{display:flex}.phase16-workspace .phase43-build-dock .premium-building-selector{max-height:35vh}.phase16-workspace .phase43-settlement .phase17-stage-main .premium-pixi-view{height:clamp(470px,70vh,760px)}}@media(max-width:680px){.phase43-settlement>.section-heading{display:none}.phase43-settlement>.phase16-current-build{gap:5px}.phase43-map-toolbar{gap:7px;padding:7px}.phase43-map-toolbar .premium-scene-intro{flex:1;display:grid;gap:1px}.phase43-map-toolbar .premium-scene-intro span{display:none}.phase43-map-toolbar .phase43-build-menu-toggle{order:3;width:100%}.phase43-map-toolbar .phase43-graphics{order:2;margin-left:0}.phase16-workspace .phase43-settlement .phase17-stage-main .premium-scene-shell{min-height:480px}.phase16-workspace .phase43-settlement .phase17-stage-main .premium-pixi-view{height:clamp(480px,70dvh,680px)}.phase43-queue-details>summary{flex-wrap:wrap;font-size:11px}.phase43-settlement>.construction-info{display:none}}@media(prefers-reduced-motion:reduce){.phase43-building-details svg,.phase43-queue-details svg{transition:none!important}}.phase43-map-error{padding:8px 12px;margin:0;background:#49251e;color:#ffdac9;border:1px solid #e8a286}.phase43-quick-build .form-error{margin:0;padding:8px;font-size:11px;overflow-wrap:anywhere}.phase44-selected-construction{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 14px;margin-bottom:10px;border:1px solid #bda26a;border-radius:9px;background:#283c37;color:#f3e2ba}.phase44-selected-construction>div{display:flex;flex:1;flex-direction:column;gap:3px;min-width:180px}.phase44-selected-construction strong{display:flex;gap:7px;align-items:center;font-size:13px}.phase44-selected-construction span{font-size:11px;color:#c1cfc2}.phase44-selected-construction label{font-size:12px;display:flex;align-items:center;gap:7px}.phase44-selected-construction select{border-radius:5px;background:#21342c;color:#fff;padding:5px}.phase37-fortification{border:1px solid rgba(197,157,83,.6);border-radius:13px;padding:18px 20px;margin:12px 0 23px;background:linear-gradient(135deg,#102b23f5,#081616f7);box-shadow:inset 0 1px #ffda812b,0 10px 30px #0000002e;color:#f8ebce}.phase37-fort-title h3{display:flex;align-items:center;gap:9px;font-size:1.5rem;margin:5px 0;color:#f9d989}.phase37-fort-title p{color:#c2cabb;margin:4px 0 12px}.phase37-fort-layout{display:grid;grid-template-columns:minmax(130px,210px) 1fr;gap:20px;align-items:center}.phase37-fort-graphic{min-height:169px;border:1px solid #8d7743;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:radial-gradient(circle at 50% 50%,#304c43,#112c28 75%);border-radius:10px;color:#e3c77d;position:relative;overflow:hidden;text-align:center}.phase37-fort-graphic strong{font-family:Georgia,serif;letter-spacing:.07em;font-size:.85rem;z-index:1}.phase37-battlements{display:flex;gap:9px;position:absolute;bottom:0;left:0;right:0;justify-content:center;opacity:.5}.phase37-battlements span{width:24px;height:22px;background:#ac9869;border:2px solid #574b34;border-bottom:0}.phase37-fort-information{min-width:0}.phase37-fort-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.phase37-fort-metrics>div{padding:9px 10px;background:#040e0e6b;border:1px solid rgba(198,167,96,.21);border-radius:7px}.phase37-fort-metrics small{display:block;color:#bbc9be;font-size:.76rem}.phase37-fort-metrics strong{display:block;margin-top:2px;font-size:.96rem;white-space:normal}.phase37-ready{color:#8dec96}.phase37-fort-note{display:flex;align-items:flex-start;gap:7px;margin:11px 0;color:#f3dcaa;font-size:.88rem}.phase37-fort-note svg{flex:none}.phase37-fort-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.phase37-fort-cost{display:flex;gap:7px;align-items:center;font-size:.84rem;color:#eadabc}.phase37-fort-actions button{display:flex;align-items:center;gap:6px;min-height:36px}.phase37-fort-rule{font-size:.78rem;color:#adbeb5;line-height:1.65;display:block;margin:11px 0 0}.phase37-fort-rule svg{vertical-align:middle;margin:0 5px}.phase37-report-siege{margin:12px 0 20px;border:1px solid rgba(173,143,82,.46);border-radius:8px;padding:12px 15px;background:#122b2373;display:grid;gap:6px}.phase37-report-siege strong{display:flex;align-items:center;gap:8px;color:#ecd292}.phase37-report-siege span{font-size:.87rem;line-height:1.5}@media(max-width:700px){.phase37-fortification{padding:13px}.phase37-fort-layout{grid-template-columns:1fr}.phase37-fort-graphic{min-height:110px}.phase37-fort-metrics{grid-template-columns:1fr 1fr}.phase37-fort-actions{align-items:stretch}.phase37-fort-actions button{width:100%;justify-content:center}}@media(prefers-reduced-motion:reduce){.phase37-fortification *{animation:none!important;transition:none!important}}.phase36-stage-title{display:flex;align-items:center;gap:7px;color:#f6d99b;font:600 15px Georgia,serif;margin:6px 0 10px}.phase36-field-legend{display:flex;gap:7px;flex-wrap:wrap;color:#d9cfb5;font-size:11px;margin-bottom:10px}.phase36-field-legend span{border:1px solid #997b4b70;border-radius:5px;padding:4px 7px;background:#10261ece}.phase36-field-entry-selected{outline:2px solid #f4d18e;outline-offset:0;background:#344437!important}.phase36-entry-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#dac99e;font-size:11px}.phase36-entry-meta span{padding:3px 6px;border-radius:4px;background:#0e201b;border:1px solid #725b3d66}.phase36-entry-follow{font-size:10px;font-weight:600;color:#f1d099}.phase36-formation{display:flex;align-items:center;gap:9px;margin-top:10px;padding:8px 9px;background:linear-gradient(120deg,#0d271e,#173e2b);border:1px solid #7d704e;border-radius:7px}.phase36-formation .phase36-emblem{font-size:24px;line-height:1.2;width:35px;text-align:center;color:#d4b976}.phase36-formation>span{display:flex;flex-direction:column;gap:3px;min-width:0}.phase36-formation b{font:600 13px Georgia,serif;color:#f4ddaf}.phase36-formation small{font-size:10px;color:#ced7c8}.phase36-proximity-note{padding:8px 9px;margin-top:10px;border-radius:6px;background:#4d3029;border:1px solid #a7735e;font-size:11px;color:#ffcf9b;line-height:1.5}.phase36-battle-scene{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;position:relative;isolation:isolate;overflow:hidden;padding:17px 16px 15px;margin:14px 0;background:radial-gradient(ellipse at 50% 135%,#b486413f,transparent 72%),linear-gradient(140deg,#223c30,#0b211d 60%,#273328);border:1px solid #a88a56;border-radius:10px}.phase36-battle-scene:before{content:"";position:absolute;inset:auto 0 0;height:17px;background:linear-gradient(#375332,#203a2c);z-index:-1}.phase36-battle-army{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;min-width:0;color:#eadbb9}.phase36-battle-army svg{width:48px;height:48px;stroke-width:1.3;filter:drop-shadow(0 2px 3px #111a16)}.phase36-battle-army strong{font:600 14px Georgia,serif;color:#f1d59a;max-width:100%;overflow-wrap:anywhere}.phase36-battle-army small{font-size:10px;color:#c5d0c3}.phase36-battle-win{color:#c7e3a5}.phase36-battle-loss{color:#ed9a81}.phase36-battle-center{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;color:#d8b473}.phase36-battle-center b{font:600 15px Georgia,serif;color:#ffe2aa}.phase36-battle-center small{font-size:10px;color:#d6cab2}.phase36-battle-wall{display:flex;align-items:center;gap:5px;color:#e7d2aa;margin-top:4px;font-size:10px}.phase36-battle-caption{color:#c2d0bf!important;font-size:11px!important;line-height:1.5;margin:0 0 13px!important}.phase36-battle-privacy{font-size:10px;color:#c5c7ac;margin-top:6px;line-height:1.45}@media(max-width:700px){.phase36-battle-scene{gap:5px;padding:12px 7px}.phase36-battle-army svg{width:32px;height:32px}.phase36-battle-army strong{font-size:11px}.phase36-battle-center b{font-size:12px}}@media(prefers-reduced-motion:reduce){.phase36-field-entry-selected,.phase36-formation{transition:none}}.military-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px;padding:8px;background:#121e2485;border:1px solid rgba(185,162,106,.24);border-radius:12px}.military-tabs button{cursor:pointer;font:inherit;color:inherit;padding:9px 14px;border-radius:9px;border:1px solid transparent;background:#ffffff0d}.military-tabs button.active{border-color:#debe78ad;background:#ac813547;font-weight:700}.military-tabs button:focus-visible{outline:2px solid #f4cb79;outline-offset:2px}.military-tab-panel[hidden]{display:none!important}@media(max-width:640px){.military-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.military-tabs button{padding:9px 5px;font-size:13px}}.phase32-overview{margin-bottom:20px;padding:12px;border:1px solid #997746;background:linear-gradient(150deg,#0a241b,#1c392b);border-radius:8px;box-shadow:inset 0 1px #e6c77c33}.phase32-overview-title,.phase32-overview-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#e9d09a}.phase32-overview-title{margin-bottom:10px;font-family:Georgia,serif;font-size:16px}.phase32-overview-title>span,.phase32-overview-footer>span{display:inline-flex;align-items:center;gap:6px}.phase32-overview-title small{font:11px system-ui,sans-serif;color:#c2b99a}.phase32-overview-map{display:block;width:100%;height:135px;position:relative;overflow:hidden;cursor:crosshair;border-radius:5px;border:1px solid #bb9554;background:radial-gradient(ellipse at 80% 17%,#7a8260 0%,transparent 25%),radial-gradient(ellipse at 23% 83%,#4c6b41 0%,transparent 28%),radial-gradient(ellipse at 65% 78%,#56703f 0%,transparent 35%),repeating-linear-gradient(0deg,transparent 0 21px,#e8d3a111 21px 22px),repeating-linear-gradient(90deg,transparent 0 21px,#e8d3a111 21px 22px),linear-gradient(125deg,#1c402b,#688154 47%,#284a36)}.phase32-overview-map:hover{border-color:#f4d58c;filter:brightness(1.08)}.phase32-overview-map:focus-visible{outline:3px solid #f5dda3;outline-offset:3px}.phase32-overview-map>span{position:absolute;pointer-events:none}.phase32-overview-river{left:45%;top:-65%;height:210%;width:14%;border-left:4px solid #78c9bd95;border-right:2px solid #a4d3c177;transform:rotate(-20deg);border-radius:50%;filter:blur(.6px)}.phase32-overview-viewport{border:2px solid #f7e0a4;background:#f5dc8254;box-shadow:0 0 0 1px #172b23,0 0 9px #f8d78788;border-radius:2px;min-width:4px;min-height:4px}.phase32-overview-home{transform:translate(-50%,-50%);display:grid;place-items:center;color:#f6e3a4;background:#19382ae8;border:1px solid #ebc875;border-radius:50%;width:21px;height:21px;box-shadow:0 2px 5px #0008}.phase32-overview-selected{transform:translate(-50%,-50%);width:12px;height:12px;border-radius:50%;border:2px solid #fff4b8;background:#db8d36;box-shadow:0 0 8px #e6b257}.phase32-overview-n{right:7px;top:5px;color:#fff0c6;text-shadow:0 1px 3px #000;font:700 12px Georgia,serif}.phase32-overview-footer{font:10px/1.3 system-ui,sans-serif;color:#d8cba9;margin-top:9px}.phase32-search-notice{font:12px/1.45 system-ui,sans-serif;color:#eed9a5;padding:8px 10px;border-left:3px solid #c7a35e;background:#34503a55;margin:8px 0}@media(max-width:1180px){.phase32-overview{max-width:480px}}@media(max-width:680px){.phase32-overview{max-width:none}.phase32-overview-map{height:120px}.phase32-overview-title{font-size:15px}}@media(prefers-reduced-motion:reduce){.phase32-overview-map{transition:none}}.phase32-map-page{--phase32-gold:#dfbc78;--phase32-cream:#f8e6bf;--phase32-forest:#10271e}.phase32-map-page .section-heading{padding:8px 2px 5px;border-bottom:1px solid #b7965155}.phase32-map-page .section-heading h2{letter-spacing:.012em}.phase32-map-page .phase24-world-banner{background:linear-gradient(95deg,#0b241af2,#153a29de 56%,#0c241bf4),url(/assets/ui/forest-vellum.webp?v=16);border-color:#bba06d;box-shadow:inset 0 0 0 1px #e4ca8761,0 12px 30px #06100b80}.phase32-map-page .phase24-world-banner-title strong{letter-spacing:.035em;text-shadow:0 2px 8px #030805}.phase32-map-page .phase24-world-banner-stats>div{background:linear-gradient(145deg,#17382dc9,#0b1e19e8);border-color:#a68c5b98;box-shadow:inset 0 1px #e3ca7d24}.phase32-map-page .premium-map-toolbar{gap:10px 14px;flex-wrap:wrap;align-items:center;padding:11px 13px;border-color:#bf9959;background:linear-gradient(#1d3729,#10241e);box-shadow:0 8px 20px #06100c90,inset 0 1px #f6d89642}.phase32-map-page .premium-map-toolbar .btn-outline{font-size:12px;white-space:normal}.phase32-map-page .map-quality-label{margin-left:auto}.phase32-grid-toggle{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#e8d6ae;white-space:nowrap}.phase32-grid-toggle input{accent-color:#c99d4f;width:15px;height:15px}.phase32-map-layout{grid-template-columns:minmax(0,1fr) minmax(275px,320px);gap:14px;align-items:start}.phase32-map-frame{position:relative;border:2px solid #d3ac64;outline:1px solid #49371e;outline-offset:-7px;border-radius:9px;isolation:isolate;min-height:420px;box-shadow:0 19px 38px #06110a8f,inset 0 0 0 3px #253326}.phase32-map-frame:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;z-index:4;pointer-events:none;border:1px solid #eac78038;border-radius:5px;box-shadow:inset 0 0 42px #05120e77}.phase32-map-frame .premium-world-canvas{height:clamp(550px,66vh,770px)}.phase32-map-frame .world-routes{z-index:1}.phase32-map-crest{position:absolute;z-index:5;top:12px;left:50%;transform:translate(-50%);pointer-events:none;white-space:nowrap;max-width:48%;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:9px;border:1px solid #bd9856;border-radius:25px;padding:6px 19px;background:linear-gradient(90deg,#10241ae8,#25422bec,#0f241ae8);color:#f4daa4;font:600 17px Georgia,serif;text-shadow:0 2px 4px #000;box-shadow:0 3px 10px #08120b9e,inset 0 1px #ffde9c6c}.phase32-map-crest span{font-size:12px;color:#edbd5d}.phase32-map-frame .premium-map-coords{top:14px;left:14px;max-width:31%;z-index:6;color:#f5dfaa}.phase32-map-frame .premium-compass{top:14px;right:14px;z-index:6}.phase32-map-controls{position:absolute;z-index:8;right:15px;bottom:63px;display:grid;gap:7px}.phase32-map-controls button{display:grid;place-items:center;width:43px;height:43px;border:1px solid #e2bd6d;border-radius:7px;color:#fbe1a5;background:linear-gradient(145deg,#143529f5,#0d251cf5);box-shadow:0 2px 9px #0009,inset 0 1px #ffde994d;cursor:pointer}.phase32-map-controls button:hover{background:linear-gradient(#3c5f3c,#173b2a);border-color:#ffe4a0}.phase32-map-controls button:focus-visible{outline:3px solid #f5d797;outline-offset:2px}.phase32-map-frame .premium-map-hint{bottom:13px;right:72px;max-width:54%;z-index:6}.phase32-map-frame .map-legend{max-width:68%;padding:9px 11px;bottom:12px;left:12px;z-index:6;line-height:1.55;background:#0b271eea;border-color:#cba666}.phase32-map-frame .phase28-map-alert{top:64px}.phase32-map-sidebar{background:linear-gradient(160deg,#0d271f,#103126 28%,#0b211a 72%,#0a1c16);padding:14px;border:1px solid #c2a063;box-shadow:inset 0 0 0 2px #dbb4691d,0 10px 28px #05110b85;position:relative}.phase32-map-sidebar:before,.phase32-map-sidebar:after{content:"✧";position:absolute;top:2px;color:#dfb95f;font-size:23px;pointer-events:none}.phase32-map-sidebar:before{left:6px}.phase32-map-sidebar:after{right:6px}.phase32-map-sidebar .phase32-overview{margin:4px 0 16px;padding:12px 10px 10px;border-color:#ac8f52;background:linear-gradient(150deg,#122e22,#24412b);box-shadow:inset 0 1px #f2d48a3f,0 3px 8px #08170d70}.phase32-map-sidebar .phase32-overview-title{font-size:17px;padding:0 5px}.phase32-overview-map{height:152px;background:linear-gradient(#516b48,#2e583e);box-shadow:inset 0 0 17px #0008;isolation:isolate}.phase32-overview-map .phase32-overview-terrain{position:absolute;display:block;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:fill;object-fit:fill;pointer-events:none;image-rendering:auto;opacity:.96;filter:saturate(1.15) contrast(1.1)}.phase32-overview-map:after{content:"";position:absolute;pointer-events:none;top:0;right:0;bottom:0;left:0;border:1px solid #f2dc943f;box-shadow:inset 0 0 19px #061711a8;background:linear-gradient(125deg,#f8dfad13,transparent 40%,#0002)}.phase32-overview-viewport{z-index:2;background:#f3cd601a;border:2px solid #fae6b2;box-shadow:0 0 7px 1px #f3d7948c}.phase32-overview-home,.phase32-overview-selected,.phase32-overview-n{z-index:3}.phase32-map-sidebar .map-search{padding:0 2px 10px;border-bottom:1px solid #ab8e574e}.phase32-map-sidebar .map-search input{min-height:42px;font-size:13px;border-color:#b79b60;background:#0b211a}.phase32-map-sidebar .map-search button{min-width:43px;display:grid;place-items:center}.phase32-map-sidebar .phase28-field-book{background:linear-gradient(155deg,#152e24,#0f241e);border-color:#8e7448}.phase32-map-sidebar .phase24-village-art{height:190px;background:radial-gradient(ellipse at 50% 70%,#7c935a90,transparent 61%),linear-gradient(155deg,#314733,#0b251b)}.phase32-map-sidebar .phase24-village-name{padding-top:15px}.phase32-map-sidebar .phase24-village-name h3{color:#ffe5b1}.phase32-map-sidebar .premium-marker-panel{margin-top:16px}.phase32-map-sidebar .section-help{font-size:10px;color:#b4bdab;line-height:1.55;padding:0 3px}@media(max-width:1250px){.phase32-map-layout{grid-template-columns:minmax(0,1fr) minmax(260px,285px)}.phase32-map-crest{font-size:14px;padding:6px 9px;gap:5px}}@media(max-width:1090px){.phase32-map-layout{grid-template-columns:1fr}.phase32-map-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.phase32-map-sidebar>.phase32-overview,.phase32-map-sidebar>.map-search,.phase32-map-sidebar>.map-search-results,.phase32-map-sidebar>.phase32-search-notice{grid-column:1}.phase32-map-sidebar>.phase28-field-book{grid-column:1}.phase32-map-sidebar>.phase24-village-card,.phase32-map-sidebar>.premium-marker-panel{grid-column:2}.phase32-map-sidebar>.premium-nearby,.phase32-map-sidebar>.section-help{grid-column:1/-1}.phase32-map-sidebar .phase32-overview{margin-bottom:0}.phase32-map-sidebar .premium-marker-panel{margin-top:0}.phase32-map-frame .premium-world-canvas{height:580px}}@media(max-width:700px){.phase32-map-page .premium-map-toolbar{padding:9px;gap:10px}.phase32-map-page .map-quality-label{margin-left:0}.phase32-map-page .premium-map-toolbar .map-zoom{margin-left:auto}.phase32-map-frame .premium-world-canvas{height:500px}.phase32-map-crest{top:7px;max-width:58%;font-size:13px;padding:5px 9px}.phase32-map-frame .premium-compass{width:34px;height:43px;right:9px;top:9px}.phase32-map-frame .premium-map-coords{left:8px;top:9px;font-size:11px;padding:6px;max-width:33%}.phase32-map-controls{right:9px;bottom:76px}.phase32-map-controls button{width:39px;height:39px}.phase32-map-sidebar{display:block}.phase32-map-sidebar .phase32-overview{max-width:none;margin:4px 0 16px}.phase32-map-sidebar .phase28-field-book{margin:14px 0}.phase32-map-sidebar .premium-marker-panel{margin-top:15px}.phase32-map-frame .map-legend{font-size:9px;max-width:calc(100% - 18px);bottom:10px;right:9px;left:9px;padding:7px 8px}.phase32-map-frame .phase28-map-alert{top:54px}}@media(max-width:420px){.phase32-map-frame .premium-world-canvas{height:425px}.phase32-map-crest{display:none}.phase32-map-controls{bottom:90px}.phase32-map-frame .premium-map-coords{max-width:66%}.phase32-map-frame .map-legend{font-size:8px;gap:4px}}@media(prefers-reduced-motion:reduce){.phase32-map-page *{transition:none!important;animation:none!important}}.admin-village-visit{display:grid;gap:14px;min-width:0}.admin-visit-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#0e231ed9;border:1px solid #b89b5c66;border-radius:12px;padding:15px}.admin-visit-heading-text{flex:1;min-width:190px}.admin-visit-heading-text h2{display:flex;align-items:center;gap:8px;font-size:clamp(1.2rem,2vw,1.7rem);margin:2px 0 4px;color:#ead29b}.admin-visit-heading-text p,.admin-visit-eyebrow{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;color:#d5c9a6;font-size:.85rem}.admin-visit-eyebrow{letter-spacing:.08em;font-weight:700;font-size:.72rem}.admin-visit-statline{display:flex;flex-wrap:wrap;gap:12px;background:#112e27;border-radius:9px;padding:10px 13px;color:#e9e0cd;font-size:.89rem}.admin-visit-statline span{display:inline-flex;align-items:center;gap:5px}.admin-visit-readonly{display:flex;align-items:center;gap:8px;color:#eed9a5;background:#5d4a2433;border:1px solid #bea15c55;border-radius:9px;padding:10px 12px;margin:0;font-size:.86rem}.admin-visit-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,290px);gap:14px;align-items:start;min-width:0}.admin-visit-map{min-width:0;border-radius:12px;overflow:hidden;border:1px solid #b89b5c55}.admin-visit-map .premium-scene-shell{min-height:510px}.admin-visit-aside{background:#102c25;border:1px solid #9e895b55;border-radius:12px;padding:14px;min-width:0;max-height:710px;overflow-y:auto}.admin-visit-aside h3{color:#eed9a5;font-size:1rem;margin:0 0 8px}.admin-visit-aside p{font-size:.83rem;margin:0 0 12px}.admin-visit-selection{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #b9a26966;background:#183b31;border-radius:9px;margin-bottom:12px;color:#e5dfcf;font-size:.84rem}.admin-visit-selection-art{max-height:100px;overflow:hidden}.admin-visit-selection strong{color:#f1daa4;font-size:1rem}.admin-visit-building-list{display:grid;gap:4px;margin-bottom:18px;max-height:300px;overflow-y:auto}.admin-visit-building-list button,.admin-visit-order{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#eee0be;text-align:left;border:1px solid transparent;background:#ffffff0a;border-radius:6px;padding:8px 10px;width:100%;cursor:pointer;font-size:.83rem}.admin-visit-building-list button:hover,.admin-visit-building-list button.active,.admin-visit-order:hover{background:#ab8d4933;border-color:#d7b77577}.admin-visit-order{justify-content:flex-start;margin-bottom:5px}.phase-admin-visit-button{background:#b79b5629!important;color:#ffedbf!important;border-color:#d7b77488!important}@media(max-width:1050px){.admin-visit-layout{grid-template-columns:minmax(0,1fr)}.admin-visit-aside{max-height:440px}.admin-visit-map .premium-scene-shell{min-height:420px}}@media(max-width:600px){.admin-visit-heading{gap:10px}.admin-visit-heading .btn-outline{font-size:.75rem}.admin-visit-map .premium-scene-shell{min-height:330px}.admin-visit-readonly{align-items:flex-start}}.phase38-campaign-summary{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1.2rem;margin:.8rem 0;padding:.65rem .85rem;border:1px solid #b29a59aa;border-radius:9px;background:linear-gradient(110deg,#18372988,#6e521d33);font-size:.88rem}.phase38-campaign-summary span{display:inline-flex;align-items:center;gap:.4rem}.phase38-wave-list{display:grid;gap:.45rem;margin:.7rem 0}.phase38-wave,.phase38-candidate{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.55rem;padding:.55rem .7rem;background:#10291a88;border:1px solid #9c854744;border-radius:7px;font-size:.88rem}.phase38-wave>div{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.phase38-wave small{color:#d5bc7c}.phase38-wave>span{color:#d7c99f}.phase38-attach{padding:.85rem;margin:.8rem 0;border-radius:9px;border:1px solid #bf9f59;background:#12291de6}.phase38-attach>p{margin:.4rem 0 .75rem;color:#d2c7a4;font-size:.88rem}.phase38-candidate+.phase38-candidate{margin-top:.4rem}@media(max-width:680px){.phase38-wave,.phase38-candidate{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.phase38-campaign-summary *{transition:none!important}}.phase39-war-council{display:grid;gap:1.15rem}.phase39-war-header{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.9rem 1rem;border:1px solid #ad8a47;border-radius:10px;background:linear-gradient(115deg,#1c3829,#10281e)}.phase39-war-header small,.phase39-war-title small{font-size:.68rem;letter-spacing:.12em;color:#ddbf76}.phase39-war-header h4{font-family:Georgia,serif;color:#f1d79a;font-size:1.5rem;margin:.15rem 0}.phase39-war-header p{color:#d9cba8;margin:0;font-size:.88rem;max-width:45rem}.phase39-declare-war{display:grid;grid-template-columns:1.4fr 1fr;gap:.7rem 1rem;padding:1rem;border-radius:10px;background:#122b20;border:1px solid #a8874f}.phase39-declare-war h4,.phase39-declare-war p{grid-column:1/-1;margin:0}.phase39-declare-war h4{color:#ecd39a}.phase39-declare-war p{color:#c2baaa;font-size:.84rem}.phase39-declare-war label{display:grid;gap:.3rem;font-size:.85rem}.phase39-declare-war label:last-of-type{grid-column:1/-1}.phase39-declare-war input,.phase39-declare-war select,.phase39-war-actions select{background:#0b1d16;color:#f2e7ca;border:1px solid #927543;border-radius:6px;padding:.55rem;min-width:0;width:100%}.phase39-declare-war button{justify-self:start}.phase39-wars{display:grid;gap:1rem}.phase39-war{border:1px solid #b39959a8;border-radius:11px;padding:1rem;background:linear-gradient(135deg,#173324,#0d2019);display:grid;gap:.65rem}.phase39-war-title{display:flex;justify-content:space-between;gap:1rem;align-items:start}.phase39-war-title h4{font-family:Georgia,serif;color:#f4d99a;font-size:1.3rem;margin:.12rem 0 .25rem}.phase39-war-title p,.phase39-window{display:flex;align-items:center;gap:.4rem;color:#ddcfab;margin:0;font-size:.85rem}.phase39-status{padding:.3rem .6rem;border:1px solid #bc9556;border-radius:8px;font-size:.78rem;white-space:nowrap}.phase39-status-won{color:#9ae5a2;border-color:#72ac75}.phase39-status-closed,.phase39-status-expired{color:#c0b8a4;border-color:#756a51}.phase39-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.35rem}.phase39-stats span{background:#0a1e16bb;border:1px solid #9b86504f;padding:.5rem .25rem;border-radius:6px;text-align:center}.phase39-stats strong{display:block;font-size:1.15rem;color:#efd28b}.phase39-stats small{display:block;color:#c4b99c;font-size:.68rem}.phase39-battles{display:grid;gap:.4rem}.phase39-battle{display:flex;gap:.6rem;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid #a58c4d42;padding:.45rem 0}.phase39-battle strong{color:#ead1a0}.phase39-battle span{color:#c9beaa;font-size:.83rem}.phase39-war-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.phase39-war-actions select{flex:1;min-width:12rem}.phase39-disclaimer{font-size:.82rem;color:#c3bbab;margin:0}@media(max-width:760px){.phase39-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.phase39-declare-war{grid-template-columns:1fr}.phase39-declare-war label:last-of-type{grid-column:auto}}@media(max-width:430px){.phase39-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.phase39-war-title{flex-direction:column}}.phase40-auto{margin:15px 0;padding:16px;border:1px solid #b28e4a88;border-radius:13px;background:linear-gradient(145deg,#16382c,#101f21);color:#f6edce;box-shadow:inset 0 1px #ffffff1b}.phase40-auto header{display:flex;align-items:start;gap:12px;color:#f1d08c}.phase40-auto header strong{font-size:1.03rem}.phase40-auto header p{color:#cad9d3;margin:4px 0 0;font-size:.89rem}.phase40-arrival{display:flex;gap:9px;align-items:center;background:#213d33;margin:13px 0;padding:10px 12px;border-radius:8px;font-size:.92rem}.phase40-reservations{display:grid;gap:7px;margin-bottom:16px}.phase40-reservation{background:#122a259e;padding:9px 11px;border:1px solid #94b6a33e;border-radius:8px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}.phase40-reservation small{display:block;color:#d1dacd;margin-top:3px;font-size:.79rem}.phase40-reservation-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.phase40-reservation-actions b{color:#f1cc78;font-size:.85rem}.phase40-auto-form{display:grid;gap:12px}.phase40-auto-form select,.phase40-auto-form input{background:#fdf6e6;color:#203a30;border:1px solid #b2a17b;border-radius:7px;padding:7px;width:100%;max-width:100%}.phase40-auto-form>label{display:grid;gap:5px}.phase40-unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:9px}.phase40-unit-grid label{display:grid;gap:4px}.phase40-unit-grid span{font-size:.86rem}.phase40-unit-grid small{font-size:.75rem;color:#d1dacd}.phase40-unit-grid input{min-width:0}.phase40-buttons{display:flex;gap:8px;flex-wrap:wrap}.phase40-quote{border-left:3px solid #d9b16e;padding:10px 12px;background:#2e4a3c;color:#fff2d4;margin:0}.phase40-warning{font-size:.8rem;color:#cfdbc8;line-height:1.5;margin:12px 0 0}@media(max-width:650px){.phase40-auto{padding:12px}.phase40-buttons button{flex:1 1 170px}.phase40-unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.resource-custom-header{gap:7px;min-width:0}.resource-custom-pins{display:flex;align-items:stretch;flex:1 1 auto;min-width:0;gap:7px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#987544 transparent;padding:2px 0 4px}.resource-custom-pins .phase16-resource{flex:1 0 90px;min-width:90px;max-width:190px;padding:7px 9px 12px;gap:6px}.resource-custom-pins .phase16-resource>svg{width:20px;height:20px}.resource-custom-pins .phase16-resource-data strong{font-size:clamp(13px,1.15vw,18px)}.resource-custom-pins .phase16-resource-data small{font-size:10px}.resource-custom-header .phase16-resource-capacity{flex:0 0 auto}.resource-custom-plus{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:5px 9px;min-width:49px;min-height:49px;background:#193226;color:#f7d99f;border:1px solid #bc975b;border-radius:7px;cursor:pointer;font-size:10px;font-weight:700}.resource-custom-plus:hover,.resource-custom-plus:focus-visible{border-color:#f6d38f;outline:2px solid #d9ae6c;outline-offset:2px;background:#2b4630}.phase23-dialog:has(.resource-custom-dialog){width:min(100%,760px);flex-basis:760px}.resource-custom-dialog{display:grid;gap:15px;color:#f5e6c7}.resource-custom-options{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.resource-custom-options>span{font-size:12px;color:#e7c884;white-space:nowrap}.resource-custom-search{display:flex;align-items:center;gap:8px;border:1px solid #91794d;border-radius:6px;background:#10251c;flex:1;min-width:180px;padding:0 10px}.resource-custom-search input{background:transparent;border:0;padding:10px 0;color:#f9e6c7;width:100%;min-width:0;outline-offset:3px}.resource-custom-search input::-moz-placeholder{color:#b9aa89}.resource-custom-search input::placeholder{color:#b9aa89}.resource-custom-groups{display:grid;gap:13px;max-height:min(52dvh,520px);overflow:auto;padding:2px 4px 2px 1px;scrollbar-color:#9a7f4f transparent}.resource-custom-group h3{font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:#eac88c;margin:0 0 7px}.resource-custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.resource-custom-item{display:flex;align-items:center;gap:9px;background:#172e23;border:1px solid #665c3e;border-radius:6px;cursor:pointer;padding:9px 10px;min-width:0}.resource-custom-item.is-pinned{border-color:#caa75d;background:#2e3c28}.resource-custom-item.is-disabled{opacity:.57;cursor:not-allowed}.resource-custom-item input{accent-color:#cfb16d;width:17px;height:17px;flex:none}.resource-custom-item-text{display:grid;gap:3px;min-width:0;flex:1}.resource-custom-item-text strong{font-size:13px;color:#f7e7c5}.resource-custom-item-text small{font-size:10px;color:#a8bca3}.resource-custom-amount{font-size:15px;font-weight:700;color:#f2d18d;white-space:nowrap;font-variant-numeric:tabular-nums}.resource-custom-amount small{display:block;font-size:10px;color:#bdb397;text-align:right}.resource-custom-footer{display:flex;gap:10px;justify-content:space-between;padding-top:9px;border-top:1px solid #9e815a55}.resource-custom-footer button{min-height:39px;padding:8px 15px}@media(max-width:1100px){.resource-custom-pins .phase16-resource{flex-basis:78px;min-width:78px}.resource-custom-header .phase16-resource-capacity{display:none}}@media(max-width:640px){.resource-custom-pins .phase16-resource{flex:0 0 92px}.resource-custom-plus{min-width:44px;padding:4px}.resource-custom-grid{grid-template-columns:1fr}.resource-custom-groups{max-height:55dvh}.resource-custom-header .phase16-resource-capacity{display:none}}@media(prefers-reduced-motion:reduce){.resource-custom-plus{transition:none}}.phase2-food{margin:16px 0 20px;padding:18px 22px;border:1px solid rgba(205,173,100,.32);border-radius:16px;background:linear-gradient(135deg,#202d2af5,#162025f5);color:#f6ecdb}.phase2-food-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:15px}.phase2-food-heading span{color:#d6b675;letter-spacing:1.5px;font-size:.7rem;font-weight:700}.phase2-food h3{margin:2px 0 0;font-size:1.25rem;font-weight:700}.phase2-food-heading small{color:#b1beb7;font-size:.78rem}.phase2-food-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.phase2-food-stage{position:relative;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #576051;border-radius:11px;background:#04101247}.phase2-food-emoji{font-size:1.65rem}.phase2-food-stage strong{display:block;font-size:1rem}.phase2-food-stage small{display:block;font-size:.73rem;color:#b7c3b8}.phase2-food-stats{margin-left:auto;text-align:right}.phase2-food-stats strong{font-size:1.25rem;color:#f3d589}.phase2-food-stats span{display:block;color:#9ed2a8;font-size:.73rem}.phase2-food-arrow{position:absolute;right:-18px;top:35%;z-index:1;color:#f0d08a;font-size:23px}.phase2-food p{margin:12px 0 0;color:#b9c5bb;font-size:.76rem;line-height:1.6}@media(max-width:900px){.phase2-food-heading{align-items:start;flex-direction:column}.phase2-food-stages{grid-template-columns:1fr}.phase2-food-arrow{right:48%;top:calc(100% - 5px);transform:rotate(90deg)}.phase2-food-stage{min-height:82px}}.workforce-panel{margin:1rem 0;padding:1rem;border:1px solid #8e794f;border-radius:14px;background:linear-gradient(145deg,#223a30,#1d302a);color:#f8eeda}.workforce-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.workforce-title small,.workforce-job small{display:block;color:#cbbd9a;font-size:.77rem}.workforce-title h3{margin:.2rem 0;font-size:1.25rem}.workforce-panel>p{color:#e2d8bb;font-size:.91rem}.workforce-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:.7rem}.workforce-job{padding:.75rem;border-radius:9px;border:1px solid #637e64;display:flex;flex-direction:column;gap:.65rem}.workforce-actions{display:flex;align-items:center;gap:.6rem;justify-content:space-between}.workforce-actions label{font-size:.82rem}.workforce-actions select,.workforce-actions button{background:#314c3d;color:#f5ebd3;border:1px solid #b9a06d;border-radius:6px;padding:.3rem .5rem}.workforce-actions button:disabled{opacity:.45}.economy-outlook{background:#17382e;border:1px solid #4b705c;border-radius:15px;padding:18px;margin:14px 0;color:#f0ebdc}.economy-outlook header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.economy-outlook header small{color:#b2ccba;font-size:11px}.economy-outlook h3{margin:5px 0 12px;font-size:20px}.economy-outlook-scroll{max-height:370px;overflow:auto}.economy-outlook table{width:100%;border-collapse:collapse;font-size:13px}.economy-outlook th,.economy-outlook td{padding:8px 9px;border-bottom:1px solid #446050;text-align:right;font-variant-numeric:tabular-nums}.economy-outlook th:first-child{text-align:left}.economy-outlook thead{position:sticky;top:0;background:#254b3d}.economy-outlook .outlook-negative{color:#f7ac96}.economy-outlook .outlook-positive{color:#a4e2ad}.outlook-warnings{margin-top:12px;color:#f4d1a4}.outlook-warnings ul{padding-left:20px;margin:7px 0 10px}.economy-outlook .outlook-note{color:#a8bdad;font-size:11px;margin-bottom:0}.expanded-economy{margin:16px 0;padding:22px;border:1px solid #72785f;border-radius:16px;background:linear-gradient(138deg,#223632,#192d2c);color:#eee3c8}.expanded-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.expanded-heading small{color:#d9ba79;letter-spacing:.13em}.expanded-heading h3{font:600 1.35rem Georgia,serif;margin:5px 0}.expanded-heading>span{color:#b9c7bb;font-size:.82rem}.expanded-needs{display:flex;gap:13px;flex-wrap:wrap;margin:16px 0;padding:12px;background:#3b4d40;border-radius:9px;font-size:.85rem}.expanded-needs strong{color:#f5d5a1}.expanded-goods{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:14px 0 20px}.expanded-goods>div{border:1px solid #5f6b55;padding:12px;border-radius:10px;background:#283c38;display:grid;grid-template-columns:30px 1fr;gap:4px}.expanded-goods span{grid-row:span 2;font-size:1.45rem}.expanded-goods strong{font-size:.85rem}.expanded-goods b{font-size:1.18rem;color:#f0d59a}.expanded-goods small{grid-column:1/-1;color:#b5c7b5;font-size:.69rem}.expanded-economy p{font-size:.77rem;line-height:1.55;color:#b7c9b7}.expanded-economy h4{margin-top:15px}.site-economy{color:#f0e5ce;padding:.85rem}.site-economy-header{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center}.site-economy-header h3{font-size:1.17rem;margin:.2rem 0}.site-economy-header small{color:#d2b985;font-size:.77rem}.site-economy-header>span{font-size:.85rem;color:#d6c9a9}.site-economy p{color:#d7d0be;font-size:.88rem}.site-economy-filter{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;font-size:.85rem;margin:.9rem 0}.site-economy-filter select{padding:.38rem .55rem;background:#243a31;color:#f9e8c9;border:1px solid #9b875f;border-radius:.45rem}.site-economy-list{display:grid;gap:.6rem}.site-economy-card{border:1px solid #6e7358;background:#22372d;border-radius:.65rem;padding:.65rem}.site-economy-line{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.site-economy-line button{background:#344f3d;color:#f8e8c9;border:1px solid #8e875c;border-radius:.4rem;padding:.4rem .65rem;cursor:pointer}.site-economy-line button:disabled{opacity:.55;cursor:wait}.site-economy-name{display:flex;flex-direction:column;gap:.18rem;min-width:190px;text-align:left;flex:1}.site-economy-name small{color:#ddcfad}.site-economy-status{border-radius:1rem;padding:.2rem .65rem;font-size:.77rem;font-weight:600}.site-economy-status.is-active{background:#2d5b41;color:#d3f1c8}.site-economy-status.is-blocked{background:#60412b;color:#f3d7ac}.site-economy-detail{margin-top:.8rem;border-top:1px solid #6e7358;padding-top:.7rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.8rem}.site-economy-detail div{display:flex;flex-direction:column;gap:.15rem;min-width:0}.site-economy-detail small{color:#b5b9a4;font-size:.76rem}.site-economy-detail strong{font-size:.87rem;overflow-wrap:anywhere}.site-economy-error{color:#ffbb9d!important}.phase29-diplomacy{margin:22px 0;padding:20px;border:1px solid #9a7846;border-radius:9px;background:linear-gradient(135deg,#142e24,#101d18);box-shadow:inset 0 1px #c1a86a35}.phase29-diplomacy h2{display:flex;align-items:center;gap:12px;font:600 24px Georgia,serif;color:#eed2a1;margin:7px 0}.phase29-diplomacy-cost{background:#173b2b80;border-left:3px solid #e3b75d;padding:10px 12px;color:#c8d2bc}.phase29-diplomacy-cost strong{color:#f0d497}.phase29-diplomacy-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:10px}.phase29-diplomacy-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#091a1499;border:1px solid #7e694475;border-radius:5px;padding:12px}.phase29-diplomacy-item strong,.phase29-diplomacy-item small{display:block}.phase29-diplomacy-item strong{color:#f5ddaa;font:600 16px Georgia,serif}.phase29-diplomacy-item small{font-size:11px;color:#bac5b1;margin-top:4px}.phase29-truce{display:flex;align-items:center;gap:4px;color:#abdbab;font-size:12px;margin-top:5px}.phase29-truce-confirm>p:first-child{display:flex;align-items:center;gap:9px}.phase31{--p31-gold:#e9c77d;--p31-ink:#e7e8de;color:var(--p31-ink);max-width:1560px}.phase31-hero{display:flex;align-items:center;gap:25px;min-height:184px;position:relative;overflow:hidden;padding:30px 38px;background:radial-gradient(ellipse at 90% 0%,rgba(201,142,64,.22),transparent 45%),linear-gradient(125deg,#12272b,#233b36 58%,#332f27);border:1px solid rgba(229,193,117,.36);border-radius:15px;box-shadow:0 15px 45px #050d1370}.phase31-hero:after{content:"✦";pointer-events:none;position:absolute;right:20%;top:-92px;font-size:260px;color:#f5d4920b}.phase31-hero-mark{display:grid;flex-shrink:0;place-items:center;width:84px;height:84px;border:2px solid #e7c47c90;border-radius:50%;color:var(--p31-gold);background:radial-gradient(circle,#b08c4048,#1c302d);box-shadow:0 0 25px #f4b85525}.phase31-kicker{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:2px;font-weight:800;color:var(--p31-gold);margin-bottom:7px}.phase31 h2{font-family:Georgia,serif;font-size:clamp(28px,3vw,42px);line-height:1.15;letter-spacing:.3px;color:#f7e5b8;margin:0 0 10px}.phase31-hero p:last-child{max-width:650px;color:#c2d0c8;font-size:14px;margin:0}.phase31-season{margin-left:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:150px;z-index:1;border-left:1px solid #cda96955;padding-left:24px}.phase31-season span,.phase31-season small{color:#d5cdb7;font-size:11px}.phase31-season strong{color:#ffe1a0;font:700 48px/1.2 Georgia,serif}.phase31-status-grid{margin:18px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.phase31-status-grid>div{padding:19px 22px;border:1px solid #a8996260;border-radius:12px;background:linear-gradient(145deg,#20352f,#172b29)}.phase31-status-grid span{display:flex;align-items:center;gap:8px;color:#b7c8bf;font-size:12px}.phase31-status-grid strong{color:#f7e1ad;display:block;font:700 25px/1.3 Georgia,serif;margin-top:9px}.phase31-status-grid small{font:400 12px sans-serif;color:#a2b6a8}.phase31-notice{font-size:12px;line-height:1.6;color:#b8c9be;margin:12px 0 23px}.phase31-section-heading{display:flex;justify-content:space-between;gap:15px;align-items:end;margin:22px 0 15px}.phase31-section-heading span{font-size:11px;letter-spacing:1.8px;color:#d0ac6a;font-weight:800}.phase31-section-heading h3{font:700 27px/1.25 Georgia,serif;margin:6px 0 0;color:#f2dcae}.phase31-section-heading small{font-size:12px;color:#a4bab0}.phase31-objectives{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.phase31-objective{--event:#c6a45f;min-width:0;position:relative;display:flex;flex-direction:column;padding:24px;border:1px solid #7e895f80;border-top:3px solid var(--event);border-radius:12px;background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--event) 17%,transparent),transparent 45%),linear-gradient(#1d3533,#172925);box-shadow:0 10px 32px #0004}.phase31-theme-blue{--event:#86bad5}.phase31-theme-red{--event:#dd9472}.phase31-objective-top{display:flex;justify-content:space-between;align-items:start;gap:6px}.phase31-objective-icon{width:62px;height:62px;display:grid;place-items:center;color:var(--event);background:#051e1b85;border:1px solid color-mix(in srgb,var(--event) 45%,transparent);border-radius:15px}.phase31-state{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#f1deb0;border:1px solid #bfa76a5a;border-radius:20px;padding:5px 9px;background:#243831}.phase31-pulse{display:block;width:7px;height:7px;border-radius:50%;background:#8bcf94;box-shadow:0 0 7px #87d688}.phase31-objective h4{font:700 24px/1.18 Georgia,serif;color:#f8e2b7;margin:17px 0 9px}.phase31-objective>p{font-size:13px;line-height:1.5;min-height:43px;margin:0 0 17px;color:#b4c5b7}.phase31-progress-heading,.phase31-progress-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#c4d0c6}.phase31-progress-heading strong{color:#efdaa7;font-size:17px}.phase31-progress{height:11px;margin:9px 0 10px;background:#051d20;border:1px solid #657366;border-radius:9px;overflow:hidden}.phase31-progress span{height:100%;display:block;background:linear-gradient(90deg,color-mix(in srgb,var(--event) 63%,#304c42),var(--event));border-radius:9px;box-shadow:0 0 8px var(--event);transition:width .35s ease}.phase31-progress-foot{margin-bottom:20px}.phase31-donation-controls{display:grid;grid-template-columns:1.3fr 1fr;gap:9px;margin-top:auto}.phase31-donation-controls label{font-size:11px;font-weight:700;color:#b9c7ba}.phase31-donation-controls select,.phase31-donation-controls input{width:100%;margin-top:5px;padding:10px 8px;border:1px solid #6e8067;border-radius:6px;background:#0d2728;color:#edf4e9}.phase31-donation-controls :is(select,input):focus-visible{outline:2px solid #d6b76e;outline-offset:1px}.phase31-contribute{border-radius:7px;padding:12px 10px;width:100%;background:linear-gradient(180deg,#d8b878,#a47b38);border:1px solid #ffde9a;color:#19241b;font-weight:800;margin-top:12px;cursor:pointer}.phase31-contribute:hover:not(:disabled){filter:brightness(1.12)}.phase31-contribute:disabled{opacity:.47;cursor:not-allowed}.phase31-input-hint{font-size:11px;color:#edd09d;margin-top:7px}.phase31-window{display:flex;gap:6px;align-items:center;font-size:10px;color:#9eafa5;margin-top:14px}.phase31-bottom{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0 32px}.phase31-board{padding:22px;background:linear-gradient(140deg,#213731,#142927);border:1px solid #a48a5659;border-radius:12px}.phase31-board h3{display:flex;gap:9px;align-items:center;font:700 22px Georgia,serif;color:#ebd39e;margin:0 0 7px}.phase31-board p{font-size:12px;color:#bbcbc0}.phase31-board ol,.phase31-board ul{padding:0;margin:15px 0 0;list-style:none;max-height:340px;overflow:auto}.phase31-board li{border-bottom:1px solid #86917a34;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 3px;font-size:13px}.phase31-board li strong{color:#f1dfbd;margin-right:auto}.phase31-board li span,.phase31-board li small{color:#bbcdc1}.phase31-board ul li{display:grid;grid-template-columns:minmax(80px,1fr) 2fr auto}.phase31-dialog p{margin:9px 0}@media(max-width:1080px){.phase31-objectives{grid-template-columns:repeat(2,minmax(0,1fr))}.phase31-board ul li{grid-template-columns:1fr;gap:4px}}@media(max-width:700px){.phase31-hero{padding:24px;gap:14px;flex-wrap:wrap}.phase31-hero-mark{width:55px;height:55px}.phase31-season{margin-left:0;border-left:0;border-top:1px solid #cda96955;padding:12px 0 0;width:100%}.phase31-status-grid{grid-template-columns:1fr}.phase31-section-heading{align-items:start;flex-direction:column}.phase31-objectives,.phase31-bottom{grid-template-columns:1fr}.phase31-objective{padding:18px}}@media(prefers-reduced-motion:reduce){.phase31-progress span{transition:none}}.phase29-header-resources{gap:clamp(6px,.8vw,14px)}.phase29-resource{clip-path:none!important;border-radius:7px!important;isolation:isolate;background:linear-gradient(145deg,#122e22,#0b1f17)!important;box-shadow:inset 0 1px #f7dfad19,0 2px 9px #0005;transition:border-color .2s,box-shadow .2s,transform .2s}.phase29-resource:hover,.phase29-resource:focus-visible{border-color:#f2cf82;box-shadow:0 0 0 2px #c7a45e55,0 3px 12px #000a;outline:none;z-index:51}.phase29-resource.is-near-full{border-color:#b78549}.phase29-resource.is-full{border-color:#d46b56}.phase29-resource>svg{width:24px;height:24px;stroke-width:1.85;color:#efc873}.phase29-resource .phase16-resource-data strong{font-variant-numeric:tabular-nums}.phase29-resource-tooltip{display:none;position:absolute;z-index:100;top:calc(100% + 10px);left:0;width:-moz-max-content;width:max-content;min-width:200px;padding:12px 15px;background:#10271e;color:#f6e5be;border:1px solid #d4ae69;border-radius:8px;box-shadow:0 15px 35px #000b;font:12px/1.65 system-ui,sans-serif;white-space:normal;pointer-events:none}.phase29-resource-tooltip:before{content:"";position:absolute;left:20px;top:-7px;width:11px;height:11px;transform:rotate(45deg);background:#10271e;border-left:1px solid #d4ae69;border-top:1px solid #d4ae69}.phase29-resource:hover .phase29-resource-tooltip,.phase29-resource:focus-visible .phase29-resource-tooltip{display:grid;gap:1px}.phase29-resource-tooltip strong{font:700 14px Georgia,serif;color:#f0cf87;border-bottom:1px solid #876b4359;padding-bottom:5px}.phase29-resource-tooltip em{font-style:normal;color:#98ce94;padding-top:3px}.phase29-header-resources .phase16-resource-capacity{border-radius:5px}@media(max-width:960px){.phase29-resource-tooltip{left:50%;transform:translate(-50%)}.phase29-resource-tooltip:before{left:calc(50% - 6px)}}@media(prefers-reduced-motion:reduce){.phase29-resource{transition:none}}.phase16-workspace .phase43-compact-hero{gap:12px;align-items:center;padding-bottom:9px;margin-bottom:10px}.phase16-workspace .phase43-compact-hero .eyebrow{display:none}.phase16-workspace .phase43-compact-hero .village-title{font-size:clamp(22px,2.1vw,32px);line-height:1.14;margin:0 0 4px}.phase16-workspace .phase43-compact-hero .village-subtitle{font-size:11px;flex-wrap:wrap}.phase16-workspace .phase43-compact-hero .hero-actions{gap:6px}.phase16-workspace .phase43-compact-hero .hero-actions>.btn-outline{font-size:11px;padding:7px 9px;min-height:35px}.phase16-workspace:has(.phase43-village-workspace){padding-top:12px}.phase43-village-workspace{min-width:0}.phase43-economy{margin:14px 0 26px;border:1px solid #9a7f4e;border-radius:8px;background:linear-gradient(165deg,#173428,#10281f);overflow:hidden}.phase43-economy-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;padding:13px 17px;text-align:left;background:transparent;color:#f6dfaa;cursor:pointer}.phase43-economy-toggle>span{display:grid;gap:4px}.phase43-economy-toggle strong{font:600 20px Georgia,serif}.phase43-economy-toggle small{font-size:12px;color:#bdcdbb}.phase43-economy-toggle svg{transition:transform .2s ease;flex-shrink:0}.phase43-economy-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.phase43-economy-toggle:hover{background:#30543a}.phase43-economy-content{padding:12px;border-top:1px solid #957b4c}.phase43-economy-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:0 0 12px}.phase43-economy-tabs button{border:1px solid #9b8050;border-radius:5px;background:#1c3729;color:#ecd8ad;padding:9px 13px;font-size:12px;font-weight:600;min-height:38px;cursor:pointer}.phase43-economy-tabs button.active,.phase43-economy-tabs button[aria-selected=true]{background:#486442;color:#fff1c7;border-color:#e4c079}.phase43-economy-content .buildings-section,.phase43-economy-content section{margin-top:0}.phase43-economy button:focus-visible{outline:3px solid #f7d68f;outline-offset:2px}@media(max-width:750px){.phase16-workspace .phase43-compact-hero{align-items:flex-start}.phase16-workspace .phase43-compact-hero .hero-actions{width:100%;flex-wrap:wrap}.phase43-economy-toggle{padding:12px}.phase43-economy-toggle strong{font-size:17px}.phase43-economy-content{padding:8px}.phase43-economy-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.phase43-economy-tabs button{padding:8px 5px}}@media(prefers-reduced-motion:reduce){.phase43-economy-toggle svg{transition:none}}.npc-debug{display:grid;gap:16px}.npc-header,.npc-header-actions,.npc-controls,.npc-controls form,.npc-events-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.npc-header h2,.npc-events-heading h3{display:flex;align-items:center;gap:9px;margin:6px 0}.npc-header-actions button,.npc-controls button{display:inline-flex;gap:7px;align-items:center}.npc-controls{justify-content:flex-start;padding:14px;border:1px solid #705a35;background:#112d24;border-radius:8px}.npc-controls label{display:grid;gap:5px;color:#ddc790;font-size:12px}.npc-controls select,.npc-controls input{background:#092018;color:#faeccc;border:1px solid #947144;border-radius:5px;min-height:36px;padding:6px 10px;min-width:160px}.npc-controls form{align-items:end}.npc-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px}.npc-metrics>div{border:1px solid #74603c;border-radius:6px;padding:12px;background:linear-gradient(155deg,#183b2f,#102920);display:grid;gap:4px}.npc-metrics small{color:#dbc897}.npc-metrics strong{font-size:25px;color:#fff0bd}.npc-worker{display:flex;gap:12px;align-items:start;padding:12px 15px;border:1px solid #78603b;border-radius:7px}.npc-good{background:#19372a}.npc-warning{background:#3e2b1d}.npc-worker-message{display:grid;gap:4px}.npc-worker-message span{color:#f4dfad}.npc-worker-message small{color:#baa991}.npc-table{font-size:13px;min-width:1000px}.npc-table small{display:block;font-size:11px;margin-top:4px;color:#adbea9}.npc-table td{vertical-align:top}.npc-table td small svg{vertical-align:middle}.npc-link{background:none;border:0;text-align:left;color:#f7d68b;cursor:pointer;padding:0}.npc-link:hover{text-decoration:underline}.npc-selected{background:#224d3b}.npc-note{display:block;max-width:270px;line-height:1.4;font-size:12px;overflow-wrap:anywhere;color:#e4dcc4;margin-top:4px}.npc-tag{display:inline-block;border:1px solid #6d9b77;color:#bfe6bf;border-radius:4px;padding:3px 6px;font-size:11px;white-space:nowrap;background:#183528}.npc-hostile,.npc-action-raid,.npc-action-error{border-color:#a76855;color:#ffbe99;background:#402620}.npc-action-build{border-color:#bd9944;color:#ffdf8e}.npc-error{color:#ffa98b;display:block;max-width:240px;overflow-wrap:anywhere}.npc-event-list{display:grid;gap:7px;max-height:540px;overflow-y:auto}.npc-event{border:1px solid #5e553f;background:#122a23;padding:11px;border-radius:6px}.npc-event>div{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.npc-event strong{color:#f2d69a}.npc-event small{margin-left:auto;color:#b5b7a8}.npc-event p{margin:8px 0}.npc-event details{font-size:12px;color:#d6c796}.npc-event pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#071e19;padding:10px;max-height:240px;overflow:auto}.npc-events-heading{align-items:end}@media(max-width:850px){.npc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.npc-controls{display:grid}.npc-controls form{align-items:stretch}.npc-event small{margin-left:0}}.admin-database h2,.admin-db-card h3,.admin-db-restore h3{display:flex;gap:.55rem;align-items:center}.admin-db-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1rem;margin:1rem 0}.admin-db-card{border:1px solid var(--border-color, #59655c55);padding:1rem;border-radius:12px;margin:1rem 0;background:#5868520f}.admin-db-card p{line-height:1.5}.admin-db-card input[type=file]{display:block;max-width:100%;margin:.6rem 0 1rem}.admin-db-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.admin-db-success{padding:.9rem;border:1px solid #468358;border-radius:8px;background:#2878461f}.admin-db-restore{padding:1.1rem;border:2px solid #ac6047;border-radius:12px;margin:1.5rem 0}.admin-db-restore ol{padding-left:1.4rem;line-height:1.8}.admin-db-restore label{display:block;margin:1rem 0}.admin-db-restore input{display:block;width:100%;max-width:540px;margin-top:.3rem}.admin-db-danger{background:#923f33!important;color:#fff!important}.admin-database .admin-table td small{display:block;max-width:240px;overflow-wrap:anywhere;opacity:.72}@media(max-width:800px){.admin-database .admin-table{min-width:620px}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.relative{position:relative}.z-10{z-index:10}.mb-8{margin-bottom:2rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-9{margin-top:2.25rem}.block{display:block}.inline{display:inline}.table{display:table}.grid{display:grid}.hidden{display:none}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-gold{--tw-text-opacity: 1;color:rgb(213 171 96 / var(--tw-text-opacity, 1))}.text-white\/60{color:#fff9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f0eadb;background:#131c20;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:#dabb82;text-decoration:none}a:hover{text-decoration:underline}.muted{color:#aebcb5}.text-gold{color:#dcba7b}.eyebrow{font-size:11px;letter-spacing:.17em;font-weight:800;color:#d2aa69}.form-error{padding:11px 13px;background:#4d2627;color:#f9dcda;border:1px solid #8a3c40;border-radius:8px;font-size:13px}.screen-center{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#152221}.brand-icon{font-size:55px;color:#e4bc79}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(430px,.9fr)}.auth-illustration{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;min-height:100vh;padding:54px 60px;background:linear-gradient(0deg,#091413e0,#0d1d1c2e 60%,#0b181ab3),radial-gradient(ellipse at 50% 83%,#796c4a,#29403e 42%,#142826 75%)}.auth-illustration:before{content:"";position:absolute;top:12%;right:0;bottom:0;left:0;background-image:url('data:image/svg+xml,%3Csvg viewBox="0 0 900 800" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 640L90 470 190 520 270 340 365 450 460 210 565 390 650 230 750 390 900 220V800H0Z" fill="%23273631"/%3E%3Cpath d="M0 710L150 590 280 690 390 500 520 640 680 460 900 620V800H0Z" fill="%231b302b"/%3E%3Cpath d="M340 640V438h80v-65h55v65h65v-124h54v124h80v202M354 435l26-75 27 75M460 375l18-71 16 71M560 317l27-84 31 84" fill="%23394838" stroke="%238c805d" stroke-width="3"/%3E%3Cpath d="M0 770Q280 640 470 740T900 710V800H0Z" fill="%230f201d"/%3E%3C/svg%3E');background-position:center bottom;background-repeat:no-repeat;background-size:cover;opacity:.85;pointer-events:none}.auth-illustration-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(0,0,0,.08))}.top-brand{display:flex;align-items:center;gap:15px;font-family:Georgia,serif;font-weight:700;letter-spacing:.13em;font-size:18px}.top-brand svg{color:#d7b077}.auth-art-copy{margin-top:45%;max-width:660px}.auth-art-copy h1{font:normal clamp(39px,4vw,69px)/1.08 Georgia,serif;letter-spacing:-.03em;margin:22px 0}.auth-art-copy h1 em{color:#e5c493;font-weight:400}.auth-art-copy p{font-size:17px;line-height:1.75;color:#d2d9c9;max-width:460px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:64px 40px;background:radial-gradient(circle at 86% 9%,rgba(73,94,74,.16),transparent 33%),#172226}.auth-panel-inner{width:min(100%,430px)}.mobile-brand{display:none}.page-title{font: 43px/1.1 Georgia,serif;letter-spacing:-.04em;margin:13px 0 12px}.form-stack{display:flex;flex-direction:column;gap:18px}.form-stack>label:not(.check-label){font-size:13px;font-weight:650;color:#e1e6df;display:block}.input-wrap{display:flex;align-items:center;gap:12px;background:#1e2c30;border:1px solid #3a4a4d;border-radius:8px;margin-top:9px;padding:0 14px;color:#acb9ad}.input-wrap:focus-within{border-color:#d2af72;box-shadow:0 0 0 2px #d2af7220}.input-wrap input{border:0;outline:0;min-width:0;width:100%;height:48px;background:transparent;color:#f2f0e6;font-size:14px}.input-wrap input::-moz-placeholder{color:#798b88}.input-wrap input::placeholder{color:#798b88}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:100%;border-radius:8px;background:linear-gradient(135deg,#e2c48b,#cda15a);color:#1d2827;font-weight:800;padding:14px 21px;border:1px solid #ead19e;transition:filter .15s}.btn-primary:hover{filter:brightness(1.1)}.btn-primary.compact{width:auto;padding:10px 20px}.auth-switch{text-align:center;margin:27px 0 0;color:#adbdb7;font-size:14px}.auth-switch a{font-weight:700;margin-left:4px}.check-label{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:12px;color:#bbc6c2;line-height:1.6}.check-label input{margin-top:4px;accent-color:#d4ad6e}.check-label a{text-decoration:underline}.app-shell{display:flex;min-height:100vh;background:#131d20}.sidebar{width:242px;flex-shrink:0;display:flex;flex-direction:column;background:linear-gradient(165deg,#202f30,#192729 70%);border-right:1px solid #344448;padding:31px 19px}.sidebar-brand{display:flex;align-items:center;gap:11px;color:#e0b979;font-family:Georgia,serif;font-size:14px;letter-spacing:.13em;margin:0 0 63px 6px}.sidebar-brand svg{flex-shrink:0}.sidebar-brand span,.sidebar-brand strong{display:block}.sidebar-brand strong{color:#f1e8d9;font-size:17px;margin-top:3px}.sidebar-section-label{font-size:10px;letter-spacing:.15em;color:#798f91;font-weight:800;margin:0 12px 18px}.sidebar-link{border-radius:7px;padding:15px 13px;display:flex;align-items:center;gap:12px;font-size:14px;color:#b7c2c0;font-weight:600}.sidebar-link.active{background:#394b48;color:#f3e9ce;border-left:3px solid #dfb978}.sidebar-status{font-size:12px;display:flex;align-items:center;color:#c4d3c9;padding:0 9px;gap:7px}.online-dot{width:7px;height:7px;background:#8bbf89;border-radius:50%}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:8px;color:#819791;font-size:11px;border-top:1px solid #394747;padding-top:20px}.main-wrap{min-width:0;flex:1}.app-topbar{height:76px;border-bottom:1px solid #324344;display:flex;justify-content:space-between;align-items:center;padding:0 52px;background:#1a2629}.world-breadcrumb{font-size:11px;letter-spacing:.13em;color:#d1b17e;font-weight:700}.world-breadcrumb span{color:#657b7c;margin:0 10px}.topbar-actions{display:flex;align-items:center;gap:19px}.icon-button{border:0;background:none;color:#b8c4bc;display:flex;align-items:center;justify-content:center;padding:8px}.icon-button:hover{color:#e7c38d}.badge-count{position:absolute;top:-3px;right:-4px;font-size:10px;background:#bb7359;color:#fff;border-radius:99px;padding:1px 5px}.user-chip{display:flex;align-items:center;gap:10px;font-size:13px}.user-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#4f6656;color:#f6e8cb;font-family:Georgia,serif}.main-content{max-width:1420px;margin:0 auto;padding:52px}.hero-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:47px}.village-title{font:normal clamp(34px,3.3vw,51px)/1.1 Georgia,serif;margin:12px 0 14px;color:#f1eddf}.village-subtitle{color:#9eafa8;font-size:13px;display:flex;align-items:center;gap:7px}.dot-separator{padding:0 5px}.hero-actions{display:flex;gap:10px}.btn-outline{display:inline-flex;gap:9px;align-items:center;justify-content:center;background:#263536;color:#dfd5c3;border:1px solid #526362;padding:11px 16px;border-radius:7px;font-size:12px;font-weight:650}.btn-outline:hover{background:#304344}.btn-quiet{background:transparent;color:#d9b87a;border:0;display:flex;gap:10px;align-items:center;padding:10px;font-size:12px;font-weight:650}.btn-quiet:hover{text-decoration:underline}.village-dropdown{position:absolute;top:100%;right:0;z-index:8;background:#253537;border:1px solid #4f6862;padding:8px;border-radius:8px;box-shadow:0 15px 30px #0006}.village-dropdown button{display:block;color:#efe8d8;text-align:left;padding:10px;border:0;background:none;width:100%;white-space:nowrap}.village-dropdown button:hover{background:#344744}.rename-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px;background:#233132;padding:16px;border:1px solid #3e514e;border-radius:9px;margin-bottom:30px}.rename-form label{font-size:12px;font-weight:700}.rename-form input{padding:11px;background:#152224;border:1px solid #52615c;color:#fff;border-radius:5px;flex:1;min-width:180px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px;gap:20px}.section-heading h2{font: 27px Georgia,serif;margin:7px 0 0;color:#ede8dd}.resources-section{margin-bottom:47px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resource-card{background:linear-gradient(145deg,#28393a,#233133);border:1px solid #42524e;border-radius:12px;padding:24px 23px 22px;box-shadow:0 6px 16px #0002}.resource-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.resource-icon{background:#465349;border-radius:9px;padding:12px;display:flex;color:#dcb982}.resource-name{font-size:14px;color:#b1c0b7;margin-bottom:8px}.resource-value{font-size:30px;font-weight:700;letter-spacing:-.04em;color:#f1e9d9}.resource-value span{font-size:13px;color:#81948d;font-weight:400;letter-spacing:0}.resource-progress{height:5px;border-radius:8px;background:#4c5b55;margin-top:22px;overflow:hidden}.resource-progress span{display:block;height:100%;background:#d5ad6c;border-radius:8px;transition:width 1s linear}.resource-foot{display:flex;align-items:center;gap:8px;color:#9faeaa;font-size:12px;margin:18px 0}.resource-foot strong{color:#ded5bd}.resource-foot span{margin-left:7px}.buildings-section{margin-top:35px}.section-note{font-size:12px;color:#8faaa0}.building-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.building-row{display:flex;align-items:center;gap:15px;background:#223032;border:1px solid #374a49;border-radius:9px;padding:15px}.building-symbol{font-family:Georgia,serif;color:#e6bf7c;font-size:27px;display:flex;align-items:center;justify-content:center;width:46px;height:46px;background:#384a46;border-radius:7px;flex-shrink:0}.building-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.building-details strong{color:#e8e7db;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.building-details span{color:#8fa49e;font-size:11px}.level-pill{font-size:11px;background:#3b5145;color:#c2d9b7;border-radius:6px;padding:6px 8px;white-space:nowrap}.future-banner{display:flex;align-items:center;gap:18px;border:1px solid #5b6447;border-radius:10px;background:linear-gradient(90deg,#344037,#27342f);padding:22px 24px;margin-top:34px}.future-logo{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#52654b;color:#e5c18a;flex-shrink:0}.future-banner h3{font: 18px Georgia,serif;margin:0 0 5px}.future-banner p{margin:0;color:#aebcac;font-size:12px;line-height:1.6}.notification-panel{position:absolute;right:-25px;top:47px;z-index:10;width:min(380px,calc(100vw - 26px));max-height:75vh;overflow:auto;background:#263536;border:1px solid #52635a;border-radius:10px;box-shadow:0 17px 50px #0008;padding:17px}.bell-container{position:relative}.notification-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px}.notification-heading button{background:none;border:0;font-size:12px}.notification-item{padding:14px 3px;border-top:1px solid #43534d;font-size:12px;color:#ecedde}.notification-item.unread{border-left:2px solid #d8b176;padding-left:10px}.notification-item p{color:#a9b8ae;line-height:1.6;margin:6px 0}.notification-meta{display:flex;justify-content:space-between;gap:10px;color:#829c91;font-size:10px}.notification-meta button{color:#e0bd88;border:0;background:none;text-align:right}.legal-layout{max-width:750px;margin:0 auto;padding:60px 24px;color:#d7ded5;line-height:1.75}.legal-layout h1{font: 44px Georgia,serif}.legal-layout h2{font: 23px Georgia,serif;margin-top:30px}.back-link{font-size:13px}.mobile-wordmark{display:none}@media(max-width:1100px){.sidebar{width:195px}.app-topbar{padding:0 26px}.main-content{padding:35px 28px}.resource-value{font-size:24px}.resource-card{padding:19px}.auth-illustration{padding:35px}}@media(max-width:800px){.auth-layout{grid-template-columns:1fr}.auth-illustration{display:none}.auth-panel{min-height:100vh;padding:40px 24px}.mobile-brand{display:flex;align-items:center;gap:12px;color:#e1c18a;margin-bottom:40px;font-family:Georgia,serif;font-size:19px}.sidebar{display:none}.app-topbar{padding:0 18px;height:66px}.world-breadcrumb{display:none}.mobile-wordmark{display:flex;align-items:center;gap:9px;color:#d5ae72;font-size:12px;font-family:Georgia,serif;font-weight:700;letter-spacing:.04em}.main-content{padding:28px 18px}.hero-head{flex-direction:column;align-items:flex-start;margin-bottom:32px}.resource-grid{gap:9px}.resource-card{padding:15px}.resource-value{font-size:22px}.resource-card-top{flex-direction:column;align-items:flex-start;gap:9px}.building-grid{grid-template-columns:1fr}.section-note{display:none}.topbar-actions{gap:5px}}@media(max-width:550px){.resource-grid{grid-template-columns:1fr}.resource-card-top{flex-direction:row;align-items:center;margin-bottom:12px}.resource-card{padding:15px}.resource-name{margin-bottom:4px}.resource-progress{margin-top:12px}.resource-value{font-size:27px}.section-heading{align-items:flex-start}.section-heading h2{font-size:24px}.user-name{display:none}.resource-foot{flex-wrap:wrap}.resource-foot span{width:100%;margin-left:25px}.notification-panel{right:-58px}.page-title{font-size:37px}}.construction-queue{display:flex;flex-direction:column;gap:10px}.queue-empty{display:flex;gap:12px;align-items:center;background:#223235;border:1px dashed #58695e;border-radius:10px;padding:24px;color:#aabeb4;font-size:13px}.queue-order{display:flex;align-items:center;gap:16px;background:#263638;border:1px solid #46574f;border-radius:10px;padding:15px 18px}.queue-order-icon{font-size:27px;color:#e4c48a;width:42px;text-align:center}.queue-order-main{flex:1;min-width:0}.queue-order-main strong,.queue-order-main span{display:block}.queue-order-main strong{font-size:14px}.queue-order-main span{font-size:12px;color:#b1c3b8;margin-top:5px}.queue-order-end{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.queue-order-end>span{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;font-size:14px;color:#e2c18a}.btn-queue-cancel{border:1px solid #785a56;border-radius:6px;background:#422f2f;color:#f4bdb3;font-size:11px;padding:5px 7px;display:flex;align-items:center;gap:4px}.btn-queue-cancel:disabled{opacity:.5}.queue-track{height:5px;background:#586057;border-radius:10px;overflow:hidden;margin-top:10px}.queue-track div{height:100%;background:#dfbc81;transition:width 1s linear}.section-help{color:#93aca2;font-size:11px;line-height:1.6;margin:11px 0}.village-scene{border:1px solid #59604d;border-radius:14px;padding:22px;background:radial-gradient(circle at 50% 20%,#425a46 0%,transparent 64%),linear-gradient(160deg,#344837,#283832);box-shadow:inset 0 0 70px #10231766}.scene-horizon{display:flex;justify-content:space-between;gap:10px;color:#e0d6ae;font-size:11px;letter-spacing:.12em;margin:0 0 18px}.scene-horizon span:last-child{display:flex;align-items:center;gap:6px;letter-spacing:0}.settlement-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.settlement-tile{border:1px solid #6f755b;min-height:112px;border-radius:8px;background:linear-gradient(140deg,#334b3d,#304339,#4a533a);color:#f0ead5;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:10px;transition:transform .15s,border-color .15s,background .15s;box-shadow:0 4px 9px #091c1b44}.settlement-tile:hover{transform:translateY(-2px);border-color:#e5bd7a}.settlement-tile.selected{outline:2px solid #ddbc81;outline-offset:1px;background:linear-gradient(145deg,#557052,#334a3d)}.settlement-tile.not-built{opacity:.78;background:linear-gradient(140deg,#39423a,#2e3b35)}.tile-emoji{font-family:Georgia,serif;font-size:29px;line-height:1.2;color:#f2cd85}.settlement-tile strong{font-size:12px}.settlement-tile>span:last-child{font-size:10px;color:#bdc5ae}.building-inspector{display:grid;grid-template-columns:1fr minmax(220px,320px);gap:22px;margin-top:16px;border:1px solid #53645a;background:#223334;border-radius:12px;padding:22px}.inspector-main h3{font: 25px Georgia,serif;color:#f0dfbf;margin:8px 0 10px}.inspector-main>p{font-size:13px;color:#aebfb3;line-height:1.7;max-width:600px}.inspector-effect{display:flex;gap:8px;align-items:center;font-size:12px;color:#d0debd;margin-top:18px}.future-label{font-size:9px;padding:4px 6px;border:1px solid #81714d;border-radius:4px;color:#e0bf7f;white-space:nowrap}.inspector-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.inspector-stats span{font-size:11px;background:#364b45;border:1px solid #4c6257;padding:7px;border-radius:5px;color:#becfbf}.inspector-stats strong{color:#f0d5a3}.inspector-main .requirement-warning{color:#ffbe9f;display:flex;gap:6px;align-items:center;margin-top:15px}.inspector-action{background:#2b3d3d;border-radius:8px;padding:19px;border:1px solid #41544d}.inspector-action>strong{display:block;color:#f1d5a1;font-size:21px;margin:9px 0}.build-costs{display:grid;grid-template-columns:1fr;gap:8px;margin:16px 0;font-size:13px;color:#dedccf}.build-time{display:flex;gap:7px;align-items:center;margin:14px 0;font-size:12px;color:#b0c8b7}.inspector-action .btn-primary{gap:8px;padding:12px 9px;font-size:12px}.inspector-action .btn-primary:disabled{opacity:.45;cursor:not-allowed}.build-unavailable{font-size:11px;color:#ddb0a1;margin:10px 0 0}.construction-info{display:flex;align-items:center;gap:10px;margin-top:14px;color:#afc1ad;font-size:12px}.construction-info p{line-height:1.6;margin:0}@media(max-width:1100px){.settlement-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.building-inspector{grid-template-columns:1fr}.settlement-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:550px){.settlement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-horizon{flex-wrap:wrap}.village-scene{padding:12px}.settlement-tile{min-height:103px}.queue-order{gap:10px;padding:12px}.queue-order-icon{display:none}.queue-order-end{min-width:75px}.queue-order-end>span{font-size:11px}.building-inspector{padding:15px}}button.sidebar-link{width:100%;border:0;text-align:left;font:inherit;cursor:pointer}.mobile-game-nav{display:none}.military-page,.map-page{margin-top:36px}.military-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 18px;border:1px solid #52624f;border-radius:10px;background:#2b423c;color:#d4e3d4;font-size:13px;margin-bottom:20px}.military-summary strong{color:#efce95;font-size:17px}.military-summary span{margin-left:auto;color:#9fb7ab;font-size:11px}.unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.unit-card{background:#26383a;border:1px solid #43594e;border-radius:10px;padding:17px}.unit-card-top{display:flex;align-items:center;gap:13px}.unit-card-top>div{flex:1;min-width:0}.unit-card-top strong{font-size:15px;color:#ead7b1}.unit-card-top p{font-size:11px;color:#a6bcb1;line-height:1.5;margin:5px 0}.unit-card-top b{background:#3d554b;padding:6px 9px;border-radius:6px;color:#e1c187}.unit-emblem{font-size:25px;color:#e3c48a;background:#3a4c44;width:45px;height:45px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.unit-stats{color:#98b1a6;font-size:11px;line-height:1.5;border-top:1px solid #3f554c;padding-top:10px;margin-top:13px}.unit-recruit{margin-top:14px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.unit-recruit input,.support-stack input{width:75px;padding:8px;color:#eee7d8;background:#192d2d;border:1px solid #657669;border-radius:6px}.unit-recruit>span{color:#b7bfac;font-size:11px;flex:1 0 100%}.unit-locked{display:flex;align-items:center;gap:7px;color:#d8ae91;font-size:11px;margin-top:12px;line-height:1.6}.support-panel{border:1px solid #526459;padding:20px;border-radius:10px;background:#263a38;color:#aec3b5;font-size:13px}.support-panel>p{line-height:1.7}.support-target{display:flex;align-items:center;gap:10px;margin:16px 0;color:#e5d5b6}.support-target button{margin-left:auto}.support-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.support-stack label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#e1e2d0}.map-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.map-location{display:flex;align-items:center;gap:6px;color:#e4c188;font-size:13px}.map-zoom{display:flex;align-items:center;margin-left:auto;background:#2d4240;border:1px solid #506457;border-radius:8px;overflow:hidden;color:#d7caa9}.map-zoom button{background:none;border:none;color:#e7c48b;padding:10px;cursor:pointer}.map-zoom span{padding:0 6px;font-size:12px}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:17px;align-items:start}.map-canvas-wrap{position:relative;border-radius:12px;border:1px solid #57725b;overflow:hidden;background:#213d37;min-width:0}.world-canvas{display:block;width:100%;height:540px;cursor:grab;touch-action:none}.world-canvas:active{cursor:grabbing}.map-loading{position:absolute;top:10px;left:10px;background:#273d35c9;padding:7px 10px;border-radius:5px;font-size:10px;color:#e0c68f;pointer-events:none}.map-legend{position:absolute;bottom:12px;left:12px;display:flex;flex-wrap:wrap;gap:12px;color:#e6dfc4;font-size:11px;background:#243e37cf;padding:10px;border-radius:7px;pointer-events:none}.map-legend span:nth-child(1){color:#d9c58d}.map-legend span:nth-child(2){color:#d18478}.map-legend span:nth-child(3){color:#a4ab9d}.map-sidebar{border:1px solid #496153;background:#263836;border-radius:10px;padding:16px}.map-search label{display:block;font-size:12px;margin-bottom:9px;color:#d8c49c}.map-search>div{display:flex;gap:6px}.map-search input{min-width:0;width:100%;color:#f3ecdc;background:#182d2d;border:1px solid #617365;border-radius:6px;padding:10px;font-size:12px}.map-search-results{max-height:190px;overflow:auto;margin-top:10px;display:grid;gap:4px}.map-search-results button{background:#34473e;border:0;text-align:left;color:#ecd9b4;padding:8px;border-radius:5px;font-size:12px;cursor:pointer}.map-search-results button small{display:block;color:#b0c4b5;margin-top:4px}.map-info{border-top:1px solid #415649;margin-top:19px;padding-top:15px}.map-info h3{font-family:Georgia,serif;font-size:19px;color:#edcf99;display:flex;gap:7px;align-items:center}.map-info p{line-height:1.7;color:#adc4b5;font-size:12px}.map-info dl{display:grid;grid-template-columns:auto 1fr;gap:9px 12px;font-size:12px;margin:16px 0}.map-info dt{color:#9dad9c}.map-info dd{color:#e0d9bd;text-align:right}.map-info .btn-primary{width:100%;justify-content:center;font-size:12px}@media(max-width:1100px){.map-layout{grid-template-columns:1fr}.map-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:15px}.map-info{border-top:0;margin-top:0;padding-top:0}}@media(max-width:850px){.unit-grid{grid-template-columns:1fr}.mobile-game-nav{display:flex;gap:5px;padding:11px 18px;background:#273835;border-bottom:1px solid #3a4e45}.mobile-game-nav button{border:1px solid #486055;border-radius:7px;background:transparent;color:#cad4c6;padding:8px 13px;display:flex;align-items:center;gap:6px;font-size:12px}.mobile-game-nav button.active{background:#516149;color:#f1d8a4}.military-summary span{margin-left:0}}@media(max-width:550px){.world-canvas{height:420px}.map-sidebar{grid-template-columns:1fr}.map-info{border-top:1px solid #415649;padding-top:15px}.map-legend{gap:7px;font-size:9px}.support-stack{grid-template-columns:1fr}.mobile-game-nav{justify-content:center}}.reports-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,2fr);gap:18px;margin-top:18px}.battle-reports-list{display:flex;flex-direction:column;gap:9px;max-height:680px;overflow:auto}.report-entry{text-align:left;background:#2b3d32;border:1px solid #75684e;border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:5px;color:#f4eddc}.report-entry.selected,.report-entry:hover{border-color:#e9bb70;background:#38513d}.report-entry span,.report-entry small{color:#d2c6ac}.battle-report-detail{border:1px solid #75684e;border-radius:10px;padding:18px;min-height:200px;background:#27392f;color:#eee5d4}.battle-report-detail h3{font-size:1.2rem;margin-bottom:10px}.report-stats{display:grid;grid-template-columns:minmax(135px,1fr) 2fr;gap:10px 14px;margin-top:18px}.report-stats dt{font-weight:600;color:#e6c681}.report-stats dd{overflow-wrap:anywhere}@media(max-width:780px){.reports-layout{grid-template-columns:1fr}.battle-reports-list{max-height:260px}.report-stats{grid-template-columns:1fr;gap:3px}.report-stats dd{margin-bottom:12px}}.society-card{margin:1rem 0;padding:1.25rem;border:1px solid #7c613e5c;border-radius:12px;background:#12171bc2}.society-card h3{color:#ebd2a1;font-size:1.4rem;margin-bottom:.8rem;font-weight:700}.society-card h4{color:#dcbf87;margin:.85rem 0 .4rem;font-size:1.05rem;font-weight:600}.society-card .muted{margin:.45rem 0 .8rem}.society-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:.85rem;margin:.7rem 0}.society-item,.society-entry{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;padding:.9rem;border-radius:8px;border:1px solid #74634965;background:#ffffff09}.society-entry{margin:.6rem 0}.society-item p{font-size:.9rem}.society-input-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin:.8rem 0}.society-input-row label,.society-label{display:flex;flex:1 1 130px;flex-direction:column;gap:.35rem;font-size:.86rem;color:#e5cda0}.society-label{margin:.75rem 0}.society-card input,.society-card textarea{width:100%;min-width:0;padding:.55rem .65rem;background:#121a1d;border:1px solid #82745e;border-radius:6px;color:#f4e6cc}.society-card button{cursor:pointer}.society-card button:disabled{opacity:.5;cursor:not-allowed}.society-info{border-left:3px solid #c6a35f;padding:.7rem 1rem;background:#3c322345;margin:.75rem 0}.society-message{white-space:pre-wrap;overflow-wrap:anywhere}.society-rank>div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #74634965;padding:.65rem 0}.society-rank span{text-align:right}@media(max-width:640px){.society-card{padding:.8rem}.society-rank>div{flex-direction:column;gap:.1rem}.society-rank span{text-align:left}}@media(max-width:850px){.mobile-game-nav{overflow-x:auto;scrollbar-width:thin;justify-content:flex-start;flex-wrap:nowrap}.mobile-game-nav button{flex:0 0 auto}}.admin-layout{min-height:100vh;background:#131d20;color:#f1e9df;padding:30px clamp(16px,4vw,64px);font-size:14px}.admin-header{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;border-bottom:1px solid #3c514f;padding-bottom:25px}.admin-header h1{display:flex;align-items:center;gap:12px;font:normal clamp(25px,3vw,38px) Georgia,serif;margin:7px 0}.admin-header p,.admin-footer{color:#9caba5;font-size:12px}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0}.admin-tabs button{display:flex;align-items:center;gap:8px;border:1px solid #435854;border-radius:8px;background:#203131;color:#bacdc2;padding:12px 15px;font-size:13px}.admin-tabs button.active{background:#495947;color:#f9e5c8;border-color:#caaf7e}.admin-content{background:#203031;border:1px solid #425653;border-radius:13px;padding:clamp(16px,3vw,36px);max-width:1250px}.admin-content h2{font: 28px Georgia,serif;color:#f2ddbd;margin:0 0 14px}.admin-content input,.admin-content select,.admin-content textarea{background:#142424;border:1px solid #546961;border-radius:6px;color:#f6f1e9;padding:10px;font-size:13px;min-width:0}.admin-content label{display:flex;flex-direction:column;gap:6px;color:#bdcbbf;font-size:12px}.admin-toolbar,.admin-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:15px 0}.admin-toolbar input{min-width:180px;flex:1}.admin-scroll{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;min-width:600px}.admin-table td,.admin-table th{padding:13px 11px;border-bottom:1px solid #425351;vertical-align:middle}.admin-table th{font-size:11px;letter-spacing:.08em;color:#b9c9bd;text-transform:uppercase}.admin-table td small{display:block;color:#91a39e;margin-top:4px}.admin-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:23px 0}.admin-metric,.admin-item{border:1px solid #425650;background:#283b39;border-radius:9px;padding:19px}.admin-metric small{display:block;color:#b8c6bd;font-size:11px;margin-bottom:12px}.admin-metric strong{font-size:28px;color:#f4d4a0}.admin-stack{display:grid;gap:14px;margin-top:18px}.admin-item-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px;color:#efdfc2}.admin-item-head span{font-size:12px;color:#9db2a6}.admin-item blockquote{border-left:3px solid #c3a571;background:#1a2929;padding:12px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.admin-item label{margin-top:12px}.admin-error{padding:12px;border:1px solid #af695d;color:#ffc8be;border-radius:6px;margin:12px 0}.admin-footer{display:flex;align-items:center;gap:9px;margin-top:25px}@media(max-width:600px){.admin-layout{padding:18px 12px}.admin-tabs button{padding:9px 10px;font-size:12px}.admin-content{padding:15px}.admin-toolbar{align-items:stretch}.admin-toolbar input{min-width:0;width:100%}}.maintenance-banner{display:flex;gap:12px;align-items:center;padding:16px 18px;background:#422c18;border:1px solid #b48d4d;border-radius:12px;color:#ffe0a1;margin-bottom:20px;line-height:1.5}.maintenance-banner svg{flex-shrink:0}.worlds-page{min-height:100vh;background:#10191b;color:#f4eddd}.worlds-topbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:18px clamp(18px,4vw,60px);border-bottom:1px solid #34403e;background:#151d1d}.worlds-user{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.worlds-content{max-width:1150px;margin:0 auto;padding:clamp(25px,5vw,65px) 20px}.worlds-content h1{font-size:clamp(29px,5vw,50px);font-weight:700;margin:12px 0}.worlds-content>.muted{max-width:680px;line-height:1.6;margin-bottom:30px}.worlds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:22px;margin-top:30px}.world-entry{background:#202b28;border:1px solid #52604c;border-radius:15px;padding:25px;min-width:0}.world-entry-icon{display:inline-flex;padding:12px;border-radius:12px;background:#3b4837;color:#e7bd75}.world-entry h2{font-size:23px;font-weight:700;margin:15px 0 0}.world-entry .muted{color:#c3c8b7}.world-population{display:flex;align-items:center;gap:8px;margin:25px 0;color:#d3dabc}.world-entry .btn-primary{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.world-entry-note{font-size:13px;margin:15px 0 0}.admin-village-editor{margin-top:20px;max-width:850px}.admin-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin:18px 0}.admin-edit-grid input{width:100%}.account-layout{min-height:100vh;max-width:880px;margin:0 auto;padding:clamp(18px,5vw,48px) 20px 80px;color:#f0e6d3}.account-layout h1{font:normal clamp(30px,4vw,45px) Georgia,serif;color:#f3dcba;margin:10px 0}.account-nav{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:38px}.account-nav a{display:inline-flex;align-items:center;gap:9px}.account-form{display:grid;max-width:480px;gap:14px;margin-top:18px}.account-form label{display:grid;gap:6px;font-size:13px;color:#ead1a7}.account-form input,.auth-panel input:not([type=checkbox]){min-height:42px;background:#152423;color:#f3e9d6;border:1px solid #657667;border-radius:7px;padding:10px;max-width:100%}.account-download{display:inline-flex;padding:12px 16px;margin-top:13px;border:1px solid #a58c67;border-radius:8px}.account-danger{border-color:#964e49;background:#302323}.btn-danger{background:#8b3e3a;border:1px solid #c1746b;color:#fff6ed;border-radius:8px;padding:12px 18px;font-weight:700}.btn-danger:disabled{opacity:.5}:root{--premium-green:#09281e;--premium-wood:#25180f;--premium-gold:#d7b56e;--premium-cream:#f5e7c4}.premium-control-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;background:linear-gradient(90deg,#132f26,#1d3227);border:1px solid #95754e;border-radius:9px 9px 0 0;color:#ebd39e}.premium-scene-intro{display:grid;gap:2px}.premium-scene-intro strong{font:600 19px Georgia,serif;color:#eed6a1}.premium-scene-intro span{font-size:12px;color:#b5c7b4}.premium-graphics-settings{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.premium-graphics-settings label{font-size:11px;color:#d1bb88;display:flex;align-items:center;gap:6px}.premium-graphics-settings select{border:1px solid #b28b4e;background:#142b23;color:#f4e4c2;border-radius:4px;padding:6px;min-width:85px}.premium-graphics-settings input{accent-color:#ba963e}.premium-scene-shell{position:relative;width:100%;background:#203c2f;border:2px solid #a5824c;box-shadow:0 14px 35px #0b110ed9,inset 0 0 30px #091811;overflow:hidden;border-radius:0 0 9px 9px}.premium-pixi-view{height:clamp(380px,56vw,640px);width:100%;touch-action:none;overflow:hidden;outline-offset:-5px;background:radial-gradient(ellipse at 52% 45%,#86a366,#47724e 65%,#1e4239)}.premium-pixi-view canvas{display:block;width:100%;height:100%;cursor:grab}.premium-pixi-view canvas:active{cursor:grabbing}.premium-pixi-view:focus-visible{outline:3px solid #e7c56a}.premium-scene-label{position:absolute;left:14px;top:16px;display:grid;gap:4px;pointer-events:none;padding:9px 15px;background:linear-gradient(100deg,#10271fe8,#172e22c7);border:1px solid #d3ac59;box-shadow:0 2px 12px #0008;color:#f3d89d;font:600 14px Georgia,serif;border-radius:5px}.premium-scene-label span{font: 11px system-ui;color:#cbd8c2}.premium-camera-controls{position:absolute;right:13px;bottom:18px;display:grid;gap:8px}.premium-camera-controls button{width:39px;height:39px;background:#183c2fef;color:#f3d58f;border:1px solid #bb994f;box-shadow:0 3px 10px #0007;border-radius:7px;font:700 27px Georgia,serif}.premium-camera-controls button:hover{background:#355a3c}.premium-scene-key{position:absolute;left:15px;bottom:17px;padding:7px 11px;font-size:11px;color:#e9daa8;border:1px solid #8f7a54;border-radius:5px;background:#12261bde;pointer-events:none}.premium-fallback{position:absolute;top:80px;right:20px;bottom:80px;left:20px;display:grid;place-content:center;gap:10px;text-align:center;border:1px solid #ca954b;background:#14241b;color:#f1ddb0;border-radius:9px;padding:20px}.premium-building-selector{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 19px}.premium-building-selector button{display:inline-flex;gap:6px;align-items:center;background:linear-gradient(#2b392a,#162c22);border:1px solid #7c7053;color:#e7dcbe;border-radius:5px;font-size:12px;padding:8px 11px;cursor:pointer}.premium-building-selector button.active,.premium-building-selector button:hover{border-color:#d7b25e;color:#f7df9c;background:#33553d}.premium-building-selector button small{font-size:10px;color:#aeb69c}.building-inspector{border-color:#bd9756!important;box-shadow:inset 0 1px #e0bd7740}@media(max-width:680px){.premium-scene-label span{display:none}.premium-scene-label{font-size:12px}.premium-graphics-settings{justify-content:flex-start}.premium-control-bar{padding:10px}.premium-pixi-view{height:415px}.premium-building-selector button{font-size:11px;padding:7px}}.map-canvas-wrap{background:#193b2d;border:2px solid #ad854c;box-shadow:inset 0 0 25px #02180c}.world-canvas{background:#3a6849}.world-routes{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:540px;pointer-events:none}.map-info{background:linear-gradient(145deg,#0e3024,#10281f);border:1px solid #a98547;border-radius:9px;padding:15px!important;margin-top:20px}.map-info .btn-primary{margin:5px 0;border-color:#d7b56e}.map-sidebar{background:linear-gradient(140deg,#17352b,#0e221c);border:1px solid #aa854b}.map-page .section-heading h2{font:600 clamp(24px,3vw,36px) Georgia,serif;color:#f5d9a0}@media(max-width:550px){.world-routes{height:420px}}.app-shell{background:radial-gradient(ellipse at 70% 5%,#163b30,#0a1e1a 65%,#08150f)}.sidebar{background:linear-gradient(90deg,#22170f,#3d2619 26%,#22160f)!important;border-right:3px ridge #ba9653!important;box-shadow:8px 0 25px #0007}.sidebar-brand{border-bottom:2px solid #917341!important;color:#f0d28b!important}.sidebar-link{border-bottom:1px solid #a58d4933!important;color:#ead8ad!important}.sidebar-link:hover,.sidebar-link.active{background:linear-gradient(90deg,#1b3c2a,#2b593e)!important;border-color:#bc9856!important;color:#f7e5b9!important;text-shadow:0 1px 2px #050b05}.sidebar-section-label{color:#c6aa72!important}.app-topbar{background:linear-gradient(0deg,#24170e,#4b2e1b 55%,#2a1911)!important;border-bottom:2px ridge #b78b47!important;box-shadow:0 7px 14px #020f0bcc;position:sticky;top:0;z-index:35}.premium-top-resources{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.premium-top-resources span{display:flex;gap:8px;align-items:center;padding:7px 13px;font-size:16px;font-family:Georgia,serif;color:#f1dcb0;border-right:1px solid #bb94506e;white-space:nowrap}.premium-top-resources strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.hero-head,.resources-section{position:relative}.village-title{font-family:Georgia,serif!important;color:#f2dcac!important;text-shadow:1px 2px 4px #0009}.btn-primary{background:linear-gradient(#f4d884,#c39239)!important;border:1px solid #f6df91!important;color:#282112!important;font-weight:750!important;box-shadow:inset 0 2px #fff4bf80,0 3px 8px #0007!important}.btn-primary:hover{filter:brightness(1.07)}.btn-outline{border-color:#ba975d!important;color:#e7d1a3!important}.buildings-section{border:1px solid #8a784d!important;background:linear-gradient(145deg,#142920,#12201b)!important}.building-inspector{background:linear-gradient(115deg,#17372d,#1a2923)!important}@media(max-width:1050px){.premium-top-resources span{padding:6px 7px;font-size:13px}.premium-top-resources strong{font-size:12px}}@media(max-width:700px){.premium-top-resources{order:2;width:100%;justify-content:space-around}.premium-top-resources span{padding:4px 6px}.world-breadcrumb{display:none}}.premium-fallback{top:0;right:0;bottom:0;left:0;background:#365d44;padding:0;display:block;border:0}.premium-fallback-canvas{height:100%;width:100%;position:relative}.premium-fallback-view{height:100%;width:100%;display:block;cursor:grab;touch-action:none}.premium-canvas-badge{position:absolute;top:10px;left:12px;background:#122e23e6;border:1px solid #a98b53;padding:7px;color:#e8d6a8;font-size:11px;pointer-events:none}.premium-fallback-zoom{position:absolute;right:14px;bottom:16px;display:grid;gap:8px}.premium-fallback-zoom button{width:40px;height:40px;background:#153526;color:#f7dc9b;border:1px solid #cfaa60;font-size:22px;border-radius:5px}.premium-error-detail{position:absolute;left:12px;bottom:10px;color:#ecdda9;background:#1b3d2dc9;max-width:75%;font-size:10px;padding:4px 7px}.map-premium{--map-gold:#dbbc78;--map-ink:#10271e;--map-bronze:#927049}.map-premium .section-heading{margin-bottom:9px}.map-premium .section-heading h2{font:600 clamp(29px,3.5vw,46px) Georgia,serif;color:#f2dbad;text-shadow:0 3px 8px #050e0a}.premium-map-toolbar{margin:12px 0 14px;padding:9px 11px;border:1px solid #916f3e;border-radius:8px;background:linear-gradient(0deg,#1d251a,#253827 46%,#11271f);box-shadow:inset 0 1px #e3c47a45,0 5px 18px #0004}.premium-map-toolbar .btn-outline{margin:0}.map-quality-label{display:flex;align-items:center;gap:8px;color:#e7d2a8;font-size:12px;margin-left:auto}.map-quality-label select{background:#172e25;color:#e9d8b3;border:1px solid #b89762;border-radius:5px;padding:8px 10px;font-size:12px}.premium-map-toolbar .map-zoom{margin-left:0;border-color:#9d804f;background:#12271e}.premium-map-layout{grid-template-columns:minmax(0,1fr) minmax(255px,295px);gap:13px}.premium-map-frame{border:2px solid #bb985c;border-radius:9px;box-shadow:0 18px 38px #030d0b88,inset 0 0 20px #010c09;background:#1c3a30;overflow:hidden}.premium-world-canvas{height:clamp(520px,65vh,720px);image-rendering:auto;outline-offset:-4px}.premium-world-canvas:focus-visible{outline:3px solid #f4d88b}.premium-map-frame .world-routes{height:100%;pointer-events:none}.premium-compass{position:absolute;right:16px;top:17px;width:45px;height:58px;border:1px solid #aa8c53;background:linear-gradient(#1f3829e6,#14291ee8);color:#f6d99a;display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column;border-radius:12px;pointer-events:none;box-shadow:0 4px 10px #0008}.premium-compass span{font:700 11px Georgia,serif}.premium-map-coords{position:absolute;top:12px;left:12px;background:#0c281ee9;border:1px solid #c19c5c;border-radius:5px;box-shadow:inset 0 1px #f2cd7766;color:#efd8a2;font:600 13px Georgia,serif;padding:9px 11px;pointer-events:none}.premium-map-hint{position:absolute;bottom:10px;right:13px;pointer-events:none;background:#0b251cce;border:1px solid #967749;color:#dcc79b;font-size:11px;padding:7px 10px;border-radius:5px;max-width:60%;text-align:right}.premium-map-frame .map-legend{bottom:11px;left:11px;border:1px solid #a1844c;border-radius:5px;background:#0a281fe9;box-shadow:inset 0 1px #d2ae6255;gap:11px;max-width:70%}.premium-map-frame .legend-own{color:#adf0a1!important}.premium-map-frame .legend-foreign{color:#ffb98a!important}.premium-map-frame .legend-personal{color:#d0a3f1!important}.premium-map-sidebar{padding:15px;border-color:#ae8b50;border-radius:9px;box-shadow:inset 0 1px #e5bd6544,0 7px 16px #0004}.premium-map-sidebar .map-search label{display:flex;align-items:center;gap:8px;color:#e5c993;font-family:Georgia,serif;font-size:15px}.premium-map-info{padding:13px!important;margin-top:16px;border-color:#a6854f}.premium-map-info h3{font:600 21px Georgia,serif;color:#f2d79c;line-height:1.2}.premium-map-info dl{grid-template-columns:1fr;gap:3px;margin:15px 0 18px}.premium-map-info dt{font-size:11px;color:#a8b6a0;margin-top:7px}.premium-map-info dd{text-align:left;font-size:13px;color:#f5e4c3}.premium-map-info dd.premium-id{overflow-wrap:anywhere;font:10px/1.4 monospace;color:#aaa99a}.premium-village-status{display:flex;gap:8px;align-items:center;border-bottom:1px solid #997b4638;padding:12px 0 7px;font-size:12px}.premium-map-info .btn-outline,.premium-map-info .btn-primary{width:100%;display:flex;justify-content:center;gap:8px;align-items:center;margin:7px 0;padding:10px}.premium-marker-panel{margin-top:17px;border-top:1px solid #8c754d;padding-top:16px}.premium-marker-panel h3{font:600 18px Georgia,serif;color:#f0d2a0;display:flex;gap:8px;align-items:center}.premium-marker-panel h3 small{margin-left:auto;color:#a6a6a0;font:11px sans-serif}.premium-marker-panel p{color:#aebda9;font-size:12px;line-height:1.5;margin:10px 0}.premium-marker-panel p strong{color:#ebd18f}.premium-marker-form{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0}.premium-marker-form input{min-width:0;flex:1 1 130px;border:1px solid #8b7654;border-radius:5px;background:#12261d;color:#f4dfbf;padding:9px 10px;font-size:12px}.premium-marker-form button{display:flex;gap:6px;align-items:center}.premium-marker-list{max-height:205px;overflow:auto;display:grid;gap:5px}.premium-marker-entry{display:flex;align-items:center;border:1px solid #756f506e;border-radius:5px;background:#27382b}.premium-marker-entry>button{background:transparent;border:0;color:#dbc9ab;padding:8px;cursor:pointer}.premium-marker-entry>button:first-child{display:flex;gap:9px;align-items:center;flex:1;text-align:left;min-width:0}.premium-marker-entry>button:first-child svg{color:#bf9be4}.premium-marker-entry>button span{display:block;overflow:hidden;text-overflow:ellipsis;max-width:195px;font-size:12px}.premium-marker-entry>button small{display:block;color:#b4b7aa;font-size:10px;margin-top:3px}.premium-marker-entry>button:last-child{color:#ecb6a9}.premium-marker-entry button:hover{background:#46614b}.premium-nearby{margin-top:15px;padding:11px 9px;background:#21352b;border:1px solid #837149;border-radius:6px;color:#decda9}.premium-nearby summary{cursor:pointer;font:14px Georgia,serif}.premium-nearby-list{display:grid;gap:4px;margin-top:9px;max-height:165px;overflow:auto}.premium-nearby-list button{border:0;border-bottom:1px solid #e7c4891c;background:transparent;color:#f1ddbf;padding:7px 4px;display:flex;gap:9px;justify-content:space-between;text-align:left;cursor:pointer;font-size:12px}.premium-nearby-list button:hover{color:#ffe79b}.premium-nearby-list small{font-size:10px;color:#b6b4a6}.map-error{position:absolute;top:65px;left:10px;right:10px;background:#4a2121e8;border:1px solid #df9180;border-radius:8px;padding:10px;color:#ffe6d6;display:flex;gap:9px;align-items:center;font-size:12px}.map-error button{padding:6px 10px;border:1px solid #bda38b;border-radius:4px;background:#512b21;color:#fff1d5;cursor:pointer}@media(max-width:1180px){.premium-map-layout{grid-template-columns:1fr}.premium-map-sidebar{display:block}.premium-world-canvas{height:580px}}@media(max-width:680px){.premium-world-canvas{height:440px}.premium-map-hint{display:none}.premium-map-frame .map-legend{max-width:95%;font-size:9px;gap:7px}.premium-map-toolbar .map-zoom{margin-left:auto}}@media(prefers-reduced-motion:reduce){.map-premium *{scroll-behavior:auto}}.premium-scene-shell{background:#23492f;isolation:isolate}.premium-pixi-view{background:radial-gradient(ellipse at 40% 22%,#90a768,#366c51 66%,#122c26)}.premium-control-bar{background:linear-gradient(110deg,#102e26,#244635 55%,#142b24)}.premium-graphics-settings{row-gap:9px}.premium-graphics-settings .premium-check{white-space:nowrap;cursor:pointer}.premium-graphics-settings input[type=checkbox]{width:15px;height:15px}@media(max-width:800px){.premium-graphics-settings{width:100%;justify-content:flex-start}}@media(prefers-reduced-motion:reduce){.premium-scene-label,.premium-camera-controls button{transition:none!important}}.premium-inspector-ident{display:flex;align-items:center;gap:14px;margin:9px 0 12px}.premium-inspector-ident h3{margin:0;line-height:1.2}.premium-building-portrait{flex:none;display:grid;place-items:center;width:140px;height:116px;border:1px solid #b99555;border-radius:8px;background:radial-gradient(circle at 45% 60%,#537450,#253d2e 65%,#10251f);box-shadow:inset 0 0 18px #090d0b90,0 4px 10px #0006;overflow:hidden}@media(max-width:680px){.premium-inspector-ident{gap:9px}.premium-building-portrait{width:103px;height:98px;transform:none}.premium-building-portrait>div{transform:scale(.84)}}.premium-pixi-view:focus-visible{outline:3px solid #e7c06b;outline-offset:-4px}.premium-camera-controls button:focus-visible,.premium-building-selector button:focus-visible{outline:2px solid #f6d28c;outline-offset:2px}.premium-building-portrait{background:radial-gradient(ellipse at 44% 66%,#647c59,#314738 52%,#12251d);box-shadow:inset 0 0 18px #08130de6,inset 0 0 0 2px #e2c17b18,0 5px 14px #0008}.premium-camera-controls button:first-child{color:#ffe29b;background:linear-gradient(160deg,#355844,#11291e)}.admin-village-detail{display:grid;gap:16px;margin-top:22px;padding:clamp(12px,2vw,22px);background:linear-gradient(160deg,#20372e,#10281f);border:1px solid #927446;border-radius:12px;box-shadow:0 12px 30px #0005}.admin-village-detail-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.admin-village-detail-top h3,.admin-village-section h4{display:flex;align-items:center;gap:9px;color:#f4d99b;margin:5px 0 8px}.admin-village-detail-top p{margin:0}.admin-village-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.admin-village-metrics>div{display:grid;gap:5px;background:#183129;border:1px solid #756344;border-radius:8px;padding:13px}.admin-village-metrics small{color:#dac49d}.admin-village-metrics strong{font-size:23px;color:#fff0c9}.admin-village-section{padding:13px 15px;border:1px solid #4f654d;border-radius:9px;background:#12291fd9;min-width:0}.admin-village-section h4 span{font-size:12px;color:#cbb892;font-weight:400}.admin-village-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.admin-village-resources>div{display:flex;align-items:center;flex-wrap:wrap;gap:9px;background:#203b2b;padding:11px;border-radius:6px}.admin-village-resources small{color:#dfd2ac}.admin-village-resources strong{color:#ffe5a1;margin-left:auto}.admin-village-note{font-size:12px;margin:10px 0 0;line-height:1.6}.admin-village-buildings{display:grid;grid-template-columns:repeat(auto-fit,minmax(172px,1fr));gap:10px}.admin-village-building{display:flex;align-items:center;gap:9px;background:#20382c;border:1px solid #556747;border-radius:7px;padding:10px;min-width:0}.admin-village-building.unbuilt{opacity:.64}.admin-village-building .premium-building-portrait{flex:0 0 auto}.admin-village-building>div:last-child{display:grid;gap:3px;min-width:0}.admin-village-building strong{font-size:13px;color:#f4ddb0;overflow-wrap:anywhere}.admin-village-building span,.admin-village-building small{font-size:12px;color:#c6d3b3}.admin-village-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-village-unit-grid{display:grid;gap:6px}.admin-village-unit-grid>div{display:flex;justify-content:space-between;gap:10px;padding:7px 10px;background:#20372b;border-radius:5px}.admin-village-unit-grid strong{color:#ffdc94}.admin-village-activity{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}.admin-village-activity li{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:7px;padding:8px;background:#20372b;border-radius:5px}.admin-village-activity strong{font-size:13px}.admin-village-activity span{font-size:12px;color:#bfcab5}.admin-village-table{min-width:660px;font-size:13px}.admin-village-table td{vertical-align:top}@media(max-width:760px){.admin-village-columns,.admin-village-resources{grid-template-columns:1fr}}.admin-village-reset{margin-top:20px;max-width:850px;border-color:#ac5b54}.admin-village-reset label{display:block;color:#efdfc2}.admin-village-reset input{display:block;width:100%;max-width:420px;margin-top:8px}.admin-world-danger{margin-top:19px;border-top:1px solid #785b54;padding-top:17px}.admin-world-danger>strong{color:#ffd0c4}.admin-world-danger .admin-world-delete{border-color:#b66b64;color:#ffe1d8}.admin-world-danger .admin-world-delete:disabled{opacity:.45}.admin-world-confirm{display:grid;gap:12px;background:#3a2828;border:1px solid #ad665d;border-radius:9px;padding:16px;margin-top:12px}.admin-world-confirm p{margin:0;line-height:1.55;color:#f8ddcd}.admin-world-confirm label{display:grid;gap:6px;max-width:450px}.admin-world-confirm input{width:100%}.admin-world-confirm code{font-size:13px;color:#ffe3ab}:root{--p16-ink:#071710;--p16-panel:#10251d;--p16-gold:#d6ac61;--p16-light:#f7e5ba;--p16-line:#8b6937}.phase16-shell{background:radial-gradient(ellipse at 67% 8%,#254433,#101f1a 48%,#06110f);color:#f0e3c8}.phase16-shell .sidebar{background:linear-gradient(180deg,#061d14e8,#081810e8),url(/assets/ui/forest-vellum.webp?v=16) repeat;box-shadow:inset -4px 0 18px #0007;border-right:2px solid var(--p16-line);padding:24px 14px}.phase16-shell .sidebar-brand{color:#f2c878;font-size:16px;text-shadow:0 2px 3px #0009;position:relative;border-bottom:1px solid #9e7d46;padding-bottom:25px;margin:0 0 30px 6px}.phase16-shell .sidebar-brand svg{width:40px;height:40px;filter:drop-shadow(0 2px 3px #000)}.phase16-shell .sidebar-brand strong{font-size:20px;color:#f5e1b3}.phase16-shell .sidebar-section-label{color:#b59860;margin:15px 12px 12px}.phase16-shell .sidebar-link{color:#ddd1b3;border:1px solid transparent;border-radius:4px;margin-bottom:4px;padding:12px 10px;transition:background-color .15s,border-color .15s}.phase16-shell .sidebar-link svg{color:#d6b06a;flex:0 0 auto}.phase16-shell .sidebar-link:hover{background:#2b4538;border-color:#988352;text-decoration:none}.phase16-shell .sidebar-link.active{background:linear-gradient(100deg,#315e42,#163326);border:1px solid #d7b265;box-shadow:inset 0 1px #f9e3ae40,0 5px 12px #0008;color:#fff1cc}.phase16-shell .sidebar-status{border:1px solid #695b38;background:#061d15;padding:10px;font-size:11px;border-radius:3px}.phase16-shell .sidebar-bottom{color:#abaf92;border-color:#896d42}.phase16-shell .main-wrap{background:linear-gradient(180deg,#0d241bde,#12241d),url(/assets/ui/forest-vellum.webp?v=16);min-width:0}.phase16-shell .app-topbar{position:sticky;top:0;z-index:45;min-height:76px;height:auto;padding:10px clamp(12px,2vw,28px);gap:12px;box-shadow:0 5px 18px #0009,inset 0 1px #f3cb7245;border-bottom:2px solid #af8547;background:linear-gradient(180deg,#221306d9,#1d1108e6),url(/assets/ui/walnut.webp?v=16) repeat}.phase16-menu-toggle{display:none;border:1px solid #b89454;border-radius:5px;padding:9px;align-items:center;justify-content:center;background:#0c2219;color:#f4d9a2}.phase16-shell .world-breadcrumb{font:700 11px Georgia,serif;color:#dcc28d;letter-spacing:.04em;text-align:center;max-width:180px}.phase16-shell .topbar-actions{gap:8px}.phase16-shell .icon-button{width:38px;height:38px;border:1px solid #83683d;border-radius:5px;background:#10221b;transition:border-color .15s}.phase16-shell .icon-button:hover{border-color:#eac778}.phase16-shell .user-chip{background:#11261d;border:1px solid #8d754e;padding:4px 9px 4px 4px;border-radius:30px;color:#f8e4c4}.phase16-shell .user-avatar{background:linear-gradient(145deg,#a9894a,#394b30);border:1px solid #d1ad65}.phase16-resources{flex:1;display:flex;align-items:center;justify-content:center;gap:clamp(4px,.75vw,13px);min-width:0}.phase16-resource{position:relative;display:flex;gap:8px;align-items:center;min-width:108px;max-width:190px;flex:1;padding:8px 10px 13px;background:linear-gradient(145deg,#0b241aee,#1c2c21e9);border:1px solid #987544;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px)}.phase16-resource>svg{color:#e2b75f;flex:0 0 auto;filter:drop-shadow(0 1px 1px #000)}.phase16-resource-data{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:1px 7px;align-items:center;width:100%}.phase16-resource-data>span{font-size:10px;color:#c4b08c;grid-column:1/-1}.phase16-resource-data strong{font:600 clamp(14px,1.2vw,20px) Georgia,serif;letter-spacing:-.02em;white-space:nowrap;color:#f7e9c9;font-variant-numeric:tabular-nums}.phase16-resource-data small{color:#95c47b;font-size:10px;white-space:nowrap;align-self:end}.phase16-resource-meter{position:absolute;bottom:2px;left:9px;right:9px;height:3px;background:#66512d;overflow:hidden}.phase16-resource-meter span{display:block;height:100%;background:linear-gradient(90deg,#6ca65e,#edc56c);transition:width 1s linear}.phase16-resource.is-full .phase16-resource-meter span{background:#cf7255}.phase16-resource-capacity{display:flex;align-items:center;gap:7px;color:#edce92;font-size:11px;white-space:nowrap;padding:6px;border:1px solid #77633e;background:#11251c}.phase16-resource-capacity strong{font:600 14px Georgia,serif}.phase16-workspace{max-width:1800px;padding:clamp(16px,2.3vw,36px);margin:0 auto}.phase16-workspace .hero-head{margin:0 0 21px;padding:0 0 14px;border-bottom:1px solid #9f7c425c}.phase16-workspace .village-title{color:#ffedc4;text-shadow:0 2px 8px #000c;font-size:clamp(32px,3vw,44px)}.phase16-workspace .village-subtitle{color:#c5c6ad}.phase16-workspace .resources-section{margin-bottom:18px}.phase16-workspace .resources-section .section-heading{margin-bottom:7px}.phase16-workspace .resources-section .section-heading h2{font-size:19px;margin:0}.phase16-workspace .resources-section .eyebrow{display:none}.phase16-workspace .resource-grid{gap:9px}.phase16-workspace .resource-card{padding:11px 14px;background:linear-gradient(110deg,#143328dd,#162a20),url(/assets/ui/forest-vellum.webp?v=16);border:1px solid #76643f;border-radius:5px;box-shadow:inset 0 1px #e8ca7730}.phase16-workspace .resource-card-top{margin:0 0 3px}.phase16-workspace .resource-icon{padding:6px;background:#5a523526;border-radius:4px}.phase16-workspace .resource-name{display:none}.phase16-workspace .resource-value{font:600 20px Georgia,serif}.phase16-workspace .resource-progress{margin-top:8px}.phase16-workspace .resource-foot{margin:5px 0;color:#b4bc9f}.phase16-workspace .resource-card-top .text-gold{font-size:11px}.phase16-workspace .buildings-section{margin-top:15px}.phase16-workspace .buildings-section>.section-heading{margin:0 0 11px}.phase16-workspace .buildings-section>.section-heading h2{font:600 25px Georgia,serif;color:#f4db9d}.phase16-workspace .premium-control-bar{background:linear-gradient(180deg,#2b1a0af0,#1a2c20),url(/assets/ui/walnut.webp?v=16);border:1px solid #bd9455;border-bottom:0;box-shadow:inset 0 2px #e8c37e60;border-radius:5px 5px 0 0}.phase16-workspace .premium-scene-intro strong{color:#f8df9c}.phase16-workspace .premium-scene-shell{border:2px solid #c2a366;border-radius:0;box-shadow:0 12px 36px #000b,inset 0 0 0 2px #34220b}.phase16-current-build{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #d3ab58;background:#2d3323;padding:10px 14px;margin:7px 0;color:#eddbb4;font-size:12px}.phase16-current-build>span{display:flex;align-items:center;gap:7px}.phase16-current-build svg{color:#f6c36c}.phase16-current-build strong{color:#ffecb8}.phase16-current-build-track{height:8px;background:#0b1e14;border:1px solid #8f753f;flex:1 1 170px;border-radius:10px;overflow:hidden}.phase16-current-build-track>span{display:block;height:100%;background:linear-gradient(90deg,#5b9a45,#eec76d);transition:width 1s linear}.phase16-current-build time{color:#e8c47d;font-variant-numeric:tabular-nums}.phase16-workspace .premium-building-selector{display:flex;gap:5px;overflow-x:auto;flex-wrap:nowrap;scroll-snap-type:x proximity;padding:7px 3px 11px;margin:0 0 7px;background:linear-gradient(#2b1e11,#151d15);border:1px solid #9c763d;border-top:none;scrollbar-color:#b18d53 #14221b}.phase16-workspace .premium-building-selector button{display:flex;flex:0 0 110px;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-width:0;padding:8px 4px;background:#16251e;color:#ecdbbd;border:1px solid #625638;border-radius:4px;scroll-snap-align:start;font-size:11px;white-space:normal}.phase16-workspace .premium-building-selector button:hover,.phase16-workspace .premium-building-selector button.active{background:#2c4d32;border:1px solid #f3c674;box-shadow:inset 0 1px #fbe3a33d}.phase16-building-name{display:block;text-align:center;line-height:1.22}.phase16-building-name small{display:block;margin-top:3px;color:#dbb774!important}.phase16-workspace .premium-building-portrait.compact{width:76px;height:66px;margin:0 auto;border:none;background:radial-gradient(ellipse at center,#5a75527a,#16271d90);box-shadow:none;display:flex;align-items:center;justify-content:center}.phase16-workspace .premium-building-portrait.compact>div{flex:0 0 auto}.phase16-workspace .phase16-queue{margin:11px 0 18px;padding:14px;background:linear-gradient(#10281f,#15271f);border:1px solid #957a4a;border-radius:5px}.phase16-workspace .phase16-queue .section-heading{margin-bottom:9px}.phase16-workspace .phase16-queue h2{font-size:20px!important}.phase16-workspace .phase16-queue .queue-order,.phase16-workspace .phase16-queue .queue-empty{padding:10px 12px;background:#192e23;border-color:#746c4b;border-radius:3px}.phase16-workspace .building-inspector{border:1px solid #c09a58!important;border-radius:5px;padding:clamp(14px,2vw,24px);gap:20px;background:linear-gradient(135deg,#112b21,#1a291d),url(/assets/ui/forest-vellum.webp?v=16)!important;box-shadow:0 12px 25px #0007,inset 0 0 0 2px #a98c4525}.phase16-workspace .inspector-action{border:1px solid #9e7f4b;border-radius:4px;background:linear-gradient(#241b10,#19271d),url(/assets/ui/walnut.webp?v=16)}.phase16-workspace .inspector-action>strong{font:600 29px Georgia,serif;color:#f6e1ae}.phase16-workspace .build-costs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.phase16-workspace .build-costs>span{border:1px solid #8b754c;background:#17271b;padding:8px 6px;display:grid;gap:4px;font-size:11px;color:#c7bb9e}.phase16-workspace .build-costs strong{color:#f3dfb3;font:600 15px Georgia,serif}.phase16-workspace .btn-primary{border-radius:4px;border-color:#e3bb73;background:linear-gradient(160deg,#ecce85,#bc9046);box-shadow:inset 0 1px #fff2c7,0 4px 10px #0006}.phase16-workspace .btn-primary:not(:disabled):hover{filter:brightness(1.15)}.phase16-workspace .btn-outline{border-color:#9d8458;border-radius:4px;background:#1b3125;color:#f5dcac}.phase16-workspace .notification-panel{background:#183026;border-color:#d0a664;color:#f7e6bb}.phase16-nav-backdrop{display:none}.phase16-shell :is(button,a,input,select):focus-visible{outline:2px solid #f1cd83;outline-offset:2px}@media(max-width:1380px){.phase16-shell .world-breadcrumb{display:none}.phase16-resource{min-width:95px}.phase16-resource-data small{font-size:9px}}@media(max-width:1100px){.phase16-shell .sidebar{width:203px}.phase16-shell .app-topbar{gap:7px}.phase16-resource-capacity span{display:none}}@media(max-width:850px){.phase16-menu-toggle{display:flex;flex:0 0 auto}.phase16-shell .sidebar{display:flex;position:fixed;top:0;left:0;bottom:0;z-index:75;width:min(300px,85vw);transform:translate(-110%);visibility:hidden;transition:transform .2s ease,visibility .2s;overflow-y:auto}.phase16-shell .sidebar.phase16-nav-open{transform:translate(0);visibility:visible}.phase16-nav-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;border:0;background:#000b;width:100%;height:100%;cursor:pointer}.phase16-shell .app-topbar{flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 12px;min-height:70px}.phase16-resources{order:3;flex:1 0 100%;width:100%;justify-content:space-between}.phase16-resource{min-width:0;max-width:none;padding:6px 8px 12px;gap:5px}.phase16-resource>svg{width:18px;height:18px}.phase16-resource-data strong{font-size:14px}.phase16-resource-capacity strong{font-size:12px}.phase16-shell .topbar-actions{margin-left:auto}.phase16-shell .mobile-wordmark{font-size:11px}.phase16-shell .main-content{padding:16px 11px}.phase16-shell .mobile-game-nav{background:#182e21;border-color:#997448}}@media(max-width:600px){.phase16-shell .user-name,.phase16-resource-data small{display:none}.phase16-resource-data strong{font-size:13px}.phase16-resource-capacity{gap:3px;padding:5px}.phase16-resource-capacity svg{width:14px;height:14px}.phase16-shell .hero-actions{width:100%;flex-wrap:wrap}.phase16-workspace .resource-card-top{flex-direction:row;align-items:center}.phase16-workspace .resources-section .resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.phase16-workspace .resource-card{padding:9px 7px}.phase16-workspace .resource-icon{display:none}.phase16-workspace .resource-value{font-size:16px}.phase16-workspace .resource-value span{display:none}.phase16-workspace .premium-building-selector button{flex-basis:95px}.phase16-workspace .build-costs{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.phase16-shell *{transition-duration:0s!important;animation-duration:0s!important;scroll-behavior:auto!important}}.phase23-shell .sidebar{box-shadow:inset -2px 0 #bb96535c,5px 0 32px #020f0bb0}.phase23-shell .sidebar-brand{filter:drop-shadow(0 2px 9px #a17f4b38)}.phase23-shell .sidebar-link{position:relative;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.phase23-shell .sidebar-link:hover{transform:translate(3px)}.phase23-shell .sidebar-link.active:before{content:"";position:absolute;left:-1px;top:17%;height:66%;width:3px;border-radius:0 4px 4px 0;background:#ffe4a1;box-shadow:0 0 12px #f3c977}.phase23-shell .sidebar-link.active:after{content:"◆";position:absolute;right:12px;top:50%;font-size:8px;transform:translateY(-50%);color:#f0d28d}.phase23-shell .main-wrap{background-image:radial-gradient(ellipse 70% 48% at 56% 0%,#41604428,transparent),linear-gradient(180deg,#0c1e18d9,#0b2019f0),url(/assets/ui/forest-vellum.webp?v=16)}.phase23-shell .app-topbar{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.phase23-shell .hero-head{position:relative}.phase23-shell .hero-head:after{content:"✦";position:absolute;right:2px;bottom:-10px;color:#cfad65;text-shadow:0 0 14px #edc582;font-size:16px}.phase23-shell .village-title{text-shadow:0 2px 12px #000,0 0 34px #a7803954}.phase23-view-transition{animation:phase23-enter .32s cubic-bezier(.18,.7,.3,1) both;min-width:0;transform-origin:50% 2%}@keyframes phase23-enter{0%{opacity:.25;transform:translateY(10px) scale(.995);filter:brightness(.78)}to{opacity:1;transform:translateY(0) scale(1);filter:brightness(1)}}.phase23-shell .phase17-stage-grid{position:relative}.phase23-shell .premium-scene-shell{position:relative;isolation:isolate;overflow:hidden;box-shadow:0 15px 40px #030c07d9,0 0 0 1px #ceac69a8,inset 0 0 25px #f1c77721}.phase23-shell .phase17-stage-main{position:relative}.phase23-shell .phase17-stage-main:after{content:"";position:absolute;inset:5px 5px auto auto;width:48px;height:48px;pointer-events:none;z-index:3;background:linear-gradient(135deg,transparent 49%,#dbb46b91 51%,transparent 53%);opacity:.65}.phase23-shell .building-inspector{position:relative;overflow:hidden}.phase23-shell .building-inspector:before{content:"✦ ◆ ✦";display:block;text-align:center;letter-spacing:.6em;color:#e9c785aa;font-size:10px;padding:2px 0 10px;border-bottom:1px solid #b99d613c;margin-bottom:12px}.phase23-shell .phase17-inspector-visual{filter:drop-shadow(0 10px 19px #0009)}.phase23-shell .premium-building-selector button{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.phase23-shell .premium-building-selector button:hover{transform:translateY(-3px)}.phase23-shell .premium-building-selector button.active{box-shadow:0 0 0 1px #dbbd78,0 0 23px #e7bd4c50,inset 0 0 19px #bfa85a28}.phase23-shell .btn-primary,.phase23-shell .btn-outline{transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.phase23-shell .btn-primary:not(:disabled):hover,.phase23-shell .btn-outline:not(:disabled):hover{transform:translateY(-1px)}.phase23-shell .btn-primary:active,.phase23-shell .btn-outline:active{transform:translateY(1px)}.phase23-shell .notification-panel{box-shadow:0 18px 52px #000d,inset 0 1px #e4c08566;border-width:2px;border-radius:9px}.phase23-shell .notification-heading{border-bottom:1px solid #b28b514c;padding-bottom:10px}.phase23-shell .notification-item.unread{border-left:3px solid #f0c97e;padding-left:12px}.phase23-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:safe center;justify-content:center;box-sizing:border-box;width:100%;height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:clamp(12px,3vh,24px);background:radial-gradient(ellipse at center,#0d251a8c,#030b08e8);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);animation:phase23-veil .2s ease-out both}@keyframes phase23-veil{0%{opacity:0}to{opacity:1}}.phase23-dialog{position:relative;flex:0 1 510px;min-width:0;width:min(100%,510px);max-height:min(calc(100dvh - 48px),800px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:28px clamp(22px,4vw,39px) 30px;border:2px solid #cfa768;border-radius:10px;color:#efdfc1;background:radial-gradient(ellipse at 50% -10%,#41503b,#243327 55%,#10251b);box-shadow:0 22px 78px #000e,0 0 0 5px #1a170fe6,inset 0 0 0 1px #fff3c349;animation:phase23-dialog-in .25s cubic-bezier(.2,.65,.25,1) both}@keyframes phase23-dialog-in{0%{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.phase23-dialog-ornament{text-align:center;color:#d6b672;font-size:13px;letter-spacing:.3em;margin-bottom:10px;opacity:.8}.phase23-dialog-close{position:absolute;right:13px;top:13px;background:#101e17;border:1px solid #92764b;color:#e8cea1;border-radius:5px;padding:7px;display:flex;cursor:pointer}.phase23-dialog-close:hover{border-color:#f0d18e;background:#293f30}.phase23-dialog-eyebrow{font-size:10px;letter-spacing:.21em;color:#e6c17f;text-transform:uppercase;margin-bottom:6px;text-align:center;font-weight:700}.phase23-dialog h2{color:#ffebbe;text-align:center;font:600 clamp(23px,4vw,30px) Georgia,serif;margin:5px 0 12px;text-shadow:0 2px 9px #000}.phase23-dialog-description{color:#c8c8ae;text-align:center;line-height:1.5;margin:0 0 22px;font-size:14px}.phase23-dialog-content{border-top:1px solid #c7a36c42;padding-top:18px}.phase23-dialog-form{display:grid;gap:10px}.phase23-dialog-form label{color:#e8d5b2;font-size:12px;font-weight:700}.phase23-dialog-form input{background:#0e211a;border:1px solid #a18656;border-radius:5px;color:#fff1d0;padding:12px;width:100%;outline-offset:3px}.phase23-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:17px}.phase23-dialog-actions button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px}.phase23-refund-summary{display:flex;gap:12px;align-items:flex-start;background:#182b21;border:1px solid #a18b5c;padding:14px;border-radius:6px}.phase23-refund-summary svg{flex:0 0 auto;color:#daba76}.phase23-refund-summary strong{display:block;color:#f5e1b4;margin-bottom:5px}.phase23-refund-summary span{font-size:13px;color:#c8c3a9;line-height:1.5}.phase23-danger-button{background:linear-gradient(180deg,#a14f3d,#682f2b);border:1px solid #e6aa8b;color:#fff1dc;border-radius:5px;cursor:pointer;box-shadow:inset 0 1px #ffd8b544}.phase23-danger-button:not(:disabled):hover{filter:brightness(1.14)}.phase23-danger-button:disabled{opacity:.55;cursor:not-allowed}.phase23-shell :is(button,a,input,select):focus-visible,.phase23-dialog :is(button,input):focus-visible{outline:3px solid #fbe0a2;outline-offset:3px}@media(max-width:700px){.phase23-dialog-backdrop{padding:12px}.phase23-dialog{max-height:calc(100dvh - 24px);padding:23px 20px}.phase23-shell .premium-building-selector button:hover{transform:none}.phase23-dialog-actions>*{flex:1}}@media(prefers-reduced-motion:reduce){.phase23-view-transition,.phase23-dialog-backdrop,.phase23-dialog{animation:none!important}.phase23-shell .sidebar-link,.phase23-shell .premium-building-selector button,.phase23-shell .btn-primary,.phase23-shell .btn-outline{transition:none!important;transform:none!important}}.worlds-page .world-entry{position:relative;overflow:hidden;border:1px solid #ae915e;background:linear-gradient(150deg,#20392a,#192a21 75%);box-shadow:inset 0 1px #e8c48840,0 12px 26px #040e0aa3;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.worlds-page .world-entry:before{content:"✦";position:absolute;top:9px;right:13px;color:#d4ae6f9e;pointer-events:none}.worlds-page .world-entry:hover{transform:translateY(-4px);border-color:#efd095;box-shadow:0 17px 30px #0009,inset 0 1px #e8c4888c}.worlds-page .world-entry h2{color:#ffe8b7;font-family:Georgia,serif}.worlds-page .world-entry-icon{filter:drop-shadow(0 3px 8px #d8ad7655)}.worlds-page .worlds-content{animation:phase23-enter .35s ease both}@media(prefers-reduced-motion:reduce){.worlds-page .worlds-content{animation:none}.worlds-page .world-entry{transition:none}.worlds-page .world-entry:hover{transform:none}}.phase24-world-banner,.phase24-military-banner,.phase24-report-hero{position:relative;overflow:hidden;color:#f8e8c7;border:1px solid #b18f56;border-radius:11px;background:linear-gradient(120deg,#10261de8,#213c29ec 52%,#132a22f0),url(/assets/ui/forest-vellum.webp?v=16);box-shadow:inset 0 0 0 2px #d1ad5336,0 12px 28px #030a0788}.phase24-world-banner:before,.phase24-military-banner:before,.phase24-report-hero:before{content:"✦";position:absolute;right:16px;top:8px;font-size:42px;color:#e8cb8757;pointer-events:none}.phase24-eyebrow{color:#d7bc7c;font-size:10px;letter-spacing:.21em;font-weight:800}.phase24-world-banner{padding:20px 24px;margin:3px 0 16px;display:flex;justify-content:space-between;align-items:center;gap:26px}.phase24-world-banner-title strong{display:block;font:normal clamp(25px,3vw,38px) Georgia,serif;color:#f7dfb0;margin:5px 0}.phase24-world-banner-title p{font-size:12px;line-height:1.5;color:#bdcbb8;max-width:580px;margin:0}.phase24-world-banner-stats{display:flex;gap:8px;flex-shrink:0;position:relative}.phase24-world-banner-stats>div{padding:11px 14px;min-width:92px;background:#0a1e18b8;border:1px solid #b08a564f;border-radius:6px;text-align:center}.phase24-world-banner-stats small,.phase24-military-metrics small,.phase24-report-kpis small{display:block;color:#bcbda7;font-size:10px;line-height:1.4}.phase24-world-banner-stats b,.phase24-military-metrics strong,.phase24-report-kpis b{font:600 24px Georgia,serif;color:#ffe2a4;display:block;margin-top:4px}.phase24-village-card{padding:0!important;overflow:hidden;box-shadow:inset 0 0 0 1px #e5c27745,0 12px 22px #0007}.phase24-village-art{height:190px;position:relative;display:grid;place-items:center;border-bottom:1px solid #947345;background:radial-gradient(ellipse at 50% 84%,#50734b99,#25472f 45%,#0a1f18)}.phase24-village-art:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.33;pointer-events:none;background:linear-gradient(transparent 20%,#d8b76a1c),repeating-linear-gradient(110deg,transparent 0 30px,#f1e7b112 30px 31px)}.phase24-village-art .premium-building-portrait{background:transparent;border:0;box-shadow:none;max-width:100%;overflow:hidden;transform:scale(1.26);filter:drop-shadow(0 12px 11px #020c08ae)}.phase24-village-art-glow{position:absolute;top:25%;right:17%;bottom:9%;left:17%;border-radius:50%;background:#d6b36e31;filter:blur(33px)}.phase24-affiliation{position:absolute;bottom:9px;right:10px;border:1px solid #bdad7a;background:#102119eb;color:#f1e7c0;border-radius:4px;padding:4px 8px;font-size:10px;font-weight:700}.phase24-affiliation-hostile{border-color:#ba635d;color:#ffb7a8;background:#351d1cdb}.phase24-affiliation-own{border-color:#91b67b;color:#c3efad}.phase24-affiliation-neutral{border-color:#bdad7a;color:#eee2c4}.phase24-village-name{padding:15px 17px 6px}.phase24-village-name h3{margin:5px 0 8px;font-size:22px;line-height:1.2;overflow-wrap:anywhere}.phase24-village-name>span{display:flex;align-items:center;gap:5px;color:#b4c6af;font-size:12px}.phase24-village-data{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,1.4fr)!important;gap:9px 8px!important;padding:9px 17px 14px;margin:0!important}.phase24-village-data dt{font-size:11px!important;margin:0!important}.phase24-village-data dd{font-size:12px!important;text-align:right!important;overflow-wrap:anywhere}.phase24-village-actions{padding:14px 16px 17px;border-top:1px solid #90794958;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.phase24-village-actions>span{grid-column:1/-1;display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.17em;color:#d7b77d;font-weight:800;margin-bottom:1px}.phase24-village-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;color:#f4dfb6;background:#203d2d;border:1px solid #9d8251;border-radius:5px;font-weight:650;font-size:12px;padding:9px 5px;transition:background .15s ease,transform .15s ease}.phase24-village-actions>button:hover{background:#31583c;transform:translateY(-1px)}.phase24-village-actions>button.phase24-action-attack{background:linear-gradient(180deg,#734333,#44291f);border-color:#d69a76;color:#ffe1c7}.phase24-village-actions>button.phase24-action-attack:hover{background:#87503a}.phase24-village-empty{display:grid;justify-items:center;text-align:center;padding:36px 21px;color:#c1cdb5}.phase24-village-empty svg{color:#d2b271;margin-bottom:10px}.phase24-village-empty h3{margin:5px 0;font: 23px Georgia,serif;color:#f6e1ba}.phase24-village-empty p{line-height:1.6;max-width:230px}.phase24-military-banner{padding:24px;margin:0 0 23px}.phase24-military-banner-intro h3{font:normal clamp(24px,3vw,33px) Georgia,serif;color:#f8dfae;margin:8px 0 4px}.phase24-military-banner-intro p{font-size:12px;color:#becdbb;margin:0}.phase24-military-metrics{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0 11px}.phase24-military-metrics>div{padding:15px 12px;border-radius:7px;border:1px solid #a48b5c7d;background:#0a201bbf}.phase24-military-metrics strong{font-size:25px}.phase24-population{border-top:1px solid #c2a16655;padding-top:12px;font-size:11px;color:#c9d4c3;display:flex;gap:8px;align-items:center;line-height:1.5;margin-bottom:0}.phase24-target-plaque{display:flex;align-items:center;gap:14px;background:#162c22;border:1px solid #b3955c;border-radius:9px;padding:16px;margin:16px 0 12px;min-width:0}.phase24-target-attack{border-color:#cc806a;background:linear-gradient(125deg,#39231f,#182c25)}.phase24-target-icon{height:55px;width:55px;flex-shrink:0;display:grid;place-items:center;border:1px solid #c69d60;border-radius:8px;color:#e8c58d;background:#111e18}.phase24-target-attack .phase24-target-icon{color:#ffc2a9;border-color:#ba785f}.phase24-target-plaque>div:nth-child(2){flex:1;min-width:0}.phase24-target-plaque small{font-size:10px;letter-spacing:.15em;color:#cba86e}.phase24-target-plaque strong{display:block;font: 25px Georgia,serif;color:#f7dfaf;overflow-wrap:anywhere;margin:3px 0}.phase24-target-plaque span{font-size:11px;color:#abc4b2}.phase24-target-plaque .btn-outline{flex-shrink:0}.phase24-selection-presets{display:flex;gap:7px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #a283514c;padding:13px 0;margin-top:10px}.phase24-selection-presets span{font-weight:700;flex:1;color:#f0d7a5;font-size:14px}.phase24-selection-presets button{border:1px solid #a88d5a;background:#182e24;color:#e5d5af;border-radius:5px;padding:8px 13px;font-weight:700;font-size:11px}.phase24-selection-presets button:hover{background:#38553a}.phase24-troop-picker{grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:8px}.phase24-troop-picker label{background:#152b23;border:1px solid #485e48;border-radius:7px;padding:9px 11px;gap:7px}.phase24-troop-picker label>span{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.phase24-troop-picker label small{font-size:10px;color:#9cab9e;margin-left:auto;white-space:nowrap}.phase24-mini-emblem{font-size:19px;color:#efc98c}.phase24-troop-picker input{width:65px;flex-shrink:0;border-color:#a08859}.phase24-order-preview{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.phase24-order-preview span{display:flex;gap:7px;align-items:center;font-size:12px;color:#e5d5ae;background:#152a21;border:1px solid #6f744a;padding:9px 11px;border-radius:4px}.phase24-order-review{width:100%;min-height:48px}.phase24-confirm-body{display:grid;gap:15px}.phase24-confirm-target{display:flex;align-items:center;gap:13px;border:1px solid #987c4d;padding:13px;background:#182c20}.phase24-confirm-target svg{color:#e4bf81}.phase24-confirm-target small{display:block;font-size:10px;letter-spacing:.12em;color:#b9c1a6}.phase24-confirm-target strong{display:block;font: 22px Georgia,serif;color:#ffe2a5;margin-top:4px}.phase24-confirm-units{display:grid;gap:3px;max-height:245px;overflow-y:auto}.phase24-confirm-units>div{display:flex;justify-content:space-between;gap:10px;padding:9px 11px;background:#182b21;border-bottom:1px solid #bea1652b}.phase24-confirm-units strong{color:#f8d995}.phase24-confirm-warning{display:flex;align-items:flex-start;gap:9px;color:#dec7a2;font-size:12px;line-height:1.55;margin:0}.phase24-confirm-warning svg{flex-shrink:0;color:#e2a36b}.phase24-report-page{margin-top:30px}.phase24-report-page .section-heading h2{display:flex;align-items:center;gap:10px}.phase24-report-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 26px;margin-bottom:17px}.phase24-report-hero>div:first-child{display:grid;gap:5px;justify-items:start}.phase24-report-hero>div:first-child svg{color:#edcd91}.phase24-report-hero strong{font: 27px Georgia,serif;color:#f7e0b4}.phase24-report-hero>div:first-child span{color:#b7c9b5;font-size:12px}.phase24-report-kpis{display:flex;gap:8px;position:relative}.phase24-report-kpis>div{min-width:90px;padding:11px 13px;background:#091e18b8;border:1px solid #a28c5c78;text-align:center}.phase24-report-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.phase24-report-tabs button{border:1px solid #8d754d;background:#183027;color:#d7d6b9;border-radius:5px;padding:10px 15px;font-weight:700;font-size:12px}.phase24-report-tabs button.active{background:#53683b;color:#fff1c8;border-color:#e2c58a;box-shadow:inset 0 1px #fce7ae55}.phase24-reports-layout{display:grid;grid-template-columns:minmax(240px,.77fr) minmax(0,1.4fr);gap:15px;align-items:start}.phase24-report-list{display:grid;gap:9px;max-height:750px;overflow-y:auto;padding-right:3px}.phase24-report-entry{background:linear-gradient(110deg,#172d24,#1c3329);color:#f2dec0;border:1px solid #667557;display:flex;align-items:center;gap:11px;text-align:left;padding:14px 12px;border-radius:8px;min-width:0;transition:border-color .17s,background .17s}.phase24-report-entry:hover,.phase24-report-entry.active{border-color:#e7bf79;background:linear-gradient(110deg,#324d32,#1c362b)}.phase24-report-entry.defeat{border-left:3px solid #bd7266}.phase24-report-entry.victory{border-left:3px solid #82ad75}.phase24-report-medallion{flex:0 0 auto;width:36px;height:36px;border:1px solid #b6975b;display:grid;place-items:center;border-radius:50%;color:#e2bf88;background:#0d211c}.phase24-report-entry-body{min-width:0;flex:1;display:grid;gap:5px}.phase24-report-entry-body strong{font: 15px Georgia,serif;overflow-wrap:anywhere}.phase24-report-entry-body strong span{color:#cba96f}.phase24-report-entry-body small{font-size:10px;color:#b4bdac}.phase24-result-tag{font-size:10px;padding:5px 7px;border-radius:4px;flex-shrink:0;font-weight:800}.phase24-result-tag.win{color:#d5efb8;background:#3f6041}.phase24-result-tag.loss{color:#ffb9a7;background:#64372f}.phase24-report-detail{background:linear-gradient(150deg,#142b22,#11241c);border:1px solid #ae8d53;border-radius:10px;box-shadow:inset 0 0 0 2px #dbba6533,0 10px 27px #020d0888;overflow:hidden;min-width:0}.phase24-report-placeholder{padding:90px 25px;display:grid;place-items:center;text-align:center;color:#b7c7af}.phase24-report-placeholder svg{color:#be9d67}.phase24-report-placeholder h3{font: 25px Georgia,serif;color:#eed5a6;margin:17px 0 0}.phase24-report-placeholder p{max-width:290px;font-size:12px;line-height:1.5}.phase24-report-detail-head{text-align:center;padding:26px 20px 21px;background:radial-gradient(ellipse at 50% 0%,#48633b88,transparent 70%);border-bottom:1px solid #ae935c5e}.phase24-report-detail-head h3{font:normal clamp(21px,2.5vw,31px) Georgia,serif;color:#ffe0ac;margin:10px 0;overflow-wrap:anywhere}.phase24-report-detail-head h3 span{font:italic 14px Georgia,serif;color:#b4c4ad;margin:0 7px}.phase24-report-detail-head p{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#b9c9b6}.phase24-report-outcome{display:inline-flex;gap:7px;align-items:center;padding:8px 13px;margin-top:5px;font-weight:800;font-size:12px;border:1px solid #9d8552;background:#173424;color:#d6ecb7}.phase24-report-outcome.attacker{color:#ffe0ad;border-color:#bf9966;background:#56402e}.phase24-army-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:17px}.phase24-army-card{border:1px solid #806d4b;background:#10241c;padding:15px;min-width:0}.phase24-army-card h4{display:flex;align-items:center;gap:8px;color:#d1b474;letter-spacing:.16em;font-size:10px;margin:0 0 9px}.phase24-army-card>strong{display:block;color:#f2dfbd;overflow-wrap:anywhere;font: 20px Georgia,serif}.phase24-army-count{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:10px;color:#b8c8b8;margin:14px 0 7px}.phase24-casualty-track{height:6px;background:#4c634c;border-radius:9px;overflow:hidden}.phase24-casualty-track span{display:block;height:100%;background:#c8785e;border-radius:9px}.phase24-unit-ledger{display:grid;gap:5px;margin-top:13px}.phase24-unit-ledger>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;font-size:11px;padding:6px 0;border-bottom:1px solid #7f7d5640}.phase24-unit-ledger span{color:#d7ddc9;overflow-wrap:anywhere}.phase24-unit-ledger b{color:#ffe0a9}.phase24-unit-ledger small{color:#d8887d}.phase24-unit-ledger em{font-size:11px;color:#bdc6b2}.phase24-battle-outcome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 17px 17px}.phase24-battle-outcome-grid>div{padding:12px 13px;border:1px solid #826e4d;background:#203529;min-width:0}.phase24-battle-outcome-grid svg{color:#e6bf7d}.phase24-battle-outcome-grid small{display:block;color:#b6c8b1;margin:7px 0 5px;font-size:11px}.phase24-battle-outcome-grid strong{font-size:12px;color:#f1dbac;overflow-wrap:anywhere}.phase24-report-technical{padding:11px 18px;border-top:1px solid #ac8c5555;font-size:11px;color:#b7c2af}.phase24-report-technical summary{cursor:pointer;color:#e1c38c;font-weight:700}.phase24-report-technical code{overflow-wrap:anywhere}.phase24-report-detail>.section-help{padding:0 18px 15px}@media(max-width:1180px){.phase24-reports-layout{grid-template-columns:1fr}.phase24-report-list{max-height:290px}.phase24-world-banner{flex-wrap:wrap}}@media(max-width:790px){.phase24-military-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.phase24-world-banner-stats{width:100%}.phase24-world-banner-stats>div{flex:1}.phase24-report-hero{flex-wrap:wrap}.phase24-report-kpis{width:100%}.phase24-report-kpis>div{flex:1}}@media(max-width:540px){.phase24-world-banner,.phase24-military-banner,.phase24-report-hero{padding:16px}.phase24-world-banner-stats>div{min-width:0;padding:8px 5px}.phase24-world-banner-stats small{font-size:9px}.phase24-target-plaque{flex-wrap:wrap}.phase24-target-plaque .btn-outline{width:100%}.phase24-army-compare,.phase24-battle-outcome-grid,.phase24-village-actions{grid-template-columns:1fr}.phase24-troop-picker label{flex-wrap:wrap}.phase24-report-kpis>div{min-width:0}}@media(prefers-reduced-motion:reduce){.phase24-village-actions>button,.phase24-report-entry{transition:none!important;transform:none!important}}.phase25-society{--p25-ivory:#f5e5c6;--p25-gold:#dfbc76;--p25-rim:#957346;--p25-shadow:#081512;display:grid;gap:14px;min-width:0;max-width:1280px;margin:0 auto;padding-bottom:32px}.phase25-hero{position:relative;display:flex;gap:22px;align-items:center;flex-wrap:wrap;min-height:168px;padding:26px clamp(18px,3vw,42px);border:2px solid var(--p25-rim);border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 82% 25%,#4a5132cc 0,transparent 50%),linear-gradient(125deg,#142d24,#1d3a2c 45%,#19241c);box-shadow:inset 0 0 0 1px #efd6a229,0 15px 30px #0007}.phase25-hero:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid #d1ab6640;pointer-events:none;border-radius:9px}.phase25-hero:after{content:"❖";position:absolute;right:19px;bottom:-52px;color:#d6ac5e0d;font-size:210px;font-family:Georgia,serif;line-height:1;pointer-events:none}.phase25-hero--market{background:radial-gradient(ellipse at 85% 15%,#615035aa 0,transparent 55%),linear-gradient(115deg,#162f2a,#32402b 55%,#241c17)}.phase25-hero--alliance{background:radial-gradient(ellipse at 85% 20%,#5b3d2faa 0,transparent 55%),linear-gradient(110deg,#152c27,#233b35 48%,#2f2620)}.phase25-hero--research{background:radial-gradient(ellipse at 85% 20%,#68442b88 0,transparent 55%),linear-gradient(110deg,#152a27,#27392d 45%,#231b16)}.phase25-hero-seal{z-index:1;width:74px;height:74px;display:grid;place-items:center;flex:0 0 74px;color:#f5d896;background:linear-gradient(135deg,#415b45,#15251c);border:2px ridge #caab6b;border-radius:16px;box-shadow:0 8px 22px #0008,inset 0 0 0 3px #e6c47c19;transform:rotate(-4deg)}.phase25-hero-copy{position:relative;z-index:1;min-width:240px;flex:1 1 340px}.phase25-hero-copy h2{margin:6px 0 8px;font:600 clamp(26px,3vw,38px) Georgia,serif;line-height:1.12;color:var(--p25-ivory);text-shadow:0 2px 5px #0009}.phase25-eyebrow{letter-spacing:.16em;font-weight:750;font-size:10px;color:#e0bc72!important;text-transform:uppercase;margin:0!important}.phase25-hero-copy>p:last-child{max-width:610px;font-size:13px;line-height:1.65;color:#d7cfb7}.phase25-hero-context{position:relative;z-index:1;margin-left:auto;display:grid;gap:4px;align-content:center;padding:12px 18px;min-width:160px;max-width:245px;background:#0e241bb0;border:1px solid #b58d5775;border-radius:8px;text-align:right}.phase25-hero-context>span{font-size:10px;letter-spacing:.12em;color:#b79d69}.phase25-hero-context strong{font:600 16px Georgia,serif;color:#f8e3b4;overflow-wrap:anywhere}.phase25-hero-context small{color:#d0dac7;overflow-wrap:anywhere}.phase25-society .phase25-card,.phase25-society .society-card{margin:0;min-width:0;padding:clamp(17px,2vw,28px);border:1px solid #a08151;border-radius:13px;background:linear-gradient(155deg,#1f342ccf,#162a25e8 45%,#1d2b26ed);box-shadow:inset 0 1px #ebc88429,0 7px 25px #0004}.phase25-society .society-card h3{font:600 clamp(19px,2vw,25px) Georgia,serif;color:#f6d99c;letter-spacing:.008em;position:relative;display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #ad8d5350;margin-bottom:14px}.phase25-society .society-card h3:before{content:"✦";color:#d3aa62;font: 16px Georgia,serif}.phase25-society .society-card h4{color:#e6c891;display:flex;gap:7px;align-items:center}.phase25-society .society-card .muted{color:#b8c8b9;line-height:1.55}.phase25-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.phase25-stats>div{display:grid;gap:5px;min-width:0;padding:13px 15px;background:linear-gradient(140deg,#344536,#1a3027);border:1px solid #a0855870;border-radius:9px}.phase25-stats span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#cbb88a}.phase25-stats strong{font:600 clamp(17px,2vw,22px) Georgia,serif;color:#f3dfae;overflow-wrap:anywhere}.phase25-resource-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:13px 0 19px}.phase25-resource-summary>span{flex:1 1 100%;font-size:11px;color:#c9d2bf;letter-spacing:.09em;text-transform:uppercase}.phase25-resource-summary strong{background:#10241cd9;border:1px solid #806b4278;color:#ead7ac;padding:8px 12px;border-radius:7px;font-size:13px;font-weight:650;min-width:105px}.phase25-research-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.phase25-research-card{display:grid!important;grid-template-rows:auto auto 1fr auto auto auto;gap:10px!important;align-items:start!important;padding:19px!important;background:linear-gradient(160deg,#2f4337,#172c27)!important;border-color:#8d774f!important;border-radius:11px!important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.phase25-research-card:hover{border-color:#debb75!important;transform:translateY(-2px);box-shadow:0 8px 20px #06140c80}.phase25-research-head{display:flex;align-items:center;gap:12px;min-width:0}.phase25-research-seal{height:44px;width:44px;flex:0 0 44px;display:grid;place-items:center;color:#e7c17f;border-radius:9px;border:1px solid #be9e6288;background:#192f2a}.phase25-research-head strong{display:block;color:#f7dfb2;overflow-wrap:anywhere}.phase25-research-head small{display:block;color:#b0c9b8;margin-top:3px;font-size:11px}.phase25-level-track{width:100%;height:7px;overflow:hidden;background:#081a15;border:1px solid #756a44;border-radius:99px}.phase25-level-track>span{display:block;height:100%;background:linear-gradient(90deg,#8aaa6a,#e8c782);transition:width .3s ease}.phase25-research-card>p{margin:0;line-height:1.55;color:#d1dbcc}.phase25-research-card .phase25-cost{color:#efd1a0;font-size:12px}.phase25-research-time{display:flex;align-items:center;gap:5px;color:#c7baa0;font-size:11px}.phase25-research-card .btn-primary{width:100%;justify-content:center}.phase25-live,.phase25-shipment-summary,.phase25-alliance-banner{display:flex;align-items:center;gap:13px;padding:14px 16px;border:1px solid #a48a5d;background:linear-gradient(105deg,#304b3b,#142d27);border-radius:9px;margin:15px 0}.phase25-live svg,.phase25-shipment-summary svg{color:#efd398;flex-shrink:0}.phase25-live div,.phase25-shipment-summary div{display:grid;gap:3px;min-width:0}.phase25-live strong,.phase25-shipment-summary strong{color:#f3dfb6}.phase25-live small,.phase25-shipment-summary small{color:#c1cfc2;line-height:1.5;overflow-wrap:anywhere}.phase25-form{padding:16px;background:linear-gradient(135deg,#182b24,#20372c);border:1px solid #856d4975;border-radius:9px;margin:15px 0}.phase25-society .society-card input,.phase25-society .society-card textarea,.phase25-society .society-card select{min-height:41px;background:#0e1e1a;border:1px solid #8b7959;border-radius:7px;color:#f9e6c7;padding:10px;max-width:100%}.phase25-society .society-card input:focus-visible,.phase25-society .society-card textarea:focus-visible,.phase25-society .society-card select:focus-visible{outline:2px solid #ebca85;outline-offset:2px}.phase25-society .society-card button{transition:background .16s ease,border-color .16s ease,filter .16s ease}.phase25-society .society-entry{padding:15px 17px;background:#172b23;border:1px solid #72684d8f;border-radius:9px;min-width:0}.phase25-movement strong,.phase25-offer strong{font-size:13px;color:#e9d5ab}.phase25-status{display:inline-flex;align-items:center;gap:7px;border-radius:20px;background:#3a4c3a;border:1px solid #72825a77;padding:4px 10px;color:#edd8a2;font-size:11px;letter-spacing:.015em}.phase25-done{background:#274a3b;color:#bfe8bc;border-color:#619b74}.phase25-review{display:grid;gap:12px}.phase25-review>strong{color:#f5d69a;font:600 20px Georgia,serif}.phase25-review p{margin:0;padding:9px 11px;background:#192f27;border:1px solid #786746;border-radius:7px;color:#e5d7b9;overflow-wrap:anywhere}.phase25-review-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:10px}.phase25-alliance-emblem{display:grid;place-items:center;min-width:58px;height:62px;color:#f3d28c;border:2px ridge #cda668;background:#1e352d;border-radius:12px}.phase25-alliance-banner div{display:grid;gap:6px;min-width:0}.phase25-alliance-banner small{font-size:10px;letter-spacing:.1em;color:#dfc68e}.phase25-alliance-banner strong{font:600 23px Georgia,serif;color:#f8e0ad;overflow-wrap:anywhere}.phase25-alliance-banner div>span{color:#cad7c7;font-size:12px;line-height:1.5}.phase25-info-line{display:flex;align-items:center;gap:10px;color:#dbc79c;margin:9px 0}.phase25-members{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:10px}.phase25-society .phase25-members .society-entry{margin:0}.phase25-rank>div{background:#1b3329;margin-bottom:5px;border:1px solid #85694380;border-radius:8px;padding:11px 14px}.phase25-rank>div:first-child{background:linear-gradient(100deg,#72592d77,#1d372b);border-color:#d4b16d}.phase25-rank>div:nth-child(2){border-color:#b7b8a277}.phase25-rank strong{color:#f3d69e}.phase25-quest{justify-content:space-between}.phase25-quest strong{color:#f3dfb3}@media(max-width:760px){.phase25-hero{padding:19px;min-height:0;gap:13px}.phase25-hero-seal{width:55px;height:55px;flex-basis:55px}.phase25-hero-copy{flex-basis:calc(100% - 80px);min-width:0}.phase25-hero-context{flex-basis:100%;max-width:none;width:100%;text-align:left;margin:0}.phase25-stats{grid-template-columns:1fr}.phase25-society .phase25-card{padding:14px}.phase25-research-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.phase25-research-card,.phase25-level-track>span,.phase25-society .society-card button{transition:none!important}.phase25-research-card:hover{transform:none}}.phase26-hall{position:relative;overflow:hidden}.phase26-hall:after{content:"✦";position:absolute;top:-110px;right:-26px;font-size:240px;color:#d1a86109;pointer-events:none;font-family:Georgia,serif}.phase26-hall-head{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:24px}.phase26-hall-head small{color:#dfbb76;letter-spacing:.15em;font-weight:700;font-size:10px}.phase26-hall-head h3{margin:6px 0 8px!important}.phase26-hall-head p{font-size:13px;line-height:1.5;color:#c4cebe;max-width:670px}.phase26-hall-tabs,.phase26-mail-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:5px;background:#10231ed9;border:1px solid #8c784e;border-radius:10px}.phase26-hall-tabs button,.phase26-mail-tabs button{display:flex;gap:7px;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:7px;padding:10px 14px;color:#c5cbbd;font-weight:600;cursor:pointer}.phase26-hall-tabs button.is-active,.phase26-mail-tabs button.active{background:linear-gradient(145deg,#816331,#5b492a);border-color:#d1ab6e;color:#fff1d1;box-shadow:0 2px 10px #0006}.phase26-hall-tabs button:focus-visible,.phase26-mail-tabs button:focus-visible,.phase26-topic:focus-visible,.phase26-target-results button:focus-visible{outline:2px solid #e7c47d;outline-offset:2px}.phase26-section{position:relative;z-index:1}.phase26-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}.phase26-toolbar p{flex:1 1 320px;margin:0}.phase26-search{display:flex;align-items:center;gap:7px;color:#d5c397;flex:1 1 270px;max-width:430px}.phase26-search input{width:100%}.phase26-topic-list{display:grid;gap:9px}.phase26-topic{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;display:flex;align-items:center;gap:12px;min-width:0;cursor:pointer;text-align:left;color:#eadbbf;background:linear-gradient(115deg,#243b30,#15291f);border:1px solid #826c48;border-radius:9px;padding:15px;transition:border-color .18s,transform .18s}.phase26-topic:hover{border-color:#e1bd79;transform:translate(3px)}.phase26-topic-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:8px;color:#e9ca8a;background:#4d462b88;border:1px solid #ad9059}.phase26-topic-main{flex:1;min-width:0}.phase26-topic-main strong{font:600 17px Georgia,serif;color:#f6dda8;display:block;overflow-wrap:anywhere}.phase26-topic-main small{color:#bec9b7;display:block;margin-top:5px}.phase26-count{color:#d1bd92;font-size:12px;white-space:nowrap}.phase26-thread-title{margin:18px 0;border:1px solid #97794c;border-radius:10px;background:#304334b0;padding:19px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.phase26-thread-title small,.phase26-operation-top small{letter-spacing:.1em;color:#dfbd77;font-size:10px;font-weight:700}.phase26-thread-title h4,.phase26-operation h4{margin:6px 0!important;color:#f8e1b5;font:600 21px Georgia,serif}.phase26-thread-title span,.phase26-operation-top span:not(.phase26-operation-seal):not(.phase26-operation-status){font-size:12px;color:#c8d4c5}.phase26-mod-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.phase26-post{background:#13291f;border:1px solid #786644;border-radius:9px;padding:17px;margin-bottom:8px;min-width:0}.phase26-post strong{color:#eed197}.phase26-post header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.phase26-post small{color:#aebcae}.phase26-post p{white-space:pre-wrap;overflow-wrap:anywhere;color:#e1e6d8;line-height:1.65;margin:9px 0 0}.phase26-reply-form{display:grid;gap:12px;margin-top:18px}.phase26-reply-form label,.phase26-modal-form label{display:grid;gap:7px;font-size:13px;color:#f0d79e;font-weight:600}.phase26-reply-form button{justify-self:start}.phase26-muted-note{color:#c8bd9e;margin-top:18px;font-style:italic}.phase26-operations{display:grid;gap:14px}.phase26-operation{background:linear-gradient(130deg,#2a4033,#13261f);border:1px solid #9b8054;border-radius:11px;padding:19px;box-shadow:inset 0 1px #f0cd8c22}.phase26-operation-past{opacity:.77}.phase26-operation-top{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.phase26-operation-top>div{flex:1 1 220px}.phase26-operation-seal{width:53px;height:53px;display:grid;place-items:center;border-radius:10px;background:#423b27;border:1px solid #c99d5b;color:#f0d194}.phase26-operation-status{border-radius:22px;border:1px solid #9a8150;background:#526042;color:#f5dfb1;padding:6px 12px;font-size:12px}.phase26-status-cancelled{background:#5a3531;border-color:#a05f55}.phase26-status-completed{background:#295141;border-color:#5a9984}.phase26-operation-details{display:flex;gap:12px 20px;flex-wrap:wrap;background:#0f211b;border-radius:7px;border:1px solid #665b42;padding:12px;margin:14px 0;color:#e2d0a6}.phase26-operation-details span{display:flex;align-items:center;gap:7px;font-size:13px}.phase26-operation-notes{color:#d1dccf;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.phase26-participants{font-size:12px;color:#cbd9c7}.phase26-operation-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.phase26-modal-form{display:grid;gap:15px;min-width:0}.phase26-modal-form input,.phase26-modal-form textarea,.phase26-modal-form select{width:100%;max-width:100%;background:#12251f;color:#f8e1b2;border:1px solid #a18457;padding:10px;border-radius:7px;min-height:40px}.phase26-form-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:9px}.phase26-target-search{display:flex;gap:8px;align-items:end}.phase26-target-search label{flex:1;min-width:0}.phase26-target-results{max-height:170px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:8px;border:1px solid #776644;background:#102319;border-radius:8px}.phase26-target-results button{display:grid;gap:4px;text-align:left;background:#243b2d;border:1px solid #746442;border-radius:6px;color:#e9d8b6;padding:9px;cursor:pointer;min-width:0}.phase26-target-results button.selected{background:#3e4e35;border-color:#e3ba78}.phase26-target-results button small{color:#c0cbbb;font-size:11px}.phase26-selected-target{display:flex;gap:8px;align-items:center;color:#b9ddb4;padding:10px;background:#234332;border-radius:7px}.phase26-operation-review{display:grid;gap:10px;color:#dfd5ba}.phase26-operation-review>strong{font:600 23px Georgia,serif;color:#f8dea7}.phase26-mail-tabs{margin-bottom:18px}.phase26-mail-layout{display:grid;grid-template-columns:minmax(245px,1fr) minmax(0,1.65fr);gap:17px;align-items:start}.phase26-mail-compose{border:1px solid #786747;background:#142920;padding:17px;border-radius:10px}.phase26-mail-compose h4{margin:0 0 14px!important}.phase26-mail-compose .society-label{display:grid;gap:6px;margin-bottom:13px}.phase26-mail-compose-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.phase26-mail-compose-foot small{color:#cdb68d}.phase26-mail-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.phase26-mail-filter>input{flex:1 1 180px}.phase26-check{display:flex;align-items:center;gap:7px;color:#d8caab;font-size:12px;white-space:nowrap}.phase26-check input{width:16px;min-height:16px!important;accent-color:#d7b472}.phase26-mail-list{display:grid;gap:10px}.phase26-mail-card{background:#162b23;padding:16px;border-radius:9px;border:1px solid #786a4e;overflow:hidden}.phase26-mail-unread{border-left:4px solid #f2c878;background:#263a2a}.phase26-mail-card header{display:flex;justify-content:space-between;gap:9px;align-items:start}.phase26-mail-card header div{display:grid;gap:5px}.phase26-mail-card header strong{color:#efd69e}.phase26-mail-card header small,.phase26-mail-hint{color:#bfc8bc;font-size:11px}.phase26-mail-new{background:#8f6a32;border-radius:5px;padding:3px 6px;font-size:10px;color:#fff2d2;letter-spacing:.08em}.phase26-mail-card p{white-space:pre-wrap;overflow-wrap:anywhere;color:#e2e4d6;line-height:1.6;margin:13px 0}.phase26-mail-actions{display:flex;gap:6px;flex-wrap:wrap}.phase26-mail-actions button{font-size:11px}.phase26-mail-hint{padding:10px 0}.phase26-notification-panel{width:min(92vw,470px)!important;max-height:min(80vh,720px);display:flex;flex-direction:column;z-index:100}.phase26-notification-panel .notification-heading{flex:0 0 auto;display:flex;align-items:start;justify-content:space-between;gap:12px}.phase26-notification-panel .notification-heading strong{display:block}.phase26-notification-panel .notification-heading small{display:block;font-size:10px;letter-spacing:.1em;color:#dbb771;margin-bottom:5px}.phase26-unread-count{font-size:11px;color:#e9c77d}.phase26-notification-controls{display:grid;gap:9px;margin:10px 0 14px}.phase26-notification-tabs{display:flex;gap:5px;flex-wrap:wrap}.phase26-notification-tabs button{border:1px solid #665840;border-radius:5px;color:#c9c8b9;background:#1a3028;padding:7px 10px;cursor:pointer}.phase26-notification-tabs button.active{background:#81643a;color:#f9e8c1;border-color:#d6b779}.phase26-notification-controls input{background:#152b24;color:#f8e2b4;border:1px solid #8d7756;padding:9px;border-radius:6px;min-width:0;width:100%}.phase26-notification-controls .btn-outline{justify-self:start}.phase26-notification-list{min-height:0;overflow:auto}.phase26-notification-footer{font-size:10px;color:#b8c4b5;margin:8px 0 0}@media(max-width:800px){.phase26-mail-layout{grid-template-columns:1fr}.phase26-hall-head{align-items:start}.phase26-target-results{grid-template-columns:1fr}.phase26-count{font-size:10px}}@media(max-width:520px){.phase26-topic{padding:11px;gap:8px}.phase26-topic-icon{width:32px;flex-basis:32px;height:32px}.phase26-count{display:none}.phase26-operation{padding:13px}.phase26-hall-tabs{width:100%}.phase26-hall-tabs button{flex:1}.phase26-notification-panel{right:-12px;left:auto}.phase26-target-search{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.phase26-topic{transition:none}.phase26-topic:hover{transform:none}}
