/* Small games get their own shelf. The existing work wall keeps video previews. */
.games-shelf{margin:22px 0 35px;padding:23px 0 29px;border-block:1px solid var(--line)}
.games-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.games-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin:0 0 3px}.games-heading h2{font-size:24px;line-height:1.3;margin:0;letter-spacing:-.03em}.games-heading>p{font-size:13px;color:var(--muted);margin:0}.games-heading>a{font-size:12px;color:var(--muted);white-space:nowrap}
.games-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,280px);gap:18px;overflow-x:auto;padding:4px 4px 12px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
.game-card{min-width:0;scroll-snap-align:start}.game-cover{display:block;position:relative;aspect-ratio:6/5;border:1px solid var(--line);border-radius:9px 9px 0 0;overflow:hidden;background:#09151a}.game-cover img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.game-cover:hover img{transform:scale(1.035)}.game-engine{font-size:10px;letter-spacing:.05em;color:var(--accent);border:1px solid #a6e5c350;background:#101311e6;padding:4px 8px;border-radius:20px}.game-cover .game-engine{position:absolute;top:12px;left:12px}.game-launch{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid var(--accent);border-radius:0 0 9px 9px;background:var(--accent);color:var(--dark);font-size:13px;font-weight:650}.game-launch:hover{background:#c5f4db;color:var(--dark)}.game-launch span{font-size:11px}.game-card h3{font-size:16px;line-height:1.4;margin:10px 0 3px}.game-card>p{font-size:12px;line-height:1.5;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.games-main{max-width:1520px;padding-bottom:44px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;margin-top:23px;align-items:start}.game-primary{min-width:0}.game-stage{position:relative;overflow:hidden;background:#060c0d;border:1px solid var(--line);border-radius:10px;aspect-ratio:8/5;min-height:340px}.game-poster{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;isolation:isolate}.game-poster>img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.23;filter:blur(3px);z-index:-1}.game-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#060c0ddc,transparent);z-index:-1}.game-poster-caption{max-width:470px;padding:28px;text-align:center}.game-poster h2{font-size:clamp(25px,4vw,43px);line-height:1.2;margin:23px 0}.game-poster .primary-button{min-height:48px;padding:11px 33px;border-radius:24px;font-size:16px}.game-poster p{color:var(--muted);font-size:12px;line-height:1.7;margin:19px 0 0}.game-frame{position:absolute;inset:0}.game-frame:empty{display:none}.game-frame iframe{width:100%;height:100%;border:0;display:block}.game-stage:fullscreen{width:100vw;height:100dvh;aspect-ratio:auto;border:0;border-radius:0}.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line);min-height:65px}.game-toolbar>p{font-size:12px;line-height:1.5;color:var(--muted);margin:0;flex:1;min-width:180px}.game-actions{display:flex;flex-wrap:wrap;gap:7px}.game-actions button{min-height:40px;padding:7px 11px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:12px}.game-actions button:hover{border-color:var(--accent)}.game-actions button:disabled{opacity:.45;cursor:default}.game-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0}.game-title-row .eyebrow{font-size:10px;letter-spacing:.13em;margin:0 0 6px}.game-title-row h1{font-size:30px;line-height:1.25;letter-spacing:-.03em;margin:0 0 8px}.game-subtitle{font-size:14px;color:var(--muted);line-height:1.6;margin:0}.game-title-row>a{font-size:12px;white-space:nowrap}.game-instructions{padding:23px;background:var(--surface);border:1px solid var(--line);border-radius:9px}.game-instructions h2{font-size:17px;margin:0 0 11px}.game-instructions p{font-size:13px;color:var(--muted);line-height:1.8;margin:10px 0}.game-instructions details{margin-top:17px;border-top:1px solid var(--line);padding-top:13px}.game-instructions summary{font-size:12px;color:var(--accent);cursor:pointer;min-height:36px}.game-instructions a{text-decoration:underline}.more-games .games-heading h2{font-size:18px}.more-games-grid{display:grid;gap:22px}.game-card-compact .game-cover{aspect-ratio:4/3}.game-card-compact .game-launch{min-height:42px}.more-games-grid .game-card>p{font-size:11px}
@media(min-width:1700px){.games-rail{grid-auto-columns:260px}}
@media(max-width:1050px){.game-layout{grid-template-columns:minmax(0,1fr)}.more-games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card-compact{max-width:290px}.game-stage{aspect-ratio:8/5}.more-games{margin-top:12px}}
@media(max-width:700px){.games-shelf{margin:16px 0 28px;padding:20px 0}.games-heading{align-items:flex-start;gap:10px}.games-heading>p{max-width:150px;font-size:11px;line-height:1.7}.games-heading h2{font-size:21px}.games-rail{grid-auto-columns:215px;gap:14px;margin-inline:-4px}.games-main{padding-inline:18px}.game-layout{margin-top:18px;gap:22px}.game-stage{min-height:490px;height:74dvh;max-height:820px;aspect-ratio:auto}.game-poster-caption{padding:22px}.game-title-row{display:block;padding:21px 0}.game-title-row>a{margin-top:14px}.game-title-row h1{font-size:27px}.game-actions button{min-height:44px}.game-instructions{padding:18px}.more-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.game-card-compact .game-cover{aspect-ratio:1}.game-card-compact .game-launch{min-height:44px}.game-card h3{font-size:15px}}
@media(prefers-reduced-motion:reduce){.game-cover img{transition:none}.game-cover:hover img{transform:none}}

.game-language-note{font-size:11px;color:var(--muted);line-height:1.6;margin:9px 0 0}

.game-full-exit{position:absolute;top:12px;right:12px;z-index:4;min-height:44px;padding:9px 16px;border:1px solid var(--accent);border-radius:6px;background:#101311ee;color:var(--accent);font-size:13px}
