/* Formula AK - base: fonts, the colors, type, buttons, chips, icons, header, footer, cookie notice.
   Design: "The blue table" - night navy room, royal-blue felt, ice-blue light, gold for the brand.
   Soft table geometry: rounded panels, pill buttons, stadium photo frames, poker chips as the graphic atom. */

@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/playfair-400-800-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/playfair-400-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/playfair-400-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/golos-400-800-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/golos-400-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/golos-400-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* card suits: Noto Sans Symbols 2 cut to four glyphs, so a suit never turns into an emoji */
@font-face{font-family:'AK Suits';font-style:normal;font-weight:400;font-display:block;src:url(../fonts/suits-400.woff2) format('woff2');unicode-range:U+2660,U+2663,U+2665-2666}

/* ---------- colors: one dark room ----------
   22.10: the room went from navy to a near black with a cold blue undertone (the club: too much blue, darker is deeper).
   The blue stays as light and as the felt of the tables; every dark keeps the same cold hue (no grey, no warm black),
   and the surfaces rise from the room by lightness, not by saturation. --veil-rgb shades the photos into the room. */
:root {
  --bg: #060912; --bg-rgb: 6, 9, 18; --bg-2: #0c111e; --bg-3: #151c2e; --veil-rgb: 4, 6, 13;
  --ink: #f1f4fa; --mute: #b7c1d8; --dim: #8f9bb8;
  --line: rgba(170, 195, 240, .12); --line-2: rgba(170, 195, 240, .22);
  --felt: #17398a; --felt-hi: #2556c8; --felt-lo: #0f2763;
  --ice: #8fcbff; --ice-rgb: 143, 203, 255;
  --gold: #d4af6a; --gold-rgb: 212, 175, 106; --gold-hi: #f1dcaa; --gold-text: #e6c78e;
  --foil: linear-gradient(110deg, #a8823f 0%, #e3c27f 30%, #f6e5bb 48%, #d4af6a 64%, #b08a47 100%);
  --card: #f6f1e6; --card-ink: #12151d; --card-mute: #4a5266; --red: #b3262e;
  --btn-ink: #1a1306;
  --live: #6ee7a8; --ok: #7fd3a6; --warn: #f0bf5f; --bad: #f08c8c;
  --shadow: 0 30px 60px -28px rgba(2, 6, 18, .85), 0 12px 24px -14px rgba(2, 6, 18, .6);
  --shadow-sm: 0 16px 34px -20px rgba(2, 6, 18, .8);
  color-scheme: dark;
}
:root {
  --pad: clamp(20px, 5vw, 80px); --wrap: 1280px; --nav-h: 78px;
  --r-sm: 12px; --r: 22px; --r-lg: 34px; --pill: 999px;
  --display: 'Playfair Display', Georgia, serif;
  --text: 'Golos Text', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.2, .64, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--ink); background: var(--bg); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* the room: a quiet grain over the navy, fixed so it never repaints on scroll */
body::before { content: ''; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E"); }
main { flex: 1 0 auto; }
::selection { background: rgba(var(--gold-rgb), .35); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: var(--r-sm); }
/* what only the script focuses (the panel heading, the viewer stage) gets no ring: Safari draws one even after a click */
[tabindex="-1"]:focus-visible { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, li, figure, dl, dd, blockquote { margin: 0; padding: 0; }
li { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
table { border-collapse: collapse; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: var(--pill); background: var(--gold); color: var(--btn-ink); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.s { font-family: 'AK Suits', serif; font-style: normal; font-weight: 400; line-height: 1; font-variant-emoji: text; }

/* ---------- icons: one line weight at every size ---------- */
.i { width: var(--is, 20px); height: var(--is, 20px); flex: none; fill: none; stroke: currentColor; stroke-width: calc(34.8 / var(--n, 20)); stroke-linecap: round; stroke-linejoin: round; }
.i16 { --is: 16px; --n: 16; } .i18 { --is: 18px; --n: 18; } .i20 { --is: 20px; --n: 20; } .i22 { --is: 22px; --n: 22; } .i24 { --is: 24px; --n: 24; } .i28 { --is: 28px; --n: 28; } .i32 { --is: 32px; --n: 32; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(72px, 9vw, 130px) 0; }

/* ---------- type: one serif voice at a sturdy weight, one sans at three weights ---------- */
.h1, .h2, .h3, .h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
/* no lonely word on the last line: headings balance their lines, running text keeps at least two words together */
h1, h2, h3, h4, summary { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
/* air between a heading, its lead and the button under them, wherever they meet */
:where(.h1, .h2, .h3) + .lead { margin-top: 16px; }
:where(p, .lead) + .btn, :where(p, .lead) + .cta { margin-top: 28px; }
.h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1.04; }
.h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.08; }
.h3 { font-size: clamp(25px, 2.3vw, 34px); line-height: 1.15; }
.h4 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; }
.h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 500; color: var(--gold-text); }
.lead { max-width: 54ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--mute); text-wrap: pretty; }
/* the eyebrow over a heading: a gold point and the ice-blue label in a glass pill, set in spaced capitals */
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: var(--pill); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); background: rgba(var(--ice-rgb), .07); box-shadow: inset 0 0 0 1px rgba(var(--ice-rgb), .22); }
.eyebrow::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .18); }
.muted { color: var(--mute); }
.dim { color: var(--dim); }
.prose { max-width: 70ch; color: var(--mute); text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 2em 0 .6em; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; color: var(--ink); }
.prose h3 { margin: 1.6em 0 .4em; font-size: 18px; font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin: .8em 0; display: grid; gap: .45em; }
.prose li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ''; position: absolute; left: .2em; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n) '.'; position: absolute; left: 0; color: var(--gold-text); font-weight: 600; }
.prose a, .link { color: var(--gold-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: rgba(var(--gold-rgb), .45); transition: text-decoration-color .25s, color .25s; }
.prose a:hover, .link:hover { text-decoration-color: currentColor; }

/* a short gold rule before small labels */
.chip-dot { display: inline-block; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .18); }

