@font-face { font-family: Geist; src: url(fonts/Geist-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(fonts/Geist-Medium.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(fonts/Geist-SemiBold.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: Geist; src: url(fonts/Geist-Bold.woff) format("woff"); font-weight: 700; font-display: swap; }

/* Same values as Reflex/Theme.cs */
:root {
  --bg: #0b0b0c;
  --top: #0f0f11;
  --bottom: #0b0b0c;
  --popup: #161619;
  --text: #ececee;
  --soft: #c4c4ca;
  --dim: #8e8e94;
  --faint: #5d5d63;
  --fill: linear-gradient(180deg, #f2f2f4, #b8b8be);
  --track: linear-gradient(180deg, #030303, #060607);
  --rim: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04) 45%, rgba(255,255,255,.025));
  --sheen: linear-gradient(135deg, rgba(255,255,255,.025), rgba(255,255,255,.01) 40%, rgba(255,255,255,0) 70%);
  --edge: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.055);
  --ok: #5ccf8a;
  --warn: #e0b154;
  --bad: #e5594f;
  --r: 14px;
  --r-sec: 12px;
  --r-ctl: 8px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1120px;
  --font: Geist, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--soft);
  font: 400 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { flex: 1; }
/* fine static grain: dithers every dark gradient so none of them band */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(255,255,255,.18); color: #fff; }

h1, h2, h3 { color: var(--text); margin: 0; font-weight: 600; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: 15px; line-height: 1.35; letter-spacing: -.005em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
b { color: var(--text); font-weight: 600; }
code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
kbd {
  display: inline-block; min-width: 30px; padding: 0 7px; height: 22px; line-height: 21px;
  font: 500 12px var(--font); color: var(--text); text-align: center;
  border-radius: 6px; background: rgba(0,0,0,.3); border: 1px solid var(--edge); vertical-align: 1px;
}
.dim { color: var(--dim); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.gap-top { margin-top: 28px; }
.chan { color: var(--text); font-weight: 500; white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1280px; }
.wrap.narrow { max-width: 820px; }
.ic {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.ic.rot { transform: rotate(-90deg); }
:focus-visible { outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; border-radius: 6px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 500; font-size: 14.5px; }
.text-link .ic { color: var(--dim); transition: transform .2s var(--ease); }
.text-link:hover .ic { transform: rotate(-90deg) translateY(2px); }
.text-link.inline { display: inline; font-size: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.text-link.inline:hover { text-decoration-color: rgba(255,255,255,.7); }

/* ---------- surfaces ---------- */
.card {
  position: relative;
  border-radius: var(--r);
  border: 1px solid transparent;
  background:
    var(--sheen) padding-box,
    linear-gradient(162deg, var(--top), var(--bottom)) padding-box,
    var(--rim) border-box;
  box-shadow: 0 10px 34px rgba(0,0,0,.5);
}

/* ---------- buttons ---------- */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px;
  border-radius: var(--r-ctl);
  font: 500 14px var(--font);
  white-space: nowrap; cursor: pointer; user-select: none;
  border: 1px solid transparent;
  transition: transform .12s var(--ease), filter .15s, background-color .15s, border-color .15s, color .15s, opacity .15s;
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.xs { --h: 28px; padding: 0 10px; font-size: 12.5px; gap: 6px; border-radius: 7px; }
.btn.xs .ic { width: 14px; height: 14px; }
.btn.sm { --h: 34px; padding: 0 14px; font-size: 13px; }
.btn.lg { --h: 46px; padding: 0 22px; font-size: 15px; }
.btn.block { display: flex; width: 100%; }
.btn.primary {
  color: #0b0b0c; font-weight: 600;
  background: var(--fill) padding-box, linear-gradient(180deg, #fff, rgba(255,255,255,.4)) border-box;
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.35);
}
.btn.primary:hover:not(:disabled) { filter: brightness(1.06); }
.btn.ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-color: var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.btn.ghost:hover:not(:disabled), .btn.ghost.on { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.btn.ghost.danger:hover { color: #ffb4ae; border-color: rgba(229,89,79,.35); background: rgba(229,89,79,.08); }
.btn.busy { pointer-events: none; opacity: .7; }

/* ---------- logo ---------- */
.mark { display: block; height: auto; }
.mark.shiny { filter: drop-shadow(0 0 6px rgba(255,255,255,.12)); overflow: visible; }
.glint { animation: glint 7s var(--ease) 1.2s infinite; }
.brand:hover .glint { animation-duration: 1.6s; animation-delay: 0s; }
@keyframes glint { 0% { transform: translateX(0); } 22%, 100% { transform: translateX(1100px); } }
.watermark { position: absolute; fill: #fff; opacity: .022; pointer-events: none; }

/* ---------- nav: page tabs ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; transition: background-color .25s; }
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.07) 50%, rgba(255,255,255,0));
  opacity: 0; transition: opacity .25s;
}
.nav.scrolled, body.plain .nav, body.is-admin .nav { background: rgba(11,11,12,.78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.nav.scrolled::after, body.plain .nav::after, body.is-admin .nav::after { opacity: 1; }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.brand .mark { width: 42px; }
.links { display: flex; gap: 4px; margin-left: 8px; }
.links a {
  height: 34px; display: inline-flex; align-items: center; padding: 0 12px;
  border-radius: 8px; border: 1px solid transparent;
  color: var(--dim); font-size: 14px;
  transition: color .15s, background-color .15s, border-color .15s;
}
.links a:hover { color: var(--soft); background: rgba(255,255,255,.03); }
.links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.055); }
.links .only-sm, .links .links-sep { display: none; }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-cta .btn .ic { width: 15px; height: 15px; color: var(--dim); }
.nav-toggle { display: none; width: 36px; height: 36px; place-items: center; border-radius: 8px; border: 1px solid var(--edge); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 1300px; height: 780px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.05), rgba(255,255,255,0)); pointer-events: none;
}
.hero-wm { width: 1000px; right: -420px; top: 470px; opacity: .018; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: center; }
h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -.04em; }
.hero-copy h1 { max-width: 560px; }
.lead { max-width: 520px; margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--soft); }
.lead-sm { margin-top: 14px; max-width: 620px; font-size: 16.5px; line-height: 1.6; color: var(--soft); }
.cta { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.works { margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.works li { display: flex; align-items: center; gap: 8px; color: var(--soft); }
.works li.later { opacity: .55; }
.works-logo { width: 22px; height: 22px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; flex: none; }
.works-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.works-logo.mono, .game-tile.mono, .game-logo.mono {
  background: linear-gradient(180deg, #1c1c20, #121214); border: 1px solid rgba(255,255,255,.08);
  color: var(--text); font-weight: 600; font-size: 11px;
}

/* ---------- the 3D menu ---------- */
.hero-3d { position: relative; }
.scene {
  position: relative; height: 540px;
  perspective: 1700px; perspective-origin: 50% 42%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  --s: .74; --rx: 8deg; --ry: -22deg; --fy: 0px; --gx: 30%; --gy: 20%;
}
.scene.dragging { cursor: grabbing; }
.obj {
  position: absolute; left: 50%; top: 50%;
  width: 760px; height: 540px; margin: -270px 0 0 -380px;
  transform-style: preserve-3d;
  transform: translateY(var(--fy)) scale(var(--s)) rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}
.slab {
  position: absolute; inset: 0; border-radius: var(--r);
  background: linear-gradient(180deg, #19191c, #0f0f11);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.face { position: absolute; inset: 0; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.back {
  transform: rotateY(180deg) translateZ(8.4px);
  display: grid; place-items: center;
  border: 1px solid transparent;
  background: var(--sheen) padding-box, linear-gradient(162deg, var(--top), var(--bottom)) padding-box, var(--rim) border-box;
}
.back-mark { width: 280px; opacity: .9; filter: drop-shadow(0 0 18px rgba(255,255,255,.08)); }
.face.front { transform: translateZ(8.4px); transform-style: preserve-3d; }
.front * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 70% at var(--gx) var(--gy), rgba(255,255,255,.07), rgba(255,255,255,0) 70%);
  transform: translateZ(26px);
}
.floor {
  position: absolute; left: 18%; right: 18%; bottom: 8px; height: 46px;
  background: radial-gradient(closest-side, rgba(0,0,0,.65), rgba(0,0,0,0));
  filter: blur(6px); pointer-events: none;
  transform: scaleX(var(--fs, 1)); transition: transform .1s linear;
}
.drag-hint { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: -8px; }

/* menu chrome, shared by the 3D model (mirrors Reflex Shell + Menu) */
.app {
  display: grid; grid-template-rows: 56px 1fr;
  border: 1px solid transparent;
  background: var(--sheen) padding-box, linear-gradient(162deg, var(--top), var(--bottom)) padding-box, var(--rim) border-box;
  color: var(--soft); font-size: 13px; line-height: 1.4;
}
.app::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 0% 100%, rgba(255,255,255,.045), rgba(255,255,255,0) 50%);
}
.app-head { position: relative; display: flex; align-items: center; padding: 0 18px 0 22px; transform: translateZ(4px); }
.app-head .mark { width: 40px; }
.app-head::after {
  content: ""; position: absolute; left: 40px; right: 40px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.07) 50%, rgba(255,255,255,0));
}
.win-btns { margin-left: auto; display: flex; gap: 4px; }
.win-btn { width: 30px; height: 30px; display: grid; place-items: center; color: var(--dim); }
.win-btn .ic { width: 15px; height: 15px; }
.app-body { position: relative; display: grid; grid-template-columns: 156px 29px 1fr; padding: 22px 22px 18px; min-height: 0; transform-style: preserve-3d; }
.side { display: flex; flex-direction: column; gap: 8px; transform: translateZ(6px); }
.tab {
  height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  border-radius: 8px; border: 1px solid transparent;
  color: var(--dim); font: 400 13px var(--font);
  transition: color .3s, background-color .3s, border-color .3s;
}
.tab.on { color: var(--text); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.055); }
.game-chip { margin-top: auto; position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 4px 0; color: var(--text); font-weight: 600; font-size: 14px; }
.game-chip::before { content: ""; position: absolute; left: 4px; right: 4px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.07) 50%, rgba(255,255,255,0)); }
.game-tile { width: 30px; height: 30px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; flex: none; transition: opacity .3s; }
.game-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gname { transition: opacity .3s; }
.game-chip.swap .game-tile, .game-chip.swap .gname { opacity: 0; }
.divider { width: 1px; justify-self: center; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }
.panes { position: relative; transform-style: preserve-3d; }
.pane { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; transform-style: preserve-3d; visibility: hidden; }
.pane.on { visibility: visible; }
.col { display: flex; flex-direction: column; gap: 12px; min-width: 0; transform-style: preserve-3d; }
.sec {
  padding: 12px 14px 10px;
  border-radius: var(--r-sec);
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.pane .sec {
  background: rgba(19,19,22,.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 24px rgba(0,0,0,.35);
  transform: translateZ(18px);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.pane.on .sec { opacity: 1; }
.pane.enter .sec { opacity: 0; transform: translateZ(18px) translateY(8px); transition: none; }
.sec-title { color: var(--text); font-weight: 600; font-size: 13px; height: 22px; display: flex; align-items: center; margin-bottom: 4px; }
.row { min-height: 32px; display: flex; align-items: center; gap: 12px; }
.row > .lbl { flex: 1; min-width: 0; }
.note { font-size: 12.5px; color: var(--dim); padding: 4px 0 6px; line-height: 1.45; }
.tgl {
  position: relative; flex: none; display: inline-block;
  width: 34px; height: 20px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06); background: var(--track);
  transition: border-color .18s;
}
.tgl::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--fill); opacity: 0; transition: opacity .18s var(--ease); }
.tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #7d7d84; transition: transform .2s var(--ease), background-color .18s; }
.tgl.on { border-color: transparent; }
.tgl.on::before { opacity: 1; }
.tgl.on::after { transform: translateX(14px); background: #0d0d0f; }
.sld { padding: 2px 0 8px; }
.sld-top { height: 24px; display: flex; align-items: center; }
.sld-top .lbl { flex: 1; }
.sld-val { color: var(--dim); font-variant-numeric: tabular-nums; }
.sld-track { position: relative; width: 100%; height: 8px; margin-top: 4px; border-radius: 4px; background: var(--track); box-shadow: inset 0 0 0 1px rgba(255,255,255,.045); }
.sld-fill { position: absolute; inset: 0; border-radius: 4px; background: var(--fill); opacity: .86; }
.field { border-radius: var(--r-ctl); background: rgba(0,0,0,.3); border: 1px solid var(--edge); color: var(--soft); }
.labelled { padding: 3px 0 6px; }
.labelled > .lbl { display: block; height: 24px; line-height: 24px; }
.dd-btn { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 12px; }
.dd-btn .ic { color: var(--dim); }
.key { flex: none; min-width: 50px; height: 24px; padding: 0 9px; border-radius: 6px; display: grid; place-items: center; font: 500 12.5px var(--font); color: var(--text); }
.inp { height: 34px; padding: 0 12px; display: flex; align-items: center; color: var(--text); }
.ctl-btn { height: 34px; margin: 4px 0; display: grid; place-items: center; border-radius: var(--r-ctl); border: 1px solid var(--edge); background: rgba(255,255,255,.045); color: var(--text); font-weight: 500; }
.ctl-btn.primary { color: #0b0b0c; font-weight: 600; border-color: transparent; background: var(--fill); }

/* ---------- blocks ---------- */
.block { position: relative; padding: 112px 0 0; }
.block.tight { padding-top: 40px; }
.block.last { padding-bottom: 112px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-head { position: relative; padding: 140px 0 8px; overflow: hidden; }
.h-page { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.center-page { text-align: center; padding-bottom: 140px; }
.center-page .lead-sm { margin-left: auto; margin-right: auto; }
.center-page .cta { justify-content: center; }
.nf-wm { width: 700px; left: 50%; top: 60px; transform: translateX(-50%); }
h2.center { text-align: center; }

/* steps: the load-screen bar */
.steps { position: relative; max-width: 940px; margin: 52px auto 0; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.steps li h3 { margin-top: 18px; color: var(--faint); transition: color .4s; }
.steps li p { margin-top: 6px; max-width: 260px; font-size: 14px; color: var(--dim); }
.steps li.active h3 {
  color: transparent;
  background: linear-gradient(90deg, var(--dim) 0%, var(--dim) 35%, #fff 50%, var(--dim) 65%, var(--dim) 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 1.3s linear infinite;
}
.steps li.done h3 { color: var(--text); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.steps-track { position: absolute; top: 10px; left: 16%; right: 16%; height: 6px; border-radius: 3px; background: var(--track); box-shadow: inset 0 0 0 1px rgba(255,255,255,.045); overflow: hidden; }
.steps-fill { position: absolute; inset: 0; border-radius: 3px; background: var(--fill); opacity: .86; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .9s var(--ease); }
.step {
  position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #121214, #0b0b0c); border: 1px solid rgba(255,255,255,.08);
  transition: background .3s, border-color .3s;
}
.step::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: #fff; border-right-color: rgba(255,255,255,.35); opacity: 0; }
.step::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .2s; }
li.active .step::before { opacity: 1; animation: spin .8s linear infinite; }
li.active .step::after { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.step-check { position: absolute; width: 16px; height: 16px; fill: none; stroke: #0b0b0c; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; }
li.done .step { background: var(--fill); border-color: transparent; box-shadow: 0 0 14px rgba(255,255,255,.12); }
li.done .step::after { opacity: 0; }
li.done .step-check { stroke-dashoffset: 0; transition: stroke-dashoffset .35s var(--ease) .05s; }

/* features */
.teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.teaser .text-link { margin-top: 22px; }
.features { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.features-intro { position: sticky; top: 104px; }
.features-intro p { margin-top: 18px; font-size: 16px; line-height: 1.65; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; }
.group h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; padding-bottom: 14px; }
.group h3 .ic { color: var(--dim); }
.group dl { margin: 0; }
.group dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.group dt { color: var(--text); font-weight: 500; font-size: 14px; }
.group dd { margin: 3px 0 0; color: var(--dim); font-size: 14px; line-height: 1.5; }

/* games: big cover-art cards */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; min-height: 300px; padding: 20px;
  border-radius: var(--r); border: 1px solid rgba(255,255,255,.08); overflow: hidden;
  background: #0d0d0f 74% 42% / cover no-repeat; color: var(--text);
  box-shadow: 0 10px 34px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.game-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,11,.1) 0%, rgba(9,9,11,.35) 45%, rgba(9,9,11,.92) 100%); transition: background .25s; }
.game.st-soon { filter: saturate(.75); }
.game.st-soon .game-scrim { background: linear-gradient(180deg, rgba(9,9,11,.4) 0%, rgba(9,9,11,.65) 45%, rgba(9,9,11,.95) 100%); }
.game:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); box-shadow: 0 20px 48px rgba(0,0,0,.6); }
.game:hover .game-scrim { background: linear-gradient(180deg, rgba(9,9,11,.05) 0%, rgba(9,9,11,.3) 45%, rgba(9,9,11,.9) 100%); }
.game-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(9,9,11,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; }
.game-foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.game-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.game-icon { width: 46px; height: 46px; flex: none; border-radius: 11px; object-fit: cover; box-shadow: 0 2px 10px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); background: #0d0d0f; }
.game-icon.as-text { display: grid; place-items: center; font-size: 20px; font-weight: 600; color: var(--text); background: linear-gradient(180deg, #1c1c20, #121214); }
.game-name { color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.015em; text-shadow: 0 1px 10px rgba(0,0,0,.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-open { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--soft); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); white-space: nowrap; }
.game:hover .game-open { opacity: 1; transform: none; }

/* status: dot + words */
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--soft); white-space: nowrap; }
.st i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; }
.st.ok i { background: var(--ok); box-shadow: 0 0 0 3px rgba(92,207,138,.14); }
.st.warn i { background: var(--warn); box-shadow: 0 0 0 3px rgba(224,177,84,.14); }
.st.bad i { background: var(--bad); box-shadow: 0 0 0 3px rgba(229,89,79,.14); }
.st.off, .st.none { color: var(--dim); }

/* game detail */
.detail-hero { position: relative; margin-top: 64px; min-height: 460px; display: flex; align-items: flex-end; background: #0d0d0f center/cover no-repeat; overflow: hidden; }
.detail-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,11,.5) 0%, rgba(9,9,11,.4) 40%, rgba(9,9,11,.96) 100%); }
.detail-head { position: relative; z-index: 1; padding: 120px 0 44px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--dim); margin-bottom: 20px; }
.back-link:hover { color: var(--text); }
.ic.back { transform: rotate(90deg); }
.detail-id { display: flex; align-items: center; gap: 18px; }
.detail-icon { width: 76px; height: 76px; flex: none; border-radius: 18px; object-fit: cover; box-shadow: 0 4px 18px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); background: #0d0d0f; }
.detail-icon.as-text { display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--text); background: linear-gradient(180deg, #1c1c20, #121214); }
.detail-name { font-size: clamp(32px, 5vw, 52px); line-height: 1.02; letter-spacing: -.035em; }
.detail-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 26px; }
.detail-blurb { color: var(--soft); font-size: 15px; }
.detail-groups { margin-top: 44px; }

