/* SiliconGC · Siliconarya: Rise of Empires / İlk Çağ. No remote fonts or UI dependencies. */
:root{--bg:#0c1a20;--surface:#13262c;--surface2:#193138;--line:#b0ccbf19;--ink:#e9eee7;--muted:#9ab0af;--accent:#a1d5bc;--gold:#ddbe80;--red:#e8a092;--sidebar:220px;--topbar:78px;font-size:14px}body{background:radial-gradient(ellipse at 95% 0,#153239 0,transparent 55%),var(--bg)}button{transition:background .15s,border-color .15s}button:disabled{cursor:not-allowed}h1,h2,h3,p{overflow-wrap:break-word}.btn{min-height:40px;border-radius:8px;font-weight:600;line-height:1.35}.btn.primary{background:var(--accent);color:#132b26;border-color:var(--accent)}.btn.primary:hover{background:#bbe5ce}.btn.small{min-height:34px}.text-btn{min-height:36px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#0d1e24;border-right:1px solid var(--line);z-index:25;padding:28px 18px;display:flex;flex-direction:column}.brand{gap:10px;font-size:15px;letter-spacing:1.4px}.brand small{letter-spacing:1.2px;font-size:8px}.nav-caption{color:#647f80;font-size:9px;letter-spacing:1.8px;margin:48px 14px 16px}.main-nav{display:flex;flex-direction:column;gap:7px;margin:0}.main-nav button{font-size:13px;gap:13px;padding:14px 16px;text-align:left;min-height:47px;border:1px solid transparent}.main-nav button:hover{background:#ffffff05}.main-nav button.active{background:#94cfb80e;border-color:#94cfb82b;color:var(--accent)}.main-nav button.active:after{margin-left:auto;width:5px;height:5px}.main-nav svg{width:19px;height:19px}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-help{display:flex;align-items:center;gap:12px;background:none;border:0;color:var(--muted);padding:12px;font-size:12px;width:100%}.sidebar-help span{width:22px;height:22px;display:grid;place-items:center;border:1px solid #92aaa85c;border-radius:50%}.sidebar-studio{border:0;border-top:1px solid var(--line);background:none;display:block;text-align:left;margin-top:22px;padding:22px 12px 0;width:100%}.sidebar-studio b{font-size:13px;letter-spacing:.4px}.sidebar-studio small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.header{height:var(--topbar);margin-left:var(--sidebar);padding:0 32px;background:#0d1c23e8;gap:20px;border-bottom:1px solid var(--line);z-index:20}.page-context{display:flex;flex-direction:column;gap:5px;margin-right:auto;min-width:100px}.page-context span{font-size:10px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.page-context b{font-size:15px;font-weight:600}.header-actions{display:flex;align-items:center;gap:8px}.header-icon{position:relative;border:1px solid var(--line);background:transparent;border-radius:8px;width:38px;height:38px;display:grid;place-items:center;color:var(--muted);font-size:20px}.header-icon:hover{color:var(--accent);border-color:#a1d5bc55}#inboxCount{position:absolute;top:-5px;right:-5px;border-radius:10px;background:var(--gold);color:#13262c;font-size:9px;padding:2px 4px;min-width:15px}.account-btn{border-radius:8px;font-size:12px;min-height:38px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.resources{gap:20px;margin-right:14px}.resource b{font-variant-numeric:tabular-nums}.resource svg{width:17px;height:17px}#app{margin-left:var(--sidebar)}.page-view{max-width:1360px;margin:0 auto;padding:36px 40px 60px}.page-view h1{font-size:32px;letter-spacing:-1px;font-weight:500}.page-head{gap:16px;flex-wrap:wrap}.page-head h1{margin-top:9px}.section-description{max-width:800px;line-height:1.8}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--muted)}.overview{max-width:1500px}.command-hero{position:relative;isolation:isolate;overflow:hidden;min-height:290px;border:1px solid #96c6b32e;border-radius:16px;background:#142e34 url('art/siliconarya-dawn.webp') 65% 50%/cover}.guest-hero{min-height:356px}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0b1d25ef 0%,#0b1d25d2 36%,#0b1d2545 70%,#0b1d251a 100%);z-index:-1}.hero-copy{max-width:560px;padding:36px}.hero-copy .eyebrow{color:#c4d9c9;letter-spacing:2.4px;font-size:9px}.hero-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:46px;font-weight:400;line-height:1.13;letter-spacing:-1.6px;margin:20px 0 15px}.hero-copy h1 em{font-style:normal;color:#c9ddb9}.hero-copy p{font-size:13px;line-height:1.85;color:#c1d0c9;max-width:345px;margin:0 0 22px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.hero-actions .btn:not(.primary){background:#0b20286b;border-color:#b9cec044}.hero-edition{position:absolute;bottom:25px;right:28px;font-size:10px;font-weight:600;letter-spacing:2px;text-align:right;color:#e4e9d8;text-shadow:0 1px 5px #000}.hero-edition i{display:block;font-size:9px;letter-spacing:.5px;font-style:normal;margin-top:5px;color:#d2ddc8}.world-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 0;border:1px solid var(--line);background:#11262b;border-radius:10px;padding:22px;margin:20px 0 28px}.world-facts span{text-align:center;font-size:11px;color:var(--muted);border-right:1px solid var(--line)}.world-facts span:nth-child(3n){border:0}.world-facts b{display:inline-block;color:var(--ink);font-family:Georgia,serif;font-size:24px;font-weight:400;margin-right:8px}.overview-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.overview-metrics article{position:relative;background:#11272d;border:1px solid var(--line);border-radius:10px;padding:20px}.overview-metrics article>svg{position:absolute;top:20px;right:17px;color:var(--gold);opacity:.8}.overview-metrics article>span{font-size:11px;color:var(--muted);display:block;margin-bottom:16px}.overview-metrics b{font-size:29px;font-weight:500;display:block;font-variant-numeric:tabular-nums}.overview-metrics b em{font-size:13px;color:var(--muted);font-style:normal;margin-left:3px}.overview-metrics small{display:block;color:var(--muted);font-size:10px;margin-top:8px}.negative{color:var(--red)!important}.save-notice{display:flex;align-items:center;gap:14px;border:1px solid #a1d5bc29;background:#a1d5bc08;border-radius:10px;padding:14px 18px;margin-bottom:22px}.save-notice>svg{color:var(--accent)}.save-notice div{flex:1}.save-notice b,.save-notice span{display:block;font-size:12px}.save-notice span{font-size:11px;color:var(--muted);margin-top:5px}.save-notice .btn{font-size:11px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(275px,1fr);gap:24px;margin-top:22px}.overview-grid>div,.overview-aside{min-width:0}.next-step{display:flex;gap:22px;padding:28px;border:1px solid #b4c59e36;background:linear-gradient(135deg,#203832,#142a30);border-radius:12px}.next-step h2{font-family:Georgia,serif;font-size:26px;font-weight:400;line-height:1.3;margin:10px 0}.next-step p{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:22px}.next-number{color:var(--gold);font-family:Georgia,serif;font-size:46px;line-height:1.1;padding-top:2px;min-width:38px}.next-number span{font-family:system-ui,sans-serif;display:block;font-size:11px;color:var(--muted);margin:8px 0}.journey-card,.dispatch-card,.quick-card{border:1px solid var(--line);border-radius:12px;background:#10232a;padding:24px;margin-top:20px}.dispatch-card{margin-top:0}.section-line{display:flex;justify-content:space-between;gap:12px;align-items:center}.section-line h2,.quick-card h2{font-size:14px;font-weight:600;margin:0}.section-line>span{font-size:10px;color:var(--muted);white-space:nowrap}.journey-progress{display:flex;gap:5px;margin:22px 0 15px}.journey-progress i{height:3px;background:#ffffff0e;border-radius:3px;flex:1}.journey-progress i.done{background:var(--accent)}.journey-list{list-style:none;padding:0;margin:0}.journey-list li{display:flex;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.journey-list li:last-child{border:0;padding-bottom:0}.journey-list li>span{font-size:10px;width:25px;height:25px;border:1px solid var(--line);color:var(--muted);border-radius:50%;display:grid;place-items:center;flex-shrink:0}.journey-list li.done>span{color:var(--accent);background:#a1d5bc0b;border-color:#a1d5bc29}.journey-list li>div{flex:1}.journey-list li b{font-size:12px;font-weight:500;color:#bcccca}.journey-list li.current b{color:var(--ink)}.journey-list li>small,.journey-list li small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.journey-list li .btn{font-size:10px;min-height:28px;padding:5px 10px;background:none;border-color:var(--line)}.live-dot{color:var(--accent)!important}.live-dot:before{content:'';display:inline-block;width:5px;height:5px;background:var(--accent);border-radius:50%;margin-right:5px}.dispatch-item{display:flex;gap:11px;align-items:center;background:none;border:0;border-bottom:1px solid var(--line);width:100%;padding:18px 0;text-align:left}.dispatch-item:last-child{border-bottom:0;padding-bottom:0}.dispatch-icon{width:31px;height:34px;display:grid;place-items:center;color:var(--gold);flex-shrink:0}.dispatch-icon.urgent{color:var(--red)}.dispatch-item b,.dispatch-item small{display:block}.dispatch-item b{font-size:12px;font-weight:500}.dispatch-item small{font-size:10px;color:var(--muted);line-height:1.7;margin-top:5px}.dispatch-item i{margin-left:auto;font-style:normal;color:var(--muted)}.quiet-state{text-align:center;padding:26px 12px 8px;color:var(--gold);font-size:25px}.quiet-state b{display:block;font-size:13px;color:var(--ink);font-weight:500;margin-top:10px}.quiet-state p{font-size:11px;line-height:1.8;color:var(--muted);margin-bottom:0}.quick-grid{margin-top:17px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-grid button{display:flex;gap:9px;align-items:center;text-align:left;background:#172e34;border:1px solid transparent;border-radius:6px;min-height:49px;padding:10px}.quick-grid button:hover{border-color:#a1d5bc44}.quick-grid svg{color:var(--muted);width:16px}.quick-grid span{font-size:10px}.quick-grid i{font-style:normal;color:#7e9b95;font-size:11px;margin-left:auto}.studio-card{display:flex;align-items:center;gap:15px;text-align:left;background:none;border:0;padding:24px 8px;width:100%}.studio-monogram{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b3c7b642;font-family:Georgia,serif;color:var(--gold);font-size:19px;border-radius:50%;flex-shrink:0}.studio-card b{font-size:12px}.studio-card small{display:block;font-size:10px;color:var(--muted);margin-top:6px}#moreNav{position:fixed;top:285px;left:calc(var(--sidebar) - 12px);right:auto;width:264px;padding:20px;border:1px solid #536f684b;border-radius:12px;background:#142a31;box-shadow:0 18px 70px #0007;z-index:40;display:grid;grid-template-columns:1fr;gap:4px;max-height:calc(100dvh - 305px);overflow-y:auto}#moreNav .eyebrow{margin-bottom:12px}#moreNav button{padding:11px 10px;display:flex;align-items:center;justify-content:space-between;text-align:left;border:0;background:none;font-size:12px;border-radius:5px}#moreNav button:hover,#moreNav button.active{background:#a1d5bc10;color:var(--accent)}#moreNav button span{opacity:.5}.map-screen{height:calc(100dvh - var(--topbar));min-height:500px}.map-top{top:22px;left:24px;right:24px;gap:15px;align-items:flex-start}.map-search{position:relative;pointer-events:auto;width:240px;max-width:40%}.map-search input{margin:0;background:#122830ee;border:1px solid #afcab834;border-radius:8px;padding:12px 15px;font-size:11px;box-shadow:0 5px 15px #0002}.map-search input::placeholder{color:#b3c7c0}#mapSearchResults{position:absolute;top:48px;left:0;right:0;border:1px solid #47665b;background:#152e36;border-radius:8px;overflow:hidden;box-shadow:0 12px 30px #0007;z-index:4}#mapSearchResults button{display:flex;justify-content:space-between;gap:10px;background:none;border:0;border-bottom:1px solid var(--line);padding:12px;text-align:left;width:100%;font-size:11px}#mapSearchResults button:hover{background:#a1d5bc17}#mapSearchResults small{color:var(--muted)}#mapSearchResults p{padding:8px 14px;font-size:11px}.map-advice{position:absolute;left:24px;top:87px;max-width:230px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#12272aeb;border:1px solid #a2c4b532;border-radius:10px;padding:18px}.map-advice b{font-weight:500;font-size:13px}.map-advice .btn{font-size:11px;min-height:34px;padding:8px 12px}.capital-shortcut{position:absolute;left:24px;bottom:88px;background:#142c33e8}.nation-chip{bottom:28px;left:24px}.map-bottom{padding:10px 24px}.compass{bottom:90px}.province-panel{right:24px;top:82px;bottom:55px;max-height:none;background:#12282ff5;border-radius:12px;width:316px;overflow-y:auto;box-shadow:0 15px 55px #0005}.found-hint{top:80px;left:24px;right:auto;max-width:min(580px,calc(100% - 390px));transform:none;flex-wrap:wrap;border-radius:9px;line-height:1.6}.found-hint>span{flex:1;min-width:140px;font-size:12px}.front-dock{bottom:90px;left:280px;max-width:calc(100% - 330px)}.welcome{left:40px;max-width:430px}.target-bar{left:24px;right:24px;max-width:850px;margin:auto;bottom:65px}.map-advice:has(~.province-panel:not([hidden])){max-width:205px}.atlas-controls{background:#112830ed}.atlas-controls button{min-height:36px}.system-card,.list-card{border-radius:10px;background:#132830;border:1px solid var(--line);padding:23px}.system-card h3,.list-card h3{font-size:17px;font-weight:500}.system-card p,.list-card p{line-height:1.8;font-size:12px}.system-actions{gap:8px;flex-wrap:wrap}.metrics>div{border-radius:10px;background:#142b31}.metrics b{font-size:30px;font-weight:500}.table-wrap{border:1px solid var(--line);border-radius:10px}th,td{font-size:12px}details{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}summary{cursor:pointer;color:var(--muted);font-size:11px;line-height:1.7}dialog{border-radius:14px;background:#132b32;border-color:#557c6866;max-height:90dvh;max-width:calc(100vw - 28px);width:550px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#041016b8;backdrop-filter:blur(4px)}.dialog-head h2{font-family:Georgia,serif;font-size:25px;font-weight:400}.dialog-note,.account-note{line-height:1.85}.form-error{margin:0 0 18px;padding:13px 16px;background:#e5897420;border:1px solid #eea08650;color:#ffcbbd;border-radius:7px;font-size:12px;line-height:1.7}input,select{border-radius:7px;min-height:42px;max-width:100%}label{font-size:12px;line-height:1.6}form>.btn[type=submit]{margin-top:18px;min-height:44px}input[type=checkbox]{width:17px;min-height:17px;height:17px;accent-color:var(--accent)}.advanced-units{margin-top:6px;padding-top:14px}.advanced-units summary{padding-bottom:12px}.compose-row{grid-template-columns:30px 1fr 70px;min-height:60px}.compose-row input{width:70px}.composition .composition{padding:0}.command-preview{flex-wrap:wrap;gap:16px;justify-content:space-between}.command-preview>div{flex:1;min-width:70px}.recruit-presets{display:flex;gap:10px;align-items:center;margin:18px 0}.recruit-presets .btn{font-size:11px}.recruit-presets .text-btn{font-size:10px}.help-search{position:relative;display:flex;align-items:center;max-width:580px;margin:26px 0}.help-search svg{position:absolute;left:16px;color:var(--muted)}.help-search input{padding-left:45px;margin:0;background:#132a31}.guide-layout{display:grid;grid-template-columns:250px 1fr;gap:26px}.guide-topics{display:flex;flex-direction:column;gap:6px}.guide-topics button{background:none;border:1px solid transparent;padding:14px;text-align:left;border-radius:8px}.guide-topics button.active{background:#a1d5bc0b;border-color:#a1d5bc29}.guide-topics small{display:block;font-size:9px;color:var(--muted);margin-bottom:6px}.guide-topics b{font-size:12px;font-weight:500}.guide-article{align-self:start;padding:30px;background:#12282e;border:1px solid var(--line);border-radius:12px;position:sticky;top:20px}.guide-article h2{font-family:Georgia,serif;font-size:30px;font-weight:400}.guide-intro{font-size:14px;line-height:1.9;color:#bbc9bf}.guide-steps{list-style:none;padding:0;margin:28px 0}.guide-steps li{display:flex;gap:15px;align-items:flex-start;margin:22px 0}.guide-steps li>span{border:1px solid #a1d5bc35;border-radius:50%;min-width:26px;height:26px;display:grid;place-items:center;color:var(--accent);font-size:11px}.guide-steps p{margin:0;line-height:1.9;font-size:13px;color:#cbd6cc}.guide-tip{margin:22px 0;padding:20px;background:#c6ad7520;border-left:2px solid var(--gold);border-radius:0 8px 8px 0}.guide-tip b{font-size:12px;color:var(--gold)}.guide-tip p{font-size:12px;line-height:1.8;color:#c7ceb9;margin-bottom:0}.credits-cover{background:linear-gradient(0deg,#0b2027e8,#0b202755),url('art/siliconarya-dawn.webp') 50%/cover;border-radius:9px;padding:30px;text-align:center}.credits-cover .studio-monogram{margin:0 auto 22px;background:#12272c9c}.credits-cover h2{font-family:Georgia,serif;font-size:38px;font-weight:400;margin:14px 0 6px}.credits-cover p{color:#b5cac0;font-size:12px}.credits-list{margin:24px 0}.credits-list div{display:grid;grid-template-columns:125px 1fr;border-bottom:1px solid var(--line);padding:18px 0;font-size:13px;line-height:1.9}.credits-list dt{color:var(--muted)}.credits-list dd{margin:0}.release-note{text-align:center;padding:14px}.release-note b{font-size:12px;color:var(--gold)}.release-note p{font-size:11px;line-height:1.8;color:var(--muted)}.release-note a{display:inline-flex;align-items:center;font-size:11px;margin-top:8px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.setting-row b{font-size:13px}.setting-row p{font-size:11px;color:var(--muted);line-height:1.8}.settings-links{display:flex;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.settings-links .btn{font-size:11px}.inbox-row{display:grid;grid-template-columns:1fr auto;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;padding:18px 0;width:100%;gap:8px}.inbox-row b{font-size:13px;font-weight:500}.inbox-row span{grid-column:1;font-size:11px;color:var(--muted);line-height:1.7}.inbox-row i{grid-column:2;grid-row:1/3;align-self:center;font-style:normal}.ranking-list{display:flex;flex-direction:column;gap:9px;margin:28px 0}.ranking-row{display:flex;align-items:center;gap:18px;text-align:left;background:#132930;border:1px solid var(--line);border-radius:9px;padding:22px}.ranking-row.mine{border-color:#a1d5bc44;background:#a1d5bc0b}.ranking-row .rank{font-family:Georgia,serif;font-size:25px;color:var(--gold);width:30px}.ranking-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.ranking-row b{font-size:14px;font-weight:500}.ranking-row strong{margin-left:auto;font-size:20px;font-weight:500}.ranking-row i{color:var(--muted)}.loading,.fatal{margin-left:var(--sidebar)}.toast{z-index:150;max-width:min(480px,calc(100vw - 30px));line-height:1.7}.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}[data-density=compact] .page-view{padding-top:22px}[data-density=compact] .system-card,[data-density=compact] .list-card{padding:16px}[data-density=compact] .command-hero:not(.guest-hero){min-height:240px}[data-density=compact] .command-hero:not(.guest-hero) .hero-copy{padding:24px 30px}.confirmation-copy{line-height:1.9;font-size:13px}.party-list{display:grid;gap:8px;background:#0c2127;padding:16px;border-radius:8px;margin:16px 0}.party-list legend{font-size:12px}.party-list label{display:flex;align-items:center;gap:10px;margin:0}.party-list input{margin:0}.stock-note{font-size:11px;color:var(--muted);line-height:1.8}.army-advanced{flex-basis:100%;width:100%}.army-advanced .system-actions{margin-top:14px}
@media(min-width:1600px){:root{--sidebar:240px}.page-view{padding-top:40px}.hero-copy{padding:42px}.command-hero{min-height:310px}.guest-hero{min-height:370px}}
@media(max-width:1150px){:root{--sidebar:190px}.sidebar{padding:24px 12px}.brand{font-size:13px;gap:7px}.brand img{width:30px;height:30px}.brand small{font-size:7px;letter-spacing:1px}.main-nav button{padding:13px 12px}.header{padding:0 24px;gap:15px}.resources{gap:13px;margin-right:0}.page-view{padding:26px}.overview-grid{gap:18px;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.next-step{padding:22px;gap:16px}.next-number{font-size:37px}.journey-card,.dispatch-card,.quick-card{padding:20px}.overview-metrics article{padding:17px}.overview-metrics b{font-size:25px}.overview-metrics article>svg{width:15px;right:14px}.overview-metrics small{font-size:9px}.guide-layout{grid-template-columns:210px 1fr;gap:18px}.map-advice{max-width:175px}.map-advice b{font-size:12px}.atlas-controls button{padding:8px}.province-panel{width:290px;right:16px}.found-hint{max-width:calc(100% - 345px)}.world-facts{padding:18px 10px}.world-facts b{display:block;margin-bottom:6px}}
@media(max-width:900px){:root{--sidebar:170px}.sidebar{padding:24px 10px}.brand{flex-wrap:wrap}.brand small{display:none}.brand img{width:26px;height:26px}.main-nav button{font-size:12px;gap:10px}.page-view{padding:24px}.hero-copy h1{font-size:40px}.hero-copy{padding:30px}.hero-copy p{max-width:300px}.overview-grid{grid-template-columns:1fr}.overview-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.quick-card{margin:0}.studio-card{grid-column:1/-1;padding:10px 0}.overview-metrics{grid-template-columns:repeat(2,1fr);gap:12px}.overview-metrics article>span{margin-bottom:8px}.header{padding:0 20px;gap:10px}.header-actions{gap:6px}.resources{gap:9px}.resource{font-size:10px}.resource svg{width:13px}.settings-icon{display:none}.page-context b{font-size:13px}.page-context{min-width:90px}.account-btn{max-width:100px;font-size:10px}.header-icon{width:33px;height:36px}.map-search{width:185px}.atlas-controls button{font-size:10px;padding:7px}.guide-layout{grid-template-columns:1fr}.guide-topics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.guide-topics button{padding:12px}.guide-article{position:static}.found-hint{top:78px;left:16px;max-width:calc(100% - 340px)}.found-hint .btn{font-size:10px}.front-dock{left:210px;max-width:calc(100% - 235px)}.map-advice{display:none}.capital-shortcut{left:16px;bottom:85px}.map-top{left:16px;right:16px}.map-bottom{padding:9px 16px}.map-bottom #mapLegend{display:none}.nation-chip{left:16px}.world-facts b{font-size:23px}.battle-screen{padding:22px}}
@media(max-width:700px){:root{--sidebar:0px;--topbar:106px}.sidebar{inset:auto 0 0;width:100%;height:calc(64px + env(safe-area-inset-bottom));padding:0 7px env(safe-area-inset-bottom);border-right:0;border-top:1px solid #7baba43b;background:#0c2028f5;backdrop-filter:blur(12px);z-index:50}.sidebar .brand,.nav-caption,.sidebar-bottom{display:none}.main-nav{position:static;display:grid;grid-template-columns:repeat(6,1fr);width:100%;height:64px;border:0;background:none;padding:0;gap:0}.main-nav button{border:0;border-radius:0;padding:9px 0 7px;display:flex;flex-direction:column;gap:5px;min-height:60px;font-size:9px;justify-content:center}.main-nav svg{width:19px;height:19px}.main-nav button.active{background:none;color:var(--accent)}.main-nav button.active:after{display:none}.header{height:106px;margin-left:0;display:flex;align-items:flex-start;padding:17px 18px 0;gap:10px;position:relative}.page-context{padding-top:1px;min-width:90px;max-width:calc(100% - 170px)}.page-context span{font-size:9px}.page-context b{font-size:14px}.header-actions{margin-left:auto;gap:7px}.header-icon{width:33px;height:33px}.settings-icon{display:grid}.account-btn{min-height:33px;font-size:10px;padding:8px 10px;max-width:104px}.resources{position:absolute;bottom:0;left:0;right:0;justify-content:center;gap:30px;height:34px;align-items:center;border-top:1px solid var(--line);background:#a1d5bc04;margin:0}.resource{font-size:11px}.resource svg{width:14px}.header:has(.resources[hidden]){height:78px}.header:has(.resources[hidden])~#app .map-screen{height:calc(100dvh - 142px)}#app{margin:0;padding-bottom:calc(64px + env(safe-area-inset-bottom))}.page-view{padding:20px 16px 36px;max-width:100%}.page-view h1{font-size:27px;line-height:1.25}.page-head{gap:12px;align-items:flex-start;margin-bottom:16px}.page-head .btn{font-size:11px}.section-description{font-size:12px;line-height:1.8}.command-hero{border-radius:12px;min-height:292px;background-position:60% 50%}.guest-hero{min-height:330px}.hero-shade{background:linear-gradient(90deg,#0b2025e8,#0b202592 65%,#0b202545)}.hero-copy{padding:27px 23px;max-width:100%}.hero-copy h1{font-size:36px;line-height:1.14;margin:20px 0 15px;letter-spacing:-1px;max-width:300px}.hero-copy p{font-size:12px;line-height:1.9;max-width:260px;margin-bottom:23px}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.8px}.hero-actions{gap:8px}.hero-actions .btn{font-size:11px;padding:11px 14px}.hero-edition{display:none}.world-facts{padding:18px 6px;margin:14px 0 22px;gap:16px 0}.world-facts span{font-size:10px;line-height:1.7}.world-facts b{font-size:24px;margin:0 0 4px;display:block}.overview-metrics{margin:14px 0;gap:10px}.overview-metrics article{padding:16px}.overview-metrics b{font-size:26px}.overview-metrics small{font-size:9px}.save-notice{flex-wrap:wrap;padding:14px;gap:10px}.save-notice>svg{width:18px}.save-notice div{min-width:210px}.save-notice b{font-size:11px}.save-notice span{font-size:10px}.save-notice .btn{margin-left:28px;min-height:32px;font-size:10px}.overview-grid{margin-top:18px;gap:18px}.next-step{padding:22px 18px;gap:16px}.next-step h2{font-size:25px}.next-step p{font-size:12px;margin-bottom:18px}.next-number{font-size:36px;min-width:28px}.journey-card{padding:20px;margin-top:18px}.journey-list li{padding:15px 0;gap:10px}.journey-list li b{font-size:11px}.journey-list li>small{font-size:8px}.overview-aside{grid-template-columns:1fr;gap:16px}.dispatch-card,.quick-card{padding:20px}.quick-grid button{min-height:51px}.quick-grid span{font-size:11px}.studio-card{padding:10px}.section-line>span{font-size:9px}.section-line h2{font-size:13px}#moreNav{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));top:auto;width:auto;max-height:calc(100dvh - 165px);grid-template-columns:1fr 1fr;gap:3px;padding:20px;z-index:60}#moreNav .eyebrow{grid-column:1/-1}#moreNav button{padding:12px 9px;font-size:11px}.map-screen{height:calc(100dvh - 170px - env(safe-area-inset-bottom));min-height:430px}.map-top{top:13px;left:12px;right:12px;gap:8px;flex-wrap:wrap}.map-search{max-width:100%;width:100%}.map-search input{font-size:11px;padding:10px 13px;min-height:38px}.atlas-controls{margin-left:auto;padding:2px;border-radius:7px}.atlas-controls button{min-height:30px;padding:5px 8px;font-size:9px}.atlas-controls svg{width:15px;height:15px}.map-bottom{bottom:0;height:auto;gap:10px;font-size:9px;padding:8px 12px}.wall-status{font-size:8px!important;max-width:240px}.connection{font-size:8px}.nation-chip{bottom:40px;left:12px;padding:9px 11px;gap:8px}.nation-chip b{font-size:10px}.nation-chip small{font-size:8px}.nation-chip .flag{width:27px;height:30px;font-size:17px}.capital-shortcut{left:auto;right:12px;bottom:42px;font-size:10px;padding:8px 12px}.compass{display:none}.welcome{left:24px;top:110px;max-width:calc(100% - 48px);transform:none}.welcome h1{font-size:39px}.welcome p{font-size:12px}.welcome-meta{font-size:9px}.province-panel{position:absolute;left:10px;right:10px;top:auto;bottom:34px;width:auto;max-height:62%;min-height:0;border:1px solid #638f7b73;border-radius:12px;overflow-y:auto;padding:20px;z-index:7;box-shadow:0 -10px 60px #00131bb3}.province-panel h2{font-size:23px}.province-panel .panel-heading{margin-bottom:9px}.province-panel .stat-list{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.province-panel .stat-row{font-size:10px}.province-actions{gap:8px}.province-actions .btn{font-size:11px;min-height:37px}.province-pills{gap:5px;margin:11px 0}.province-pills .pill{font-size:9px}.found-hint{left:12px;right:12px;top:105px;max-width:none;padding:12px;z-index:6;transform:none}.found-hint>span{font-size:10px;min-width:180px}.map-screen:has(.province-panel:not([hidden])) .found-hint{max-width:calc(100% - 24px)}.map-screen:has(.province-panel:not([hidden])) .nation-chip,.map-screen:has(.province-panel:not([hidden])) .capital-shortcut{display:none}.front-dock{left:12px;right:12px;bottom:95px;max-width:none;flex-direction:row;overflow:auto;gap:8px}.front-card{min-width:155px;font-size:10px;padding:12px}.front-card small{font-size:8px}.target-bar{left:12px;right:12px;bottom:42px;flex-wrap:wrap;padding:15px;gap:10px}.target-bar>b{font-size:12px}.target-bar>span{font-size:10px;flex-basis:100%}.guide-topics{grid-template-columns:repeat(2,1fr)}.guide-topics button{padding:12px}.guide-topics b{font-size:11px}.guide-topics small{font-size:8px}.guide-article{padding:22px}.guide-article h2{font-size:28px}.guide-intro{font-size:12px}.guide-steps p{font-size:12px}.help-search{margin:18px 0}.guide-layout{gap:20px}.ranking-row{padding:17px;gap:12px}.ranking-row b{font-size:12px}.ranking-row .rank{font-size:22px;width:24px}.ranking-row small{font-size:9px}.ranking-row strong{font-size:18px}.ranking-row>i{display:none}.system-card,.list-card{padding:19px}.metrics{grid-template-columns:repeat(2,1fr);gap:10px}.metrics b{font-size:24px}.metrics>div{font-size:10px;padding:18px}.system-grid,.cards-grid{grid-template-columns:1fr}dialog{padding:22px 20px;max-height:87dvh}.dialog-head h2{font-size:23px}.dialog-head{gap:12px}.compose-row{min-height:65px}.compose-row label{font-size:11px}.compose-row small{font-size:9px;line-height:1.5}.compose-row input{font-size:13px}.recruit-presets{align-items:flex-start;gap:5px}.recruit-presets .btn{font-size:10px}.command-preview{gap:8px}.command-preview>div{font-size:9px;min-width:50px}.command-preview b{font-size:15px}.credits-list div{grid-template-columns:100px 1fr;font-size:12px}.credits-cover{padding:26px 16px}.credits-cover h2{font-size:34px}.toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:12px}.battle-screen{padding:18px 12px}.battle-top h2{font-size:20px}.battle-layout{grid-template-columns:1fr}.battle-board{max-width:100%;overflow:hidden}.battle-actions{gap:6px;flex-wrap:wrap}.battle-actions .btn{font-size:10px;padding:10px}.battle-scores{gap:9px}.battle-score{padding:12px}.battle-score strong{font-size:10px}.battle-score small{font-size:9px}.form-pair{grid-template-columns:1fr}.clause-row{min-width:0}.check{font-size:11px}.loading,.fatal{margin:0}.settings-links .btn{font-size:10px}.table-wrap{max-width:100%;overflow:auto}.page-head>*{min-width:0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
