/* Naya's midnight storybook storefront. All UI labels remain real, localized text. */
:root{--bg:#0c0c19;--surface:#141424;--surface-2:#1d1b30;--muted:#a6a4b9;--text:#f3f0ec;--gold:#eacb91;--purple:#c8b5ef;--line:#eee5ff17}
html[data-theme=light]{--bg:#f8f5ef;--surface:#fffdf9;--surface-2:#f0e9e2;--text:#252334;--muted:#666173;--gold:#886023;--gold-ink:#251a0b;--purple:#765895;--line:#33254e20}
body{letter-spacing:.005em}.site-header{max-width:none;height:96px;padding:22px max(5%,calc((100vw - 1240px)/2));gap:40px;background:var(--bg)}.brand{font-weight:500;font-size:1.37rem;letter-spacing:.17em}.main-nav{gap:36px}.main-nav a{padding:8px 0}.main-nav a[aria-current=page]{color:var(--text)}.main-nav a[aria-current=page]:after{transform:scaleX(1)}.library-link{border-radius:30px;padding:10px 20px;font-size:.75rem;background:transparent;border-color:#b5a6d04d}.library-link:hover{border-color:var(--gold)}.icon-button{font-size:1.25rem}.button{min-height:49px;border-radius:7px;font-size:.78rem;gap:24px;padding:13px 22px}.primary{background:#ead09d;color:#282015}.primary:hover{background:#f4dfb8;color:#282015}.section{max-width:1320px;padding:85px 40px}.eyebrow{letter-spacing:.21em;font-size:.63rem;margin-bottom:14px}h2 em{color:var(--purple);font-weight:400}h2{font-size:clamp(2rem,3.1vw,3.2rem)}.ambient{display:none}
.cinema-hero{position:relative;isolation:isolate;min-height:660px;overflow:hidden;display:flex;align-items:center;background:#0c0c19}.cinema-art{position:absolute;width:100%;height:100%;object-fit:cover;object-position:68% 55%;inset:0;z-index:-3}.cinema-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#0c0c19 2%,#0c0c19ed 23%,#0c0c1970 51%,#0c0c1910 77%),linear-gradient(0deg,#0c0c19 0%,transparent 38%,#0c0c1933 95%)}.cinema-copy{position:relative;max-width:640px;margin-inline-start:max(5%,calc((100vw - 1240px)/2));padding:66px 0 112px}.cinema-copy h1{font-size:clamp(3.4rem,5.5vw,5.2rem);line-height:1.09;letter-spacing:-.04em;margin-bottom:23px;color:#fff5eb;max-width:650px}.cinema-copy h1 em{color:#d0b6f0;font-weight:400}.cinema-copy>.eyebrow{color:#e9c78d;font-size:.61rem}.cinema-copy>p{font-size:.97rem;line-height:1.9;color:#c3bbd0;max-width:390px}.cinema-copy .hero-buttons{margin-top:30px;gap:14px}.glass{color:#f7eee9;background:#1e1b2b77;border-color:#e4d8f538;backdrop-filter:blur(8px)}.glass:hover{color:white;border-color:#e2c18e;background:#211e36cc}.cinema-copy .hero-footnote{color:#bcb3ca;font-size:.69rem;margin-top:26px;gap:10px}.window-icon{font-size:1.15rem;color:#d1c6dc}.separator-dot{color:#8e8399}.hero-art-caption{position:absolute;bottom:102px;right:max(5%,calc((100vw - 1240px)/2));display:grid;grid-template-columns:32px auto;gap:6px 12px;color:#f2dbba;align-items:center;font-size:.75rem;letter-spacing:.24em;text-shadow:0 1px 8px #000}.hero-art-caption .mini-line{height:1px;background:#ecce98}.hero-art-caption small{grid-column:2;font-size:.57rem;letter-spacing:.04em;color:#dfd0dd}.hero-scroll{display:flex;justify-content:space-between;align-items:center;position:absolute;inset-inline:max(5%,calc((100vw - 1240px)/2));bottom:26px;color:#b6a7c3;font-size:.56rem;letter-spacing:.22em}.hero-scroll a{width:29px;height:37px;border:1px solid #e4d8f52f;border-radius:18px;display:grid;place-items:center;font-size:16px;color:#eedec5}.wonder-strip{display:flex;justify-content:center;gap:28px;align-items:center;min-height:71px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);color:var(--gold);padding:18px 24px}.wonder-strip p{margin:0;font-size:.63rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);text-align:center}.wonder-strip>span{font-size:24px;color:var(--gold)}
.spotlight{padding-bottom:60px}.spotlight-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:32px;gap:20px}.spotlight-heading h2{margin:0}.spotlight-heading>.text-link{font-size:.73rem;margin-bottom:6px}.spotlight-grid{display:grid;grid-template-columns:1.38fr 1fr;gap:0;border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden}.spotlight-image{position:relative;display:block;background:#101820;padding:0;width:100%;align-self:stretch;overflow:hidden;border-radius:0}.spotlight-image img{width:100%;height:100%;object-fit:cover;aspect-ratio:1.65;transition:transform .6s}.spotlight-image:hover img{transform:scale(1.025)}.screenshot-badge{position:absolute;bottom:17px;left:18px;background:#0c111cdd;color:#e9e6e1;backdrop-filter:blur(10px);border:1px solid #ffffff20;border-radius:4px;padding:5px 9px;font-size:.54rem;letter-spacing:.03em}.expand-image{position:absolute;right:17px;top:17px;border:1px solid #ffffff50;background:#10132299;color:#fff;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:20px}.spotlight-copy{padding:38px 38px 25px;align-self:center}.genre-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px}.genre-tags span{color:var(--purple);border:1px solid #a78fc143;border-radius:18px;font-size:.57rem;padding:3px 12px}.spotlight-copy h3{font-family:var(--serif);font-size:2rem;font-weight:400;line-height:1.25;margin-bottom:16px}.spotlight-copy>p{font-size:.84rem}.spotlight-price{margin-top:24px;padding-top:23px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.spotlight-price strong{font-family:var(--serif);font-size:1.9rem;font-weight:400;line-height:1.3;display:block}.spotlight-price>div>span{font-size:.56rem;color:var(--muted)}.spotlight-price .button{min-height:44px;padding:10px 17px;font-size:.72rem}.spotlight-copy>.price-disclaimer{font-size:.59rem;line-height:1.6;margin:14px 0 0}
.worlds{padding-top:55px}.worlds .section-heading{max-width:700px;margin-bottom:25px}.section-heading h2{margin-bottom:17px}.section-heading p{font-size:.83rem;max-width:560px;margin:0 auto}.world-tabs{display:flex;width:max-content;max-width:100%;gap:5px;padding:5px;border:1px solid var(--line);border-radius:30px;margin:0 auto 34px;background:var(--surface)}.world-tabs button{color:var(--muted);background:transparent;border-radius:24px;padding:9px 23px;font-size:.71rem;white-space:nowrap}.world-tabs button span{margin-inline-end:7px}.world-tabs button[aria-pressed=true]{background:var(--surface-2);color:var(--text);box-shadow:0 2px 12px #0002}.world-grid{gap:20px}.world{border-radius:11px;position:relative;transition:transform .25s,border-color .25s,box-shadow .25s}.world-active{border-color:#acc69d65;box-shadow:0 0 28px #6dbd5c09}.world.ember.world-active{border-color:#dba16d65}.world.tide.world-active{border-color:#80c5e565}.world.zephyr.world-active{border-color:#c1a3ed65}.world-art{height:225px;background-image:url('/media/storybooks.png');background-size:570% auto;background-position:5% 39%;isolation:isolate}.world-art:after{inset:0;clip-path:none;background:linear-gradient(0deg,var(--surface),transparent 48%);z-index:0}.ember .world-art{background-position:35.4% 39%}.tide .world-art{background-position:66% 39%}.zephyr .world-art{background-position:96.6% 39%}.world-chapter{position:absolute;top:16px;left:17px;font-family:var(--serif);color:#ffedd7;font-size:1.15rem;text-shadow:0 2px 5px #000;z-index:2}.world-element{position:absolute;bottom:4px;left:23px;z-index:2;font-size:26px;background:var(--surface);width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}.world-copy{padding:18px 22px 30px;min-height:206px}.world-copy h3{font-size:1.4rem;margin:8px 0 13px}.world-copy .chapter{font-size:.55rem}.world-copy p{font-size:.73rem;line-height:1.8;max-width:205px}.world-link{position:absolute;right:17px;bottom:17px;color:var(--tone);font-size:18px}.worlds-note{font-size:.59rem;text-align:center;margin:24px 0 0;color:var(--muted)}
.play-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center;padding-top:45px}.play-copy>p{font-size:.86rem}.play-steps{list-style:none;margin:30px 0 0;padding:0}.play-steps li{display:flex;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.play-steps li:last-child{border:0}.play-steps li>span{font-size:.63rem;padding-top:5px;color:var(--gold);letter-spacing:.1em}.play-steps h3{font-size:.88rem;margin:0 0 5px;font-weight:500}.play-steps p{font-size:.73rem;margin:0}.play-image{padding:7px;border:1px solid var(--line);background:var(--surface);border-radius:15px;transform:rotate(1.5deg);box-shadow:0 25px 70px #0003}.play-image button{padding:0;background:none;position:relative;width:100%;border-radius:8px;overflow:hidden;display:block}.play-image img{width:100%;height:auto}.play-image figcaption{font-size:.59rem;text-align:center;padding:10px 0 4px;color:var(--muted)}.home-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;border-top:1px solid var(--line)}.home-faq .faq{margin:0;padding:21px 0}.faq summary{font-size:.88rem;list-style:none;display:flex;justify-content:space-between;gap:20px}.faq summary:after{content:'+';color:var(--gold)}.faq[open] summary:after{content:'−'}.faq p{font-size:.8rem;margin:17px 0 5px}.closing{position:relative;border:1px solid var(--line);border-radius:16px;max-width:1240px;margin:15px auto 90px;padding:63px 36px 66px;background:radial-gradient(ellipse at 50% -30%,#69559138,transparent 70%),var(--surface)}.closing h2{font-size:2.7rem;max-width:620px}.closing p{font-size:.87rem;max-width:500px}.closing-gem{font-size:39px;color:var(--gold);margin-bottom:15px}.site-footer{background:var(--bg);padding-top:52px;padding-bottom:28px}.site-footer p{font-size:.66rem}.footer-links{align-items:center;font-size:.7rem}.footer-bottom{border-top:1px solid var(--line);padding-top:22px;margin-top:14px}.test-label{font-size:.6rem}.cookie-banner{max-width:460px;background:var(--surface);border-radius:12px;border:1px solid var(--line);box-shadow:0 20px 80px #0005;bottom:22px;inset-inline-start:auto;inset-inline-end:22px;padding:20px}.cookie-banner p{font-size:.73rem;margin:0 0 13px}.cookie-banner form{justify-content:stretch;display:flex;gap:9px}.cookie-banner .button{flex:1;border:1px solid var(--line);font-size:.66rem;min-height:40px;padding:9px 12px}
.gallery-dialog{width:min(1200px,94vw);max-width:none;padding:12px;border:1px solid #ffffff30;background:#111222;color:white;border-radius:14px}.gallery-dialog::backdrop{background:#060710e6;backdrop-filter:blur(7px)}.gallery-dialog img{max-height:82vh;margin:auto;object-fit:contain;width:auto}.gallery-dialog p{font-size:.75rem;color:#ded7e6;margin:12px 42px 5px 6px}.gallery-close{position:absolute;right:20px;top:20px;background:#10111fe8;border:1px solid #ffffff50;color:white;width:36px;height:36px;border-radius:50%;font-size:23px}.gallery-dialog:focus{outline:none}.product-banner{border-bottom:1px solid var(--line)}.purchase-card{border-radius:13px}.game-card{border-radius:14px}.account-panel{background:var(--surface)}.account-art img{object-fit:cover}.account-art strong{letter-spacing:-.02em}.account-shell{padding-block:70px}.page-heading h1{font-size:clamp(2.7rem,4vw,4.2rem)}.info-page{min-height:600px}.notice:empty{display:none}
html[data-theme=light] .cinema-shade{background:linear-gradient(90deg,#f8f5ef 0%,#f8f5efeb 27%,#f8f5ef50 57%,#f8f5ef00 78%),linear-gradient(0deg,#f8f5ef,transparent 29%)}html[data-theme=light] .cinema-copy h1{color:#252334}html[data-theme=light] .cinema-copy h1 em{color:#765895}html[data-theme=light] .cinema-copy>.eyebrow{color:#795321}html[data-theme=light] .cinema-copy>p,html[data-theme=light] .cinema-copy .hero-footnote{color:#5a5367}html[data-theme=light] .glass{color:#30263f;background:#fffaf2a3;border-color:#7a658044}html[data-theme=light] .hero-scroll{color:#5a5367}html[data-theme=light] .hero-scroll a{color:#5a5367;border-color:#7a658044}html[data-theme=light] .world-copy .chapter{color:#396a4e}html[data-theme=light] .ember .world-copy .chapter{color:#8d4b24}html[data-theme=light] .tide .world-copy .chapter{color:#286684}html[data-theme=light] .zephyr .world-copy .chapter{color:#744a98}
[dir=rtl] .cinema-copy{margin-inline-start:auto;margin-inline-end:max(5%,calc((100vw - 1240px)/2))}[dir=rtl] .cinema-art{transform:scaleX(-1)}[dir=rtl] .cinema-shade{transform:scaleX(-1)}[dir=rtl] .hero-art-caption{right:auto;left:5%}[dir=rtl] .play-image{transform:rotate(-1.5deg)}[dir=rtl] .cinema-copy h1{line-height:1.4;font-family:Tahoma,'Segoe UI',sans-serif;font-size:clamp(2.9rem,4.5vw,4.4rem);letter-spacing:0}
@media(min-width:1600px){.cinema-hero{min-height:730px}.cinema-art{object-position:center 52%}}
@media(max-width:1000px){.site-header{gap:24px;padding-inline:4%;height:88px}.main-nav{gap:22px}.section{padding-inline:30px}.cinema-copy{margin-inline-start:5%;max-width:55%;padding-bottom:90px}.cinema-copy h1{font-size:4.1rem}.cinema-art{object-position:64% center}.cinema-hero{min-height:615px}.cinema-shade{background:linear-gradient(90deg,#0c0c19f7 0%,#0c0c19b8 40%,#0c0c1910 90%),linear-gradient(0deg,#0c0c19,transparent 40%)}.hero-buttons .button{gap:13px;padding-inline:16px;font-size:.72rem}.hero-art-caption{bottom:86px}.spotlight-grid{grid-template-columns:1.15fr 1fr}.spotlight-copy{padding:26px}.spotlight-copy h3{font-size:1.6rem}.spotlight-price{flex-wrap:wrap}.world-grid{gap:13px}.world-copy{padding:17px 15px 30px;min-height:230px}.world-art{height:180px}.world-copy h3{font-size:1.18rem}.worlds .section-heading h2{max-width:600px}.play-section{gap:45px}.closing{margin-inline:30px}.home-faq{gap:40px}.cookie-banner{max-width:400px}}
@media(max-width:760px){.site-header{height:auto;min-height:85px;flex-wrap:wrap;padding:20px 6% 16px;gap:18px}.brand{font-size:1.2rem}.brand img{width:30px}.main-nav{order:3;width:100%;justify-content:center;border-top:1px solid var(--line);padding-top:13px;gap:36px;font-size:.76rem}.header-actions{margin-inline-start:auto;gap:11px}.library-link{padding:8px 12px;font-size:.67rem}.library-link>span:first-child{display:none}.cinema-hero{min-height:750px;align-items:start}.cinema-copy{margin:0!important;padding:45px 7% 350px;max-width:100%;width:100%}.cinema-copy h1{font-size:3.7rem;max-width:550px}.cinema-copy>p{font-size:.9rem;max-width:400px}.cinema-art{object-fit:cover;object-position:72% 78%;height:75%;top:auto;bottom:0}.cinema-shade{background:linear-gradient(180deg,#0c0c19 8%,#0c0c19e6 35%,#0c0c1920 65%,#0c0c19 100%)}.hero-art-caption{bottom:70px;right:7%}.hero-scroll{inset-inline:7%}.cinema-copy .hero-footnote{margin-top:20px}.wonder-strip{gap:15px;min-height:68px}.wonder-strip p{font-size:.55rem;letter-spacing:.1em}.section{padding:55px 6%}.spotlight-heading{align-items:start}.spotlight-heading h2{font-size:2.3rem}.spotlight-heading>.text-link{font-size:.64rem;margin-top:33px;white-space:nowrap}.spotlight-grid{grid-template-columns:1fr}.spotlight-image img{aspect-ratio:1.775}.spotlight-copy{padding:27px}.spotlight-price{flex-wrap:nowrap}.spotlight-copy h3{font-size:1.9rem}.worlds{padding-top:20px}.world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.world-art{height:230px}.world-copy{min-height:200px;padding:17px 19px 30px}.world-copy h3{font-size:1.3rem}.world-copy p{font-size:.74rem}.world-tabs{gap:2px;padding:4px;border-radius:9px;width:100%}.world-tabs button{flex:1;padding:9px 6px;font-size:.67rem;border-radius:6px}.world-tabs button span{margin-inline-end:3px}.worlds-note{line-height:1.8}.play-section{grid-template-columns:1fr;gap:30px;padding-top:10px}.play-steps{display:grid;grid-template-columns:1fr;gap:0}.play-image{max-width:550px;margin:auto;transform:none}.home-faq{grid-template-columns:1fr;gap:20px}.home-faq h2{margin-bottom:16px}.closing{margin:15px 6% 55px;padding:45px 25px}.closing h2{font-size:2.25rem}.site-footer{padding:35px 6%}.cookie-banner{inset-inline:12px;bottom:12px;max-width:none;padding:16px}.cookie-banner p{font-size:.7rem}.cookie-banner .button{font-size:.67rem}html[data-theme=light] .cinema-shade{background:linear-gradient(180deg,#f8f5ef 8%,#f8f5efec 34%,#f8f5ef20 67%,#f8f5ef 100%)}[dir=rtl] .cinema-copy h1{font-size:2.95rem}[dir=rtl] .cinema-shade{transform:none}.gallery-dialog{padding:8px}.gallery-close{top:15px;right:15px}}
@media(max-width:420px){.brand{gap:8px}.brand small{font-size:.45rem}.header-actions{gap:7px}.language-picker summary{gap:3px}.library-link{padding:8px 10px}.cinema-copy h1{font-size:3.1rem}.cinema-copy>.eyebrow{font-size:.53rem;letter-spacing:.14em}.cinema-copy{padding-top:37px;padding-bottom:320px}.cinema-hero{min-height:720px}.hero-buttons .button{font-size:.66rem;padding:11px 14px;min-height:45px;gap:10px}.world-art{height:185px}.world-copy{padding:14px 14px 32px;min-height:230px}.world-copy h3{font-size:1.15rem}.spotlight-price .button{font-size:.65rem}.spotlight-heading h2{font-size:2rem}.spotlight-heading>.text-link{font-size:.59rem}.genre-tags{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){.spotlight-image:hover img{transform:none}.world{transition:none}.play-image{transform:none}}
/* External store information, retaining the approved visual language. */
.store-panel{border:1px solid var(--line);background:var(--surface);padding:28px;border-radius:13px;align-self:start;position:sticky;top:25px}
.store-panel h2{font-size:2.15rem;margin:12px 0}.store-intro{color:var(--muted);font-size:.85rem;margin-bottom:20px}
.store-buttons{display:grid;gap:12px}.store-button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:start;min-height:76px;padding:16px 19px;white-space:normal}
.store-button:disabled{opacity:.72;cursor:default}.store-name{font-size:.87rem;font-weight:650;line-height:1.5}.store-meta{font-size:.66rem;font-weight:400;line-height:1.5}.store-button.secondary{background:var(--bg);border:1px solid var(--line);color:var(--text)}
.store-explanation{font-size:.77rem;line-height:1.9;margin:24px 0 0}.platform-information{display:flex;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px;color:var(--muted);font-size:.72rem;line-height:1.8}.platform-information>span{color:var(--gold);font-size:1.3rem}.platform-information p{margin:0}
.trailer-block{margin:34px 0}.trailer-placeholder{gap:20px;min-height:160px;border-radius:12px}.trailer-placeholder p{margin-bottom:0;max-width:420px}.trailer-placeholder strong{font-size:.9rem}.trailer-link{position:relative;display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden}.trailer-link img{width:100%;filter:brightness(.42)}.trailer-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;gap:10px}.trailer-content>span{font-size:50px}.trailer-block video{width:100%;border-radius:12px;background:#080910}
.privacy-page{max-width:920px}.privacy-page p{line-height:1.9;margin-block:24px}.contact-panel{margin-block:28px}.contact-email{overflow-wrap:anywhere}.main-nav{flex-wrap:wrap}.site-header .main-nav{gap:25px}.game-card>div{min-width:0}.product-story{min-width:0}.site-footer .footer-links{flex-wrap:wrap}
@media(max-width:900px){.store-panel{position:static;padding:24px}.product-grid{grid-template-columns:minmax(0,1fr)}.store-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.store-explanation{max-width:720px}}
@media(max-width:760px){.site-header .main-nav{gap:15px;justify-content:space-between}.main-nav a{font-size:.73rem}.store-panel{margin-top:0}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-dialog img{max-width:100%;height:auto}.trailer-placeholder{padding:25px}.store-name{font-size:.78rem}.store-meta{font-size:.64rem}}
@media(max-width:440px){.store-buttons{grid-template-columns:1fr}.main-nav a{font-size:.68rem}.store-button{min-height:72px}.world-tabs button{font-size:.62rem}.spotlight-price{flex-wrap:wrap}.store-panel h2{font-size:1.9rem}}
/* Real image elements replace the previous CSS-only background/preview variable.
   Source rectangles are exact regions in the original game-menu screenshot. */
.world{--tone:#76ca83;border:1px solid color-mix(in srgb,var(--tone) 36%,var(--line));box-shadow:inset 0 0 0 4px color-mix(in srgb,var(--tone) 7%,transparent),0 15px 40px #0002;transition:transform .28s,box-shadow .28s,border-color .28s}
.world.ember{--tone:#e97752}.world.tide{--tone:#62c5e9}.world.zephyr{--tone:#b69ae6}
.world:hover{transform:translateY(-6px);border-color:var(--tone);box-shadow:0 18px 48px #0004,0 0 22px color-mix(in srgb,var(--tone) 16%,transparent)}
.world-art{height:auto!important;aspect-ratio:450/415;background:var(--surface)!important;display:block;isolation:isolate;margin:10px 10px 0;border:1px solid color-mix(in srgb,var(--tone) 65%,transparent);border-radius:8px 8px 2px 2px;overflow:hidden}
.world-art .world-portrait{position:absolute;max-width:100%;width:100%;height:100%;object-fit:cover;left:0;top:0;transition:filter .3s;z-index:0}
.world:hover .world-portrait{filter:brightness(1.06)}.world-art:after{inset:0;z-index:2;pointer-events:none;clip-path:none;background:linear-gradient(115deg,transparent 25%,#ffffff09 44%,#ffffff1b 47%,transparent 65%);transform:translateX(-100%);transition:transform .7s}
.world:hover .world-art:after{transform:translateX(100%)}
.world-rune{display:block!important;position:relative;width:40px;height:44px;flex:0 0 auto;overflow:hidden;border-radius:9px;background:#15130c}
.world-rune img{position:static!important;max-width:100%!important;width:100%!important;height:100%!important;object-fit:contain;margin:0!important}
.world-art>.world-rune{position:absolute;top:3.132530%;left:0;width:23.333333%;height:auto;aspect-ratio:105/112;z-index:1;border-radius:9px}
.grove .world-rune,.rune-grove{filter:hue-rotate(65deg)}.ember .world-rune,.rune-ember{filter:hue-rotate(-38deg)}.tide .world-rune,.rune-tide{filter:hue-rotate(160deg)}.zephyr .world-rune,.rune-zephyr{filter:hue-rotate(235deg)}
.world-tabs button{display:flex;align-items:center;gap:9px}.world-tabs .world-rune{width:23px;height:auto;aspect-ratio:105/112;margin:0}.world-copy{min-height:205px;padding:24px 22px 36px}.world-copy h3{font-size:1.4rem;line-height:1.3}.world-copy p{font-size:.83rem;line-height:1.8}.world-copy .chapter{color:var(--tone)}
.language-flag{width:26px;height:18px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #8884;flex-shrink:0}.language-picker summary{padding:7px 3px;gap:6px}.language-list a{display:flex;align-items:center;gap:12px}.language-picker summary>span:first-child{font-size:.8rem}
@media(max-width:760px){.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-copy{padding:18px 16px 34px;min-height:225px}.world-copy h3{font-size:1.23rem}.world-tabs button{gap:5px;padding:9px 5px}.world-tabs .world-rune{width:18px}.world-art{margin:7px 7px 0}}
@media(max-width:430px){.world-grid{grid-template-columns:1fr;gap:24px}.world{max-width:355px;width:100%;margin-inline:auto}.world-copy{min-height:0;padding:22px 24px 38px}.world-copy h3{font-size:1.6rem}.world-copy p{font-size:.9rem}.world-tabs button{font-size:.6rem;gap:4px}.world-tabs .world-rune{width:15px}}
@media(prefers-reduced-motion:reduce){.world,.world-art:after,.world-portrait{transition:none!important}.world:hover{transform:none}.world-art:after{display:none}}
.store-button{flex-direction:row;align-items:center;justify-content:flex-start;gap:16px}.store-button .store-copy{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.store-logo{width:72px;height:29px;object-fit:contain;flex:0 0 auto}.store-logo.logo-itch{width:30px;margin-inline:20px 22px}.store-button.secondary .logo-black{display:none}.store-button.secondary .logo-white{display:block}html[data-theme=light] .store-button.secondary .logo-black{display:block}html[data-theme=light] .store-button.secondary .logo-white{display:none}.store-button.primary .logo-white{display:none}.store-button.primary .logo-black{display:block}.store-teaser{display:grid;gap:10px;margin-top:24px}.store-teaser .store-button{min-height:65px}.store-teaser .store-name{font-size:.77rem}
.support-layout{display:grid;grid-template-columns:1fr .8fr;gap:50px;align-items:center;margin:35px 0 55px}.support-art{border-radius:16px;border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden}.support-art img{width:100%}.support-layout h2{font-size:2.5rem}.support-callout{padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:30px 0}.privacy-settings{font-size:.72rem;background:none;color:var(--muted);padding:0;text-align:start;cursor:pointer}.consent-banner[hidden]{display:none!important}.consent-banner{position:fixed;bottom:22px;inset-inline-end:22px;z-index:80;max-width:450px;padding:23px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 70px #0005}.consent-banner h2{font-size:1.5rem;margin-bottom:12px}.consent-banner p{font-size:.77rem;margin-bottom:18px}.consent-actions{display:flex;gap:10px;flex-wrap:wrap}.consent-actions button{font-size:.72rem;padding:10px 14px}.consent-banner>a{display:inline-block;font-size:.7rem;margin-top:14px}.legal-attribution{font-size:.57rem;color:var(--muted);max-width:750px;margin-top:18px;line-height:1.6}
.admin-intro{display:flex;justify-content:space-between;gap:20px;align-items:center}.admin-intro h1{font-size:clamp(2.5rem,4vw,4rem)}.admin-badge{border:1px solid var(--line);color:var(--gold);padding:10px 15px;border-radius:30px;font-size:.75rem}.report-filter{display:flex;gap:15px;flex-wrap:wrap;padding:25px;border:1px solid var(--line);border-radius:12px;background:var(--surface);align-items:end;margin:30px 0}.report-filter label{display:flex;flex-direction:column;gap:6px;font-size:.75rem;flex:1;min-width:140px}.report-filter input,.report-filter select{border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--text);padding:10px;min-height:44px}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:25px 0}.dashboard-metric{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:25px}.dashboard-metric span{display:block;color:var(--muted);font-size:.75rem}.dashboard-metric strong{font-family:var(--serif);font-size:2.8rem;color:var(--gold);font-weight:400;display:block;margin-top:12px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.dashboard-panel{border:1px solid var(--line);border-radius:13px;padding:27px;min-width:0;background:var(--surface);margin-bottom:24px}.dashboard-panel h2{font-size:1.7rem}.dashboard-panel table{width:100%;border-collapse:collapse;font-size:.76rem}.dashboard-panel td,.dashboard-panel th{text-align:start;border-bottom:1px solid var(--line);padding:11px 8px;overflow-wrap:anywhere}.dashboard-panel th{color:var(--muted);font-weight:500}.table-scroll{overflow:auto}.dashboard-definitions p{font-size:.83rem}.chart-row{display:grid;grid-template-columns:95px 1fr 40px;gap:14px;align-items:center;font-size:.72rem;margin:11px 0}.chart-bar{height:14px;border-radius:5px;background:var(--bg);overflow:hidden}.chart-bar:after{content:'';display:block;height:100%;width:var(--amount);background:linear-gradient(90deg,var(--purple),var(--gold));border-radius:5px}.dashboard-status{min-height:20px;font-size:.85rem}
@media(max-width:900px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.support-layout{grid-template-columns:1fr;gap:25px}.support-art{max-width:550px}}
@media(max-width:520px){.admin-intro{display:block}.report-filter{padding:18px}.dashboard-metric{padding:18px}.dashboard-metric strong{font-size:2.3rem}.dashboard-panel{padding:20px}.consent-banner{inset-inline:12px;bottom:12px;max-width:none}.report-filter label{min-width:120px}.chart-row{grid-template-columns:80px 1fr 30px;gap:8px}}

/* Active external-store action within the retained game-card design. */
.game-card-cover{display:block;overflow:hidden}.game-card h2>a{display:flex;align-items:baseline;justify-content:space-between;gap:20px;width:100%}.game-card .store-button .store-logo{width:72px;height:29px;aspect-ratio:auto;object-fit:contain;transform:none}.game-card .card-store-note,.teaser-store-note{font-size:.72rem;line-height:1.7;color:var(--muted);margin:16px 0}.teaser-store-note{margin:4px 0 0}

/* Platform marks inherit button contrast in both themes. */
.store-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.store-platforms{display:inline-flex;align-items:center;gap:9px;flex-shrink:0}
.platform-mark{display:inline-flex;align-items:center;justify-content:center}
.platform-icon{display:block;width:17px;height:17px;flex:none}
.platform-mark[aria-label=Android] .platform-icon{width:21px}
