/* kavenzarovcrow.com — a 1960s bowling alley: lacquered maple lanes, inlaid arrows, lit pins, score sheets.
   Tokens and sizes from refs/figma/lib.js + pages.js (desktop 1368, mobile 360). figma-kit `ls` is a % of the size. */
:root {
  --ink: #2A170C; --walnut: #4A2A17; --deep: #2B170B; --maple: #D8A867; --mapleHi: #EBC891; --lacquer: #B9783A;
  --pin: #F6F1E7; --red: #B8241C; --soft: #6B4A33;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --text: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --num: 'Alumni Sans', 'Arial Narrow', sans-serif;
  --pad: 16px;
  --wrap: max(var(--pad), calc(50% - 612px));        /* 1224 = 1368 − 2 × 72 */
  --sw: 2px; --r: 10px;                               /* border thick (score-sheet rule) · radius 12 */
  /* glow-light: tube reflection 22 % at rest, 45 % on hover (Tile hover) */
  --streak: .22; --streak-hi: .45;
  /* notes: «полосы-дорожки hero едут … 40 с / цикл, linear; бегущая строка футера; пауза на hover/focus» */
  --marquee-t: 40s;
  /* Tile hover: «lifts 4 px, tube streak 22 → 45 %, arrow slides 4 px» */
  --hover-t: 200ms; --ease: cubic-bezier(.2, .7, .2, 1);
  --lift1: 0 4px 12px rgba(43, 23, 11, .18); --lift3: 0 18px 40px rgba(43, 23, 11, .32);
}
@media (min-width: 1024px) { :root { --pad: 72px; --sw: 3px; --r: 12px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--maple); color: var(--ink); font: 400 16px/1.55 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
::selection { background: var(--red); color: var(--pin); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: var(--pin); padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- lanes: lacquered boards (seams every ~1/39), sheen, tube reflections ---------- */
.lane { position: relative; isolation: isolate; background:
  repeating-linear-gradient(180deg, transparent 0 25px, rgba(122, 74, 34, .16) 25px 26px),
  linear-gradient(180deg, var(--mapleHi), var(--maple) 45%, var(--lacquer)); }
.lane--dark { background:
  repeating-linear-gradient(180deg, transparent 0 25px, rgba(0, 0, 0, .35) 25px 26px),
  linear-gradient(180deg, var(--walnut), var(--deep)); color: var(--pin); }
.streak { position: absolute; z-index: -1; height: 3px; border-radius: 2px; pointer-events: none; opacity: calc(var(--a, var(--streak)) / .22);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .48) 25%, rgba(255, 246, 228, .3) 70%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 10px rgba(255, 243, 218, .35); transition: opacity var(--hover-t) var(--ease); }
.lane--dark > .streak { --a: .154; }
.streak--0 { left: 8%; top: 18%; width: 55%; } .streak--1 { left: 29%; top: calc(80% + 9px); width: 47%; } .streak--2 { left: 50%; top: 50%; width: 39%; }
.arrows { position: absolute; z-index: -1; fill: var(--walnut); opacity: .3; pointer-events: none; }

/* ---------- genome ---------- */
.num { font: 700 15px/1.1 var(--num); letter-spacing: .06em; text-transform: uppercase; }
.ar { width: 12px; height: 10px; flex: none; color: var(--red); transition: transform var(--hover-t) var(--ease); }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px; border: 0; border-radius: 999px; background: var(--red); color: var(--pin);
  font: 700 15px/1.2 var(--text); text-decoration: none; cursor: pointer; box-shadow: 0 6px 14px rgba(43, 23, 11, .25); transition: transform var(--hover-t) var(--ease), box-shadow var(--hover-t) var(--ease); }
