.optimized-picture{display:contents}
/* Image selection happens in HTML so only the supported, correctly sized hero downloads. */
.home-page .splash{background-image:none}
.hero-landscape{position:absolute;inset:0;z-index:-2;pointer-events:none}
.hero-landscape img{width:100%;height:100%;object-fit:cover;object-position:center 53%}
img{max-width:100%}
main h1,main h2,main h3{overflow-wrap:break-word}
a,button{touch-action:manipulation}
/* Compact navigation before the desktop links run out of room. */
@media(max-width:1100px){
 .site-header.modern-header{width:calc(100% - 32px);top:14px}
 .modern-header .header-inner{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:0 14px;gap:8px}
 .modern-header .logo{flex:none;font-size:32px}
 .modern-header .header-actions{order:2;gap:2px;margin-left:auto}
 .modern-header .header-actions .discord-link,.modern-header .header-actions .github-link,.modern-header .patreon-button{width:44px;height:44px}
 .modern-header .menu-toggle{display:inline-flex;order:3;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:10px 12px}
 .modern-header .nav{display:none;position:absolute;top:calc(100% + 10px);left:-2px;right:-2px;width:auto;max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;align-items:stretch;justify-content:flex-start;gap:4px;padding:10px;background:#0b283ff5;border:2px solid #527d96;border-radius:8px;box-shadow:var(--panel-depth);backdrop-filter:blur(16px)}
 .modern-header.menu-open .nav{display:flex;flex-direction:column}
 .modern-header .nav a{display:flex;justify-content:flex-start;align-items:center;min-height:48px;padding:12px 18px;font-size:19px;line-height:1.4;text-align:left}
 .modern-header .nav a[aria-current]{background:#33799a25}
 .modern-header .nav a[aria-current]:after{left:auto;right:18px;bottom:calc(50% - 1px);width:20px;height:2px}
 .modern-header .nav-divider{display:none}
 .is-scrolled .site-header.modern-header{top:10px}
}
@media(max-width:760px){
 .hero-landscape img{object-position:56% center}
 .home-page .splash-center{width:100%;max-width:100%;padding-inline:20px}
 .home-page .platform-list li{min-width:0}
 .home-page .journal-preview,.blog-archive .journal-preview,.all-posts-link,.inside-link{min-height:44px;display:inline-flex;align-items:center}
 .home-page .journal-footer,.blog-archive .journal-footer{flex-wrap:wrap;gap:10px 18px}
 .home-page .journal-copy,.blog-archive .journal-copy{min-width:0}
 .interior-page .landscape-notes{grid-template-columns:1fr;gap:16px}
 .interior-page .specimen-gallery{grid-template-columns:1fr}
 .interior-page .specimen-image{aspect-ratio:1.2}
 .interior-page .specimen-image img{padding:24px}
 .interior-page .play-notes{grid-template-columns:1fr;gap:22px}
 .interior-page .play-notes article+article{border-left:0;border-top:1px solid #36596e;padding:22px 0 0}
 .interior-page .play-notes p{max-width:none}
}
@media(max-width:600px){
 .site-header.modern-header{width:calc(100% - 24px);top:12px}
 .modern-header .header-inner{min-height:60px;padding-inline:10px;gap:6px}
 .modern-header .logo{font-size:28px}
 .modern-header .cube-logo{width:31px;height:31px;margin-right:7px}
 .modern-header .header-actions{gap:0}
 .modern-header .menu-toggle{width:44px;height:44px;padding:10px}
 .modern-header .menu-toggle span{display:none}
 .home-page .splash-center{padding-top:108px;padding-bottom:78px}
 .home-page .splash-brand{grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:16px}
 .home-page .hero-mascot{grid-column:1;grid-row:1;width:88px;height:88px;justify-self:center}
 .home-page .hero-wordmark{grid-column:1;grid-row:2;width:100%;min-width:0}
 .home-page .splash-brand h1{font-size:clamp(64px,17vw,90px);line-height:1}
 .home-page .hero-wordmark .hero-vr-label{width:min(100%,360px);margin:6px auto 0;font-size:18px;line-height:1.45}
 .home-page .development-status{font-size:18px;line-height:1.5;max-width:280px}
 .home-page .coming-soon-button{min-width:220px;max-width:100%;min-height:56px;font-size:22px}
 .home-page .platform-lineup{margin-top:24px}
 .home-page .platform-list li{padding:14px 6px}
 .home-page .platform-brand-icon{font-size:17px}
 .home-page .splash-bottom{bottom:22px}
 .home-page .splash-bottom a{min-height:44px}
 .home-page .news-board{padding-inline:0}
 .home-page .journal-heading{gap:10px}
 .home-page .journal-heading h2{font-size:44px}
 .home-page .journal-copy>p,.blog-archive .journal-copy>p{display:block;font-size:17px}
 .home-page .journal-title-line h3,.blog-archive .journal-title-line h3{font-size:28px;line-height:1.2}
 .home-page .journal-details,.blog-archive .journal-details{flex-wrap:wrap;row-gap:4px}
 .footer-inner{justify-content:center;text-align:center;gap:14px;padding-block:24px}
 .footer-inner small{width:100%;line-height:1.6}
 .article-meta{gap:10px}
 .article-date{gap:6px 12px}
 .article-date>span{padding-left:12px}
 .article-next,.back-link{min-height:48px}
}
@media(max-width:360px){
 .modern-header .logo,.modern-header .logo em{font-size:0}
 .modern-header .cube-logo{width:33px;height:33px;margin:0}
 .home-page .splash-center{padding-inline:18px}
 .home-page .platform-brand-icon{font-size:16px}
 .home-page .journal-details .reading-time:before{margin-right:8px}
}
@media(max-height:500px) and (max-width:1100px){
 .site-header.modern-header{top:8px}
 .modern-header .nav{max-height:calc(100dvh - 92px)}
}
