.games-home{border-top:1px solid var(--rule)}
.exploration-piece>a.animated-portrait{position:relative;background:#794700}
.animated-portrait>img:first-child{display:block;width:100%;height:auto}
.exploration-piece .animated-portrait>img.eyes-overlay{position:absolute;left:37.61448%;top:25.36672%;width:17.55656%;height:auto;pointer-events:none;z-index:1}
.exploration-piece>a.laptop-scene{padding:12% 9% 15%;background:#dce3e1;perspective:1300px;overflow:hidden}
.laptop-model{position:relative;display:block;transform:rotateX(11deg) rotateY(-17deg) rotateZ(-4deg);transform-style:preserve-3d;filter:drop-shadow(18px 30px 16px #172a2636)}
.laptop-screen{position:relative;display:block;border:9px solid #171a1c;border-bottom-width:14px;border-radius:12px 12px 4px 4px;box-shadow:0 0 0 2px #81888c,inset 0 0 0 1px #313638;background:#151718;overflow:hidden}
.laptop-screen:before{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#78818c;left:50%;top:-6px}
.exploration-piece .laptop-screen>img{width:100%;height:auto;display:block}
.laptop-deck{display:block;position:relative;height:17px;width:115%;margin-left:-7.5%;border-radius:2px 2px 50% 50%/2px 2px 12px 12px;background:linear-gradient(90deg,#8f989c,#d7dcdf 16%,#bec7cb 70%,#8b969c);box-shadow:0 5px 0 #737e84}
.laptop-deck:before{content:'';position:absolute;left:39%;top:0;width:22%;height:5px;border-radius:0 0 6px 6px;background:#9ca7ac}
dialog.games-case{width:100%;max-width:none;height:100dvh;max-height:100dvh;padding:72px 24px 24px;margin:0;border:0;background:var(--paper);color:var(--ink);overflow:auto}
.games-case>.close{position:fixed;right:24px;top:16px;background:var(--paper);z-index:3;margin:0;padding:8px 0;border:0;font-size:14px}
.games-layout{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,1.25fr);gap:7vw;align-items:start}
.games-sidebar{position:sticky;top:48px;padding:16px 12px 32px 8px}.games-sidebar>span{font-size:14px;color:var(--secondary)}
.games-case .games-sidebar h2{margin:28px 0;font-size:clamp(36px,4.5vw,70px);font-weight:700;line-height:.95;letter-spacing:-.055em}
.games-sidebar>p{font-size:20px;line-height:1.4;max-width:30ch}
.game-entry{margin:0 0 64px}.game-preview{display:block;position:relative;border:0;padding:0;width:100%;cursor:pointer;background:#111;overflow:hidden}
.game-preview img{display:block;width:100%;height:auto;transition:transform .4s}.game-preview:hover img{transform:scale(1.025)}
.game-preview>span{position:absolute;left:20px;bottom:20px;padding:12px 16px;background:#f1fff6;color:#14251c;font:inherit;font-size:14px}
.games-case .game-entry h3{font-size:22px;margin:22px 0 12px}.game-entry>p{font-size:16px;line-height:1.5;max-width:50ch}
#prototype-player{margin:0;padding:20px;width:100vw;max-width:100%;height:100dvh;max-height:100dvh;background:var(--paper);color:var(--ink);border:0;overflow:auto}
.prototype-toolbar{display:flex;align-items:center;gap:24px;margin-bottom:16px}.prototype-toolbar h2{font-size:18px!important;letter-spacing:-.02em;line-height:1.2;margin:0 auto 0 0;font-weight:500}
.prototype-toolbar button{background:none;border:0;border-bottom:1px solid transparent;color:inherit;padding:8px 0;font:inherit;font-size:14px;cursor:pointer}.prototype-toolbar button:hover{border-bottom-color:currentColor}
.prototype-stage{width:100%;height:calc(100dvh - 160px);min-height:280px;background:#0b0d0c}.prototype-stage iframe{display:block;width:100%;height:100%;border:0}
#prototype-player .prototype-help{font-size:14px;line-height:1.4;margin:12px 0 8px;max-width:80ch}.prototype-external{font-size:13px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:767px){.games-layout{display:flex;flex-direction:column;gap:24px}.games-sidebar{position:static;padding:0}.games-case .games-sidebar h2{font-size:42px}.games-sidebar>p{font-size:18px}.games-list{width:100%}dialog.games-case{padding:72px 12px 24px}.game-entry{margin-bottom:40px}.prototype-toolbar{gap:12px;flex-wrap:wrap}.prototype-toolbar h2{flex-basis:100%;font-size:18px}.prototype-toolbar button{font-size:12px}#prototype-player{padding:12px}.prototype-stage{height:65dvh}.laptop-screen{border-width:6px;border-bottom-width:9px}.laptop-deck{height:12px}}
@media(prefers-reduced-motion:reduce){.game-preview img{transition:none;transform:none!important}}
.prototype-stage{display:flex;flex-direction:column;gap:12px;height:calc(100dvh - 170px);background:#0b0d0c;padding:12px}.native-game-viewport{position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center}.native-game-screen{position:relative;max-width:100%;max-height:100%;width:min(100%,calc((100dvh - 260px)*var(--game-ratio)));flex:none}.native-game-screen>img{width:100%;height:auto;display:block}.game-hotspot{position:absolute;border:0;background:transparent;cursor:pointer;padding:0;border-radius:4px}.game-hotspot:hover,.game-hotspot:focus-visible{outline:2px solid #d6f7a6;outline-offset:1px;background:#d6f7a61a}.native-overlay-scrim{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0007}.native-game-overlay{box-shadow:0 16px 60px #0008}.native-game-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;flex:none}.native-game-controls:empty{display:none}.native-game-controls button{background:#202722;border:1px solid #75877a;color:#eff9f1;border-radius:4px;padding:10px 14px;font:inherit;font-size:13px;cursor:pointer}.native-game-controls button:hover,.native-game-controls button:focus-visible{background:#d9f4bf;color:#152112}@media(max-width:767px){.prototype-stage{height:68dvh;min-height:350px;padding:8px}.native-game-controls{gap:6px}.native-game-controls button{font-size:11px;padding:8px}.native-game-screen{width:100%}.native-game-viewport{align-items:center}}
.native-game-overlay{min-width:min(300px,85%)}@media(max-width:767px){.native-game-overlay{width:85%!important;min-width:0}.native-game-screen>img{max-height:none}}
.native-component-state{position:absolute;pointer-events:none;z-index:1}.game-hotspot{z-index:2}.avatar-name-input{position:absolute;z-index:4;left:3.931%;top:32.13%;width:92.138%;height:12.57%;border:0;border-radius:8px;background:#fff;color:#282828;text-align:center;font:700 clamp(12px,1.6vw,22px)/1.1 Satoshi,Arial,sans-serif;text-transform:uppercase;padding:4px}.avatar-saved-message{position:absolute;left:9.337%;top:47.399%;width:81.327%;height:22%;margin:0!important;background:#be60f0;color:#fff!important;text-align:center;display:flex;align-items:center;justify-content:center;font:700 clamp(11px,1.4vw,19px)/1.3 Satoshi,Arial,sans-serif;padding:3px;z-index:4}.prototype-help{min-height:20px}
.native-game-viewport{container-type:size;flex:1 1 0;width:100%;min-height:0}.prototype-stage .native-game-screen:not(.native-game-overlay){width:min(100cqw,calc(100cqh * var(--game-ratio)));max-height:none;height:auto}.native-game-screen>img:first-child{width:100%;height:auto;display:block}
