:root{font-family:Arial,Helvetica,sans-serif;color:#e4e8df;background:#101e22;font-synthesis:none;--bg:#101e22;--panel:#17272b;--panel2:#1b2e31;--line:#304145;--text:#e4e8df;--muted:#9aaead;--gold:#dbba7c;--gold-dark:#162527;--green:#a5c4aa;--danger:#edb19b;--shadow:0 10px 40px #07141725;color-scheme:dark}:root[data-theme=light]{--bg:#f0f1e9;--panel:#fbfbf5;--panel2:#e8ede2;--line:#cdd7ca;--text:#263d38;--muted:#5d726b;--gold:#86652c;--gold-dark:#fffaf0;--green:#3e7053;--danger:#a14b33;--shadow:0 8px 32px #253c3310;color:#263d38;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400}h3{font-size:14px;font-weight:500}p{color:var(--muted);line-height:1.65;font-size:13px}button{border:0}small{font-size:11px}strong{font-weight:500}[hidden]{display:none!important}.topbar{height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:25px;background:var(--bg)}.brand{display:flex;align-items:center;gap:12px;color:var(--gold)}.brand>svg{width:44px;height:49px}.brand>span{font-family:Georgia,serif;font-size:28px;letter-spacing:6px}.brand small{display:block;font-family:Arial,sans-serif;font-size:7px;letter-spacing:2.1px;margin-top:5px;color:var(--muted)}.desktop-nav{display:flex;height:100%;gap:28px}.nav-link{display:flex;align-items:center;gap:8px;background:none;font-size:13px;color:var(--muted);position:relative;padding:0 2px;white-space:nowrap}.nav-link.active{color:var(--gold)}.nav-link.active:after{content:"";position:absolute;bottom:0;height:2px;left:0;right:0;background:var(--gold)}.nav-link .icon{width:17px;height:17px}.top-actions{display:flex;align-items:center;gap:22px}.prototype{font-size:9px;letter-spacing:1.4px;color:var(--muted);border:1px solid var(--line);padding:7px 9px;border-radius:4px}.icon-button{background:none;padding:6px;color:var(--muted);display:grid;place-items:center}.avatar{height:35px;width:35px;border-radius:50%;display:grid;place-items:center;color:var(--gold);font-family:Georgia,serif;background:var(--panel2);border:1px solid #a48b5744}.resourcebar{min-height:82px;padding:16px 38px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:25px}.world-label{font-size:10px;letter-spacing:1.5px;min-width:225px;color:var(--text)}.world-label small{display:block;font-size:10px;color:var(--muted);letter-spacing:.2px;margin:8px 0 0 13px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#a1c3a4;margin-right:7px;box-shadow:0 0 8px #a1c3a430}#resources{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));flex:1;gap:14px}.resource{display:flex;align-items:center;gap:12px}.resource>.icon{width:26px;height:26px;color:#a6ba99}.resource.stone>.icon{color:#aeb8b2}.resource.salt>.icon{color:#aecbd0}.resource.grain>.icon{color:#d5b575}.resource strong{display:block;font-variant-numeric:tabular-nums;font-size:19px;letter-spacing:.6px}.resource small{display:block;color:var(--muted);margin-top:5px;font-size:10px;white-space:nowrap}.resource em{font-style:normal;margin-left:5px;font-size:9px;color:var(--green)}.saved{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px;white-space:nowrap}.saved .icon{width:13px;height:13px}.saved.offline{color:var(--danger)}.layout{display:grid;grid-template-columns:240px minmax(0,1fr) 286px;gap:25px;max-width:1800px;margin:auto;padding:29px 32px 0}.left-column,.right-column{display:flex;flex-direction:column;gap:20px;min-width:0}.home-card,.journey-card,.selection-card,.queue-card,.activity-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow)}.home-card{padding:22px 19px 18px;overflow:hidden}.eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--gold);display:flex;align-items:center;gap:7px}.eyebrow>span:last-child:not(:first-child){margin-left:auto;color:var(--muted);font-size:9px;letter-spacing:.7px}.home-card h1{font-size:27px;margin:15px 0 7px}.home-card p{font-size:11px}.village-art{margin:12px -18px 0;position:relative}.village-art:before{content:"";position:absolute;top:20px;right:40px;bottom:20px;left:40px;border-radius:50%;background:#b8cda415;filter:blur(20px)}.village-art svg{width:100%;position:relative}.home-stats{display:flex;gap:10px;justify-content:space-between;font-size:10px;color:var(--muted);margin:4px 0 20px}.home-stats span{display:flex;align-items:center;gap:5px}.home-stats .icon{width:15px;height:15px}.home-stats strong{color:var(--text)}.button{background:var(--gold);color:var(--gold-dark);border:1px solid var(--gold);border-radius:5px;min-height:43px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:600;transition:filter .2s,transform .2s}.button:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-1px)}.button .icon{width:16px;height:16px}.button.secondary{background:transparent;color:var(--text);border-color:var(--line);font-weight:400}.button.secondary:hover:not(:disabled){border-color:var(--gold);color:var(--gold)}.button.full{width:100%}.button.full>.icon:last-child{margin-left:auto}.journey-card{padding:20px 18px}.journey-card h2{font-size:25px;margin:14px 0 8px}.journey-card p{font-size:11px;line-height:1.8}.quest{background:transparent;display:flex;align-items:center;width:100%;gap:9px;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px;text-align:left}.quest:last-child{border:0;padding-bottom:0}.quest>span{font-size:9px;color:var(--gold);width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;flex-shrink:0}.quest>.icon{margin-left:auto;width:13px;height:13px;color:var(--muted)}.quest.done{color:var(--green)}.quest.done>span{background:#8aac8820}.quest.done>span .icon{width:13px;height:13px}.sleep-mini{display:flex;gap:11px;align-items:center;text-align:left;padding:16px 13px;background:#8799b00b;border:1px solid var(--line);border-radius:7px}.sleep-mini>.icon:first-child{width:25px;height:25px;color:var(--gold)}.sleep-mini strong{font-size:11px;display:block}.sleep-mini small{display:block;color:var(--muted);font-size:9px;margin-top:7px}.sleep-mini>.icon:last-child{width:13px;height:13px;margin-left:auto;color:var(--muted)}.fair-note{text-align:center;line-height:1.9;font-size:10px;color:var(--muted);padding:1px 12px}.fair-note .icon{width:13px;height:13px;margin-right:5px;color:var(--gold)}.center-column{min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:10px}.page-heading h2{font-size:29px;margin-top:10px;letter-spacing:-.5px}.season-pill{display:flex;align-items:center;font-size:10px;color:var(--muted);gap:6px;white-space:nowrap}.season-pill .icon{width:14px;height:14px;color:var(--gold)}.map-card{height:520px;position:relative;overflow:hidden;border:1px solid #46594e;border-radius:9px;background:radial-gradient(ellipse at 50% 43%,#677b60,#384f42 44%,#263e37,#203630);box-shadow:inset 0 0 100px #122e2c55,var(--shadow)}.map-top{position:absolute;inset:18px 20px auto;display:flex;align-items:center;justify-content:space-between;z-index:2;color:#e5e9d9;font-size:11px;pointer-events:none}.map-top small{margin-left:10px;font-size:9px;color:#bdc9b7;border:1px solid #acbfaa33;padding:3px 5px;border-radius:3px}.map-hint{font-size:9px;color:#b0c0af}.map-bottom{position:absolute;bottom:16px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:end;z-index:2;pointer-events:none}.legend{display:flex;gap:12px;font-size:9px;color:#d1dccb;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:5px}.legend i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#afc5a8}.legend .gold{background:#e4bd74}.legend .pale{background:#dae0cb}.map-tools{pointer-events:auto;display:flex;border:1px solid #b0c1a645;border-radius:5px;background:#1e3930d9;overflow:hidden}.map-tools button{background:transparent;color:#dbe5d4;padding:7px;display:grid;place-items:center;border-right:1px solid #b0c1a630}.map-tools button:last-child{border:0}.map-tools .icon{width:16px;height:16px}#map-canvas{width:100%;height:100%;position:relative;touch-action:none}#map-canvas canvas{display:block}#map-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;text-align:center;color:#d8dfcf;font-size:13px;padding:25px;line-height:1.8}.compass{position:absolute;right:24px;bottom:83px;display:flex;flex-direction:column;text-align:center;font-family:Georgia,serif;font-size:9px;color:#d5d9bd88;pointer-events:none}.compass span{font-size:40px;line-height:1.1}.map-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 1px 23px;color:var(--muted);font-size:10px}.map-caption>span{display:flex;align-items:center;gap:7px}.map-caption .icon{width:14px;height:14px}.map-caption label{display:flex;align-items:center;gap:8px}.map-caption select{max-width:190px;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--text);padding:5px 20px 5px 5px;font-size:10px}.activity-card{padding:19px 21px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-title h3{display:flex;align-items:center;gap:8px;font-size:12px}.section-title h3 .icon{width:16px;height:16px;color:var(--gold)}.section-title>span{color:var(--muted);font-size:8px;letter-spacing:1.2px}.section-title>.icon{width:15px;height:15px;color:var(--muted)}.empty-activity{display:flex;align-items:center;gap:13px;margin-top:20px}.empty-icon{display:grid;place-items:center;width:39px;height:39px;background:var(--panel2);border-radius:50%;color:var(--muted);flex-shrink:0}.empty-icon .icon{width:17px;height:17px}.empty-activity strong{font-size:12px}.empty-activity p{font-size:10px;margin-top:5px}.empty-activity>.text-button{margin-left:auto;white-space:nowrap}.text-button{padding:0;display:inline-flex;align-items:center;gap:5px;color:var(--gold);background:none;font-size:10px}.text-button .icon{width:13px;height:13px}footer{font-size:9px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;padding:25px 0 20px;opacity:.8}footer>span{letter-spacing:1px}footer i{font-style:normal;margin:0 6px}.selection-card{padding:22px 20px}.selection-card>.eyebrow{font-size:8px;letter-spacing:1.3px}.neutral-dot{height:5px;width:5px;background:var(--green);border-radius:50%}.selection-card h2{font-size:25px;margin:17px 0 10px}.selection-card>p{font-size:11px;line-height:1.8}.stat-pair{display:grid;grid-template-columns:1fr 1fr;padding:18px 0;margin:6px 0 16px;border-bottom:1px solid var(--line);gap:12px}.stat-pair>span{font-size:9px;color:var(--muted)}.stat-pair strong{display:flex;align-items:center;gap:7px;font-size:18px;color:var(--text);margin-top:9px}.stat-pair .icon{width:15px;height:15px;color:var(--gold)}.segmented{display:flex;border:1px solid var(--line);border-radius:5px;padding:3px;gap:3px;background:var(--bg);margin:16px 0 21px}.segmented button{flex:1;background:none;color:var(--muted);padding:8px;font-size:11px;border-radius:3px}.segmented button.active{background:var(--panel2);color:var(--gold)}.army-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:8px}.army-title h3{font-size:11px}.army-title .text-button{font-size:9px}.army-inputs{display:flex;flex-direction:column;gap:12px}.army-inputs label{display:flex;gap:9px;align-items:center}.army-inputs .icon{width:19px;height:19px;color:var(--muted)}.army-inputs label>span{font-size:10px;flex:1}.army-inputs small{display:block;color:var(--muted);font-size:9px;margin-top:4px}input,select{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:4px;padding:9px;min-width:0}input[type=number]{font-variant-numeric:tabular-nums}.army-inputs input{width:47px;text-align:center;padding:7px 3px;font-size:11px;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.army-inputs input::-webkit-inner-spin-button{-webkit-appearance:none}.estimate{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:17px 0 13px;margin-top:14px;border-top:1px solid var(--line)}.estimate>span{display:flex;align-items:center;gap:5px}.estimate strong{color:var(--text);margin-left:4px}.estimate .icon{width:13px;height:13px}.forecast{font-size:10px;margin-bottom:14px;padding:7px 9px;background:var(--panel2);border-radius:4px}.good{color:var(--green)}.danger,.insufficient{color:var(--danger)}.fine-print{font-size:10px!important;color:var(--muted);line-height:1.7}.selection-card .fine-print{margin-top:13px;font-size:9px!important}.queue-card{padding:19px}.queue-empty{display:flex;gap:12px;align-items:center;margin:20px 0 16px;color:var(--muted);font-size:11px}.queue-empty>.icon{color:var(--gold);width:25px;height:25px}.queue-empty small{display:block;margin-top:7px;font-size:9px}.quote{text-align:center;font-family:Georgia,serif;font-style:italic;font-size:15px;line-height:1.7;color:var(--muted);padding:5px 10px}.quote span{display:block;font-family:Arial,sans-serif;font-style:normal;letter-spacing:2px;font-size:7px;margin-top:14px}.queue-item{display:flex;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.queue-item:last-child{border:0;padding-bottom:0}.queue-item>.icon{width:17px;height:17px;color:var(--gold);margin-top:3px}.queue-item>div{flex:1}.queue-item strong{font-size:10px;display:block}.queue-item small{display:block;color:var(--muted);font-size:9px;margin-top:7px}.progress-track{height:3px;border-radius:2px;background:var(--line);margin-top:10px;overflow:hidden}.progress-track i{height:100%;display:block;background:var(--gold);transition:width .25s linear}.march-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.march-row:last-child{border:0;padding-bottom:0}.march-row>.icon{color:var(--gold);width:20px;height:20px}.march-row>div{flex:1}.march-row strong{font-size:11px}.march-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.5}.countdown{font-size:11px;color:var(--gold);font-variant-numeric:tabular-nums;white-space:nowrap}.inline-note{display:flex;align-items:center;gap:6px;color:var(--gold);font-size:10px;line-height:1.6;margin:12px 0}.inline-note .icon{width:16px;height:16px}.workspace{margin-bottom:22px}.workspace-intro{margin-bottom:21px}.workspace-intro h3{font-family:Georgia,serif;font-size:22px;margin-bottom:8px}.workspace-intro p{font-size:11px}.building-grid,.unit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.building-card,.unit-card{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:19px}.building-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.building-icon{width:45px;height:45px;border-radius:9px;display:grid;place-items:center;background:var(--panel2);color:var(--gold);flex-shrink:0}.building-icon .icon{width:27px;height:27px}.level-tag{font-size:8px;color:var(--muted);letter-spacing:1px}.building-card h3{font-family:Georgia,serif;font-size:18px;margin-bottom:9px}.building-card p{font-size:10px;min-height:32px}.benefit{display:block;color:var(--green);font-size:10px;margin:13px 0}.cost{display:flex;gap:11px;font-size:10px;color:var(--muted);flex-wrap:wrap}.cost>span{display:flex;align-items:center;gap:4px}.cost .icon{width:13px;height:13px}.building-card>.cost{padding:13px 0;border-top:1px solid var(--line)}.building-card .button{font-size:10px;min-height:37px;padding:9px;justify-content:space-between}.building-card .button>span{font-size:9px;color:var(--muted)}.unit-header{display:flex;align-items:center;gap:9px}.unit-header .building-icon{width:36px;height:40px}.unit-header .building-icon .icon{width:22px;height:22px}.unit-header h3{font-size:12px;line-height:1.4}.unit-header p{font-size:9px;margin-top:5px}.unit-header>strong{font-size:21px;color:var(--gold);margin-left:auto;text-align:center}.unit-header strong small{font-size:8px;display:block;color:var(--muted);margin-top:4px;white-space:nowrap}.unit-stats{display:flex;justify-content:space-between;gap:7px;font-size:9px;color:var(--muted);padding:16px 0;margin:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.unit-stats b{font-weight:400;color:var(--text);margin-left:4px}.train-controls{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:16px 0 10px}.train-controls label{font-size:9px;color:var(--muted);display:flex;flex-direction:column;gap:5px}.train-controls input{width:68px;height:38px;font-size:12px}.train-controls .button{min-height:38px;font-size:11px}.report-card{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:21px;margin-bottom:14px}.report-heading{display:flex;align-items:center;gap:12px}.report-emblem{background:var(--panel2);height:43px;width:43px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.report-heading h3{font-family:Georgia,serif;font-size:20px;margin-top:7px}.report-heading time{font-size:10px;color:var(--muted);margin-left:auto}.report-loot{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:10px;margin:17px 0;color:var(--muted)}details{font-size:11px;color:var(--muted)}summary{cursor:pointer;color:var(--gold);padding:5px 0}.detail-row{display:flex;justify-content:space-between;padding:9px 0}.large-empty{border:1px dashed var(--line);border-radius:8px;text-align:center;padding:70px 25px}.large-empty>.icon{height:45px;width:45px;color:var(--gold);margin-bottom:20px}.large-empty h3{font-family:Georgia,serif;font-size:24px}.large-empty p{margin:14px 0 24px;font-size:12px}.sleep-hero{background:radial-gradient(ellipse at top,#4e607d30,transparent 70%),var(--panel);padding:35px 25px;text-align:center;border:1px solid var(--line);border-radius:9px}.sleep-hero>.icon{width:40px;height:40px;color:var(--gold);margin-bottom:24px}.sleep-hero .eyebrow{justify-content:center;font-size:9px}.sleep-hero h2{font-size:34px;line-height:1.25;margin:16px 0}.sleep-hero p{max-width:390px;margin:auto;font-size:12px}.sleep-form{background:var(--panel);padding:25px;margin:18px 0;border:1px solid var(--line);border-radius:8px}.sleep-form label{font-size:11px;color:var(--muted)}.toggle-label{display:flex;align-items:center;gap:6px}.toggle-label input{accent-color:var(--gold);height:17px;width:17px}.sleep-fields{display:flex;gap:20px;align-items:center;margin:25px 0}.sleep-fields>label{flex:1;display:flex;flex-direction:column;gap:10px}.sleep-fields input{font-family:Georgia,serif;font-size:26px;width:100%;padding:12px}.sleep-fields>span{color:var(--gold);margin-top:20px}.sleep-form>label{display:flex;align-items:center;gap:15px;justify-content:space-between}.sleep-form>label select{max-width:230px;font-size:12px}.sleep-form .fine-print{margin:20px 0}.demo-box{padding:22px;border:1px dashed var(--line);border-radius:8px}.demo-box h3{font-size:13px;margin-bottom:12px}.demo-box p{font-size:11px}.demo-actions{display:flex;gap:10px;margin:18px 0 12px;flex-wrap:wrap}.demo-actions .button{font-size:11px}.demo-box small{font-size:9px;color:var(--muted)}.selection-art svg{width:100%}.mobile-nav{display:none}#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:var(--panel2);color:var(--text);border:1px solid var(--gold);border-radius:8px;padding:15px 23px;box-shadow:0 12px 50px #0004;z-index:30;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 30px);width:max-content}#toast.visible{opacity:1;transform:translate(-50%)}#toast.error{border-color:var(--danger);color:var(--danger)}.busy form button,.busy [data-build],.busy [data-action^=demo]{pointer-events:none;opacity:.5}.loading,.boot-error{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;padding:30px}.boot-error>svg{height:70px;color:var(--gold)}.boot-error h1{font-size:36px}.boot-error .button{margin-top:10px}@media(min-width:1600px){.layout{grid-template-columns:260px minmax(0,1fr) 310px;gap:30px;padding-top:35px}.map-card{height:600px}.selection-card{padding:24px}.army-inputs{gap:15px}.page-heading{margin-bottom:28px}.home-card{padding:25px 22px}.home-card h1{font-size:30px}}@media(max-width:1300px){.topbar{padding:0 24px}.desktop-nav{gap:20px}.prototype{display:none}.resourcebar{padding:16px 24px}.saved{display:none}.world-label{min-width:210px}.layout{grid-template-columns:210px minmax(0,1fr) 260px;gap:18px;padding:24px 22px 0}.page-heading h2{font-size:25px}.season-pill{display:none}.map-card{height:490px}.home-card{padding:20px 15px}.home-card h1{font-size:25px}.selection-card{padding:20px 16px}.legend{gap:8px;font-size:8px}.map-caption>span{font-size:9px}.map-caption select{max-width:150px}.empty-activity>.text-button{display:none}.building-card,.unit-card{padding:14px}.unit-grid{grid-template-columns:1fr}.unit-header h3{font-size:14px}.unit-stats{font-size:10px}.unit-card>.cost{font-size:11px}}@media(max-width:1050px){.topbar{height:76px}.brand>span{font-size:24px}.brand>svg{height:40px;width:35px}.desktop-nav{gap:18px}.top-actions{gap:14px}.resourcebar{gap:20px}.world-label{min-width:180px;font-size:9px}#resources{gap:15px}.resource{gap:8px}.resource small{font-size:9px}.resource em{display:none}.layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.right-column{grid-column:2;display:grid;grid-template-columns:1fr 1fr;align-items:start}.quote{display:none}.left-column{grid-row:1 / 3}.map-card{height:470px}.selection-card{padding:22px}.selection-card>.eyebrow{font-size:9px}.queue-card{position:sticky;top:20px}.center-column{scroll-margin-top:20px}.map-caption select{max-width:190px}.building-grid{gap:12px}.unit-grid{grid-template-columns:1fr 1fr}.unit-card .unit-header{flex-wrap:wrap}.unit-card .unit-header>strong{font-size:18px}.unit-card .unit-header h3{font-size:11px}.unit-card .unit-header p{font-size:9px}.unit-card .unit-header .building-icon{display:none}}@media(max-width:760px){.topbar{padding:0 20px;height:72px}.desktop-nav{display:none}.brand>span{font-size:23px;letter-spacing:5px}.brand small{font-size:6px;letter-spacing:1.7px}.brand{gap:9px}.top-actions{gap:18px}.avatar{height:31px;width:31px}.resourcebar{padding:14px 20px;display:block}.world-label{font-size:8px;margin-bottom:17px;display:flex;align-items:center}.world-label small{margin:0 0 0 auto;font-size:8px}#resources{grid-template-columns:repeat(4,1fr);gap:9px}.resource{gap:7px}.resource>.icon{width:21px;height:21px}.resource strong{font-size:16px}.resource small{font-size:8px;margin-top:4px}.layout{display:flex;flex-direction:column;padding:24px 16px 85px;gap:22px}.center-column{order:0}.left-column{order:2;display:grid;grid-template-columns:1fr 1fr;gap:16px}.right-column{order:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.home-card h1{font-size:23px}.home-card p{font-size:10px}.home-stats{font-size:9px;gap:4px}.home-stats .icon{width:12px;height:12px}.home-card .button{font-size:10px}.journey-card{padding:20px 14px}.journey-card .eyebrow{font-size:8px;letter-spacing:1px}.journey-card h2{font-size:24px}.quest{font-size:10px;gap:7px}.quest>.icon{display:none}.sleep-mini{grid-column:1 / -1;justify-content:center;padding:17px}.sleep-mini>.icon:last-child{margin-left:10px}.fair-note{grid-column:1 / -1}.page-heading{margin-bottom:19px}.page-heading .eyebrow{font-size:8px}.page-heading h2{font-size:28px;margin-top:9px}.map-card{height:420px}.map-top{inset:15px 15px auto;font-size:10px}.map-hint{font-size:8px}.map-top small{font-size:8px;margin-left:5px}.map-bottom{left:13px;right:13px;bottom:13px}.legend{gap:10px;font-size:8px;max-width:200px;line-height:1.5}.compass{right:22px;bottom:62px}.map-caption{margin:12px 0 19px;flex-wrap:wrap}.map-caption>span{font-size:9px}.map-caption label{font-size:9px}.map-caption select{max-width:170px;font-size:9px}.activity-card{padding:17px 16px}.empty-activity{gap:10px}.empty-activity p{font-size:10px}.empty-activity strong{font-size:11px}.activity-card .section-title h3{font-size:12px}footer{padding:18px 0 0;font-size:8px}.selection-card{padding:20px}.selection-card h2{font-size:26px}.selection-card>p{font-size:11px}.selection-card .army-inputs label>span{font-size:11px}.selection-card .army-inputs{gap:15px}.selection-card .army-title h3{font-size:12px}.selection-card .army-title .text-button{font-size:10px}.queue-card{padding:18px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--bg);border-top:1px solid var(--line);z-index:20;justify-content:space-around;padding:10px 6px calc(10px + env(safe-area-inset-bottom))}.mobile-nav .nav-link{flex-direction:column;gap:6px;font-size:9px;padding:0 12px}.mobile-nav .nav-link .icon{height:20px;width:20px}.mobile-nav .nav-link.active:after{display:none}.mobile-nav .nav-link.active:before{content:"";width:18px;height:2px;position:absolute;top:-11px;background:var(--gold)}.building-card h3{font-size:17px}.building-card p{font-size:10px}.cost{gap:8px;font-size:9px}.cost .icon{width:12px;height:12px}.building-card .button{font-size:9px;padding:8px}.unit-card .unit-header{flex-wrap:nowrap}.unit-card .unit-header h3{font-size:12px}.unit-card .unit-header>strong{font-size:21px}.unit-stats{font-size:9px}.sleep-hero h2{font-size:31px}.sleep-form{padding:20px}.sleep-fields{gap:12px}.sleep-fields input{font-size:23px;padding:10px}.sleep-form>label select{max-width:195px}.report-heading h3{font-size:18px}.report-heading time{font-size:9px}.report-card{padding:16px}#toast{bottom:85px;font-size:12px;padding:13px 18px}}@media(max-width:480px){.right-column{display:flex;flex-direction:column}.right-column>*{width:100%}.queue-card{position:static}.left-column{grid-template-columns:1fr}.home-card{display:none}.journey-card{padding:21px}.journey-card h2{font-size:27px}.journey-card p,.quest{font-size:12px}.quest>.icon{display:block}.map-card{height:365px}.map-hint{display:none}.legend{max-width:180px;gap:7px;font-size:7px}.map-caption>span{font-size:8px}.map-caption select{max-width:155px;font-size:9px}.map-caption{gap:6px}.compass{font-size:8px;bottom:62px}.compass span{font-size:31px}.page-heading h2{font-size:26px}.selection-card{padding:23px}.selection-card .stat-pair{font-size:11px}.army-inputs label>span{font-size:12px!important}.army-inputs input{width:60px;font-size:13px;padding:9px}.army-inputs small{font-size:10px}.selection-card .army-title h3{font-size:13px}.selection-card .army-title .text-button{font-size:11px}.selection-card .fine-print{font-size:10px!important}.building-grid{gap:10px}.building-card{padding:13px}.building-card h3{font-size:16px;min-height:36px}.building-top{margin-bottom:13px}.building-icon{width:37px;height:37px}.building-icon .icon{width:23px;height:23px}.level-tag{font-size:7px}.building-card p{font-size:9px;min-height:44px}.benefit{font-size:9px;min-height:24px;margin:8px 0}.building-card .cost{gap:8px;font-size:9px;display:grid;grid-template-columns:1fr 1fr}.building-card .button{font-size:9px;gap:4px;flex-wrap:wrap;justify-content:center}.building-card .button>span{font-size:8px}.unit-grid{grid-template-columns:1fr}.unit-card{padding:19px}.unit-card .unit-header .building-icon{display:grid}.unit-card .unit-header h3{font-size:14px}.unit-card .unit-header p{font-size:10px}.unit-card .cost{font-size:11px;gap:18px}.unit-stats,.unit-card .train-controls label{font-size:10px}.unit-card .train-controls input{width:90px}.sleep-fields input{font-size:21px}.sleep-fields>span{display:none}.sleep-form>label{align-items:start;flex-direction:column;gap:9px}.sleep-form>label select{width:100%;max-width:none}.report-heading{gap:10px;flex-wrap:wrap}.report-heading time{margin-left:55px}.report-heading .eyebrow{font-size:8px}.report-heading h3{font-size:18px}.report-loot{flex-wrap:wrap}.demo-actions{flex-direction:column}.march-row strong{font-size:11px}.march-row small{font-size:9px}.countdown{font-size:10px}.resource>.icon{width:19px;height:19px}.resource strong{font-size:15px}.resourcebar{padding-left:17px;padding-right:17px}.map-tools button{padding:7px}.empty-icon{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
