/* Focused accessibility and narrow-screen fixes; existing visual design retained. */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #d7ff72;outline-offset:3px}
:where(dialog,.modal-card,.modal-content){max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
:where(.game-info-grid,.game-form-grid,.game-detail-head,.sitebar-inner,.wrap,.card,.seo-grid)>*{min-width:0}
:where(.game-prose,.intro,.artwork-title,.game-detail h1,.breadcrumbs){overflow-wrap:anywhere}
.pd-ssr-intro{font-size:.9rem;line-height:1.6}.pd-ssr-intro a{color:inherit;text-decoration:underline}
.pd-language-links{display:flex;gap:12px;flex-wrap:wrap}
.game-related{margin-block:24px}.game-related ul{display:flex;flex-wrap:wrap;gap:12px;padding:0;list-style:none}
@media(max-width:600px){
 :where(.sitebar nav,.game-actions,.game-tabs){gap:8px;flex-wrap:wrap}
 :where(.sitebar nav a,.game-actions button,.game-actions a,.game-tabs a,.pd-language,.game-pagination a){min-height:44px;display:inline-flex;align-items:center}
 :where(input,select,textarea){font-size:16px}
 .game-info-grid,.game-form-grid{grid-template-columns:minmax(0,1fr)}
 .game-search{flex-wrap:wrap}.game-search>*{min-width:0;max-width:100%}
 .game-player{max-width:100%;min-width:0}.game-player iframe{max-width:100%}
 :where(dialog,.modal-card,.modal-content){scroll-padding-bottom:24px}
 .breadcrumbs ol{flex-wrap:wrap}.game-detail h1{font-size:clamp(1.5rem,7vw,3rem)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.studio-intro{padding:.5rem 1rem;background:#171c2c;color:#e7ebf7;font:14px/1.5 system-ui}.studio-intro p{margin:0}.studio-intro a{color:#9eefaf}

@media(max-width:760px){.v94-site #view-home .cosmos-motion-toggle{position:static;inset:auto;margin:6px 0;min-height:44px;max-width:100%}}

/* Keep the introduction first; populated rows determine the mobile mosaic height. */
@media(max-width:900px){
 .v91-site #view-home .landing-grid>.hero-text{order:0}
 .v91-site #view-home .landing-grid>.home-showcase-column{order:1;grid-template-columns:1fr}
 .v91-site #view-home .home-art-mosaic{min-height:0}
 .v91-site #view-home .mosaic-grid{grid-template-rows:none;grid-auto-rows:170px}
 .v91-site #view-home .mosaic-work:first-child{grid-column:auto;grid-row:auto}
}
