/* The play side of SEOWD. Scoped to keep the shared site shell intact. */
body.games-body { --game-line: #15171b; }
.no-games-js :is(.library-toolbar,.preview-button) { display: none; }
body.games-body main.games-page { padding: 110px 0 0 !important; margin: 0 !important; max-width: none !important; }
body.games-body .games-page > section.v2-page-block { display: block; max-width: none; margin: 0; padding: 0 !important; border: 0; border-bottom: 1px solid var(--game-line); border-radius: 0; }
body.games-body .games-page > section.v2-page-block::before { content: none !important; }
body.games-body main.games-page :is(h1,h2,h3,p) { text-transform: none; }
.games-page .eyebrow { font: 700 .8rem/1.4 var(--v2-mono); text-transform: uppercase !important; letter-spacing: .09em; }
.games-page .eyebrow::before { content: ''; display: inline-block; width: .55rem; height: .55rem; margin-right: .7rem; background: currentColor; }
body.games-body main.games-page .play-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 650px; background: var(--v2-sky) !important; overflow: hidden; }
.play-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#08090b0d 1px, transparent 1px), linear-gradient(90deg,#08090b0d 1px,transparent 1px); background-size: 80px 80px; }
.play-hero-copy { padding: 4.8rem 0 4.8rem var(--v2-gutter); z-index: 2; }
body.games-body main.games-page .play-hero h1 { margin: 2rem 0 1.5rem; color: var(--v2-ink) !important; font-size: clamp(3.9rem,6.5vw,7.3rem) !important; line-height: 1.02 !important; letter-spacing: -.075em; font-weight: 800; }
.play-hero h1 em { display: inline-block; position: relative; font-style: normal; color: var(--v2-cobalt); }
.play-hero h1 em::after { content: ''; display: block; height: .09em; margin-top: .08em; background: var(--v2-orange); transform: rotate(-2deg); }
body.games-body main.games-page .play-hero-copy > p:not(.eyebrow) { max-width: 38ch; font-size: 1.05rem; line-height: 1.75; color: #303d48 !important; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.7rem; margin-top: 2rem; }
.games-primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1rem 1.2rem; border: 1px solid var(--v2-ink); background: var(--v2-ink); color: white; font-size: .9rem; font-weight: 600; text-decoration: none; box-shadow: 5px 5px 0 var(--v2-acid); transition: transform .2s; }
.games-primary:hover { transform: translate(-2px,-2px); }
.hero-android { font: .85rem var(--v2-mono); }
.hero-android b { color: #2452d6; }
.play-hero-art { position: relative; align-self: stretch; min-width: 0; min-height: 590px; z-index: 1; }
.hero-orbit { position: absolute; width: 78%; aspect-ratio: 1; border: 1px dashed #2452d655; border-radius: 50%; top: 12%; left: 8%; }
.hero-orbit::after { content: ''; position: absolute; width: 125%; height: 55%; left: -12%; top: 22%; border: 1px solid #2452d644; border-radius: 50%; transform: rotate(-27deg); }
.hero-phone { position: absolute; width: 31%; aspect-ratio: .51; padding: 6px; background: #10131a; border: 1px solid #08090b; border-radius: 25px; box-shadow: 12px 20px 0 #08090b12; overflow: hidden; transition: transform .4s; }
.hero-phone img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 19px; }
.hero-phone--jelly { left: 1%; top: 22%; transform: rotate(-13deg); z-index: 2; }
.hero-phone--grove { left: 30%; top: 12%; transform: rotate(3deg); z-index: 3; }
.hero-phone--orbit { left: 59%; top: 27%; transform: rotate(15deg); z-index: 4; }
.play-sticker { position: absolute; display: grid; place-content: center; width: 112px; height: 112px; top: 5%; right: 8%; border-radius: 50%; background: var(--v2-orange); color: #08090b; border: 1px solid #08090b; font: 700 .95rem/1.1 var(--v2-mono); text-align: center; transform: rotate(12deg); z-index: 5; }
.play-sticker strong { font-size: 2rem; }
.hero-art-caption { position: absolute; left: 5%; bottom: 3%; margin: 0; font: .8rem var(--v2-mono); transform: rotate(-3deg); }
body.games-body .games-page .play-strip { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem var(--v2-gutter) !important; background: var(--v2-acid) !important; font: 700 .85rem var(--v2-mono); text-transform: uppercase; }
.play-strip span { display: flex; align-items: center; gap: 1.5rem; }
.play-strip i { font-size: 1.2rem; font-style: normal; }
body.games-body main.games-page > section.game-library.v2-page-block { background: var(--v2-paper) !important; padding: 5rem var(--v2-gutter) 6rem !important; }
.library-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; }
body.games-body main.games-page h2 { margin: .8rem 0 1rem; font-size: clamp(2.6rem,4.2vw,4.5rem) !important; line-height: 1.06 !important; font-weight: 800; letter-spacing: -.065em; color: var(--v2-ink) !important; }
.library-heading > p { max-width: 33ch; margin: 0 0 1.1rem; color: #50575c; font-size: .95rem; line-height: 1.7; }
.library-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin: 1.8rem 0 .8rem; padding: 1.4rem 0; border-top: 1px solid #08090b33; border-bottom: 1px solid #08090b33; }
.game-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.game-filters button { min-height: 44px; padding: .65rem 1rem; border: 1px solid #08090b40; border-radius: 0; background: transparent; font: 700 .9rem var(--v2-mono); cursor: pointer; transition: background .2s; }
.game-filters button[aria-pressed="true"] { background: var(--v2-ink); border-color: var(--v2-ink); color: white; }
.game-filters button:hover:not([aria-pressed="true"]) { background: var(--v2-sky); }
.game-filters small { margin-left: .35rem; opacity: .7; font: inherit; }
.random-game { background: none; border: 0; padding: .7rem 0; font: 700 .9rem var(--v2-mono); text-decoration: underline; text-underline-offset: .35rem; cursor: pointer; }
.games-status { min-height: 1.2rem; margin: .8rem 0 1.5rem; color: #59616a; font: .8rem var(--v2-mono); }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.game-card { min-width: 0; border: 1px solid var(--game-line); background: var(--v2-white); scroll-margin-top: 8rem; transition: box-shadow .25s; }
#game-collection { scroll-margin-top: 110px; }
.games-body .v2-nav-links a[href="/games"] { text-decoration: underline; text-underline-offset: .4rem; }
.game-card[hidden] { display: none; }
.game-card.is-picked { box-shadow: 0 0 0 5px var(--v2-cobalt), 9px 9px 0 var(--v2-acid); }
.game-stage { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 4%; height: 340px; overflow: hidden; border-bottom: 1px solid var(--game-line); background: var(--stage); }
.game-stage::before { content: ''; position: absolute; width: 340px; height: 340px; border: 1px solid #ffffff45; border-radius: 50%; top: 40px; left: calc(50% - 170px); }
.stage-label { position: absolute; top: 1.2rem; left: 1.2rem; font: 700 .75rem var(--v2-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--stage-ink, #14171b); }
.stage-number { position: absolute; right: 1.2rem; top: 1.2rem; font: .8rem var(--v2-mono); color: var(--stage-ink, #14171b); }
.stage-shot { display: block; width: 32%; max-width: 185px; height: auto; border: 5px solid #181b21; border-radius: 20px; margin-top: 66px; box-shadow: 8px 12px 0 #08090b1c; transform: rotate(-8deg); }
.stage-shot + .stage-shot { margin-top: 40px; transform: rotate(9deg); }
.game-card:hover .stage-shot { transform: translateY(-7px) rotate(-6deg); }
.game-card:hover .stage-shot + .stage-shot { transform: translateY(-7px) rotate(7deg); }
.stage-shot { transition: transform .4s; }
.preview-button { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; padding: .65rem .8rem; border: 1px solid #08090b; background: var(--v2-white); color: #08090b; font: 700 .8rem var(--v2-mono); cursor: pointer; box-shadow: 3px 3px 0 #08090b; }
.preview-button:hover { background: var(--v2-acid); }
.game-info { padding: 1.8rem; }
.game-title-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.game-icon { width: 60px; height: 60px; object-fit: cover; border-radius: 13px; border: 1px solid #08090b20; }
body.games-body main.games-page h3 { color: var(--v2-ink) !important; font-size: clamp(1.35rem,2vw,1.85rem) !important; line-height: 1.15 !important; margin: 0 0 .25rem; font-weight: 700; letter-spacing: -.05em; }
.game-subtitle { font: .8rem var(--v2-mono); color: #59616a; }
body.games-body main.games-page .game-description { margin: 1rem 0; min-height: 5.2em; color: #495056 !important; font-size: .92rem; line-height: 1.75; }
.game-tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1rem 0 1.7rem; padding: 0; }
.game-tags li { padding: .35rem .6rem; border: 1px solid #08090b29; font: .75rem var(--v2-mono); }
.game-bottom { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding-top: 1.2rem; border-top: 1px solid #08090b26; }
.play-store { display: inline-flex; align-items: center; gap: .7rem; border-radius: 6px; padding: .65rem .9rem; background: #08090b; color: white; text-decoration: none; border: 1px solid #08090b; transition: background .2s; }
.play-store:hover { background: #2452d6; }
.play-store svg { width: 27px; height: 30px; fill: currentColor; flex-shrink: 0; }
.play-store > span { display: flex; flex-direction: column; font-size: 1.1rem; font-weight: 500; line-height: 1.2; }
.play-store small { font-size: .55rem; letter-spacing: .08em; font-weight: 400; }
.game-platform { font: .75rem var(--v2-mono); text-align: right; color: #59616a; }
body.games-body main.games-page > section.studio-note.v2-page-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; padding: 4.5rem var(--v2-gutter) !important; background: var(--v2-sky) !important; }
.studio-note-symbol { font: 800 clamp(5rem,10vw,10rem)/1 var(--v2-sans); color: var(--v2-cobalt); letter-spacing: -.1em; align-self: center; }
.studio-note p:not(.eyebrow) { color: #303d48; max-width: 51ch; line-height: 1.8; }
.studio-note-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.7rem; }
.studio-note-links a { font: 700 .9rem var(--v2-mono); text-underline-offset: .3rem; }
.games-dialog { width: min(900px,94vw); max-height: 94dvh; margin: auto; border: 1px solid #08090b; padding: 0; background: var(--v2-paper); color: #08090b; }
.games-dialog::backdrop { background: #08090be8; }
.preview-open { overflow: hidden; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid #08090b; }
.preview-header h2 { font-size: 1.2rem; margin: 0; line-height: 1.3; }
.preview-header button { border: 0; background: transparent; font-size: 2rem; cursor: pointer; width: 44px; height: 44px; }
.preview-image-wrap { display: grid; place-items: center; padding: 1rem; background: #18202a; }
.preview-image-wrap img { height: min(60dvh,650px); max-width: 100%; object-fit: contain; }
.preview-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: .9rem; }
.preview-controls button { min-width: 44px; min-height: 44px; border: 1px solid #08090b; background: transparent; cursor: pointer; }
.preview-controls span { min-width: 3rem; text-align: center; font: .9rem var(--v2-mono); }
.preview-footer { text-align: center; padding: 0 1rem 1rem; }
.games-skip { position: fixed; z-index: 100001; top: -100px; left: 1rem; background: var(--v2-acid); padding: .8rem; color: #08090b; }
.games-skip:focus { top: 1rem; }
@media(min-width:1600px) { .play-hero-art { min-height: 760px; } .game-stage { height: 400px; } }
@media(max-width:1000px) { body.games-body main.games-page .play-hero { min-height: 570px; } .play-hero-art { min-height: 540px; } .play-sticker { width: 85px; height: 85px; right: 3%; } .play-hero-copy { padding-top: 3rem; padding-bottom: 3rem; } .game-stage { height: 290px; } .game-info { padding: 1.3rem; } .game-description { min-height: 7em !important; } }
@media(max-width:760px) {
  body.games-body main.games-page .play-hero { grid-template-columns: 1fr; }
  .play-hero-copy { padding: 2.5rem var(--v2-gutter) 1rem; }
  body.games-body main.games-page .play-hero h1 { font-size: clamp(3.5rem,12vw,5.8rem) !important; margin-top: 1.5rem; }
  .play-hero-art { min-height: clamp(410px,88vw,590px); margin: 0 1rem; }
  .hero-phone { width: 28%; } .hero-phone--jelly { top: 20%; left: 5%; } .hero-phone--grove { top: 9%; left: 34%; } .hero-phone--orbit { top: 24%; left: 63%; }
  .hero-art-caption { bottom: 6%; left: 8%; } .play-sticker { top: 0; right: 0; }
  body.games-body .games-page .play-strip { flex-wrap: wrap; gap: .5rem 1rem; font-size: .7rem; }
  .play-strip span { gap: .7rem; } .play-strip span:last-child { display: none; }
  body.games-body main.games-page > section.game-library.v2-page-block { padding: 3rem var(--v2-gutter) 4rem !important; }
  .library-heading { display: block; } .library-heading > p { max-width: 45ch; }
  .library-toolbar { gap: .6rem; margin-top: 1.5rem; padding: 1rem 0; }
  .game-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .game-stage { height: 330px; } .game-info { padding: 1.4rem; }
  .game-description { min-height: 0 !important; }
  body.games-body main.games-page > section.studio-note.v2-page-block { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem var(--v2-gutter) !important; }
  .studio-note-symbol { font-size: 5rem; }
}
@media(max-width:380px) { .game-stage { height: 285px; } .game-filters button { padding: .6rem .7rem; } .game-bottom { gap: .5rem; } .game-info { padding: 1rem; } }
@media(prefers-reduced-motion:reduce) { .games-page *, .games-dialog * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Gameplay and social video destinations, November 2026. */
.game-media { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 0 1.8rem 1.8rem; }
.game-media a { display: flex; justify-content: space-between; gap: .5rem; align-items: center; min-height: 44px; padding: .65rem .75rem; border: 1px solid #08090b40; color: #15171b; font: 700 .78rem/1.4 var(--v2-mono); text-decoration: none; }
.game-media .instagram-reel { grid-column: 1 / -1; }
.game-media a:hover { background: var(--v2-sky); }
.game-media a:focus-visible, .game-filters button:focus-visible, .preview-button:focus-visible { outline: 3px solid var(--v2-cobalt); outline-offset: 3px; }
.game-stage--landscape .stage-shot { width: 84%; max-width: none; margin-top: 76px; border-radius: 12px; transform: rotate(-3deg); }
.game-stage--landscape .stage-shot + .stage-shot { display: none; }
.game-card:hover .game-stage--landscape .stage-shot { transform: translateY(-5px) rotate(-1deg); }
.studio-apps .library-heading { margin-bottom: 2rem; }
.studio-apps .game-grid { max-width: 720px; }
@media(max-width:1000px) { .game-media { padding: 0 1.3rem 1.3rem; } }
@media(max-width:760px) { .game-media { padding: 0 1.4rem 1.4rem; } }
@media(max-width:380px) { .game-media { padding: 0 1rem 1rem; gap: .45rem; } .game-media a { font-size: .72rem; } }
