/* "off": the brand site. A band of the logo red (head, first screen, bonus), a quiet white page, a graphite lobby
   of games, a geometric sans for headings (Montserrat / Jost / Exo 2 by the host hash, one file each).
   Signature: the slant of the italic "DB" of the logo (skewX -16deg) - the stage behind the phone and the bonus picture,
   the mark before the kind of the site and before every H2 of the text. Nowhere else.
   Spacing on a 4 px grid. One neutral ramp (graphite), three text roles, the brand red as the one accent.
   Per-host values come from layouts/partials/host-vars.html as custom properties on <html>. */

@font-face { font-family: "off-montserrat"; src: url("../fonts/montserrat-600.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "off-jost"; src: url("../fonts/jost-500.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "off-exo2"; src: url("../fonts/exo2-600.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --brand: #e0103f;
  --brand-ink: #b00c32;
  --brand-soft: #fdecef;
  --brand-hi: #ff6b86;
  --lobby: #1c1c1e;
  --cut: 0px;
  --btn-r: 8px;
  --font-head: "off-montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;

  /* graphite ramp, light */
  --bg: #ffffff;
  --raised: #f4f4f5;
  --ink: #171717;
  --ink-2: #525252;
  --ink-3: #737373;
  --line: rgba(23, 23, 23, .08);
  --line-2: rgba(23, 23, 23, .14);
  /* graphite ramp, dark (foot) */
  --foot: #141415;
  --d-ink: #ededed;
  --d-ink-2: #a1a1a6;
  --d-line: rgba(237, 237, 237, .1);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: 160ms;
  --slant: skewX(-16deg);
  --head-h: 72px;
  --anchor: calc(var(--head-h) + 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.sec, .prose [id], .faq, #voprosy, main { scroll-margin-top: var(--anchor); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-ui);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; border-radius: 4px; }
.top :focus-visible, .band :focus-visible, .bonus :focus-visible { outline-color: #fff; }
.lobby :focus-visible, .foot :focus-visible { outline-color: var(--brand-hi); }

.wrap { max-width: 1264px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

/* label of a block: sentence case, no tracking */
.kicker { margin: 0; font: 600 15px/1.4 var(--font-head); color: var(--ink-2); }

/* buttons: one control radius (8 px or a pill by the host), named transitions */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--btn-r);
  font: 600 15px/1.2 var(--font-head); text-decoration: none; white-space: nowrap;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn--main { background: var(--brand); color: #fff; }
.btn--main:hover { background: var(--brand-ink); }
.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--raised); }
.btn--light { background: #fff; color: var(--brand-ink); }
.btn--light:hover { background: var(--brand-soft); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .72); }
.btn--line:hover { background: #fff; color: var(--brand-ink); border-color: #fff; }
.btn--sm { padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 48px; padding: 0 24px; font-size: 16px; }

/* head: on the brand band */
.top { position: sticky; top: 0; z-index: 20; background: var(--brand); color: #fff; }
.top__row { display: flex; align-items: center; gap: 32px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; min-height: 44px; flex: none; line-height: 0; border-radius: 8px; }
.brand img { display: block; height: 36px; width: auto; border-radius: 8px; }
.menu { flex: 1 1 auto; align-self: stretch; display: flex; justify-content: center; }
.menu ul { display: flex; height: 100%; list-style: none; }
.menu a {
  position: relative; display: flex; align-items: center; height: 100%; min-height: 44px; padding: 0 16px;
  font: 500 15px/1.2 var(--font-head); color: #fff; text-decoration: none; white-space: nowrap;
}
.menu a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 20px; height: 2px; background: #fff; transform: scaleX(0); transition: transform var(--t) var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.top__act { display: flex; gap: 8px; flex: none; margin-left: auto; }
.menu + .top__act { margin-left: 0; }

/* the brand band: first screen of the home page and title of an inner page */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
/* the stage behind the phone: one slanted plane of the darker red */
.band::before {
  content: ""; position: absolute; z-index: -1; top: -10%; bottom: -10%; right: 8%; width: 28%;
  transform: var(--slant); background: var(--brand-ink);
}
.band h1, .band h2 { color: #fff; }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 48px; }
.band__copy { align-self: center; padding: 80px 0 96px; min-width: 0; }
.band__kind { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font: 500 16px/1.4 var(--font-head); }
.band__kind::before, .prose h2::before { content: ""; flex: none; display: block; width: 24px; height: 8px; transform: var(--slant); }
.band__kind::before { background: #fff; }
.band h1 {
  overflow-wrap: anywhere;
  margin: 0 0 24px;
  font-size: clamp(2.25rem, 1rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: -.02em;
  max-width: 15ch; text-wrap: balance;
}
.band__sub { margin: 0 0 32px; max-width: 36rem; font-size: 20px; line-height: 1.5; }
.band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.band__vis { position: relative; min-width: 0; min-height: 280px; }
.hphone {
  position: absolute; left: 50%; top: 64px; width: 312px; margin: 0;
  padding: 12px; background: #0f0f10; border-radius: 48px;
  transform: translateX(-50%);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .4);
}
.hphone img { display: block; width: 100%; height: auto; border-radius: 36px; background: #fff; }

/* inner page: the same band, a little lower */
.phead .band__copy { padding: 16px 0 72px; }
.phead h1 { font-size: clamp(2.25rem, 1rem + 2.8vw, 3.5rem); max-width: 21ch; margin-top: 16px; }
.phead:not(.phead--art) .band__grid { grid-template-columns: minmax(0, 1fr); }
.phead:not(.phead--art) .band__copy { padding-bottom: 64px; }
.phead .hphone { top: 48px; width: 280px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 15px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-underline-offset: .2em; }
.crumbs [aria-current] { font-weight: 600; }

/* sections of the site: line icons in the secondary role, no counters */
.feat { padding: 80px 0; }
.feat__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; list-style: none; }
.feat__item { min-width: 0; padding-top: 24px; border-top: 1px solid var(--ink); }
.feat__ico { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; background: var(--raised); color: var(--ink-2); }
.feat__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat__t { margin: 20px 0 8px; font: 600 20px/1.3 var(--font-head); }
.feat__d { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* lobby of games: the second moment of the page */
.lobby { background: var(--lobby); color: #fff; padding: 96px 0; }
.lobby__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 40px; }
.lobby__h { margin: 0; color: #fff; font-size: clamp(2rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; }
.lobby__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 16px/1.2 var(--font-head); color: var(--brand-hi); text-decoration: none; }
.lobby__all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t) var(--ease); }
.lobby__all:hover { text-decoration: underline; text-underline-offset: .25em; }
.lobby__all:hover svg { transform: translateX(4px); }
.lobby--row { padding: 72px 0 80px; }
.lobby--row .lobby__h { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem); }

.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
/* a tile is at most 260 px wide (covers are 232 px, a few 200 px: never stretched more than 1.3 times); the extra width goes to the gaps */
.lobby .games { grid-template-columns: repeat(4, minmax(0, 260px)); justify-content: space-between; }
.games > li { min-width: 0; }
.game {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: 12px; background: #0f0f10; color: #fff; text-decoration: none;
}
.game img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the name over the cover: on hover and keyboard focus; always on touch screens and phones */
.game-n {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 16px 12px;
  background: linear-gradient(to top, rgba(15, 15, 16, .9) 0, rgba(15, 15, 16, .76) 56%, rgba(15, 15, 16, 0) 100%);
  font: 500 16px/1.3 var(--font-head); color: #fff; overflow-wrap: break-word;
  opacity: 0; transform: translateY(8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
a.game::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--brand-hi); opacity: 0; transition: opacity var(--t) var(--ease); }
a.game:hover::after, a.game:focus-visible::after { opacity: 1; }
.game:hover .game-n, .game:focus-visible .game-n { opacity: 1; transform: none; }

/* text */
.about { padding: 112px 0; }
.about__grid { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 88px; }
.about__side { min-width: 0; }
.about__note { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
.about--long .about__side { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; max-height: calc(100vh - var(--head-h) - 64px); overflow-y: auto; }

.toc { margin-top: 32px; }
.toc__h { margin: 0 0 8px; font: 600 16px/1.4 var(--font-head); }
.toc__list, .toc__sub { list-style: none; }
.toc__list > li { border-top: 1px solid var(--line); }
.toc__list > li > a {
  display: flex; gap: 12px; min-height: 44px; padding: 12px 0;
  font-size: 15px; line-height: 1.4; font-weight: 500; text-decoration: none; color: var(--ink);
  transition: color var(--t) var(--ease);
}
.toc__list > li > a:hover { color: var(--brand-ink); }
.toc__n { flex: none; min-width: 20px; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toc__sub { padding: 0 0 8px 32px; }
.toc__sub a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc__sub a:hover { color: var(--ink); text-decoration: underline; }

.prose { max-width: 720px; font-size: 18px; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 20px; }
.prose h2 { margin: 80px 0 16px; font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); line-height: 1.2; }
.prose h2::before { margin: 0 0 24px 4px; background: var(--brand); }
.prose > h2:first-child, .prose > .sec:first-child > h2 { margin-top: 0; }
.prose h3 { margin: 40px 0 8px; font-size: 22px; line-height: 1.35; }
.prose h4 { margin: 32px 0 8px; font-size: 18px; line-height: 1.4; }
.prose ol, .prose ul { margin: 0 0 24px; list-style: none; }
.prose li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.prose ol > li::before {
  content: counter(list-item) ".";
  position: absolute; left: 0; top: 0;
  font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.prose ul > li { padding-left: 24px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; background: var(--ink-3); }
.prose li > ul, .prose li > ol { margin: 12px 0 0; }
.prose li.li-titled > strong { display: block; }
.prose li.li-titled > span { display: block; margin-top: 4px; color: var(--ink-2); }
.prose a { color: var(--brand-ink); text-underline-offset: .2em; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose img { display: block; margin: 20px 0; }
.prose blockquote { margin: 0 0 24px; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink); color: var(--ink-2); }
.tbl { margin: 0 0 24px; overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.tbl th, .tbl td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.tbl th { border-bottom-color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.faq { margin-top: 64px; }
.faq dl { margin: 0; border-top: 1px solid var(--ink); }
.faq dt { margin: 0; padding: 20px 0 8px; font: 600 18px/1.4 var(--font-head); }
.faq dd { margin: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.prose strong { font-weight: 600; }

/* pictures in the text: white device frames with a hairline, desktop frames with a hairline; small neutral shadow */
.prose, .prose .sec { display: flow-root; }
.fig { margin: 40px 0; }
.prose .fig img { display: block; max-width: 100%; height: auto; margin: 0; }
.fig figcaption { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); text-align: left; }
.fig-side { width: min(232px, 64%); margin: 40px auto; }
.prose .fig-side img { margin: 0 auto; }
.fig-side img, .fig-pair img, .phone--s img {
  width: 100%; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.fig-pair { max-width: 448px; margin-left: auto; margin-right: auto; }
.fig-pair .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.fig-pair .pair img + img { margin-top: 32px; }
.fig-wide { clear: both; }
.prose .fig-wide img { margin: 0 auto; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.fig-strip { margin: 40px 0; }
.games.strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 8px; }
.games.strip > li { flex: 1 0 104px; }
.games.strip .game { border-radius: 8px; }
.games.strip .game-n { padding: 24px 8px 8px; font-size: 13px; }
.prose .games { margin: 0; }
.prose .games > li { margin: 0; padding: 0; }
.prose .games > li::before { content: none; }
.prose a.game { color: #fff; text-decoration: none; }
.prose .game img { margin: 0; }
.prose .fig .game img { height: 100%; }

/* bonus band */
.bonus { position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: #fff; }
.bonus::before { content: ""; position: absolute; z-index: -1; top: -10%; bottom: -10%; left: 60%; width: 20%; transform: var(--slant); background: var(--brand-ink); }
.bonus__row { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 64px; padding-bottom: 64px; }
.bonus .kicker { color: #fff; }
.bonus__text { min-width: 0; }
.bonus__sum { margin: 8px 0 0; font-family: var(--font-head); font-size: clamp(2rem, 1.2rem + 2vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.bonus__pic { flex: 0 0 220px; margin: 0 0 0 auto; }
.bonus__pic img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }

/* the app */
.app { padding: 112px 0; border-top: 1px solid var(--line); }
.app__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 80px; align-items: center; }
.app__grid > * { min-width: 0; }
.app__icon { display: block; width: 64px; height: 64px; border-radius: 16px; }
.app h2 { margin: 24px 0 12px; font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); line-height: 1.2; }
.app__lead { margin: 0 0 24px; color: var(--ink-2); }
.steps { list-style: none; margin: 0 0 32px; }
.steps li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(list-item) ".";
  position: absolute; left: 0; top: 12px;
  font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.gal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; align-items: start; }
.gal__i { margin: 0; min-width: 0; }
.gal__i:nth-child(even) { margin-top: 48px; }
.phone--s { margin: 0; }
.phone--s img { display: block; height: auto; border-radius: 20px; padding: 4px; }
.gal__cap { display: block; margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* inner page: text and the side box */
.about--inner { padding-top: 88px; }
.about__grid--inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }
.about__grid--solo { grid-template-columns: minmax(0, 1fr); }
.side { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; }
.side__box { display: grid; gap: 12px; padding: 24px; border: 1px solid var(--line-2); border-radius: 16px; }
.side__logo { height: 32px; width: auto; border-radius: 8px; margin-bottom: 8px; }
.side__t { margin: 0; font: 600 20px/1.3 var(--font-head); }
.side__d { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }

/* foot: dark graphite ramp */
.foot { background: var(--foot); color: var(--d-ink-2); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.foot__brand p { margin: 16px 0 0; font-size: 15px; }
.foot .brand img { height: 36px; }
.foot__h { margin: 0 0 8px; font: 600 15px/1.4 var(--font-head); color: var(--d-ink); }
.foot__col ul { list-style: none; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 15px; color: var(--d-ink); text-decoration: none; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--d-line); font-size: 14px; }
.foot__base p { margin: 0; }
.foot__year { margin-left: auto !important; font-variant-numeric: tabular-nums; }
.foot__grid--solo { grid-template-columns: 2fr 1.3fr; }
.foot__legal { flex: 1 0 100%; font-size: 13px; line-height: 1.6; }
.age { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border: 1px solid var(--d-ink-2); border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--d-ink); }

@media (hover: none) {
  .game-n { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .top__row { gap: 20px; }
  .menu a { padding: 0 12px; }
  .menu a::after { left: 12px; right: 12px; }
}

@media (max-width: 1080px) {
  .wrap { padding: 0 32px; }
  .feat__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
  .about__grid { grid-template-columns: 208px minmax(0, 1fr); gap: 56px; }
  .about__grid--inner { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
  .app__grid { grid-template-columns: 1fr; gap: 48px; }
  .gal { max-width: 760px; }
  .games { gap: 20px; }
  .band__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; }
  .hphone { width: 272px; }
  .phead .hphone { width: 248px; }
}

@media (max-width: 980px) {
  .menu + .top__act .btn--line { display: none; }
}

@media (min-width: 900px) {
  .fig-side.fig-r, .fig-side.fig-l { width: 200px; margin-top: 8px; margin-bottom: 20px; }
  .fig-side.fig-r { float: right; margin-right: 0; margin-left: 36px; }
  .fig-side.fig-l { float: left; margin-left: 0; margin-right: 36px; }
  .fig-side ~ :is(h2, h3, h4, h5, h6, .fig, .sec, table, .tbl, dl, details, pre, hr, blockquote) { clear: both; }
}

@media (max-width: 760px) {
  :root { --head-h: 60px; --anchor: 12px; }
  .wrap { padding: 0 16px; }
  .top { position: static; }
  .top__row { flex-wrap: wrap; gap: 0 8px; min-height: 0; }
  .brand { margin: 8px 0; }
  .brand img { height: 28px; border-radius: 8px; }
  .top__act { margin-left: auto; gap: 8px; }
  .menu + .top__act { margin-left: auto; }
  .menu + .top__act .btn--line, .top__act .btn--line { display: inline-flex; }
  .top__act .btn { padding: 0 12px; font-size: 14px; }
  .menu { order: 3; flex: 1 0 100%; justify-content: flex-start; margin: 0 -16px; border-top: 1px solid rgba(255, 255, 255, .24); overflow: visible; }
  /* phone: every item whole, no side scroll; a row that does not fit wraps */
  .menu ul { height: auto; flex-wrap: wrap; width: 100%; padding: 0 12px; }
  .menu a { height: 44px; padding: 0 8px; font-size: 14px; }
  .menu a::after { left: 8px; right: 8px; bottom: 6px; }

  .band::before { right: -12%; width: 48%; top: 48%; }
  .band__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .band__copy { padding: 32px 0 0; }
  .band__kind { margin-bottom: 16px; font-size: 15px; }
  .band h1 { font-size: clamp(2.25rem, 1.2rem + 4vw, 2.75rem); margin-bottom: 16px; }
  .band__sub { font-size: 18px; margin-bottom: 24px; }
  .band__btns { gap: 8px; }
  .band__btns .btn { flex: 1 1 140px; padding: 0 12px; min-height: 48px; font-size: 15px; }
  .band__vis { height: 288px; min-height: 0; }
  .hphone, .phead .hphone { top: 32px; width: 236px; padding: 8px; border-radius: 40px; }
  .hphone img { border-radius: 32px; }
  .phead .band__copy { padding: 8px 0 0; }
  .phead:not(.phead--art) .band__copy { padding-bottom: 40px; }
  .phead h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 2.5rem); margin-top: 8px; }
  .phead .band__vis { height: 248px; }
  .crumbs { font-size: 14px; }

  .feat { padding: 48px 0; }
  .feat__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .feat__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
  .feat__item:first-child { border-top-color: var(--ink); }
  .feat__ico { grid-row: 1 / span 2; }
  .feat__t { grid-column: 2; grid-row: 1; margin: 0 0 4px; font-size: 18px; }
  .feat__d { grid-column: 2; grid-row: 2; font-size: 16px; }

  .lobby { padding: 56px 0; }
  .lobby--row { padding: 48px 0; }
  .lobby__head { display: block; margin-bottom: 24px; }
  .lobby__all { margin-top: 4px; }
  .games, .lobby .games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game { border-radius: 8px; }
  .game-n { opacity: 1; transform: none; padding: 20px 8px 8px; font-size: 13px; line-height: 1.3; }
  .games.strip { gap: 8px; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .games.strip > li { flex: 0 0 38%; scroll-snap-align: start; }

  .about { padding: 56px 0 64px; }
  .about__grid, .about__grid--inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about--long .about__side { position: static; max-height: none; overflow: visible; }
  .toc { margin-top: 16px; }
  .toc__sub { display: none; }
  .prose { font-size: 17px; line-height: 1.68; }
  .prose h2 { margin-top: 56px; }
  .prose h2::before { margin-bottom: 16px; }
  .fig { margin: 32px 0; }
  .fig-pair .pair { gap: 12px; }
  .fig-pair .pair img + img { margin-top: 24px; }

  .bonus::before { left: 64%; width: 48%; }
  .bonus__row { flex-direction: column; align-items: stretch; padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .bonus .btn { width: 100%; }
  .bonus__pic { flex: none; width: min(240px, 100%); margin: 0; }

  .app { padding: 64px 0; }
  .app__grid { gap: 32px; }
  .app__info .btn { width: 100%; }
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; }
  .gal__i { flex: 0 0 136px; scroll-snap-align: start; }
  .gal__i:nth-child(even) { margin-top: 0; }

  .about--inner { padding-top: 48px; }
  .side { position: static; }
  .side__box .btn { width: 100%; }

  .foot__grid { grid-template-columns: 1fr 1fr; padding-top: 48px; gap: 24px 16px; }
  .foot__grid--solo .foot__col { grid-column: 1 / -1; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__year { margin-left: 0 !important; width: 100%; }
}

@media (max-width: 380px) {
  .top__act .btn { padding: 0 12px; }
  .brand img { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