.pill .ar { color: currentColor; width: 16px; height: 12px; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(43, 23, 11, .3); } .pill:hover .ar { transform: translateX(4px); }
.pill--light { background: var(--pin); color: var(--ink); } .pill--light .ar { color: var(--red); }
.pill--line { background: var(--pin); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 6px 14px rgba(43, 23, 11, .2); }
@media (min-width: 1024px) { .pill { padding: 16px 28px; font-size: 17px; } }
/* chip: one score frame with the small corner box */
.chip { position: relative; display: inline-flex; align-items: center; padding: 4px 26px 4px 8px; border: 2px solid var(--ink); border-radius: 4px; background: var(--pin); color: var(--ink);
  font: 700 13px/1.15 var(--num); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.chip i { position: absolute; right: -2px; top: -2px; width: 16px; height: 14px; border: 2px solid var(--ink); }
.chip--key { padding-right: 28px; }
@media (min-width: 1024px) { .chip { font-size: 15px; padding: 5px 30px 5px 10px; } .chip i { width: 18px; height: 16px; } }
.f10 { display: inline-flex; align-self: flex-start; border: 2px solid var(--ink); }
.f10 i { position: relative; width: 22px; height: 22px; } .f10 i + i { border-left: 1px solid var(--ink); }
.f10 i::after { content: ''; position: absolute; right: 0; top: 0; width: 45%; height: 45%; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.f10--s i { width: 12px; height: 12px; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.pins { position: absolute; z-index: 0; display: flex; flex-direction: column; pointer-events: none; }
.pins img { width: 100px; filter: drop-shadow(0 10px 9px rgba(43, 23, 11, .35)); }
.pins .refl { transform: scaleY(-1); opacity: .22; margin-top: 6px; filter: none; }

/* ---------- type ---------- */
.script { font: 400 40px/1 var(--script); color: var(--walnut); }
.script--big { font-size: 54px; }
.script--on { color: var(--pin); }
.script--h1 { font-size: 58px; }
.h3 { font: 900 24px/1.1 var(--text); letter-spacing: -.015em; }
.lead { font-size: 15px; line-height: 1.55; max-width: 620px; }
.lead--on { color: var(--pin); opacity: .85; }
.p { font-size: 15px; line-height: 1.55; }
@media (min-width: 1024px) { .script { font-size: 84px; } .script--big { font-size: 96px; } .script--h1 { font-size: 112px; } .h3 { font-size: 32px; } .lead, .p { font-size: 18px; } }

/* ---------- header: logo + a floating bowling ball (corner-floating-button) ---------- */
.top { position: relative; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--wrap); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 400 26px/1.1 var(--script); color: var(--ink); }
.top--light { position: absolute; left: 0; right: 0; top: 0; }
.top--light .logo { color: var(--pin); text-shadow: 0 2px 8px rgba(43, 23, 11, .5); }
.mark { position: relative; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--pin); border: 2px solid var(--ink); }
.mark i { position: absolute; left: 0; right: 0; height: 9%; background: var(--red); } .mark i:first-child { top: 62%; } .mark i:nth-child(2) { top: 76%; }
.mark b { position: relative; font: 400 24px/1 var(--script); color: var(--ink); }
.ball { position: fixed; z-index: 60; right: var(--wrap); top: 14px; display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 999px; background: var(--walnut);
  box-shadow: 0 10px 24px rgba(43, 23, 11, .4), inset -3px -4px 8px rgba(255, 255, 255, .18); }
.ball-b { order: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--deep); cursor: pointer; }
.holes { position: relative; width: 100%; height: 100%; }
.holes b { position: absolute; width: 20%; aspect-ratio: 1; border-radius: 50%; background: #120904; }
.holes b:nth-child(1) { left: 28%; top: 24%; } .holes b:nth-child(2) { left: 56%; top: 24%; } .holes b:nth-child(3) { left: 40%; top: 58%; width: 24%; }
.ball-l { display: none; }
.ball.is-open { border-radius: 24px; flex-direction: column; align-items: flex-end; padding: 7px 7px 14px; }
.ball.is-open .ball-b { order: 0; }
.ball.is-open .ball-l { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; text-align: right; }
.ball-l a { font-weight: 600; font-size: 15px; color: var(--pin); text-decoration: none; }
.ball-l a:hover, .ball-l a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
html:not(.js) .ball-l { display: flex; gap: 10px; padding-left: 8px; }
@media (min-width: 1024px) {
  .top { padding: 26px var(--wrap); } .logo { font-size: 34px; gap: 12px; } .mark { width: 44px; height: 44px; } .mark b { font-size: 31px; }
  .ball { top: 22px; padding: 10px 10px 10px 22px; }
  .ball-b { width: 46px; height: 46px; pointer-events: none; }
  .ball-l { display: flex; gap: 2px; }
  .ball-l li + li::before { content: '·'; color: var(--pin); margin: 0 4px; }
  .ball.is-open { flex-direction: row; align-items: center; border-radius: 999px; padding: 10px 10px 10px 22px; }
  .ball.is-open .ball-b { order: 2; } .ball.is-open .ball-l { flex-direction: row; padding: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--deep); min-height: 572px; padding-top: 70px; }
.deckphoto { position: absolute; left: -200px; top: 4px; width: 760px; max-width: none; }
.hero > .streak--h1 { left: 10px; top: 380px; width: 220px; z-index: 1; --a: .2; } .hero > .streak--h2 { left: 140px; top: 410px; width: 200px; z-index: 1; --a: .2; }
.shade1 { position: absolute; left: 0; right: 0; top: 300px; height: 360px; background: radial-gradient(75% 75% at 10% 60%, rgba(43, 23, 11, .9), rgba(43, 23, 11, .55) 60%, rgba(43, 23, 11, 0)); }
.shade2 { position: absolute; left: 0; right: 0; top: 520px; bottom: 0; background: linear-gradient(180deg, rgba(43, 23, 11, 0), rgba(43, 23, 11, .96) 30%, var(--deep)); }
.masking { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(180deg, rgba(43, 23, 11, .96), rgba(43, 23, 11, .75)); }
.hstrip { position: absolute; left: 0; right: 0; top: 70px; height: 92px; overflow: hidden; border-top: var(--sw) solid var(--deep); border-bottom: var(--sw) solid var(--deep); }
.arrows--h { left: 8px; top: 10px; height: 72px; opacity: .75; }
.hm-run { position: absolute; left: 0; top: 12px; display: flex; width: max-content; animation: lane-r var(--marquee-t) linear infinite; }
.hm-i { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; font: 400 60px/1 var(--script); color: var(--walnut); white-space: nowrap; }
.hm-i .ar { width: 18px; height: 14px; }
@keyframes lane-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes lane-l { to { transform: translateX(-50%); } }
.hstrip:hover .hm-run { animation-play-state: paused; }
.copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 290px var(--wrap) 24px; max-width: 780px; }
.h1 { font: 900 24px/1.08 var(--text); letter-spacing: -.02em; color: var(--pin); }
.hero-p { font-size: 15px; line-height: 1.5; color: var(--pin); opacity: .9; max-width: 520px; }
/* score sheet: a real ten-frame grid; each row links to its lane */
.sheet { position: relative; z-index: 2; margin: 0 var(--wrap) 28px; overflow: hidden; border: var(--sw) solid var(--ink); border-radius: var(--r); background: var(--pin); box-shadow: var(--lift3); }
.ss { width: 100%; }
.ss th, .ss td { height: 40px; padding: 0 8px; border-right: 1px solid var(--ink); text-align: left; vertical-align: middle; }
.ss thead th { height: 44px; border-bottom: var(--sw) solid var(--ink); }
.ss tbody tr + tr td { border-top: 1px solid var(--ink); }
.ss .c-lane { width: 34px; border-right-width: var(--sw); font-size: 20px; color: var(--red); }
.ss thead .c-lane, .ss thead .c-genre { font-size: 14px; color: var(--soft); }
.ss-t { font: 400 24px/1.1 var(--script); color: var(--red); }
.ss .c-title { border-right: 0; font-weight: 700; font-size: 14px; }
.ss .c-title a { text-decoration: none; } .ss .c-title a:hover { text-decoration: underline; }
.ss .c-genre, .ss .c-f { display: none; }
.ss .c-f { position: relative; padding: 0; text-align: center; font-size: 16px; }
.ss td.c-f i { position: absolute; right: 0; top: 0; width: 18px; height: 16px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ss .c-f:last-child { border-right: 0; }
@media (min-width: 1024px) {
  .hero { height: 1124px; padding: 0; }
  .deckphoto { left: 0; top: -40px; width: 100%; }
  .hero > .streak--h1 { left: 640px; top: 600px; width: 560px; } .hero > .streak--h2 { left: 520px; top: 650px; width: 700px; }
  .shade1 { top: 470px; width: 1000px; height: 360px; } .shade2 { top: 700px; }
  .masking { height: 104px; }
  .hstrip { top: 104px; height: 168px; }
  .arrows--h { left: 60px; height: 140px; top: 12px; }
  .hm-run { top: 36px; } .hm-i { font-size: 92px; gap: 40px; padding-right: 40px; } .hm-i .ar { width: 34px; height: 26px; }
  .copy { position: absolute; left: var(--wrap); top: 548px; margin: 0; gap: 18px; }
  .h1 { font-size: 40px; } .hero-p { font-size: 19px; }
  .sheet { position: absolute; left: var(--wrap); right: var(--wrap); top: 800px; margin: 0; }
  .ss th, .ss td { height: 46px; padding: 0 14px; }
  .ss thead th { height: 48px; }
  .ss .c-lane { width: 64px; font-size: 24px; } .ss .c-title { width: 330px; border-right: 1px solid var(--ink); font-size: 17px; } .ss-t { font-size: 30px; }
  .ss .c-genre { display: table-cell; width: 170px; border-right-width: var(--sw); }
  .ss .c-f { display: table-cell; padding: 0; }
}

/* ---------- sections ---------- */
.sec { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; padding: 52px var(--wrap) 56px; }
@media (min-width: 1024px) { .sec { gap: 40px; padding: 96px var(--wrap) 104px; } }
/* G: lanes, two per row, ticket cards */
.g-hd { display: flex; flex-direction: column; gap: 10px; }
.arrows--g { display: none; }
.pins--g { display: none; }
.lcards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.lcard { position: relative; display: flex; border: var(--sw) solid var(--ink); border-radius: var(--r); background: var(--pin); box-shadow: var(--lift1);
  transition: transform var(--hover-t) var(--ease), box-shadow var(--hover-t) var(--ease); }
.deck { flex: none; display: grid; place-items: center; padding: 12px; border-radius: calc(var(--r) - 2px) 0 0 calc(var(--r) - 2px); overflow: hidden; }
.deck .cv { width: 112px; height: 112px; border-radius: calc(var(--r) - 4px); object-fit: cover; box-shadow: 0 8px 18px rgba(43, 23, 11, .4); }
.strip { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px 14px 16px; overflow: hidden; isolation: isolate; }
.streak--card { left: 20%; top: 26px; width: 70%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(185, 120, 58, .5) 30%, rgba(185, 120, 58, 0)); box-shadow: none; opacity: 0; }
.lc-top { display: flex; align-self: stretch; justify-content: space-between; align-items: center; gap: 10px; }
.lc-n { color: var(--red); }
.lc-h { font: 900 22px/1.05 var(--text); letter-spacing: -.015em; }
.lc-a { text-decoration: none; } .lc-a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.lcard .lc-a::after { inset: calc(-1 * var(--sw)); }
.lc-line { font: 400 24px/1.1 var(--script); color: var(--red); }
.lc-p { font-size: 15px; line-height: 1.5; }
.lc-l { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.punch { position: absolute; left: 132px; width: 16px; height: 16px; border-radius: 50%; background: var(--maple); border: var(--sw) solid var(--ink); pointer-events: none; }
.punch--t { top: -9px; clip-path: inset(50% 0 0 0); } .punch--b { bottom: -9px; clip-path: inset(0 0 50% 0); }
.lcard:hover, .lcard:focus-within { transform: translateY(-4px); box-shadow: var(--lift3); }
.lcard:hover .deck .streak, .lcard:focus-within .deck .streak { --a: var(--streak-hi); }
.lcard:hover .streak--card, .lcard:focus-within .streak--card { opacity: 1; }
.lcard:hover .lc-l .ar, .lcard:focus-within .lc-l .ar { transform: translateX(4px); }
.lcard:focus-within { outline: 3px solid var(--red); outline-offset: 3px; } .lc-a:focus-visible { outline: 0; }
@media (min-width: 1024px) {
  .g-hd { flex-direction: row; align-items: flex-end; gap: 48px; } .g-hd .lead { max-width: 520px; padding-bottom: 14px; }
  .arrows--g { display: block; left: calc(var(--wrap) + 560px); top: 50px; height: 150px; }
  .pins--g { display: flex; right: var(--wrap); top: -6px; } .pins--g img { width: 100px; }
  .lcards { grid-template-columns: 1fr 1fr; gap: 32px; }
  .deck { padding: 18px; } .deck .cv { width: 236px; height: 236px; }
  .strip { padding: 22px 24px; gap: 12px; }
  .lc-n { font-size: 20px; } .lc-h { font-size: 30px; } .lc-line { font-size: 30px; } .lc-p { font-size: 17px; } .lc-l { font-size: 16px; }
  .punch { left: 263px; width: 22px; height: 22px; } .punch--t { top: -12px; } .punch--b { bottom: -12px; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) { .deck .cv { width: 160px; height: 160px; } .punch { left: 187px; } }
/* L: glossary as lane plates */
.pins--l { display: none; }
.terms { display: grid; grid-template-columns: 1fr; border-top: var(--sw) solid rgba(246, 241, 231, .5); }
.term { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(246, 241, 231, .3); }
.term dt { flex: 0 0 120px; display: flex; align-items: center; gap: 8px; font: 400 26px/1 var(--script); color: var(--mapleHi); align-self: flex-start; }
.term dd { flex: 1; font-size: 14px; line-height: 1.5; color: var(--pin); }
@media (min-width: 1024px) {
  .pins--l { display: flex; right: var(--wrap); top: 70px; } .pins--l img { width: 128px; }
  .lsec .script { max-width: 760px; }
  .terms { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .term { gap: 20px; padding: 20px 0; } .term dt { flex-basis: 210px; font-size: 36px; } .term dd { font-size: 16px; }
}
/* D: picks as short lanes */
.dsec { background: var(--deep); padding-top: 48px; }
.d-hd { display: flex; flex-direction: column; gap: 10px; padding: 0 var(--wrap) 22px; }
.pk { display: flex; flex-direction: column; gap: 12px; padding: 18px var(--wrap); border-top: var(--sw) solid var(--deep); overflow: hidden; }
.pk-l { display: flex; flex-direction: column; gap: 4px; }
.pk-h { font-size: 38px; }
.pk-n { font-size: 14px; }
.pk-g { display: flex; flex-direction: column; gap: 10px; }
.pk-g a { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--pin); text-decoration: none; box-shadow: var(--lift1); transition: transform var(--hover-t) var(--ease); }
.cv--pk { width: 64px; height: 64px; border-radius: calc(var(--r) - 4px); object-fit: cover; }
.pk-g a > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pk-g .num { color: var(--red); font-size: 14px; } .pk-g b { font-size: 14px; }
.pk-g a:hover { transform: translateY(-2px); } .pk-g a:hover .ar { transform: translateX(4px); } .pk-g a:hover b { text-decoration: underline; }
@media (min-width: 1024px) {
  .dsec { padding-top: 88px; } .d-hd { padding-bottom: 36px; }
  .pk { flex-direction: row; align-items: center; gap: 32px; padding: 26px var(--wrap); }
  .pk-l { flex: 0 0 420px; } .pk-h { font-size: 54px; } .pk-n { font-size: 16px; }
  .pk-g { flex-direction: row; gap: 24px; } .cv--pk { width: 88px; height: 88px; } .pk-g b { font-size: 16px; }
}

/* ---------- footer: dark approach, marquee of titles ---------- */
.footer { overflow: hidden; padding: 32px 0 28px; display: flex; flex-direction: column; gap: 24px; }
.marquee { overflow: hidden; height: 56px; display: flex; align-items: center; }
.mq-run { display: flex; width: max-content; animation: lane-l var(--marquee-t) linear infinite; }
.marquee:hover .mq-run, .footer:focus-within .mq-run { animation-play-state: paused; }
.mq-i { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; font: 400 40px/1.2 var(--script); color: var(--pin); white-space: nowrap; }
.f-body { display: flex; flex-direction: column; gap: 22px; padding: 0 var(--wrap); }
.f-l { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.f-logo { display: flex; align-items: center; gap: 10px; font: 400 30px/1 var(--script); }
.f-logo .mark { width: 34px; height: 34px; } .f-logo .mark b { font-size: 24px; }
.f-line { font-size: 14px; opacity: .85; } .f-dis { font-size: 13px; opacity: .7; }
.f-cols { display: flex; flex-direction: column; gap: 18px; }
.f-h { color: var(--maple); margin-bottom: 10px; }
.f-col ul { display: flex; flex-direction: column; gap: 8px; }
.f-col a, .f-col li, .f-col .linkish { font-size: 14px; color: var(--pin); text-decoration: none; }
.f-col a:hover, .f-col a.u { text-decoration: underline; } .f-col a.u { overflow-wrap: anywhere; }
.f-base { display: flex; justify-content: space-between; padding: 16px var(--wrap) 0; border-top: 1px solid rgba(246, 241, 231, .25); }
.f-base .num { font-size: 14px; opacity: .8; } .f-foul { display: none; color: var(--maple); }
@media (min-width: 1024px) {
  .footer { padding: 48px 0 40px; gap: 36px; }
  .marquee { height: 96px; } .mq-i { font-size: 72px; gap: 34px; padding-right: 34px; } .mq-i .ar { width: 22px; height: 18px; }
  .f-body { flex-direction: row; justify-content: space-between; gap: 48px; }
  .f-line { font-size: 16px; } .f-dis { font-size: 14px; }
  .f-cols { flex-direction: row; gap: 56px; } .f-col a, .f-col li, .f-col .linkish { font-size: 16px; }
  .f-foul { display: block; }
}

/* ---------- inner pages ---------- */
.phead { display: flex; flex-direction: column; gap: 12px; padding: 10px var(--wrap) 30px; overflow: hidden; }
.arrows--ph { right: var(--wrap); top: 40px; height: 60px; }
.crumbs { align-self: flex-start; padding-bottom: 8px; border-bottom: var(--sw) solid var(--red); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.crumbs li .ar { width: 9px; height: 8px; color: var(--ink); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { font-weight: 700; }
@media (min-width: 1024px) { .phead { gap: 18px; padding: 24px var(--wrap) 56px; } .arrows--ph { top: 50px; height: 140px; } .crumbs ol { font-size: 15px; } .phead .lead { font-size: 19px; max-width: 680px; } }
.top + main .phead { padding-top: 10px; }
/* games: lane panels */
.pnl { display: flex; flex-direction: column; gap: 20px; padding: 32px var(--wrap); border-top: var(--sw) solid var(--deep); overflow: hidden; }
.pdeck { align-self: flex-start; padding: 12px; border: var(--sw) solid var(--ink); border-radius: var(--r); background: var(--walnut); box-shadow: 0 10px 26px rgba(43, 23, 11, .25); }
.pdeck .cv { width: 296px; max-width: 100%; aspect-ratio: 1; border-radius: calc(var(--r) - 4px); object-fit: cover; }
.pn-t { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pn-n { font-size: 40px; color: var(--red); } .pnl--dark .pn-n { color: var(--mapleHi); }
.pn-h { font: 900 32px/1 var(--text); letter-spacing: -.025em; }
.pn-line { font-size: 28px; color: var(--red); } .pnl--dark .pn-line { color: var(--mapleHi); }
.pn-sum { font-size: 15px; line-height: 1.55; max-width: 560px; }
.frows { align-self: stretch; border-top: var(--sw) solid currentColor; }
.frows div { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.frows dt { flex: 0 0 96px; color: var(--soft); } .pnl--dark .frows dt { color: var(--maple); }
.frows dd { flex: 1; font-size: 14px; line-height: 1.4; }
@media (min-width: 1024px) {
  .pnl { flex-direction: row; align-items: center; gap: 64px; padding: 72px var(--wrap); }
  .pdeck { padding: 22px; align-self: center; } .pdeck .cv { width: 420px; }
  .pn-t { flex: 1; gap: 16px; } .pn-n { font-size: 64px; } .pn-h { font-size: 56px; } .pn-line { font-size: 40px; } .pn-sum { font-size: 18px; }
  .frows dt { flex-basis: 130px; } .frows dd { font-size: 16px; }
}
/* guide */
.ghead { display: flex; flex-direction: column; gap: 18px; padding: 10px var(--wrap) 28px; overflow: hidden; }
.gh-t { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gh-n { font-size: 28px; color: var(--walnut); }
.gh-sum { font-size: 16px; line-height: 1.5; max-width: 600px; }
.gh-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .gh-meta .num { font-size: 13px; }
.gdeck { align-self: stretch; display: grid; place-items: center; padding: 12px; border: var(--sw) solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--lift3); }
.gdeck .cv { width: 304px; max-width: 100%; aspect-ratio: 1; border-radius: calc(var(--r) - 4px); object-fit: cover; }
.pins--gh { display: none; }
@media (min-width: 1024px) {
  .ghead { flex-direction: row; align-items: center; gap: 56px; padding: 24px var(--wrap) 64px; }
  .gh-t { flex: 1; gap: 16px; } .gh-n { font-size: 40px; } .gh-sum { font-size: 20px; }
  .gh-meta { flex-direction: row; align-items: center; } .gh-meta .num { font-size: 16px; }
  .gdeck { flex: 0 0 auto; align-self: center; padding: 24px; } .gdeck .cv { width: 400px; }
  .pins--gh { display: flex; right: calc(var(--wrap) + 470px + 40px); top: 150px; } .pins--gh img { width: 134px; }
}
.gbody { position: relative; overflow: clip;   /* clip, not hidden: hidden would make it the scroll container of the sticky sidebar */
  display: flex; flex-direction: column; gap: 28px; padding: 28px var(--wrap) 40px; background: var(--pin); isolation: isolate; }
.arrows--gb { display: none; }
.streak--gb { display: none; }
.g-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.gs { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: var(--sw) solid var(--ink); }
.keys { display: flex; flex-direction: column; gap: 10px; }
.keys li { display: flex; align-items: center; gap: 16px; font-size: 15px; flex-wrap: wrap; }
.al { display: flex; flex-direction: column; gap: 10px; }
.al li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.al .ar { margin-top: 6px; }
.al--soft .ar { color: var(--soft); }
.qas { display: flex; flex-direction: column; gap: 10px; }
.q { font-weight: 700; font-size: 15px; } .a { font-size: 15px; color: var(--soft); }
.side { display: flex; flex-direction: column; gap: 20px; }
.sbox { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: var(--sw) solid var(--ink); border-radius: var(--r); background: var(--pin); }
.sbox--hi { background: var(--mapleHi); }
.sb-h { font-size: 28px; color: var(--red); line-height: 1.05; }
.frows--side { border-top: 0; } .frows--side div { padding: 7px 0; border-bottom-color: rgba(42, 23, 12, .3); } .frows--side dt { flex-basis: 100px; font-size: 14px; } .frows--side dd { font-weight: 500; font-size: 15px; }
.frows--k div { border-bottom: 0; border-top: 1px solid rgba(42, 23, 12, .3); } .frows--k dt { flex-basis: 80px; } .frows--k dd { overflow-wrap: anywhere; }
.p--s { font-size: 15px; }
.olink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.olink:hover .ar { transform: translateX(4px); }
.sims { display: flex; flex-direction: column; gap: 12px; }
.sims a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.cv--sim { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.sims a > span { display: flex; flex-direction: column; gap: 2px; } .sims b { font-size: 15px; } .sims a > span > span { font-size: 13px; color: var(--soft); }
.sims a:hover b { text-decoration: underline; }
.al--s li { font-size: 15px; align-items: center; } .al--s .ar { margin-top: 0; }
.qas--s .q { font-size: 15px; } .qas--s .a { font-size: 14px; }
.upd { color: var(--red); font-size: 16px; }
.h3--l { font-size: 21px; }
@media (min-width: 1024px) {
  .gbody { flex-direction: row; align-items: flex-start; gap: 64px; padding: 64px var(--wrap) 88px; }
  .arrows--gb { display: block; left: 16px; top: 120px; height: 150px; opacity: .12; }
  .streak--gb { display: block; left: var(--wrap); top: 18px; width: 640px; --a: .4; background: linear-gradient(90deg, rgba(185, 120, 58, 0), rgba(185, 120, 58, .45) 30%, rgba(185, 120, 58, 0)); box-shadow: none; }
  .g-main { flex: 0 1 720px; gap: 40px; } .g-main--l { flex-basis: 760px; gap: 30px; }
  .gs { padding-top: 20px; } .keys li, .al li, .a { font-size: 18px; } .q { font-size: 18px; }
  .side { flex: 1; position: sticky; top: 96px; } .side--l { flex: 0 0 360px; }
  .sbox { padding: 20px 22px; } .sb-h { font-size: 34px; }
  .h3--l { font-size: 26px; } .gs--l .p { font-size: 17px; }
}

/* ---------- cookie ---------- */
.cookie { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 500px; display: flex; flex-direction: column; gap: 14px; padding: 20px 18px;
  border: var(--sw) solid var(--ink); border-radius: var(--r); background: var(--pin); box-shadow: var(--lift3); }
.cookie[hidden] { display: none; }
.ck-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ck-h { font: 400 36px/1.05 var(--script); color: var(--red); }
.ck-p { font-size: 15px; line-height: 1.5; }
.ck-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ck-link { align-self: flex-start; font-weight: 500; font-size: 14px; }
.ck-manage { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(42, 23, 12, .3); border-bottom: 1px solid rgba(42, 23, 12, .3); }
.ck-manage[hidden] { display: none; }
.ck-opt { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.ck-opt input { width: 18px; height: 18px; accent-color: var(--red); }
.cookie .pill { padding: 12px 18px; font-size: 15px; }
@media (min-width: 1024px) { .cookie { left: 24px; bottom: 24px; right: auto; width: 500px; padding: 26px 28px; } .ck-h { font-size: 44px; } }

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

/* Соцмережі у футері: лише іконки */
.social-row { display: flex; align-items: center; gap: 10px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: inherit; text-decoration: none; }
.social-link svg { display: block; width: 100%; height: 100%; }
.social-link:hover, .social-link:focus-visible { opacity: 0.7; }
