@font-face{font-family:PixelOperator;src:url('assets/PixelOperator.ttf');font-weight:400;font-display:swap}@font-face{font-family:PixelOperator;src:url('assets/PixelOperator-Bold.ttf');font-weight:700;font-display:swap}@font-face{font-family:CutePixel;src:url('assets/CutePixel.ttf');font-display:swap}@font-face{font-family:PixelOperator8;src:url('assets/PixelOperator8.ttf');font-display:swap}
:root{color-scheme:dark;--ink:#123e43;--cream:#f1f1d4;--mint:#86f5d5;--lime:#d7ec8d;--gold:#756d44;--muted:#b4cfc2}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--ink);color:var(--cream);font:20px/1.2 PixelOperator,monospace;font-synthesis:none}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}h1,h2,h3,p{margin:0}h2,h3{font-family:CutePixel,PixelOperator,monospace;font-weight:400}button,a,input{transition:filter .18s,background .18s,transform .18s}:focus-visible{outline:2px solid var(--lime);outline-offset:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.hero-scroll{height:205vh;position:relative}.hero-stage{height:100vh;min-height:650px;position:sticky;top:0;overflow:hidden;isolation:isolate;background:var(--ink)}.parallax-art{position:absolute;inset:0;z-index:0}.layer{position:absolute;top:0;left:0;width:100%;max-width:none;height:auto;pointer-events:none;will-change:transform}.cleanplate,.distance{z-index:0}.cliffs{z-index:4}.foreground{z-index:6}.hero-stage header{position:absolute;top:25px;left:4%;right:4%;z-index:9;display:flex;justify-content:space-between;font-size:17px;color:#e1efdb;text-shadow:0 2px 5px #062a35}.hero-stage header a{border-bottom:1px solid #cbcf9a80;padding-bottom:4px}.hero-stage header a:hover{color:var(--lime)}#game-title{position:absolute;top:5.5vh;left:50%;transform:translateX(-50%);width:min(51vw,760px);z-index:3;line-height:0;will-change:transform}#game-title img{width:100%;height:auto;filter:drop-shadow(0 7px 12px #05283e50)}
.hero-copy{position:absolute;inset:0;z-index:7;text-align:center;will-change:opacity,transform;pointer-events:none}.hero-copy>*{position:absolute;left:50%;transform:translateX(-50%);pointer-events:auto}.introduction{top:44%;width:660px;text-shadow:0 2px 3px #082f3f,0 0 16px #052f3f}.eyebrow{font:10px/1.5 PixelOperator8,monospace;letter-spacing:1px;color:var(--lime)}.introduction h2{font-size:38px;line-height:1.1;margin:12px 0 8px}.introduction p{font-size:19px;line-height:1.2;color:#e1efdb}.signup{top:59%;width:560px;text-shadow:0 1px 4px #062d39}.signup>p{margin-bottom:12px;color:#e1ebd7;font-size:19px}form{display:flex;gap:5px;background:#103d45ef;border:1px solid #8c9461;padding:5px;border-radius:8px;box-shadow:0 7px 20px #072d3450}input{flex:1;min-width:0;background:transparent;border:0;color:var(--cream);padding:12px;font-size:20px;outline:none}input::placeholder{color:#bed5c8}form:focus-within{outline:2px solid var(--mint);outline-offset:3px}.highlight,.tool-actions a{display:inline-flex;align-items:center;justify-content:center;position:relative;isolation:isolate;border:2px solid transparent;border-radius:7px;background:linear-gradient(105deg,#086b56,#00664f 45%,#04314b) padding-box,linear-gradient(#96dda7,#8affed) border-box;color:#e0f5e5;font:22px/1.1 PixelOperator,monospace;padding:13px 22px;white-space:nowrap;box-shadow:0 4px 14px #051f2730}.highlight:hover,.tool-actions a:hover{filter:brightness(1.18)}.signup .fine{font-size:14px;color:#b4c4ae;margin:11px 0 0;min-height:17px}
.steam{top:76%;display:flex;align-items:center;justify-content:center;gap:18px;width:320px;min-height:77px;padding:12px 24px;border:2px solid #65778a;border-radius:7px;background:linear-gradient(110deg,#1b2838,#263f53);color:#cfdae2;box-shadow:0 8px 22px #051e2b35}.steam svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}.steam>span{text-align:left;font-size:25px;font-weight:700;line-height:1}.steam small{display:block;color:#9eb9ce;font-size:13px;letter-spacing:1.2px;font-weight:400;margin-top:8px}.steam:hover{filter:brightness(1.15);border-color:#91a9bc}.follow{top:89%;display:flex;flex-direction:column;align-items:center;gap:10px}.follow>span{font-size:18px;text-shadow:0 2px 5px #07333b}.follow nav{display:flex;align-items:center;gap:13px;height:36px}.follow a,.follow button{width:36px;height:36px;display:grid;place-items:center;border:1px solid #ffffff35;border-radius:8px;background:#10151e;color:white;padding:8px}.follow a[href*="bsky.app"]{background:#1285ee;border-color:#6ab8ff}.follow a[href*="instagram.com"]{background:linear-gradient(35deg,#ffa64f,#d33a89 50%,#7058c5);border-color:#f690bb}.follow svg{width:20px;height:20px;fill:currentColor;display:block}.follow a[href*="instagram.com"] svg{stroke:white;fill:none;stroke-width:1.7}.follow .dot{fill:white;stroke:none}.follow a:hover{transform:translateY(-3px);filter:brightness(1.15)}.scroll-cue{position:absolute;z-index:8;bottom:23px;right:4%;display:flex;flex-direction:column;align-items:center;gap:12px;color:#e1edc9;font-size:16px;text-shadow:0 2px 5px #082938}.scroll-cue i{height:13px;width:13px;border-right:2px solid var(--mint);border-bottom:2px solid var(--mint);transform:rotate(45deg)}.hero-dissolve{position:absolute;inset:0;z-index:10;pointer-events:none;background:var(--ink);opacity:0;will-change:opacity}
.world-section{position:relative;background:var(--ink);min-height:100vh;padding:45px 30px 95px;text-align:center;overflow:clip}.world-heading{position:relative;z-index:2}.world-heading h2{font-size:50px;line-height:1.1;margin:15px 0 10px;color:var(--cream)}.world-heading>p{font-size:21px;color:var(--muted)}.planet-stage{position:relative;max-width:1340px;height:650px;margin:15px auto 0}.planet{position:absolute;width:590px;height:590px;top:8px;left:50%;transform:translateX(-50%)}.planet>img{display:block;width:100%;filter:drop-shadow(0 0 28px #54c6b318)}#markers{position:absolute;inset:0}.marker{--accent:var(--mint);position:absolute;width:31px;height:31px;transform:translate(-50%,-50%);border:1px solid var(--accent);border-radius:50%;background:#0f383edd;box-shadow:0 0 0 5px #082e3f66,0 0 17px #74eacb50;color:var(--accent);display:grid;place-items:center;padding:0}.marker::before{content:'';width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px var(--accent)}.marker::after{content:attr(data-name);position:absolute;top:38px;white-space:nowrap;font-size:17px;color:#f1f1d4;text-shadow:0 2px 4px #071f28;background:#10383bdc;padding:2px 7px;border-radius:3px;opacity:0;transition:opacity .2s;pointer-events:none}.marker:hover,.marker[aria-expanded=true]{box-shadow:0 0 0 7px #9aebcf22,0 0 24px #74eacb85;z-index:3}.marker:hover::after,.marker:focus-visible::after{opacity:1}.marker:nth-child(2n){--accent:var(--lime)}.marker:nth-child(3n){--accent:#f08bc6}.marker:focus-visible{outline:2px solid white;outline-offset:8px}.callout-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2;opacity:0;transition:opacity .2s}.callout-line path{fill:none;stroke:var(--mint);stroke-width:1.5;stroke-linejoin:round}.callout-line circle{fill:var(--lime)}.callout-line.visible{opacity:.85}.callout{position:absolute;width:315px;top:80px;text-align:left;border:1px solid #8d8858;border-radius:9px;background:#102f36;box-shadow:0 15px 50px #051e2760;z-index:4;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none}.callout.visible{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}.callout[data-side=left]{left:0}.callout[data-side=right]{right:0}.town-art{height:243px;position:relative;background:#0b3036;overflow:hidden}.town-concept{width:100%;height:177px;object-fit:cover;display:block;image-rendering:pixelated}.town-art::after{content:'';position:absolute;left:0;right:0;top:135px;height:65px;background:linear-gradient(transparent,#102f36);pointer-events:none}.town-cast{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:auto;height:110px;max-width:95%;object-fit:contain;z-index:1;image-rendering:pixelated;filter:drop-shadow(0 4px 4px #031c22aa)}.town-copy{padding:8px 23px 23px;border-top:1px solid #756d444d}.town-copy h3{font-size:34px;color:var(--lime);line-height:1.15;margin:8px 0 11px}.town-copy p{font-size:20px;color:#d2e1d0;line-height:1.16}.callout-close{position:absolute;right:8px;top:8px;border:1px solid #d4eadb55;border-radius:5px;background:#092c37bb;color:white;width:27px;height:27px;font-size:22px;z-index:5;line-height:1}.planet-instruction{position:absolute;bottom:12px;left:0;right:0;color:#acc9b9;font-size:18px}#town-nav{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:4px}#town-nav button{font:18px PixelOperator,monospace;border:1px solid #71826a70;border-radius:5px;padding:7px 12px;color:#c8dac6;background:transparent}#town-nav button:hover,#town-nav button[aria-pressed=true]{color:var(--lime);border-color:#aab783;background:#1b5052}
footer{position:relative;width:100%;background:#0c3038;padding:60px max(5vw,30px);display:flex;justify-content:center;align-items:center;gap:60px}.shoreline-edge{position:absolute;top:-30px;left:0;width:100%;height:32px;fill:#0c3038}.tool-screenshot{width:340px;flex:none;display:block;border:1px solid #567570;border-radius:7px;overflow:hidden;box-shadow:0 8px 28px #03252c50}.tool-screenshot img{display:block;width:100%;height:auto;aspect-ratio:2031/1699;object-fit:contain}.tool-details{max-width:530px}.tool-heading h2{font-size:44px;display:flex;align-items:center;gap:15px;margin-bottom:20px}.free-badge{font:10px PixelOperator8,monospace;color:var(--lime);border:1px solid #799c7b;padding:6px;border-radius:3px}.tool-heading p{font-size:23px;line-height:1.15;max-width:460px;color:#cadccc}.tool-meta{display:block;font-size:16px;color:#97b6a9;margin-top:13px}.tool-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.tool-actions a{font-size:23px;padding:13px 28px}.tool-actions .tool-download{background:#0b242c;border-color:#736f53;color:#d7e0ce}.tool-actions .tool-download:hover{border-color:var(--mint)}.tool-actions>span{flex-basis:100%;font-size:15px;color:#93b4a4;margin-top:3px}
dialog{background:#113c43;border:1px solid #8c9463;border-radius:9px;color:var(--cream);padding:40px;max-width:460px;text-align:center;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#041b24b8;backdrop-filter:blur(5px)}dialog h2{font-size:38px;margin:8px 0 20px}dialog p{font-size:21px;line-height:1.25;color:#d1e1d0;margin-bottom:26px}#close-dialog{position:absolute;top:8px;right:13px;background:none;border:0;color:#c6dac8;font-size:30px}
@media(max-height:800px){#game-title{width:min(44vw,610px);top:5vh}.introduction{top:43%}.introduction h2{font-size:34px;margin:8px 0}.introduction p{font-size:18px}.signup{top:58%}.signup>p{font-size:17px;margin-bottom:9px}input{padding:9px 12px}.highlight{padding:10px 20px;font-size:21px}.signup .fine{font-size:14px;margin-top:8px}.steam{top:76%;min-height:64px;width:300px}.steam>span{font-size:23px}.steam svg{width:32px;height:32px}.follow{top:89%;gap:6px}.follow nav{height:32px}.follow a{width:32px;height:32px;padding:6px}.follow>span{font-size:17px}.world-heading h2{font-size:46px}.planet-stage{height:585px}.planet{width:535px;height:535px}}
@media(min-width:1700px){.planet-stage{max-width:1480px;height:760px}.planet{width:690px;height:690px}.callout{width:345px}.town-art{height:265px}.town-concept{height:195px}.town-cast{height:120px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}.hero-scroll{height:100vh}}

/* Keep the free tool in view throughout the world chapter, with room reserved above it. */
:root{--tool-banner-height:190px}.world-chapter{position:relative;isolation:isolate}.world-section{min-height:calc(100vh - var(--tool-banner-height));padding:28px 30px 42px}.world-heading h2{font-size:43px;margin:11px 0 8px}.world-heading>p{font-size:19px}.planet-stage{height:calc(100vh - var(--tool-banner-height) - 220px);min-height:370px;max-height:650px;margin:10px auto 0}.planet{width:calc(100vh - var(--tool-banner-height) - 250px);height:auto;aspect-ratio:1;min-width:340px;max-width:615px;top:0}.planet-instruction{bottom:0;font-size:16px}#town-nav{margin-top:12px;gap:10px}#town-nav button{font-size:16px;padding:5px 10px}.callout{width:305px}.town-art{height:191px}.town-concept{height:146px}.town-art::after{top:115px;height:45px}.town-cast{height:86px;bottom:0}.town-copy{padding:6px 20px 17px}.town-copy h3{font-size:31px;margin:8px 0 9px}.town-copy p{font-size:18px;line-height:1.15}
footer{position:sticky;bottom:0;z-index:20;height:var(--tool-banner-height);padding:18px max(5vw,30px);gap:36px;box-shadow:0 -12px 30px #082b3320}.tool-screenshot{width:178px}.tool-details{max-width:620px}.tool-heading h2{font-size:33px;margin-bottom:9px}.tool-heading p{font-size:19px;max-width:540px}.tool-meta{font-size:14px;margin-top:5px}.tool-actions{margin-top:14px;gap:12px}.tool-actions a{font-size:21px;padding:10px 25px}.tool-actions>span{display:none}.free-badge{font-size:8px;padding:5px}.shoreline-edge{top:-24px;height:27px}
@media(max-height:800px){:root{--tool-banner-height:170px}.world-section{padding-top:22px;padding-bottom:32px}.world-heading h2{font-size:36px;margin:8px 0}.world-heading>p{font-size:17px}.planet-stage{height:calc(100vh - var(--tool-banner-height) - 190px);min-height:330px}.planet{width:calc(100vh - var(--tool-banner-height) - 215px);min-width:320px}.callout{width:290px}.town-art{height:163px}.town-concept{height:124px}.town-art::after{top:96px;height:40px}.town-cast{height:74px}.town-copy h3{font-size:28px}.town-copy p{font-size:17px}.town-copy{padding:4px 18px 14px}.tool-screenshot{width:155px}.tool-heading h2{font-size:29px}.tool-heading p{font-size:17px}.tool-actions{margin-top:10px}.tool-actions a{font-size:19px;padding:8px 22px}}
@media(min-width:1700px){.planet-stage{max-width:1450px}.callout{width:340px}.town-art{height:215px}.town-concept{height:165px}.town-cast{height:95px}.town-copy p{font-size:20px}}

/* A direct one-screen transition and continuous opaque base below the rocks. */
.hero-scroll{height:100vh}.hero-stage{position:relative;min-height:0}.near-plane{position:absolute;top:0;left:0;width:100%;height:calc(111.041667vw + 100vh);z-index:6;pointer-events:none;will-change:transform}.near-plane .foreground{position:relative;display:block;top:auto;left:auto;width:100%;height:auto;will-change:auto}.near-plane::after{content:'';position:absolute;top:calc(111.041667vw - 2px);left:0;right:0;bottom:0;background:var(--ink)}.near-plane::before{content:'';position:absolute;z-index:1;left:0;right:0;top:calc(111.041667vw - 170px);height:172px;background:linear-gradient(transparent,var(--ink));pointer-events:none}.hero-dissolve{z-index:6;opacity:1;background:linear-gradient(to bottom,transparent 60%,#123e4344 80%,#123e43 100%)}
.tool-bookmark{position:absolute;left:4%;bottom:0;z-index:9;display:flex;flex-direction:column;gap:6px;min-width:210px;padding:14px 23px 22px 20px;border:1px solid #8ebf8e;border-bottom:0;border-radius:9px 9px 0 0;background:linear-gradient(115deg,#124b46ed,#0b303ded);box-shadow:0 -4px 22px #072d3940;color:#e8f0cd;text-align:left}.tool-bookmark::before{content:'';position:absolute;top:0;left:13px;right:13px;height:3px;background:linear-gradient(90deg,#d7ec8d,#86f5d5);border-radius:0 0 3px 3px}.tool-bookmark>span{font:8px/1.4 PixelOperator8,monospace;letter-spacing:.5px;color:#cadd99}.tool-bookmark strong{font:24px/1 PixelOperator,monospace;color:#f1f1d4}.tool-bookmark small{font-size:15px;color:#afcfbc}.tool-bookmark:hover{filter:brightness(1.15)}
/* Screen the source starfield into the lagoon palette, fading at both edges. */
.world-section{isolation:isolate}.world-section::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:none center 42%/cover no-repeat;mix-blend-mode:screen;opacity:.85;mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 79%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 79%,transparent 100%)}.world-section::after{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#061c2bbf 0%,#0c293866 49%,transparent 83%)}
:root{--tool-banner-height:240px}footer{gap:36px;padding:20px 4%}.tool-screenshot{width:230px}.tool-details{width:420px;max-width:420px}.tool-heading h2{font-size:35px;margin-bottom:13px;gap:12px}.tool-heading p{font-size:20px}.tool-meta{font-size:15px;margin-top:8px}.tool-actions{margin-top:18px}.tool-actions a{font-size:22px;padding:12px 26px}
.footer-follow{width:280px;flex:none;padding-left:30px;border-left:1px solid #82754888;display:flex;flex-direction:column;gap:15px;align-items:stretch}.footer-follow>p{font-size:19px;color:#d7e6c5;line-height:1.1}.footer-steam{position:static;transform:none;width:100%;min-height:62px;gap:12px;padding:10px 12px;box-shadow:none}.footer-steam>span{font-size:21px}.footer-steam svg{width:27px;height:27px}.footer-steam small{font-size:10px;letter-spacing:.7px;margin-top:6px}.footer-social-row{display:flex;align-items:center;justify-content:space-between;gap:13px}.footer-socials{display:flex;align-items:center;gap:8px}.footer-socials a{width:30px;height:30px;display:grid;place-items:center;padding:6px;border:1px solid #ffffff35;border-radius:7px;background:#10151e;color:#fff}.footer-socials a[href*="bsky.app"]{background:#1285ee;border-color:#6ab8ff}.footer-socials a[href*="instagram.com"]{background:linear-gradient(35deg,#ffa64f,#d33a89 50%,#7058c5);border-color:#f690bb}.footer-socials svg{display:block;width:17px;height:17px;fill:currentColor}.footer-socials a[href*="instagram.com"] svg{fill:none;stroke:white;stroke-width:1.7}.footer-socials .dot{fill:white;stroke:none}.footer-socials a:hover{filter:brightness(1.2)}.footer-mailing{border:0;border-bottom:1px solid #96b28270;padding:3px 0;background:none;color:#c3dca7;font-size:16px;white-space:nowrap}.footer-mailing:hover{color:var(--mint);border-color:var(--mint)}
dialog .signup{position:static;transform:none;width:100%;text-shadow:none}dialog .signup>p:first-child{display:none}dialog .signup form{flex-direction:column;gap:5px}dialog .signup input{width:100%}dialog .signup .fine{font-size:14px;line-height:1.3;color:#abc4ae}dialog #notice-action[hidden]{display:none}
@media(max-height:800px){:root{--tool-banner-height:210px}.tool-screenshot{width:200px}.tool-heading h2{font-size:31px;margin-bottom:10px}.tool-heading p{font-size:19px}.tool-meta{font-size:14px;margin-top:6px}.tool-actions{margin-top:13px}.tool-actions a{font-size:21px;padding:10px 24px}.tool-bookmark{min-width:195px;padding-top:12px;padding-bottom:18px}.tool-bookmark strong{font-size:22px}.tool-bookmark small{font-size:14px}.footer-follow{gap:12px}.footer-steam{min-height:58px}}

.world-section::before{opacity:.48;mask-image:linear-gradient(to bottom,transparent 0%,#000 28%,#000 75%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 28%,#000 75%,transparent 100%)}.world-chapter:not(.entered) .shoreline-edge{visibility:hidden}

.near-plane::before{z-index:7}

/* Side-edge tab folds fully away once the visitor begins scrolling. */
.tool-bookmark{left:0;bottom:clamp(110px,14vh,220px);min-width:0;width:232px;padding:18px 20px 18px 25px;border:1px solid #8ebf8e;border-left:0;border-radius:0 9px 9px 0;transform-origin:left center;transition:transform .24s ease,opacity .18s ease,visibility .24s;box-shadow:4px 5px 20px #062b3b55}.tool-bookmark::before{left:0;right:auto;top:10px;bottom:10px;width:4px;height:auto;border-radius:0 3px 3px 0;background:linear-gradient(#d7ec8d,#86f5d5)}.tool-bookmark::after{content:none;display:none}.tool-bookmark.is-folded{transform:perspective(500px) rotateY(-95deg) translateX(-15px);opacity:0;visibility:hidden;pointer-events:none}
/* Keep the art visible to the join, using a short fade rather than a tall blank band. */
.hero-dissolve{background:linear-gradient(to bottom,transparent calc(100% - 110px),var(--ink) 100%)}.near-plane::before{top:calc(111.041667vw - 90px);height:92px}.world-chapter{background:var(--ink)}.world-section{background:transparent}.world-section::after{mask-image:linear-gradient(to bottom,transparent 0,#000 160px);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 160px)}

/* A recognizable face for the follow links, without adding another action. */
.follow{flex-direction:row;gap:14px;align-items:center}.follow-links{display:flex;flex-direction:column;align-items:center;gap:10px}.follow-links>span{font-size:18px;color:#d3e2ce;text-shadow:0 2px 5px #07333b}.moonfell-profile{display:block;width:64px;height:64px;flex:none;object-fit:cover;border-radius:50%;border:1px solid #adb878;box-shadow:0 0 0 3px #123e43a8;image-rendering:pixelated}.footer-identity{display:flex;align-items:center;gap:12px}.footer-identity .moonfell-profile{width:40px;height:40px}.footer-identity p{font-size:19px;line-height:1.1;color:#d7e6c5}
/* Reveal the banner once the opening socials have completely passed out of view. */
.world-chapter footer{transform:translateY(calc(100% + 30px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .28s ease,opacity .2s ease,visibility .28s}.world-chapter.banner-visible footer{transform:none;opacity:1;visibility:visible;pointer-events:auto}.world-chapter:not(.banner-visible) .shoreline-edge{visibility:hidden}
@media(max-height:800px){.follow-links{gap:6px}.follow-links>span{font-size:16px}.follow .moonfell-profile{width:52px;height:52px}.footer-identity .moonfell-profile{width:36px;height:36px}.footer-identity p{font-size:18px}}

.tool-heading h2{flex-wrap:wrap;row-gap:8px}.tool-badges{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.open-source-badge{font:8px/1.1 PixelOperator8,monospace;color:#9cddd0;border:1px solid #5f8e83;border-radius:3px;padding:5px;background:#103d43}
/* Japanese keeps a readable pixel rhythm; the EN / JP switch remains typographic. */
@font-face{font-family:DotGothic16;src:url('assets/DotGothic16-Regular.ttf') format('truetype');font-display:swap}
.language-switch{position:fixed;top:20px;right:4%;z-index:30;display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #8b946799;border-radius:7px;background:#0b303cce;backdrop-filter:blur(8px);box-shadow:0 3px 15px #052b3933;font-family:PixelOperator,monospace}.language-switch button{min-width:36px;padding:6px 10px;border:0;border-radius:4px;background:transparent;color:#b5ccba;font:17px/1 PixelOperator,monospace}.language-switch button[aria-pressed=true]{color:#eef1cf;background:#166355;box-shadow:inset 0 -2px #86d6b9}.language-switch button:hover{color:#eff5d9}.hero-stage header{right:calc(4% + 112px)}
html[lang=ja] body,html[lang=ja] input,html[lang=ja] button,html[lang=ja] dialog{font-family:DotGothic16,monospace}html[lang=ja] .language-switch button{font-family:PixelOperator,monospace}
html[lang=ja] .hero-stage header{font-size:14px}html[lang=ja] #game-title{width:min(56vw,850px)}html[lang=ja] .eyebrow{font-family:DotGothic16,monospace;font-size:12px;line-height:1.5;letter-spacing:1px}html[lang=ja] .introduction h2{font:32px/1.35 DotGothic16,monospace}html[lang=ja] .introduction p{font-size:16px;line-height:1.6}html[lang=ja] .signup>p{font-size:16px;line-height:1.4}html[lang=ja] input{font-size:16px;padding:13px}html[lang=ja] .highlight{font-family:DotGothic16,monospace;font-size:17px}html[lang=ja] .signup .fine{font-size:12px;line-height:1.5}html[lang=ja] .steam>span{font-size:18px;line-height:1.3}html[lang=ja] .steam small{font-size:11px;letter-spacing:.4px;margin-top:5px}html[lang=ja] .footer-steam>span{font-size:15px}html[lang=ja] .footer-steam small{font-size:10px}html[lang=ja] .follow-links>span{font-size:16px}html[lang=ja] .footer-identity p{font-size:16px}html[lang=ja] .footer-mailing{font-size:13px}html[lang=ja] .scroll-cue{font-size:14px}
html[lang=ja] .tool-bookmark>span{font-family:DotGothic16,monospace;font-size:10px;letter-spacing:0}html[lang=ja] .tool-bookmark small{font-size:13px}html[lang=ja] .world-heading h2{font:32px/1.4 DotGothic16,monospace;margin:10px 0}html[lang=ja] .world-heading>p{font-size:16px;line-height:1.5}html[lang=ja] .planet-instruction{font-size:14px}html[lang=ja] #town-nav button{font-family:DotGothic16,monospace;font-size:13px;padding:7px 10px}html[lang=ja] .marker::after{font-size:13px}html[lang=ja] .town-copy h3{font:23px/1.35 DotGothic16,monospace;margin:8px 0 10px}html[lang=ja] .town-copy p{font-size:13px;line-height:1.65}
html[lang=ja] .tool-heading>p{font-size:16px;line-height:1.5}html[lang=ja] .tool-meta{font-size:12px;line-height:1.5}html[lang=ja] .tool-actions a{font-family:DotGothic16,monospace;font-size:17px;padding:12px 23px}html[lang=ja] .free-badge,html[lang=ja] .open-source-badge{font-family:DotGothic16,monospace;font-size:10px;line-height:1.2}html[lang=ja] dialog h2{font:27px/1.4 DotGothic16,monospace}html[lang=ja] dialog>p{font-size:16px;line-height:1.65}html[lang=ja] dialog .signup .fine{font-size:12px}
@media(max-height:800px){html[lang=ja] #game-title{width:min(48vw,650px)}html[lang=ja] .introduction h2{font-size:27px}html[lang=ja] .introduction p{font-size:14px;line-height:1.5}html[lang=ja] .signup>p{font-size:14px}html[lang=ja] .signup .fine{font-size:11px}html[lang=ja] .world-heading h2{font-size:29px}html[lang=ja] .world-heading>p{font-size:14px}html[lang=ja] .town-copy h3{font-size:21px}html[lang=ja] .town-copy p{font-size:12px;line-height:1.6}html[lang=ja] .tool-heading>p{font-size:15px}html[lang=ja] .tool-actions a{font-size:16px;padding:10px 20px}}

/* Stack the tool shortcut beneath the language controls. */
.hero-stage header{right:4%;align-items:flex-start}.hero-stage header a[href="#pixel-art-lighter"]{margin-top:40px;font-size:16px}
.tool-support{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:16px;color:#a9c3b5}.support-link{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid #ca73ac;border-radius:6px;background:#663a5c66;color:#f2bcdb;font:inherit;line-height:1.1;text-decoration:none}.support-link:hover{background:#81426788}.support-link:disabled{cursor:default;opacity:.65}.support-link:focus-visible{outline:2px solid #f3bfdf;outline-offset:3px}html[lang=ja] .tool-support{font-size:12px}@media(max-height:800px){.tool-support{margin-top:7px;font-size:14px}.support-link{padding:4px 9px}}
.tool-heading h2{margin-bottom:7px}.tool-meta{margin-top:5px}.tool-actions{margin-top:12px}.tool-support{margin-top:6px}

.tool-actions .support-link{width:42px;height:42px;padding:0;align-self:center;display:inline-grid;place-items:center;flex:none;border:1px solid #9cc2ff;border-radius:7px;background:#72a5f2;box-shadow:none;overflow:hidden}.support-link img{width:100%;height:100%;display:block;object-fit:contain}.support-link:disabled{opacity:.85;cursor:default}.tool-actions .support-link:hover{filter:brightness(1.1)}html[lang=ja] .tool-actions .support-link{padding:0}

/* Smooth downsampling preserves the painted avatar at small display sizes. */
.moonfell-profile{aspect-ratio:1;object-fit:cover;object-position:center;image-rendering:auto;flex-shrink:0}
html[lang=ja] .steam>span{font-family:PixelOperator,monospace;font-size:23px}html[lang=ja] .footer-steam>span{font-size:21px}html[lang=ja] .steam small{font-family:DotGothic16,monospace}

/* End the world chapter after its content instead of filling a tall viewport. */
.world-section{min-height:0;padding-bottom:24px}.world-chapter{overflow:clip}


/* Match the updated PSD composition, with dark margins on wide desktops. */
:root{--scene-width:min(100vw,1520px,118vh);--scene-height:calc(var(--scene-width) * 1.056433)}
.hero-scroll,.hero-stage{height:max(100vh,var(--scene-height))}.hero-stage{background:linear-gradient(#101c2c 65%,var(--ink));min-height:0}
.layer{width:var(--scene-width);left:calc((100% - var(--scene-width))/2);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.near-plane{width:var(--scene-width);left:calc((100% - var(--scene-width))/2);height:calc(var(--scene-height) + 100vh)}.near-plane .foreground{width:100%;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}.near-plane::after{top:calc(var(--scene-height) - 2px)}.near-plane::before{top:calc(var(--scene-height) - 220px);height:222px}
.volcano{z-index:1}.klappas{z-index:2}
#game-title,html[lang=ja] #game-title{top:calc(var(--scene-width) * .23166);left:calc(50% - var(--scene-width) * .02582);width:calc(var(--scene-width) * .37105)}
.hero-copy{height:100vh}.introduction{top:49%;}.signup{top:63%}.steam{top:79%}.follow{top:92%}
.hero-dissolve{background:linear-gradient(transparent calc(100% - 280px),var(--ink))}.scroll-cue{bottom:60px}
.world-section{padding-top:22px;padding-bottom:76px}#town-nav{margin-top:18px}.world-section::before{mask-image:linear-gradient(transparent,#000 22%,#000 88%,transparent)}
:root{--tool-banner-height:270px}footer{gap:32px}.tool-screenshot{width:280px}.tool-details{width:420px;max-width:420px}
.world-chapter footer,.world-chapter.banner-visible footer{opacity:var(--banner-progress,0);transform:translateY(calc((1 - var(--banner-progress,0)) * 42px));transition:visibility .2s;will-change:transform,opacity}
@media(max-height:800px){:root{--tool-banner-height:240px}.tool-screenshot{width:250px}.introduction{top:49%}.signup{top:63%}.steam{top:79%}.follow{top:92%}}
@media(prefers-reduced-motion:reduce){.world-chapter.banner-visible footer{transform:none;opacity:1}}
/* A small party introduction opens over the painting, without another chapter. */
.hero-stage header{display:grid;grid-template-columns:1fr auto;row-gap:11px;align-items:start}.hero-stage header a[href="#world"]{grid-row:1;grid-column:1;justify-self:start}.creators-trigger{grid-row:2;grid-column:1;justify-self:start;font:inherit;background:none;border:0;border-bottom:1px solid #cbcf9a80;padding:0 0 4px;color:inherit;text-shadow:inherit}.creators-trigger:hover{color:var(--lime)}.hero-stage header a[href="#pixel-art-lighter"]{grid-column:2;grid-row:1 / span 2}
.creators-dialog{max-width:none;width:min(980px,92vw);padding:42px 44px 30px;overflow:visible;border-color:#8d9562;background:radial-gradient(ellipse at 50% 60%,#19505a,#0b2936 75%);box-shadow:0 24px 120px #0009}.creators-dialog::backdrop{background:#041923bb;backdrop-filter:blur(9px)}.creators-dialog .creators-close{position:absolute;right:14px;top:9px;border:0;background:transparent;color:#d6e1cd;font-size:30px}.creators-kicker{font:9px PixelOperator8,monospace;letter-spacing:1px;color:var(--lime)}.creators-dialog h2{font-size:40px;margin:14px 0 13px}.creators-dialog .creators-intro{font-size:19px;max-width:680px;margin:0 auto;color:#b5d0c0}.creator-party{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:25px}.creator-card{position:relative;display:flex;flex-direction:column;align-items:center;background:none;border:0;color:var(--cream);padding:84px 8px 12px;min-width:0;border-radius:9px}.creator-card:hover,.creator-card:focus-visible{background:#78d9b50a}.creator-sprite-stage{height:175px;width:100%;display:flex;align-items:flex-end;justify-content:center;position:relative;padding-bottom:20px}.creator-sprite-stage::before{content:'';position:absolute;bottom:4px;width:145px;height:26px;background:radial-gradient(ellipse,#7fe7c535,transparent 70%);border-bottom:1px solid #8fb48355;border-radius:50%}.creator-sprite-stage img{image-rendering:pixelated;width:auto;height:159px;max-width:none;filter:drop-shadow(0 8px 4px #031e2a88);transition:transform .2s}.creator-card[aria-expanded=true] img{transform:translateY(-7px)}.creator-card strong{font-size:26px;font-weight:700;line-height:1.1;margin-top:15px}.creator-country{font-size:14px;color:#a5bda5;margin:7px 0 9px}.creator-role{font-size:17px;color:#c6decc;line-height:1.3;max-width:240px;min-height:44px}.creator-quote{position:absolute;top:2px;left:0;right:0;padding:12px 15px;border:1px solid #939460;border-radius:9px;background:#17424a;font-size:18px;line-height:1.15;opacity:.45;transform:translateY(8px);transition:opacity .2s,transform .2s}.creator-quote::after{content:'';position:absolute;bottom:-7px;left:50%;width:12px;height:12px;border-right:1px solid #939460;border-bottom:1px solid #939460;background:#17424a;transform:rotate(45deg)}.creator-card[aria-expanded=true] .creator-quote{opacity:1;transform:none}.creators-dialog .creator-hint{font-size:15px;color:#92b3a5;margin:17px 0 0}.creators-dialog[open] .creator-card{animation:creator-arrive .35s both;animation-delay:var(--arrival)}@keyframes creator-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
html[lang=ja] .creators-dialog h2{font:28px/1.4 DotGothic16,monospace}html[lang=ja] .creators-kicker{font:11px DotGothic16,monospace}html[lang=ja] .creators-dialog .creators-intro{font-size:14px;line-height:1.7}html[lang=ja] .creator-role,html[lang=ja] .creator-quote{font-size:13px;line-height:1.5}html[lang=ja] .creator-country,html[lang=ja] .creator-hint{font-size:12px}html[lang=ja] .creator-card strong{font:26px PixelOperator,monospace}
@media(prefers-reduced-motion:reduce){.creators-dialog[open] .creator-card{animation:none}}

.tool-bookmark{top:calc(100vh - 150px);bottom:auto}.introduction h2{font-size:30px;line-height:1.1;margin:10px 0 8px}.introduction p{font-size:18px;line-height:1.25}.near-plane::before,.near-plane::after{mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}.creator-sprite-stage img{width:var(--sprite-width);height:auto}
@media(max-height:800px){.introduction h2{font-size:26px}.introduction p{font-size:16px;line-height:1.2}}
.signup{top:65%}.steam{top:82%}
@media(max-height:800px){.signup{top:65%}.steam{top:82%}html[lang=ja] .introduction h2{font-size:23px;line-height:1.3}html[lang=ja] .introduction p{font-size:13px;line-height:1.4}html[lang=ja] .introduction .eyebrow{font-size:10px}}
@media(max-height:800px){#steam{height:64px;min-height:64px;padding:6px 18px}#steam>span,html[lang=ja] #steam>span{font-size:21px;line-height:1.1}#steam small,html[lang=ja] #steam small{font-size:10px;line-height:1.2}}

.creator-quote{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s}.creator-card[aria-expanded=true] .creator-quote{opacity:1;visibility:visible;transform:none}
/* Triangular party composition: director above, art and programming below. */
.creator-party{position:relative;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:auto auto;gap:0;margin-top:16px}.creator-card:nth-child(1){grid-column:2 / 4;grid-row:1;padding-top:66px;justify-self:center;width:290px}.creator-card:nth-child(2){grid-column:1 / 3;grid-row:2;justify-self:center;width:290px}.creator-card:nth-child(3){grid-column:3 / 5;grid-row:2;justify-self:center;width:290px}.creator-card:nth-child(n+2){margin-top:-55px;padding-top:60px}.creator-sprite-stage{height:122px;padding-bottom:12px}.creator-sprite-stage img{width:calc(var(--sprite-width) * .75)}.creator-card strong{font-size:24px;margin-top:7px}.creator-country{margin:5px 0 6px}.creator-role{font-size:16px;min-height:38px}.creator-quote{font-size:17px;padding:10px 14px}.creators-dialog{padding-top:28px;padding-bottom:22px}.creators-dialog h2{margin:12px 0 10px}.creators-dialog .creator-hint{margin-top:7px}
@media(max-height:850px){.creators-dialog{padding-top:20px;padding-bottom:16px}.creators-dialog h2{font-size:32px;margin:9px 0}.creators-dialog .creators-intro{font-size:17px}.creator-party{margin-top:8px}.creator-sprite-stage{height:95px}.creator-sprite-stage img{width:calc(var(--sprite-width) * .62)}.creator-card:nth-child(1){padding-top:57px}.creator-card:nth-child(n+2){padding-top:52px;margin-top:-48px}.creator-card strong{font-size:23px}.creator-country{margin:4px 0}.creator-role{font-size:15px;min-height:32px}.creator-quote{font-size:16px;padding:8px 12px}.creators-dialog .creator-hint{font-size:13px}}
.creator-card:nth-child(2){justify-self:start;margin-left:20px}.creator-card:nth-child(3){justify-self:end;margin-right:20px}

/* Compact triangular group with speech anchored directly to each sprite. */
.creator-party{width:640px;max-width:100%;margin:74px auto 0;grid-template-columns:repeat(4,1fr)}
.creator-card:nth-child(n){width:240px;padding:0 6px 8px;justify-self:center;margin-left:0;margin-right:0}.creator-card:nth-child(n+2){margin-top:-132px}
.creator-card:hover,.creator-card:focus-visible{background:transparent}.creator-card:focus-visible{outline:0}.creator-card:focus-visible strong{text-decoration:underline;text-decoration-color:var(--mint);text-underline-offset:5px}
.creator-sprite-stage{height:216px;padding-bottom:8px}.creator-portrait{position:relative;display:block;line-height:0}.creator-sprite-stage img{display:block;width:calc(var(--sprite-width) * 1.333333);height:auto}.creator-card[aria-expanded=true] img{transform:none}.creator-sprite-stage::before{width:110px}
.creator-quote{top:auto;bottom:calc(100% + 14px);left:50%;right:auto;width:max-content;max-width:238px;font-size:17px;line-height:1.2;padding:10px 13px;transform:translate(-50%,6px)}.creator-card[aria-expanded=true] .creator-quote{transform:translate(-50%,0)}.creator-quote::after{left:calc(50% - 6px)}
.creators-dialog{padding-top:24px;padding-bottom:20px}.creators-dialog .creator-hint{margin-top:6px}.creator-card strong{margin-top:5px}.creator-role{min-height:42px}
@media(max-height:850px){.creator-party{margin-top:64px}.creator-sprite-stage{height:164px}.creator-sprite-stage img{width:var(--sprite-width)}.creator-card:nth-child(n+2){margin-top:-106px}.creator-card:nth-child(n){padding-top:0}.creator-quote{font-size:16px;padding:9px 12px}.creators-dialog{padding-top:18px;padding-bottom:16px}}
.creator-role{max-width:190px}.creator-quote{max-width:210px}.creator-card[data-creator=red-hat-sprite] .creator-quote{max-width:260px}

.creators-dialog{width:min(860px,92vw)}

/* Reserve breathing room above the director's hover bubble. */
.creator-party{margin-top:110px}@media(max-height:850px){.creator-party{margin-top:100px}}

.callout-close{display:grid;place-items:center;padding:0;width:30px;height:30px}.callout-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;pointer-events:none}.callout-close:hover{background:#174b55;border-color:var(--mint)}

/* A more distinct lagoon banner against the dark space chapter. */
.world-chapter footer{background:#194f56;box-shadow:0 -14px 32px #03182166,inset 0 1px #92a88040}.shoreline-edge{fill:#194f56}.shoreline-edge path{stroke:#a5ae78;stroke-opacity:.65;stroke-width:1;vector-effect:non-scaling-stroke}.tool-meta{color:#bdd5c5}.footer-identity p{color:#eef0d3}.footer-mailing{color:#deebc6;border-bottom-color:#b4c89688}
/* Globe and attached markers move together; stars drift at a different depth. */
.planet{transform:translate3d(-50%,var(--planet-shift,0px),0);will-change:transform}.world-section::before{top:-80px;bottom:-80px;transform:translate3d(0,var(--star-shift,0px),0);will-change:transform}
@media(prefers-reduced-motion:reduce){.planet{transform:translateX(-50%);will-change:auto}.world-section::before{transform:none;will-change:auto}}

/* Keep email focus from adding a second outline around the entire form. */
#signup-form:focus-within{outline:none;box-shadow:0 7px 20px #072d3450}#signup-form input:focus{outline:none}#signup-form input:focus-visible{outline:none}#signup-form:has(input:focus){border-color:var(--mint)}


@font-face{font-family:PixelMplus12;src:url('assets/PixelMplus12-Bold.ttf') format('truetype');font-weight:700;font-display:swap}@font-face{font-family:PixelMplus10;src:url('assets/PixelMplus10-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
html[lang=ja] .introduction h2{font:700 36px/1.2 PixelMplus12,monospace}html[lang=ja] .introduction .eyebrow{font:700 20px/1.2 PixelMplus10,monospace;letter-spacing:0}
@media(max-height:850px){html[lang=ja] .introduction h2{font-size:24px}html[lang=ja] .introduction .eyebrow{font-size:20px}}
/* Japanese follows the English type hierarchy rather than a separate display scale. */
html[lang=ja] .introduction h2{font:700 30px/1.1 PixelMplus12,monospace;margin:10px 0 8px}html[lang=ja] .introduction .eyebrow{font:700 10px/1.5 PixelMplus10,monospace;letter-spacing:1px}html[lang=ja] .introduction p{font-size:18px;line-height:1.25}
html[lang=ja] .world-heading h2{font:700 36px/1.2 PixelMplus12,monospace}html[lang=ja] .town-copy h3{font:700 24px/1.2 PixelMplus12,monospace}html[lang=ja] dialog h2{font:700 30px/1.2 PixelMplus12,monospace}html[lang=ja] .creators-dialog h2{font:700 30px/1.2 PixelMplus12,monospace}
@media(max-height:800px){html[lang=ja] .introduction h2{font-size:26px}html[lang=ja] .introduction p{font-size:16px;line-height:1.2}html[lang=ja] .world-heading h2{font-size:30px}}

.creator-card[data-creator=red-hat-sprite] .creator-role{max-width:220px;white-space:nowrap;line-height:1.4}

@font-face{font-family:Handjet;src:url('assets/Handjet.ttf') format('truetype');font-weight:100 900;font-display:swap}
#email{font-family:Handjet,DotGothic16,monospace;font-weight:500;font-size:26px;line-height:1.1;letter-spacing:.3px}#email::placeholder{font-family:inherit;font-weight:inherit;letter-spacing:.3px}html[lang=ja] #email:placeholder-shown{font-size:16px}
@media(max-height:800px){#email{font-size:24px}}


#email{font-family:Randomletters,DotGothic16,monospace;font-weight:400;font-size:24px;line-height:1.2;letter-spacing:.2px}#email::placeholder{font-family:inherit;font-weight:400}

@font-face{font-family:PixelMplus10;src:url('assets/PixelMplus10-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
html[lang=ja] .introduction .eyebrow{font-family:PixelMplus10,monospace;font-weight:400;font-size:10px;line-height:1.5;letter-spacing:1px}

@font-face{font-family:Notepen;src:url('assets/Notepen.ttf') format('truetype');font-display:swap}@font-face{font-family:MaruMinyaM;src:url('assets/MaruMinyaM.ttf') format('truetype');font-display:swap}
#email{font-family:Notepen,MaruMinyaM,monospace;font-size:24px;font-weight:400;line-height:1.2;letter-spacing:0}
#email:placeholder-shown{font-family:PixelOperator,monospace;font-size:20px;line-height:1.2}
html[lang=ja] #email:placeholder-shown{font-family:DotGothic16,monospace;font-size:16px}
#email::placeholder{font-family:inherit;font-size:inherit;font-weight:400;letter-spacing:0}
@media(max-height:800px){#email:placeholder-shown{font-size:20px}}
/* Consistent, clear interaction edges for social and support buttons. */
.footer-socials a,.follow nav a,.tool-actions .support-link{outline:2px solid transparent;outline-offset:3px;transition:outline-color .16s,border-color .16s,filter .16s}
.footer-socials a:hover,.footer-socials a:focus-visible,.follow nav a:hover,.follow nav a:focus-visible,.tool-actions .support-link:hover,.tool-actions .support-link:focus-visible{outline:2px solid var(--mint);outline-offset:3px;border-color:var(--mint)}
.footer-socials a:first-child{border-color:#b3c5c9}.tool-actions .support-link{overflow:visible}.support-link img{border-radius:6px}
.shoreline-edge path{stroke:none}.world-chapter footer{box-shadow:0 -14px 32px #03182166}

/* Independent space plane behind the globe and its attached markers. */
.world-section::before{display:none}.world-space-layer{position:absolute;left:0;right:0;top:-100px;bottom:-100px;z-index:-1;pointer-events:none;background:none center 42%/cover no-repeat;mix-blend-mode:screen;opacity:.48;mask-image:linear-gradient(transparent,#000 22%,#000 88%,transparent);transform:translate3d(0,var(--star-shift,0px),0);will-change:transform}.planet{z-index:1}
.tool-actions .support-link,.tool-actions .support-link:disabled,.tool-actions .support-link img{cursor:pointer}
@media(prefers-reduced-motion:reduce){.world-space-layer{transform:none;will-change:auto}}

.tool-download{gap:9px}.download-icon{display:block;width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:color .16s}.tool-download:hover .download-icon,.tool-download:focus-visible .download-icon{color:var(--mint)}

#notice .steam-mascot{display:none;width:104px;height:100px;image-rendering:pixelated;filter:drop-shadow(0 5px 3px #041f2855)}#notice[data-kind=steam] .steam-mascot{display:block;margin:0 auto 18px}

#notice .notice-heading{display:flex;align-items:center;justify-content:center;gap:14px;margin:8px 0 20px}#notice .notice-heading h2{margin:0;min-width:0}#notice[data-kind=steam] .steam-mascot{margin:0;flex:none;width:78px;height:75px}
/* A single shared baseline for the creator party. */
.creator-party{width:740px;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:12px;margin:110px auto 0;align-items:start}
.creator-card:nth-child(n){grid-column:auto;grid-row:1;width:100%;max-width:240px;justify-self:center;margin:0;padding:0 6px 8px}
@media(max-height:850px){.creator-party{margin-top:100px}.creator-card:nth-child(n){margin:0;padding-top:0}}

.creators-dialog .creator-hint{margin-top:28px}

html[lang=ja] .introduction .eyebrow{display:table;margin-inline:auto;font-size:12px;line-height:1.5;letter-spacing:2px;padding-left:2px;text-align:center}

/* Typed addresses follow the hero heading fonts; placeholders stay understated. */
#email:not(:placeholder-shown){font-family:CutePixel,PixelOperator,monospace;font-weight:400;font-size:22px;line-height:1.2}
html[lang=ja] #email:not(:placeholder-shown){font-family:PixelMplus12,monospace;font-weight:700;font-size:24px;line-height:1.2}

.tool-bookmark{transition:transform .7s cubic-bezier(.3,.05,.25,1),opacity .55s ease .12s,visibility .7s}
.world-space-layer{inset:0;transform:none;background:none;mask-image:linear-gradient(transparent 0,#000 150px,#000 calc(100% - 120px),transparent 100%)}.starfield-plane{position:absolute;inset:-180px -80px;background:none center/cover no-repeat;transform:translate3d(var(--stars-x,0px),calc(var(--star-shift,0px) + var(--stars-y,0px)),0);will-change:transform}
.planet{transform:translate3d(calc(-50% + var(--planet-x,0px)),calc(var(--planet-shift,0px) + var(--planet-y,0px)),0)}
@media(prefers-reduced-motion:reduce){.starfield-plane{transform:none;will-change:auto}.planet{transform:translateX(-50%)}.tool-bookmark{transition:none}}

#game-title,html[lang=ja] #game-title{left:50%}.introduction{left:50%;text-align:center}.introduction .eyebrow{display:table;margin-inline:auto;text-align:center}
.starfield-plane{background-image:none;background-size:2312px 2208px;background-position:center;background-repeat:repeat;image-rendering:pixelated}.world-space-layer{opacity:.75}
#close-dialog,.creators-dialog .creators-close{display:grid;place-items:center;width:30px;height:30px;padding:0;top:9px;right:10px}.pixel-close-icon,.callout-close .pixel-close-icon{display:block;width:14px;height:14px;fill:currentColor;stroke:none;shape-rendering:crispEdges}

/* Let the world chapter arrive over the final waterfall fade. */
:root{--world-overlap:clamp(100px,14vh,180px)}.world-chapter{margin-top:calc(-1 * var(--world-overlap));z-index:10;background:linear-gradient(transparent,var(--ink) var(--world-overlap))}

/* Give Japanese lettering comparable presence and share the English baseline. */
html[lang=ja] #game-title{width:calc(var(--scene-width) * .400734)}

/* Native, newly sliced Title Screen Prototype B: retain PSD stacking and coordinates. */
:root{--scene-height:calc(var(--scene-width) * 1.019608)}
.parallax-art{display:contents}
.native-slice{width:var(--scene-width);left:calc((100% - var(--scene-width))/2);height:auto;transform-origin:50% 35%;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);pointer-events:none}
#game-title{z-index:3}
#game-title,html[lang=ja] #game-title{width:calc(var(--scene-width) * .358115)}
html[lang=ja] #game-title{width:calc(var(--scene-width) * .3867642)}
.hero-dissolve{z-index:8;pointer-events:none;background:linear-gradient(transparent calc(100% - 280px),var(--ink))}
.hero-copy{z-index:9}.hero-stage header{z-index:11}

/* A single opaque scene veil preserves foreground silhouettes and hides cut edges. */
.native-slice{mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-composite:add;-webkit-mask-composite:source-over}
.hero-dissolve{background:linear-gradient(to bottom,transparent calc(var(--scene-height) - 480px),var(--ink) calc(var(--scene-height) - 190px));opacity:1}

/* Four native pixels per star texel, using nearest-neighbour sampling. */
.starfield-plane{background-size:4624px 4416px;image-rendering:pixelated}


/* Match the footer's mint interaction highlight on the clickable tool preview. */
.tool-screenshot{border-radius:7px;transition:filter .18s,box-shadow .18s;cursor:pointer}
.tool-screenshot:hover,.tool-screenshot:focus-visible{outline:2px solid var(--mint);outline-offset:3px;filter:brightness(1.08);box-shadow:0 0 18px #83e8ca26}


/* Sampled revised PSD borders: unified navy with a scene-level horizontal blend. */
:root{--hero-edge:#10182c}
.hero-stage{background:var(--hero-edge)}
.native-slice{mask-image:none;-webkit-mask-image:none}
.hero-dissolve{background:linear-gradient(to bottom,transparent calc(var(--scene-height) - 480px),var(--ink) calc(var(--scene-height) - 190px)),linear-gradient(90deg,var(--hero-edge) calc(50% - var(--scene-width)/2),transparent calc(50% - var(--scene-width)*.40),transparent calc(50% + var(--scene-width)*.40),var(--hero-edge) calc(50% + var(--scene-width)/2))}
.follow a[href*="x.com"] svg,.footer-socials a[href*="x.com"] svg{width:18px;height:18px;display:block;fill:currentColor;transform:none}

/* Hide the auxiliary settlement instruction and button row for now. */
.planet-instruction,#town-nav{display:none!important}


#notice[data-kind=support] .steam-mascot{display:block;margin:0;flex:none;width:78px;height:75px}
.tool-heading>p{color:#d3e5d9}.tool-meta{color:#a9c7ba}.tool-version{color:#85aaa4}

/* Quiet local contrast, leaving the painted scene visible around the copy. */
.hero-copy .introduction,.hero-copy .signup{isolation:isolate;text-shadow:0 2px 1px #041e2be6,0 0 8px #041e2b80}
.hero-copy .introduction::before,.hero-copy .signup::before{content:'';position:absolute;inset:-28px -52px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,#052b35a0 0%,#052b3550 45%,transparent 74%);filter:blur(12px)}
.hero-copy #signup-form{box-shadow:0 8px 24px #031d2b66,0 2px 5px #031d2b50}
.hero-copy #steam{box-shadow:0 10px 26px #031d2b73,0 2px 6px #031d2b55}

/* Center the world presentation in the final viewport above the tool footer. */
.world-section{box-sizing:border-box;min-height:calc(100vh - var(--tool-banner-height));display:flex;flex-direction:column;justify-content:center}
.world-heading{flex:none}.planet-stage{width:100%;flex:none}


/* One exact social-button geometry in both hero and footer. */
.follow nav,.footer-socials{gap:12px;height:36px;align-items:center}
.follow nav a,.footer-socials a{box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;flex:0 0 36px;padding:0;border-width:1px;border-style:solid;border-radius:8px;display:grid;place-items:center;line-height:0}
.follow nav a:hover,.footer-socials a:hover{transform:none}
.follow nav a svg,.footer-socials a svg{width:20px;height:20px;max-width:none;max-height:none;display:block;margin:0;transform:none}
.follow nav a[href*="bsky.app"] svg,.footer-socials a[href*="bsky.app"] svg{width:22px;height:22px}
.follow nav a[href*="instagram.com"] svg,.footer-socials a[href*="instagram.com"] svg{width:24px;height:24px}
.follow nav a[href*='x.com'] svg,.footer-socials a[href*='x.com'] svg{width:20px;height:20px}



/* Deep space palette, with a restrained teal atmosphere around Primordia. */
.world-section::after{background:radial-gradient(ellipse at 50% 48%,#143c493d 0%,#102d3820 32%,transparent 65%),#081321;mask-image:linear-gradient(to bottom,transparent,#000 180px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 180px)}
.world-space-layer{mix-blend-mode:normal;opacity:.8}


/* Let the waterfall's teal atmosphere taper into space rather than form a band. */
.world-section::after{background:radial-gradient(ellipse at 50% 46%,transparent 28%,#03091366 100%),radial-gradient(ellipse at 50% 45%,#17445135 0%,transparent 62%),linear-gradient(to bottom,#123e43 0,#102f39 150px,#0b1e2d 330px,#081321 520px);mask-image:linear-gradient(to bottom,transparent,#000 100px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 100px)}


/* One continuous artwork-to-space transition, without the intermediate teal strip. */
.world-chapter{background:linear-gradient(transparent,#0d0e23 var(--world-overlap))}
.hero-dissolve{background:linear-gradient(to bottom,transparent calc(var(--scene-height) - 480px),#0d0e23 calc(var(--scene-height) - 190px)),linear-gradient(90deg,var(--hero-edge) calc(50% - var(--scene-width)/2),transparent calc(50% - var(--scene-width)*.40),transparent calc(50% + var(--scene-width)*.40),var(--hero-edge) calc(50% + var(--scene-width)/2))}
.world-section::after{background:radial-gradient(ellipse at 50% 46%,transparent 28%,#03091366 100%),radial-gradient(ellipse at 50% 0,#16444b40,transparent 48%),linear-gradient(to bottom,#0d0e23,#081321 420px);mask-image:linear-gradient(to bottom,transparent,#000 100px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 100px)}


/* Keep the footer shell opaque; reveal only its contents. */
.world-chapter footer,.world-chapter.banner-visible footer{opacity:1;transform:none}
.world-chapter footer>.tool-screenshot,.world-chapter footer>.tool-details,.world-chapter footer>.footer-follow{opacity:var(--banner-progress,0);transition:opacity .15s}

/* Shared transition surface extends upward through the join, avoiding section seams. */
.world-chapter{background:none}
.world-chapter::before{content:'';position:absolute;left:0;right:0;top:-420px;bottom:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,#0d0e23,#0b1d29 850px);mask-image:linear-gradient(to bottom,transparent,#000 360px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 360px)}
.world-section::after{background:radial-gradient(ellipse at 50% 46%,transparent 30%,#16434b80 100%),radial-gradient(ellipse at 50% 45%,#143b4720,transparent 60%);mask-image:linear-gradient(to bottom,transparent,#000 260px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 260px)}


.world-chapter{overflow:visible}


/* The extended join must not cover the opening hero controls. */
.world-chapter::before{opacity:var(--transition-reveal,0)}

/* Reveal in normal page flow, with a gentle unified lift rather than a pinned fade. */
.world-chapter footer{position:relative;bottom:auto;opacity:1;transform:none}
.world-chapter footer>.tool-screenshot,.world-chapter footer>.tool-details,.world-chapter footer>.footer-follow{opacity:var(--banner-progress,0);transform:translateY(calc((1 - var(--banner-progress,0)) * 24px));transition:none;will-change:transform,opacity}
@media(prefers-reduced-motion:reduce){.world-chapter footer>.tool-screenshot,.world-chapter footer>.tool-details,.world-chapter footer>.footer-follow{opacity:1;transform:none;will-change:auto}}

/* Town location paintings, native resident PNGs and live copy are independent. */
.planet-stage{max-width:1700px}
.callout.layered-town-callout{border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;transform:none;transition:opacity .18s,visibility .18s}
.layered-town-callout .town-art{height:auto;aspect-ratio:16/10;background:none;overflow:visible}
.layered-town-callout .town-art::after{display:none}
.layered-town-callout .town-concept{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;image-rendering:auto;clip-path:polygon(0 4%,3% 4%,3% 0,97% 0,97% 3%,100% 3%,100% 94%,97% 94%,97% 98%,93% 98%,93% 100%,6% 100%,6% 98%,2% 98%,2% 94%,0 94%)}
.layered-town-callout .town-cast{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);width:auto;height:92px;max-width:90%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 0 #06192380);z-index:2}
.layered-town-callout .town-copy{border:0;padding:0 8px;text-align:center;text-shadow:0 2px 3px #00121f}
.layered-town-callout .town-copy h3{font-size:30px;line-height:1.1;margin:0 0 5px;color:var(--cream)}
.layered-town-callout .town-copy p{font-size:18px;line-height:1.2;margin:0;min-height:44px;color:#e4ede6}
.layered-town-callout .callout-close{right:8px;top:8px}
/* Shared badge metrics keep the pixel lettering centered with equal insets. */
.tool-badges{gap:8px;align-items:center}
.tool-badges .free-badge,.tool-badges .open-source-badge,html[lang=ja] .tool-badges .free-badge,html[lang=ja] .tool-badges .open-source-badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font:400 8px/12px PixelOperator8,monospace;letter-spacing:0;padding:5px 8px 4px;min-height:23px;white-space:nowrap}

/* Bronze email frame matches the Download button's two-pixel border. */
.signup form{border:2px solid #736f53;transition:border-color .18s}
.signup form:focus-within,#signup-form:focus-within,#signup-form:has(input:focus){border-color:#a69570;outline:none}

/* EDIT JAPANESE HERO TOP LINE SIZE HERE:
   不思議なドット絵のRPG、開発中！
   Change 14px below to adjust only this Japanese line. */
html[lang=ja] .introduction .eyebrow {
  font-size: 14px;
  line-height: 1.5;
}

/* Keep the footer Steam label on one line beside the pixel icon. */
.footer-follow {
  width: 320px;
}
.footer-steam > span {
  white-space: nowrap;
}

/* Match Steam subtitles in the hero and tool footer. */
.footer-steam small { font-size: 13px; }
html[lang=ja] .footer-steam small { font-size: 11px; }
@media (max-height: 800px) {
  .footer-steam small,
  html[lang=ja] .footer-steam small { font-size: 10px; }
}

/* EDIT JAPANESE PIXEL ART LIGHTER CALLOUT TEXT SIZES HERE. */
html[lang=ja] .tool-bookmark {
  width: 280px;
}
html[lang=ja] .tool-bookmark > span {
  font-size: 14px;
  line-height: 1.5;
}
html[lang=ja] .tool-bookmark small {
  font-size: 16px;
  line-height: 1.4;
}

/* Shared bronze popup frames match email and Download controls. */
#notice,.creators-dialog{border:2px solid #736f53}
html[lang=ja] #notice[data-kind=steam] #notice-title{letter-spacing:.08em}
html[lang=ja] #notice[data-kind=steam] #notice-body{white-space:pre-line}

/* EDIT MATCHED HERO / PLANET TEXT SIZES HERE. */
html[lang=en] .introduction h2,
html[lang=en] .world-heading h2 {
  font-size: 46px;
  line-height: 1.15;
}
html[lang=en] .introduction p,
html[lang=en] .world-heading > p {
  font-size: 22px;
  line-height: 1.35;
}
html[lang=ja] .introduction h2,
html[lang=ja] .world-heading h2 {
  font-size: 36px;
  line-height: 1.4;
}
html[lang=ja] .introduction p,
html[lang=ja] .world-heading > p {
  font-size: 20px;
  line-height: 1.6;
}
.introduction { width: min(90vw, 900px); }

/* Preserve authored line breaks in the planet introduction. */
.world-heading > p { white-space: pre-line; }

/* Preserve authored line breaks in both languages' popup copy. */
#notice-body,
.creators-intro {
  white-space: pre-line;
}

/* Creator popup: compact sprite staging with readable page-scale typography. */
.creators-dialog {
  width: min(1000px, 94vw);
  padding: 36px 40px 28px;
}
.creators-dialog h2 { font-size: 42px; line-height: 1.15; margin: 4px 0 14px; }
.creators-dialog .creators-intro { font-size: 22px; line-height: 1.35; max-width: 800px; }
.creator-party {
  width: 880px;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px auto 0;
  align-items: start;
}
.creator-card:nth-child(n) { max-width: 280px; padding: 100px 4px 0; margin: 0; }
.creator-sprite-stage { height: calc(53px * var(--pixel-scale) + 12px); padding-bottom: 8px; }
.creator-card strong { font-size: 28px; line-height: 1.15; margin-top: 12px; }
.creator-country { font-size: 20px; line-height: 1.3; margin: 7px 0; color: #b4cfc2; }
.creator-role { font-size: 21px; line-height: 1.35; min-height: 58px; max-width: 270px; }
.creator-card[data-creator=red-hat-sprite] .creator-role { max-width: 280px; line-height: 1.35; }
.creators-dialog .creator-hint { font-size: 21px; line-height: 1.35; margin: 26px 0 0; color: #b4cfc2; }
.creator-quote,.creator-card[data-creator=red-hat-sprite] .creator-quote { font-size: 22px; line-height: 1.3; padding: 12px 15px; max-width: 280px; bottom: calc(100% + 18px); }
html[lang=ja] .creators-dialog h2 { font-size: 34px; line-height: 1.4; }
html[lang=ja] .creators-dialog .creators-intro { font-size: 20px; line-height: 1.6; }
html[lang=ja] .creator-country,html[lang=ja] .creator-role { font-size: 18px; line-height: 1.5; }
html[lang=ja] .creator-quote,html[lang=ja] .creators-dialog .creator-hint { font-size: 19px; line-height: 1.5; }

/* Country labels are secondary to developer names and roles. */
.creator-country { font-size: 18px; color: #829f98; }
html[lang=ja] .creator-country { font-size: 17px; }

/* Balance the creator group between the introduction and closing hint. */
.creator-party { margin-top: 12px; }
.creator-card:nth-child(n) { padding-top: 76px; }
.creators-dialog .creator-hint {
  font-style: italic;
  margin-top: 30px;
}
/* Retain room for the tallest speech bubble above each sprite. */
.creator-card:nth-child(n) { padding-top: 96px; }
.creators-dialog .creator-hint { font-synthesis: style; }

/* Small visual offset for the complete hero introduction block. */
.hero-copy .introduction {
  margin-top: 5px;
  text-shadow: 0 2px 2px #041e2bf2, 0 3px 10px #031824b3;
}

/* Tighter popup sides with more breathing room below developer roles. */
.creators-dialog {
  padding-left: 24px;
  padding-right: 24px;
}
.creators-dialog .creator-hint {
  margin-top: 42px;
}

/* Flatter popup fill, matching the other dialogs with only a gentle tonal shift. */
.creators-dialog {
  background: radial-gradient(ellipse at 50% 55%, #174750, #0e333d 85%);
}

/* Clean sprite footing and tighter creator-dialog sides. */
.creator-sprite-stage::before { display: none; }
.creators-dialog { padding-left: 16px; padding-right: 16px; }

/* Creator hints are secondary; Japanese quotes use a comparable visual text size. */
.creators-dialog .creator-hint,
html[lang=ja] .creators-dialog .creator-hint { font-size: 18px; color: #829f98; }
html[lang=ja] .creator-quote { font-size: 17px; }
html[lang=ja] .creator-card[data-creator=red-hat-sprite] .creator-quote { font-size: 17px; }

/* Japanese creator popup: quote and hint size. */
html[lang=ja] .creator-quote,
html[lang=ja] .creator-card[data-creator=red-hat-sprite] .creator-quote,
html[lang=ja] .creators-dialog .creator-hint {
  font-size: 16px;
}

/* Email typography matches English exactly in both empty and filled states. */
html[lang=en] #email:placeholder-shown,
html[lang=ja] #email:placeholder-shown {
  font: 400 20px/1.2 PixelOperator, monospace;
}
html[lang=en] #email:not(:placeholder-shown),
html[lang=ja] #email:not(:placeholder-shown) {
  font: 400 22px/1.2 CutePixel, PixelOperator, monospace;
}

/* English hero navigation matches the email placeholder size. */
html[lang=en] .hero-stage header a[href="#world"],
html[lang=en] .hero-stage header .creators-trigger {
  font-size: 20px;
}

/* Tool footer and matching wave color. */
#pixel-art-lighter { background: #0c4650; }
#pixel-art-lighter .shoreline-edge { fill: #0c4650; }

/* Main wishlist: a little more vertical breathing room. */
.hero-copy #steam { min-height: 89px; padding-top: 18px; padding-bottom: 18px; }
@media(max-height:800px) { .hero-copy #steam { height: 76px; min-height: 76px; padding-top: 12px; padding-bottom: 12px; } }

/* Bot trap stays out of the form layout and keyboard/screen-reader navigation. */
.signup-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.signup-security{max-width:100%;margin-top:8px}
.signup-security:empty{display:none}
