@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--ink:#f6ecd0;--gold:#edc76f;--muted:#adbea8;--panel:#182f25ed;--border:#c4b7784a;font-family:'DM Sans',sans-serif;font-size:16px}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#09231f;color:var(--ink)}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:active:not(:disabled){transform:translateY(2px)}#game{width:100%;height:100dvh;position:relative;isolation:isolate;overflow:hidden;background:#0b2628}#world{display:block;width:100%;height:100%;touch-action:none;image-rendering:pixelated}.hud-top{position:absolute;inset:0 0 auto;height:104px;padding:24px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px;pointer-events:none;background:linear-gradient(#061c21be,transparent)}.hud-top>*{pointer-events:auto}.game-brand{display:flex;flex-direction:column;gap:3px;text-shadow:0 2px 5px #000}.game-brand>b{font:600 30px 'Space Grotesk',sans-serif;letter-spacing:6px;color:#f0deae}.game-brand>span{font-size:8px;letter-spacing:2.3px;margin-left:26px;color:#d1d6b5}.wallet{display:flex;align-items:center;background:linear-gradient(180deg,#293727ef,#152b21f0);border:1px solid #bda5676b;border-bottom:3px solid #0b201b;border-radius:10px;box-shadow:0 4px 18px #00191355;padding:10px 7px;gap:0;backdrop-filter:blur(8px)}.currency{display:flex;gap:10px;align-items:center;padding:0 20px;min-width:104px;border-right:1px solid #bdc39b25}.currency:last-child{border:0;min-width:80px}.currency>div{display:grid;gap:3px}.currency b{font:600 23px 'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums;line-height:1;color:#f8e9be}.currency small{font-size:8px;letter-spacing:1.6px;color:#aaa98b}.coin-icon{font-size:27px;color:#f8c861;text-shadow:2px 3px #956123,-1px -1px #fff0ab}.wood-icon{font-size:30px;color:#b79056;text-shadow:2px 2px #6b4a2a}.light-icon{font-size:33px;color:#cae3aa;text-shadow:0 0 12px #cae3aa55}.hud-controls{display:flex;gap:8px}.square-button{display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--border);border-radius:8px;background:#152d25dc;box-shadow:0 3px #071f1a66;font-size:22px;color:#e0d7b2}.square-button:hover{background:#355035}.quest-panel{position:absolute;top:125px;left:32px;width:238px;padding:17px 18px;background:linear-gradient(105deg,#13291de6,#173022a8);border:1px solid #c8c09235;border-left:2px solid #c1ac65;border-radius:3px 9px 9px 3px;box-shadow:0 5px 25px #091f2022;backdrop-filter:blur(5px)}.quest-kicker{font-size:9px;letter-spacing:1.5px;color:#cfb56e}.quest-panel h1{font-size:15px;line-height:1.5;font-weight:600;margin:10px 0 5px}.quest-panel p{font-size:12px;line-height:1.7;color:#b9c6aa;margin:0 0 12px}.quest-line{height:3px;background:#061a17;overflow:hidden;border-radius:5px}.quest-line>div{width:0;height:100%;background:#d2bd7b;transition:width .25s}.quest-panel>button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:none;color:#aabb9e;padding:10px 0 0;font-size:10px}.quest-panel>button span{border:1px solid #9dad8844;padding:1px 5px;border-radius:3px}.season-badge{position:absolute;right:35px;top:126px;display:flex;gap:10px;align-items:center;text-shadow:0 1px 5px #000}.season-badge>span{font-size:29px;color:#f2cd7a}.season-badge>div{display:grid;gap:4px}.season-badge b{font-size:13px;font-weight:500}.season-badge small{font-size:10px;color:#bcc8ac}.world-title{position:absolute;left:50%;top:112px;transform:translateX(-50%);text-align:center;pointer-events:none;text-shadow:0 2px 6px #183422;opacity:.85}.world-title>span{display:block;font-size:8px;letter-spacing:3px;color:#d1d6b5;margin-bottom:6px}.world-title>b{font-family:'Space Grotesk',sans-serif;font-weight:400;font-size:22px;letter-spacing:.5px}.hotbar-wrap{position:absolute;bottom:59px;left:50%;transform:translateX(-50%)}.hotbar-label{display:flex;justify-content:space-between;align-items:center;padding:0 5px 9px;text-shadow:0 2px 4px #001d1c}.hotbar-label>span:first-child{color:#f1daa0;font-size:12px}.hotbar-label>span:last-child{color:#a8bfa6;font-size:8px;letter-spacing:2px}.hotbar{display:flex;gap:7px;align-items:center;padding:9px;background:linear-gradient(#34402cf2,#152d21f7);border:1px solid #b5ac7866;border-radius:12px;border-bottom:4px solid #152519;box-shadow:0 6px 0 #031b1944,0 8px 30px #041c2059;backdrop-filter:blur(10px)}#seed-slots{display:flex;gap:7px}.slot{position:relative;width:62px;height:64px;border:1px solid #b6b58033;border-bottom:3px solid #081e17;border-radius:6px;background:#102820bc;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:3px 3px 5px;transition:background .15s,border .15s}.slot:hover{background:#435239}.slot.selected{border:1px solid #f0cf81;border-bottom:3px solid #b3974d;background:#7d79432b;box-shadow:inset 0 0 12px #d7c36a18,0 0 10px #d7c36a12}.slot kbd{position:absolute;top:3px;left:5px;font-size:9px;color:#b5c2a5}.slot.selected kbd{color:#f2d18b}.slot canvas{width:38px;height:38px;image-rendering:pixelated}.slot small{font-size:8px;color:#b6c4a3;white-space:nowrap}.slot.selected small{color:#f5d88e}.slot.locked:after{content:'⌑';position:absolute;top:18px;font-size:21px;color:#e0d1a3;text-shadow:0 1px 3px #000}.slot.locked canvas{opacity:.3}.slot-divider{height:43px;width:1px;background:#c3bd832e;margin:0 2px}.bag-glyph,.book-glyph{font-size:32px;color:#cba768;line-height:38px}.book-glyph{color:#a6be9b}.controls-hint{position:absolute;bottom:24px;width:100%;display:flex;justify-content:center;gap:18px;color:#8ca99b;font-size:10px;pointer-events:none}.controls-hint>span{display:flex;align-items:center;gap:5px}kbd{font-family:inherit;font-size:9px;letter-spacing:.5px;color:#becbab;border:1px solid #96ae7b32;background:#142d2299;padding:3px 5px;border-radius:3px}.slot kbd{background:none;border:0;padding:0}.context-wrap{position:absolute;bottom:170px;left:50%;transform:translateX(-50%);pointer-events:none}.context-hint{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#ecdba6;font-size:12px;border:1px solid #e8d18a33;background:#112920cb;padding:8px 12px;border-radius:6px;box-shadow:0 3px 12px #0002}.context-hint kbd{background:#d2bd83;color:#223425;font-size:11px;padding:3px 6px;border:0;font-weight:bold}.interact-button{position:absolute;right:38px;bottom:68px;width:80px;height:80px;border:1px solid #eac876a8;border-bottom:4px solid #826d37;border-radius:50%;background:radial-gradient(circle at 30% 20%,#657044ed,#263f28f0);box-shadow:0 5px 20px #041d17aa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#f8e7b3}.interact-button b{font:500 26px 'Space Grotesk',sans-serif}.interact-button span{font-size:8px;letter-spacing:1px}.interact-button:hover{background:#657443}.save-status{position:absolute;left:24px;bottom:24px;font-size:9px;color:#8aa492;pointer-events:none}.joystick{display:none;position:absolute;bottom:125px;left:23px;width:90px;height:90px;border:1px solid #e1d0954a;border-radius:50%;background:#13322488;touch-action:none;box-shadow:inset 0 0 20px #011a1c4d}.joystick>div{position:absolute;width:38px;height:38px;top:25px;left:25px;border:1px solid #e0d19b75;border-radius:50%;background:#7f926081;pointer-events:none}.drawer{position:absolute;right:20px;top:104px;width:355px;max-height:calc(100dvh - 130px);overflow:auto;background:linear-gradient(125deg,#213627fa,#132b22fa);border:1px solid #b6a97470;border-radius:12px;padding:24px;box-shadow:0 15px 100px #001b1ac4;backdrop-filter:blur(20px);z-index:8}.drawer[hidden]{display:none}.drawer-head{position:relative}.drawer-head>span{font-size:9px;letter-spacing:2px;color:#b8b58b}.drawer-head h2{font:500 26px 'Space Grotesk',sans-serif;letter-spacing:-.7px;margin:9px 0 21px}.drawer-head>button{position:absolute;right:-9px;top:-13px;width:29px;height:29px;border:0;background:none}.drawer-tabs{display:flex;gap:16px;border-bottom:1px solid #b7bd8125;margin-bottom:20px}.drawer-tabs>button{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 12px;color:#aebda5;font-size:12px}.drawer-tabs>button.active{color:var(--gold);border-color:var(--gold)}.upgrade{padding:15px;background:#10281f70;border:1px solid #b3bd842c;border-radius:8px;margin-bottom:11px}.upgrade h3{font-size:15px;font-weight:500;margin:0 0 6px}.upgrade h3 small{font-size:10px;color:#aabc9d;margin-left:8px}.upgrade p{font-size:12px;line-height:1.6;color:#afbea3;margin:0 0 12px}.upgrade button,.wide-button{width:100%;border:1px solid #c6b76e61;border-radius:6px;background:#6d784433;padding:11px 12px;font-size:13px;color:#dfd19e}.upgrade button:hover:not(:disabled),.wide-button:hover:not(:disabled){background:#69784066}.drawer-note{font-size:12px;line-height:1.8;color:#a9bda1}.drawer-stat{display:flex;justify-content:space-between;font-size:12px;color:#beceab;padding:11px 0;border-top:1px solid #b3bd8425}.prestige-symbol{font-size:58px;text-align:center;color:#d3e8b0;text-shadow:0 0 24px #d9d99144;margin:7px 0}.prestige-title{font:500 25px 'Space Grotesk',sans-serif;text-align:center;line-height:1.3;margin:8px 0}.progress-track{height:6px;border-radius:4px;overflow:hidden;background:#071e18;margin:18px 0 9px}.progress-track>div{height:100%;background:var(--gold)}.progress-meta{display:flex;justify-content:space-between;font-size:11px;color:#afbc98;margin:8px 0 20px}.achievement{padding:13px 0;border-bottom:1px solid #b3bd8425}.achievement b{font-size:14px;color:#ceb87b}.achievement p{font-size:12px;line-height:1.6;color:#adc29e;margin:5px 0}.primary-button{font:600 14px 'DM Sans',sans-serif;padding:13px 19px;border:1px solid #fae2a0;border-bottom:3px solid #957b45;border-radius:7px;background:#e9c783;color:#243426;box-shadow:0 3px 12px #071d1733}.primary-button:hover{background:#f2d89b}.secondary-button{background:#203c2a;border:1px solid #b8c29550;padding:12px 16px;border-radius:7px;color:#d5ddbc;font-size:14px}.modal-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}dialog{background:linear-gradient(140deg,#2b3f2d,#132c23);color:var(--ink);border:1px solid #c2b47477;border-radius:14px;width:calc(100% - 32px);max-width:550px;max-height:88dvh;padding:35px;box-shadow:0 20px 120px #0009}dialog::backdrop{background:#06231bcf;backdrop-filter:blur(8px)}.modal-close{position:absolute;right:12px;top:12px;border:0;background:none}.modal-kicker{font-size:10px;letter-spacing:2px;color:var(--gold);margin-top:10px}.modal-title{font:500 30px 'Space Grotesk',sans-serif;margin:13px 0 18px;letter-spacing:-.8px}.modal-body{font-size:16px;color:#c5d0b6;line-height:1.8}.modal-body p{margin:12px 0}.modal-body b{color:#e9dcae}.portrait{width:80px;height:80px;object-fit:cover;image-rendering:pixelated;border-radius:10px;border:1px solid #d8c27d60}.setting-row{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:16px 0}.setting-row input{accent-color:var(--gold)}.memory{width:100%;text-align:left;border:1px solid #b6c79232;background:#1b3322;padding:14px;border-radius:8px;margin:8px 0}.memory>b{display:block;font-size:15px;color:#ded1a4;margin-bottom:5px}.memory>span{font-size:13px;color:#aabd9e}.gold{color:var(--gold)}#toasts{position:absolute;top:104px;left:50%;transform:translateX(-50%);display:grid;gap:8px;z-index:9;pointer-events:none;max-width:90vw}.toast{font-size:13px;line-height:1.5;text-align:center;color:#f7e5b4;background:#263c28ed;border:1px solid #c6bd7f70;border-radius:8px;padding:12px 18px;box-shadow:0 5px 25px #031a1855;animation:toast .25s ease}@keyframes toast{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1700px){.quest-panel{left:48px;top:155px;width:268px}.hud-top{padding:30px 48px}.slot{width:72px;height:74px}.slot canvas{width:43px;height:43px}.hotbar-wrap{bottom:68px}.context-wrap{bottom:190px}}@media(max-width:1100px){.hud-top{padding:20px;height:94px}.game-brand>b{font-size:25px;letter-spacing:4px}.game-brand>span{font-size:7px;letter-spacing:1.5px}.currency{padding:0 13px;min-width:90px}.quest-panel{left:20px;top:110px;width:203px;padding:14px}.quest-panel h1{font-size:14px}.world-title{top:105px}.season-badge{right:22px;top:112px}.controls-hint{gap:10px;font-size:9px}.save-status{bottom:8px;left:18px;font-size:8px}.interact-button{right:24px;width:68px;height:68px}.slot{width:54px;height:61px}.hotbar{gap:5px;padding:7px}#seed-slots{gap:5px}}@media(max-width:800px){.hud-top{height:85px;padding:14px;gap:9px}.game-brand>b{font-size:21px;letter-spacing:3px}.game-brand>span{display:none}.currency{min-width:65px;padding:0 10px;gap:6px}.currency:last-child{min-width:60px}.currency b{font-size:20px}.currency small{font-size:7px;letter-spacing:1px}.wallet{padding:9px 2px;border-radius:8px}.coin-icon,.wood-icon{font-size:23px}.light-icon{font-size:27px}.hud-controls{gap:5px}.square-button{width:32px;height:32px;font-size:19px}.quest-panel{top:100px;left:14px;width:181px;padding:12px}.quest-panel h1{font-size:13px}.quest-kicker{font-size:8px}.quest-panel p{font-size:11px}.world-title{display:none}.season-badge{top:102px;right:18px}.slot{width:48px;height:58px}.hotbar-label>span:last-child{font-size:7px;letter-spacing:1px}.controls-hint>span:last-child{display:none}.interact-button{bottom:171px;right:22px}.drawer{top:87px;right:12px;max-height:calc(100dvh - 108px);width:330px}.context-hint{font-size:11px}.context-wrap{bottom:165px}.hotbar-wrap{bottom:55px}.hud-controls #fullscreen{display:none}}@media(max-width:560px){.hud-top{padding:11px 10px;gap:6px;align-items:flex-start;height:85px}.game-brand{margin-top:13px}.game-brand>b{font-size:17px;letter-spacing:1px}.wallet{gap:0;margin:0 auto}.currency{padding:0 7px;min-width:57px;gap:4px}.currency:last-child{min-width:45px}.currency b{font-size:18px}.currency small{font-size:6px;letter-spacing:.7px}.coin-icon,.wood-icon{font-size:18px}.light-icon{font-size:24px}.hud-controls{flex-direction:column;gap:4px}.hud-controls #sound{display:none}.square-button{width:31px;height:31px}.quest-panel{top:82px;width:177px;left:12px;padding:11px}.quest-panel h1{font-size:12px;margin-top:7px}.quest-panel p{font-size:10px;line-height:1.5;margin-bottom:8px}.quest-kicker{font-size:7px;letter-spacing:1px}.quest-panel>button{font-size:9px;padding-top:6px}.season-badge{right:13px;top:88px;gap:6px}.season-badge>span{font-size:21px}.season-badge b{font-size:10px}.season-badge small{font-size:9px}.slot{width:42px;height:54px}.slot canvas{width:33px;height:33px}.slot small{font-size:7px}.slot kbd{font-size:8px}.hotbar{gap:3px;padding:6px}#seed-slots{gap:3px}.slot-divider{margin:0;width:1px}.hotbar-wrap{bottom:35px}.hotbar-label{padding-bottom:6px}.hotbar-label>span:last-child{font-size:6px;letter-spacing:1px}.hotbar-label>span:first-child{font-size:10px}.bag-glyph,.book-glyph{font-size:26px;line-height:33px}.controls-hint{display:none}.save-status{bottom:10px;width:100%;text-align:center;left:0}.interact-button{bottom:152px;right:21px;width:69px;height:69px}.context-wrap{bottom:120px;max-width:90vw}.context-hint{font-size:10px;white-space:normal;padding:7px 10px;text-align:center}.context-hint kbd{display:none}.drawer{right:9px;top:73px;width:min(355px,calc(100% - 18px));max-height:calc(100dvh - 86px);padding:22px}dialog{padding:29px 24px}.modal-title{font-size:26px}.modal-body{font-size:15px}#toasts{top:222px;width:max-content;max-width:90vw}.toast{font-size:12px}.joystick{bottom:150px}}@media(pointer:coarse){.joystick{display:block}.controls-hint{display:none}.context-hint kbd{display:none}}@media(max-height:580px) and (min-width:600px){.hud-top{height:70px;padding:10px 18px}.quest-panel{top:82px;width:173px;padding:10px}.quest-panel p{margin-bottom:7px}.world-title{display:none}.season-badge{top:81px}.hotbar-wrap{bottom:27px}.hotbar-label{display:none}.slot{height:48px;width:45px}.slot canvas{height:30px;width:30px}.controls-hint{bottom:8px;font-size:8px}.context-wrap{bottom:102px}.joystick{bottom:57px;width:80px;height:80px}.joystick>div{top:20px;left:20px}.interact-button{bottom:48px}.drawer{top:74px;max-height:calc(100dvh - 84px)}.save-status{display:none}.hotbar{padding:5px}.bag-glyph,.book-glyph{font-size:25px;line-height:29px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Mundo vivo: controles de câmera e companheiros. */
.camera-panel{position:absolute;right:29px;bottom:176px;display:flex;gap:5px;flex-wrap:wrap;justify-content:center;width:128px;background:#173025bd;border:1px solid #bcb97d44;border-radius:10px;padding:8px;backdrop-filter:blur(8px)}.camera-panel .square-button{width:32px;height:31px;font-size:23px}.camera-panel>span{width:100%;text-align:center;font-size:8px;letter-spacing:.7px;color:#c3ccaa;margin-top:3px}.pet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.pet-card{border:1px solid #bac48944;border-radius:9px;padding:9px;background:#173322;text-align:center;color:#d7ddb9}.pet-card.active{border-color:#e6c982;background:#5d6a353c}.pet-card canvas{display:block;width:78px;height:56px;image-rendering:pixelated;margin:0 auto}.pet-card b{font-size:13px;font-weight:500}.pet-card small{display:block;font-size:10px;color:#9ab496;margin-top:4px}.skin-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:14px 0 22px}.skin-row>span{font-size:12px;color:#bbcaa9}.skin-row button{width:28px;height:28px;border:2px solid #b3bd8877;border-radius:50%;background:#bf8b50}.skin-row button:nth-of-type(2){background:#75817c}.skin-row button:nth-of-type(3){background:#e5dfc7}.skin-row button.active{outline:2px solid #efd59a;outline-offset:2px}.animal-row{display:flex;gap:11px;align-items:center;border-top:1px solid #b7bc8229;padding:13px 0}.animal-row canvas{width:52px;height:42px;image-rendering:pixelated;flex-shrink:0}.animal-row>div{flex:1}.animal-row b{font-size:13px;color:#dace9b}.animal-row p{font-size:11px;color:#abbf9f;line-height:1.5;margin:4px 0 0}.animal-row button{font-size:11px;background:#47633750;border:1px solid #bdc38344;border-radius:5px;padding:8px;color:#dfd5a3}.drawer-tabs{gap:12px}.drawer-tabs>button{font-size:11px}.hud-controls{gap:5px}.world-title{pointer-events:none}.joystick{z-index:3}#interact{z-index:3}.drawer{z-index:8}.quest-panel p{font-size:12px}
@media(max-width:800px){.camera-panel{right:15px;bottom:261px;width:112px;padding:6px;gap:4px}.camera-panel .square-button{width:29px;height:29px}.camera-panel>span{font-size:7px}.hud-controls #pets{display:none}.controls-hint{gap:8px;font-size:8px}.controls-hint>span:nth-child(4){display:none}}
@media(max-width:560px){.camera-panel{right:12px;bottom:239px;width:105px;padding:5px;gap:3px}.camera-panel .square-button{width:28px;height:29px}.quest-panel{max-width:177px}.quest-panel p{font-size:10px}.drawer-tabs{gap:12px}.drawer-tabs>button{font-size:11px}}
@media(max-height:580px) and (min-width:600px){.camera-panel{bottom:141px;right:15px}.camera-panel>span{display:none}.quest-panel{max-width:165px}.hud-controls #pets{display:grid}}

@media(max-width:600px){.joystick{display:block}}

/* Expedições: o mapa faz parte do jogo. */
.journey-dialog{max-width:940px;width:calc(100% - 24px)}.journey-dialog .modal-title{margin-bottom:18px}.journey-goal{background:#102b25;border:1px solid #c3c88755;border-radius:10px;padding:18px;margin-bottom:22px}.journey-goal>b{font-size:18px;color:#efdcaa}.journey-goal p{font-size:14px;line-height:1.6;color:#c2d0b8;margin:9px 0}.journey-goal>span{font-size:13px;color:#bcccaf}.journey-goal .modal-actions{margin-top:14px}.region-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.region-card{overflow:hidden;border:1px solid #a3b18455;border-radius:10px;background:#163329}.region-card.current{border-color:#f0d390}.region-card canvas{width:100%;height:135px;object-fit:cover;image-rendering:pixelated;display:block}.region-card>div{padding:16px}.region-card small{font-size:12px;color:#b9c69e}.region-card h3{font-size:19px;margin:7px 0;color:#efddaf}.region-card p{font-size:14px;line-height:1.55;min-height:44px;color:#b3c5ae;margin:8px 0 14px}.region-card button{width:100%;font-size:14px}.region-locked canvas{filter:saturate(.25);opacity:.55}#quest-map{color:#ebd393;font-size:12px;padding-top:12px}.primary-button:disabled{cursor:default;background:#767c59;color:#d1d5b9}.hud-controls #maps{font-size:22px}
@media(max-width:560px){.region-grid{grid-template-columns:1fr}.journey-dialog{padding:28px 16px}.journey-goal{padding:14px}.journey-dialog .modal-title{font-size:25px}.region-card canvas{height:115px}.quest-panel{width:177px}.quest-panel p{max-height:72px;overflow:auto}.hud-controls #maps{display:grid}.hud-controls{gap:6px}.season-badge{top:116px}.journey-goal .modal-actions button{width:100%}}

.backup-status{position:absolute;left:24px;bottom:43px;font-size:11px;border:1px solid #bbbd7944;border-radius:6px;background:#18362be6;color:#cbdbb3;padding:7px 10px;max-width:300px;text-align:left;z-index:4}.text-button{border:0;background:none;color:#deca94;text-decoration:underline;font-size:14px;padding:14px 0}
@media(max-width:800px){.backup-status{left:14px;bottom:35px;font-size:10px;max-width:175px}}
@media(max-width:560px){.backup-status{left:12px;bottom:242px;font-size:10px;max-width:165px;padding:7px}}
@media(max-height:580px) and (min-width:600px){.backup-status{left:12px;bottom:6px;font-size:9px;padding:4px;max-width:190px}}

/* Fazendas regionais: destinos sempre ao alcance, produção dentro do mundo. */
.region-dock{position:absolute;left:50%;top:101px;transform:translateX(-50%);display:flex;gap:5px;background:#102b25ed;padding:6px;border:1px solid #b8be7750;border-radius:10px;box-shadow:0 5px 18px #08231c55}.region-dock button{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid transparent;border-radius:6px;background:#28423480;text-align:left;min-width:98px}.region-dock button.active{border-color:#e7ca84;background:#62704360}.region-glyph{font-size:25px;color:var(--biome);width:25px;text-align:center}.region-dock b{display:block;font-size:12px}.region-dock small{font-size:8px;letter-spacing:.5px;color:#c1c7a3}.region-dock .locked{opacity:.7}.world-title{top:183px}.farm-heading{border-bottom:1px solid #afbc7950;padding-bottom:12px;margin-bottom:14px}.farm-heading>small{color:#c3bf87;font-size:10px;letter-spacing:1px}.farm-heading h3{font-size:21px;margin:7px 0}.farm-heading p{font-size:12px;line-height:1.5;color:#bfceac;margin:0}.crop-card{display:flex;align-items:center;gap:8px;padding:14px 0;border-top:1px solid #b7bc8229}.crop-card canvas{flex-shrink:0;width:52px;image-rendering:pixelated}.crop-card>div{flex:1}.crop-card b{font-size:14px}.crop-card p{font-size:11px;color:#b7c8ab;margin:6px 0;line-height:1.6}.crop-card button{font-size:11px;max-width:100px;border:1px solid #b7c68660;background:#405a3380;border-radius:5px;padding:10px}.build-choices{display:grid;gap:8px}.build-choices button{background:#163a2e;border:1px solid #c2c17c33;border-radius:7px;padding:12px;text-align:left}.build-choices button.active{border-color:#efce87;background:#586c3955}.build-choices b{display:block;font-size:14px}.build-choices small{display:block;font-size:12px;color:#bccaaa;margin-top:5px}.section-label{font-size:17px;color:#ecd79e;margin-top:25px}.drawer-tabs{display:flex;gap:12px;overflow-x:auto}.drawer-tabs>button{white-space:nowrap;flex-shrink:0;font-size:11px}.region-card .region-farm-summary{font-size:12px;min-height:0;border-top:1px solid #c5c58930;padding-top:10px;line-height:1.7}.drawer{width:380px}.pet-card small{line-height:1.5}
@media(max-width:1100px){.region-dock{top:92px}.region-dock button{min-width:80px;padding:7px 8px;gap:5px}.region-dock b{font-size:11px}.world-title{top:169px}.quest-panel{top:170px}.season-badge{top:177px}}
@media(max-width:800px){.region-dock{top:78px}.region-dock button{min-width:77px}.quest-panel{top:153px}.season-badge{top:154px}.drawer{width:360px;max-width:calc(100% - 24px)}}
@media(max-width:560px){.region-dock{top:72px;width:calc(100% - 22px);gap:3px;padding:4px}.region-dock button{flex:1;min-width:0;padding:6px 3px;gap:4px}.region-dock b{font-size:11px}.region-dock small{font-size:7px;letter-spacing:0}.region-glyph{font-size:22px;width:22px}.hud-controls{flex-direction:row}.hud-controls #maps{display:none}.hud-top{padding-right:10px}.quest-panel{top:142px;padding:10px;max-width:170px}.quest-panel p{max-height:47px}.quest-kicker{display:none}.season-badge{display:none}.drawer{top:70px}.crop-card p{font-size:12px}.drawer-tabs{gap:10px}.world-title{display:none}.backup-status{bottom:245px;max-width:156px}.slot small{font-size:7px}.pet-card small{font-size:11px}.crop-card>canvas{width:45px}.crop-card button{font-size:12px}.region-card p{font-size:14px}}
@media(max-height:580px) and (min-width:600px){.region-dock{top:69px;left:auto;right:15px;transform:none}.region-dock button{min-width:67px;padding:5px}.region-dock small{display:none}.region-dock .region-glyph{font-size:19px;width:20px}.quest-panel{top:83px}.season-badge{display:none}}
/* Expansão: raízes, guardiões e talentos. */
.adventure-nav{position:absolute;left:50%;top:174px;transform:translateX(-50%);display:flex;gap:7px}.adventure-nav button{padding:9px 15px;border:1px solid #c5b78b69;border-bottom:3px solid #112b21;border-radius:7px;background:linear-gradient(#344f3bf0,#1b3229f2);font-size:12px;box-shadow:0 4px 12px #061c2444}.adventure-nav button>span{color:#e2c880;margin-right:5px}.adventure-nav button:last-child{background:linear-gradient(#423951f0,#29283cf2);border-color:#b6a1e265}.adventure-nav kbd{font-size:8px;margin-left:6px}.world-title{top:236px}.vigor-panel{position:absolute;right:32px;top:206px;width:183px;text-align:left;padding:11px 13px;background:#142e27ed;border:1px solid #99b08555;border-radius:8px}.vigor-panel>span{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#b9cba7}.vigor-panel b{color:#e6da9a;font-size:11px}.vigor-panel>i{display:block;height:4px;background:#091e1b;margin:9px 0 7px;border-radius:2px;overflow:hidden}.vigor-panel>i>i{display:block;width:100%;height:100%;background:#b5d57f;transition:width .5s}.vigor-panel small{color:#b9ca9e;font-size:10px}.vigor-panel.tired{border-color:#e2a16d77}.vigor-panel.tired>i>i{background:#e0a16c}.vigor-panel.tired small{color:#edbd8a}
.adventure-dialog{max-width:1000px;padding:30px;background:radial-gradient(ellipse at 90% 0,#5a526c26,transparent 55%),linear-gradient(140deg,#24382f,#142923)}.adventure-lead{font-size:14px;line-height:1.8;max-width:780px;color:#bbcbb7;margin-top:-4px}.adventure-wallet{display:flex;gap:20px;flex-wrap:wrap;background:#0d231c88;border:1px solid #bdc3982a;border-radius:7px;padding:12px 16px;font-size:13px;color:#e3d1a0;font-variant-numeric:tabular-nums}.adventure-wallet span:last-child{color:#ccbcf4}.talent-summary{display:flex;justify-content:space-between;gap:10px;margin:20px 0 15px;font-size:12px;color:#c5d5b8}.talent-summary>span{color:#b7cba5}.talent-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.talent-branch{min-width:0}.talent-branch>header{display:flex;align-items:center;gap:10px;border-bottom:2px solid var(--branch);padding:8px 0 12px;margin-bottom:18px;color:var(--branch)}.talent-branch>header>span{font-size:27px}.talent-branch h3{font:500 16px 'Space Grotesk',sans-serif;margin:0}.talent-node{position:relative;display:grid;grid-template-columns:40px 1fr;gap:7px 10px;background:#122a22;border:1px solid #b4c39535;border-radius:8px;padding:13px;margin:0 0 18px}.talent-node:after{content:'';height:19px;width:2px;background:var(--branch);opacity:.5;position:absolute;bottom:-20px;left:32px}.talent-node.learned{border-color:var(--branch);box-shadow:inset 0 0 20px #bad68609}.talent-node canvas{width:40px;height:40px;image-rendering:pixelated}.talent-name{display:grid;align-content:center;gap:5px}.talent-name b{font-size:12px;color:#e2dcc1}.talent-name small{color:var(--branch);font-size:12px;letter-spacing:4px}.talent-node p{grid-column:1/-1;font-size:12px;line-height:1.5;min-height:36px;margin:3px 0;color:#b6c6ac}.talent-node button,.path-finale button{grid-column:1/-1;width:100%;padding:10px 4px;background:#344b343f;border:1px solid #abb88560;border-radius:5px;font-size:11px;color:#e4d6ad;min-height:36px}.talent-node button:hover:not(:disabled){background:#63885455}.path-finale{padding:16px;background:linear-gradient(#53664330,#182c22);border:1px solid var(--branch);border-radius:8px}.path-finale>span{font-size:10px;color:var(--branch);letter-spacing:1.5px}.path-finale p{font-size:12px;line-height:1.6;min-height:57px;color:#cfdbbc}.path-finale small{font-size:10px;color:#adbfa1;display:block;line-height:1.5;margin-top:10px}.adventure-footnote{font-size:12px;line-height:1.8;color:#afc1a7;border-top:1px solid #c0c89333;padding-top:18px;margin-top:22px}
.guardian-card{display:flex;align-items:center;gap:20px;padding:23px 10px 15px}.guardian-card>canvas{flex-shrink:0;image-rendering:pixelated;width:112px;height:100px}.guardian-card small{color:#bca3ed;letter-spacing:1.2px;font-size:10px}.guardian-card h3{font:500 26px 'Space Grotesk';margin:5px 0}.guardian-card p{font-size:12px;line-height:1.6;margin:7px 0;color:#baceb6}.guardian-card b{font-size:14px;color:#ead69d}.guardian-roster{display:flex;gap:8px;overflow:auto;padding-bottom:8px}.guardian-roster button{min-width:79px;background:#143025;border:1px solid #c1b88240;border-radius:8px;padding:5px;font-size:10px}.guardian-roster button[aria-pressed=true]{border-color:#dabcee;background:#58416955}.guardian-roster canvas{display:block;image-rendering:pixelated;margin:auto}.training-row{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:16px 0;background:#10271f;border:1px solid #bdbc8640;border-radius:8px;padding:16px}.training-row b{font-size:14px}.training-row p{font-size:12px;line-height:1.6;margin:7px 0 0;color:#a8bda3;max-width:510px}.training-row button{flex-shrink:0;font-size:12px}.dungeon-instructions{font-size:12px;line-height:1.8;background:#40334c55;border-left:2px solid #bfa4ec;padding:14px;color:#c7c4d3}.dungeon-instructions b{color:#e4d7a7}.dungeon-acts{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:25px}.dungeon-acts section>header{margin-bottom:12px}.dungeon-acts header>span{font-size:9px;letter-spacing:2px;color:#bda4e4}.dungeon-acts h3{font:500 20px 'Space Grotesk';margin:8px 0 4px}.dungeon-acts header small{font-size:11px;color:#9fb49c}.dungeon-floors{display:grid;gap:8px}.dungeon-floor{display:flex;align-items:center;gap:12px;padding:14px 12px;border:1px solid #aeb39644;border-radius:8px;background:linear-gradient(115deg,#313b3477,#142c23);text-align:left}.dungeon-floor>div{flex:1}.dungeon-floor b{display:block;font-size:12px}.dungeon-floor small{display:block;font-size:10px;line-height:1.5;margin-top:5px;color:#b4bf9f}.floor-number{font:500 22px 'Space Grotesk';color:#aabb9e}.boss-floor{border-color:#b397d266;background:linear-gradient(115deg,#4b36577a,#242e31)}.boss-floor .floor-number{color:#caafea}.dungeon-floor.cleared>span:last-child{color:#bbd790}.dungeon-floor:disabled{opacity:.55}.dungeon-rewards{display:flex;gap:12px;margin:22px 0}.dungeon-rewards>b{flex:1;text-align:center;background:#152921;border:1px solid #c0ba854d;border-radius:8px;padding:18px 5px;font-size:24px;color:#e8c885}.dungeon-rewards>b:nth-child(2){color:#cbb4ed}.dungeon-rewards small{display:block;font-size:8px;letter-spacing:1px;margin-top:7px;color:#b7c6a9}.result-dialog{max-width:630px}
.dungeon-mode .region-dock,.dungeon-mode .adventure-nav,.dungeon-mode .quest-panel,.dungeon-mode .vigor-panel,.dungeon-mode .season-badge,.dungeon-mode .world-title,.dungeon-mode .context-wrap,.dungeon-mode .hotbar-wrap,.dungeon-mode .controls-hint,.dungeon-mode #interact,.dungeon-mode .backup-status,.dungeon-mode .hud-controls #pets,.dungeon-mode .hud-controls #maps,.dungeon-mode .hud-controls #settings{display:none!important}.dungeon-hud{position:absolute;left:50%;top:105px;transform:translateX(-50%);width:330px;max-width:calc(100% - 25px);padding:13px 16px;background:#201f34ec;border:1px solid #b09dce6e;border-radius:9px;box-shadow:0 5px 25px #12132199}.dungeon-hud>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center}.dungeon-hud b{font-size:12px;color:#ded3ed}.dungeon-hud #dungeon-wave{font-size:10px;color:#b4a6c6;text-align:right}.dungeon-hud label{display:flex;justify-content:space-between;margin:13px 0 7px;font-size:8px;letter-spacing:1px;color:#b1c5ab}.guardian-health{height:7px;background:#131727;border-radius:3px;overflow:hidden}.guardian-health>i{display:block;height:100%;background:linear-gradient(90deg,#99c678,#dfdfa2);transition:width .1s}.dungeon-hud>button{display:block;padding:9px 0 0;background:none;border:0;color:#bcaacc;font-size:10px;margin:auto}.dungeon-controls{position:absolute;left:50%;transform:translateX(-50%);bottom:40px;display:flex;gap:12px;z-index:3}.dungeon-controls button{position:relative;width:142px;min-height:78px;display:grid;gap:5px;justify-items:center;align-content:center;background:linear-gradient(#52415cf5,#29273ded);border:1px solid #c6a5eaa0;border-bottom:4px solid #4c365e;border-radius:10px;padding:10px 5px;box-shadow:0 4px 18px #10142299}.dungeon-controls button>kbd{position:absolute;left:6px;top:5px;font-size:7px;background:#211e30}.dungeon-controls button>b{font-size:27px;color:#d3b6f1}.dungeon-controls button>span{font-size:10px;color:#ebdcb5}.dungeon-controls button:disabled{opacity:.65}.dungeon-controls button:last-child{width:105px;background:linear-gradient(#414e4cf5,#263934f0);border-color:#a7c39c80}.dungeon-mode .joystick{bottom:48px}.dungeon-mode .camera-panel{bottom:46px}.dungeon-hud[hidden],.dungeon-controls[hidden]{display:none}
@media(max-width:1100px){.adventure-nav{top:164px}.vigor-panel{top:227px;right:22px;width:160px}.world-title{top:216px}}
@media(max-width:800px){.adventure-nav{top:144px}.quest-panel{top:202px}.season-badge{display:none}.vigor-panel{top:205px;right:15px;width:146px;padding:9px}.adventure-dialog{padding:27px 20px}.talent-tree{gap:12px}.talent-node{padding:10px;grid-template-columns:32px 1fr;gap:8px}.talent-node canvas{width:32px;height:32px}.talent-name b{font-size:11px}.talent-node p{font-size:11px;min-height:51px}.talent-node button{font-size:10px}.training-row{gap:12px}.training-row button{max-width:180px}.dungeon-hud{top:80px}.dungeon-mode .camera-panel{bottom:153px}}
@media(max-width:600px){.talent-tree{grid-template-columns:1fr}.talent-branch{border:1px solid #afba8830;border-radius:9px;padding:13px}.talent-node{grid-template-columns:40px 1fr;margin-bottom:14px}.talent-node canvas{width:40px;height:40px}.talent-node p{min-height:0;font-size:12px}.talent-node button{font-size:12px}.talent-node:after{height:15px;bottom:-16px}.talent-name b{font-size:14px}.path-finale p{min-height:0}.adventure-lead{font-size:13px}.adventure-wallet{gap:10px 17px;font-size:12px;padding:10px}.adventure-dialog{padding:25px 16px}.talent-summary{font-size:11px}.dungeon-acts{grid-template-columns:1fr}.training-row{display:block}.training-row button{max-width:none;width:100%;margin-top:14px}.guardian-card{gap:12px;padding:17px 0}.guardian-card canvas{width:87px;height:78px}.guardian-card h3{font-size:23px}.dungeon-rewards>b{font-size:20px}.adventure-nav{top:134px;gap:5px;width:calc(100% - 24px)}.adventure-nav button{flex:1;padding:8px 9px;font-size:12px}.quest-panel{top:186px;width:170px}.vigor-panel{top:186px;width:142px;right:12px}.vigor-panel>span{font-size:7px;letter-spacing:.5px}.vigor-panel small{font-size:9px}.dungeon-controls{left:auto;right:14px;transform:none;bottom:42px;gap:7px}.dungeon-controls button{width:111px;min-height:75px}.dungeon-controls button:last-child{width:76px}.dungeon-mode .joystick{bottom:48px;left:14px;width:80px;height:80px}.dungeon-mode .joystick>div{top:20px;left:20px}.dungeon-mode .camera-panel{bottom:138px}.dungeon-hud{top:78px;width:calc(100% - 28px)}.dungeon-hud>button{padding-top:8px}.dungeon-mode .save-status{bottom:12px}}
@media(max-height:580px) and (min-width:600px){.adventure-nav{top:119px;right:15px;left:auto;transform:none}.adventure-nav button{padding:7px 10px}.vigor-panel{top:169px;right:15px;width:165px}.quest-panel{top:83px}.dungeon-hud{top:70px;width:305px;padding:8px 12px}.dungeon-hud label{margin-top:8px}.dungeon-controls{bottom:12px}.dungeon-controls button{min-height:63px;width:128px;padding:8px}.dungeon-controls button:last-child{width:90px}.dungeon-mode .camera-panel{bottom:26px}.dungeon-mode .joystick{bottom:23px}.adventure-dialog{max-height:94dvh}}
.season-event{background:linear-gradient(120deg,#58603930,#182c23);border:1px solid #d3be7066;border-radius:10px;padding:20px;margin:20px 0}.season-event>span{color:#dccc8c;letter-spacing:1px;font-size:11px}.season-event h3{font:500 23px 'Space Grotesk';margin:10px 0}.season-event p{font-size:14px;line-height:1.7;color:#c0cfae}.season-event>small{display:block;font-size:11px;color:#afc3a6;margin-top:12px}.season-calendar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.season-calendar article{padding:18px;background:#122b23;border:1px solid #aabb8840;border-radius:9px}.season-calendar article.current{border-color:var(--season)}.season-calendar header{display:flex;gap:14px;align-items:center;color:var(--season)}.season-calendar header>span{font-size:33px}.season-calendar h3{font:500 22px 'Space Grotesk';margin:5px 0}.season-calendar header small{font-size:8px;letter-spacing:1px}.season-crops{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.season-crops>div{width:calc(33.33% - 6px);text-align:center;min-width:72px}.season-crops canvas{display:block;image-rendering:pixelated;margin:auto}.season-crops b{display:block;font-size:10px}.season-crops small{display:block;font-size:8px;color:#bacaab;line-height:1.5;margin:4px 0}.season-crops .unlicensed canvas{opacity:.55}.season-calendar article>p{font-size:11px;line-height:1.6;color:#bacaab}.adventure-nav .event-ready{border-color:#e3d388;box-shadow:0 0 16px #e7d98e44}.adventure-nav button:last-child{background:linear-gradient(#3b4a36f0,#263529f2);border-color:#c4cd9265}
@media(max-width:600px){.season-calendar{grid-template-columns:1fr}.adventure-nav button{padding:8px 5px;font-size:10px;white-space:nowrap}.adventure-nav kbd{display:none}.season-event{padding:15px}.season-event p{font-size:13px}.season-event h3{font-size:20px}}
@media(max-height:580px) and (min-width:600px){.dungeon-hud{left:12px;transform:none;top:80px;width:166px;padding:10px}.dungeon-hud>div:first-child{display:block}.dungeon-hud #dungeon-wave{display:block;text-align:left;margin-top:6px}.dungeon-hud b{font-size:11px}.dungeon-hud label{font-size:7px;letter-spacing:.4px;gap:4px}}
/* Cutscenes: quadro cinematográfico responsivo, com texto sempre legível. */
dialog.cutscene-dialog{width:calc(100% - 24px);max-width:650px;padding:18px;background:linear-gradient(145deg,#293b39,#12232d);border-color:#b4b5968a;overflow:auto}
.cutscene-heading{padding:6px 36px 14px 4px}.cutscene-heading>span{font-size:10px;letter-spacing:1.7px;text-transform:uppercase;color:#d5c48e}.cutscene-heading h2{font:500 25px 'Space Grotesk',sans-serif;letter-spacing:-.5px;margin:7px 0 0;color:#f4e2b6}.cutscene-stage{position:relative;overflow:hidden;border:1px solid #baa77970;border-radius:6px;box-shadow:0 7px 24px #071a2399}.cutscene-stage canvas{width:100%;height:auto;display:block;image-rendering:pixelated;aspect-ratio:28/13}.cutscene-stamp{position:absolute;top:17px;left:17px;letter-spacing:3px;color:#e9e0bdba;font-size:8px;text-shadow:0 1px 3px #102532}.cutscene-caption{min-height:123px;padding:20px 16px 7px;border-left:2px solid #b2b78b;margin-top:18px;background:linear-gradient(90deg,#76978313,transparent)}.cutscene-caption>b{font-size:11px;letter-spacing:1px;color:#ddcb91}.cutscene-caption>p{font-size:17px;line-height:1.75;margin:9px 0;color:#e6e5d4}.cutscene-progress{display:flex;gap:7px;align-items:center;justify-content:center;padding:12px 0 15px}.cutscene-progress i{width:20px;height:3px;background:#64766d;border-radius:2px}.cutscene-progress i.active{background:#efd599;box-shadow:0 0 8px #efdc9955}.cutscene-controls{display:flex;align-items:stretch;justify-content:center;gap:8px}.cutscene-controls>button{min-height:44px}.cutscene-controls .primary-button{flex:1}.cutscene-controls .secondary-button{padding:10px 13px;background:#294238}.cutscene-skip{border:0;background:none;padding:8px 12px;font-size:12px;text-decoration:underline;color:#b1c1b6}.cutscene-hint{text-align:center;margin:13px 0 0;font-size:10px;line-height:1.5;color:#8fa99e}
@media(max-width:560px){dialog.cutscene-dialog{padding:13px;max-height:92dvh}.cutscene-heading h2{font-size:21px}.cutscene-heading>span{font-size:8px;letter-spacing:1.2px}.cutscene-caption{padding:13px 11px 4px;margin-top:12px;min-height:138px}.cutscene-caption>p{font-size:15px;line-height:1.65}.cutscene-caption>b{font-size:10px;letter-spacing:.5px}.cutscene-controls{gap:6px;flex-wrap:wrap}.cutscene-controls .primary-button{min-width:150px;padding:10px 12px;font-size:13px}.cutscene-controls .secondary-button{font-size:12px;padding:9px 11px}.cutscene-skip{font-size:11px;padding:8px}.cutscene-stamp{font-size:6px;top:12px;left:12px;letter-spacing:2px}.cutscene-hint{font-size:9px}}
@media(max-height:550px) and (min-width:600px){dialog.cutscene-dialog{max-width:750px}.cutscene{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0 16px}.cutscene-heading{grid-column:1/-1;padding-bottom:10px}.cutscene-stage{align-self:start}.cutscene-caption{margin-top:0;min-height:0;padding-top:0}.cutscene-caption>p{font-size:14px;line-height:1.55}.cutscene-progress{grid-column:1;padding:7px}.cutscene-controls{grid-column:1/-1}.cutscene-hint{grid-column:1/-1;margin-top:7px}}
@media(min-width:1100px){.dungeon-hud{left:24px;top:122px;transform:none;width:218px}.dungeon-hud>div:first-child{display:block}.dungeon-hud #dungeon-wave{display:block;text-align:left;margin-top:8px}}