/* ---------- buttons: pills ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; border-radius: var(--pill); font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; transition: transform .45s var(--spring), box-shadow .45s var(--ease), background-color .3s, background-position .9s var(--ease), color .3s, border-color .3s; }
.btn .i { --is: 20px; --n: 20; transition: transform .45s var(--spring); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
/* gold: one clean champagne colour lit from above, a crisp top edge and a warm glow under it; a soft glint crosses it on hover */
.btn-gold { color: #16100a; background: linear-gradient(180deg, #f3dba4 0%, #e3c07c 55%, #d6ae64 100%); box-shadow: inset 0 1px 0 rgba(255, 251, 238, .85), inset 0 -1px 0 rgba(120, 82, 24, .28), 0 10px 26px -12px rgba(227, 192, 124, .6), 0 18px 34px -20px rgba(2, 6, 18, .9); }
.btn-gold::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%) 160% 0 / 250% 100% no-repeat; transition: background-position 1.2s var(--ease); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 251, 238, .9), inset 0 -1px 0 rgba(120, 82, 24, .28), 0 14px 34px -12px rgba(227, 192, 124, .75), 0 22px 40px -20px rgba(2, 6, 18, .9); }
.btn-gold:hover::before { background-position: -60% 0; }
/* the trailing arrow sits in its own pearl capsule: the one action of the button */
.btn-ic { display: grid; place-items: center; width: 36px; height: 36px; margin: -6px -16px -6px 4px; border-radius: 50%; flex: none; background: rgba(255, 253, 245, .55); color: #16100a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(120, 82, 24, .25); transition: transform .45s var(--spring), background-color .3s; }
.btn-gold:hover .btn-ic { background: rgba(255, 253, 245, .75); }
.btn-ic .i { --is: 18px; --n: 18; }
.btn-sm .btn-ic { width: 30px; height: 30px; margin: -4px -12px -4px 2px; }
.btn-ghost .btn-ic { background: rgba(var(--ice-rgb), .12); color: var(--ink); }
.btn:hover .btn-ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .12s; }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(var(--ice-rgb), .05); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(var(--ice-rgb), .6); background: rgba(var(--ice-rgb), .1); transform: translateY(-2px); }
.btn-line { border: 1px solid rgba(var(--gold-rgb), .6); color: var(--gold-text); }
.btn-line:hover { background: var(--foil); background-size: 200% 100%; color: var(--btn-ink); border-color: transparent; transform: translateY(-2px); }
.btn-text { min-height: 44px; padding: 8px 2px; color: var(--gold-text); overflow: visible; }
.btn-text:hover { color: var(--ink); }
.btn:hover .i-go { transform: translateX(5px); }
.btn[disabled], .btn.off { opacity: .45; pointer-events: none; }

