:root{--game-navy:#602a31;--game-ink:#4e3a32;--game-gold:#ba955e;--game-paper:#f7f0e3;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--serif:Georgia,'Times New Roman',serif}.game-mode{color:#574234;font-family:var(--sans)}.game-mode button,.game-mode input,.game-mode select{font-family:var(--sans)}.game-mode button:focus-visible,.game-mode a:focus-visible{outline:3px solid #d8b77a;outline-offset:3px}.game-mode .game-art{filter:saturate(.78)}.game-launch{background:#46272a;color:#fff6e8}.game-launch:before{background:linear-gradient(90deg,#41232be8,#45232b7d),url('assets/brand/hero.png') center/cover}.game-launch:after{background:linear-gradient(0deg,#2e1727aa,transparent 70%)}.game-launch h1{font:400 64px Georgia,serif;letter-spacing:5px;color:#fff6e9;text-shadow:none}.game-launch .launch-tagline{font-size:19px;color:#dfc5b2}.game-launch .launch-eyebrow{color:#c3a17f;font-size:8px}.game-launch .loading-crest{width:100px;height:100px;margin-bottom:24px}.game-launch .loading-crest .aventra-mark{border-radius:50%}.game-launch .load-track{height:7px;padding:0;background:#fff2;border:0;box-shadow:none;border-radius:9px}.game-launch .load-track i{background:#d7b387;box-shadow:none}.game-launch .launch-home,.game-launch .launch-tip,.launch-footer,.launch-progress-copy>span{color:#d4bbae}.launch-progress-copy>b{color:#e7c79d}.launch-card{width:min(350px,90vw)}.game-mode .hud-player{top:22px;left:24px;width:234px}.game-mode .player-profile{background:#fffaf0f5;border:1px solid #d6c4a2;border-bottom:2px solid #b99c70;border-radius:12px;padding:10px 15px 10px 10px;gap:10px;box-shadow:0 5px 20px #3d331a16;color:#63363b}.game-mode .player-crest,.game-mode .player-crest .aventra-mark{height:48px;width:48px;flex-shrink:0;border-radius:50%}.game-mode .game-wordmark{font-size:8px;letter-spacing:1.8px;color:#9d8065;font-weight:600}.game-mode .player-info>strong{font:400 24px Georgia,serif;color:#632d34;letter-spacing:-.4px}.game-mode .player-info>small{color:#a28a6e;font-size:8px;letter-spacing:.4px}.game-mode .xp-track{height:4px;background:#e8dfce;border:0}.game-mode .xp-track i{background:#a38a59}.game-mode .level-badge{background:#762d36;border:2px solid #eedfc3;box-shadow:none;color:#fff5e3;border-radius:50%;height:29px;width:29px;font:17px Georgia,serif;right:-8px;top:-7px}.game-mode .village-identity{background:#f8f2e3eb;color:#81715b;border:1px solid #d6c5a080;border-radius:5px;text-shadow:none;font-size:8px;margin-top:8px;padding:3px 7px}.game-mode .realm-heading{display:none}.game-mode .hud-centre{top:144px;left:24px;gap:7px}.game-mode .hud-counter{background:#fff8e9e8;border:1px solid #cdb58b;border-bottom:2px solid #ad9167;color:#684e3a;border-radius:7px;box-shadow:0 3px 12px #3d331a12;min-width:91px;gap:7px;padding:6px 8px}.game-mode .hud-counter strong{font-size:12px;color:#684e3a}.game-mode .hud-counter small{color:#a38a6d;font-size:7px;letter-spacing:.6px}.game-mode .hud-counter>span:first-child .game-art{width:28px;height:28px}.game-mode .happiness-counter{display:none}.game-mode .wallet-top{right:24px;top:22px}.game-mode .wallet-chip{background:#fff9efee;color:#762d36;border:1px solid #d8c4a0;border-bottom:2px solid #b59a70;border-radius:7px;box-shadow:0 4px 14px #3d331a14;padding:5px 13px 5px 7px}.game-mode .wallet-chip b{font-size:11px;font-weight:500}.game-mode .preview-label{background:#fff8e8c9;color:#8f785b;font-size:7px;border:1px solid #d7c6a250;letter-spacing:.6px}.game-mode .hud-resources{right:28px;top:84px;width:224px;gap:12px}.game-mode .game-resource{background:#fff8e9ef;border:1px solid #d6c29a;border-bottom:2px solid #b59c72;border-radius:8px;height:47px;box-shadow:0 4px 12px #3d331a12}.game-mode .resource-track small{color:#9a8160;font-size:7px;letter-spacing:1px}.game-mode .resource-track b{color:#614732;font-size:17px;text-shadow:none;font-weight:650}.game-mode .resource-track i{background:#c5a976;opacity:.6;height:3px}.game-mode .large-resource-icon .game-art{width:34px;height:34px}.game-mode .left-game-tools{left:24px;top:211px;gap:15px}.game-mode .game-tool.parchment{background:#fff7e8ee;border:1px solid #d8c6a4;border-bottom:2px solid #ae926c;border-radius:10px;box-shadow:0 4px 12px #3d331a16}.game-mode .game-tool{width:57px;height:59px}.game-mode .game-tool>b{font-size:9px;color:#7a5f43;font-weight:500;text-shadow:none;white-space:nowrap}.game-mode .game-tool>span .game-art{width:34px;height:34px}.game-mode .game-tool>i{background:#762d36;border-color:#f4e5cc}.game-mode .right-game-tools .game-tool{width:38px;height:39px;background:#fff9e9e8;border:1px solid #d5c29d;border-bottom:2px solid #bba17b;color:#7b5d42;border-radius:7px;box-shadow:0 3px 10px #3d331a12}.game-mode .zoom-tools{background:#fff9e9e8;border:1px solid #d5c29d;border-radius:7px;box-shadow:none}.game-mode .zoom-tools button{color:#806347}.game-mode .bottom-dock-game{background:#fff8e9f5;border:1px solid #d9c6a3;border-bottom:3px solid #b79b73;border-radius:13px;box-shadow:0 8px 30px #33251522;padding:7px 10px 8px;gap:8px;bottom:26px}.game-mode .dock-game-item{border-radius:8px;min-width:66px;width:66px;height:62px;padding:3px 7px 5px}.game-mode .dock-game-item>b{font-size:10px;color:#806346;font-weight:500;text-shadow:none;letter-spacing:0}.game-mode .dock-game-item>span{height:36px}.game-mode .dock-game-item .game-art,.game-mode .dock-game-item .aventra-mark{width:36px;height:36px}.game-mode .dock-game-item .aventra-mark{border-radius:50%}.game-mode .dock-game-item:hover{background:#ead8bd6b}.game-mode .latest-story{display:none}.game-mode .journey-teaser{background:#fff8e9ee;border:1px solid #d6c29e;border-bottom:2px solid #b89b72;border-radius:10px;box-shadow:0 5px 18px #3d331a16;max-width:248px;bottom:128px;left:24px}.game-mode .teaser-copy>small{color:#a0805d;font-size:7px;letter-spacing:1.2px}.game-mode .teaser-copy>strong{font:400 16px/1.4 Georgia,serif;color:#633c35}.game-mode .teaser-copy>span:last-child{font-size:10px;color:#9c8061}.game-mode .teaser-meter{height:4px;background:#e5d6bc}.game-mode .teaser-meter i{background:#a98c53}.game-mode .contribution-chip{background:#fff7e7ef;border:1px solid #d6c29b;border-radius:7px;color:#7b5c39;box-shadow:none}.game-mode .contribution-chip>span:last-child{font-size:10px}.game-mode .game-clock{background:#fff8e6de;color:#725438;border:1px solid #d5c099;border-radius:8px;left:24px;bottom:30px;padding:9px 12px;box-shadow:none}.game-mode .game-clock strong{font-size:12px;color:#725438}.game-mode .game-clock small{font-size:7px;color:#a58a67}.game-mode .game-clock button{background:#eaddc6;color:#805c37;border:1px solid #c7ac81}.game-mode .corner-links,.game-mode .corner-links a,.game-mode .corner-links button{font-size:9px;color:#fbf1d9;text-shadow:0 1px 4px #354729}.game-mode .modal{background:#faf5eb;border:1px solid #dac9ad;border-bottom:3px solid #ba9c75;border-radius:14px;box-shadow:0 24px 90px #241c1a55;color:#65503d;max-width:1020px}.game-mode .modal-backdrop{background:#322a254f;backdrop-filter:blur(7px)}.game-mode .modal-header{background:#f2e9d9;border-bottom:1px solid #dfcdb0;padding:27px 30px 23px}.game-mode .modal-header h2{color:#692e36;font:400 29px/1.2 Georgia,serif;letter-spacing:-.6px}.game-mode .modal-header .eyebrow{font-size:8px;font-weight:500;color:#a38965;letter-spacing:1.4px}.game-mode .modal-header p{font-size:12px;line-height:1.7;color:#948066}.game-mode .modal-title-icon{background:#e9dbc4;border:1px solid #d7c4a3;border-radius:10px;box-shadow:none}.game-mode .modal-title-icon .aventra-mark{border-radius:50%}.game-mode .modal-close{background:#faf3e8;color:#986d50;border:1px solid #d5bd98;border-radius:6px;box-shadow:none}.game-mode .modal-tabs{background:#f5eddf;border-color:#e2d2b9;padding-top:6px}.game-mode .modal-tabs button{font-size:12px;color:#a38c6d;font-weight:500}.game-mode .modal-tabs button.active{background:#fff9ed;color:#762d36;border-color:#9f6661;box-shadow:none}.game-mode .modal-body{font-size:13px;line-height:1.7;padding:26px 30px 30px}.game-mode .btn{min-height:39px;font-size:11px;border:1px solid #d5bea0;border-bottom:2px solid #bca07c;border-radius:6px;background:#f1e6d4;color:#8a6848;box-shadow:none;font-weight:500}.game-mode .btn.primary,.game-mode .game-confirm:not(.cancel){background:#762d36;border-color:#975057;border-bottom-color:#4e1b23;color:#fff4e4;box-shadow:none}.game-mode .btn:disabled{opacity:.5}.game-mode .paper-card{background:#fffaf1;border:1px solid #e2d2b9;border-radius:9px}.game-mode .paper-card h3{font:400 24px Georgia,serif;color:#664533}.game-mode .body-copy,.game-mode .paper-card>p{font-size:12px;line-height:1.85;color:#998267}.game-mode .section-label{font-size:9px;color:#a18562;letter-spacing:1px;font-weight:500}.game-mode .notice{background:#f0e7d6;border:1px solid #dfcaaa;border-radius:7px;color:#937856;font-size:11px;line-height:1.8}.game-mode .stat-tile{background:#f5ecdc;border:1px solid #e0cdb0;border-radius:8px;box-shadow:none}.game-mode .stat-tile strong{color:#762d36;font-family:Georgia,serif;font-weight:400}.game-mode .stat-tile small,.game-mode .stat-tile p{color:#a08968}.game-mode .tag{font-size:8px;color:#9b7b54;background:#eee1ca;border:1px solid #ddc7a7;border-radius:4px}.game-mode .villager-tile,.game-mode .catalog-card,.game-mode .building-tile{background:#fff9ee;border:1px solid #e0ccb0;border-radius:9px}.game-mode .villager-tile strong{font:400 17px Georgia,serif;color:#694b37}.game-mode .villager-tile small{font-size:11px;color:#a38a6b}.game-mode .villager-tile .mood{font-size:10px}.game-mode .portrait{border:1px solid #d2b893;border-radius:50%;box-shadow:none}.game-mode .portrait.large{border-radius:13px}.game-mode .building-tile h3,.game-mode .catalog-card h3{font:400 23px Georgia,serif;color:#664533}.game-mode .catalog-card>img{height:130px}.game-mode .catalog-card p{font-size:11px;color:#a18562}.game-mode .select,.game-mode input{background:#fffbf3;border-color:#dac8ac;color:#7c6047;border-radius:5px}.game-mode .empty{color:#a58c6b}.game-mode .meter{background:#e5d9c3}.game-mode .meter i{background:#a29562}.game-mode .toast{background:#fffaeef5;border:1px solid #d9c19b;border-bottom:2px solid #b7996f;color:#795737;border-radius:8px;font-size:12px}.game-mode .toast.error{border-color:#bc7b70;color:#944c44}.game-mode .life-panel{background:#fcf5e8;border:1px solid #d4bf99;border-bottom:3px solid #b39870;border-radius:10px}.game-mode .life-heading h2{font:400 24px Georgia,serif;color:#6d3b37}.game-mode .resident-card,.game-mode .building-actions,.game-mode .move-actions,.game-mode .control-dock{background:#fcf5e9f5;border-color:#cfb98f;border-bottom-color:#b69a70;box-shadow:0 5px 25px #2c231d2b}.game-mode .building-action.upgrade{background:#762d36;border-color:#ab6969;color:#fff3dc}.game-mode .save-alert{bottom:170px;background:#762d36;border-color:#c59680;color:#fff4dc}.game-mode .save-alert[hidden]{display:none}@media(max-width:1100px){.game-mode .hud-player{width:210px;left:18px;top:18px}.game-mode .hud-centre{left:18px;top:135px}.game-mode .left-game-tools{left:18px;top:201px}.game-mode .hud-resources{width:205px;right:24px;top:76px}.game-mode .journey-teaser{left:18px;max-width:226px}.game-mode .dock-game-item{min-width:60px;width:60px}}@media(max-width:760px){.game-mode .hud-player{top:13px;left:12px;width:172px}.game-mode .player-profile{padding:8px 10px 8px 7px;border-radius:9px;gap:7px}.game-mode .player-crest,.game-mode .player-crest .aventra-mark{width:37px;height:37px}.game-mode .game-wordmark{font-size:6px;letter-spacing:1.2px}.game-mode .player-info>strong{font-size:20px}.game-mode .player-info>small{font-size:6px}.game-mode .level-badge{height:24px;width:24px;font-size:13px;right:-5px;top:-5px}.game-mode .village-identity{font-size:7px;margin-top:5px;padding:3px 5px}.game-mode .hud-resources{right:18px;top:14px;width:150px;gap:10px 11px}.game-mode .game-resource{height:40px;border-radius:6px;padding:4px 8px 5px 4px}.game-mode .resource-track small{font-size:6px}.game-mode .resource-track b{font-size:13px}.game-mode .large-resource-icon .game-art{height:26px;width:26px}.game-mode .hud-centre{top:136px;left:12px;gap:5px}.game-mode .hud-counter{min-width:76px;gap:4px;padding:4px 5px}.game-mode .hud-counter strong{font-size:10px}.game-mode .hud-counter small{font-size:6px}.game-mode .hud-counter>span:first-child .game-art{width:23px;height:23px}.game-mode .wallet-top{top:127px;right:12px}.game-mode .wallet-chip{min-height:32px;padding:4px 8px 4px 5px;gap:3px}.game-mode .wallet-chip b{font-size:9px}.game-mode .preview-label{display:none}.game-mode .left-game-tools{left:12px;top:204px;gap:12px}.game-mode .game-tool{width:44px;height:46px;border-radius:8px}.game-mode .game-tool>span .game-art{width:27px;height:27px}.game-mode .game-tool>b{font-size:7px}.game-mode .bottom-dock-game{bottom:max(20px,env(safe-area-inset-bottom));gap:3px;padding:6px 7px 7px;width:min(390px,calc(100vw - 26px));justify-content:space-between;border-radius:11px}.game-mode .dock-game-item{min-width:0;width:auto;flex:1;height:53px;padding:3px}.game-mode .dock-game-item>b{font-size:8px}.game-mode .dock-game-item>span{height:31px}.game-mode .dock-game-item .game-art,.game-mode .dock-game-item .aventra-mark{width:30px;height:30px}.game-mode .journey-teaser{display:none}.game-mode .game-clock{top:165px;bottom:auto;left:12px;padding:5px 8px;gap:5px}.game-mode .game-clock strong{font-size:10px}.game-mode .game-clock small{font-size:6px}.game-mode .game-clock button{width:22px;height:23px;font-size:8px}.game-mode .corner-links{bottom:7px;right:14px;gap:9px}.game-mode .corner-links,.game-mode .corner-links a,.game-mode .corner-links button{font-size:7px}.game-mode .contribution-chip{right:14px;bottom:111px;padding:5px 7px}.game-mode .contribution-chip>span:last-child{font-size:8px}.game-mode .right-game-tools{right:14px;bottom:195px;gap:7px}.game-mode .right-game-tools .game-tool{width:32px;height:33px}.game-mode .zoom-tools{right:14px;bottom:150px}.game-mode .modal-backdrop{padding:10px}.game-mode .modal{max-height:calc(100dvh - 28px);border-radius:11px}.game-mode .modal-header{padding:21px 17px 18px;gap:10px}.game-mode .modal-header h2{font-size:24px}.game-mode .modal-header p{font-size:11px}.game-mode .modal-body{padding:19px 17px 23px;font-size:12px}.game-mode .modal-tabs{padding:5px 13px 0;gap:8px}.game-mode .modal-tabs button{font-size:10px;padding:12px 10px}.game-mode .catalog-grid{grid-template-columns:1fr 1fr;gap:10px}.game-mode .catalog-card{padding:15px 11px}.game-mode .catalog-card>img{height:105px}.game-mode .catalog-card h3{font-size:19px}.game-mode .catalog-card p{font-size:9px}.game-mode .residents-grid{grid-template-columns:1fr}.game-mode .life-panel{left:66px;right:14px;top:203px;bottom:120px;width:auto;max-height:none}.game-mode .resident-card{bottom:120px;left:13px;max-width:calc(100vw - 72px)}.game-mode .building-actions,.game-mode .move-actions{bottom:110px}.game-mode .toast-region{top:191px}.game-mode .save-alert{bottom:145px;font-size:9px}.game-launch h1{font-size:53px}}@media(max-width:360px){.game-mode .hud-player{width:151px}.game-mode .hud-resources{width:133px;right:15px}.game-mode .player-info>strong{font-size:18px}.game-mode .player-crest,.game-mode .player-crest .aventra-mark{width:30px;height:30px}.game-mode .catalog-grid{grid-template-columns:1fr}}

.game-mode .modal.narrow:has(.wallet-choices),.game-mode .modal.narrow:has(.connected-account){max-width:610px}.wallet-intro-copy{margin-bottom:24px}.wallet-intro-copy h3{font:400 28px Georgia,serif;color:#6a3039}.wallet-intro-copy p{font-size:12px;color:#87705a;margin-top:9px;line-height:1.7}.wallet-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:15px}.wallet-choice{display:flex;align-items:center;gap:12px;min-height:70px;padding:13px 15px;background:#fffaf1;border:1px solid #ddceb7;border-radius:9px;text-align:left;color:#533d31;transition:background .2s}.wallet-choice:hover{background:#f2e7d5}.wallet-choice img{border-radius:9px;object-fit:contain;flex-shrink:0}.wallet-choice>span{flex:1;font-size:13px;font-weight:600}.wallet-choice small{display:block;color:#6e8058;font-weight:400;font-size:10px;margin-top:5px}.wallet-choice.unavailable small{color:#93806b}.wallet-choice svg{width:17px;height:17px}.wallet-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:28px 0 13px}.wallet-section-heading h3{font:400 23px Georgia,serif}.wallet-section-heading>span{font-size:10px;color:#8a735a}.network-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:19px}.network-choice{display:flex;align-items:center;gap:10px;text-align:left;background:#fffaf1;border:1px solid #e0d0b9;border-radius:7px;padding:12px;color:#654c3b;min-height:59px}.network-choice img{border-radius:50%;object-fit:contain}.network-choice span{font-size:12px;flex:1}.network-choice small{display:block;font-size:9px;color:#927a61;margin-top:4px}.game-mode .network-choice:disabled{opacity:.75;cursor:default}.network-choice.selected{border-color:#8c9c73;background:#edf0e3}.network-choice>svg{width:16px;height:16px;color:#738856}.wallet-footnote{font-size:11px;line-height:1.75;color:#8b745b;border-top:1px solid #e5d7c1;padding-top:16px;margin-top:18px}.connected-account{display:flex;align-items:center;gap:12px}.connected-account>div{flex:1;min-width:0}.connected-account small{display:block;font-size:9px;letter-spacing:.5px;color:#85725d}.connected-account strong{display:block;font-size:20px;margin:6px 0}.connected-account>div>span{font-size:11px;color:#7b8b60}.connected-symbol img{border-radius:10px}.wallet-native{background:#eee6d6;padding:22px;border-radius:10px;margin:24px 0}.wallet-native small{display:block;font-size:9px;letter-spacing:1px;color:#8e7459}.wallet-native strong{display:block;font:400 34px Georgia,serif;color:#713641;margin:10px 0}.wallet-native strong>span{font-size:18px;color:#9c8165}.wallet-native code{font-size:10px;color:#8a7155;overflow-wrap:anywhere}

/* Original visual direction retained; practical controls and wallet fixes. */
.game-mode{position:fixed!important;inset:0}.game-mode .player-profile{padding-left:17px}.game-mode .player-info>strong,.game-mode .modal-header h2,.game-mode .modal-header p{text-shadow:none!important}.game-mode .modal-body{font-size:13px}.game-mode .modal-body p{color:#7c654f}.game-mode .aventra-type{font:500 20px Georgia,serif;color:#762d36}.game-mode .loading-crest{display:none}.game-mode .game-wordmark{font-size:9px}.game-mode .village-identity{font-size:9px;letter-spacing:.2px;line-height:1.6}.game-mode .dock-game-item>span,.game-mode .modal-header svg{color:#795c42}.game-mode .dock-game-item svg{width:26px;height:26px}.game-mode .game-tool>b{font-size:10px}.game-mode .province-map{position:absolute;right:78px;bottom:250px;z-index:6;width:220px;padding:8px;background:#fff9edf2;border:1px solid #cfb98f;border-radius:9px;box-shadow:0 8px 30px #3d331a26}.province-map canvas{width:100%;height:140px;display:block;border-radius:5px;touch-action:none;cursor:crosshair}.province-map>span{display:flex;justify-content:space-between;padding:8px 2px 1px;font-size:9px;color:#7d654c}.province-map b{color:#762d36;font-weight:500}.game-mode .right-game-tools{gap:7px}.game-mode .wallet-section-heading h3{margin:0}.game-mode .wallet-intro-copy h3{margin:0 0 10px}.game-mode .wallet-native strong{font-weight:400}.province-districts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 22px}.province-districts button{min-height:56px;border:1px solid #dac7aa;border-radius:7px;background:#f8f0e1;color:#70543e;padding:10px;font-size:11px;text-align:left}.province-districts small{display:block;font-size:9px;color:#988165;margin-top:5px}.collect-all-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.collect-all-row p{font-size:12px;line-height:1.7}
@media(max-width:760px){.game-mode .village-identity{font-size:7px}.game-mode .game-tool>b{font-size:8px}.game-mode .province-map{right:55px;bottom:225px;width:190px}.province-map canvas{height:125px}.wallet-choices,.network-grid{gap:7px}.wallet-choice{padding:10px;gap:8px}.wallet-choice>span{font-size:11px}.wallet-choice img{width:29px;height:29px}.wallet-choice>svg{display:none}.network-choice{padding:9px;gap:7px}.network-choice>span{font-size:11px}.wallet-native code{font-size:9px}.province-districts{grid-template-columns:1fr 1fr}.collect-all-row{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.game-mode .bottom-dock-game{gap:3px;max-width:calc(100vw - 26px);padding-left:6px;padding-right:6px}.game-mode .dock-game-item{flex:1;min-width:0;width:auto;padding-left:3px;padding-right:3px}.game-mode .dock-game-item>b{font-size:9px}.game-mode .dock-game-item svg{width:23px;height:23px}}

.scenic-exit{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:25;border:1px solid #ccb58f;border-radius:8px;padding:10px 15px;background:#fff8e9ec;color:#70543c;box-shadow:0 4px 18px #23341e20;font-size:11px}.scenic-exit kbd{margin-left:12px;font:10px var(--sans);border:1px solid #d4c09c;border-radius:3px;padding:2px 5px}.scenic-view>.hud-player,.scenic-view>.realm-heading,.scenic-view>.wallet-top,.scenic-view>.hud-resources,.scenic-view>.hud-centre,.scenic-view>.left-game-tools,.scenic-view>.game-clock,.scenic-view>.province-map,.scenic-view>.right-game-tools,.scenic-view>.zoom-tools,.scenic-view>.journey-teaser,.scenic-view>.latest-story,.scenic-view>.bottom-dock-game,.scenic-view>.contribution-chip,.scenic-view>.corner-links,.scenic-view>.building-actions,.scenic-view>.save-alert,.scenic-view>.control-dock{display:none!important}

/* Keep the time and wallet controls readable at both map sizes. */
.game-mode .game-clock { text-shadow: none; }
.game-mode .game-clock small { color: #84664b; }
.game-mode #day-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  color: #815224;
  background: #f2dfb9;
  border: 1px solid #dec6a0;
  border-radius: 50%;
}
.game-mode #day-icon svg { width: 21px; height: 21px; stroke-width: 1.8; }
.game-mode .wallet-chip > [data-icon] { display: grid; place-items: center; color: #762d36; }
.game-mode .wallet-chip > [data-icon] svg { width: 21px; height: 21px; stroke-width: 1.8; }
.game-mode .game-social-link {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  background: #fff9efee;
  border: 1px solid #d8c4a0;
  border-bottom: 2px solid #b59a70;
  border-radius: 7px;
  box-shadow: 0 4px 14px #3d331a14;
}
.game-mode .game-social-link:hover { background: #f2e2cd; }
@media (max-width: 760px) {
  .game-mode .wallet-top { gap: 6px; }
  .game-mode #day-icon { width: 25px; height: 25px; }
  .game-mode #day-icon svg, .game-mode .wallet-chip > [data-icon] svg { width: 17px; height: 17px; }
  .game-mode .game-social-link { width: 32px; height: 32px; }
  .game-mode .game-social-link img { width: 14px; height: 14px; }
}

.rome-3d-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.rome-3d-canvas[hidden],#village-canvas[hidden]{display:none}
.game-mode .map-mode{font-weight:750;font-size:12px;letter-spacing:.03em}
.game-mode .map-mode[aria-pressed="true"]{background:#35584b;color:#fff1ce;border-color:#d9bf88}

.game-mode .first-steps {
  position: absolute;
  z-index: 9;
  left: 24px;
  bottom: 123px;
  width: min(256px, calc(100% - 48px));
  padding: 12px;
  border: 1px solid #d6c29e;
  border-bottom: 2px solid #b89b72;
  border-radius: 10px;
  background: #fff8edf7;
  box-shadow: 0 5px 18px #3d331a20;
}
.first-steps[hidden], .scenic-view > .first-steps, .selecting > .first-steps,
#app:has(.first-steps:not([hidden])) > .journey-teaser,
#app:has(#move-actions:not(.hidden), #control-dock:not(.hidden), #resident-card:not(.hidden)) > .first-steps {
  display: none;
}
.first-steps-copy { padding-right: 24px; }
.first-steps-copy small { display: block; font-size: 10px; font-weight: 700; color: #795c41; }
.first-steps-copy strong { display: block; margin-top: 3px; font: 700 17px Georgia, serif; color: #602a31; }
.first-steps-copy p { margin: 4px 0 8px; font-size: 11px; line-height: 1.4; }
.first-steps button { cursor: pointer; }
.first-steps-action {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #64323a;
  border-radius: 6px;
  background: #743944;
  color: #fff9ef;
  font-size: 11px;
  font-weight: 700;
}
.first-steps-action:hover { background: #602a31; }
#dismiss-welcome {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #76553d;
}
#dismiss-welcome svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .game-mode .first-steps { left: 13px; bottom: max(100px, calc(env(safe-area-inset-bottom) + 80px)); width: min(204px, calc(100% - 133px)); }
  .first-steps-action { min-height: 40px; }
}
