/* Flerovia's shared tokens and responsive host UI. Never injected into games. */
:root{--paper:#f5f6f8;--ink:#253747;--muted:#526373;--blue:#355f86;--blue-dark:#274866;--line:#d9dfe5;--green:#e2eaf2;--peach:#f8e0dd;--yellow:#f4e4e2;--pale-blue:#e0eaf4;--radius:20px;--header-height:86px;font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.6}
*{box-sizing:border-box}html{scroll-padding-top:calc(var(--header-height) + 24px)}body{margin:0}a{color:var(--blue);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.46}button .icon,a .icon{flex-shrink:0}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.13;letter-spacing:-.045em}h1{font-size:clamp(2.35rem,4.6vw,4.2rem);font-weight:800}h2{font-size:clamp(1.65rem,2.7vw,2.4rem)}h3{font-size:1.18rem}p{color:var(--muted)}[hidden]{display:none!important}.icon{display:inline-block;vertical-align:middle;width:23px;height:23px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}button[aria-pressed=true]{color:#b43c37}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.wrap{width:min(1240px,calc(100% - 88px));margin-inline:auto}.section{padding-block:68px}.eyebrow{display:block;color:#355f86;font-size:.72rem;font-weight:800;letter-spacing:.13em;line-height:1.5;margin-bottom:14px}.tiny-sun{color:#c94740;font-size:23px;vertical-align:middle;margin-right:6px}.tag{display:inline-flex;padding:3px 10px;border-radius:6px;color:#354b60;font-size:.67rem;font-weight:800;letter-spacing:.035em;line-height:1.6}.peach{background:var(--peach)}.green{background:var(--green)}.yellow{background:var(--yellow)}.blue{background:var(--pale-blue)}.button{display:inline-flex;gap:12px;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:11px;text-decoration:none;font-weight:700;font-size:.9rem;transition:transform .18s,background .18s,box-shadow .18s}.button:hover{transform:translateY(-2px);box-shadow:0 4px 0 #173c511a}.primary{background:var(--blue);color:white}.primary:hover{background:var(--blue-dark)}.secondary{border-color:var(--line);background:#ffffff;color:var(--ink)}.text-link{display:inline-flex;align-items:center;gap:9px;font-size:.87rem;font-weight:700;text-decoration:none}.text-link:hover{text-decoration:underline}.text-link .icon{width:20px;height:20px}.quiet-button{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;color:var(--blue);padding:8px;font-size:.8rem;min-height:40px}
/* Persistent navigation sits outside constrained page sections. */
.skip-link{position:fixed;top:8px;left:8px;z-index:100;background:white;padding:12px;transform:translateY(-150%)}.skip-link:focus{transform:none}.site-header{position:sticky;top:0;z-index:30;background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{width:min(1320px,calc(100% - 64px));min-height:var(--header-height);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;gap:10px;align-items:center;color:var(--ink);text-decoration:none;font-weight:900;font-size:1.65rem;letter-spacing:-.065em;line-height:1}.brand-sub{display:block;font-size:.5rem;letter-spacing:.3em;margin-top:6px;font-weight:800}.brand img{flex-shrink:0}.site-header nav{display:flex;align-items:center;gap:32px}.site-header nav a{font-size:.86rem;color:var(--ink);text-decoration:none;font-weight:700;position:relative;padding-block:12px}.site-header nav a[aria-current=page]:not(.nav-play):after{content:'';position:absolute;bottom:3px;left:0;right:0;height:3px;background:#c94740;border-radius:5px}.site-header nav a:hover{color:var(--blue)}.site-header nav .nav-play{display:flex;gap:16px;align-items:center;background:var(--green);padding:10px 17px;border-radius:10px}.menu-toggle{border:1px solid var(--line);border-radius:8px;background:transparent;padding:8px 12px;color:var(--ink);min-height:44px}
/* The introduction is compact enough to show actual games on first view. */
.home-intro{display:grid;grid-template-columns:.9fr 1.25fr;gap:40px;padding-block:56px 65px;align-items:center}.welcome{position:relative;padding-block:20px}.welcome h1{margin-bottom:23px}.welcome h1>span{color:var(--blue);position:relative}.welcome h1>span:after{content:'';position:absolute;left:2px;right:0;bottom:-9px;height:8px;border-radius:50%;border-top:3px solid #c94740;transform:rotate(-3deg)}.welcome p{font-size:.94rem;line-height:1.85;margin:26px 0}.welcome-note{display:flex;gap:10px;align-items:center;font-size:.73rem;color:var(--muted);margin-top:20px}.welcome-note .icon{width:18px}.doodle{position:absolute;color:#c94740;font-size:60px;right:0;bottom:8px}.postcards{display:grid;grid-template-columns:1.05fr .9fr;gap:16px;position:relative;padding:16px 0}.postcard{align-self:start}.postcard-0{grid-row:span 2;transform:rotate(-3deg);margin-top:32px;background:#e2eaf2!important}.postcard-1{transform:rotate(3deg);background:#f8e0dd!important}.postcard-2{transform:rotate(2deg);background:#e0eaf4!important}.postcards .card-picture{aspect-ratio:1.65}.postcards .postcard-0 .card-picture{aspect-ratio:.85}.postcards .postcard-0 .card-picture img{object-position:48%}.postcards .card-copy{padding:14px 16px 12px}.postcards .card-copy h3{font-size:1.12rem;margin-bottom:9px}.postcards .postcard-0 .card-copy h3{font-size:1.45rem}.postcards .card-copy p{font-size:.72rem;margin-bottom:0}.postcards .card-meta{display:none}.postcards .save-icon{width:32px;height:32px;top:10px;right:10px}.postcards .save-icon .icon{width:17px}.postcard-note{position:absolute;bottom:-27px;right:0;font-size:.75rem;color:#685c62;transform:rotate(-3deg)}
/* Whole-card links and independent save controls avoid nested interaction. */
.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.game-card{position:relative;background:#ffffff;border:1px solid #d9dfe5;border-radius:var(--radius);box-shadow:0 4px 0 #d9dfe53b;min-width:0;transition:transform .22s,box-shadow .22s}.game-card:hover{transform:translateY(-5px);box-shadow:0 9px 0 #d9dfe54a}.postcard-0:hover{transform:rotate(-3deg) translateY(-5px)}.postcard-1:hover{transform:rotate(3deg) translateY(-5px)}.postcard-2:hover{transform:rotate(2deg) translateY(-5px)}.card-link{display:block;color:var(--ink);text-decoration:none;border-radius:var(--radius);height:100%}.card-picture{aspect-ratio:1.65;overflow:hidden;border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;background:#d2dce6;position:relative}.card-picture img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.game-card:hover .card-picture img{transform:scale(1.035)}.card-play{position:absolute;bottom:12px;left:12px;display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;background:#f5f6f8eb;color:var(--blue);transition:transform .2s}.card-play .icon{width:17px;fill:var(--blue);stroke-width:0}.game-card:hover .card-play{transform:scale(1.08)}.card-copy{padding:18px}.card-copy h3{margin:10px 0 9px;font-size:1.14rem}.card-copy p{font-size:.78rem;line-height:1.6;margin-bottom:20px}.card-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;font-size:.66rem;color:#586c7e}.card-meta>span{font-size:20px;color:var(--blue);line-height:1}.save-icon{position:absolute;right:12px;top:12px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #ffffff82;background:#f5f6f8ef;border-radius:50%;color:#355f86;transition:transform .2s}.save-icon:hover{transform:scale(1.1)}.save-icon[aria-pressed=true] .icon{fill:#f4bcb6}
.category-band{border-block:1px solid var(--line);background:#edf0f4;padding-block:25px 30px}.band-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.band-title h2{font-size:1.05rem;letter-spacing:-.02em;margin:0}.band-title>span{font-size:.74rem;color:var(--muted)}.category-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.category-link{display:flex;gap:10px;align-items:center;color:var(--ink);text-decoration:none;border:1px solid #355f8619;border-radius:12px;padding:13px 11px;transition:transform .2s}.category-link:hover{transform:translateY(-3px)}.category-link>span{font-size:.77rem;font-weight:800;line-height:1.4}.category-link small{display:block;font-size:.62rem;font-weight:400;margin-top:3px}.category-link>.icon:last-child{margin-left:auto;width:15px}.category-link>.icon:first-child{width:22px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:9px}.section-heading>.text-link{padding-bottom:4px;flex-shrink:0}.play-note{display:grid;grid-template-columns:70px 1fr auto;gap:25px;align-items:center;background:#e5ecf3;border:1px solid #d0dce7;border-radius:var(--radius);padding:30px 35px}.note-symbol{display:grid;place-items:center;width:64px;height:64px;background:#f5f6f8;border-radius:20px;transform:rotate(-7deg)}.note-symbol .icon{width:34px;height:34px}.play-note h2{font-size:1.6rem;margin-bottom:12px}.play-note p{font-size:.85rem;max-width:660px;margin-bottom:0}.play-note .eyebrow{margin-bottom:7px}.creator-section{display:grid;grid-template-columns:1fr 1.3fr;align-items:center;gap:75px;border-top:1px solid var(--line);padding-block:64px 85px}.creator-section h2{font-size:2.6rem}.creator-section p{max-width:540px;font-size:.9rem}.creator-art{position:relative;display:grid;place-items:center;min-height:250px;background:#f3dedd;border-radius:48% 44% 40% 45%;margin-inline:35px}.creator-art img{z-index:1;transform:rotate(-12deg);width:110px}.orbit{position:absolute;width:84%;height:60%;border:1px dashed #bd8581;border-radius:50%;transform:rotate(25deg)}.orbit-two{transform:rotate(-32deg);width:69%;height:80%}.creator-sticker{position:absolute;right:-10px;bottom:25px;background:#ffffff;border:1px solid var(--line);padding:8px 15px;border-radius:9px;font-size:.75rem;font-weight:700;transform:rotate(-7deg)}.creator-spark{position:absolute;right:25px;top:10px;font-size:50px;color:var(--blue)}
/* Directory and empty states are static-first; JS progressively filters them. */
.page-heading{margin-bottom:38px;max-width:780px}.page-heading h1{font-size:clamp(2.3rem,4.3vw,3.7rem);margin-bottom:20px}.page-heading p{font-size:1rem;max-width:690px}.filter-panel{padding:24px;background:#edf0f4;border:1px solid var(--line);border-radius:var(--radius)}.filter-row{display:grid;grid-template-columns:1fr 180px 190px;align-items:end;gap:18px}.search-field{display:flex;align-items:center;gap:12px;background:white;border:1px solid #a6b5c4;border-radius:10px;padding-inline:16px;min-height:50px}.search-field input{border:0;background:transparent;width:100%;min-width:0;outline-offset:0;padding-block:13px;color:var(--ink);font-size:.85rem}.search-field .icon{color:var(--muted);width:20px;flex-shrink:0}.select-field{font-size:.7rem;font-weight:700;display:block}.select-field select{display:block;width:100%;padding:12px 8px;margin-top:4px;border:1px solid #a6b5c4;border-radius:9px;background:white;color:var(--ink);min-height:50px;font-size:.83rem}.filter-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.filter-chips button{padding:8px 15px;border:1px solid #cbd5de;border-radius:24px;background:#f5f6f8;color:var(--ink);font-size:.78rem;min-height:40px}.filter-chips button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:white}.filter-chips button span{font-size:.65rem;margin-left:8px}.results-line{display:flex;justify-content:space-between;align-items:center;padding-block:17px;gap:16px}.results-line p{font-size:.77rem;margin:0}.empty-state{text-align:center;background:#edf0f4;padding:60px 20px;border:1px dashed #a4b5c5;border-radius:20px}.empty-state>.icon{width:38px;height:38px;margin-bottom:16px}.empty-state h2{font-size:1.7rem}.empty-state p{max-width:450px;margin-inline:auto}.small-note{font-size:.77rem;line-height:1.7;margin-top:20px}.notice{padding:18px;background:var(--yellow);border-radius:10px;font-size:.88rem}
/* Opaque external sessions: the shell controls the frame, never game internals. */
.game-page{padding-top:25px}.breadcrumbs{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.72rem;margin-bottom:30px;color:var(--muted)}.breadcrumbs a{color:var(--muted)}.game-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.game-title h1{font-size:clamp(2rem,3.5vw,3.2rem);margin-bottom:12px}.game-title p{margin-bottom:0;font-size:.9rem}.game-title .eyebrow{margin-bottom:10px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:26px;align-items:start}.player{background:#253747;border:1px solid #354b60;border-radius:var(--radius);overflow:hidden}.player-stage{aspect-ratio:16/10;position:relative;min-height:270px;background:#1b2b3c;display:flex;justify-content:center}.player-stage iframe{border:0;width:100%;height:100%;position:absolute;inset:0;background:#1b2b3c}.launch-prompt{position:absolute;inset:0;display:grid;place-items:center;background-image:linear-gradient(#1b2b3ca8,#1b2b3ce8),var(--game-cover);background-position:center;background-size:cover;text-align:center;padding:25px}.launch-inner h2{font-size:2rem;color:var(--paper);margin:20px 0 12px}.launch-inner p{color:#e0e8f0;font-size:.87rem;margin-bottom:25px}.launch-inner .primary{background:#f5f6f8;color:var(--blue)}.launch-inner .primary:hover{background:#e2eaf2}.launch-inner .tag{font-size:.67rem}.launch-disclosure{display:block;color:#e0e8f0;font-size:.65rem;margin-top:20px}.player-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;color:#f5f6f8;flex-wrap:wrap}.player-label{display:flex;gap:8px;align-items:center;font-size:.68rem}.player-label>.icon{width:20px}.player-toolbar>div{display:flex;gap:5px;flex-wrap:wrap}.player-toolbar button{display:inline-flex;gap:6px;align-items:center;padding:8px;border:1px solid #b7c9da45;background:#354b60;border-radius:7px;color:#f5f6f8;min-height:40px;font-size:.65rem}.player-toolbar button .icon{width:17px;height:17px}.player-toolbar button:hover:not(:disabled){background:#496984}.player-status{color:#d7e2ed;font-size:.67rem;margin:0;padding:7px 14px 11px;border-top:1px solid #a9bed330;min-height:40px}.game-help{font-size:.73rem;margin-top:15px}.controls-panel{background:#edf0f4;border:1px solid var(--line);border-radius:var(--radius);padding:25px}.controls-panel h2{font-size:1.5rem}.controls-panel .eyebrow{font-size:.65rem}.controls-list{padding:0;list-style:none;margin:0 0 20px}.controls-list li{border-bottom:1px solid #d5dee7;padding:11px 0;color:var(--ink);font-size:.78rem;line-height:1.6}.game-facts{margin:0;font-size:.72rem}.game-facts>div{display:flex;justify-content:space-between;gap:8px;padding-block:5px}.game-facts dt{color:var(--muted)}.game-facts dd{margin:0;text-align:right;font-weight:700}.controls-panel .small-note{font-size:.7rem}.game-info{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;padding-top:45px}.game-info h2{font-size:1.8rem}.game-info p{font-size:.92rem;line-height:1.85}.tip-panel{background:#f5e3e0;padding:27px;border-radius:17px}.tip-panel .eyebrow{color:#92433f}.game-source{border-bottom:1px solid var(--line);padding-block:30px}.game-source h2{font-size:1.1rem;letter-spacing:-.02em}.game-source p{font-size:.8rem;max-width:850px}.game-source a{font-size:.8rem}.related-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:950px}.player.is-expanded,.player:fullscreen{position:fixed;inset:0;z-index:60;border:0;border-radius:0;display:flex;flex-direction:column;width:100%;height:100dvh}.player.is-expanded .player-stage,.player:fullscreen .player-stage{flex:1;min-height:0;aspect-ratio:auto}.player[data-orientation=portrait] iframe{width:min(100%,420px);left:50%;transform:translateX(-50%)}.player.is-expanded[data-orientation=portrait] iframe,.player:fullscreen[data-orientation=portrait] iframe{width:min(100%,calc((100dvh - 110px)*.62))}
/* Foundation pages are readable documents with the same public shell. */
.foundation{max-width:900px}.foundation-wide{max-width:1240px}.prose{font-size:.95rem;line-height:1.9}.prose h2{font-size:1.5rem;line-height:1.3;margin-top:34px;margin-bottom:15px}.prose h3{font-size:1.1rem;letter-spacing:-.02em;margin-top:25px}.prose p{margin-bottom:20px}.email{user-select:text;overflow-wrap:anywhere;font-weight:700;color:var(--blue)}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px}.contact-layout form{background:#edf0f4;padding:30px;border-radius:var(--radius);border:1px solid var(--line)}.contact-layout form h2{margin-top:0}.contact-layout label{display:block;font-size:.8rem;font-weight:700;margin:18px 0}.contact-layout label span{font-weight:400}.contact-layout input,.contact-layout textarea{display:block;width:100%;padding:12px;border:1px solid #a6b5c4;background:#ffffff;border-radius:8px;margin-top:7px;color:var(--ink)}.contact-layout textarea{resize:vertical}.contact-layout [role=status]{font-size:.8rem;margin-top:15px}.not-found{min-height:55vh}.not-found .page-heading{max-width:750px}
.site-footer{background:#e6ecf2;border-top:1px solid #d0dbe5;padding:48px max(44px,calc((100% - 1240px)/2)) 0}.footer-top{display:grid;grid-template-columns:1.35fr .9fr .9fr 1.3fr;gap:45px;padding-bottom:40px}.footer-top .brand{font-size:1.5rem}.footer-top p{font-size:.78rem;margin-top:20px}.footer-top h2{font-size:.8rem;font-weight:800;letter-spacing:0;margin:6px 0 18px}.footer-top>div>a:not(.brand){display:block;text-decoration:none;color:#465c70;font-size:.76rem;margin-block:10px}.footer-top>div>a:hover{text-decoration:underline}.footer-note .email{font-size:.75rem}.footer-note p{margin-top:16px}.footer-bottom{border-top:1px solid #cfd9e3;padding-block:20px;display:flex;justify-content:space-between;gap:20px;font-size:.66rem;color:#526779}.footer-bottom .icon{width:16px;margin-left:8px;color:#b6403a}.toast{position:fixed;z-index:90;bottom:22px;left:50%;transform:translate(-50%,20px);background:#253747;color:white;padding:12px 20px;border-radius:10px;box-shadow:0 5px 20px #0002;max-width:calc(100% - 32px);width:max-content;font-size:.82rem;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s}.toast.is-visible{transform:translate(-50%,0);opacity:1;visibility:visible}
/* One gentle motion family; hide only after JS and observer initialization. */
.reveal-ready{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}.reveal-ready.is-visible{opacity:1;transform:none}
@media(min-width:1500px){.home-intro{padding-block:70px 80px}}
@media(max-width:1100px){.wrap{width:calc(100% - 56px)}.header-inner{width:calc(100% - 48px)}.site-header nav{gap:20px}.home-intro{gap:30px}.welcome h1{font-size:3.1rem}.home-intro .welcome p br{display:none}.postcards{gap:11px}.postcards .card-copy{padding:12px}.postcards .card-copy h3{font-size:1rem}.postcards .postcard-0 .card-copy h3{font-size:1.2rem}.game-grid{gap:18px}.category-list{grid-template-columns:repeat(3,minmax(0,1fr))}.category-link{padding:12px 17px}.category-link>span{font-size:.85rem}.category-link small{font-size:.65rem}.game-layout{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.controls-panel{padding:20px}.player-label{display:none}.creator-section{gap:35px}.footer-top{gap:25px}.play-note{grid-template-columns:60px 1fr}.play-note>.text-link{grid-column:2}.game-grid .card-copy{padding:15px}.game-grid .card-copy h3{font-size:1rem}}
@media(max-width:820px){:root{--header-height:76px}.wrap{width:calc(100% - 40px)}.header-inner{width:calc(100% - 40px);flex-wrap:wrap;gap:0;position:relative}.brand{font-size:1.5rem}.brand img{width:40px}.brand-sub{font-size:.46rem}.menu-toggle:not([hidden]){display:block}.site-header nav{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px 25px;padding:0 0 18px;max-height:300px;opacity:1;transition:max-height .28s,padding .28s,opacity .2s}.site-header nav a{padding:10px;font-size:.85rem}.site-header nav a[aria-current=page]:not(.nav-play):after{left:10px;right:auto;width:25px}.site-header nav .nav-play{grid-column:span 2;justify-content:center}.site-header nav[data-closed]{max-height:0;overflow:hidden;padding:0;opacity:0;visibility:hidden;transition:max-height .28s,padding .28s,opacity .2s,visibility .28s}.home-intro{grid-template-columns:1fr 1fr;gap:22px;padding-block:36px 50px}.welcome h1{font-size:2.6rem}.welcome p{font-size:.85rem}.welcome .eyebrow{font-size:.6rem}.postcards{grid-template-columns:1fr;padding-bottom:0}.postcards .postcard-0{grid-row:auto;margin-top:0}.postcards .postcard-0 .card-picture{aspect-ratio:1.5}.postcards .postcard-1,.postcards .postcard-2{display:none}.postcard-note{bottom:-31px;font-size:.64rem}.doodle{display:none}.welcome-note{font-size:.64rem}.section{padding-block:48px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.game-grid .card-copy{padding:18px}.game-grid .card-copy h3{font-size:1.2rem}.game-grid .card-copy p{font-size:.82rem}.filter-row{grid-template-columns:1fr 1fr}.search-field{grid-column:span 2}.creator-section{grid-template-columns:1fr 1.3fr;gap:25px}.creator-art{margin-inline:8px;min-height:220px}.creator-sticker{right:-5px;font-size:.65rem}.creator-section h2{font-size:2rem}.game-layout{grid-template-columns:1fr}.controls-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.controls-panel .eyebrow{grid-column:span 2}.controls-panel h2{grid-column:span 2}.controls-list{grid-row:span 2}.controls-panel .small-note{margin-top:5px}.game-info{gap:25px}.footer-top{grid-template-columns:1.2fr 1fr 1fr;gap:30px}.footer-note{grid-column:span 3;border-top:1px solid var(--line);padding-top:25px}.footer-note p{max-width:500px}.site-footer{padding-inline:25px}.contact-layout{gap:30px}.contact-layout form{padding:23px}.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.related-grid .card-copy{padding:12px}.related-grid .card-copy h3{font-size:1rem}.related-grid .card-copy p{font-size:.72rem}.related-grid .card-meta{font-size:.6rem}}
@media(max-width:560px){:root{--header-height:72px}.wrap{width:calc(100% - 32px)}.header-inner{width:calc(100% - 32px)}.home-intro{grid-template-columns:1fr;gap:18px;padding-top:25px;padding-bottom:55px}.welcome{padding:12px 4px 0}.welcome h1{font-size:3rem;margin-bottom:17px}.welcome p{font-size:.9rem;margin:22px 0}.welcome .eyebrow{font-size:.64rem}.welcome-note{margin-top:15px;font-size:.7rem}.postcards{grid-template-columns:1fr 1fr;gap:12px;padding:15px 6px 0;align-items:center}.postcards .postcard-0{grid-row:span 2;display:block}.postcards .postcard-1,.postcards .postcard-2{display:block}.postcards .postcard-0 .card-picture{aspect-ratio:.8}.postcards .postcard-1 .card-picture,.postcards .postcard-2 .card-picture{aspect-ratio:1.8}.postcards .card-copy{padding:11px 12px}.postcards .postcard-0 .card-copy h3{font-size:1.15rem}.postcards .card-copy h3{font-size:.9rem;margin-bottom:2px}.postcards .card-copy p{display:none}.postcards .postcard-0 .card-copy p{display:block;font-size:.7rem;margin-top:8px}.postcards .tag{font-size:.56rem;padding:2px 6px}.postcards .save-icon{width:30px;height:30px;right:7px;top:7px}.postcards .card-play{width:28px;height:28px;bottom:8px;left:8px}.postcard-note{bottom:-31px;right:8px}.category-band{padding-block:22px}.band-title{align-items:start;gap:15px}.band-title h2{font-size:.95rem;max-width:190px}.band-title>span{font-size:.65rem;white-space:nowrap}.category-list{grid-template-columns:1fr 1fr;gap:10px}.category-link{padding:11px 12px;gap:9px}.category-link>span{font-size:.77rem}.category-link>.icon:first-child{width:19px}.category-link small{font-size:.59rem}.section-heading{display:block;margin-bottom:23px}.section-heading h2{font-size:1.9rem;max-width:300px}.section-heading>.text-link{margin-top:14px;font-size:.78rem}.eyebrow{font-size:.65rem}.game-grid{gap:15px 12px}.game-card{--radius:15px}.game-grid .card-copy{padding:12px}.game-grid .card-copy h3{font-size:1.02rem;line-height:1.25;letter-spacing:-.035em;min-height:2.5em}.game-grid .card-copy p{font-size:.7rem;line-height:1.6;min-height:3.2em;margin-bottom:12px}.card-meta{font-size:.58rem}.card-meta>span{font-size:16px}.tag{font-size:.58rem;padding:2px 7px}.save-icon{right:7px;top:7px;width:32px;height:32px}.save-icon .icon{width:18px}.card-play{width:29px;height:29px;bottom:8px;left:8px}.card-picture{aspect-ratio:1.35}.play-note{padding:25px 22px;grid-template-columns:1fr;gap:15px}.play-note>.text-link{grid-column:auto}.note-symbol{width:48px;height:48px;border-radius:14px}.note-symbol .icon{width:27px}.play-note h2{font-size:1.5rem}.play-note p{font-size:.82rem}.creator-section{grid-template-columns:1fr;padding-block:45px;gap:30px}.creator-art{max-width:300px;width:85%;margin:auto;min-height:220px}.creator-section h2{font-size:2.2rem}.creator-section p{font-size:.85rem}.page-heading{margin-bottom:27px}.page-heading h1{font-size:2.6rem}.page-heading p{font-size:.88rem}.filter-panel{padding:16px}.filter-row{gap:12px}.search-field{padding-inline:11px;gap:8px}.search-field input{font-size:.77rem}.select-field select{font-size:.76rem}.filter-chips{gap:7px;margin-top:17px}.filter-chips button{font-size:.7rem;padding:7px 11px}.results-line{gap:6px;align-items:start}.results-line p{font-size:.7rem;padding-top:10px}.results-line>div{display:flex;flex-direction:column;align-items:end}.results-line .quiet-button{font-size:.72rem}.game-page{padding-top:20px}.breadcrumbs{font-size:.65rem;gap:8px;margin-bottom:24px}.game-title{align-items:start;flex-direction:column;gap:17px}.game-title h1{font-size:2.2rem}.game-title p{font-size:.82rem}.game-title .button{min-height:40px;padding:8px 14px;font-size:.78rem}.player-stage{min-height:320px;aspect-ratio:4/3}.player[data-orientation=portrait] .player-stage{aspect-ratio:9/14}.player-toolbar{padding:9px;justify-content:center}.player-toolbar>div{gap:4px;justify-content:center}.player-toolbar button{padding:8px 7px;font-size:.6rem;gap:3px}.player-toolbar button .icon{width:15px;height:15px}.player-status{font-size:.63rem;padding:9px 12px}.launch-inner h2{font-size:1.65rem}.launch-disclosure{font-size:.6rem;overflow-wrap:anywhere}.controls-panel{grid-template-columns:1fr;padding:23px}.controls-panel .eyebrow,.controls-panel h2{grid-column:auto}.controls-list{grid-row:auto}.game-facts{font-size:.77rem}.controls-panel .small-note{margin-top:15px}.game-info{grid-template-columns:1fr;gap:20px;padding-top:30px}.game-info p{font-size:.87rem}.tip-panel{padding:24px}.game-info h2{font-size:1.6rem}.related-grid{grid-template-columns:1fr 1fr}.related-grid .game-card:last-child{grid-column:span 2;max-width:calc(50% - 6px)}.contact-layout{grid-template-columns:1fr;gap:20px}.prose{font-size:.88rem}.prose h2{font-size:1.4rem}.prose h3{font-size:1.1rem}.footer-top{grid-template-columns:1fr 1fr;gap:28px 20px}.footer-top>div:first-child{grid-column:span 2}.footer-note{grid-column:span 2}.footer-bottom{display:block;font-size:.62rem}.footer-bottom>span{display:block;margin-block:7px}.site-footer{padding-inline:20px}.small-note{font-size:.73rem}}
/* Mobile-only toggle; do not show it beside an already expanded desktop menu. */
@media(min-width:821px){.menu-toggle{display:none}}
@media(min-width:561px) and (max-width:820px){.home-intro{grid-template-columns:1fr;gap:20px}.welcome{max-width:620px}.welcome h1{font-size:3.4rem}.postcards{grid-template-columns:1.05fr .9fr;max-width:590px;width:100%;margin:auto}.postcards .postcard-0{grid-row:span 2;margin-top:20px}.postcards .postcard-0 .card-picture{aspect-ratio:.85}.postcards .postcard-1,.postcards .postcard-2{display:block}.postcards .card-copy h3{font-size:1.1rem}.postcards .postcard-0 .card-copy h3{font-size:1.35rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.game-card,.card-picture img,.card-play,.save-icon,.button,.category-link,.toast,.site-header nav,.site-header nav[data-closed],.reveal-ready{transition:none}.reveal-ready{opacity:1;transform:none}.game-card:hover,.button:hover,.category-link:hover{transform:none}.postcard-0:hover{transform:rotate(-3deg)}.postcard-1:hover{transform:rotate(3deg)}.postcard-2:hover{transform:rotate(2deg)}}

.standalone-breadcrumb{padding-top:22px;margin-bottom:0}.standalone-breadcrumb+.section{padding-top:30px}

/* Grid children must be allowed to shrink below long control text. */
.game-layout>*{min-width:0}@media(max-width:820px){.game-layout{grid-template-columns:minmax(0,1fr)}}

/* Approved coral primary actions; denim remains the navigation/link color. */
:root{--coral:#c94740;--coral-dark:#ad3934}
.primary{background:var(--coral);color:#fff}.primary:hover{background:var(--coral-dark)}.filter-chips button[aria-pressed=true]{background:var(--coral);border-color:var(--coral)}.welcome h1>span{color:var(--coral)}.site-header nav .nav-play{background:var(--coral);color:#fff}.site-header nav .nav-play:hover{background:var(--coral-dark);color:#fff}.loading-note{color:#354b60}
/* Navigation audit repair: stable header row plus a scrollable disclosure.
   The menu scrolls independently on short landscape screens and enlarged text. */
:root{--header-offset:87px}
html{scroll-padding-top:calc(var(--header-offset) + 20px)}
main :is(a,button,input,select,textarea,[tabindex]){scroll-margin-top:calc(var(--header-offset) + 20px)}
.site-header nav a{font-size:.94rem;min-height:44px}
@media(max-width:820px){
 .header-inner{height:var(--header-height);min-height:var(--header-height);flex-wrap:nowrap;align-items:center}
 .site-header nav{position:absolute;top:100%;left:-20px;width:calc(100% + 40px);padding:12px 20px 18px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 8px 12px #25374710;max-height:calc(100dvh - var(--header-offset) - 12px);overflow-y:auto;overscroll-behavior:contain;align-content:start;scroll-padding-block:10px}
 .site-header nav[data-closed]{border-bottom:0;box-shadow:none}
 .site-header nav a{font-size:.94rem;min-height:44px}
 .site-header nav .nav-play{min-height:44px}
}
@media(max-width:560px){
 .site-header nav{left:-16px;width:calc(100% + 32px);padding-inline:16px}
 .site-header nav[data-closed]{padding-inline:16px}
 .game-grid .card-copy p{font-size:.8rem}
 .card-meta{font-size:.68rem;gap:6px}
 .save-icon{width:40px;height:40px}
 .player-toolbar button{min-height:44px;padding:9px;font-size:.72rem}
 .player-toolbar>div{gap:7px}
 .footer-top>div>a:not(.brand){font-size:.85rem;min-height:32px;display:flex;align-items:center}
}
@media(prefers-reduced-motion:reduce){.site-header nav{transition:none}}

/* No-script fallback keeps every navigation link in normal document flow. */
@media(max-width:820px){html:not(.nav-enhanced) .header-inner{height:auto;flex-wrap:wrap}html:not(.nav-enhanced) .site-header nav{position:static;width:100%;max-height:none;overflow:visible;box-shadow:none;padding-inline:0}}
/* Large-text reflow: grid tracks must not inherit long headline min-content. */
.home-intro>*{min-width:0}.postcards{grid-template-columns:minmax(0,1.05fr) minmax(0,.9fr)}
.welcome h1,.postcards h3{overflow-wrap:anywhere}
@media(max-width:560px){.home-intro{grid-template-columns:minmax(0,1fr)}.welcome h1{font-size:clamp(2rem,12vw,3rem)}.postcards{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-note{flex-wrap:wrap}}
/* Category labels also reflow when text is enlarged on narrow phones. */
.category-link{min-width:0}.category-link>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:560px){.category-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Flerovia Field Guide: an explorer rail and landscape discovery entries.
   These scoped variants avoid imposing directory geometry on homepage postcards. */
.explorer-heading{display:flex;justify-content:space-between;align-items:start;gap:35px;border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:32px}.explorer-heading .page-heading{margin:0;max-width:760px}.explorer-heading h1{max-width:700px;font-size:clamp(2.5rem,4.5vw,4rem)}.catalog-stamp{display:grid;grid-template-columns:32px auto;gap:2px 10px;color:var(--blue);border-left:3px solid var(--coral);padding:12px 0 12px 20px;min-width:175px}.catalog-stamp strong{font-size:3.2rem;line-height:1;grid-row:span 2;grid-column:2}.catalog-stamp>span{font-size:.67rem;grid-column:span 2;margin-top:10px;line-height:1.5}.explorer-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:36px;align-items:start}.explorer-filters{position:sticky;top:calc(var(--header-offset) + 22px);border-right:1px solid var(--line);padding-right:24px;max-height:calc(100dvh - var(--header-offset) - 42px);overflow-y:auto;scrollbar-width:thin}.explorer-filters>summary{display:none}.explorer-filter-body{padding-bottom:8px}.explorer .search-field{padding-inline:12px;gap:8px}.explorer .search-field input{font-size:.8rem}.explorer-genres{display:flex;flex-direction:column;align-items:stretch;gap:3px;margin-top:26px}.explorer-genres .eyebrow{margin:0 0 10px}.explorer-genres button{display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:8px;padding:11px 10px;min-height:46px;text-align:left;color:var(--ink);font-size:.85rem}.explorer-genres button .icon{width:19px;height:19px}.explorer-genres button span{flex:1;font-size:inherit;margin:0}.explorer-genres button small{font-size:.7rem;opacity:.8}.explorer-genres button:hover{background:#e2eaf2}.explorer-genres button[aria-pressed=true]{background:var(--blue);color:white;box-shadow:inset 3px 0 var(--coral)}.explorer-selects{margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}.explorer-selects .select-field{margin-top:16px;font-size:.74rem}.explorer-selects select{font-size:.8rem}.explorer-selects .quiet-button{padding-left:0;margin-top:13px}.explorer-footnote{font-size:.72rem;line-height:1.75;margin-top:20px}.explorer-results{min-width:0}.explorer .results-line{padding:0 0 19px;min-height:45px;border-bottom:1px solid var(--line);margin-bottom:22px}.directory-note{font-size:.7rem;color:var(--muted)}.explorer .catalog-grid{grid-template-columns:minmax(0,1fr);gap:20px}.discovery-card{--radius:13px;box-shadow:none;border-color:#d5dfe7}.discovery-card .card-link{display:grid;grid-template-columns:minmax(180px,.88fr) minmax(0,1.12fr)}.discovery-card .card-picture{height:100%;min-height:235px;aspect-ratio:auto;border-radius:12px 0 0 12px}.discovery-card .card-copy{padding:25px 27px}.discovery-card .card-copy h3{font-size:1.55rem;margin:11px 0}.discovery-card .card-copy p{font-size:.83rem;line-height:1.7;margin-bottom:16px;min-height:0}.discovery-card .card-meta{display:none}.discovery-card .save-icon{left:13px;right:auto;top:13px;width:38px;height:38px}.discovery-facts{display:flex;flex-wrap:wrap;gap:9px 16px;font-size:.68rem;color:var(--muted);padding-top:12px;border-top:1px solid var(--line)}.discovery-facts>span{display:flex;align-items:center;gap:6px}.discovery-facts .icon{width:16px;height:16px}.discovery-action{display:flex;gap:14px;align-items:center;font-size:.77rem;font-weight:700;color:var(--blue);margin-top:18px}.discovery-action .icon{width:18px}.discovery-card:hover{transform:translateX(3px);box-shadow:0 4px 14px #2537470a}.game-grid:not(.catalog-grid)>.game-card:not(.postcard){border-bottom:3px solid #d4dfea}.game-grid:not(.catalog-grid)>.game-card:not(.postcard):hover{border-bottom-color:var(--coral)}
/* A full-width play deck and three numbered guide stations establish the
   detail-page identity without modifying any remote game document. */
.play-brief{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px;padding:15px 0;border-block:1px solid var(--line);margin-bottom:24px;font-size:.77rem;color:var(--muted)}.play-brief>span{display:flex;gap:8px;align-items:center}.play-brief .icon{width:18px}.play-brief>a{margin-left:auto;font-weight:700}.game-layout.play-deck{grid-template-columns:minmax(0,1fr)}.play-deck .player-stage{aspect-ratio:16/8;min-height:350px;max-height:650px}.play-deck .player{border-radius:14px}.play-deck .launch-inner h2{font-size:2.8rem}.play-deck .launch-prompt{background-image:linear-gradient(90deg,#1b2b3ce8,#1b2b3c60),var(--game-cover);text-align:left;place-items:center start;padding:50px 65px}.play-deck .launch-inner{max-width:540px}.play-deck .launch-inner .primary{background:var(--coral);color:white}.play-deck .launch-inner .primary:hover{background:var(--coral-dark)}.play-deck .player[data-orientation=portrait] .player-stage{aspect-ratio:16/8;min-height:560px}.play-chapters{display:flex;justify-content:center;gap:0;border-bottom:1px solid var(--line);margin-top:24px}.play-chapters a{padding:20px 28px;text-decoration:none;font-size:.84rem;font-weight:700;color:var(--ink);border-bottom:3px solid transparent}.play-chapters a:hover{border-color:var(--coral);color:var(--blue)}.play-chapters span{font-size:.65rem;color:var(--coral);margin-right:12px;font-variant-numeric:tabular-nums}.field-guide{display:grid;grid-template-columns:1fr 1.2fr .9fr;gap:0;margin-top:45px;border-bottom:1px solid var(--line);padding-bottom:40px}.field-guide>section{position:relative;padding:0 30px;min-width:0;scroll-margin-top:calc(var(--header-offset) + 25px)}.field-guide>section:first-child{padding-left:0}.field-guide>section+section{border-left:1px solid var(--line)}.field-guide>section:last-child{padding-right:0}.guide-number{display:block;font-size:2.8rem;line-height:1;color:var(--coral);opacity:.75;font-weight:800;letter-spacing:-.07em;margin-bottom:24px}.field-guide h2{font-size:1.65rem;line-height:1.2;margin-bottom:20px}.field-guide p{font-size:.87rem;line-height:1.9}.field-guide .eyebrow{font-size:.62rem;letter-spacing:.1em}.field-guide .controls-panel{border:0;background:none;border-radius:0;padding:0;display:block}.field-guide .controls-list li{font-size:.8rem;padding:10px 0}.field-guide .game-facts{font-size:.7rem}.field-guide .small-note{font-size:.72rem}.game-source{background:#e7edf3;border:1px solid var(--line);padding:26px 30px;border-radius:12px;margin-top:25px}.game-source h2{font-size:1.1rem}.game-source p{max-width:900px}.game-source .small-note{margin-bottom:0}
@media(max-width:1100px){.explorer-layout{grid-template-columns:210px minmax(0,1fr);gap:25px}.discovery-card .card-copy{padding:20px}.discovery-card .card-copy h3{font-size:1.3rem}.discovery-card .card-picture{min-height:245px}.field-guide>section{padding-inline:22px}.field-guide h2{font-size:1.4rem}}
@media(max-width:820px){.explorer-heading{gap:20px}.catalog-stamp{min-width:135px}.explorer-layout{grid-template-columns:minmax(0,1fr);gap:20px}.explorer-filters{position:static;max-height:none;overflow:visible;border:1px solid var(--line);border-radius:12px;background:#edf0f4;padding:0}.explorer-filters>summary{display:flex;align-items:center;gap:10px;padding:15px 18px;cursor:pointer;font-size:.85rem;font-weight:700;min-height:52px;list-style:none}.explorer-filters>summary::-webkit-details-marker{display:none}.explorer-filters>summary>span{margin-left:auto}.explorer-filters[open]>summary>span{transform:rotate(45deg)}.explorer-filter-body{padding:8px 18px 20px}.explorer-genres{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:20px}.explorer-genres .eyebrow{grid-column:span 2}.explorer-selects{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;padding-top:18px}.explorer-selects>.eyebrow{grid-column:span 2;margin-bottom:0}.explorer-selects .select-field{margin:0}.explorer-selects .quiet-button{justify-self:start;margin:0}.explorer-footnote{margin:10px 0 0}.discovery-card .card-link{grid-template-columns:1fr 1.2fr}.discovery-card .card-copy h3{font-size:1.4rem;min-height:0}.discovery-card .card-copy p{min-height:0}.discovery-card .card-picture{min-height:220px}.field-guide{grid-template-columns:1fr 1fr;row-gap:30px}.field-guide>section:first-child{grid-column:span 2;padding:0 0 25px;border-bottom:1px solid var(--line)}.field-guide>section:nth-child(2){padding-left:0;border-left:0}.field-guide h2{font-size:1.6rem}.play-deck .launch-prompt{padding:40px}.play-deck .launch-inner h2{font-size:2.3rem}.play-deck .player-stage{min-height:320px}.play-brief{font-size:.73rem;gap:12px 20px}.play-brief>a{margin-left:0}.play-chapters a{padding:16px 20px;font-size:.8rem}}
@media(max-width:560px){.explorer-heading{display:block;padding-bottom:23px;margin-bottom:23px}.explorer-heading h1{font-size:2.7rem}.catalog-stamp{display:none}.explorer .results-line{margin-bottom:17px;padding-bottom:12px}.directory-note{font-size:.64rem;max-width:135px;text-align:right}.discovery-card .card-link{display:block}.discovery-card .card-picture{height:auto;min-height:0;aspect-ratio:1.85;border-radius:12px 12px 0 0}.explorer .catalog-grid{gap:20px}.explorer .discovery-card .card-copy{padding:19px 20px}.explorer .discovery-card .card-copy h3{font-size:1.45rem;min-height:0;margin:12px 0}.explorer .discovery-card .card-copy p{font-size:.85rem;min-height:0;margin-bottom:15px}.discovery-card .save-icon{width:42px;height:42px;left:auto;right:12px}.discovery-facts{font-size:.72rem}.discovery-action{font-size:.8rem;margin-top:16px;justify-content:space-between}.play-brief{font-size:.69rem;gap:10px 15px}.play-brief .icon{width:16px}.play-deck .player-stage{aspect-ratio:4/3;min-height:300px}.play-deck .player[data-orientation=portrait] .player-stage{aspect-ratio:9/14;min-height:450px;max-height:none}.play-deck .launch-prompt{padding:25px}.play-deck .launch-inner h2{font-size:1.8rem}.play-chapters{justify-content:space-between;gap:8px}.play-chapters a{padding:15px 0;font-size:.7rem}.play-chapters span{margin-right:5px;font-size:.6rem}.field-guide{grid-template-columns:minmax(0,1fr);gap:26px;margin-top:30px}.field-guide>section,.field-guide>section:first-child,.field-guide>section:nth-child(2),.field-guide>section:last-child{grid-column:auto;border-left:0;padding:0 0 25px;border-bottom:1px solid var(--line)}.field-guide>section:last-child{border-bottom:0;padding-bottom:0}.guide-number{font-size:2.4rem;margin-bottom:18px}.field-guide h2{font-size:1.7rem}.field-guide p{font-size:.9rem}.field-guide .controls-list li{font-size:.85rem}.field-guide .game-facts{font-size:.78rem}.game-source{padding:23px}.game-source p,.game-source a{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.discovery-card:hover{transform:none}}
/* Long category/library headings must still reflow at 200% phone text size. */
.explorer-heading h1,.explorer-heading p{overflow-wrap:anywhere}.explorer-heading>.page-heading{min-width:0}
.explorer-filters>summary{overflow-wrap:anywhere}.explorer-filters>summary .icon{flex-shrink:0}
/* Brand-owned dropdowns. Menus use the popover top layer to escape rail clipping. */
.filter-menu{position:relative;margin-top:4px}.filter-menu-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:12px 13px;background:#fff;color:var(--ink);border:1px solid #a6b5c4;border-radius:9px;font-size:.8rem;text-align:left;font-weight:400;cursor:pointer}.filter-menu-trigger:hover{border-color:var(--blue);background:#f7f9fc}.filter-menu-trigger[aria-expanded=true]{border-color:var(--blue);box-shadow:0 0 0 3px #355f8617}.filter-menu-trigger>span:first-child{min-width:0;overflow-wrap:anywhere}.filter-menu-chevron{color:var(--blue);font-size:20px;line-height:1;transition:transform .15s}.filter-menu-trigger[aria-expanded=true] .filter-menu-chevron{transform:rotate(180deg)}.filter-menu-options{position:fixed;inset:auto;margin:0;padding:6px;border:1px solid #c9d6e2;border-radius:12px;background:#fff;box-shadow:0 12px 30px #25374724;color:var(--ink);overflow-y:auto;overscroll-behavior:contain;font-family:inherit;font-size:.82rem;line-height:1.5;box-sizing:border-box}.filter-menu-options::backdrop{background:transparent}.filter-menu-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 11px;border-radius:7px;cursor:pointer;overflow-wrap:anywhere}.filter-menu-option:hover,.filter-menu-option.is-active{background:#e7edf4;color:var(--blue)}.filter-menu-option[aria-selected=true]{background:#f9e7e4;color:#a23732;font-weight:700}.filter-menu-option[aria-selected=true].is-active{outline:1px solid #e0b0aa;outline-offset:-1px}.filter-menu-check{visibility:hidden;flex-shrink:0;color:var(--coral)}.filter-menu-option[aria-selected=true] .filter-menu-check{visibility:visible}@media(prefers-reduced-motion:reduce){.filter-menu-chevron{transition:none}}
/* Search focus belongs to the rounded group, not a second inner rectangle. */
.search-field input:focus,.search-field input:focus-visible{outline:none;box-shadow:none}
.search-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px #355f8624}


/* Give the interactive local games enough vertical space in a phone-sized iframe. */
@media(max-width:700px){
  .player[data-local="true"]:not(.is-expanded):not(:fullscreen) .player-stage{aspect-ratio:auto;width:100%;min-height:min(72dvh,620px)}
}

/* Favorites has no filter sidebar, so its results use the entire content column. */
.explorer[data-library="favorites"] .explorer-layout{grid-template-columns:minmax(0,1fr)}


/* FAQ uses native disclosure controls, so answers remain usable without JavaScript. */
.faq-page{max-width:1080px}
.faq-page .page-heading{max-width:790px}
.faq-topics{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:22px 0 30px;border-bottom:1px solid var(--line)}
.faq-topics>span{font-size:.75rem;font-weight:700;color:var(--muted);margin-right:8px}
.faq-topics a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #c7d7e5;border-radius:999px;background:#fff;text-decoration:none;font-size:.75rem;font-weight:700}
.faq-topics a:hover{border-color:var(--blue);background:#edf3f7}
.faq-section{display:grid;grid-template-columns:220px minmax(0,1fr);gap:38px;padding:38px 0;border-bottom:1px solid var(--line);scroll-margin-top:calc(var(--header-offset) + 24px)}
.faq-section-heading .eyebrow{margin-bottom:10px}
.faq-section-heading h2{font-size:1.65rem;margin-bottom:12px}
.faq-section-heading p{font-size:.8rem;line-height:1.7}
.faq-list{display:grid;gap:10px;min-width:0}
.faq-item{border:1px solid #d5dfe7;border-radius:12px;background:#fff}
.faq-item summary{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:60px;padding:16px 18px;cursor:pointer;font-size:.91rem;font-weight:700;line-height:1.5;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{color:var(--blue)}
.faq-toggle{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf2f6;color:var(--blue);font-size:1.15rem;line-height:1}
.faq-item[open] .faq-toggle{background:#f8e2df;color:#a9423d;transform:rotate(45deg)}
.faq-answer{padding:0 18px 19px;color:var(--muted);font-size:.86rem;line-height:1.8}
.faq-answer p{margin:0;max-width:68ch}
.faq-answer .text-link{margin-top:13px;font-size:.82rem}
.faq-contact{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:38px;padding:28px;border-radius:16px;background:#e8eef3}
.faq-contact .eyebrow{margin-bottom:10px}
.faq-contact h2{font-size:1.55rem;margin-bottom:8px}
.faq-contact p{font-size:.85rem;margin:0}
.faq-contact .button{flex:none}
@media(max-width:700px){
 .faq-topics>span{width:100%;margin-right:0}
 .faq-section{grid-template-columns:minmax(0,1fr);gap:15px;padding:30px 0}
 .faq-section-heading h2{font-size:1.5rem;margin-bottom:8px}
 .faq-section-heading p{margin-bottom:0}
 .faq-contact{align-items:flex-start;flex-direction:column;padding:23px}
}


/* Two quiet, non-interactive light fields stay behind every page's content. */
body{isolation:isolate}
body::before,body::after{
  content:"";position:fixed;inset:-22%;z-index:-1;pointer-events:none;
  transform:translate3d(0,0,0);
}
body::before{
  background:radial-gradient(ellipse 34% 38% at 18% 25%,rgba(201,71,64,.18),transparent 72%),
             radial-gradient(ellipse 36% 36% at 83% 77%,rgba(53,95,134,.15),transparent 72%);
  animation:flerovia-light-coral 20s ease-in-out infinite alternate;
}
body::after{
  background:radial-gradient(ellipse 32% 35% at 80% 20%,rgba(53,95,134,.17),transparent 72%),
             radial-gradient(ellipse 28% 32% at 23% 82%,rgba(201,71,64,.13),transparent 72%);
  animation:flerovia-light-denim 24s ease-in-out infinite alternate;
}
@keyframes flerovia-light-coral{
  from{transform:translate3d(-5%,-3%,0)}
  to{transform:translate3d(6%,4%,0)}
}
@keyframes flerovia-light-denim{
  from{transform:translate3d(5%,-3%,0)}
  to{transform:translate3d(-6%,4%,0)}
}
/* The fields remain still for reduced motion and while the page is hidden. */
@media(prefers-reduced-motion:reduce){body::before,body::after{animation:none}}
html[data-page-hidden] body::before,html[data-page-hidden] body::after{animation-play-state:paused}


/* Shared arcade-cabinet cards: the game artwork is the screen; the copy is the control deck. */
.game-card{
  --cabinet:#294c6b;
  background:#fff;
  border:1px solid #b4c7d7;
  border-radius:16px;
  box-shadow:0 5px 16px #25374712;
}
.game-card .card-link{border-radius:15px;overflow:hidden}
.game-card .card-picture{
  position:relative;
  padding:8px;
  overflow:hidden;
  background:var(--cabinet);
  border-radius:15px 15px 0 0;
}
.game-card .card-picture img{
  border-radius:8px;
  object-fit:cover;
}
.card-screen-label{
  position:absolute;
  top:15px;
  left:15px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  background:#203b53e8;
  border-radius:5px;
  padding:3px 7px;
  font-size:.58rem;
  font-weight:800;
  line-height:1.25;
  letter-spacing:.09em;
}
.card-screen-label span:last-child{color:#f2a49b;font-size:.68rem}
.game-card .card-play{
  bottom:17px;
  left:17px;
  width:auto;
  min-height:32px;
  padding:5px 11px;
  gap:6px;
  border-radius:6px;
  background:#fff;
  color:#294c6b;
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.035em;
}
.game-card .card-play .icon{width:13px;height:13px;fill:#c94740}
.game-card .card-copy{background:#fff}
.game-card .card-copy .tag{color:#963e38;background:#f8e3df}
.game-card .card-copy h3{letter-spacing:-.025em}
.game-card .card-meta{color:#455e73;font-weight:700}
.cabinet-dots{display:inline-flex;gap:4px;align-items:center}
.cabinet-dots i{width:7px;height:7px;border-radius:50%;background:#355f86}
.cabinet-dots i:first-child{background:#c94740}
.game-card .save-icon{
  z-index:1;
  right:16px;
  top:16px;
  width:40px;
  height:40px;
  background:#fff;
  border-color:#fff;
  box-shadow:0 2px 8px #17324b26;
}
.game-card .save-icon[aria-pressed=true]{color:#b43c37}
.game-grid:not(.catalog-grid)>.game-card:not(.postcard){border-bottom:1px solid #b4c7d7}
.game-grid:not(.catalog-grid)>.game-card:not(.postcard):hover{border-bottom-color:#355f86}
.game-card:has(.card-link:focus-visible){outline:3px solid var(--blue);outline-offset:4px}
.game-card .card-link:focus-visible{outline:none}
/* Horizontal discovery cards keep their existing wide composition. */
.discovery-card .card-picture{border-radius:15px 0 0 15px}
.discovery-card .card-picture img{min-height:100%}
.discovery-card .save-icon{left:auto;right:calc(56% + 12px);top:16px}
.discovery-card .discovery-action{color:#a63c35}
.postcards .card-picture{padding:7px}
.postcards .card-screen-label{top:13px;left:13px}
.postcards .card-play{bottom:14px;left:14px}
.postcards .save-icon{top:13px;right:13px;width:36px;height:36px}
@media(max-width:820px){
  .discovery-card .save-icon{right:calc(54.55% + 12px)}
}
@media(max-width:560px){
  .discovery-card .card-picture{border-radius:15px 15px 0 0}
  .discovery-card .save-icon{right:16px;left:auto}
  .game-card .card-play{font-size:.58rem;min-height:30px;padding:4px 8px}
  .game-card .card-screen-label{font-size:.53rem}
}
@media(prefers-reduced-motion:reduce){
  .game-card:hover .card-picture img,.game-card:hover .card-play,.game-card .save-icon:hover{transform:none}
}


/* Compact homepage showcase: three equal game screens, independently reachable. */
.home-intro.hero-showcase{
  display:grid;
  grid-template-columns:minmax(240px,.8fr) minmax(0,1.7fr);
  gap:clamp(24px,4vw,56px);
  align-items:center;
  padding-block:36px 40px;
}
.hero-showcase .welcome{padding:0;min-width:0}
.hero-showcase .welcome .eyebrow{margin-bottom:12px}
.hero-showcase .welcome h1{font-size:clamp(2.25rem,3.5vw,3.5rem);margin-bottom:16px}
.hero-showcase .welcome p{margin:0 0 20px;line-height:1.65}
.hero-showcase .welcome-note{margin-top:14px}
.hero-games{min-width:0}
.hero-games-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.hero-games-heading h2{font-size:1rem;letter-spacing:-.02em;margin:0}
.hero-games-heading>span{font-size:.7rem;color:var(--muted)}
.hero-games-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:4px 2px 8px}
.hero-games-track .game-card{height:100%;min-width:0}
.hero-games-track .card-picture{aspect-ratio:1.65}
.hero-games-track .card-copy{padding:12px 13px}
.hero-games-track .card-copy h3{font-size:1rem;margin:8px 0 5px}
.hero-games-track .card-copy p{font-size:.72rem;line-height:1.5;margin:0}
.hero-games-track .card-meta{display:none}
.hero-games-track .save-icon{width:36px;height:36px}
.hero-scroll-hint{display:none}
@media(max-width:1100px){
  .home-intro.hero-showcase{grid-template-columns:minmax(200px,.8fr) minmax(0,1.7fr);gap:22px}
  .hero-showcase .welcome h1{font-size:clamp(2rem,4vw,2.8rem)}
  .hero-games-track{gap:10px}
  .hero-games-track .card-copy h3{font-size:.9rem}
}
@media(max-width:820px){
  .home-intro.hero-showcase{grid-template-columns:minmax(0,1fr);gap:20px;padding-block:28px 32px}
  .hero-showcase .welcome h1{font-size:clamp(2rem,5vw,2.8rem)}
  .hero-showcase .welcome p{margin-bottom:14px}
  .hero-games-track{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  .home-intro.hero-showcase{gap:23px;padding-block:24px 29px}
  .hero-showcase .welcome h1{font-size:2.35rem}
  .hero-showcase .welcome-note{margin-top:12px}
  .hero-games-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,70%);grid-template-columns:none;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 3px 12px;scrollbar-color:#9fb4c5 transparent;scrollbar-width:thin}

  .hero-games-heading>span{display:none}
  .hero-scroll-hint{display:block;color:var(--muted);font-size:.7rem;margin:3px 0 0}
}
@media(prefers-reduced-motion:reduce){.hero-games-track{scroll-behavior:auto}}


/* Arcade scrollbar: browser-native scrolling, scoped to the site shell and its own scroll areas. */
:root{
  --scrollbar-track:#29465e;
  --scrollbar-thumb:#f08d81;
  --scrollbar-hover:#ffc0b6;
  --scrollbar-active:#ffffff;
}
@supports selector(::-webkit-scrollbar){
  html,.explorer-filters,.hero-games-track,.filter-menu-options,.site-header nav,.contact-layout textarea{scrollbar-color:auto;scrollbar-width:auto}
  html::-webkit-scrollbar,.explorer-filters::-webkit-scrollbar,.hero-games-track::-webkit-scrollbar,.filter-menu-options::-webkit-scrollbar,.site-header nav::-webkit-scrollbar,.contact-layout textarea::-webkit-scrollbar{width:14px;height:14px}
  html::-webkit-scrollbar-track,.explorer-filters::-webkit-scrollbar-track,.hero-games-track::-webkit-scrollbar-track,.filter-menu-options::-webkit-scrollbar-track,.site-header nav::-webkit-scrollbar-track,.contact-layout textarea::-webkit-scrollbar-track{background:var(--scrollbar-track)}
  html::-webkit-scrollbar-thumb,.explorer-filters::-webkit-scrollbar-thumb,.hero-games-track::-webkit-scrollbar-thumb,.filter-menu-options::-webkit-scrollbar-thumb,.site-header nav::-webkit-scrollbar-thumb,.contact-layout textarea::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:3px solid var(--scrollbar-track);border-radius:9px}
  html::-webkit-scrollbar-thumb:hover,.explorer-filters::-webkit-scrollbar-thumb:hover,.hero-games-track::-webkit-scrollbar-thumb:hover,.filter-menu-options::-webkit-scrollbar-thumb:hover,.site-header nav::-webkit-scrollbar-thumb:hover,.contact-layout textarea::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover)}
  html::-webkit-scrollbar-thumb:active,.explorer-filters::-webkit-scrollbar-thumb:active,.hero-games-track::-webkit-scrollbar-thumb:active,.filter-menu-options::-webkit-scrollbar-thumb:active,.site-header nav::-webkit-scrollbar-thumb:active,.contact-layout textarea::-webkit-scrollbar-thumb:active{background:var(--scrollbar-active)}
  html::-webkit-scrollbar-corner,.explorer-filters::-webkit-scrollbar-corner,.hero-games-track::-webkit-scrollbar-corner,.filter-menu-options::-webkit-scrollbar-corner,.site-header nav::-webkit-scrollbar-corner,.contact-layout textarea::-webkit-scrollbar-corner{background:var(--scrollbar-track)}
}
/* Standard scrollbar colors cover browsers without WebKit scrollbar pseudo-elements. */
@supports not selector(::-webkit-scrollbar){
  html,.explorer-filters,.hero-games-track,.filter-menu-options,.site-header nav,.contact-layout textarea{scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);scrollbar-width:auto}
}
/* Let the operating system supply its own high-contrast colors. */
@media(forced-colors:active){
  html,.explorer-filters,.hero-games-track,.filter-menu-options,.site-header nav,.contact-layout textarea{scrollbar-color:auto}
  html::-webkit-scrollbar-thumb,.explorer-filters::-webkit-scrollbar-thumb,.hero-games-track::-webkit-scrollbar-thumb,.filter-menu-options::-webkit-scrollbar-thumb,.site-header nav::-webkit-scrollbar-thumb,.contact-layout textarea::-webkit-scrollbar-thumb{background:CanvasText;border-color:Canvas}
  html::-webkit-scrollbar-track,.explorer-filters::-webkit-scrollbar-track,.hero-games-track::-webkit-scrollbar-track,.filter-menu-options::-webkit-scrollbar-track,.site-header nav::-webkit-scrollbar-track,.contact-layout textarea::-webkit-scrollbar-track{background:Canvas}
}


/* Logo motion stays inside its own wrapper so links and surrounding layout remain still. */
.brand-mark{position:relative;display:inline-grid;place-items:center;flex:none;width:var(--mark-size);height:var(--mark-size);isolation:isolate}
.brand-mark-icon{display:block;width:100%;height:100%;position:relative;z-index:1;overflow:visible}
.brand-mark::before,.brand-mark::after{content:"";position:absolute;inset:2%;border:2px solid #c94740;border-radius:31%;pointer-events:none;opacity:0}
.brand-mark::after{border-color:#355f86}
.brand-mark.is-visible .brand-mark-icon{animation:brand-controller-dance 3.6s ease-in-out infinite}
.brand-mark.is-visible::before{animation:brand-pulse 3.6s ease-out infinite}
.brand-mark.is-visible::after{animation:brand-pulse 3.6s ease-out .35s infinite}
.brand-mark.is-visible .brand-key{animation:brand-key-light 3.6s ease-in-out infinite}
.brand-mark.is-visible .brand-play{animation:brand-play-light 3.6s ease-in-out infinite}
.brand-mark.is-visible .brand-spark{transform-origin:76px 20px;animation:brand-sparkle 3.6s ease-in-out infinite}
@keyframes brand-controller-dance{
  0%,12%,52%,100%{transform:translateY(0) rotate(0)}
  20%{transform:translateY(-3px) rotate(-10deg)}
  28%{transform:translateY(1px) rotate(9deg)}
  36%{transform:translateY(-2px) rotate(-6deg)}
  44%{transform:translateY(0) rotate(3deg)}
}
@keyframes brand-pulse{
  0%,15%{opacity:0;transform:scale(.9)}
  22%{opacity:.75}
  48%,100%{opacity:0;transform:scale(1.55)}
}
@keyframes brand-key-light{0%,18%,42%,100%{stroke:#355f86}26%,34%{stroke:#f0675c}}
@keyframes brand-play-light{0%,28%,52%,100%{fill:#c94740}36%,44%{fill:#ff9e86}}
@keyframes brand-sparkle{0%,15%,50%,100%{transform:scale(1);opacity:1}30%{transform:scale(1.65);opacity:.55}}
.creator-art .brand-mark{z-index:1;transform:rotate(-12deg)}
@media(max-width:820px){.site-header .brand-mark{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){
  .brand-mark.is-visible .brand-mark-icon,.brand-mark.is-visible::before,.brand-mark.is-visible::after,.brand-mark.is-visible .brand-key,.brand-mark.is-visible .brand-play,.brand-mark.is-visible .brand-spark{animation:none}
}
html[data-page-hidden] .brand-mark.is-visible .brand-mark-icon,html[data-page-hidden] .brand-mark.is-visible::before,html[data-page-hidden] .brand-mark.is-visible::after,html[data-page-hidden] .brand-mark.is-visible .brand-key,html[data-page-hidden] .brand-mark.is-visible .brand-play,html[data-page-hidden] .brand-mark.is-visible .brand-spark{animation-play-state:paused}
