@font-face{font-family:DM Sans;src:url(../assets/dm-sans.woff2)format("woff2");font-weight:100 1000;font-display:swap}@font-face{font-family:Pixelify Sans;src:url(../assets/pixelify-sans.woff2)format("woff2");font-weight:400 700;font-display:swap}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#191d1b;--surface:#222823;--surface-raised:#2a322a;--field:#171c18;--line:#3b453b;--text:#eee9da;--muted:#a7afa1;--dim:#838e7f;--accent:#e8ba72;--accent-hover:#f4ce8d;--ink:#282a20;--error:#e7ac97;--sage:#a3b791;--font:"DM Sans", sans-serif;--pixel:"Pixelify Sans", sans-serif;--small:14px;--body:16px;--sub:20px;--heading:28px;--display:40px;--title:64px;--radius:8px;font-family:var(--font);font-size:var(--body);background:var(--bg);color:var(--text);font-synthesis:none;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{min-width:300px;margin:0}button,input,select,textarea{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:not-allowed}button,a{touch-action:manipulation}button{transition:background-color .12s,color .12s,border-color .12s}button:active:not(:disabled){transform:scale(.96)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,canvas:focus-visible{outline:2px solid var(--text);outline-offset:4px}a{color:inherit}a:hover{color:var(--accent)}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance;font-weight:700;line-height:1.2}h1{font-size:var(--display)}h2{font-size:var(--heading)}h3{font-size:var(--body)}p{text-wrap:pretty}svg{vertical-align:middle;flex-shrink:0}img,canvas{max-width:100%}[hidden]{display:none!important}button{border:0}input{min-width:0}small,.caption{font-size:var(--small);color:var(--muted);line-height:1.5}.muted{color:var(--muted)}.break-word{overflow-wrap:anywhere}.pixel-art,.region-art,.game-canvas{image-rendering:pixelated}.skip-link{background:var(--text);color:var(--ink);z-index:100;padding:12px;position:fixed;top:-60px;left:16px}.skip-link:focus{top:12px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.site-header{border-bottom:1px solid var(--line);background:#1c211d;justify-content:space-between;align-items:center;gap:24px;min-height:88px;padding:0 40px;display:flex}.brand{white-space:nowrap;font-size:var(--sub);align-items:center;gap:10px;font-weight:700;line-height:1.1;text-decoration:none;display:flex}.brand .pixel-art{margin-left:-5px}.brand-sub{font-size:var(--small);color:var(--muted);margin-top:6px;font-weight:400;display:block}.top-nav{align-self:stretch;gap:8px;display:flex}.top-nav button{font-size:var(--small);color:var(--muted);background:0 0;align-items:center;gap:8px;min-height:44px;padding:0 15px;font-weight:500;display:flex;position:relative}.top-nav button:hover{color:var(--text);background:#242b23}.top-nav button.active{color:var(--accent)}.top-nav button.active:after{content:"";inset-inline:16px;background:var(--accent);height:3px;position:absolute;bottom:0}.connect-button{white-space:nowrap;min-height:40px;font-size:var(--small);background:0 0;border:1px solid #515c4d;border-radius:6px;justify-content:center;align-items:center;gap:9px;padding:8px 14px;font-weight:500;display:flex}.connect-button:hover{border-color:var(--accent);background:var(--surface-raised)}.wrong-network{color:var(--error)}.main-content{max-width:1536px;margin:auto;padding:29px 40px 0}.page-intro{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.page-title{font-family:var(--pixel);font-size:var(--heading);font-weight:500;line-height:1.2}.intro-caption{color:var(--muted);font-size:var(--small);margin-top:7px}.text-button{min-height:36px;color:var(--muted);font-size:var(--small);background:0 0;justify-content:center;align-items:center;gap:6px;padding:8px 0;display:inline-flex}.text-button:hover{color:var(--accent)}.help-button{padding:8px 0 8px 12px}.play-layout{grid-template-columns:minmax(0,1fr) 264px;align-items:start;gap:32px;display:grid}.game-column{min-width:0}.game-stage{border-radius:var(--radius);background:#263426;border:1px solid #4a5545;position:relative;overflow:clip}.stage-bar{height:49px;font-size:var(--small);background:#252e25;border-bottom:1px solid #3c4b37;align-items:center;gap:16px;padding:0 18px;display:flex}.stage-mode{color:#d5ddca;align-items:center;gap:9px;display:flex}.stage-status{color:#afbca5;font-size:var(--small);font-variant-numeric:tabular-nums;align-items:center;gap:20px;margin-left:auto;display:flex}.stage-utilities{align-items:center;gap:4px;margin-left:4px;display:flex}.icon-button{min-width:36px;min-height:36px;color:var(--muted);background:0 0;border-radius:5px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{color:var(--text);background:#394435}.stage-scene{isolation:isolate;aspect-ratio:1.93;height:auto;min-height:422px;position:relative}.game-canvas{touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0;outline-offset:-4px!important}.title-screen{pointer-events:none;max-width:370px;position:absolute;top:37px;left:44px}.title-screen button{pointer-events:auto}.small-pixel-art{font-family:var(--pixel);font-size:var(--body);color:#c6d0ad;align-items:center;gap:9px;margin-bottom:16px;display:flex}.small-pixel-art svg{color:#c6c593}.title-screen h1{font-family:var(--pixel);font-size:var(--title);letter-spacing:-.035em;color:#f1e5c2;font-weight:700;line-height:.91}.title-period{color:var(--accent)}.title-tagline{font-size:var(--sub);color:#eee8cf;margin-top:19px;font-weight:500;line-height:1.3}.title-description{font-size:var(--small);color:#c1c8ad;margin-top:8px;line-height:1.65}.title-actions{flex-direction:column;align-items:start;gap:1px;margin-top:24px;display:flex}.primary,.secondary{min-height:44px;font-size:var(--small);border-radius:6px;justify-content:center;align-items:center;gap:12px;padding:11px 17px;font-weight:700;line-height:1.5;text-decoration:none;display:inline-flex}.primary{background:var(--accent);color:var(--ink)}.primary:hover{background:var(--accent-hover);color:var(--ink)}.secondary{color:var(--text);background:0 0;border:1px solid #53604e}.secondary:hover{background:#354031;border-color:#7a886e}.primary.start-button{font-size:var(--body);gap:24px;padding:13px 21px}.no-wallet{color:#bdc5ab;font-size:var(--small);align-items:center;gap:6px;margin-top:13px;display:flex}.new-run-button{color:#ccd0b5;font-size:var(--small)}.stage-bottom{color:#bdc9af;min-height:41px;font-size:var(--small);background:#252e25;border-top:1px solid #3c4b37;justify-content:space-between;align-items:center;gap:16px;padding:9px 17px;display:flex}.stage-bottom>span{align-items:center;gap:8px;display:flex}.status-dot{background:#87917e;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.status-dot.fresh{background:#acbd89}.save-label{white-space:nowrap;font-size:var(--small);color:#9eae92}.controls-guide{font-size:var(--small);color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 27px;margin-top:18px;display:flex}.controls-guide>div{align-items:center;gap:4px;display:flex}.guide-label{margin-right:6px}.control-or{color:#75816f;margin:0 3px}kbd{font:inherit;font-size:var(--small);color:#c7cebf;background:#252c24;border:1px solid #434d40;border-bottom-width:2px;border-radius:4px;justify-content:center;align-items:center;min-width:24px;height:25px;padding:2px 5px;line-height:1.2;display:inline-flex}.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading>.muted{font-size:var(--small)}.journey-section{margin-top:34px}.journey-section h2{font-size:var(--sub);font-weight:500}.journey-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:16px;display:grid}.journey-stop{position:relative}.journey-art{border-radius:5px;line-height:0;position:relative;overflow:clip}.region-art{object-fit:cover;object-position:50% 55%;width:100%;height:90px}.world-number{font-family:var(--pixel);font-size:var(--sub);color:#ecdfba;background:#293d2a;padding:4px 6px;line-height:1;position:absolute;top:9px;left:10px}.world-check{color:#2f3d2c;background:#d9c79a;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;display:flex;position:absolute;top:9px;right:9px}.journey-copy{flex-wrap:wrap;align-items:baseline;gap:3px 8px;margin-top:10px;display:flex}.journey-copy h3{font-size:var(--small);font-weight:500}.journey-copy p{font-size:var(--small);color:var(--muted)}.journey-stop.current .journey-art{outline:2px solid var(--accent);outline-offset:3px}.adventure-sidebar{padding-top:1px}.adventure-sidebar>section{border-top:1px solid var(--line);padding:20px 0}.adventure-sidebar>section:first-child{border-top:0;padding-top:0}.adventure-sidebar h3{font-size:var(--body);font-weight:500}.profile-mini .section-heading{min-height:36px}.mini-identity{align-items:center;gap:5px;margin-top:1px;margin-left:-7px;display:flex}.mini-identity>div{min-width:0}.mini-identity strong{font-size:var(--small);overflow-wrap:anywhere;font-weight:700;display:block}.mini-identity span{font-size:var(--small);color:var(--muted);margin-top:3px;display:block}.mini-identity>img{object-fit:contain;border-radius:4px;margin:4px 9px 4px 6px}.xp-track{background:#374131;border-radius:2px;height:5px;margin-top:12px;overflow:clip}.xp-track>span{background:#a5b389;border-radius:2px;height:100%;display:block}.xp-label{font-size:var(--small);color:var(--muted);justify-content:space-between;gap:8px;margin-top:8px;display:flex}.mini-points{align-items:center;gap:8px;margin-top:20px;display:flex}.mini-points svg{color:var(--accent)}.mini-points strong{font-size:var(--sub);font-weight:500;line-height:1}.mini-points span{font-size:var(--small);color:var(--muted);margin-left:3px}.quest-panel>p{font-size:var(--small);color:var(--muted);margin-top:12px;line-height:1.7}.quest-detail{align-items:center;gap:11px;margin-top:18px;display:flex}.quest-detail svg{color:#c8ba8a}.quest-detail strong{font-size:var(--small);font-weight:500;display:block}.quest-detail span{color:var(--muted);font-size:var(--small);margin-top:3px;display:block}.quest-panel p.caption{font-size:var(--small);color:#a4b393;margin-top:12px}.checkin-panel p{font-size:var(--small);margin-top:9px}.checkin-panel .text-button{margin-top:3px}.wheel-panel p{font-size:var(--small);margin-top:8px}.wheel-reading{font-size:var(--small);flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.wheel-reading strong{font-weight:500}.wheel-reading>span:last-child{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto}.wheel-panel .caption{font-size:var(--small)}.wheel-caption{line-height:1.6;margin-top:12px!important}.text-link{font-size:var(--small);text-underline-offset:4px;color:#c4cdb8;align-items:center;gap:5px;display:inline-flex}.wheel-panel .text-link{margin-top:10px}.site-footer{border-top:1px solid var(--line);min-height:70px;font-size:var(--small);color:var(--muted);justify-content:space-between;align-items:center;gap:20px;margin-top:30px;display:flex}.site-footer>span:first-child{align-items:center;gap:7px;display:flex}.site-footer .text-button{font-size:var(--small)}.footer-center{color:#929d8b}.health-hud{align-items:center;gap:10px;display:flex}.hearts{gap:2px;display:flex}.lives{font-size:var(--small);color:#c8d3bb}.seed-hud{color:#eee1b9;align-items:center;gap:3px;display:flex}.score-hud{color:#c5cfb8}.in-game-location{pointer-events:none;color:#f0e7cf;text-shadow:0 1px #253c28;flex-direction:column;gap:2px;display:flex;position:absolute;top:16px;left:20px}.in-game-location>span{font-size:var(--small)}.in-game-location>strong{font-family:var(--pixel);font-size:var(--sub);font-weight:500}.game-notice{color:#f0e5c5;max-width:90%;font-size:var(--small);text-align:center;pointer-events:none;background:#253a2c;border-radius:4px;padding:8px 14px;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.boss-hud{font-size:var(--small);background:#263b2e;border-radius:4px;padding:8px 12px;position:absolute;top:18px;left:32%;right:20px}.boss-hud>div:first-child{justify-content:space-between;gap:8px;display:flex}.boss-hud strong{font-weight:500}.boss-hud>div>span{color:#e9d5a1}.boss-track{background:#4d6045;height:7px;margin-top:5px;overflow:hidden}.boss-track>span{background:#e8bb72;height:100%;transition:width .15s;display:block}.game-overlay{background:#141f18eb;justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0;overflow:auto}.state-screen{text-align:center;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:520px;display:flex}.state-screen>svg{color:var(--accent)}.state-screen h2{font-family:var(--pixel);font-size:var(--display);color:#efdfb8;line-height:1.05}.state-screen>p{font-size:var(--small);color:#c5ceba;max-width:42ch}.state-screen>.primary{min-width:230px;margin-top:4px}.state-screen .text-button{color:#c4ceb5}.state-screen .pixel-art{margin-top:-20px;margin-bottom:-10px}.pause-actions{justify-content:center;gap:12px;display:flex}.run-stats{justify-content:center;gap:35px;margin:8px 0;display:flex}.run-stats>div{flex-direction:column;gap:5px;min-width:70px;display:flex}.run-stats strong{font-size:var(--heading);font-family:var(--pixel);font-weight:500;line-height:1}.run-stats span{font-size:var(--small);color:#bbc7ad}.completion-label{color:#e8c381!important}.victory-overlay{background:#1b2b1df2}.canvas-error{background:var(--bg);z-index:20;padding:30px;position:absolute;inset:30px}.touch-controls{touch-action:none;-webkit-user-select:none;user-select:none;background:#252e25;border-top:1px solid #3b4b36;justify-content:space-between;gap:12px;padding:12px 14px;display:none}.touch-directions,.touch-actions{align-items:center;gap:8px;display:flex}.touch-button{color:#e4e6cb;touch-action:none;width:56px;height:60px;font-size:var(--small);background:#364630;border:1px solid #627256;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}.touch-jump{background:var(--accent);border-color:var(--accent);color:var(--ink);width:62px;height:66px}.touch-button:active{background:#65754b;transform:none!important}.touch-jump:active{background:var(--accent-hover)}.touch-controls.force-touch{display:flex}.panel-page{background:var(--surface);border:1px solid var(--line);border-radius:8px;max-width:1080px;margin:0 auto;padding:32px}.panel-title{font-family:var(--pixel);font-size:var(--display);margin-bottom:28px}.character-content>section,.character-content>form{margin-top:30px}.character-content>section:first-child{margin-top:0}.character-overview{grid-template-columns:180px 1fr;align-items:center;gap:30px;display:grid}.character-portrait{background:#33432f;border-radius:8px;justify-content:center;align-items:center;min-height:160px;display:flex}.character-portrait>img{object-fit:contain;width:160px;height:160px}.character-overview h2{font-size:var(--heading);overflow-wrap:anywhere}.character-overview .muted{margin-top:5px}.character-overview .xp-track{max-width:460px;margin-top:17px}.character-overview .caption{margin-top:6px}.character-stats{gap:35px;margin-top:20px;display:flex}.character-stats>div{flex-direction:column;display:flex}.character-stats strong{font-size:var(--sub);font-weight:500}.character-stats span{color:var(--muted);font-size:var(--small)}.name-form{max-width:560px}.name-form>label{font-size:var(--small);font-weight:500}.name-form>.button-row{margin-top:8px}.button-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.name-form input{background:var(--field);min-height:44px;color:var(--text);border:1px solid #5b6854;border-radius:5px;flex:1;min-width:150px;padding:10px 12px}.name-form .caption{margin-top:8px;display:block}.cosmetic-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px;display:grid}.cosmetic{text-align:center;background:#2a3429;border:1px solid #4b5a43;border-radius:6px;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;display:flex}.cosmetic.selected{border-color:var(--accent);background:#3b3d2c}.cosmetic:not(:disabled):hover{background:#3d4a33}.cosmetic strong{font-size:var(--small);font-weight:500}.cosmetic>span{font-size:var(--small);color:#b4c1a6;justify-content:center;align-items:center;gap:5px;display:flex}.cosmetic:disabled{opacity:.65}.achievement-grid{grid-template-columns:1fr 1fr;gap:0 28px;margin-top:16px;display:grid}.achievement{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:14px;padding:16px 0;display:flex}.achievement strong{font-size:var(--small);font-weight:500}.achievement p{font-size:var(--small);color:var(--muted);margin-top:3px}.achievement.earned{color:#e2d4a8}.achievement>svg:last-child{margin-left:auto}.achievement-icon{flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.nft-identity{border-top:1px solid var(--line);padding-top:28px}.nft-identity>p,.nft-identity>.button-row{margin-top:14px}.nft-identity>.muted{font-size:var(--small)}.quiet-note{font-size:var(--small);color:#becbb0;background:#2c372b;border-radius:4px;padding:16px}.character-content>.caption{margin-top:28px}.nft-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px;display:grid}.nft-option{font-size:var(--small);background:#2b362b;border:1px solid #53614b;border-radius:6px;flex-direction:column;align-items:center;gap:6px;padding:12px;display:flex}.nft-option img{aspect-ratio:1;object-fit:contain;width:100%}.nft-option.selected{border-color:var(--accent)}.nft-option span{color:var(--muted)}.full{width:100%}.settings-page{max-width:850px}.settings-panel>section+section{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.settings-panel h3{font-size:var(--sub);margin-bottom:16px;font-weight:500}.setting-range{align-items:center;gap:20px;padding:12px 0;display:flex}.setting-range>span{min-width:110px;font-size:var(--small)}.setting-range>input{accent-color:var(--accent);cursor:pointer;flex:1;min-height:32px}.setting-range>output{font-size:var(--small);font-variant-numeric:tabular-nums;text-align:right;min-width:40px;color:var(--muted)}.setting-toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;display:flex}.setting-toggle strong{font-size:var(--small);font-weight:500;display:block}.setting-toggle small{color:var(--muted);font-size:var(--small);margin-top:4px;display:block}.setting-toggle input{width:40px;height:23px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}.settings-panel>.caption{margin-top:20px}.settings-integrations{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.settings-integrations>p{font-size:var(--small);color:var(--muted);margin-top:10px}.settings-integrations>.secondary{margin-top:20px}.leaderboard-content>.section-heading>div>p{font-size:var(--small);margin-top:9px}.leaderboard-content>.section-heading>svg{color:var(--accent)}.leaderboard-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-top:28px;display:flex}.segmented{background:#171d18;border-radius:6px;gap:4px;padding:4px;display:flex}.segmented button{color:var(--muted);min-height:40px;font-size:var(--small);background:0 0;border-radius:4px;padding:8px 15px}.segmented button[aria-pressed=true]{color:var(--text);background:#3d4a35}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:280px;padding:50px 20px;display:flex}.empty-state>svg{color:var(--accent)}.empty-state h3{font-family:var(--pixel);font-size:var(--heading)}.empty-state p{max-width:45ch;font-size:var(--small);color:var(--muted)}.table-wrap{margin-top:24px;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;min-width:500px;font-size:var(--small)}th{color:var(--muted);border-bottom:1px solid var(--line);padding:12px 8px;font-weight:500}td{border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;padding:17px 8px}td strong{overflow-wrap:anywhere;font-weight:500}td small{font-size:var(--small);margin-top:3px;display:block}.leaderboard-note{color:var(--muted);border-top:1px solid var(--line);font-size:var(--small);gap:10px;padding-top:20px;line-height:1.7;display:flex}.leaderboard-note svg{flex-shrink:0;margin-top:3px}.modal{overscroll-behavior:contain;width:calc(100% - 32px);max-width:460px;max-height:calc(100dvh - 48px);color:var(--text);font-size:var(--body);background:#252e25;border:1px solid #5a6752;border-radius:10px;padding:24px;position:fixed;inset:0;overflow:auto}.modal::backdrop{background:#09110bcc}.modal-wide{max-width:680px}.modal-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.modal-heading h2{font-family:var(--pixel);font-size:var(--heading);line-height:1.1}.modal-heading .icon-button{min-width:40px;min-height:40px;margin:-6px -6px 0 0}.modal>p{font-size:var(--small);color:var(--muted);margin-top:12px}.modal>.button-row{margin-top:24px}.wallet-rows{flex-direction:column;gap:8px;margin-top:20px;display:flex}.wallet-row{width:100%;min-height:52px;font-size:var(--small);color:var(--text);text-align:left;background:#333f2f;border:1px solid #52624a;border-radius:6px;align-items:center;gap:12px;padding:10px 12px;text-decoration:none;display:flex}.wallet-row>span{flex:1}.wallet-row>img{object-fit:contain;border-radius:4px;width:28px;height:28px}.wallet-row:hover{color:var(--text);background:#46553c;border-color:#768968}.wallet-note{font-size:var(--small);color:var(--muted);margin-top:20px!important}.inline-error{color:var(--error);font-size:var(--small);overflow-wrap:anywhere;margin-top:14px}.inline-status{color:#c3d7ae;font-size:var(--small);margin:14px 0}.wallet-address{background:var(--field);border-radius:4px;flex-direction:column;align-items:start;gap:2px;margin-top:18px;padding:12px;display:flex}.wallet-address>span{overflow-wrap:anywhere;font-size:var(--small);max-width:100%}.row-link{min-height:48px;font-size:var(--small);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;text-decoration:none;display:flex}.integration-notes>section+section{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.integration-notes h3{font-size:var(--sub);margin-bottom:12px;font-weight:500}.integration-notes p,.integration-notes li{font-size:var(--small);color:var(--muted);line-height:1.7}.integration-notes p+p{margin-top:12px}.integration-notes ul{gap:8px;padding-left:20px;display:grid}.unavailable-label{align-items:center;gap:7px;margin-bottom:12px;display:flex;color:#e4d8b5!important}.integration-notes details{font-size:var(--small);margin-top:16px}summary{cursor:pointer;color:var(--text);padding:6px 0}details>p{margin-top:10px}.help-content>p,.help-content li{font-size:var(--small);color:var(--muted);line-height:1.7}.help-content ul{padding-left:20px}.help-controls{gap:14px;margin:24px 0;display:grid}.help-controls>div{font-size:var(--small);grid-template-columns:100px 1fr;gap:12px;display:grid}.help-controls dt{color:var(--text);font-weight:500}.help-controls dd{color:var(--muted);margin:0}.help-content>.primary{margin-top:10px}.offline-notice{font-size:var(--small);color:#dedfbe;background:#384130;border-radius:4px;margin-bottom:16px;padding:12px 16px}@media (min-width:1500px){.stage-scene{min-height:490px}.title-screen{top:52px;left:55px}.title-actions{margin-top:30px}.title-description{margin-top:12px}.title-tagline{margin-top:23px}}@media (max-width:1190px){.site-header{gap:14px;padding-inline:24px}.brand-sub{display:none}.top-nav button{padding-inline:10px}.main-content{padding-inline:24px}.play-layout{grid-template-columns:minmax(0,1fr) 235px;gap:24px}.title-screen{top:32px;left:30px}.stage-status{gap:10px}.controls-guide{gap:10px 16px}.quest-detail{gap:8px}.journey-copy{display:block}.journey-copy p{margin-top:3px}.footer-center{display:none}.stage-status>span:first-child:not(.seed-hud){font-size:var(--small)}.title-screen .small-pixel-art{margin-bottom:16px}.title-actions{margin-top:20px}}@media (max-width:980px){.play-layout{grid-template-columns:minmax(0,1fr)}.adventure-sidebar{grid-template-columns:1fr 1fr;gap:12px 30px;display:grid}.adventure-sidebar>section:first-child{border-top:1px solid var(--line);padding-top:20px}.adventure-sidebar>section{padding-bottom:14px}.stage-scene{aspect-ratio:1.8;min-height:440px}.title-screen{top:37px;left:40px}.journey-map{gap:16px}.brand{font-size:var(--body);gap:4px}.top-nav{gap:1px}.top-nav button{gap:6px;padding-inline:10px}.main-content{padding-top:22px}.character-stats{gap:24px}}@media (max-width:700px){.site-header{grid-template-rows:60px 48px;grid-template-columns:1fr auto;gap:0 12px;min-height:108px;padding:0 16px;display:grid}.brand{font-size:var(--sub);gap:5px}.brand canvas{width:38px!important;height:38px!important}.brand-sub{display:none}.connect-button{min-height:36px;font-size:var(--small);padding:7px 10px}.top-nav{grid-area:2/1/auto/-1;justify-content:space-between;gap:0;width:100%;display:flex}.top-nav button{font-size:var(--small);flex:1;justify-content:center;gap:6px;padding:0 8px}.top-nav button.active:after{inset-inline:12px}.main-content{padding:19px 16px 0}.page-intro{align-items:flex-start;gap:8px;margin-bottom:18px}.page-title{font-size:var(--sub);line-height:1.3}.intro-caption{font-size:var(--small);margin-top:5px}.help-button{gap:0;min-width:36px;min-height:36px;padding:0;font-size:0}.help-button svg{width:20px;height:20px}.stage-bar{gap:8px;height:44px;padding-inline:12px}.stage-status>span:first-child:not(.seed-hud){display:none}.stage-utilities{margin-left:auto}.stage-status{gap:9px;margin-left:auto}.stage-scene{aspect-ratio:auto;height:440px;min-height:0}.title-screen{max-width:290px;top:37px;left:25px}.title-screen h1{font-size:var(--title)}.title-screen .small-pixel-art{font-size:var(--small);margin-bottom:19px}.title-tagline{font-size:var(--sub);margin-top:20px}.title-description{font-size:var(--small);max-width:230px;margin-top:9px;line-height:1.6}.title-actions{margin-top:25px}.primary.start-button{font-size:var(--small);gap:20px;min-height:46px;padding:12px 17px}.no-wallet{font-size:var(--small);margin-top:13px}.stage-bottom{min-height:39px;font-size:var(--small);gap:6px;padding:10px 12px}.stage-bottom .save-label,.controls-guide,.adventure-sidebar{display:none}.journey-section{margin-top:28px}.journey-section h2{font-size:var(--body)}.journey-section>.section-heading>.muted{display:none}.journey-map{gap:10px;margin-top:14px}.region-art{height:70px}.world-number{font-size:var(--body);padding:3px;top:6px;left:6px}.world-check{width:20px;height:20px;top:5px;right:5px}.journey-copy h3{font-size:var(--small);line-height:1.35}.journey-copy p{display:none}.journey-copy{margin-top:9px}.site-footer{min-height:84px;font-size:var(--small);flex-wrap:wrap;align-content:center;gap:8px;margin-top:24px;padding-block:8px}.site-footer .text-button{font-size:var(--small)}.site-footer>span:first-child{gap:6px}.in-adventure{overscroll-behavior:none;overflow:hidden}.adventure-active.main-content{padding:10px 10px 0}.adventure-active .page-intro,.adventure-active .journey-section,.adventure-active .site-footer{display:none}.is-playing .stage-scene{height:calc(100dvh - 291px - env(safe-area-inset-bottom));min-height:210px;max-height:700px}.is-playing .stage-bottom{min-height:36px;padding-block:7px}.is-playing .stage-bottom>span{font-size:var(--small);line-height:1.2}.is-playing .stage-bar{gap:5px;height:44px;padding-inline:8px}.game-stage .health-hud{gap:4px}.game-stage .hearts{gap:0}.game-stage .hearts canvas{width:18px!important;height:18px!important}.game-stage .score-hud{display:none}.game-stage .stage-utilities{gap:0;margin-left:2px}.game-stage .icon-button{min-width:32px}.game-stage .lives{font-size:var(--small)}.game-stage .stage-status{gap:4px}.in-game-location{top:12px;left:14px}.in-game-location>span{font-size:var(--small)}.in-game-location>strong{font-size:var(--sub)}.game-notice{width:max-content;max-width:92%;font-size:var(--small);padding:6px 9px;bottom:14px}.boss-hud{font-size:var(--small);padding:7px 10px;top:67px;left:14px;right:14px}.boss-hud>div>span{font-size:var(--small)}.game-overlay{padding:16px}.state-screen{gap:13px}.state-screen h2{font-size:var(--heading)}.state-screen>p{font-size:var(--small);max-width:30ch}.state-screen .primary{min-width:200px;min-height:44px}.run-stats{gap:16px}.run-stats strong{font-size:var(--heading)}.run-stats span{font-size:var(--small)}.state-screen .pixel-art{width:74px!important;height:74px!important}.touch-controls{gap:6px;padding:10px;display:flex}.touch-directions,.touch-actions{gap:6px}.touch-button{width:48px;height:58px;font-size:var(--small)}.touch-jump{width:55px;height:64px}.touch-button span{font-size:var(--small)}.panel-page{border-radius:6px;padding:22px 18px}.panel-title{font-size:var(--heading);margin-bottom:22px}.character-overview{grid-template-columns:105px 1fr;align-items:start;gap:14px}.character-portrait{min-height:110px}.character-portrait canvas,.character-portrait img{width:110px!important;height:110px!important}.character-overview h2{font-size:var(--sub)}.character-overview .muted{font-size:var(--small)}.character-overview .xp-track{margin-top:12px}.character-stats{flex-wrap:wrap;grid-column:1/-1;gap:16px;margin-top:14px}.character-stats strong{font-size:var(--sub)}.character-stats span{font-size:var(--small)}.cosmetic-grid{grid-template-columns:1fr 1fr;gap:10px}.cosmetic>span{font-size:var(--small);line-height:1.4}.cosmetic strong{font-size:var(--small)}.achievement-grid{grid-template-columns:1fr}.achievement{gap:10px;padding:13px 0}.achievement-icon{width:30px;height:34px}.section-heading{flex-wrap:wrap;gap:8px}.section-heading h3{font-size:var(--body)}.section-heading>.muted{font-size:var(--small)}.nft-grid{grid-template-columns:1fr 1fr}.setting-range{flex-wrap:wrap;gap:12px}.setting-range>span{min-width:100px}.setting-range>input{min-width:80px}.setting-toggle{gap:12px}.setting-toggle input{width:34px;height:25px}.settings-panel h3{font-size:var(--body)}.modal{border-radius:10px;width:calc(100% - 20px);max-height:calc(100dvh - 24px);padding:22px 18px}.modal-heading h2{font-size:var(--heading)}.modal:has(.wallet-rows){border-radius:12px 12px 0 0;width:100%;max-width:100%;max-height:85dvh;margin-bottom:0}.wallet-row{min-height:52px}.leaderboard-content>.section-heading h2{font-size:var(--sub)}.leaderboard-content>.section-heading>svg{display:none}.leaderboard-toolbar{margin-top:22px}.segmented button{padding:8px 12px}.empty-state{min-height:300px;padding:35px 0}.empty-state h3{font-size:var(--heading)}.leaderboard-note{font-size:var(--small)}.help-controls>div{grid-template-columns:82px 1fr;gap:8px}.desktop-only{display:none}}@media (max-width:360px){.site-header{padding-inline:10px}.brand{font-size:var(--body)}.connect-button{gap:6px;padding-inline:8px}.main-content{padding-inline:10px}.top-nav button{gap:4px;padding-inline:4px}.top-nav svg{width:15px;height:15px}.top-nav button.active:after{inset-inline:7px}.title-screen{left:21px}.title-screen .small-pixel-art{font-size:var(--small)}.touch-button{width:44px}.touch-jump{width:48px}.touch-directions,.touch-actions{gap:4px}.touch-controls{padding-inline:7px}.character-overview{grid-template-columns:1fr}.character-portrait{max-width:120px}.character-stats{gap:20px}.stage-bar{padding-inline:8px}.game-stage .hearts canvas{width:16px!important;height:16px!important}.is-playing .seed-hud{font-size:var(--small)}}@media (pointer:coarse){.touch-controls:not([hidden]){display:flex}.controls-guide{display:none}.icon-button{min-width:40px;min-height:40px}}@media (orientation:landscape) and (max-height:550px) and (pointer:coarse){.site-header{min-height:54px;padding-inline:16px;display:flex}.brand{font-size:var(--body)}.brand canvas{width:34px!important;height:34px!important}.top-nav{align-self:stretch;width:auto}.top-nav button{padding-inline:9px}.adventure-active .page-intro,.adventure-active .journey-section,.adventure-active .site-footer,.adventure-active .adventure-sidebar{display:none}.adventure-active.main-content{padding:6px 10px 0}.is-playing .stage-scene{height:calc(100dvh - 141px - env(safe-area-inset-bottom));aspect-ratio:auto;min-height:140px}.is-playing .touch-controls{pointer-events:none;background:0 0;border:0;padding-inline:15px;position:absolute;bottom:37px;left:0;right:0}.is-playing .touch-button{pointer-events:auto;opacity:.9}.is-playing .touch-button span{display:none}.is-playing .touch-button{width:48px;height:44px}.is-playing .stage-bottom{min-height:32px;font-size:var(--small)}.is-playing .stage-bar{height:40px}.is-playing .touch-jump{width:54px;height:50px}.in-game-location{top:8px;left:12px}.boss-hud{top:9px;left:35%}.game-notice{max-width:50%;bottom:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}button:active{transform:none!important}}@media (max-width:700px){.top-nav svg{display:none}.top-nav button{padding-inline:7px}.top-nav button.active:after{inset-inline:14px}}@media (forced-colors:active){button,a,input{forced-color-adjust:auto}.xp-track,.boss-track{border:1px solid canvastext}.game-stage{border:2px solid canvastext}}
