.locale-control{display:flex;align-items:center;justify-content:center;flex:none}.globe-open{cursor:pointer;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #ffffff35;background:#191c21;color:#fff;border-radius:50%}body>.locale-control{position:relative;justify-content:flex-end;background:#10141c;padding:4px max(4vw,16px)}.mast .locale-control{margin-left:auto}.mast .locale-control+.account{margin-left:0}
.studio-modal{box-sizing:border-box;width:min(90vw,380px);border:1px solid #c3b89c66;border-radius:18px;padding:30px;background:linear-gradient(140deg,#272a32,#15171c);color:#faf6ed;box-shadow:0 24px 80px #0007;font:16px/1.5 system-ui}.studio-modal::backdrop{background:#080a10b8;backdrop-filter:blur(6px)}.studio-modal h2{margin:4px 0 18px;font:650 27px/1.15 system-ui}.studio-modal small{color:#eac88e}.locale-list{display:grid;gap:5px}.studio-modal button,.studio-links button{cursor:pointer;color:inherit;font:inherit}.locale-list button,.modal-dismiss{border:1px solid #ffffff26;background:#ffffff09;padding:9px 13px;border-radius:8px;text-align:left}.locale-list [aria-pressed=true]{border-color:#ddc28f;background:#d6b67b22}.modal-dismiss{margin-top:14px}.studio-modal :focus-visible,.studio-links :focus-visible{outline:2px solid #f5cf8a;outline-offset:3px}
.studio-links{background:#10141c;color:#d2d5dc;font:14px/1.6 system-ui;padding:30px 0}.links-inner{max-width:1300px;width:90%;margin:auto}.link-groups,.socials,.stores,.legal-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.link-groups{justify-content:space-between;border-bottom:1px solid #ffffff24;padding-bottom:18px}.studio-links h2{font:650 14px system-ui;margin:0 0 9px;color:white}.studio-links p{margin:17px 0 8px;max-width:100ch}.socials button,.stores button{height:39px;border:1px solid #ffffff48;border-radius:9px;background:#0a0c11;display:inline-flex;align-items:center;gap:7px;padding:0 11px}.studio-links svg{width:22px;height:22px}.socials svg{fill:none;stroke:currentColor;stroke-width:1.8}.legal-links a{color:inherit}
.gamegrid.secretgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.gamegrid.secretgrid article{display:block;padding:0;border:0;background:transparent}.secretgrid article:after,.hidden-game .poster:after{display:none}.hidden-game .poster{display:grid;place-items:center}.hidden-game .poster>img:first-child{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}.mystery-seal{position:relative;display:grid;place-items:center;gap:3px;min-width:112px;padding:12px 20px;color:white;border:1px solid #ffffff68;background:#23273359;backdrop-filter:blur(12px);border-radius:12px;box-shadow:0 8px 28px #0002}.mystery-seal span{font:34px/1 system-ui}.mystery-seal b{font:600 13px system-ui}.hero .studio-signature+.intro{font-weight:650;max-width:28ch}.secretgrid .caption h3{margin:0}
@media(max-width:760px){.gamegrid.secretgrid{grid-template-columns:1fr;gap:22px}.mast .locale-control{margin-left:0}.mast .rail{column-gap:10px}.globe-open{width:34px;height:34px}.studio-links .link-groups{align-items:flex-start;row-gap:20px}}
.featuregrid .village-window{aspect-ratio:auto;align-self:start;background:transparent;color:inherit}
.featuregrid .village-window img{position:static;display:block;width:100%;height:auto;transform:none;border-radius:6px}
.featuregrid .village-window:after{display:none}.featuregrid .village-window>div{position:static;padding:14px 0}
.villagers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,40px);margin-top:30px}
.villagers img{width:100%;height:auto;display:block;border-radius:45% 45% 12px 12px}
.villagers h2{font:700 clamp(24px,3vw,38px)/1.2 var(--display);margin:14px 0 8px}.villagers p{margin:0;max-width:40ch}
.page-store .utility-store{display:block}.page-store .realm-weather{display:none}.utility-store .utilitycopy{width:100%;max-width:none}.merch{margin:32px 0;max-width:900px}
.merch nav{display:flex;flex-wrap:wrap;gap:8px 22px;border-bottom:1px solid var(--stroke);padding-bottom:15px}.merch nav a{text-decoration:none;padding:7px 0}.merch nav [aria-current]{box-shadow:0 2px currentColor;font-weight:700}
.merch form{margin:28px 0}.merch label{display:block;font-weight:600;margin-bottom:8px}.merch form div{display:flex;gap:8px;max-width:540px}.merch input[type=search]{flex:1;min-width:0;background:transparent;color:inherit;border:1px solid currentColor;border-radius:6px;padding:10px;font:inherit}.merch button{background:var(--ink,currentColor);color:var(--paper,white);border:0;border-radius:6px;padding:8px 20px;cursor:pointer;font:inherit}
.merch-panel{padding:clamp(20px,4vw,42px);border:1px solid var(--stroke);border-radius:10px}.merch-panel p{max-width:50ch}.merch-panel small{overflow-wrap:anywhere}
@media(max-width:700px){.villagers{grid-template-columns:1fr}.villagers img{max-height:420px;width:auto;max-width:100%;margin:auto}.villagers article{max-width:440px;margin:auto;width:100%}}
.mast .account-tools{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}.account-tools .account,.mast .account-tools .locale-control{margin:0}
.gamegrid article img.library-title{display:block;width:100%;height:clamp(210px,25vw,340px);aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:8px}.system-title{background:#0d0917}.bloom-title{background:#f4e5c6;padding:6%}
.studio-story{background:#f4f1ea}.story-opening{max-width:1000px;margin:auto;padding:clamp(56px,9vw,145px) 6vw;text-align:center}.studio-story h2{font:800 clamp(42px,6.6vw,100px)/.99 var(--display);letter-spacing:-.035em;margin:12px 0 18px}.studio-story p:not(.micro){font-size:clamp(17px,1.5vw,23px);line-height:1.55;max-width:45ch}.story-opening p{margin-inline:auto}.story-moment{position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(460px,52vw,820px);color:white;background:#182438}.story-moment>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.story-moment:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0c131be8,#0c131ba1 35%,transparent 72%);z-index:-1}.story-moment>div{padding:5vw 7vw;max-width:53vw}.story-moment h2{font-size:clamp(48px,5.6vw,92px)}.story-moment .cta{margin-top:12px}
.page-store .merch{max-width:none}.page-store .utility-store{width:100%;max-width:none;padding-inline:clamp(14px,4vw,72px)}.merch nav.store-rail{width:100%;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px}.store-tabs,.store-actions{display:flex;align-items:center}.store-tabs{gap:clamp(12px,4vw,64px)}.store-actions{margin-left:auto;gap:5px}.merch .store-actions a{display:grid;place-items:center;width:44px;height:44px;border-radius:8px}.store-actions a:hover{background:color-mix(in srgb,currentColor 12%,transparent)}.store-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){.story-moment{align-items:end;min-height:0;padding-top:55vw}.story-moment>div{max-width:none;padding:22px 6vw 35px}.story-moment>img{height:auto;aspect-ratio:1.65;object-position:right top}.story-moment:before{background:linear-gradient(transparent 30vw,#182438 60vw)}.story-moment h2{font-size:44px}.story-walk{background:#292a24}.story-walk:before{background:linear-gradient(transparent 30vw,#292a24 60vw)}}
.game-downloads{margin:24px 0 16px}.game-downloads .stores{gap:10px}.game-downloads .stores button,.stores a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid #ffffff52;border-radius:9px;background:#101116;color:#fff;font:600 15px/1.25 system-ui;text-decoration:none;cursor:pointer;padding:9px 15px}.game-downloads svg,.stores a svg{width:23px;height:23px}.game-downloads .stores :is(button,a):hover,.studio-links .stores :is(button,a):hover{background:#242631}.studio-links .socials button{min-width:42px;min-height:42px}.studio-links .socials button:hover{background:#292d36}