/* ---------- badges: soft pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 12px; border-radius: var(--pill); background: rgba(var(--ice-rgb), .08); border: 1px solid var(--line); font-size: 13px; font-weight: 500; line-height: 1.25; color: var(--mute); white-space: nowrap; }
.badge .i { --is: 15px; --n: 15; color: var(--gold-text); }
.badge.gold { background: rgba(var(--gold-rgb), .1); border-color: rgba(var(--gold-rgb), .4); color: var(--gold-text); }
.badge.live { background: rgba(110, 231, 168, .1); border-color: rgba(110, 231, 168, .45); color: var(--ink); font-weight: 600; }
.badge.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(110, 231, 168, .2); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- header: a floating pill over the room ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top); pointer-events: none; }
.nav .wrap { padding: 0 max(12px, calc(var(--pad) - 22px)); }
.nav-in { pointer-events: auto; height: 64px; margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 10px 0 22px; border-radius: var(--pill); border: 1px solid transparent; transition: background-color .45s, border-color .45s, box-shadow .45s; }
.nav.scrolled .nav-in, .nav.solid .nav-in, .nav.open .nav-in { background: rgba(var(--bg-rgb), .84); border-color: var(--line); box-shadow: 0 18px 40px -24px rgba(2, 6, 18, .7); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 42px; height: 30px; background: var(--foil); background-size: 200% 100%; -webkit-mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; transition: background-position .9s var(--ease); }
.brand:hover .brand-mark { background-position: 100% 0; }
.brand-word { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: .01em; line-height: 1; }
.menu { display: flex; gap: 2px; font-size: 15px; font-weight: 500; color: var(--mute); }
.menu a { padding: 9px 14px; border-radius: var(--pill); transition: color .3s, background-color .3s; }
.menu a:hover { color: var(--ink); background: rgba(var(--ice-rgb), .08); }
.menu a[aria-current], .menu a.on { color: var(--ink); background: rgba(var(--ice-rgb), .14); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold-text); transition: border-color .3s, background-color .3s, transform .5s var(--spring); }
.icon-btn:hover { border-color: rgba(var(--ice-rgb), .55); background: rgba(var(--ice-rgb), .08); }
.burger { display: none; color: var(--ink); }
.burger .i { grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--spring); }
.burger .b-close, .nav.open .burger .b-open { opacity: 0; transform: scale(.5) rotate(-45deg); }
.nav.open .burger .b-close { opacity: 1; transform: none; }
.mmenu { display: none; }

/* ---------- page head (detail pages) ---------- */
.page-head { position: relative; padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(36px, 5vw, 64px); }
.page-head .lead { margin-top: 22px; }
.page-head .h1 { max-width: 18ch; font-size: clamp(38px, 4.8vw, 72px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-bottom: 22px; padding: 8px 16px 8px 12px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--mute); transition: color .3s, border-color .3s, background-color .3s; }
.back-link .i { transition: transform .45s var(--spring); }
.back-link:hover { color: var(--ink); border-color: rgba(var(--ice-rgb), .55); background: rgba(var(--ice-rgb), .08); }
.back-link:hover .i { transform: translateX(-4px); }

