/* Pixel DNS public site: white and blue, with a pixel-art layer (bitmap labels,
   sprites, notched 8-bit buttons, pixel grids). Motion is transform/opacity only
   and stops under prefers-reduced-motion. */

.site {
  --ink: #0a1540; --ink-2: #39456b; --ink-3: #6a7598;
  --blue: #2451ff; --blue-d: #1636c9; --blue-dd: #0f2596; --sky: #7cb2ff; --ice: #eef4ff; --ice-2: #dfe9ff;
  --line: #e2e8f5; --px: 4px;
  background: #fff; color: var(--ink);
}
.site h1, .site h2, .site h3 { color: var(--ink); letter-spacing: -.015em; text-wrap: balance; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }
html { scroll-behavior: smooth; }
main section { scroll-margin-top: 72px; }

/* ---------- pixel primitives ---------- */
.px-text { display: block; height: 100%; width: auto; }
.px-sprite { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.px-label { display: inline-flex; align-items: center; height: 26px; padding: 7px 10px; background: var(--ice); color: var(--blue); direction: ltr;
  box-shadow: 0 calc(var(--px) * -1) 0 0 var(--ice), 0 var(--px) 0 0 var(--ice); margin-block: var(--px); }
.px-label.px-dark { background: var(--ink); color: #fff; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink); height: 20px; padding: 5px 7px; margin-block: 3px; }
.px-label.px-light { background: rgba(255, 255, 255, .12); color: #cfe0ff; box-shadow: 0 calc(var(--px) * -1) 0 0 rgba(255, 255, 255, .12), 0 var(--px) 0 0 rgba(255, 255, 255, .12); }

/* the 8-bit button: square body, notched corners from four offset shadows,
   a darker "ledge" underneath that the press sinks into */
.pbtn { --c: var(--blue); --e: var(--blue-dd); --t: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  margin: var(--px); font-weight: 900; font-size: 1.02rem; color: var(--t); background: var(--c); border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: var(--px) 0 0 0 var(--c), calc(var(--px) * -1) 0 0 0 var(--c), 0 var(--px) 0 0 var(--c), 0 calc(var(--px) * -1) 0 0 var(--c), 0 calc(var(--px) * 2) 0 0 var(--e);
  transition: transform .1s steps(2), box-shadow .1s steps(2), background .15s; }
.pbtn:hover { --c: var(--blue-d); color: var(--t); }
.pbtn:active { transform: translateY(var(--px)); box-shadow: var(--px) 0 0 0 var(--c), calc(var(--px) * -1) 0 0 0 var(--c), 0 var(--px) 0 0 var(--c), 0 calc(var(--px) * -1) 0 0 var(--c); }
.pbtn-ghost { --c: #fff; --e: var(--ink); --t: var(--ink); outline: 3px solid var(--ink); outline-offset: -3px; }
.pbtn-ghost:hover { --c: var(--ice); color: var(--ink); }
.pbtn-light { --c: #fff; --e: #9db8ff; --t: var(--blue-d); }
.pbtn-light:hover { --c: var(--ice); color: var(--blue-d); }
.pbtn-sm { min-height: 38px; padding: 8px 16px; font-size: .92rem; --px: 3px; }
.lnk { font-weight: 800; color: var(--ink-2); padding: 10px 12px; }
.lnk:hover { color: var(--blue); }

/* stepped (pixel) corners for cards */
.notch { clip-path: polygon(0 12px, 6px 12px, 6px 6px, 12px 6px, 12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px,
  100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px), calc(100% - 12px) 100%,
  12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px)); }

/* ---------- nav: a floating bar framed like the rest of the pixel UI ---------- */
.nav { position: sticky; top: 0; z-index: 30; padding: 12px 0 6px; background: linear-gradient(#fff 60%, rgba(255, 255, 255, 0)); }
.nav-bar { position: relative; display: flex; align-items: center; gap: 26px; height: 64px; padding: 0 12px 0 18px; background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ice-2); transition: box-shadow .2s steps(2); }
.nav.scrolled .nav-bar { box-shadow: 6px 6px 0 var(--sky); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.logo-mark { width: 32px; height: 32px; display: grid; place-items: center; flex: none; }
.logo-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo.has-img .logo-mark { width: auto; min-width: 32px; max-width: 150px; height: 36px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; color: var(--ink-2); font-weight: 800; padding: 8px 12px; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 4px; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px); transform: scaleX(0); transform-origin: right; transition: transform .2s steps(4); }
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--ice); position: relative; cursor: pointer; }
.burger span { position: absolute; inset-inline: 12px; height: 3px; background: var(--ink); transition: transform .2s steps(3), top .2s steps(3); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 26px; overflow: hidden; background:
  linear-gradient(#fff, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, #fff),
  linear-gradient(90deg, var(--ice) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(var(--ice) 1px, transparent 1px) 0 0 / 24px 24px; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hero-grid i { position: absolute; width: 12px; height: 12px; background: var(--sky); opacity: 0; animation: blink var(--t, 4s) var(--dl, 0s) steps(1) infinite; }
@keyframes blink { 0%, 100% { opacity: 0; } 30%, 60% { opacity: var(--o, .5); } }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 36px; align-items: center; min-height: 590px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.note { font-weight: 800; font-size: .9rem; color: var(--blue-d); }
.note::before { content: "●"; font-size: .7em; margin-inline-end: 6px; color: var(--blue); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.24; font-weight: 900; margin: 0 0 18px; }
.hero h1 .mark { position: relative; white-space: nowrap; color: var(--blue); z-index: 0; }
.hero h1 .mark::after { content: ""; position: absolute; z-index: -1; inset-inline: -2px; bottom: .02em; height: 12px;
  background: repeating-linear-gradient(90deg, var(--ice-2) 0 12px, #c9dbff 12px 24px); transform: scaleX(0); transform-origin: right; animation: wipe .6s .45s steps(8) forwards; }
@keyframes wipe { to { transform: scaleX(1); } }
.hero-sub { font-size: 1.12rem; line-height: 2.05; color: var(--ink-2); max-width: 540px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.proof { list-style: none; padding: 0; margin: 38px 0 0; display: flex; }
.proof li { display: flex; flex-direction: column; padding-inline: 22px; border-inline-start: 3px dotted var(--ice-2); }
.proof li:first-child { padding-inline-start: 0; border: 0; }
.proof b { font-size: 1.55rem; font-weight: 900; color: var(--ink); }
.proof span { font-size: .85rem; color: var(--ink-3); font-weight: 700; }
.hero-copy > * { animation: up .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

/* the curved stage */
.stage { position: relative; height: 590px; }
/* the backdrop: a smooth blob that slowly changes shape, a pale halo that
   follows it and a thin ring; all three move together, slowly */
.backdrop { position: absolute; inset: 44px 10px 40px 10px; }
.blob, .blob-halo, .blob-ring { position: absolute; border-radius: 62% 38% 44% 56% / 48% 58% 42% 52%; }
.blob { inset: 6% 8% 4% 6%; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 28% 22%, rgba(140, 176, 255, .95) 0%, transparent 70%),
    radial-gradient(70% 60% at 82% 92%, #0d2290 0%, transparent 72%),
    linear-gradient(150deg, #3b6bff 0%, #2350f5 45%, #1636c9 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 18px 26px 60px rgba(255, 255, 255, .16), 0 44px 70px -40px rgba(22, 54, 201, .8);
  animation: morph 22s ease-in-out infinite alternate; will-change: border-radius; }
.blob-halo { inset: 0 2% 0 0; background: linear-gradient(160deg, #e3ebff, #c8d7ff); opacity: .85;
  animation: morph 22s ease-in-out infinite alternate; }
.blob-ring { inset: -2% -1% 1% -3%; border: 2px solid rgba(47, 91, 255, .28);
  animation: morph 22s ease-in-out infinite alternate; }
.blob-grid { position: absolute; inset: 0; opacity: .2; background:
  linear-gradient(90deg, rgba(255, 255, 255, .4) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(rgba(255, 255, 255, .4) 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: radial-gradient(circle at 70% 80%, #000, transparent 68%); -webkit-mask-image: radial-gradient(circle at 70% 80%, #000, transparent 68%); }
.blob-shine { position: absolute; width: 34%; height: 22%; top: 9%; left: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); transform: rotate(-24deg); }
@keyframes morph {
  0% { border-radius: 62% 38% 44% 56% / 48% 58% 42% 52%; }
  33% { border-radius: 44% 56% 60% 40% / 58% 42% 58% 42%; }
  66% { border-radius: 56% 44% 36% 64% / 44% 62% 38% 56%; }
  100% { border-radius: 50% 50% 42% 58% / 38% 56% 44% 62%; }
}
@media (prefers-reduced-motion: reduce) { .blob, .blob-halo, .blob-ring { animation: none; } }
.blob-word { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); direction: ltr; font-weight: 900; font-size: clamp(3.6rem, 8vw, 7.2rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .32); white-space: nowrap; text-transform: uppercase; pointer-events: none; max-width: 86%; overflow: hidden; }
.slides { position: absolute; z-index: 2; inset: 0 0 34px 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(30px) scale(.94); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.slide.on { opacity: 1; transform: none; pointer-events: auto; }
.slide.off { transform: translateY(-20px) scale(.97); }
.slide .char { max-height: 108%; max-width: 92%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 24px rgba(10, 21, 64, .45)); }
.slide .char-fallback { width: 36%; margin-bottom: 26%; animation: float 4s ease-in-out infinite; }
.slide .tag { position: absolute; bottom: 18px; inset-inline-start: 5%; background: #fff; color: var(--ink); padding: 10px 16px; filter: drop-shadow(5px 5px 0 var(--ink)); max-width: 70%; display: block; }
a.tag:hover { color: var(--blue); }
.slide .tag em { display: block; font-style: normal; font-size: .78rem; font-weight: 900; color: var(--blue); margin-top: 4px; }
.slide .tag b { display: block; font-weight: 900; font-size: 1.05rem; }
.slide .tag span { font-size: .8rem; color: var(--ink-3); font-weight: 700; }
.spr { position: absolute; display: block; z-index: 3; }
.spr-heart { width: 44px; top: 130px; inset-inline-start: 0; animation: hop 3s steps(4) infinite; }
.spr-star { width: 34px; top: 50px; inset-inline-start: 47px; animation: float 4.5s .6s ease-in-out infinite; }
.spr-coin { width: 34px; bottom: 150px; inset-inline-end: 2px; animation: spin-y 1.6s steps(6) infinite; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin-y { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.2); } }
.hud { background: #fff; color: var(--ink); filter: drop-shadow(5px 5px 0 var(--blue)); }
.hud-player { position: absolute; z-index: 3; top: 66px; inset-inline-end: 22px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-weight: 900; filter: drop-shadow(5px 5px 0 var(--ink)); }
.hud-player #now-playing { direction: ltr; }
.hud-ping { padding: 12px 14px; width: 210px; }
.hud-row { display: flex; justify-content: space-between; align-items: center; }
.hud-ping b { direction: ltr; font-size: 1.35rem; font-weight: 900; } .hud-ping small { color: var(--ink-3); margin-left: 2px; }
.segbar { display: flex; gap: 3px; margin: 10px 0 8px; direction: ltr; }
.segbar i { flex: 1; height: 10px; background: var(--ice-2); }
.segbar i.on { background: var(--blue); }
.hud-ping em { font-style: normal; font-size: .78rem; font-weight: 800; color: var(--blue-d); }
.stage-ui { position: absolute; z-index: 3; bottom: 0; inset-inline-end: calc(30% - 76px); display: flex; align-items: center; gap: 10px; background: #fff; padding: 6px; filter: drop-shadow(5px 5px 0 var(--ink)); }
.nav-arrow { width: 40px; height: 40px; border: 0; background: var(--ice); display: grid; place-items: center; cursor: pointer; }
.nav-arrow:hover { background: var(--blue); } .nav-arrow:hover svg { stroke: #fff; }
.nav-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: square; }
.dots { display: flex; gap: 5px; direction: ltr; }
.dots button { width: 14px; height: 14px; border: 0; background: var(--ice-2); cursor: pointer; padding: 0; position: relative; overflow: hidden; transition: width .25s steps(4); }
.dots button[aria-selected="true"] { width: 42px; }
.dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left; animation: fill var(--dur, 5s) steps(12) forwards; }
.stage.paused .dots button::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } }

.platforms { position: relative; z-index: 1; margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 20px; align-items: center; background: #fff; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ice-2); padding: 18px 20px; }
.plat-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.plat-head b { font-size: 1.15rem; font-weight: 900; }
.plat-head > span:last-child { font-size: .85rem; color: var(--ink-3); font-weight: 700; }
.plat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.plat-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 6px; background: var(--ice); text-align: center; transition: transform .15s steps(2), background .15s; }
.plat-grid li:hover { transform: translateY(-4px); background: var(--ice-2); }
.plat-grid .spr { position: static; width: 40px; height: 34px; display: flex; align-items: flex-end; justify-content: center; }
.plat-grid .spr svg { width: auto; max-width: 100%; height: 100%; }
.plat-grid b { font-size: .88rem; font-weight: 800; color: var(--ink); line-height: 1.4; }

/* ---------- shared section header ---------- */
.sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-top.center { justify-content: center; text-align: center; }
.sec-top h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; margin: 12px 0 10px; line-height: 1.35; }
.sec-top p { margin: 0; color: var(--ink-2); max-width: 580px; font-size: 1.02rem; }
.sec-top.center p { margin-inline: auto; }

/* ---------- games ---------- */
.games-sec { position: relative; padding: 70px 0 50px; margin-top: 60px; color: #fff; background:
  linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 24px 24px, var(--ink); }
.games-sec::before, .games-sec::after { content: ""; position: absolute; inset-inline: 0; height: 24px;
  background: linear-gradient(90deg, var(--ink) 50%, transparent 50%) 0 0 / 48px 24px; }
.games-sec::before { top: -24px; } .games-sec::after { bottom: -24px; transform: scaleY(-1); background-position: 24px 0; }
.games-sec h2 { color: #fff; }
.games-sec .sec-top p { color: #aab6da; }
.games-sec .sec-top { margin-bottom: 26px; }
.games-side { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.count-tag { background: rgba(255, 255, 255, .08); color: #cfd8f5; font-weight: 800; padding: 10px 16px; }
.count-tag b { color: #fff; font-size: 1.3rem; margin-inline-end: 4px; }
.marquee { position: relative; overflow: hidden; direction: ltr; padding: 8px 0 18px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 22px; width: max-content; animation: roll var(--roll, 60s) linear infinite; padding-inline: 11px; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }
.gm { width: 168px; flex: none; direction: rtl; }
.gm .frame { position: relative; isolation: isolate; transition: transform .2s steps(3); }
.gm .frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translate(6px, 6px); transition: transform .2s steps(3);
  clip-path: polygon(0 12px, 6px 12px, 6px 6px, 12px 6px, 12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px)); }
.gm:hover .frame { transform: translate(-3px, -3px); }
.gm:hover .frame::after { transform: translate(9px, 9px); }
.gm .play { position: absolute; bottom: 10px; right: 10px; height: 20px; padding: 5px 7px; background: #fff; color: var(--blue); z-index: 2; opacity: 0; transition: opacity .2s; }
.gm:hover .play { opacity: 1; }
.gm .meta { margin-top: 12px; }
.gm .meta b { display: block; font-weight: 900; direction: ltr; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm .meta span { color: #8e9cc6; font-size: .8rem; font-weight: 700; }
.gm:hover .poster::before { opacity: 1; }
.poster { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--blue-dd); isolation: isolate; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(rgba(10, 21, 64, .12) 0 2px, transparent 2px 4px); opacity: 0; transition: opacity .2s; }
.poster.gen { --pc: #2451ff; background: linear-gradient(165deg, color-mix(in srgb, var(--pc) 70%, #2451ff) 0%, #0f2596 75%); }
.poster.gen .gl { position: absolute; top: 6%; left: 8%; width: 46%; opacity: .22; color: #fff; }
.poster.gen .gn { position: absolute; z-index: 1; inset-inline: 12px; bottom: 12px; direction: ltr; text-align: left; font-weight: 900; font-size: 1.15rem; line-height: 1.05; text-transform: uppercase; color: #fff; }
.poster.gen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 12px 12px; }
.poster .hot { position: absolute; z-index: 2; top: 10px; right: 10px; background: #fff; color: var(--blue); height: 20px; padding: 5px 7px; }

/* ---------- how: level map ---------- */
.how { padding: 110px 0 80px; }
.levels { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 34px; }
.levels .path { position: absolute; inset: 0 0 auto; width: 100%; height: 120px; overflow: visible; }
.levels .path path { fill: none; stroke: var(--ice-2); stroke-width: 6; stroke-dasharray: 6 10; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -32; } }
.lv { position: relative; background: #fff; border: 3px solid var(--ink); padding: 44px 22px 24px; box-shadow: 8px 8px 0 var(--ice-2); transition: transform .2s steps(3), box-shadow .2s steps(3), opacity .6s var(--ease) var(--d, 0s); }
.lv:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--sky); }
.lv-tag { position: absolute; top: -17px; inset-inline-start: 18px; height: 30px; padding: 8px 12px; background: var(--blue); color: #fff; box-shadow: 0 4px 0 var(--blue-dd); }
.lv .spr { position: absolute; top: 20px; inset-inline-end: 20px; width: 44px; }
.lv h3 { font-size: 1.25rem; font-weight: 900; margin: 0 0 8px; }
.lv p { margin: 0; color: var(--ink-2); line-height: 1.95; }
.lv-boss { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 8px 8px 0 var(--ink); }
.lv-boss:hover { box-shadow: 12px 12px 0 var(--ink); }
.lv-boss h3 { color: #fff; } .lv-boss p { color: #dbe6ff; }
.lv-boss .lv-tag { background: #fff; color: var(--blue); box-shadow: 0 4px 0 var(--ink); }
.dns-chip { display: flex; align-items: center; margin-top: 16px; background: #fff; }
.dns-chip span { flex: 1; padding: 10px 14px; direction: ltr; text-align: left; font-weight: 900; font-size: 1.15rem; color: var(--ink); }
.dns-chip button { border: 0; align-self: stretch; padding: 0 16px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.dns-chip button:hover { background: var(--blue-dd); }
.dns-go span { direction: rtl; text-align: start; font-size: 1rem; }
.dns-go b { align-self: stretch; display: grid; place-items: center; padding: 0 16px; background: var(--ink); color: #fff; font-size: 1.3rem; }
.dns-go:hover b { background: var(--blue-dd); }

/* ---------- perks ---------- */
.perks-sec { padding: 40px 0 80px; }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.perk { background: var(--ice); padding: 24px; transition: transform .2s steps(3), opacity .6s var(--ease) var(--d, 0s); }
.perk:hover { transform: translateY(-4px); }
.perk .spr { position: static; width: 42px; margin-bottom: 16px; }
.perk h3 { font-size: 1.1rem; font-weight: 900; margin: 0 0 8px; }
.perk p { margin: 0; color: var(--ink-2); line-height: 1.95; font-size: .95rem; }
.perk-hero { grid-column: span 2; grid-row: span 2; background: var(--blue); color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.perk-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 20px 20px; }
.perk-hero h3 { color: #fff; font-size: 1.9rem; margin: 14px 0 10px; }
.perk-hero p { color: #dbe6ff; font-size: 1rem; }
.perk-hero > * { position: relative; z-index: 1; }
.versus { margin-top: auto; padding-top: 26px; display: grid; gap: 14px; }
.vs-row { display: grid; grid-template-columns: 96px 1fr 64px; align-items: center; gap: 12px; font-weight: 800; font-size: .92rem; }
.vs-row b { direction: ltr; text-align: left; }
.segs { display: flex; gap: 3px; direction: ltr; }
.segs i { flex: 1; height: 16px; background: rgba(255, 255, 255, .18); transition: background 0s var(--dl, 0s); }
.segs.bad { --c: #ff8fa3; } .segs.good { --c: #fff; }
.perk-hero.in .segs i.on { background: var(--c); }
.fine { display: block; margin-top: 14px; font-size: .75rem; color: #b8cbff; }

/* ---------- plans: tall select cards ---------- */
.plans-sec { padding: 80px 0; background: linear-gradient(180deg, var(--ice), #fff); }
.plans { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.plan { position: relative; width: 300px; min-height: 520px; display: flex; flex-direction: column; background: #fff; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ice-2);
  transition: transform .2s steps(3), box-shadow .2s steps(3), opacity .6s var(--ease) var(--d, 0s); }
.plan:hover { transform: translate(-5px, -5px); box-shadow: 15px 15px 0 var(--sky); }
.plan-head { position: relative; height: 150px; background: var(--ice); display: grid; place-items: center; overflow: hidden; border-bottom: 3px solid var(--ink); }
.plan-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 81, 255, .08) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(rgba(36, 81, 255, .08) 1px, transparent 1px) 0 0 / 16px 16px; }
.plan-head .spr { position: relative; width: 64px; animation: hop 3s steps(4) infinite; }
.plan-head .tier { position: absolute; top: 12px; inset-inline-start: 12px; height: 22px; padding: 6px 8px; background: var(--ink); color: #fff; }
.plan-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.plan h3 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.plan .desc { color: var(--ink-3); font-size: .9rem; min-height: 1.5em; margin-top: 4px; }
.plan .price { font-size: 2.3rem; font-weight: 900; margin: 16px 0 0; letter-spacing: -.02em; color: var(--ink); }
.plan .price small { font-size: .9rem; font-weight: 800; color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ink-2); }
.plan li::before { content: ""; width: 8px; height: 8px; background: var(--blue); flex: none; box-shadow: 0 0 0 2px var(--ice-2); }
.plan .pbtn { margin-top: auto; width: calc(100% - 8px); }
.plan.feat { border-color: var(--blue); box-shadow: 10px 10px 0 var(--ink); transform: translateY(-14px); }
.plan.feat:hover { transform: translate(-5px, -19px); box-shadow: 15px 15px 0 var(--ink); }
.plan.feat .plan-head { background: var(--blue); border-color: var(--blue); }
.plan.feat .plan-head::before { background: linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 16px 16px; }
.plan.feat .tier { background: #fff; color: var(--blue); }
.plan .ribbon { position: absolute; top: 12px; inset-inline-end: 12px; background: #fff; color: var(--blue); font-weight: 900; font-size: .78rem; padding: 3px 10px; filter: drop-shadow(3px 3px 0 var(--ink)); }
.plans-empty { color: var(--ink-3); }
#trial-note.gift { display: inline-block; margin-top: 12px; background: var(--blue); color: #fff; font-weight: 900; padding: 6px 14px; box-shadow: 0 4px 0 var(--blue-dd); }

/* ---------- faq ---------- */
.faq-sec { padding: 80px 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 50px; align-items: start; }
.faq-side h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; margin: 12px 0 10px; }
.faq-side p { color: var(--ink-2); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--ice); transition: background .15s; }
.faq details[open] { background: #fff; outline: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ice-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 900; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 900; }
.faq details[open] summary::after { content: "−"; background: var(--ink); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); line-height: 2; }

/* ---------- final + footer ---------- */
.final { padding: 10px 0 80px; }
.final-in { position: relative; overflow: hidden; background: var(--blue); padding: 60px 28px; text-align: center; color: #fff; }
.final-in::before { content: ""; position: absolute; inset: 0; opacity: .6; background: linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 24px 24px; }
.final-in > * { position: relative; }
.final h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin: 14px 0 8px; }
.final p { color: #dbe6ff; margin: 0 0 26px; font-size: 1.05rem; }
.spr-f1 { position: absolute !important; width: 54px; top: 26px; inset-inline-start: 8%; animation: hop 3s steps(4) infinite; }
.spr-f2 { position: absolute !important; width: 50px; bottom: 30px; inset-inline-end: 9%; animation: hop 3.4s .5s steps(4) infinite; }
.foot { position: relative; margin-top: 60px; padding: 64px 0 22px; color: #cfd8f5; background:
  linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 24px 24px, var(--ink); }
.foot::before { content: ""; position: absolute; inset-inline: 0; top: -24px; height: 24px; background: linear-gradient(90deg, var(--ink) 50%, transparent 50%) 0 0 / 48px 24px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot .logo { color: #fff; }
.foot-brand p { color: #aab6da; line-height: 2; margin: 14px 0 16px; max-width: 360px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s, transform .15s steps(2); }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { color: #fff; font-weight: 900; margin-bottom: 4px; }
.foot-col a { color: #aab6da; font-weight: 700; width: fit-content; }
.foot-col a:hover { color: #fff; }
.foot-cta p { color: #aab6da; margin: 0 0 8px; font-size: .92rem; line-height: 1.9; }
.foot-cta .pbtn { width: fit-content; }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 2px dashed rgba(255, 255, 255, .12); font-size: .8rem; color: #8e9cc6; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease) var(--d, 0s), transform .6s var(--ease) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 16px; }
  .stage { height: 480px; width: 100%; max-width: 560px; margin-inline: auto; }
  .stage { order: -1; }  /* single column: the character leads, the copy follows */
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .hero-copy { margin-top: 8px; }
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .levels { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .levels .path { display: none; }
}
@media (max-width: 720px) {
  .nav-links { position: absolute; top: 74px; inset-inline: 12px; flex-direction: column; background: #fff; border: 3px solid var(--ink); padding: 8px; box-shadow: 6px 6px 0 var(--ice-2); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .15s, transform .15s steps(2); }
  .nav-links a { padding: 12px 14px; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-cta .lnk { display: none; }
  .burger { display: inline-block; }
  .nav-bar { gap: 10px; height: 58px; padding: 0 8px 0 12px; }
  .games-side { width: 100%; justify-content: space-between; }
  .hud-ping { width: 170px; }
  /* hero on a phone: copy first, then a self-contained stage whose HUD sits
     above the curve and whose controls sit below it, so nothing overlaps */
  .hero { padding: 18px 0 10px; }
  .hero-kicker { margin-bottom: 12px; }
  .hero h1 { font-size: 2.05rem; line-height: 1.32; margin-bottom: 12px; }
  .hero-sub { font-size: 1rem; line-height: 1.9; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .pbtn { width: calc(100% - 8px); min-height: 50px; }
  .proof { margin-top: 24px; justify-content: space-between; }
  .proof li { padding-inline: 10px; } .proof b { font-size: 1.15rem; } .proof span { font-size: .75rem; }
  .stage { height: 420px; margin-top: 0; max-width: 440px; }
  .backdrop { inset: 40px 4px 34px 4px; }
  .hud-player { top: 52px; inset-inline-end: 14px; padding: 6px 10px; font-size: .85rem; }
  .slides { inset: 0 0 30px 0; }
  .slide .tag { bottom: 14px; inset-inline-start: 4%; padding: 6px 10px; }
  .slide .tag b { font-size: .95rem; }
  .spr-star { width: 28px; top: 42px; inset-inline-start: 32px; }
  .stage-ui { inset-inline: auto calc(30% - 62px); margin-inline: 0; width: max-content; bottom: 0; }
  .nav-arrow { width: 36px; height: 36px; }
  .plat-grid { gap: 6px; }
  .plat-grid li { padding: 10px 2px; gap: 6px; }
  .plat-grid .spr { width: 30px; height: 26px; }
  .plat-grid b { font-size: .7rem; }
  .platforms { padding: 14px; gap: 12px; }
  .plat-head > span:last-child { display: none; }
  .gm { width: 132px; }
  .track { gap: 16px; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perk-hero { grid-column: auto; }
  .plans { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 8px 22px; margin-inline: -16px; padding-inline: 16px; }
  .plan { flex: none; width: 82%; scroll-snap-align: center; min-height: 500px; }
  .plan.feat { transform: none; } .plan.feat:hover { transform: translate(-5px, -5px); }
  .games-sec { padding: 56px 0 40px; }
  .final-in { padding: 46px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .mark::after { transform: none; }
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .segs i.on { background: var(--c); }
}

/* ---------- shared bits for server-rendered pages ---------- */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-inline-end: 6px; color: var(--sky); }
.crumbs a { color: var(--ink-2); } .crumbs a:hover { color: var(--blue); }
.wrap.narrow { width: min(820px, 100% - 32px); }

/* ---------- game page ---------- */
.gpage .g-hero { padding: 26px 0 50px; background:
  linear-gradient(#fff, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, #fff),
  linear-gradient(90deg, var(--ice) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(var(--ice) 1px, transparent 1px) 0 0 / 24px 24px; }
.g-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.g-copy h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; line-height: 1.3; margin: 14px 0 14px; }
.g-intro { font-size: 1.08rem; line-height: 2.05; color: var(--ink-2); margin: 0 0 18px; max-width: 580px; }
.g-badges { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.g-badges li { background: var(--ice); color: var(--blue-d); font-weight: 800; font-size: .85rem; padding: 6px 12px; }
.g-art { position: relative; }
.g-screen { position: relative; aspect-ratio: 4 / 4.2; display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--pc, #2451ff) 60%, #6f93ff) 0%, #1636c9 55%, #0a1540 100%); }
.g-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(rgba(10, 21, 64, .16) 0 2px, transparent 2px 5px); pointer-events: none; }
.g-char { position: relative; max-height: 96%; max-width: 92%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(10, 21, 64, .5)); }
.g-poster { width: 58%; margin-bottom: 12%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 8px 8px 0 var(--ink); }
.g-gen { align-self: center; color: #fff; font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.6rem); direction: ltr; text-transform: uppercase; padding: 20px; text-align: center; }
.hud-tag { position: absolute; top: 14px; inset-inline-start: -10px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; filter: drop-shadow(5px 5px 0 var(--ink)); }
.hud-tag b { direction: ltr; font-weight: 900; }
.g-feats { padding: 50px 0; }
.g-feats h2, .g-related h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin: 0 0 24px; }
.feat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.feat-grid li { background: var(--ice); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.feat-grid .spr { position: static; width: 36px; flex: none; }
.feat-grid p { margin: 0; font-weight: 700; color: var(--ink-2); line-height: 1.9; }
.g-body { padding: 20px 0 50px; }
.prose { font-size: 1.05rem; line-height: 2.1; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; font-weight: 900; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.25rem; font-weight: 900; margin: 1.4em 0 .5em; color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--blue); text-decoration: underline 2px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-inline-start: 24px; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--ice); border-inline-start: 5px solid var(--blue); color: var(--ink); font-weight: 700; }
.prose code { background: var(--ice); padding: 2px 6px; direction: ltr; unicode-bidi: embed; }
.prose hr { border: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--ice-2) 0 8px, transparent 8px 16px); margin: 2em 0; }
.g-related { padding: 30px 0 60px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.rel-grid .gm { width: auto; }
.rel-grid .gm .meta span { color: var(--ink-3); }
.more-link { margin-top: 24px; font-weight: 900; } .more-link a { color: var(--blue); }
.g-index { padding: 26px 0 60px; }
.g-index h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 900; margin: 12px 0 10px; }
.count-tag.light { background: var(--ice); color: var(--ink-2); } .count-tag.light b { color: var(--blue); }
a.gm { color: inherit; display: block; }
@media (max-width: 980px) {
  .g-hero-in { grid-template-columns: minmax(0, 1fr); }
  .g-art { order: -1; max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (max-width: 420px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* ---------- blog ---------- */
.prose img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: 8px; font-size: .88rem; color: var(--ink-3); text-align: center; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 2px solid var(--ice-2); padding: 10px 12px; text-align: start; vertical-align: top; }
.prose th, .prose thead td { background: var(--ice); color: var(--ink); font-weight: 900; }
.prose h4 { font-size: 1.08rem; font-weight: 900; margin: 1.2em 0 .4em; color: var(--ink); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 96px; }
.bpage .b-hero { padding: 26px 0 30px; background:
  linear-gradient(#fff, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, #fff),
  linear-gradient(90deg, var(--ice) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(var(--ice) 1px, transparent 1px) 0 0 / 24px 24px; }
.b-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 900; margin: 12px 0 10px; }
.b-intro { color: var(--ink-2); font-size: 1.05rem; line-height: 2; max-width: 640px; margin: 0; }
.b-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.b-cats a { background: var(--ice); color: var(--ink-2); font-weight: 800; font-size: .9rem; padding: 8px 14px; transition: background .15s; }
.b-cats a:hover { background: var(--ice-2); }
.b-cats a[aria-current] { background: var(--ink); color: #fff; }
.b-cats small { opacity: .7; margin-inline-start: 4px; }
.b-list { padding: 10px 0 60px; }
.b-sub { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 900; margin: 40px 0 22px; }
.b-more { background: linear-gradient(180deg, #fff, var(--ice)); padding-top: 10px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.acard { display: flex; flex-direction: column; background: #fff; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ice-2); transition: transform .2s steps(3), box-shadow .2s steps(3); }
.acard:hover { transform: translate(-2px, -3px); box-shadow: 11px 11px 0 var(--ice-2); }
.acard-img { display: block; aspect-ratio: 16 / 9; background: var(--ice); overflow: hidden; border-bottom: 3px solid var(--ink); }
.acard-img img { width: 100%; height: 100%; object-fit: cover; }
.acard-gen { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 16px 16px,
  radial-gradient(circle at 30% 20%, #4d7bff, var(--blue) 45%, var(--blue-dd)); }
.acard-gen .spr { position: static; width: 64px; filter: drop-shadow(4px 4px 0 rgba(10, 21, 64, .5)); transition: transform .2s steps(3); }
.acard:hover .acard-gen .spr { transform: translateY(-6px); }
.acard-gen b { color: #fff; font-weight: 900; font-size: .85rem; background: rgba(10, 21, 64, .35); padding: 3px 10px; }
.acard-gen b:empty { display: none; }
.blog-sec { padding: 70px 0 40px; }
.blog-sec .sec-top { margin-bottom: 20px; }
/* the home page's article row: one line the visitor scrolls sideways */
.amarquee { padding: 10px 0 22px; direction: rtl; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--ice-2) transparent; overscroll-behavior-x: contain; }
/* centred when the cards fit; from the right edge and scrollable when they don't */
.atrack { display: flex; gap: 20px; align-items: stretch; width: max-content; margin-inline: auto; padding-inline: 2px 10px; }
.atrack .acard { scroll-snap-align: start; }
.atrack .acard { width: 250px; flex: none; direction: rtl; box-shadow: 6px 6px 0 var(--ice-2); }
.atrack .acard:hover { box-shadow: 8px 8px 0 var(--ice-2); }
.atrack .acard-img { aspect-ratio: 16 / 10; }
.atrack .acard-gen .spr { width: 48px; }
.atrack .acard-body { padding: 14px 16px 16px; gap: 6px; }
.atrack .acard h3 { font-size: .98rem; line-height: 1.75; }
.atrack .acard p { font-size: .86rem; -webkit-line-clamp: 2; }
.atrack .acard-meta { font-size: .76rem; gap: 10px; }
@media (max-width: 720px) { .atrack .acard { width: 220px; } }
.acard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.acard-cat { align-self: flex-start; background: var(--ice); color: var(--blue); font-weight: 900; font-size: .78rem; padding: 4px 10px; }
.acard h3 { margin: 0; font-size: 1.12rem; font-weight: 900; line-height: 1.7; }
.acard h3 a { color: var(--ink); } .acard h3 a:hover { color: var(--blue); }
.acard p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.95; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-meta { margin-top: auto; padding-top: 8px; display: flex; gap: 14px; font-size: .8rem; color: var(--ink-3); font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; font-weight: 900; background: var(--ice); color: var(--ink); }
.pager a:hover { background: var(--ice-2); }
.pager span[aria-current] { background: var(--blue); color: #fff; }
.post-head { padding: 26px 0 10px; }
.post-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.45; margin: 14px 0 12px; }
.post-lead { font-size: 1.12rem; line-height: 2.05; color: var(--ink-2); margin: 0 0 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; font-weight: 700; color: var(--ink-3); padding-bottom: 18px; border-bottom: 3px dotted var(--ice-2); }
.post-cover { margin: 26px auto 0; width: min(1040px, 100% - 32px); }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ice-2); }
.post-in { padding: 30px 0 50px; }
.toc { background: var(--ice); margin-bottom: 30px; }
.toc summary { cursor: pointer; padding: 14px 18px; font-weight: 900; color: var(--ink); }
.toc ol { margin: 0; padding: 0 38px 16px 18px; line-height: 2.1; }
.toc li.l3 { margin-inline-start: 18px; list-style: circle; font-size: .94rem; }
.toc a { color: var(--ink-2); font-weight: 700; } .toc a:hover { color: var(--blue); }
.post-faq { margin-top: 40px; }
.post-faq h2 { font-size: 1.6rem; font-weight: 900; margin: 0 0 16px; }
.post-tags { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags li { background: var(--ice); color: var(--ink-2); font-size: .85rem; font-weight: 800; padding: 5px 12px; }
.post-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 28px; background: var(--blue); color: #fff; }
.post-cta b { font-size: 1.2rem; font-weight: 900; }
.post-cta p { margin: 6px 0 0; color: #dbe6ff; }

/* game page: a quiet kicker instead of the badge row, one call to the full list */
.g-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.g-genre { font-weight: 800; color: var(--ink-3); font-size: .9rem; }
.g-genre::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--blue); margin-inline-end: 8px; vertical-align: middle; }
.g-more { padding: 20px 0 70px; }
.g-more-card { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 30px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .2s steps(3); }
.g-more-card:hover { transform: translateY(-4px); }
.g-more-card .spr { position: static; width: 64px; flex: none; }
.g-more-txt { flex: 1; min-width: 220px; display: grid; gap: 6px; }
.g-more-txt b { font-size: 1.3rem; font-weight: 900; color: #fff; }
.g-more-txt span { color: #b9c6ec; }

/* editor blocks inside .prose: checklist, crossed list, numbered steps, callouts */
.prose ul.check, .prose ul.cross, .gpost-feats ul.check { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ul.check li, .prose ul.cross li, .gpost-feats ul.check li { position: relative; padding: 10px 14px; padding-inline-start: 46px; background: var(--ice); margin: 0; }
.prose ul.check li::before, .gpost-feats ul.check li::before, .prose ul.cross li::before { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; display: grid; place-items: center; font-weight: 900; color: #fff; font-size: .8rem; }
.prose ul.check li::before, .gpost-feats ul.check li::before { content: "✓"; background: #16a34a; box-shadow: 2px 2px 0 var(--ink); }
.prose ul.cross li::before { content: "✕"; background: #dc2626; box-shadow: 2px 2px 0 var(--ink); }
.prose ol.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 0; }
.prose ol.steps li { position: relative; counter-increment: step; padding: 6px 0 18px; padding-inline-start: 56px; margin: 0; }
.prose ol.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 4px; width: 38px; height: 38px; display: grid; place-items: center; font-weight: 900; color: #fff; background: var(--blue); box-shadow: 3px 3px 0 var(--ink); }
.prose ol.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 18px; top: 46px; bottom: 0; width: 3px; background: var(--ice-2); }
.prose div.note, .prose div.tip, .prose div.warn { margin: 1.4em 0; padding: 14px 18px; padding-inline-start: 52px; position: relative; font-weight: 600; }
.prose div.note { background: var(--ice); color: var(--ink); }
.prose div.tip { background: #ecfdf3; color: #14532d; }
.prose div.warn { background: #fff7e6; color: #7a4b00; }
.prose div.note::before, .prose div.tip::before, .prose div.warn::before { position: absolute; inset-inline-start: 14px; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; font-weight: 900; color: #fff; }
.prose div.note::before { content: "i"; background: var(--blue); }
.prose div.tip::before { content: "★"; background: #16a34a; }
.prose div.warn::before { content: "!"; background: #f59e0b; }

/* games and services index */
.kind-tabs { display: flex; gap: 8px; margin: 0 0 20px; flex-wrap: wrap; }
.kind-tabs a { background: var(--ice); color: var(--ink-2); font-weight: 800; padding: 8px 16px; }
.kind-tabs a[aria-current="true"] { background: var(--ink); color: #fff; }

/* article-style game or service page */
.gpost .post-head h1 { margin-top: 12px; }
.gpost-actions { margin-top: 18px; }
.gpost-hero { display: grid; place-items: end center; aspect-ratio: 16 / 7; overflow: hidden; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ice-2);
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--pc, #2451ff) 60%, #6f93ff) 0%, #1636c9 55%, #0a1540 100%); }
.gpost-hero img { width: auto !important; max-height: 96%; aspect-ratio: auto !important; border: 0 !important; box-shadow: none !important; object-fit: contain; }
.gpost-feats { margin-top: 36px; }
.gpost-feats h2 { font-size: 1.5rem; font-weight: 900; margin: 0 0 14px; }
.gm[hidden] { display: none !important; }
