@font-face{font-family:Silkscreen;src:url('assets/Silkscreen.ttf') format('truetype');font-weight:400;font-display:swap}
.game-mode{--sidebar:0px;--game-ink:#2e4232;--game-muted:#53634a;--paper:#f7f1e2;--game-green:#527c3b;--dark:#24362c;background:#dce5cd;color:var(--game-ink);min-height:100dvh}
.game-mode ::selection{background:#bacd8d;color:#203528}.game-mode button{border-radius:0}.game-mode :focus-visible{outline:3px solid #bf7d33;outline-offset:3px}.game-mode .skip-link{background:#24362c;color:#faf2d9}
.game-header{height:80px;background:var(--dark);color:#f6f0dc;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 28px;border-bottom:4px solid #15271e}
.game-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.game-brand>svg{width:40px;height:40px;image-rendering:pixelated}.game-brand>span{font-family:Silkscreen,Manrope,sans-serif;font-size:24px;line-height:32px;font-weight:400;letter-spacing:-.025em;color:#f6e5b4}.game-brand small{font-family:Manrope,system-ui,sans-serif;display:block;font-size:12px;line-height:16px;letter-spacing:.04em;color:#c5d0b6;margin-top:2px}
.game-nav{display:flex;align-self:stretch;gap:8px;align-items:center}.game-nav button{color:#c9d5c0;font-size:14px;line-height:20px;padding:12px 16px;border:2px solid transparent}.game-nav button:hover{background:#314b37}.game-nav button[aria-pressed=true]{background:#3f573a;border-color:#71855b;color:#fbf4dc;box-shadow:inset 0 2px #ffffff10,inset 0 -2px #16251740}
.player-hud{display:flex;align-items:center;gap:12px}.pixel-avatar{width:36px;height:36px;position:relative;background:#c49e7a;border:4px solid #554b3e;box-shadow:inset 0 5px #5e4b3c;image-rendering:pixelated}.pixel-avatar:before,.pixel-avatar:after{content:'';position:absolute;width:5px;height:5px;top:11px;background:#283b35}.pixel-avatar:before{left:4px}.pixel-avatar:after{right:4px}.pixel-avatar i{position:absolute;bottom:3px;left:9px;width:10px;height:4px;background:#8e6650}
.player-level{width:148px;position:relative}.player-level>div:first-child{display:flex;justify-content:space-between;gap:8px;margin-bottom:4px}.player-level strong{font-family:Silkscreen,Manrope,sans-serif;font-size:12px;line-height:16px;color:#e5ce83;font-weight:400}.player-level>div:first-child>span{font-size:12px;line-height:16px;color:#cad3c2}.xp-track{height:8px;background:#16241a;border:1px solid #5f7651;padding:1px}.xp-track>span{display:block;background:#9eb95e;height:100%}#player-xp-label{display:block;font-size:12px;line-height:16px;color:#d0d8c6;margin-top:2px;font-variant-numeric:tabular-nums}.block-wallet{display:flex;gap:8px;align-items:center;border-left:1px solid #526546!important;padding:4px 0 4px 16px;color:#f6e7bb}.block-wallet svg{width:24px;height:24px}.block-wallet strong{font-family:Silkscreen,Manrope,sans-serif;font-size:20px;line-height:28px;font-weight:400}.block-wallet>span{font-size:12px;line-height:16px;color:#cbd5bf}.block-wallet:hover{opacity:.8}
.game-datebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 28px 0}.chapter-label{display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px}.chapter-label strong{font-weight:600}.chapter-label>span:last-child{color:#5b6e55;margin-left:12px}.chapter-dot{width:8px;height:8px;background:#6d8e4a;box-shadow:inset 0 2px #a8b875}.game-date-actions{display:flex;align-items:center;gap:8px}.game-date-actions button{font-size:14px;line-height:20px;color:#445a3d;padding:4px 8px;border:1px solid #b8c0a6;background:#f5f2e6}.game-date-actions button:hover{background:#dfe6cd}.game-date-actions>button:first-child,.game-date-actions>button:nth-child(3){font-size:20px;line-height:20px}.game-save{color:#53634a;font-size:12px;line-height:16px;margin-left:8px}
.game-view{max-width:1900px;margin:16px auto 0;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) 348px;gap:16px;height:calc(100dvh - 230px);min-height:600px}
.world-frame{position:relative;overflow:hidden;min-width:0;border:4px solid #425641;background:#b9d9d4;box-shadow:inset 0 0 0 2px #e0e6c1}
.world-canvas{position:absolute;inset:0;outline-offset:-6px!important;cursor:crosshair}.world-canvas canvas{width:100%;height:100%;display:block;image-rendering:pixelated;touch-action:pan-y}
.world-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#294737;background:#c5dfd4;font-size:14px;line-height:20px}.world-loading>svg{width:48px;height:48px}
.world-caption{position:absolute;left:28px;top:24px;z-index:2;pointer-events:none}.world-location{font-family:Silkscreen,Manrope,sans-serif;display:block;font-size:12px;line-height:16px;letter-spacing:0;color:#294f3a;margin-bottom:12px}.world-caption h1{font-size:30px;line-height:40px;font-weight:600;color:#284636;letter-spacing:-.03em}.world-caption p{font-size:12px;line-height:20px;color:#294f3a;margin-top:12px}
.world-weather{position:absolute;top:24px;right:24px;display:flex;gap:12px;align-items:center;background:#f3f1dbe6;border:2px solid #829a78;padding:8px 12px;color:#405c3c;font-size:12px;line-height:16px;z-index:2}.world-weather small{display:block;font-size:12px;line-height:16px;color:#566c47;margin-top:4px}.pixel-sun{height:20px;width:20px;background:#d0a448;box-shadow:inset 0 0 0 4px #eac66d;flex-shrink:0}
.station-labels{position:absolute;inset:0;pointer-events:none;z-index:3}.station-label{position:absolute;left:0;top:0;visibility:hidden;pointer-events:auto;background:#faf1d9;color:#324c34;border:2px solid #5e754d;box-shadow:inset 0 2px #fffdf2,inset 0 -3px #c1b692;font-size:14px;line-height:20px;font-weight:600;padding:8px 12px;white-space:nowrap;min-width:112px;text-align:center}.station-label:hover{background:#fff7dd}.station-label>span{font-family:Silkscreen,sans-serif;display:grid;place-items:center;width:20px;height:24px;background:#e4bd5b;border:2px solid #8b642c;color:#493714;position:absolute;left:calc(50% - 10px);top:-28px;font-size:16px;line-height:20px}.station-label small{display:block;font-size:12px;line-height:16px;color:#5b6d4b;margin-top:2px;font-weight:400}.station-label:after{content:'';width:8px;height:8px;background:#faf1d9;border-right:2px solid #5e754d;border-bottom:2px solid #5e754d;position:absolute;bottom:-6px;left:calc(50% - 4px);transform:rotate(45deg)}
.world-controls{position:absolute;right:16px;bottom:60px;display:flex;flex-direction:column;gap:4px;z-index:4}.world-controls button,.pixel-icon-button{width:32px;height:32px;display:grid;place-items:center;background:#f6efd9;border:2px solid #6d7d57;color:#354c35;box-shadow:inset 0 2px #fff9e6,inset 0 -2px #b3ba9c;font-size:20px;line-height:24px}.world-controls button:hover,.pixel-icon-button:hover{background:#dee7c3}
.focus-hud{position:absolute;bottom:60px;left:24px;z-index:4;width:304px;background:#f8f2e0f5;border:2px solid #697b53;padding:16px;box-shadow:inset 0 2px #fffbed,inset 0 -3px #c4c3a4}.focus-idle-title{font-size:12px;line-height:16px;color:#536b45;display:block;margin-bottom:8px}.focus-task-name{display:block;font-size:14px;line-height:20px;font-weight:600;color:#344c32;overflow-wrap:anywhere}.focus-hud>.pixel-button{margin-top:12px;width:100%;justify-content:space-between}.focus-hud>.pixel-button>svg{width:20px;height:20px}.focus-state{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;line-height:16px;color:#547145}.focus-state>strong{margin-left:auto;font-family:Silkscreen,sans-serif;font-weight:400;font-size:16px;line-height:24px;color:#3d6132;font-variant-numeric:tabular-nums}.focus-led{width:6px;height:6px;background:#8d8c69}.focus-led.running{background:#5f8c3d}.focus-buttons{display:flex;gap:8px;margin-top:12px}.focus-buttons button{border:1px solid #7b8d63;padding:8px;font-size:12px;line-height:16px;color:#3c5b32;background:#edf0d9}.focus-buttons button:last-child{background:#53763b;color:#fff6d8;border-color:#364f2b;flex:1;display:flex;align-items:center;gap:4px;justify-content:center}.focus-buttons svg{width:16px;height:16px}.focus-buttons button:hover{filter:brightness(.96)}
.world-help{position:absolute;bottom:16px;left:24px;right:16px;display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px;color:#294c39;z-index:4}.world-help kbd{font-family:Silkscreen,sans-serif;font-size:12px;line-height:16px;background:#edf0d8e6;border:1px solid #79946c;padding:4px 8px;letter-spacing:2px}.world-help>span{background:#e7eed9bf;padding:4px}.world-help .control-dot{background:none;padding:0}.world-help>button{margin-left:auto;border:2px solid #6f8357;background:#f5f0d9;width:28px;height:28px;font-weight:600;color:#405c36}.world-status{position:absolute;bottom:240px;left:24px;right:72px;background:#2b422ded;border:2px solid #9aaa71;color:#fff1c9;padding:12px 16px;font-size:12px;line-height:20px;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity 300ms var(--curve),transform 300ms var(--curve);z-index:7}.world-status.visible{opacity:1;transform:translateY(0)}
.world-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px;background:#d8e4ce;color:#32472f;z-index:8;text-align:center}.world-fallback h2{font-size:24px;line-height:32px}.world-fallback p{max-width:320px}
.quest-panel{display:flex;flex-direction:column;min-height:0;background:#f6f0df;border:3px solid #6c7253;box-shadow:inset 0 0 0 2px #fff9e6;overflow:hidden}
.quest-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:2px solid #c6c5a9;background:#ece7cf}.quest-header>div{display:flex;gap:12px;align-items:center}.quest-header svg{width:28px;height:28px}.quest-header h2{font-size:18px;line-height:28px;font-weight:600;color:#3e4e32}.quest-header .pixel-icon-button{width:28px;height:28px}
.quest-tabs{display:flex;border-bottom:1px solid #c9c8af;padding:12px 16px 0;gap:16px}.quest-tabs button{padding:4px 4px 12px;font-size:12px;line-height:16px;color:#62724f;border-bottom:3px solid transparent}.quest-tabs button[aria-pressed=true]{color:#3b5c2d;border-bottom-color:#5b7b3e;font-weight:600}.quest-tabs button:hover{color:#243c20}
.quest-summary{display:flex;justify-content:space-between;font-size:12px;line-height:16px;padding:16px 16px 12px;color:#5b6b4c}.quest-summary strong{font-weight:500;color:#4f7137}.quest-category{margin:0 16px 12px;padding:4px 8px;background:#dce7c6;color:#3c5b2a;border:1px solid #a2b77f;display:flex;align-items:center;justify-content:space-between;font-size:12px;line-height:16px}.quest-category button{color:#40572e;padding:0 4px}
.quest-content{flex:1;overflow:auto;min-height:0;padding:0 12px 12px;scrollbar-width:thin;scrollbar-color:#bdc3a0 transparent}.quest-card{background:#fdf8e9;border:1px solid #cfcab0;margin-bottom:8px}.quest-card.active{border:2px solid #7d965b;background:#fffbed}.quest-select{display:flex;gap:8px;align-items:flex-start;width:100%;text-align:left;padding:12px 8px;min-width:0}.quest-select:hover{background:#eef1d8}.quest-item-icon{width:32px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.quest-item-icon svg{width:28px;height:28px;image-rendering:pixelated}.quest-title{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.quest-kind{font-size:12px;line-height:16px;color:#5d7350}.quest-title strong{font-size:14px;line-height:20px;font-weight:600;color:#344a30;overflow-wrap:anywhere}.quest-time{font-size:12px;line-height:16px;color:#65744f;font-variant-numeric:tabular-nums}.quest-xp{display:flex;flex-direction:column;align-items:center;font-family:Silkscreen,Manrope,sans-serif;font-size:16px;line-height:24px;color:#875e20;min-width:36px;padding-top:4px;flex-shrink:0}.quest-xp small{font-family:Manrope,system-ui,sans-serif;font-size:12px;line-height:16px;font-weight:400;color:#7b612c}.quest-details{padding:0 12px 12px}.quest-details>p{font-size:12px;line-height:20px;color:#586647;padding:8px 0 12px;border-top:1px solid #d7d6b7;overflow-wrap:anywhere}.quest-reward{display:flex;gap:4px;align-items:center;color:#775625;font-size:12px;line-height:16px;margin-bottom:16px}.quest-reward svg{width:16px;height:16px}.quest-reward>span{margin:0 8px;color:#63704c}.quest-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pixel-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:8px 12px;color:#fff5da;background:#557a3d;border:2px solid #304e29;box-shadow:inset 0 2px #93ad65,inset 0 -3px #3a5b2c;font-size:14px;line-height:20px;font-weight:600;text-shadow:0 1px #29451f}.pixel-button:hover{background:#466d31}.pixel-button:active{transform:translateY(1px);box-shadow:inset 0 1px #8ba660,inset 0 -1px #36532a}.pixel-button:disabled{background:#b6b9a2;border-color:#919a7f;box-shadow:inset 0 2px #d6d8be;color:#414e35;text-shadow:none;opacity:1;cursor:default}.quest-actions>.pixel-button{font-size:12px;line-height:16px;flex:1;justify-content:space-between}.complete-button{font-size:12px;line-height:16px;color:#42662f;text-decoration:underline;text-underline-offset:4px;padding:8px 0}.complete-button:hover{color:#243c1b}.quest-edit{font-size:12px;line-height:16px;color:#64704b;padding:4px;margin-left:auto}.quest-edit:hover{text-decoration:underline}.claimed-note{font-size:12px;line-height:20px;color:#526a3f}.quest-card.completed{background:#eaf0da;border-color:#b4c59c}.quest-card.completed .quest-title strong{color:#45613b}.quest-deadline{margin:0 12px 12px;background:#f8e2d6;border:1px solid #d0a18a;padding:4px 8px;color:#884d35;font-size:12px;line-height:16px}
.quest-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 16px;color:#586b47;gap:16px}.quest-empty>svg{width:40px;height:40px}.quest-empty h3{font-size:18px;line-height:28px;font-weight:500}.quest-empty p{font-size:14px;line-height:20px}.quest-footer{display:flex;gap:8px;align-items:center;padding:12px;background:#eae6cd;border-top:2px solid #c2c5a4;color:#4d6340;font-size:12px;line-height:16px}.quest-footer>svg{width:20px;height:20px}.quest-footer>span{flex:1}.quest-footer>button{font-size:12px;line-height:16px;color:#415c32;padding:0;white-space:nowrap}
.game-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 28px 12px;max-width:1900px;margin:0 auto}.camp-info{display:flex;flex-direction:column;gap:4px;min-width:176px}.camp-level{font-size:14px;line-height:20px;font-weight:600;color:#4a6137}.camp-info>span:last-child{font-size:12px;line-height:16px;color:#58694b}.hotbar{display:flex;gap:4px;background:#3a4634;padding:5px;border:3px solid #63704c;box-shadow:inset 0 0 0 1px #253321}.hotbar button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:58px;height:58px;border:2px solid #9aa07c;background:#697352;box-shadow:inset 0 2px #9da47b,inset 0 -3px #4b553b;color:#fff5d7}.hotbar button:hover,.hotbar button.selected{background:#4e643b;border-color:#e1d2a0}.hotbar button>svg{width:28px;height:28px;image-rendering:pixelated}.hotbar button>span{font-size:12px;line-height:16px}.hotbar button>small{position:absolute;left:3px;top:1px;font-size:12px;line-height:16px;color:#fff5d7;opacity:0}.hotbar button:hover>small,.hotbar button:focus>small{opacity:1}.game-footer-note{display:flex;flex-direction:column;gap:8px;align-items:flex-end;font-size:12px;line-height:16px;color:#596b4a;min-width:176px}.game-footer-note button{font-size:12px;line-height:16px;color:#4f643c;padding:0;text-decoration:underline;text-underline-offset:4px}
.game-mode dialog{background:#f6efd9;color:#344b30;border:4px solid #66764e;border-radius:0;box-shadow:0 24px 64px #1b2b1c3b;padding:24px;max-width:620px}.game-mode dialog::backdrop{background:#1d332d66;backdrop-filter:none}.game-mode .game-dialog{width:min(620px,calc(100% - 32px))}.game-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.game-dialog h2{font-size:20px;line-height:28px;font-weight:600}.game-dialog>header button{flex-shrink:0}.build-intro{font-size:14px;line-height:24px;color:#5a6b49}.build-intro strong{display:block;color:#3f5e2d;margin-top:8px}.build-list{margin-top:24px}.build-option{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #c9c7a7}.build-option:last-child{border-bottom:0}.building-preview{width:56px;height:56px;background:#e0e6c5;border:2px solid #9eac7b;display:grid;place-items:center;flex-shrink:0}.building-preview svg{width:36px;height:36px}.building-preview.library{background:#e3ddef;border-color:#a398b8}.building-preview.beacon{background:#f0e0ac;border-color:#beab70}.build-option>div{flex:1;min-width:0}.build-option h3{font-size:16px;line-height:24px;font-weight:600}.build-option p{font-size:12px;line-height:20px;color:#566c43;margin-top:4px}.build-option div>span{display:block;color:#73582b;font-size:12px;line-height:16px;margin-top:8px}.build-option>.pixel-button{font-size:12px;line-height:16px;flex-shrink:0}.game-small-note{font-size:12px;line-height:20px;color:#536e41;margin-top:24px}.journal-intro{font-size:14px;line-height:24px;color:#5a6c47}.journal-entries{margin-top:16px}.journal-entries article{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #c8c9a8}.journal-entries svg{width:24px;height:24px}.journal-entries article>div{flex:1}.journal-entries strong{font-size:14px;line-height:20px;font-weight:500;display:block}.journal-entries span{font-size:12px;line-height:16px;color:#5f704c;display:block;margin-top:4px}.journal-entries b{font-size:12px;line-height:16px;color:#7e5b24;white-space:nowrap}.game-instructions{font-size:14px;line-height:24px;color:#536446}.game-instructions p{margin-bottom:16px}.game-instructions b{color:#354e2c}
.reward-overlay{position:fixed;inset:0;z-index:100;background:#1c342bef;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;color:#f8e8b9;padding:24px;text-align:center;animation:reward-in 450ms var(--curve)}.reward-overlay>svg{width:64px;height:64px;image-rendering:pixelated}.reward-overlay>strong{font-size:36px;line-height:40px;font-weight:600;text-shadow:3px 3px #12271e}.reward-overlay>p{font-family:Silkscreen,Manrope,system-ui,sans-serif;font-size:20px;line-height:32px;color:#d3dba3}.reward-overlay>span{font-size:14px;line-height:24px;color:#d1dabe}.reward-overlay>.pixel-button{padding:12px 32px;margin-top:16px}.game-mode .toast{left:50%;background:#2c432e;color:#fff0c7;border:2px solid #9aa472;border-radius:0}.game-mode .storage-warning{left:0}.game-mode .form-error{background:#f4e1d1;color:#7f4130;border:1px solid #cba58d;border-radius:0}.game-mode .primary-button{background:#52763b;border:2px solid #34502b;box-shadow:inset 0 2px #8ba562,inset 0 -2px #3b5d2e;color:#fff7dd}.game-mode .secondary-button{border:1px solid #8b9b73;background:#e8ebcf;color:#3c5530}.game-mode dialog input:not([type=checkbox]):not([type=file]),.game-mode dialog select,.game-mode dialog textarea{border:1px solid #a5ae8b;border-radius:0;background:#fffbee;color:#344a2d}.game-mode .muted{color:#5c6c4b}
.game-mode #calendar-view{padding-top:16px}.game-mode #calendar-view .sidebar,.game-mode #calendar-view .topbar,.game-mode #calendar-view .page-heading,.game-mode #calendar-view .overview,.game-mode #calendar-view .page-footer{display:none}.game-mode #calendar-view .app-shell{margin-left:0;background:transparent}.game-mode #calendar-view main{padding:0 24px}.game-mode #calendar-view .calendar-panel{border:3px solid #697a53;border-radius:0;background:#faf5e7}.game-mode #calendar-view .calendar-toolbar,.game-mode #calendar-view .calendar-subbar,.game-mode #calendar-view .week-header{background:#f2edd9}.game-mode #calendar-view .all-day-row{background:#f5f1e1}.game-mode #calendar-view .day-panel{background:#f3edda;border:2px solid #8b9871;padding:16px}.game-mode #calendar-view .calendar-scroll{max-height:calc(100vh - 320px)}.game-mode #calendar-view .day-heading.is-today .day-number{background:#4d703b;border-radius:0;color:#fff5da}.game-mode #calendar-view .day-heading.selected{background:#e4edd0}.game-mode #calendar-view .all-day-pill{border-radius:0}.game-mode #calendar-view .calendar-footer{background:#eee9d4;color:#556946}.game-mode #calendar-view .suggestion-note{background:#e7ebd2;color:#566d45;border-radius:0}.game-mode #calendar-view .view-switch{border-radius:0;background:#dee4c8}.game-mode #calendar-view .view-switch button[aria-pressed=true]{border-radius:0;background:#fdf8e6}.game-mode #calendar-view .event,.game-mode #calendar-view .free-slot{border-radius:0}
.game-mode[data-screen=quests] .world-frame{display:none}.game-mode[data-screen=quests] .game-view{display:block;height:auto;min-height:600px;max-width:1080px}.game-mode[data-screen=quests] .quest-panel{min-height:600px}.game-mode[data-screen=quests] .quest-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;overflow:visible}.game-mode[data-screen=quests] .quest-card{margin:0}.game-mode[data-screen=quests] .quest-empty{grid-column:1/-1}.game-mode[data-screen=quests] .quest-header{padding:20px}.game-mode[data-screen=quests] .quest-summary{padding:16px 20px}.game-mode[data-screen=quests] .quest-footer{margin-top:16px}
@keyframes reward-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.game-view{grid-template-columns:minmax(0,1fr) 380px;padding:0 32px}.world-caption h1{font-size:36px;line-height:48px}.quest-select{padding:16px 12px}.quest-content{padding:0 16px 16px}.game-header{padding:0 36px}}
@media(max-width:1250px){.game-header{padding:0 20px;gap:16px}.game-brand>span{font-size:20px;line-height:28px}.game-brand>svg{width:32px;height:32px}.game-brand small{font-size:12px;line-height:16px}.game-nav{gap:4px}.game-nav button{padding:8px 12px}.player-level{width:112px}.player-level>div:first-child>span{display:none}.block-wallet{padding-left:12px;gap:4px}.block-wallet>span{display:none}.game-view{padding:0 16px;gap:12px;grid-template-columns:minmax(0,1fr) 320px}.world-caption{left:20px;top:20px}.world-caption h1{font-size:24px;line-height:32px}.world-caption p{max-width:180px}.world-weather{top:20px;right:16px;padding:8px}.world-weather small{display:none}.focus-hud{left:16px;width:280px;padding:12px}.world-help{left:16px}.game-footer{padding:16px 20px 12px;gap:16px}.camp-info,.game-footer-note{min-width:128px}.game-footer-note>span{max-width:140px;text-align:right}.hotbar button{width:52px}}
@media(max-width:1000px){.game-brand small{display:none}.game-header{height:72px;gap:12px}.game-nav button{padding:8px;font-size:12px;line-height:16px}.pixel-avatar{display:none}.block-wallet{padding-left:8px}.game-view{grid-template-columns:minmax(0,1fr) 300px;min-height:580px}.world-caption h1{font-size:20px;line-height:28px}.world-weather{display:none}.world-location{font-size:12px;line-height:16px}.world-caption p{max-width:160px}.focus-hud{width:250px}.station-label{padding:4px 8px;min-width:96px;font-size:12px;line-height:16px}.station-label small{font-size:12px;line-height:16px}.world-help>span:not(.control-dot){display:none}.world-help .control-dot{display:none}.game-footer-note{display:none}.game-footer{justify-content:center}.camp-info{margin-right:auto}.hotbar{margin-right:auto}.chapter-label>span:last-child{margin-left:4px}.game-datebar{padding-left:20px;padding-right:20px}.game-save{display:none}}
@media(max-width:760px){.game-header{display:grid;grid-template-columns:1fr auto;height:auto;min-height:116px;padding:12px 16px 8px;gap:12px}.game-brand>span{font-size:18px;line-height:28px}.game-brand>svg{width:28px;height:28px}.game-brand{gap:8px}.player-hud{grid-column:2;grid-row:1;gap:8px}.player-level{width:100px}.player-level strong{font-size:12px;line-height:16px}#player-xp-label{font-size:12px;line-height:16px}.block-wallet{border-left:0!important;padding:0}.block-wallet svg{height:20px;width:20px}.block-wallet strong{font-size:16px;line-height:24px}.game-nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:8px}.game-nav button{padding:8px 4px;min-height:36px;font-size:12px;line-height:16px}.game-datebar{padding:12px 16px 0;gap:8px}.chapter-label{gap:4px;flex-wrap:wrap;font-size:12px;line-height:16px}.chapter-label strong{font-size:12px;line-height:16px}.chapter-label>span:last-child{margin-left:12px;display:none}.chapter-dot{width:6px;height:6px}.game-date-actions{gap:4px}.game-date-actions button{padding:4px 8px}.game-view{display:flex;flex-direction:column;height:auto;min-height:0;padding:0 12px;margin-top:12px;gap:16px}.world-frame{height:480px;flex-shrink:0;border-width:3px}.world-caption{top:16px;left:16px}.world-location{margin-bottom:8px;font-size:12px;line-height:16px}.world-caption h1{font-size:20px;line-height:28px}.world-caption p{font-size:12px;line-height:20px;margin-top:8px;max-width:210px}.focus-hud{bottom:52px;left:12px;width:calc(100% - 64px);max-width:300px;padding:12px}.focus-hud .focus-task-name{font-size:14px;line-height:20px}.focus-hud>.pixel-button{font-size:12px;line-height:16px}.world-help{left:12px;bottom:12px;right:12px}.world-help kbd{display:none}.world-help>span:not(.control-dot){display:inline;font-size:12px;line-height:16px}.world-help>span:nth-child(2){display:none}.world-controls{right:8px;bottom:52px}.world-controls button{width:32px;height:32px}.station-label{padding:4px 8px;font-size:12px;line-height:16px;min-width:88px}.station-label small{display:none}.station-label>span{width:16px;height:20px;left:calc(50% - 8px);top:-24px;font-size:12px;line-height:16px}.world-status{left:12px;right:12px;bottom:224px;font-size:12px;line-height:20px}.quest-panel{min-height:400px}.quest-content{max-height:600px;padding:0 12px 12px}.quest-select{padding:12px}.quest-summary{padding-top:12px}.quest-header{padding:16px}.quest-title strong{font-size:14px;line-height:24px}.quest-details>p{font-size:14px;line-height:24px}.quest-actions>.pixel-button{min-height:40px}.complete-button{min-height:40px}.quest-footer{padding:12px}.game-footer{position:sticky;bottom:0;z-index:15;background:#27382d;border-top:3px solid #65744e;padding:8px 12px;justify-content:center;gap:0;min-height:84px;margin-top:16px}.camp-info{display:none}.hotbar{margin:0;padding:3px;gap:3px;border-width:2px}.hotbar button{width:49px;height:54px;border-width:2px}.hotbar button svg{width:26px;height:26px}.hotbar button>span{font-size:12px;line-height:16px}.game-mode dialog{padding:20px 16px;border-width:3px}.game-dialog h2{font-size:18px;line-height:28px}.build-option{gap:12px;align-items:flex-start;flex-wrap:wrap}.building-preview{width:44px;height:44px}.building-preview svg{width:28px;height:28px}.build-option>.pixel-button{margin-left:56px}.build-option>div{flex-basis:calc(100% - 56px)}.game-mode #calendar-view main{padding:0 12px}.game-mode #calendar-view .workspace-grid{gap:16px}.game-mode #calendar-view .calendar-scroll{min-height:420px;max-height:600px}.game-mode #calendar-view .day-panel{padding:16px}.game-mode[data-screen=quests] .game-view{min-height:0;padding:0 12px}.game-mode[data-screen=quests] .quest-content{display:block;max-height:none}.game-mode[data-screen=quests] .quest-card{margin-bottom:12px}.game-mode[data-screen=quests] .quest-panel{min-height:500px}.reward-overlay>strong{font-size:30px;line-height:36px}.reward-overlay>p{font-size:18px;line-height:28px}.game-mode .toast{bottom:96px}.game-mode .storage-warning{bottom:84px}.journal-entries article{gap:8px}.journal-entries svg{width:20px;height:20px}.journal-entries b{font-size:12px;line-height:16px}}
@media(prefers-reduced-motion:reduce){.reward-overlay{animation:none}.game-mode *{scroll-behavior:auto!important}.world-status{transition:opacity 200ms var(--curve);transform:none}}

.mobile-world-title{display:none}
@media(max-width:760px){.desktop-world-title{display:none}.mobile-world-title{display:inline}.world-caption h1{font-size:18px;line-height:24px}.world-caption p{display:none}.camp-level,.camp-info>span:last-child,.game-footer-note,.game-footer-note button{color:#d8e4bf}}

/* Task play: small rewards and direct, reversible building. */
#camp-next{font-size:12px;line-height:16px;color:#476437}
.quest-goal{margin:0 16px 12px;padding:8px;border:1px solid #b7c59a;background:#e5edcf;color:#3b5b2d;font-size:12px;line-height:16px}
.free-build-intro{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px;padding:16px;border:2px solid #a2b07f;background:#e7edcf}.free-build-intro>svg{width:32px;height:32px}.free-build-intro>div{flex:1;min-width:160px}.free-build-intro h3{font-size:16px;line-height:24px;font-weight:600}.free-build-intro p{font-size:12px;line-height:20px;color:#4f683e;margin-top:4px}.free-build-intro>.pixel-button{font-size:12px;line-height:16px;margin-left:44px}
.build-hud{position:absolute;bottom:60px;left:24px;z-index:5;width:340px;background:#f7f1dd;border:3px solid #718055;padding:12px;box-shadow:inset 0 2px #fffbea,inset 0 -3px #c1c6a3}.build-hud>div:first-child{display:flex;align-items:center;gap:12px}.build-hud strong{font-size:16px;line-height:24px;font-weight:600;color:#3f5d2e}.build-hud>div>span{margin-left:auto;font-size:12px;line-height:16px;color:#596b40}.build-hud>div:first-child>button{padding:0 4px;color:#4e6439;font-size:20px;line-height:24px}.build-hud>p{font-size:12px;line-height:20px;color:#4d6539;margin:8px 0 12px}.block-palette{display:flex;gap:8px;align-items:stretch}.block-palette>button{font-size:12px;line-height:16px;display:flex;align-items:center;justify-content:center;gap:4px;padding:8px;border:2px solid #a1ac80;background:#e7eccf;color:#3b532d}.block-palette>button[aria-pressed=true]{border-color:#496936;background:#cddcaa}.block-palette>button:last-child{margin-left:auto;max-width:76px}.block-swatch{display:block;width:16px;height:16px;border:1px solid #65744e;box-shadow:inset -4px -4px #00000018}.block-swatch.grass{background:#85ad54}.block-swatch.wood{background:#b28a50}.block-swatch.stone{background:#9aa297}.is-building .focus-hud{display:none}.is-building .world-canvas{cursor:cell}
.game-mode .reward-overlay{inset:auto 24px auto auto;top:96px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px 12px;width:344px;max-width:calc(100% - 24px);height:auto;padding:16px;border:3px solid #b1bd7d;background:#293e2bf5;align-items:start;justify-content:initial;text-align:left;box-shadow:inset 0 2px #d5dfa52b;animation:reward-toast-in 350ms var(--curve)}.game-mode .reward-overlay>svg{grid-column:1;grid-row:1/4;width:36px;height:36px}.game-mode .reward-overlay>strong{grid-column:2;font-size:18px;line-height:24px;text-shadow:none;color:#f3e4b3}.game-mode .reward-overlay>p{grid-column:2;font-family:Manrope,system-ui,sans-serif;font-size:14px;line-height:20px;color:#d7e3b6}.game-mode .reward-overlay>span{grid-column:2;font-size:12px;line-height:20px;color:#d3ddc0}.game-mode .reward-overlay>.pixel-button{grid-column:2;font-size:12px;line-height:16px;padding:4px 8px;margin:0;justify-self:start}
@keyframes reward-toast-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.build-hud{left:12px;bottom:52px;width:calc(100% - 64px);padding:12px}.build-hud>p{max-width:240px}.block-palette{gap:4px}.block-palette>button{padding:8px 4px}.block-palette>button:last-child{max-width:60px}.free-build-intro{padding:12px}.game-mode .reward-overlay{top:128px;right:12px;width:320px}.quest-goal{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.game-mode .reward-overlay{animation:none}}

.block-palette>button:last-child{white-space:normal;word-break:keep-all;line-height:16px;font-size:12px}

@keyframes dialog-in{from{opacity:.92;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:760px){.game-footer{color:#d8e4bf}#camp-next{color:#d8e4bf}}
