.market-screen{--market-ticker-height: 40px;min-height:100dvh;background:radial-gradient(circle at 45% 25%,rgba(91,62,30,.08),transparent 34%),#100e0b;color:#e8dfd2;font-family:Roboto Condensed,Arial Narrow,sans-serif;display:flex;flex-direction:column}.market-screen *{box-sizing:border-box}.market-screen button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.market-embed{--market-ticker-height: 40px;background:#100e0b;color:#e8dfd2;font-family:Roboto Condensed,Arial Narrow,sans-serif}.market-embed *{box-sizing:border-box}.market-embed button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.market-content{flex:1;padding:14px 12px calc(var(--bottom-nav-height) + var(--market-ticker-height) + 24px) 12px;width:100%;max-width:1100px;margin:0 auto}.market-header{display:flex;align-items:center;gap:28px;padding:10px 0 18px;margin-bottom:20px;border-bottom:1px solid rgba(178,136,81,.16)}.market-header h1{margin:0;font-size:32px;line-height:1;font-weight:800;text-transform:uppercase}@media (max-width: 480px){.market-header{flex-wrap:wrap;gap:10px}}.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title-row{display:flex;align-items:baseline;gap:10px}.section-title-row h2,.resources-section h2{margin:0;font-size:15px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.section-count{color:#aaa095;font-size:13px}.text-action{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:0;color:#d89a2b;font-size:13px;font-weight:400}.my-orders{margin-bottom:28px}.resources-section h2{margin-bottom:12px}.my-orders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.my-order-card{min-height:128px;display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center;padding:14px;text-align:left;color:inherit;background:#15130f;border:1px solid rgba(170,125,68,.25);border-radius:8px}.order-type{display:inline-flex;width:fit-content;padding:3px 7px;border-radius:4px;font-size:12px;font-weight:400}.order-type--sell{color:#df7258;background:#aa3e2526}.order-type--buy{color:#64a6db;background:#29689b2b}.order-resource{display:block;margin-top:6px;font-size:20px}.order-meta{margin-top:8px;display:flex;align-items:center;gap:18px}.order-price{display:inline-flex;align-items:center;gap:5px;font-size:18px;font-weight:400}.order-amount{color:#aaa095;font-size:16px}@media (max-width: 480px){.my-orders-grid{grid-template-columns:1fr}}.resource-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.resource-card{min-width:0;aspect-ratio:.92;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:6px;background:#17140f;color:#ded4c7;border:8px solid transparent;border-image-source:url(/assets/decoration/frames/steampunk_bronze_and_gunmetal_square_frame.webp);border-image-slice:22%;border-image-width:8px;border-image-repeat:stretch;border-radius:0;transition:filter .12s ease,background .12s ease,transform .12s ease}.resource-card:hover{filter:brightness(1.15);background:#1a1711}.resource-card:active{transform:scale(.985)}.resource-card__name{font-size:15px;font-weight:400;text-align:center;line-height:1.2;min-height:36px;display:flex;align-items:center;justify-content:center}.resource-card__price{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:400;color:#d89a2b}@media (max-width: 720px){.resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}.asset-placeholder,.asset-img{display:grid;place-items:center}.asset-placeholder--resource,.asset-img--resource{width:64px;height:54px;object-fit:contain}.asset-placeholder--order-resource,.asset-img--order-resource{width:100%;height:96px;object-fit:contain}.asset-placeholder--ticker-resource,.asset-img--ticker-resource{width:16px;height:16px;object-fit:contain}.asset-placeholder--resource-large,.asset-img--resource-large{width:170px;height:170px;object-fit:contain}.asset-placeholder__shape{width:66%;height:55%;background:#beb29e1c;border:1px solid rgba(190,178,158,.13);transform:skewY(-7deg)}.credit-icon{object-fit:contain}.credit-icon-placeholder{color:#d89a2b;font-size:13px}.market-ticker{position:fixed;left:0;right:0;bottom:var(--bottom-nav-height);z-index:20;height:var(--market-ticker-height);background:#0d0c0a;border-top:1px solid rgba(186,137,73,.24);border-bottom:1px solid rgba(186,137,73,.14)}.market-ticker__viewport{width:100%;height:100%;overflow:hidden;touch-action:none;cursor:grab}.market-ticker__viewport--dragging{cursor:grabbing}.market-ticker__track{display:flex;align-items:center;height:100%;will-change:transform}.ticker-item{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;height:100%;padding:0 18px;white-space:nowrap;border-right:1px solid rgba(180,135,75,.18);background:transparent;color:inherit}.ticker-item__name{font-size:11px;color:#b9ab98}.ticker-item__quote{display:inline-flex;align-items:center;gap:5px;font-size:11px}.ticker-item strong{color:#e5dbce}.market-positive{color:#67b947}.market-negative{color:#cf513d}:root{color-scheme:dark;--bg: #100e0b;--surface: #15130f;--surface-2: #1a1711;--line: rgba(177, 132, 74, .25);--ink: #e8dfd2;--muted: #aaa095;--brass: #d89a2b;--brick: #a8502c;--khaki: #7f8256;--green: #6b9c6b;--warn: #d1743f}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}*{scrollbar-width:none}*::-webkit-scrollbar{display:none}html{overflow-x:hidden}body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--ink);font-family:Roboto Condensed,Arial Narrow,sans-serif;font-size:15px;line-height:1.45}img,svg{max-width:100%}button{font:inherit;color:inherit;cursor:pointer;border:none;background:none}.app{height:100dvh;overflow:hidden;display:flex;flex-direction:column;max-width:430px;margin:0 auto;transform:translateZ(0)}.enterprise-hud{position:relative;z-index:10;width:100%;height:96px;display:grid;grid-template-columns:64px minmax(0,1fr) 104px;align-items:center;gap:10px;padding:10px 12px 14px;background:#12100d}.enterprise-hud:after{content:"";position:absolute;left:0;right:0;bottom:0;aspect-ratio:1290 / 83;transform:translateY(20%);background-image:url(/assets/ui/hud_frame_bottom.webp);background-size:100% 100%;background-repeat:no-repeat;z-index:3;pointer-events:none}.enterprise-hud__art{position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(/assets/ui/hud_bg.webp);background-size:cover;background-position:center;opacity:1;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.38) 0%,rgba(0,0,0,.55) 46%,#000 100%);mask-image:linear-gradient(90deg,#00000061,#0000008c 46%,#000);pointer-events:none}.enterprise-hud>*:not(.enterprise-hud__art){position:relative;z-index:1}.enterprise-hud__emblem{width:64px;height:64px;display:block}.enterprise-hud__main{min-width:0;display:grid;grid-template-rows:20px 26px auto;row-gap:2px;align-content:center}.enterprise-hud__name{font-size:15px;font-weight:400;line-height:20px;text-transform:uppercase;letter-spacing:.01em;color:#e7ded2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-hud__level-row{display:flex;align-items:center;gap:8px;min-width:0}.enterprise-hud__xp{min-width:0;font-size:12px;font-weight:400;color:#cfc4b4;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-hud__level{flex:0 0 auto;display:inline-flex;align-items:center;height:26px;padding:0 13px;background-image:url(/assets/ui/hud_balance_plate.webp);background-size:100% 100%;background-repeat:no-repeat;font-size:12.5px;font-weight:400;line-height:1;color:#d49a39}.enterprise-hud__progress{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:fit-content;max-width:100%;min-width:0;padding:0;border:none;background:none;font:inherit;color:inherit;text-align:left}.enterprise-hud__progress:disabled{cursor:default}.enterprise-hud__bar{width:100%;min-width:0;height:5px;border-radius:3px;background:#ffffff14;overflow:hidden}.enterprise-hud__fill{display:block;height:100%;background:#c8924d}.enterprise-hud__fill-text{font-size:11px;line-height:14px;color:#9b9185;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-hud__fill-text b{font-weight:400;color:#d49a39;font-variant-numeric:tabular-nums}.enterprise-hud__fill-label--short{display:none}@media (max-width: 369px){.enterprise-hud__fill-label{display:none}.enterprise-hud__fill-label--short{display:inline}}.enterprise-hud__currency{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:4px;height:48px}.enterprise-hud__balance{flex:1 1 auto;min-width:0;aspect-ratio:576 / 199;display:flex;align-items:center;gap:5px;padding:0 8px 0 9px;border:none;background-image:url(/assets/ui/hud_balance_plate.webp);background-size:100% 100%;background-repeat:no-repeat;font:inherit;font-size:15px;font-weight:400;color:#e7ded2;font-variant-numeric:tabular-nums}.enterprise-hud__balance b{min-width:0;overflow:hidden;text-overflow:ellipsis;line-height:1;position:relative;top:1px}.enterprise-hud__coin{display:block;flex:0 0 auto;width:20px;height:20px}@media (max-width: 389px){.enterprise-hud{gap:8px}}.top-bar{position:sticky;top:0;z-index:10;background:var(--surface);border-bottom:1px solid var(--line)}.top-title{display:flex;flex-direction:column;gap:6px;padding:10px 12px 8px}.top-name{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.top-name strong{font-size:15px}.resource-bar{display:flex;gap:4px;padding:0 12px 10px;overflow-x:auto}.resource{display:flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;background:var(--surface-2);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.resource.money{color:var(--brass)}.resource.warn{color:var(--warn);box-shadow:inset 0 0 0 1px var(--warn)}.resource-icon{font-size:14px}.type-icon{width:48px;height:48px;flex:0 0 auto}.screen{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 12px calc(var(--bottom-nav-height, 58px) + 20px)}.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}h2{font-size:20px;margin:0;letter-spacing:.01em}h3{font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 8px}.badge{font-size:12px;padding:3px 9px;border-radius:999px;background:var(--surface-2);color:var(--brass)}.badge.muted{color:var(--muted)}.badge--level{display:flex;align-items:center;gap:8px}.badge--level .bld-xp{flex-direction:row;align-items:center;gap:6px}.badge--level .bld-xp__bar{max-width:46px}.muted{color:var(--muted)}.small{font-size:12.5px}.good{color:var(--green)}.warn{color:var(--warn)}.panel{background:var(--surface);border:8px solid transparent;border-image-source:url(/assets/decoration/frames/steampunk_bronze_and_gunmetal_square_frame.webp);border-image-slice:22%;border-image-width:8px;border-image-repeat:stretch;border-radius:0;padding:14px;margin-bottom:12px}.panel.danger{border-color:#4a2f22}.row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0}.row.toggle{cursor:pointer}.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tile{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:12px;border-radius:10px;background:var(--surface);border:1px solid var(--line)}.tile.blocked{border-color:var(--warn)}.tile.empty{border-style:dashed;align-items:center;justify-content:center;min-height:132px;color:var(--muted)}.tile-icon{font-size:26px}.tile-name{font-weight:400}.tile-sub,.tile-fill,.tile-timer{font-size:12px;color:var(--muted)}.tile-fill.warn{color:var(--warn)}.progress{width:100%;height:4px;border-radius:999px;background:var(--surface-2);overflow:hidden;margin:6px 0 2px}.progress-fill{height:100%;background:var(--brass);transition:width .4s linear}.region-megaproject-card{position:relative;overflow:hidden;border-radius:10px;border:1px solid var(--line);margin-bottom:12px;display:flex;flex-direction:column}.region-megaproject-card:has(.region-megaproject-card__art){min-height:clamp(150px,45.6vw,195px)}.region-megaproject-card__art{position:absolute;top:0;right:0;bottom:0;left:0}.region-megaproject-card__overlay{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;gap:6px;padding:5% 15.4% 5% 3.2%;width:68%;background:linear-gradient(90deg,#0c0b09f7,#0c0b09f2 77%,#0c0b0900)}.region-megaproject-card__progress{display:flex;align-items:center;gap:8px}.region-megaproject-card__progress .progress{flex:1 1 auto;min-width:0}.region-megaproject-card__progress span{flex:0 0 auto;font-variant-numeric:tabular-nums}.region-megaproject-card__name{font-size:20px;font-weight:400;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.region-megaproject-card__overlay p{margin:0;font-size:11px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.region-megaproject-card__actions{display:flex;gap:10px;margin-top:4px}.region-megaproject-card__actions .secondary{flex:1 1 0}.region-panel{display:flex;flex-direction:column}.region-panel--enterprise{min-height:180px}.region-panel--deposits{min-height:205px}.region-panel__header{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;margin-bottom:8px;gap:4px}.region-panel__header h3{margin:0;flex:1 1 auto;min-width:0;font-size:12px;letter-spacing:.02em;text-transform:uppercase;color:var(--muted);line-height:1.3}.region-panel>.secondary.wide:last-child{margin-top:auto}.deposit-list{display:flex;flex-direction:column;gap:6px;margin-top:8px;flex:1}.deposit-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;background:var(--surface-2);border:1px solid var(--line);text-align:left;min-width:0}.deposit-row__icon{width:34px;height:34px}.deposit-row__text{display:flex;flex-direction:column;gap:1px;min-width:0}.deposit-row__name{font-size:14px;line-height:1.2}.deposit-row__status{white-space:nowrap}.deposit-row--empty{grid-template-columns:34px minmax(0,1fr);border-style:dashed;border-color:#bebebe4d;background:none;color:var(--muted)}.deposit-row__plus{display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0 auto;border-radius:50%;border:1px solid var(--brass);font-size:16px;line-height:1;color:var(--brass)}.region-enterprises-header{align-items:center;gap:10px}.region-enterprises-header__back{flex:0 0 auto;width:34px;height:34px;border-radius:8px;font-size:24px;font-weight:400;line-height:1;display:flex;align-items:center;justify-content:center;padding:0}.region-enterprises-header h2{margin:0;text-transform:uppercase;letter-spacing:.01em;font-size:16px;line-height:1.2;min-width:0}.region-cover{position:relative;overflow:hidden;border-radius:10px;border:1px solid var(--line);background:var(--surface);min-height:84px;display:flex;margin-bottom:10px}.region-cover__art{position:absolute;top:0;right:0;bottom:0;left:0}.region-cover__text{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:12px 14px;background:linear-gradient(90deg,#0c0b09f2,#0c0b09cc 60%,#0c0b0959)}.region-cover__name{font-size:17px;font-weight:400}.region-cover__count{font-size:13px;color:var(--muted)}.region-enterprises-search,.region-enterprises-view__select{background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:9px 11px;color:var(--ink);font:inherit}.region-enterprises-search:focus,.region-enterprises-view__select:focus{outline:none;border-color:var(--brass)}.region-enterprises-search{width:100%;margin-bottom:8px}.region-enterprises-search::placeholder{color:var(--muted)}.region-enterprises-view{position:relative;display:inline-flex;align-items:center;margin-bottom:10px}.region-enterprises-view__select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:28px;cursor:pointer}.region-enterprises-view__chevron{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:10px;color:var(--muted);pointer-events:none}.enterprises-list{display:flex;flex-direction:column;gap:8px}.enterprise-row{display:grid;grid-template-columns:26px 56px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-radius:10px;background:var(--surface-2);border:1px solid var(--line);min-width:0}.enterprise-row__rank{display:flex;flex-direction:column;align-items:center;gap:1px}.enterprise-row__rank-num{font-size:16px;font-weight:400;color:var(--muted)}.enterprise-row__crown{font-size:12px;filter:grayscale(1) brightness(1.4)}.enterprise-row--rank-1 .enterprise-row__rank-num{color:#e0b84b;font-size:19px}.enterprise-row--rank-1 .enterprise-row__crown{filter:none}.enterprise-row--rank-2 .enterprise-row__rank-num{color:var(--ink)}.enterprise-row--rank-2 .enterprise-row__crown{filter:grayscale(1) brightness(1.8)}.enterprise-row--rank-3 .enterprise-row__rank-num{color:#b57a4a}.enterprise-row--rank-3 .enterprise-row__crown{filter:sepia(1) saturate(2) hue-rotate(-10deg) brightness(.9)}.enterprise-row__image{width:56px;height:56px;border-radius:8px;overflow:hidden;background:var(--surface)}.enterprise-row__text{display:flex;flex-direction:column;gap:1px;min-width:0}.enterprise-row__name{font-size:15px;font-weight:400;color:var(--ink);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-row__mine{align-self:center;color:var(--brass);border:1px solid var(--brass);background:#d89a2b1f;white-space:nowrap}.region-enterprise-row{display:grid;grid-template-columns:44% 56%;align-items:center;gap:10px;flex:1;margin-bottom:10px}.region-enterprise__art{display:block;width:100%;max-height:105px;aspect-ratio:6 / 5;justify-self:end;background:none;border:none;padding:0}.region-enterprise__info{display:flex;flex-direction:column;gap:2px;min-width:0}.region-enterprise__name{display:block;background:none;border:none;padding:0;font-size:18px;font-weight:400;color:var(--ink);text-align:left}.region-enterprise__rank{margin-top:4px;font-size:13px}.region-bonuses-card{min-height:92px}.region-bonuses-list{list-style:none;margin:8px 0 0;padding:0;display:flex;gap:10px}.region-bonuses-list li{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1px}.region-bonuses-list li .muted{min-width:0;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.region-bonuses-list__icon{font-size:17px}.region-bonuses-list strong{font-size:22px;line-height:1.1;color:var(--brass)}.layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:var(--bg);display:flex;flex-direction:column;overflow-y:auto}.layer-head{position:sticky;top:0;display:flex;align-items:center;gap:12px;padding:12px;background:var(--surface);border-bottom:1px solid var(--line)}.back{color:var(--brass);font-size:14px}.layer-body{padding:14px 12px calc(var(--bottom-nav-height, 58px) + 20px)}.bld-hero-media+.layer-body{padding-top:0}.bld-hero-media+.layer-body>.bld-panel:first-child,.bld-hero-media+.layer-body>.panel:first-child{margin-top:2px}.layer-body section{margin-bottom:20px}.recipe-list{display:flex;flex-direction:column;gap:16px}.market-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}.market-row{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px}.market-name{display:flex;align-items:center;gap:10px;margin-bottom:10px}.market-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.price{display:block;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}.market-name.as-button{width:100%;text-align:left}.grow{flex:1}.quote{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.book{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.book-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.book h4{font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 6px}.book-level{display:flex;justify-content:space-between;width:100%;padding:4px 6px;border-radius:5px;font-size:13px;font-variant-numeric:tabular-nums}.book-level:hover{background:var(--surface-2)}.npc-line{margin:10px 0;padding:7px 9px;border-radius:6px;background:var(--surface-2)}.order-form{display:flex;flex-direction:column;gap:9px}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--surface-2);border-radius:8px;padding:3px}.seg{padding:7px;border-radius:6px;font-size:13.5px;color:var(--muted)}.seg.active{background:var(--bg);color:var(--ink);font-weight:400}.field{display:flex;flex-direction:column;gap:4px}.field input,.field select{background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:9px 11px;color:var(--ink);font:inherit;font-variant-numeric:tabular-nums}.field input:focus,.field select:focus{outline:none;border-color:var(--brass)}.linkish{align-self:flex-start;color:var(--brass)}.wide{width:100%}.filters{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.chip-btn{padding:6px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);font-size:13px}.chip-btn.active{border-color:var(--brass);color:var(--brass)}.order-list{display:flex;flex-direction:column;gap:10px}.order-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px}.order-card.doable{border-color:var(--khaki)}.order-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.order-reward{text-align:right;font-variant-numeric:tabular-nums}.order-foot{display:flex;justify-content:space-between;margin-bottom:9px}.primary,.secondary{padding:10px 14px;border-radius:8px;font-weight:400;font-size:14px;text-align:center}.primary{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-image:url(/assets/ui/upgrade_button.webp);background-size:100% 100%;background-repeat:no-repeat;border-radius:0;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.45)}.primary:active{filter:brightness(.94)}.primary--compact{background-image:url(/assets/ui/compact_button.webp);color:#171512;text-shadow:none}.secondary{background:var(--surface-2);padding:0 4px;border:10px solid transparent;border-image-source:url(/assets/decoration/frames/steampunk_bronze_and_gunmetal_square_frame.webp);border-image-slice:22%;border-image-width:10px;border-image-repeat:stretch;border-radius:0}.primary:disabled,.secondary:disabled{opacity:.4;cursor:default}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);background:var(--surface);padding-bottom:env(safe-area-inset-bottom);border-style:solid;border-width:6px 14px;border-image-source:url(/assets/ui/bottom_nav_bg.webp);border-image-slice:15% 6%;border-image-width:6px 14px;border-image-repeat:stretch}.nav-item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px 9px;color:var(--muted)}.nav-item.active .nav-icon{color:#f2a000}.nav-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center}.nav-label{font-size:10px;line-height:1;white-space:nowrap}.onboarding{justify-content:space-between;padding:0}.onboarding-body{padding:40px 22px 20px;flex:1;min-height:0;overflow-y:auto}.onboarding-mark{font-size:13px;letter-spacing:.28em;color:var(--brass);margin-bottom:28px}.onboarding h1{font-size:26px;line-height:1.2;margin:0 0 12px}.onboarding-actions{padding:16px 22px calc(22px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}.onboarding-actions .primary{width:100%;min-height:48px;padding:14px;text-transform:uppercase;letter-spacing:.3px}.dots{display:flex;gap:6px;justify-content:center}.dot{width:6px;height:6px;border-radius:999px;background:var(--line)}.dot.on{background:var(--brass)}.branch-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.branch{display:flex;gap:12px;align-items:flex-start;text-align:left;padding:14px;border-radius:10px;background:var(--surface);border:1px solid var(--line)}.branch.picked{border-color:var(--brass);background:var(--surface-2)}.branch-icon{font-size:24px}.branch-text{display:flex;flex-direction:column;gap:4px}.branch-numbers{display:flex;gap:12px;font-size:12.5px;margin-top:2px}.toast{position:fixed;left:50%;bottom:84px;transform:translate(-50%);z-index:40;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);padding:10px 16px;border-radius:999px;font-size:13.5px;white-space:nowrap}.tile.locked{opacity:.55;border-style:dashed;cursor:default}.segmented.tabs{grid-template-columns:repeat(auto-fit,minmax(0,1fr));margin-bottom:10px}.chronicle{display:flex;flex-direction:column;gap:2px}.chronicle-item{border-bottom:1px solid var(--line);padding:2px 0}.chronicle-item:last-child{border-bottom:none}.chronicle-head{display:flex;align-items:flex-start;gap:9px;width:100%;padding:8px 0;text-align:left;color:var(--ink)}.chronicle-head:disabled{cursor:default}.chronicle-icon{font-size:16px;line-height:1.2}.chronicle-card{display:flex;flex-direction:column;gap:7px;padding:9px 11px 11px;margin:0 0 8px 25px;background:var(--surface-2);border-radius:8px}.stat-list{display:flex;flex-direction:column;gap:6px}.stat-list li{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.stat-list li>span:first-child{min-width:0}.stat-list.small{font-size:13px}.chronicle,.stat-list{list-style:none;padding-left:0;margin:0}.rank-list{display:flex;flex-direction:column;gap:10px;list-style:none;padding-left:0;margin:0}.rank-item.mine{border-left:2px solid var(--accent);padding-left:8px;margin-left:-10px}.rank-head{display:flex;align-items:center;gap:10px;width:100%;text-align:left;color:var(--ink);padding:4px 0}.rank-place{font-size:19px;font-weight:400;min-width:28px;font-variant-numeric:tabular-nums}.rank-count{text-align:right;font-variant-numeric:tabular-nums}.rank-card{display:flex;flex-direction:column;gap:7px;padding:9px 11px 11px;margin-top:8px;background:var(--surface-2);border-radius:8px}.badge-shelf{display:flex;flex-direction:column;gap:8px;list-style:none;padding-left:0;margin:8px 0 0}.badge-card{display:flex;align-items:center;gap:10px}.badge-mark{font-size:20px}.recycle-item{display:block}.recycle-head{display:flex;align-items:center;gap:9px;width:100%;text-align:left;color:var(--ink);padding:6px 0}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:18px;background:#0000008c}.celebration{max-width:420px;width:100%;display:flex;flex-direction:column;gap:10px;text-align:left}.celebration-mark{font-size:34px;line-height:1}.celebration h2{margin:0}.outpost-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.stat-list li.mine{color:var(--fg);font-weight:400}.stat-list li.mine span.muted{color:var(--brass)}.tutorial-band{position:fixed;z-index:200;background:#0a0806c7}.tutorial-ring{position:fixed;z-index:201;border:2px solid var(--brass);border-radius:10px;pointer-events:none;box-shadow:0 0 0 3px #d4a54a40}.tutorial-card{position:fixed;z-index:202;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));box-shadow:0 8px 24px #00000080}.tutorial-card__dots{display:flex;gap:5px;margin-bottom:8px}.tutorial-dot{width:5px;height:5px;border-radius:999px;background:var(--line)}.tutorial-dot.on{background:var(--brass)}.tutorial-card__title{margin:0 0 6px;font-size:15px}.tutorial-card__body{margin:0 0 12px;font-size:13px;line-height:1.4;color:var(--muted)}.tutorial-card__actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.tutorial-card__skip{color:var(--muted);font-size:12px;text-decoration:underline;background:none;border:none;padding:0}.tutorial-card__next{background:var(--brick);color:#fff;border:none;border-radius:8px;padding:9px 16px;font-weight:400;font-size:13px}