/* status: dot + words */
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--soft); white-space: nowrap; }
.st i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; }
.st.ok i { background: var(--ok); box-shadow: 0 0 0 3px rgba(92,207,138,.14); }
.st.warn i { background: var(--warn); box-shadow: 0 0 0 3px rgba(224,177,84,.14); }
.st.bad i { background: var(--bad); box-shadow: 0 0 0 3px rgba(229,89,79,.14); }
.st.off, .st.none { color: var(--dim); }

/* pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.price-main { padding: 32px; }
.price-side { padding: 32px; border-left: 1px solid var(--line); background: rgba(255,255,255,.012); display: flex; flex-direction: column; }
.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); padding: 3px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--edge); }
.seg button { position: relative; z-index: 1; height: 34px; border: 0; background: none; color: var(--dim); font: 500 13px var(--font); cursor: pointer; border-radius: 7px; transition: color .2s; }
.seg button:hover { color: var(--soft); }
.seg button[aria-checked="true"] { color: var(--text); }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 7px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .32s var(--ease), width .32s var(--ease); }
.amount { margin-top: 30px; display: flex; align-items: flex-start; color: var(--text); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.amount .cur { font-size: 26px; margin: 8px 4px 0 0; color: var(--soft); }
#price { font-size: 64px; line-height: 1; }
.term { margin-top: 10px; color: var(--dim); font-size: 14px; min-height: 22px; }
.per { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.08); }
.per:empty { display: none; }
.buy-wrap { margin-top: 28px; }
.fine { margin-top: 12px; font-size: 13px; color: var(--dim); text-align: center; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.ticks .ic { margin-top: 3px; color: var(--text); stroke-width: 1.7; }
.push { margin-top: auto; padding-top: 24px; }

/* faq */
.faq { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border: 0; background: none; color: var(--text); font: 500 15.5px var(--font); text-align: left; cursor: pointer; }
.qa button .ic { color: var(--dim); transition: transform .28s var(--ease), color .15s; }
.qa button:hover .ic { color: var(--text); }
.qa.open button .ic { transform: rotate(45deg); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.a > div { overflow: hidden; }
.a p { padding: 0 40px 20px 0; color: var(--dim); font-size: 14.5px; line-height: 1.65; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .3s var(--ease); }
.qa.open .a { grid-template-rows: 1fr; }
.qa.open .a p { opacity: 1; transform: none; transition: opacity .3s .06s, transform .3s var(--ease); }

/* join */
.join { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px; overflow: hidden; }
.join > div { position: relative; }
.join p { margin-top: 10px; max-width: 460px; font-size: 15.5px; }
.join .btn { position: relative; }
.watermark.small { width: 560px; right: -90px; top: -40px; opacity: .03; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; font-size: 13px; color: var(--soft); }
.fld > span { font-weight: 500; }
.input {
  width: 100%; height: 40px; padding: 0 12px;
  border-radius: var(--r-ctl); background: rgba(0,0,0,.3); border: 1px solid var(--edge);
  color: var(--text); font: 400 14px var(--font);
  outline: none; transition: border-color .15s, background-color .15s;
}
.input:hover { border-color: rgba(255,255,255,.1); }
.input:focus { border-color: rgba(255,255,255,.24); background: rgba(0,0,0,.4); }
.input::placeholder { color: var(--faint); }
select.input { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5,6.2 L8,9.7 L11.5,6.2' fill='none' stroke='%238e8e94' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
select.input option { background: #161619; color: var(--text); }
input[type=number].input { font-variant-numeric: tabular-nums; }
.hint { font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.form-error { font-size: 13px; color: #ffb4ae; padding: 9px 12px; border-radius: 8px; background: rgba(229,89,79,.08); border: 1px solid rgba(229,89,79,.22); }
.switch { position: relative; display: inline-flex; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch input:checked + .tgl { border-color: transparent; }
.switch input:checked + .tgl::before { opacity: 1; }
.switch input:checked + .tgl::after { transform: translateX(14px); background: #0d0d0f; }
.switch input:focus-visible + .tgl { outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; }
.input.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.redeem-row { display: flex; gap: 8px; }
.redeem-row .input { flex: 1; }
.gap-top2 { margin-top: 28px; }

/* post-purchase key page + bigger key row */
.wide-card { max-width: 480px; }
.key-row.big { margin: 20px 0; }
.key-row.big .key-val { font-size: 17px; height: 52px; }

/* admin: logo + cover pickers */
.art-cell { display: flex; align-items: center; gap: 8px; }
.cover-pick { width: 58px; height: 34px; border-radius: 7px; cursor: pointer; display: grid; place-items: center; font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; background: rgba(0,0,0,.3) center/cover no-repeat; border: 1px dashed var(--edge); transition: opacity .15s, border-color .15s; }
.cover-pick.has { border-style: solid; border-color: transparent; }
.cover-pick:hover { opacity: .8; border-color: rgba(255,255,255,.2); }

/* auth */
.auth-page { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 120px 16px 60px; }
.auth { width: 100%; max-width: 400px; padding: 34px 32px 28px; }
.auth-logo { display: grid; place-items: center; margin-bottom: 22px; }
.auth-logo .mark { width: 58px; }
.auth h1 { font-size: 24px; letter-spacing: -.02em; text-align: center; }
.auth > .dim { text-align: center; margin: 6px 0 24px; font-size: 14px; }
.auth .btn { margin-top: 4px; }
.auth-switch { margin-top: 20px; text-align: center; font-size: 14px; color: var(--dim); }

/* account */
.acct-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.span2 { grid-column: 1 / -1; }
.panel { padding: 26px 28px; }
.h-card { font-size: 17px; letter-spacing: -.01em; margin-bottom: 16px; }
.key-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.key-val {
  flex: 1; min-width: 220px; height: 44px; display: flex; align-items: center; padding: 0 14px;
  border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid var(--edge);
  color: var(--text); font-size: 15px; letter-spacing: .06em; white-space: nowrap; overflow-x: auto;
}
.facts { margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.facts > div { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 12.5px; color: var(--dim); }
.facts dd { margin: 4px 0 0; color: var(--text); font-size: 14.5px; }
.card-actions { margin-top: 22px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.empty { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 4px; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 0 -4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; color: var(--dim); font-weight: 500; font-size: 12.5px; padding: 10px 10px; border-bottom: 1px solid rgba(255,255,255,.07); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--soft); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(255,255,255,.015); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .right { text-align: right; }
.tbl .trunc { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .actions { white-space: nowrap; }
.tbl code { white-space: nowrap; }
.tbl .actions .btn + .btn { margin-left: 6px; }
.tbl.edit td { padding: 8px 10px; }
.tbl.edit .input { height: 34px; font-size: 13.5px; }
.tbl.edit .hint { display: block; margin-top: 2px; }
.narrow-in { max-width: 80px; }

/* admin: the Reflex window, full size */
.admin-page { padding: 96px 0 72px; }
.admin { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: calc(100vh - 200px); overflow: hidden; }
.admin::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 0% 100%, rgba(255,255,255,.035), rgba(255,255,255,0) 40%); }
.admin-side { position: relative; padding: 22px 16px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.admin-title { color: var(--text); font-weight: 600; font-size: 13px; padding: 0 12px 10px; }
.admin-tabs { display: flex; flex-direction: column; gap: 6px; }
.admin-side .tab { text-decoration: none; }
.admin-side .tab:hover { color: var(--soft); background: rgba(255,255,255,.025); }
.admin-side .tab.on:hover { color: var(--text); background: rgba(255,255,255,.05); }
.admin-side .back { margin-top: auto; }
.admin-main { position: relative; padding: 26px 28px 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tab-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tab-head h2 { font-size: 22px; letter-spacing: -.02em; }
.search .input { width: 260px; height: 36px; }
.admin-main .sec { padding: 16px 18px; }
.admin-main .sec.flush { padding: 6px 10px; }
.pad { padding: 14px 8px; }
.figures { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures > div { padding: 14px 16px 16px 0; }
.figures > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.figures dt { font-size: 12.5px; color: var(--dim); }
.figures dd { margin: 6px 0 0; color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.warn-box { border-color: rgba(224,177,84,.22) !important; }
.plain { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.inline-form { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.inline-form .fld { min-width: 160px; }
.inline-form .fld.grow { flex: 1; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.row-fld { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0 14px; cursor: pointer; }
.row-fld > span:first-child { display: grid; gap: 2px; font-size: 14px; }
#settings-form .fld + .fld { margin-top: 12px; }
.logo-pick { cursor: pointer; display: inline-block; border-radius: 9px; transition: opacity .15s; }
.logo-pick:hover { opacity: .75; }

/* dialog */
.dlg { width: min(420px, calc(100vw - 32px)); padding: 26px; color: var(--soft); }
.dlg::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.dlg[open] { animation: dlg-in .2s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.dlg .h-card { margin-bottom: 6px; }
.dlg .key-row, .dlg .fld { margin-top: 16px; }
.dlg .key-val { height: auto; min-height: 44px; padding: 10px 14px; white-space: pre-line; line-height: 1.8; font-size: 13.5px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

/* footer */
.foot { position: relative; padding: 36px 0 44px; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.07) 50%, rgba(255,255,255,0)); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--dim); }
.foot-brand .mark { width: 34px; }
.foot-links { display: flex; justify-content: flex-end; gap: 22px; font-size: 13.5px; color: var(--dim); flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; font-size: 12.5px; color: var(--faint); }
body.is-admin .foot { display: none; }

/* toasts: same card as Reflex/Notifications.cs */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: calc(100vw - 32px); pointer-events: none; }
.toast {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 14px 16px 18px 14px; border-radius: var(--r); border: 1px solid transparent;
  background: var(--sheen) padding-box, linear-gradient(162deg, #111113, #0b0b0c) padding-box, var(--rim) border-box;
  box-shadow: 0 12px 34px rgba(0,0,0,.6); pointer-events: auto; cursor: pointer;
  animation: toast-in .32s var(--ease) both;
}
.toast.out { animation: toast-out .22s ease-in both; }
@keyframes toast-in { from { opacity: 0; transform: translateX(18px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(10px) scale(.98); } }
.toast-tile { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(180deg, #1a1a1d, #121214); border: 1px solid rgba(255,255,255,.05); }
.toast-tile .mark { width: 26px; }
.toast b { display: block; color: var(--text); font-weight: 600; font-size: 14px; line-height: 1.3; }
.toast span { display: block; margin-top: 2px; font-size: 13px; color: var(--soft); line-height: 1.4; }
.toast .life { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 1px; background: rgba(255,255,255,.12); transform-origin: left; animation: life linear both; }
@keyframes life { to { transform: scaleX(0); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .lead { margin-left: auto; margin-right: auto; }
  .cta, .works { justify-content: center; }
  .scene { height: 480px; }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figures > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .figures > div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .features, .teaser { grid-template-columns: 1fr; gap: 36px; }
  .features-intro { position: static; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; overflow-x: auto; padding: 12px; }
  .admin-title, .admin-side .back { display: none; }
  .admin-tabs { flex-direction: row; }
  .admin-side .tab { flex: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .nav-toggle { display: grid; }
  .links {
    position: absolute; top: 64px; left: 12px; right: 12px; margin: 0;
    flex-direction: column; gap: 2px; padding: 8px;
    border-radius: var(--r); border: 1px solid rgba(255,255,255,.08);
    background: rgba(17,17,19,.97); box-shadow: 0 20px 40px rgba(0,0,0,.6);
    opacity: 0; transform: translateY(-6px); visibility: hidden;
    transition: opacity .18s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.open .links { opacity: 1; transform: none; visibility: visible; transition: opacity .18s, transform .2s var(--ease); }
  .nav.open { background: rgba(11,11,12,.92); }
  .links a { height: 42px; font-size: 15px; }
  .links .only-sm { display: inline-flex; }
  .links .links-sep { display: block; height: 1px; margin: 6px 4px; background: var(--line); }
  .hero { padding-top: 112px; }
  .scene { height: 330px; }
  .drag-hint { margin-top: -4px; }
  .lead { font-size: 16.5px; }
  .page-head { padding-top: 112px; }
  .block { padding-top: 88px; }
  .block.tight { padding-top: 32px; }
  .block.last { padding-bottom: 88px; }
  .head-row { flex-direction: column; align-items: start; gap: 10px; }
  .steps ol { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; text-align: left; align-items: start; }
  .steps li .step { grid-row: span 2; }
  .steps li h3 { margin-top: 2px; }
  .steps li p { max-width: none; grid-column: 2; }
  .steps-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .groups { grid-template-columns: 1fr; gap: 36px; }
  .games { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .price-main, .price-side { padding: 22px; }
  .price-side { border-left: 0; border-top: 1px solid var(--line); }
  #price { font-size: 54px; }
  .join { flex-direction: column; align-items: stretch; padding: 28px 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .toasts { right: 16px; bottom: 16px; }
  .acct-head { flex-direction: column; align-items: start; }
  .acct-grid { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .admin-page { padding-top: 80px; }
  .admin-main { padding: 18px 14px 24px; }
  .tab-head { flex-direction: column; align-items: stretch; }
  .search .input { width: 100%; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div { padding-left: 0 !important; border-left: 0 !important; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .form-foot { flex-direction: column; align-items: stretch; }
  .empty { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
