.game-page {
  --sg-ground: #090f15;
  --sg-ink: #eef4ef;
  --sg-muted: #b2c4c6;
  --sg-line: rgba(164, 209, 205, .2);
  --sg-mint: #90e1d8;
  background: var(--sg-ground);
  color: var(--sg-ink);
}
.game-main, .sg-dialog { font-family: "Segoe UI", Arial, sans-serif; }
.game-symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.game-main *, .sg-dialog * { box-sizing: border-box; }
.game-main :where(p,h1,h2,h3,figure), .sg-dialog :where(p,h2) { margin: 0; }
.game-main section[id] { scroll-margin-top: 6rem; }
.game-main a { text-decoration: none; }
.game-main :is(a,button):focus-visible, .sg-dialog button:focus-visible { outline: 2px solid #b4fff5; outline-offset: 5px; }
.sg-wrap { width: min(88%, 82rem); margin-inline: auto; }
.sg-hero { position: relative; isolation: isolate; min-height: clamp(34rem, 72svh, 56rem); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--sg-line); }
.sg-hero-art, .sg-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.sg-hero-art { object-fit: cover; object-position: center 51%; }
.sg-hero-shade { background: linear-gradient(90deg, rgba(4,12,19,.91) 0%, rgba(5,14,21,.61) 40%, transparent 82%), linear-gradient(0deg, rgba(6,14,20,.86), transparent 30%, transparent 77%, rgba(5,12,18,.22)); }
.sg-hero-content { padding-block: 7rem 8rem; }
.game-main .sg-overline { display: flex; align-items: center; gap: .75rem; font: 600 .77rem/1.5 "Segoe UI", Arial, sans-serif; text-transform: uppercase; letter-spacing: .16em; color: var(--sg-mint); }
.sg-overline i { display: inline-block; height: 1px; width: 2rem; background: currentColor; position: relative; }
.sg-overline i::after { content: ""; position: absolute; top: -2px; right: 0; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.sg-overline > span { color: #759794; }
.game-main .sg-hero h1 { font: 400 clamp(3rem,8.5vw,8.1rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.055em; color: #f2f3e9; margin: 1.5rem 0 1.4rem -.05em; text-shadow: 0 2px 24px rgba(0,0,0,.18); }
.sg-hero-intro { max-width: 30rem; font-size: clamp(1.02rem,1.3vw,1.17rem); line-height: 1.65; color: #d2deda; text-wrap: pretty; }
.sg-hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem 2rem; margin-top: 2rem; }
.game-main .sg-primary { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3rem; padding: .75rem 1.4rem; border: 1px solid #a8e5da; background: #a0ddd3; color: #102825; font: 650 .88rem/1.4 "Segoe UI", Arial, sans-serif; transition: background .2s; }
.game-main .sg-primary:hover { background: #c0f4e9; }
.sg-diamond { width: .52rem; height: .52rem; transform: rotate(45deg); border: 1px solid currentColor; box-shadow: inset 0 0 0 1px #a0ddd3; background: currentColor; }
.game-main .sg-text-link { color: #edf4ef; padding: .62rem .1rem; border-bottom: 1px solid #72a6a1; font-size: .92rem; font-weight: 550; }
.game-main .sg-text-link:hover { color: var(--sg-mint); }
.sg-hero-foot { position: absolute; inset: auto 0 1.45rem; display: flex; align-items: center; gap: 1rem; color: #b3c3c3; font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; }
.sg-hero-foot i { height: 1px; background: rgba(178,207,204,.31); flex: 1; }
.game-main h2, .sg-dialog h2 { color: var(--sg-ink); font: 400 clamp(2.1rem,4.25vw,4.2rem)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.game-main .sg-overline + h2 { margin-top: .95rem; }
.sg-universe { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.65fr); gap: clamp(2rem,5vw,6.5rem); padding-block: clamp(3.4rem,7vw,7rem); }
.sg-section-intro h2 em { display: block; color: #9bc4be; font-weight: inherit; }
.sg-section-intro > p:last-child, .sg-gallery-heading p, .sg-release-copy > p:not(.sg-overline) { color: var(--sg-muted); line-height: 1.65; font-size: 1rem; }
.sg-section-intro > p:last-child { max-width: 25rem; margin-top: 1.2rem; }
.sg-mechanics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.65rem 2rem; align-self: center; }
.sg-mechanics article { border-top: 1px solid var(--sg-line); padding-top: .8rem; }
.sg-mechanics svg, .sg-card-art svg, .sg-trailer-inner svg, .sg-release-seal svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sg-mechanics article > svg { width: 2.8rem; height: 2.8rem; margin-left: -.35rem; color: #9ccec5; stroke-width: 3.2; }
.sg-mechanics h3 { font: 400 clamp(1.21rem,1.6vw,1.5rem)/1.3 Georgia, serif; color: #e8eee8; margin-top: .22rem; }
.sg-mechanics p { color: var(--sg-muted); font-size: 1rem; line-height: 1.58; margin-top: .5rem; }
.sg-media { padding-block: clamp(3.4rem,6.5vw,6rem); border-block: 1px solid var(--sg-line); background: radial-gradient(ellipse at 15% 1%, #13252b, transparent 55%), #0d151c; }
.sg-trailer { position: relative; width: 100%; aspect-ratio: 2.48; margin-top: 1.7rem; overflow: hidden; border: 1px solid rgba(155,205,196,.28); isolation: isolate; background: #0b1e27; }
.sg-trailer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.sg-trailer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,14,20,.52), rgba(4,14,20,.58) 51%, rgba(4,14,20,.45)); }
.sg-trailer::after { content: ""; pointer-events: none; position: absolute; inset: .7rem; border: 1px solid rgba(179,220,211,.25); }
.sg-trailer-inner { display: flex; height: 100%; flex-direction: column; justify-content: center; align-items: center; gap: .65rem; padding: 1.25rem; text-align: center; }
.sg-trailer-inner svg { width: clamp(3.6rem,7vw,6.6rem); height: auto; color: #b4e9dd; stroke-width: 2; filter: drop-shadow(0 1px 8px #081214); }
.sg-trailer-inner strong { font: 400 clamp(1.5rem,3vw,2.8rem)/1.04 Georgia,serif; color: #f3f4e9; text-shadow: 0 1px 7px #06100e; }
.sg-trailer-inner span { color: #d3e0d9; font-size: .87rem; letter-spacing: .04em; }
.sg-trailer.is-ready { aspect-ratio: 16/9; }
.sg-trailer.is-ready::after { display: none; }
.sg-trailer video { width: 100%; height: 100%; display: block; background: #050a0e; }
.sg-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; margin-block: clamp(3rem,6vw,6rem) 1.65rem; }
.sg-gallery-heading h2 { font-size: clamp(2.1rem,3.7vw,3.45rem); }
.sg-gallery-heading p { max-width: 23.5rem; }
.sg-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; }
.sg-card { position: relative; min-width: 0; margin: 0; border: 1px solid var(--sg-line); background: #0c151c; }
.sg-stone { --sg-glyph: #b0d2cb; --sg-halo: #314c4f; --sg-edge: #142429; }
.sg-forest { --sg-glyph: #c5d6a7; --sg-halo: #384c3d; --sg-edge: #192923; }
.sg-ember { --sg-glyph: #dcbda8; --sg-halo: #503c38; --sg-edge: #281e20; }
.sg-ash { --sg-glyph: #d3c6d8; --sg-halo: #433d52; --sg-edge: #242130; }
.sg-ice { --sg-glyph: #b7e5e9; --sg-halo: #304e60; --sg-edge: #142634; }
.sg-dusk { --sg-glyph: #ddcda6; --sg-halo: #494537; --sg-edge: #28271f; }
.sg-card-art { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1.96; width: 100%; overflow: hidden; background: radial-gradient(ellipse, var(--sg-halo),var(--sg-edge) 78%); color: var(--sg-glyph); }
.sg-card-art::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .4; background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(189,217,209,.08) 24px),repeating-linear-gradient(90deg, transparent 0 23px, rgba(189,217,209,.08) 24px); }
.sg-card-art::after { content: ""; position: absolute; inset: 9%; z-index: -1; background: linear-gradient(transparent calc(50% - .5px), currentColor 50%, transparent calc(50% + .5px)); opacity: .28; }
.sg-card-art svg { height: 80%; width: auto; max-width: 88%; transition: transform .28s ease; }
.sg-card-art svg .sg-ring { opacity: .56; stroke-width: 1; }
.sg-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-card figcaption { padding: .9rem 1.05rem 1rem; border-top: 1px solid var(--sg-line); }
.sg-card h3 { font: 400 clamp(1.15rem,1.6vw,1.4rem)/1.2 Georgia,serif; }
.sg-card figcaption span { display: block; margin-top: .35rem; color: var(--sg-muted); font-size: .82rem; }
.sg-open { position: absolute; inset: 0; width: 100%; cursor: zoom-in; border: 0; background: transparent; color: #cee6e0; }
.sg-open::after { content: "+"; position: absolute; right: 1rem; bottom: 1.25rem; font: 300 1.45rem/1 "Segoe UI",sans-serif; color: var(--sg-glyph); }
.sg-card:has(.sg-open:hover) .sg-card-art svg { transform: scale(1.05); }
.sg-release { position: relative; display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; justify-content: center; padding-block: clamp(3.6rem,7vw,7rem); }
.sg-release-seal { display: grid; place-items: center; padding: 1.75rem; }
.sg-release-seal svg { width: min(80%,13.5rem); height: auto; color: #82b4ad; stroke-width: 1.1; filter: drop-shadow(0 0 14px rgba(95,218,203,.22)); }
.sg-release-copy { padding-left: clamp(1.5rem,5vw,5.5rem); border-left: 1px solid var(--sg-line); }
.sg-release h2 { font-size: clamp(2.6rem,5.5vw,5rem); }
.sg-release-copy > p:not(.sg-overline) { margin-top: .85rem; }
.sg-countdown { display: flex; flex-wrap: wrap; gap: clamp(.78rem,2.5vw,2.3rem); margin-top: 1.65rem; }
.sg-countdown[hidden] { display: none; }
.sg-countdown div { display: flex; flex-direction: column; gap: .3rem; }
.sg-countdown strong { font: 400 clamp(1.75rem,3.6vw,3.25rem)/1 Georgia,serif; font-variant-numeric: tabular-nums; color: #c5ebe2; }
.sg-countdown span { font-size: .8rem; color: var(--sg-muted); }
#release-action:not(:empty) { margin-top: 1.25rem; }
.sg-dialog { overflow: auto; max-height: 90svh; width: min(90vw,43rem); max-width: 100%; margin: auto; border: 1px solid #4c686a; background: #0d181f; padding: 0; color: #edf2eb; box-shadow: 0 25px 90px #0009; }
.sg-dialog::backdrop { background: rgba(3,8,13,.85); }
.sg-viewer { padding: clamp(.95rem,3vw,1.7rem); }
.sg-dialog-head { color: var(--sg-muted); display: flex; align-items: center; justify-content: space-between; margin: -.4rem 0 .55rem; }
.sg-dialog-head > span { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; }
.sg-dialog button { cursor: pointer; border: 1px solid var(--sg-line); color: #e2eeea; background: #15252a; font: inherit; }
.sg-dialog button:hover { border-color: #8ebbb4; }
.sg-dialog button.sg-close { border: 0; background: transparent; width: 2.75rem; height: 2.75rem; font-size: 1.9rem; }
.sg-dialog-art .sg-card-art { max-height: 52svh; }
.sg-dialog-art .sg-card-art img { object-fit: contain; }
.sg-dialog-caption h2 { font-size: clamp(1.7rem,3vw,2.45rem); margin-top: 1.1rem; }
.sg-dialog-caption p { font-size: .93rem; color: var(--sg-muted); margin-top: .4rem; }
.sg-dialog-nav { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.25rem; }
.sg-dialog-nav button { padding: .55rem .85rem; min-height: 2.75rem; font-size: .87rem; }
@media(max-width: 54rem) {
  .sg-universe { grid-template-columns: 1fr; }
  .sg-section-intro h2 em { display: inline; }
  .sg-section-intro > p:last-child { max-width: 37rem; }
  .sg-gallery-heading { display: block; }
  .sg-gallery-heading p { margin-top: .65rem; max-width: 37rem; }
  .sg-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
}
@media(max-width: 38rem) {
  .sg-wrap { width: 89%; }
  .sg-hero { min-height: 34.5rem; align-items: end; }
  .sg-hero-art { object-position: 63% center; }
  .sg-hero-shade { background: linear-gradient(0deg, #071018 2%, rgba(6,16,23,.9) 26%,rgba(6,16,23,.52) 58%,rgba(8,17,25,.12)),linear-gradient(90deg, rgba(5,15,18,.25),transparent); }
  .sg-hero-content { padding-block: 7rem 5rem; }
  .sg-hero-links { margin-top: 1.4rem; }
  .sg-hero-foot { bottom: 1rem; gap: .6rem; font-size: .75rem; letter-spacing: .03em; }
  .sg-mechanics { grid-template-columns: 1fr; gap: .9rem; }
  .sg-mechanics article { display: grid; grid-template-columns: 2.8rem 1fr; gap: .7rem; }
  .sg-mechanics p { margin-top: .25rem; }
  .sg-trailer { aspect-ratio: 1.5; }
  .sg-gallery { gap: .6rem; }
  .sg-card figcaption { padding: .65rem .6rem .7rem; }
  .sg-card h3 { font-size: 1.07rem; }
  .sg-card figcaption span { font-size: .77rem; }
  .sg-card-art { aspect-ratio: 1.42; }
  .sg-open::after { display: none; }
  .sg-release { grid-template-columns: 1fr; }
  .sg-release-seal { position: absolute; right: 0; top: 2.7rem; padding: 0; opacity: .28; width: 23%; pointer-events: none; }
  .sg-release-seal svg { width: 100%; }
  .sg-release-copy { border: 0; padding: 0; }
}
@media(prefers-reduced-motion: reduce) {
  .game-main *, .sg-dialog * { animation: none !important; transition: none !important; }
}