/* ---------- footer ---------- */
.foot { position: relative; isolation: isolate; overflow: hidden; margin-top: auto; padding: clamp(56px, 7vw, 96px) 0 calc(36px + env(safe-area-inset-bottom)); background: radial-gradient(60% 70% at 50% 118%, rgba(37, 86, 200, .2), transparent 70%), radial-gradient(40% 50% at 8% 0%, rgba(var(--gold-rgb), .07), transparent 70%), linear-gradient(180deg, var(--bg) 0%, #030509 100%); }
/* the gold line on top glows in its middle; the club's mark rests large and quiet in the corner */
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .75) 50%, transparent); box-shadow: 0 0 22px 1px rgba(var(--gold-rgb), .45); }
.foot::after { content: ''; position: absolute; right: -6%; bottom: -14%; width: min(46vw, 620px); aspect-ratio: 522 / 356; background: linear-gradient(120deg, rgba(var(--gold-rgb), .1), rgba(var(--ice-rgb), .05)); -webkit-mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; pointer-events: none; }
/* the smoke: no z-index on its box, so its screen layer blends with the footer's own light */
.foot-fx { position: absolute; inset: 0; pointer-events: none; }
.foot-fx:has(.fxc.on) .smoke-fb { opacity: 0; }
.foot > .wrap { position: relative; z-index: 1; }
/* the last call before the columns: the daily game and the way in */
.foot-call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(36px, 4.5vw, 56px); border-bottom: 1px solid var(--line); }
.foot-call-t { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.foot-call-t em { font-style: italic; font-weight: 500; color: var(--gold-text); }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 36px 48px; }
.foot-brand .brand-mark { width: 70px; height: 48px; }
.foot-motto { margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .08em; color: var(--gold-text); }
.foot-brand p:not(.foot-motto) { margin-top: 10px; color: var(--dim); font-size: 15px; max-width: 32ch; }
.foot-rpt { display: block; width: 180px; max-width: 100%; margin-top: 28px; }
.foot-rpt-label { display: block; margin-bottom: 10px; color: var(--dim); font-size: 13px; }
.foot-rpt img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.foot h2 { margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.foot ul { display: grid; gap: 10px; font-size: 15px; color: var(--mute); }
.foot a { transition: color .25s; }
.foot a:hover { color: var(--ink); }
.foot .with-i { display: inline-flex; align-items: flex-start; gap: 10px; }
.foot .with-i .i { color: var(--gold-text); margin-top: 3px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 28px; font-size: 13px; color: var(--dim); }
.visitor-counter { width: 100%; min-width: 0; color: var(--mute); text-align: center; }
.visitor-counter-inner { width: min(100%, 336px); margin-inline: auto; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.visitor-counter-title { font-size: 12px; font-weight: 500; line-height: 20px; }
.visitor-counter dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; }
.visitor-counter dl > div { display: grid; gap: 4px; min-width: 0; }
.visitor-counter dl > div + div { border-left: 1px solid var(--line-2); }
.visitor-counter dt { font-size: 12px; font-weight: 400; line-height: 18px; }
.visitor-counter dd { margin: 0; color: var(--ink); font-size: var(--visitor-number-size, 26px); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 32px; white-space: nowrap; }
.visitor-counter-status { margin-top: 12px; font-size: 11px; line-height: 18px; }
.footer-legal { display: grid; gap: 16px; min-width: 0; width: 100%; color: var(--dim); font-size: 12px; line-height: 1.65; text-align: left; }
.footer-legal-main { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-copyright { flex: none; }
.age { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(var(--gold-rgb), .6); font-weight: 700; font-size: 12px; color: var(--gold-text); flex: none; }
.foot-legal { display: flex; align-items: center; gap: 14px; max-width: 70ch; }
.foot-meta { font-size: 12px; overflow-wrap: anywhere; }
.small-note { margin-top: 18px; font-size: 12px; }

/* ---------- cookie notice ---------- */
.cookie { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: min(440px, calc(100% - 32px)); padding: 22px 22px 20px; border-radius: var(--r); background: rgba(var(--bg-rgb), .95); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; line-height: 1.55; color: var(--mute); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .7s var(--ease); }
.cookie.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie a { color: var(--gold-text); text-decoration: underline; text-underline-offset: .2em; }
.cookie-btns { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btns .btn { flex: 1 1 auto; }

/* ---------- reveal ---------- */
/* the entrance is an animation on its own properties (translate, filter), so it never takes over a block's hover transitions */
.js .rv:not(.in) { opacity: 0; }
.js .rv.in { animation: reveal 1.1s var(--ease) var(--d, 0s) backwards; }
@keyframes reveal { from { opacity: 0; translate: 0 36px; filter: blur(8px); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .menu, .nav-end .btn-sm { display: none; }
  .burger { display: grid; }
  .mmenu { display: flex; position: fixed; inset: 0; z-index: 39; flex-direction: column; padding: calc(var(--nav-h) + env(safe-area-inset-top) + 20px) var(--pad) calc(28px + env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .5s; }
  .nav.open + .mmenu { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
  .mmenu nav { display: flex; flex-direction: column; gap: 6px; }
  .mmenu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 20px; border-radius: var(--r); background: rgba(var(--ice-rgb), .06); font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.1; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .7s var(--ease), background-color .3s; }
  .nav.open + .mmenu nav a { opacity: 1; transform: none; }
  .mmenu nav a:nth-child(2) { transition-delay: .04s; } .mmenu nav a:nth-child(3) { transition-delay: .08s; } .mmenu nav a:nth-child(4) { transition-delay: .12s; }
  .mmenu nav a:nth-child(5) { transition-delay: .16s; } .mmenu nav a:nth-child(6) { transition-delay: .2s; } .mmenu nav a:nth-child(7) { transition-delay: .24s; } .mmenu nav a:nth-child(8) { transition-delay: .28s; }
  .mmenu nav a .i { color: var(--gold-text); }
  .mmenu .btn { margin-top: 24px; }
  .mmenu-contacts { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; font-size: 15px; color: var(--mute); }
  .mmenu-contacts a, .mmenu-contacts span { display: inline-flex; align-items: center; gap: 12px; }
  .mmenu-contacts .i { color: var(--gold-text); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 70px; }
  body { font-size: 16px; }
  .nav-in { height: 58px; margin-top: 8px; padding: 0 7px 0 16px; }
  .brand-word { font-size: 19px; }
  .foot-top { grid-template-columns: 1fr; }
  .footer-legal-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-legal { align-items: flex-start; }
  .cookie { left: 12px; right: 12px; width: auto; bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .brand-word { display: none; }
}
