﻿:root { --bg:#f6f7fb; --card:#fff; --fg:#17181c; --muted:#5f6370; --line:#e3e5ec; --accent:#4f46e5; --accent2:#2563eb; color-scheme: light dark; }
@media (prefers-color-scheme: dark){ :root { --bg:#12131a; --card:#1c1e27; --fg:#f1f2f6; --muted:#a3a7b5; --line:#2b2e39; --accent:#8087ff; --accent2:#5b9bff; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--bg); color:var(--fg); font:17px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
nav { display:flex; align-items:center; justify-content:space-between; padding:18px 0; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px; letter-spacing:-.02em; color:inherit; text-decoration:none; }
.brand img { width:32px; height:32px; border-radius:9px; }
nav .links { display:flex; gap:22px; font-weight:600; font-size:15px; }
nav .links a { color:var(--muted); text-decoration:none; } nav .links a:hover { color:var(--accent); }
.hero { color:#fff; background: radial-gradient(900px 500px at 85% 0%, #7c83ff66, transparent 60%), linear-gradient(135deg,#5b4cf0,#1d4ed8); }
.hero .wrap { padding-top: 8px; padding-bottom: 84px; }
.hero nav .brand, .hero nav .links a { color:#fff; } .hero nav .links a { opacity:.85; }
.hero h1 { margin: 64px 0 14px; font-size: clamp(36px,6vw,62px); line-height:1.05; letter-spacing:-.035em; max-width: 14em; }
.hero p { margin:0; font-size: clamp(18px,2.4vw,23px); color:#e3e8ff; max-width: 34em; }
.btn { display:inline-block; margin-top:28px; padding:13px 26px; border-radius:999px; font-weight:700; text-decoration:none; background:#fff; color:#3b34d6; box-shadow:0 8px 24px #0003; }
.btn.alt { background: linear-gradient(135deg,var(--accent),var(--accent2)); color:#fff; }
.btn[aria-disabled=true] { opacity:.6; pointer-events:none; }
section { padding: 64px 0; }
h2 { margin:0 0 8px; font-size: 32px; letter-spacing:-.02em; }
.lede { color:var(--muted); margin:0 0 32px; }
.grid { display:grid; gap:18px; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
.card { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:24px; box-shadow:0 1px 2px #14182810, 0 8px 24px #14182808; }
.card h3 { margin:12px 0 6px; font-size:21px; }
.card p { margin:0 0 14px; color:var(--muted); }
.card .tag { display:inline-block; padding:3px 12px; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--accent); background:color-mix(in srgb,var(--accent) 12%,transparent); border-radius:999px; }
.card a.more { font-weight:700; text-decoration:none; }
.feature-grid { display:grid; gap:18px; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); }
.shots { display:grid; gap:18px; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); margin-top:28px; }
.shots img { width:100%; border-radius:14px; border:1px solid var(--line); box-shadow:0 10px 30px #14182818; }
.prose { max-width: 760px; padding: 48px 0 72px; }
.prose h1 { font-size:36px; letter-spacing:-.02em; margin-bottom:4px; } .prose h2 { font-size:22px; margin-top:32px; }
.prose table { border-collapse:collapse; width:100%; font-size:15px; } .prose td { border:1px solid var(--line); padding:8px; vertical-align:top; }
footer { border-top:1px solid var(--line); padding:28px 0 40px; color:var(--muted); font-size:14px; }
footer .wrap { display:flex; flex-wrap:wrap; gap:12px 28px; justify-content:space-between; }
footer a { color:var(--muted); }
.ext-lockup { display:flex; align-items:center; gap:16px; margin-top:56px; }
.ext-lockup img { width:84px; height:84px; border-radius:22px; box-shadow:0 14px 36px #0004, 0 0 0 1px #ffffff33; }
.ext-word { font-size:clamp(40px,7vw,64px); line-height:1; }
.ext-tag { display:inline-block; margin-top:18px; padding:5px 14px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; background:#ffffff26; border:1px solid #ffffff40; border-radius:999px; }
.ext-tag + h1 { margin-top:22px; }
.wordmark { font-weight:800; letter-spacing:-.03em; text-transform:lowercase; }

/* ---------- Motion ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.orb.a { width: 420px; height: 420px; right: -80px; top: -60px; background: #a78bfa; }
.orb.b { width: 340px; height: 340px; left: 38%; bottom: -140px; background: #38bdf8; animation-delay: -5s; }
@keyframes drift { to { transform: translate(-50px, 40px) scale(1.12); } }

.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.hero .fade { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
body.ready .hero h1 .line > span { transform: none; }
body.ready .hero .fade { opacity: 1; transform: none; }
body.ready .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
body.ready .hero .fade.d1 { transition-delay: .3s; } body.ready .hero .fade.d2 { transition-delay: .45s; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips span { padding: 6px 16px; font-size: 14px; font-weight: 600; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in:nth-child(2) { transition-delay: .08s; } .reveal.in:nth-child(3) { transition-delay: .16s; }
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 36px #4f46e522; }
.card.soon { border-style: dashed; background: transparent; position: relative; overflow: hidden; }
.card.soon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--accent) 14%, transparent) 50%, transparent 65%); transform: translateX(-100%); animation: sweep 3.4s ease-in-out infinite; }
@keyframes sweep { to { transform: translateX(100%); } }

/* Intro splash */
#intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; color: #fff; cursor: pointer;
  background: radial-gradient(900px 500px at 80% 0%, #7c83ff66, transparent 60%), linear-gradient(135deg,#5b4cf0,#1d4ed8);
  transition: clip-path .75s cubic-bezier(.7,0,.2,1); clip-path: inset(0 0 0 0); }
#intro.out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro-inner { display: grid; justify-items: center; gap: 20px; }
.intro-mark { width: 104px; height: 104px; filter: drop-shadow(0 12px 30px #0005); animation: pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.intro-mark .tile { fill: rgba(255,255,255,.18); stroke: rgba(255,255,255,.55); stroke-width: 2; }
.intro-mark path.draw { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .8s .25s ease forwards; }
.intro-mark path.draw.p2 { animation-delay: .55s; } .intro-mark path.draw.p3 { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.intro-word { display: flex; font-size: clamp(34px, 7vw, 60px); font-weight: 800; letter-spacing: -.03em; text-transform: lowercase; overflow: hidden; }
.intro-word span { display: inline-block; transform: translateY(110%); animation: rise .6s cubic-bezier(.2,.8,.2,1) forwards; }
.intro-sub { font-size: 16px; letter-spacing: .24em; text-transform: uppercase; opacity: 0; animation: fadein .5s 1.05s ease forwards; }
@keyframes rise { to { transform: none; } } @keyframes fadein { to { opacity: .85; } }
body.intro-on { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  #intro { display: none; }
  .orb, .card.soon::after { animation: none; }
  .hero h1 .line > span, .hero .fade, .reveal { transition: none; transform: none; opacity: 1; }
}
.intro-mark .badge { transform-origin: 98px 98px; transform: scale(0); animation: badgePop .5s 1.05s cubic-bezier(.2,1.6,.4,1) forwards; }
@keyframes badgePop { to { transform: scale(1); } }

/* Elsewhere Labs mark intro */
.intro-mark .tile { fill: #1b1850; stroke: rgba(255,255,255,.35); }
.intro-mark path.draw.p1 { stroke: url(#ig); stroke-width: 12; stroke-dasharray: 170; stroke-dashoffset: 170; animation: draw .8s .25s ease forwards; }
.intro-mark .pop { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: badgePop .5s cubic-bezier(.2,1.6,.4,1) forwards; }
.intro-mark .pop.dot { animation-delay: .75s; } .intro-mark .pop.planet { animation-delay: 1s; }

.hero h1 .line { padding-bottom: .14em; margin-bottom: -.14em; }

.intro-word span:nth-child(n+11) { font-weight: 600; }

/* What we make: category cards */
.cats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cat { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 1px 2px #14182810, 0 10px 30px #14182808; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 18px 44px #4f46e526; }
.cat-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(135deg, #5b4cf0, #1d4ed8); box-shadow: 0 8px 20px #4f46e540; }
.cat-icon svg { width: 30px; height: 30px; }
.cat .tag { align-self: flex-start; }
.cat h3 { margin: 10px 0 8px; font-size: 24px; letter-spacing: -.02em; }
.cat > p { margin: 0 0 20px; color: var(--muted); }
.prod { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .15s ease, background .15s ease; }
.prod:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.prod img, .prod .mono { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.prod .mono { display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, #f43f5e, #f97316); }
.prod span:nth-of-type(2), .prod > span:last-of-type { display: grid; }
.prod strong { font-size: 16px; } .prod small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.prod > span:nth-child(2) { flex: 1; display: grid; }
.prod em { font-style: normal; font-weight: 800; color: var(--accent); transition: transform .15s ease; }
.prod:hover em { transform: translateX(4px); }
.more-soon { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cat > .more-soon { margin-top: 12px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips-row span { padding: 5px 14px; font-size: 13px; font-weight: 600; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.cat-icon .eq { transform-box: fill-box; transform-origin: center; animation: eq 1.1s ease-in-out infinite alternate; }
.cat-icon .e2 { animation-delay: -.3s; } .cat-icon .e3 { animation-delay: -.7s; } .cat-icon .e4 { animation-delay: -.5s; } .cat-icon .e5 { animation-delay: -.9s; }
@keyframes eq { from { transform: scaleY(.45); } to { transform: scaleY(1.1); } }
@media (prefers-reduced-motion: reduce) { .cat-icon .eq { animation: none; } }

/* Blueprint section */
#products.blueprint { position: relative; color: #eaf0ff; padding: 88px 0 96px; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px) 0 0 / 120px 120px,
    radial-gradient(900px 520px at 12% 0%, #3b78ff55, transparent 62%),
    linear-gradient(165deg, #091d5e, #0d3a9a 58%, #08266f); }
#products.blueprint::before { content: ""; position: absolute; inset: 20px; border: 1px dashed rgba(255,255,255,.28); border-radius: 8px; pointer-events: none; }
#products.blueprint::after { content: "FIG. 01  /  WHAT WE DO"; position: absolute; top: 32px; right: 38px; font: 600 11px ui-monospace, "Cascadia Mono", monospace; letter-spacing: .22em; color: rgba(255,255,255,.55); }
#products.blueprint .wrap { position: relative; z-index: 1; }
#products.blueprint h2 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); }
#products.blueprint .lede { color: #bcd0ff; }
#products.blueprint .cat { background: rgba(7, 22, 84, .55); border: 1px solid rgba(160, 190, 255, .38); box-shadow: none; backdrop-filter: blur(2px); }
#products.blueprint .cat:hover { border-color: #9ec1ff; box-shadow: 0 18px 44px #00103a66; background: rgba(9, 30, 108, .65); }
#products.blueprint .cat h3 { color: #fff; }
#products.blueprint .cat > p { color: #c3d3ff; }
#products.blueprint .cat-icon { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.6); box-shadow: none; }
#products.blueprint .tag { color: #cfe0ff; background: rgba(255,255,255,.12); }
#products.blueprint .prod { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
#products.blueprint .prod:hover { background: rgba(255,255,255,.13); border-color: #9ec1ff; }
#products.blueprint .prod strong { color: #fff; } #products.blueprint .prod small { color: #b6c8f5; } #products.blueprint .prod em { color: #9ec1ff; }
#products.blueprint .more-soon { color: #a9bdf0; }
#products.blueprint .chips-row span { color: #dce8ff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
@media (max-width: 640px) { #products.blueprint::after { display: none; } }

.cat .tag { display: inline-block; padding: 4px 13px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; }

/* Bottom pills: same height, same line in every card */
.cat > .prod, .cat > .chips-row { margin-top: auto; height: 78px; box-sizing: border-box; }
.cat > .prod { padding-top: 0; padding-bottom: 0; }
.cat > .chips-row { align-items: center; align-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--accent) 8%, transparent); }
#products.blueprint .cat > .chips-row { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.cat > .chips-row span { padding: 4px 12px; font-size: 12.5px; }

/* ---------- One continuous midnight theme (no white sections) ---------- */
:root, :root { --bg:#0a1640; --card:rgba(255,255,255,.06); --fg:#eef2ff; --muted:#b4c0e8; --line:rgba(160,190,255,.22); --accent:#8fa6ff; --accent2:#5b9bff; color-scheme: dark; }
body { background: radial-gradient(1100px 600px at 90% 0%, #2a3fb355, transparent 60%), radial-gradient(900px 600px at 0% 100%, #1b3fa044, transparent 60%), #0a1640; background-attachment: fixed; color: var(--fg); }
.hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:140px; background:linear-gradient(to bottom, transparent, #0a1640); pointer-events:none; z-index:0; }
.card, .cat { background: var(--card); border-color: var(--line); box-shadow: none; backdrop-filter: blur(2px); }
.card:hover { box-shadow: 0 14px 36px #00104a66; }
.card.soon { background: transparent; }
.shots img { border-color: var(--line); box-shadow: 0 14px 40px #00104a80; }
.prose table td { border-color: var(--line); }
.prose a, .card a, footer a:hover { color: #b9c8ff; }
footer { border-top-color: var(--line); background: rgba(5,12,40,.45); }
#about, #contact { position: relative; }
#products.blueprint { margin-bottom: 0; }

/* ---------- Navigation flow ---------- */
nav { position: sticky; top: 0; z-index: 60; background: rgba(10,22,64,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(160,190,255,.14); padding-left: 20px; padding-right: 20px; max-width: none; }
nav .links a { opacity: .85; color: #fff; padding: 6px 2px; }
nav .links a:hover { opacity: 1; color: #fff; }
body > .wrap:first-child { display: contents; }
nav .brand { color: #fff; }
.back { display: inline-block; margin-top: 28px; padding: 7px 16px; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); transition: background .15s ease, transform .15s ease; }
.back:hover { background: rgba(255,255,255,.24); transform: translateX(-3px); }
.back.dark { margin: 0 0 18px; color: #dce6ff; }
.ext-lockup { margin-top: 28px; }
@media (max-width: 560px) { nav .links { gap: 12px; font-size: 14px; } .brand { font-size: 16px; } }

.hero nav.wrap, nav.wrap, nav { position: sticky !important; top: 0; }

/* fixed top bar */
nav, .hero nav.wrap, nav.wrap { position: fixed !important; top: 0; left: 0; right: 0; width: 100%; box-sizing: border-box; padding-left: max(20px, calc((100% - 1040px) / 2 + 20px)); padding-right: max(20px, calc((100% - 1040px) / 2 + 20px)); }
.hero .wrap { padding-top: 76px; }
.prose { padding-top: 112px; }

av, .hero nav.wrap, nav.wrap { padding-top: 14px !important; padding-bottom: 14px !important; }

/* ---------- Mobile ---------- */
.brand { white-space: nowrap; }
@media (max-width: 560px) {
  nav .links a[href="index.html"] { display: none; }
  nav, .hero nav.wrap, nav.wrap { padding-left: 16px; padding-right: 16px; padding-top: 10px !important; padding-bottom: 10px !important; }
  .brand { font-size: 15px; gap: 8px; } .brand img { width: 28px; height: 28px; }
  nav .links { gap: 14px; font-size: 14px; }
  .hero .wrap { padding-top: 64px; }
  .hero h1 { margin-top: 36px; }
  .hero::after { height: 70px; }
  .ext-lockup { gap: 12px; margin-top: 20px; } .ext-lockup img { width: 64px; height: 64px; border-radius: 17px; }
  .prose { padding-top: 96px; }
  section { padding: 48px 0; }
  #products.blueprint { padding: 64px 0 72px; }
  #products.blueprint::before { inset: 10px; }
}

@media (max-width: 560px) { nav { gap: 14px; } .brand { font-size: 14px; } nav .links { gap: 12px; font-size: 13.5px; } }

nav, .hero nav.wrap, nav.wrap { background: rgba(10,22,64,.94) !important; }

/* nav must sit above every section (hero creates the stacking context the fixed nav lives in) */
.hero { z-index: 60; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 430px) {
  nav .links a[href="elsewhere.html"] { display: none; }
  nav .links { gap: 16px; }
}

nav, .hero nav.wrap, nav.wrap { background: #0a1640 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* full-width fixed bar on wide screens (nav also carries .wrap, which caps width and centers) */
nav, nav.wrap, .hero nav.wrap { max-width: none !important; width: 100% !important; margin: 0 !important; left: 0 !important; right: 0 !important; }

/* ---------- Swagger Games page ---------- */
.sg-badge { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; font-weight: 800; font-size: 32px; letter-spacing: -.02em; color: #fff; background: linear-gradient(135deg, #f43f5e, #f97316); box-shadow: 0 14px 36px #0004, 0 0 0 1px #ffffff33; flex: none; }
.game { position: relative; margin: 0 0 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: 0 18px 50px #00104a40; }
.game::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--game, var(--accent)); z-index: 2; }
.game-head { display: flex; align-items: center; gap: 18px; padding: 28px 28px 20px; }
.game-head img { width: 84px; height: 84px; border-radius: 22px; flex: none; box-shadow: 0 10px 26px #0005, 0 0 0 1px #ffffff26; }
.game-head h3 { margin: 6px 0 0; font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.game-sub { margin: 4px 0 0 !important; color: var(--muted); font-weight: 600; }
.game-feature { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover; }
.game-body { padding: 28px; }
.game-copy > p { margin: 0 0 18px; font-size: 18px; color: #dbe5ff; max-width: 46em; }
.game-feats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.game-feats li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.game-feats li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--game, var(--accent)); box-shadow: 0 0 12px var(--game, var(--accent)); }
.game-feats strong { color: #fff; }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 22px 0 28px; }
.game-actions .btn { margin-top: 0; }
.game-link { font-weight: 700; color: #b9c8ff; text-decoration: none; border-bottom: 1px solid #b9c8ff66; }
.game-link:hover { color: #fff; border-color: #fff; }
.game-shots { display: grid; gap: 14px; }
.game-shots.portrait { grid-template-columns: repeat(4, 1fr); }
.game-shots.landscape { grid-template-columns: repeat(2, 1fr); }
.game-shots img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 10px 28px #00104a66; background: #0a1640; }
@media (max-width: 760px) {
  .game-head { padding: 22px 18px 16px; gap: 14px; } .game-head img, .sg-badge { width: 64px; height: 64px; border-radius: 17px; } .sg-badge { font-size: 24px; }
  .game-body { padding: 20px 18px 22px; }
  .game-shots.portrait { grid-template-columns: repeat(2, 1fr); }
  .game-shots.landscape { grid-template-columns: 1fr; }
  .game-feats { grid-template-columns: 1fr; }
  .game-copy > p { font-size: 17px; }
}

.game-head .tag { display: inline-block; padding: 4px 13px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #cfe0ff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
