/* =========================================================================
   mbet216 — Casino Lobby front-end
   Single stylesheet, organised top-down:
     1. Design tokens (dark default + light)     6. Home sections        11. Shared: search engine, game cards
                                                                      12. Casino page  13. Sports page + betslip
     2. Base / reset                             7. Bets table
     3. Buttons, fields, chips                   8. Footer, bottom nav, drawer, widget
     4. Header                                   9. Auth (modal + full-screen pages)
     5. Sidebar                                 10. Responsive rules
   Breakpoints: ≥1280 full sidebar · 1024–1279 icon rail · <1024 bottom nav · <768 mobile sizes
   ========================================================================= */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --bg: #0A0A0A;
  --surface: #161616;
  --surface2: #1F1F1F;
  --surface3: #2A2A2A;
  --line: #242424;
  --text: #FFFFFF;
  --text2: #B5B5B5;
  --text3: #8C8C8C;
  --field: #000000;
  --gold: #F6B52B;
  --goldtext: #F6B52B;
  --gradA: #F39C1F;
  --gradB: #FFD24A;
  --ink: #141414;          /* text on gold */
  --pos: #3DDC84;          /* live dot, positive payout */
  --live: #FF4D4D;         /* LIVE badge dot */
  --tg: #29A9EA;           /* Telegram brand */
  --glow: rgba(246, 181, 43, .22);
  --dim: rgba(0, 0, 0, .72);  /* modal backdrop */
  --grad: linear-gradient(90deg, var(--gradA), var(--gradB));

  --r-sm: 8px; --r: 10px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
  --hdr-h: 72px;
  --side-w: 280px;
  --rail-w: 72px;
  --bnav-h: 76px;
  --pad: 24px;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F3F3F5;
  --surface: #FFFFFF;
  --surface2: #ECECF0;
  --surface3: #DEDEE4;
  --line: #E2E2E8;
  --text: #141414;
  --text2: #4F4F57;
  --text3: #6E6E78;
  --field: #FFFFFF;
  --goldtext: #A86A05;
  --gradA: #E8920F;
  --gradB: #F5BF2A;
  --pos: #15834A;
  --glow: rgba(246, 181, 43, .30);
  --dim: rgba(20, 20, 20, .55);
  color-scheme: light;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--goldtext); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
input::placeholder { color: var(--text3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.i { width: 22px; height: 22px; flex: 0 0 auto; }
.i-sm { width: 18px; height: 18px; }
.i-xs { width: 14px; height: 14px; }
.i-lg { width: 24px; height: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hs { scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.gold { color: var(--goldtext); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); flex: 0 0 auto; display: inline-block; }
body.lock { overflow: hidden; }

/* Logo (text placeholder — swap for real SVG logo) */
.logo { display: flex; align-items: baseline; gap: 2px; }
.logo__word {
  font-size: 26px; font-weight: 900; font-stretch: 118%; letter-spacing: -.02em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo__tld { font-size: 13px; font-weight: 800; color: var(--goldtext); letter-spacing: .02em; }

/* 3. BUTTONS / FIELDS ------------------------------------------------------ */
.btn {
  height: 48px; padding: 0 22px; border: 0; border-radius: var(--r);
  font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface2); color: var(--text); white-space: nowrap;
}
.btn:hover { filter: brightness(1.07); color: var(--text); }
.btn:active { filter: brightness(.95); }
.btn--gold { background: var(--grad); color: var(--ink); font-weight: 800; }
.btn--gold:hover { color: var(--ink); }
.btn--block { width: 100%; height: 60px; font-size: 18px; font-weight: 800; }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.btn.is-loading { pointer-events: none; opacity: .8; }

.ibtn {
  width: 44px; height: 44px; border: 0; border-radius: var(--r);
  background: var(--surface2); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.ibtn:hover { background: var(--surface3); color: var(--text); }
.pill-btn {
  height: 44px; padding: 0 18px; border-radius: var(--r); background: var(--surface2);
  display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; border: 0;
}
.pill-btn:hover { background: var(--surface3); }

.field {
  display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 18px;
  border-radius: var(--r); background: var(--field); border: 1px solid var(--surface3);
}
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(246, 181, 43, .25); }
.field input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; font-size: 17px; font-weight: 500; }
.field.is-invalid { border-color: #E5484D; }
.field-error { color: #E5484D; font-size: 14px; font-weight: 600; margin-top: -8px; }
.field-error:empty { display: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--surface2); color: var(--goldtext); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  align-self: flex-start;
}

/* Theme switch (desktop segmented moon/sun) */
.theme-switch { height: 44px; padding: 4px; border: 0; border-radius: var(--r-pill); background: var(--surface2); display: flex; gap: 2px; margin-left: 6px; }
.theme-switch span { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text3); }
:root:not([data-theme="light"]) .theme-switch .ts-moon,
:root[data-theme="light"] .theme-switch .ts-sun { background: var(--grad); color: var(--ink); }
/* Theme icon button (mobile): shows sun in dark, moon in light */
.theme-icon .ti-moon { display: none; }
:root[data-theme="light"] .theme-icon .ti-moon { display: block; }
:root[data-theme="light"] .theme-icon .ti-sun { display: none; }

/* 4. HEADER ---------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 20; height: var(--hdr-h);
  display: flex; align-items: center; gap: 10px; padding: 0 var(--pad);
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.hdr__burger { margin-right: 6px; }
.hdr__spacer { flex: 1; }
.hdr__tools { display: flex; align-items: center; gap: 8px; }
.hdr__theme-m { display: none; }
.hdr__login { margin-left: 6px; }
.lang { position: relative; }
.lang__btn { height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: var(--surface2); display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; }
.lang__btn:hover { background: var(--surface3); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(0,0,0,.35); z-index: 40;
}
.lang__menu[hidden] { display: none; }
.lang__menu button { width: 100%; height: 44px; border: 0; border-radius: var(--r); background: transparent; text-align: left; padding: 0 12px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.lang__menu button:hover, .lang__menu button[aria-checked="true"] { background: var(--surface2); }
.lang__menu button[aria-checked="true"]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* 5. SIDEBAR --------------------------------------------------------------- */
.layout { display: flex; align-items: stretch; min-height: calc(100vh - var(--hdr-h)); }
.side {
  flex: 0 0 var(--side-w); width: var(--side-w);
  display: flex; flex-direction: column; gap: 12px; padding: 24px 16px;
  border-right: 1px solid var(--line);
  position: sticky; top: var(--hdr-h); height: calc(100vh - var(--hdr-h)); overflow-y: auto;
  transition: width .2s ease, flex-basis .2s ease, padding .2s ease;
}
.side.is-rail { flex-basis: var(--rail-w); width: var(--rail-w); padding: 16px 8px; }
.nav-card { background: var(--surface); border-radius: var(--r-md); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.nav-grp {
  width: 100%; display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 12px;
  border: 0; border-radius: var(--r); background: transparent; font-size: 20px; font-weight: 800; text-align: left;
}
.nav-grp > .i { color: var(--goldtext); width: 24px; height: 24px; }
.nav-grp .lbl { flex: 1; }
.chev { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--surface3); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.nav-grp[aria-expanded="false"] .chev { transform: rotate(180deg); }
.nav-sub { display: flex; flex-direction: column; gap: 2px; padding: 6px 0 4px; }
.nav-sub[hidden] { display: none; }
.nav-link { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 12px; border-radius: var(--r); font-size: 17px; font-weight: 700; }
.nav-link:hover { background: var(--surface2); }
.nav-link--top > .i { color: var(--goldtext); }
.nav-plain {
  display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 12px 0 18px; border: 0; border-radius: var(--r-md);
  background: var(--surface); font-size: 18px; font-weight: 800; text-align: left; width: 100%;
}
.nav-plain > .i { color: var(--goldtext); width: 24px; height: 24px; }
.nav-plain .lbl { flex: 1; }
/* Rail mode: icons only */
.side.is-rail .lbl, .side.is-rail .chev, .side.is-rail .nav-sub { display: none; }
.side.is-rail .nav-grp, .side.is-rail .nav-link, .side.is-rail .nav-plain { justify-content: center; padding: 0; }

/* 6. HOME SECTIONS --------------------------------------------------------- */
.page { flex: 1; min-width: 0; padding: var(--pad); display: flex; flex-direction: column; gap: 32px; max-width: 100%; }
.page-inner { width: 100%; max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }

.top { display: flex; flex-wrap: wrap; gap: 24px; }
/* Hero carousel */
.hero {
  flex: 1 1 520px; min-width: 0; position: relative; min-height: 300px; border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden; padding: 28px 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px; touch-action: pan-y;
}
.hero__lines { position: absolute; inset: 0; background-image: repeating-linear-gradient(-35deg, transparent 0 26px, rgba(246,181,43,.06) 26px 27px); pointer-events: none; }
.hero__glow { position: absolute; right: -40px; top: -140px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), rgba(246,181,43,0)); pointer-events: none; }
.hero__img {
  position: absolute; top: 16px; right: 16px; bottom: 16px; width: 44%; border-radius: var(--r-md); overflow: hidden;
  border: 1px dashed var(--surface3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--text3); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 12px;
}
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img small { font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 11px; }
.hero__txt { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 54%; transition: opacity .25s ease; }
.hero__txt.is-fading { opacity: 0; }
.hero h1 { font-size: 42px; line-height: 1; font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; display: flex; flex-direction: column; gap: 4px; }
.hero h1 span + span { color: var(--goldtext); }
.hero__sub { color: var(--text2); font-size: 14px; font-weight: 500; }
.hero__bottom { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero__ctas { display: flex; align-items: center; gap: 10px; }
.hero__ctas .btn--gold { height: 52px; padding: 0 28px; font-size: 17px; }
.sq-btn { width: 52px; height: 52px; border-radius: var(--r); border: 0; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; }
.sq-btn:hover { background: var(--surface3); }
.sq-btn--tg { color: var(--tg); }
.dots { display: flex; gap: 6px; }
.dots button { height: 8px; width: 8px; border: 0; padding: 0; border-radius: 4px; background: var(--surface3); transition: width .2s ease; }
.dots button[aria-current="true"] { width: 28px; background: var(--grad); }

/* Casino / Sports cards */
.cats { flex: 0 0 auto; display: flex; gap: 24px; }
.cat {
  flex: 0 0 248px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px; border-radius: var(--r-lg); background: var(--surface); color: var(--text);
}
.cat:hover { background: var(--surface2); color: var(--text); }
.cat__ic { flex: 1; display: flex; align-items: center; justify-content: center; }
.cat__ic svg { width: 92px; height: 92px; }
.cat__tx { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cat__name { font-size: 16px; font-weight: 900; letter-spacing: .06em; }
.cat__live { display: flex; align-items: center; gap: 6px; color: var(--text2); font-size: 14px; font-weight: 500; }

/* Search */
.search {
  display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 20px; border-radius: var(--r);
  background: var(--field); border: 1px solid var(--surface3); color: var(--text3);
}
.search:focus-within { border-color: var(--gold); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 18px; font-weight: 500; color: var(--text); }

/* Section header + horizontal row */
.sec { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sec__head { display: flex; align-items: center; gap: 12px; }
.sec__head > .i { color: var(--goldtext); width: 24px; height: 24px; }
.sec__head h2 { flex: 1; font-size: 22px; font-weight: 800; }
.sec__ctrl { display: flex; gap: 6px; }
.live-tag { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text2); }
.row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scroll-behavior: smooth; }
.row > * { scroll-snap-align: start; }

/* Game tile */
.tile { flex: 0 0 164px; min-width: 0; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.tile:hover { color: #fff; }
.art {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px;
  transition: transform .15s ease; color: #fff;
}
.tile:hover .art { transform: translateY(-4px); }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art__blob { position: absolute; left: -20%; top: -12%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.14); }
.art__title { position: relative; font-size: 15px; font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: 1.05; }
.art__prov { position: relative; margin-top: 6px; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.badge-promo {
  position: absolute; top: 10px; left: 10px; width: 46px; height: 46px; border-radius: 50%; background: #0A0A0A; color: #fff;
  font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.15; z-index: 1;
}
.tile__meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text2); padding-left: 2px; }
.tile__meta strong { color: var(--text); font-weight: 700; }

/* Big-win tile */
.wtile { flex-basis: 118px; gap: 8px; color: var(--text); }
.wtile:hover { color: var(--text); }
.wtile .art { border-radius: var(--r); padding: 10px; }
.wtile .art__title { font-size: 12px; }
.wtile .art__prov { font-size: 8px; margin-top: 4px; }
.wtile__user { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text2); white-space: nowrap; overflow: hidden; }
.wtile__user span { overflow: hidden; text-overflow: ellipsis; }
.wtile__amt { font-size: 14px; font-weight: 800; color: var(--goldtext); margin-top: -4px; white-space: nowrap; }
.wtile.is-new { animation: slideIn .45s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

/* Live casino tile */
.ltile { flex-basis: 200px; }
.ltile .art { align-items: center; text-align: center; padding: 16px; }
.ltile__ring { position: absolute; left: 50%; top: 18%; width: 54%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); border: 2px dashed rgba(255,255,255,.28); }
.ltile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.5) 100%); }
.badge-live { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 6px; background: rgba(10,10,10,.8); font-size: 10px; font-weight: 800; letter-spacing: .1em; z-index: 1; }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.ltile__kick { position: relative; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.ltile .art__title { font-size: 20px; margin-top: 4px; font-stretch: 112%; line-height: 1; }
.ltile .art__prov { margin-top: 8px; }

/* Sponsorship card */
.sp {
  flex: 0 0 520px; height: 180px; border-radius: var(--r-lg); background: var(--surface); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px;
}
.sp:hover { background: var(--surface2); }
.sp .chip { border-radius: var(--r-sm); height: 30px; letter-spacing: .1em; position: relative; z-index: 1; }
.sp__name { font-size: 26px; font-weight: 800; font-stretch: 108%; line-height: 1.05; max-width: 52%; position: relative; z-index: 1; }
.sp__img { position: absolute; right: 16px; top: 16px; bottom: 16px; width: 40%; border: 1px dashed var(--surface3); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; }
.sp__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 7. BETS TABLE ------------------------------------------------------------ */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); align-self: flex-start; max-width: 100%; overflow-x: auto; }
.tabs button { height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill); font-size: 15px; font-weight: 700; white-space: nowrap; background: transparent; color: var(--text2); }
.tabs button[aria-selected="true"] { background: var(--grad); color: var(--ink); }
.btable { background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.btable__hd, .btable__row {
  display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr 1fr 1.3fr; align-items: center; padding: 0 20px; gap: 8px;
}
.btable__hd { height: 48px; font-size: 14px; font-weight: 700; color: var(--text3); }
.btable__row { height: 56px; border-top: 1px solid var(--line); font-size: 15px; }
.btable__row.is-new { animation: rowIn .4s ease; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); background: var(--surface2); } to { opacity: 1; transform: none; } }
.btable .r { text-align: right; justify-content: flex-end; }
.b-game { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
.b-game .i { color: var(--text3); width: 16px; height: 16px; }
.b-user { display: flex; align-items: center; gap: 6px; color: var(--text2); font-weight: 500; min-width: 0; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-time { color: var(--text3); font-weight: 500; }
.b-bet { color: var(--text2); font-weight: 500; }
.b-mult { font-weight: 700; }
.b-mult.is-zero { color: var(--text3); }
.b-pay { display: flex; align-items: center; gap: 8px; font-weight: 800; white-space: nowrap; }
.b-pay.is-pos { color: var(--pos); }
.cur { height: 22px; padding: 0 7px; border-radius: var(--r-pill); font-size: 10px; font-weight: 800; color: #fff; display: inline-flex; align-items: center; }
.cur--TND { background: #9A6412; } .cur--USDT { background: #167A5A; } .cur--EUR { background: #2850C2; } .cur--TRY { background: #C73232; }

/* 8. FOOTER / BOTTOM NAV / DRAWER / WIDGET -------------------------------- */
.social { display: flex; justify-content: center; gap: 12px; padding: 8px 0; }
.social a { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--surface2); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--surface3); }
.foot { border-top: 1px solid var(--line); padding: 36px 0 8px; display: flex; flex-direction: column; gap: 28px; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h3 { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--goldtext); }
.foot__col a { color: var(--text2); font-size: 15px; font-weight: 500; }
.foot__col a:hover { color: var(--goldtext); }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--text3); font-size: 13px; font-weight: 500; }
.age { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--text3); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex: 0 0 auto; }
.foot__legal p { flex: 1 1 320px; }

.bnav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--bnav-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
  background: var(--bg); border-top: 1px solid var(--line); align-items: stretch;
}
.bnav__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: var(--text2); font-size: 12px; font-weight: 700; padding: 0; }
.bnav__item .i { width: 24px; height: 24px; }
.bnav__item[aria-current="page"], .bnav__item:hover { color: var(--goldtext); }

.drawer { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
.drawer__hdr { height: 60px; flex: 0 0 60px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.drawer__hdr .logo { margin-right: auto; }
.drawer__hdr .logo__word { font-size: 21px; }
.drawer__hdr .ibtn { width: 40px; height: 40px; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.drawer .nav-card { border-radius: 14px; padding: 4px; }
.drawer .nav-grp { height: 48px; font-size: 17px; gap: 12px; }
.drawer .nav-grp .chev { width: 32px; height: 32px; }
.drawer .nav-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px 4px 6px; }
.drawer .nav-sub[hidden] { display: none; }
.drawer .nav-sub .nav-link { height: 44px; gap: 10px; font-size: 14px; background: var(--surface2); white-space: nowrap; overflow: hidden; }
.drawer .nav-link--top { height: 44px; font-size: 16px; gap: 12px; }
.drawer .nav-plain { height: 52px; font-size: 17px; border-radius: 14px; gap: 12px; padding: 0 8px 0 16px; }

.tg-widget { position: fixed; right: 12px; bottom: calc(var(--bnav-h) + 16px + env(safe-area-inset-bottom)); width: 88px; z-index: 40; display: none; filter: drop-shadow(0 10px 22px rgba(0,0,0,.45)); }
.tg-widget__x { position: absolute; top: -10px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--surface3); background: var(--surface2); display: flex; align-items: center; justify-content: center; padding: 0; z-index: 1; }
.tg-widget__x::after { content: ''; position: absolute; inset: -8px; } /* larger touch target */
.tg-widget a { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; }
.tg-widget__ic { height: 62px; background: var(--tg); display: flex; align-items: center; justify-content: center; color: #fff; }
.tg-widget__lbl { background: #fff; color: #0A0A0A; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 6px 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 100; background: var(--surface); color: var(--text); border: 1px solid var(--gold); border-radius: var(--r-md); padding: 12px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast code { color: var(--goldtext); font-family: ui-monospace, Menlo, monospace; font-size: 13px; }

/* 9. AUTH ------------------------------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 70; background: var(--dim); display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__box { width: 690px; max-width: 100%; margin: auto; background: var(--surface); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 24px 64px rgba(0,0,0,.55); }
.auth { display: flex; flex-direction: column; gap: 16px; }
.auth[hidden] { display: none; }
.auth__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.auth__top .logo__word { font-size: 28px; }
.modal .field { height: 64px; padding-left: 20px; }
.modal .field input { font-size: 18px; }
.modal .btn--block { height: 64px; }
.auth__forgot { align-self: flex-start; font-size: 16px; font-weight: 700; color: var(--text2); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; }
.auth__or { display: flex; align-items: center; gap: 14px; color: var(--text2); font-size: 17px; font-weight: 500; }
.auth__or::before, .auth__or::after { content: ''; flex: 1; height: 1px; background: var(--surface3); }
.auth__social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth__social .btn { height: 60px; font-size: 18px; font-weight: 800; }
.auth__social .g { font-size: 24px; font-weight: 900; line-height: 1; }
.auth__social .i { color: var(--tg); }
.auth__switch { margin-top: 6px; text-align: center; font-size: 18px; font-weight: 600; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.auth__switch a, .auth__switch button { color: var(--goldtext); font-weight: 800; background: none; border: 0; padding: 0; font-size: inherit; }
.auth__support { text-align: center; font-size: 18px; font-weight: 700; color: var(--text2); background: none; border: 0; }
.auth__support:hover { color: var(--goldtext); }
.welcome { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--gold); background: var(--bg); }
.welcome svg { width: 52px; height: 52px; flex: 0 0 auto; }
.welcome__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.welcome__t b { font-size: 20px; font-weight: 800; line-height: 1.2; }
.welcome__t b span { color: var(--goldtext); }
.welcome__t small { font-size: 17px; font-weight: 500; color: var(--text2); }
.strength { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: -6px; }
.strength span { height: 6px; border-radius: 3px; background: var(--surface3); transition: background .2s; }
.strength span.on { background: var(--grad); }
.terms { display: flex; align-items: flex-start; gap: 12px; }
.terms input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: #F6B52B; flex: 0 0 auto; }
.terms label { font-size: 16px; font-weight: 500; line-height: 1.45; }
.terms a { color: var(--goldtext); font-weight: 700; }
.form-msg { font-size: 15px; font-weight: 600; padding: 12px 14px; border-radius: var(--r); background: rgba(229, 72, 77, .12); color: #E5484D; }
.form-msg.ok { background: rgba(61, 220, 132, .12); color: var(--pos); }
.form-msg:empty { display: none; }

/* Full-screen auth pages (mobile routes /login, /register) */
.auth-page { min-height: 100vh; max-width: 520px; margin: 0 auto; padding: 0 20px 24px; }
.auth-page .auth__top { height: 76px; margin: 0; }
.auth-page .auth__top .logo__word { font-size: 24px; }
.auth-page .auth__top .logo__tld { font-size: 12px; }
.auth-page .auth__switch, .auth-page .auth__support { font-size: 17px; }
.auth-page .welcome { background: var(--surface); padding: 14px 16px; gap: 14px; }
.auth-page .welcome svg { width: 44px; height: 44px; }
.auth-page .welcome__t b { font-size: 17px; }
.auth-page .welcome__t small { font-size: 15px; }
.auth-page .terms label { font-size: 15px; }

/* 11. SHARED ADDITIONS (header section links, search trigger, game cards) -- */
.hdr__nav { display: flex; gap: 4px; margin-left: 18px; }
.hdr__nav a { height: 40px; padding: 0 14px; border-radius: var(--r); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--text2); }
.hdr__nav a:hover { color: var(--text); background: var(--surface2); }
.hdr__nav a[aria-current="page"] { color: var(--goldtext); background: var(--surface2); }
.search--btn { width: 100%; border-style: solid; text-align: left; font-size: 18px; font-weight: 500; cursor: pointer; }
.search--btn:hover { border-color: var(--gold); color: var(--text2); }

/* Game card (casino grids + search). Square art, caption under. */
.gcard { display: flex; flex-direction: column; gap: 6px; color: var(--text); min-width: 0; }
.gcard:hover { color: var(--text); }
.gcard__art { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; display: flex; align-items: flex-end; padding: 10px; color: #fff; transition: transform .15s ease; }
.gcard:hover .gcard__art { transform: translateY(-3px); }
.gcard__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard__name { position: relative; font-size: 13px; font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: 1.05; }
.gcard__prov { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-top: 2px; }
.gcard__title { font-size: 14px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcard .badge-promo { width: 40px; height: 40px; font-size: 7px; top: 8px; left: 8px; }
.gcard .badge-live { top: 8px; left: auto; right: 8px; }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px 12px; }
.skel { aspect-ratio: 1; border-radius: var(--r-md); background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Search Engine overlay */
.so { position: fixed; inset: 0; z-index: 65; background: var(--dim); display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px; overflow-y: auto; }
.so[hidden] { display: none; }
.so__box { width: 980px; max-width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 24px 64px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 12px; }
.so__head { display: flex; align-items: center; justify-content: space-between; }
.so__head h2 { font-size: 22px; font-weight: 800; }
.so__x { width: 40px; height: 40px; border-radius: var(--r); border: 1.5px solid var(--text2); background: transparent; display: flex; align-items: center; justify-content: center; }
.so__x:hover { border-color: var(--gold); color: var(--goldtext); }
.so__field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--surface3); color: var(--text3); }
:root[data-theme="light"] .so__field { background: #fff; }
.so__field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(246,181,43,.25); }
.so__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; font-weight: 500; color: var(--text); }
.so__field input::-webkit-search-cancel-button { filter: grayscale(1); }
.so__hint { font-size: 14px; color: var(--text2); }
.so__hint[hidden] { display: none; }
.so__title { font-size: 20px; font-weight: 800; color: var(--goldtext); margin-top: 8px; }
.so__provs { display: flex; flex-wrap: wrap; gap: 8px; }
.so__provs[hidden] { display: none; }
.so__prov { height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface2); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.so__empty { color: var(--text2); font-size: 15px; padding: 24px 0; text-align: center; }
.so__more { align-self: center; margin-top: 8px; }
.so .ggrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* Selects */
.select { position: relative; display: inline-flex; align-items: center; }
.select[hidden] { display: none; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 36px 0 14px; border-radius: var(--r); border: 1px solid var(--surface3); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.select select:focus-visible { outline: 2px solid var(--gold); }
.select .i { position: absolute; right: 12px; pointer-events: none; color: var(--text2); }
.select--full { display: flex; }
.select--full select { width: 100%; height: 48px; text-align: center; text-align-last: center; font-size: 15px; }

/* 12. CASINO PAGE ------------------------------------------------------------ */
.ctabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: -8px; }
.ctab { flex: 0 0 auto; min-width: 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 12px 10px; color: var(--text2); font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; white-space: nowrap; }
.ctab .i { width: 26px; height: 26px; color: var(--text2); }
.ctab:hover { color: var(--text); }
.ctab[aria-current="page"] { color: var(--goldtext); border-bottom-color: var(--gold); }
.ctab[aria-current="page"] .i { color: var(--goldtext); }

.jp { display: grid; grid-template-columns: 1fr; gap: 24px; }
.jp__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jp__levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.jpl { --c: var(--gold); position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: var(--r-md); border: 1.5px solid var(--c); background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), var(--surface); text-align: center; min-width: 0; }
.jpl--diamond { --c: #3BB4F2; } .jpl--gold { --c: #F6B52B; } .jpl--silver { --c: #9AA1AC; } .jpl--bronze { --c: #C9772F; }
.jpl__art svg { width: 44px; height: 44px; }
.jpl__name { font-size: 15px; font-weight: 800; color: var(--c); }
:root[data-theme="light"] .jpl--gold .jpl__name { color: #A86A05; }
:root[data-theme="light"] .jpl--silver .jpl__name { color: #5F6670; }
:root[data-theme="light"] .jpl--bronze .jpl__name { color: #9A5A22; }
:root[data-theme="light"] .jpl--diamond .jpl__name { color: #1478B0; }
.jpl__amt { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jpl__amt small { font-size: 11px; font-weight: 700; color: var(--text2); }
.jpl.is-hit { animation: jpHit 1.4s ease; }
@keyframes jpHit { 0%, 100% { transform: none; } 20% { transform: scale(1.06); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 35%, transparent); } }
.jp__filters { display: flex; gap: 6px; overflow-x: auto; }
.fchip { height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--surface3); background: transparent; color: var(--text2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.fchip[aria-pressed="true"] { background: var(--grad); color: var(--ink); border-color: transparent; }
.jpw { background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.jpw__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.jpw__row:first-child { border-top: 0; }
.jpw__row.is-new { animation: rowIn .5s ease; }
.jpw__lv svg { width: 30px; height: 30px; display: block; }
.jpw__user { font-size: 15px; font-weight: 600; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jpw__amt { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.jpw__at { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; font-weight: 600; min-width: 78px; }
.jpw__at small { color: var(--text3); font-size: 12px; }
.jpw__more { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.jpw__more .btn { min-width: 200px; height: 44px; border: 1px solid var(--surface3); }
.jpw__less { background: none; border: 0; color: var(--text2); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jpw__less[hidden] { display: none; }

.lobby { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.row2 { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 2px; }
.row2 > * { scroll-snap-align: start; }
.row2--2 { grid-template-rows: repeat(2, auto); }
.row2--wide { grid-auto-columns: 200px; }
.row2--wide .gcard__art { aspect-ratio: 4 / 3; }
.row2--providers { grid-auto-columns: 200px; }
.row2--winners { grid-auto-columns: 112px; }
.twin { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--text); }
.twin__art { position: relative; width: 56px; height: 56px; border-radius: var(--r); overflow: hidden; }
.twin__user { font-size: 13px; font-weight: 600; color: var(--text2); }
.twin__amt { font-size: 13px; font-weight: 900; color: var(--goldtext); white-space: nowrap; }
.pcard { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; padding: 14px; color: #fff; text-align: center; border: 1px solid rgba(255,255,255,.06); }
.pcard:hover { color: #fff; filter: brightness(1.15); }
.pcard img { max-width: 80%; max-height: 60%; object-fit: contain; }
.pcard__name { font-size: 20px; font-weight: 900; font-stretch: 105%; line-height: 1.05; }
.pcard__count { position: absolute; bottom: 8px; right: 10px; font-size: 11px; font-weight: 700; opacity: .7; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.grid-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.grid-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.grid-count { font-size: 13px; font-weight: 700; color: var(--text3); }
.grid-progress { font-size: 13px; color: var(--text3); }

/* 13. SPORTS PAGE ------------------------------------------------------------ */
.sb { gap: 16px !important; }
.sb-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--surface); }
.sb-top button { height: 44px; border: 0; border-radius: var(--r); background: transparent; color: var(--text2); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 800; }
.sb-top button[aria-selected="true"] { background: var(--surface3); color: var(--goldtext); }
.live-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; background: #E5262B; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.sb-count { font-size: 12px; font-weight: 800; color: var(--text3); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--surface); }
.seg button { height: 40px; border: 0; border-radius: var(--r); background: transparent; color: var(--text); font-size: 15px; font-weight: 800; }
.seg button[aria-pressed="true"] { background: var(--surface3); color: var(--goldtext); }
.seg button:disabled { opacity: .4; cursor: not-allowed; }
.seg--sm button { height: 36px; font-size: 14px; }
.sb-empty { padding: 28px 16px; text-align: center; color: var(--text2); background: var(--surface); border-radius: var(--r-md); font-size: 15px; line-height: 1.5; }
.sb-empty code { color: var(--goldtext); font-size: 13px; }
.dates { display: flex; gap: 6px; overflow-x: auto; }
.date { flex: 0 0 auto; min-width: 68px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text2); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; }
.date b { color: var(--text); }
.date[aria-pressed="true"] { border-color: var(--gold); color: var(--goldtext); }
.fav { background: var(--surface); border-radius: var(--r-md); }
.fav__btn { width: 100%; height: 50px; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 16px; font-weight: 800; color: var(--goldtext); text-align: left; }
.fav__btn span:first-of-type { flex: 0 0 auto; }
.fav__btn .chev-i { margin-left: auto; transition: transform .2s; }
.fav__btn[aria-expanded="true"] .chev-i { transform: rotate(180deg); }
.fav__body { padding: 0 10px 10px; display: flex; flex-direction: column; gap: 10px; }
.fav__body[hidden] { display: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; }
.chipx { flex: 0 0 auto; width: 84px; height: 84px; border: 1px solid transparent; border-radius: var(--r-md); background: var(--surface); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 800; }
.chipx .i { width: 30px; height: 30px; }
.chipx[aria-pressed="true"] { border-color: var(--gold); color: var(--goldtext); }
.fx { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.fx[hidden] { display: none; }
.fxc { scroll-snap-align: start; background: var(--surface); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.fxc__lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text2); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.ev { background: var(--surface); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.evlist { display: flex; flex-direction: column; gap: 10px; }
.ev__top { display: flex; align-items: center; gap: 6px; min-height: 24px; color: var(--text2); }
.ev__code { height: 20px; padding: 0 6px; border-radius: 5px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; }
.bb { height: 20px; padding: 0 5px; border-radius: 5px; border: 1.5px solid var(--gold); color: var(--goldtext); font-size: 10px; font-weight: 900; display: inline-flex; align-items: center; }
.ev__clock { font-size: 13px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.ev__time { font-size: 13px; font-weight: 700; color: var(--text2); }
.ev__stream { display: inline-flex; color: var(--text2); }
.ft { height: 20px; padding: 0 6px; border-radius: 5px; background: var(--surface3); font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; color: var(--text); }
.star { margin-left: auto; width: 40px; height: 40px; margin-top: -8px; margin-bottom: -8px; margin-right: -8px; border: 0; background: transparent; color: var(--goldtext); display: flex; align-items: center; justify-content: center; }
.ev__league { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text2); }
.ev__league .ev__time { margin-left: auto; }
.flag { height: 18px; min-width: 26px; padding: 0 4px; border-radius: 4px; background: var(--surface3); color: var(--text); font-size: 9px; font-weight: 900; letter-spacing: .04em; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ev__teams { display: flex; flex-direction: column; gap: 6px; }
.team { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; }
.jersey { width: 22px; height: 22px; flex: 0 0 auto; }
.team__n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team__s { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ev__odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; }
.odd { height: 44px; border: 1px solid transparent; border-radius: var(--r); background: var(--surface2); color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px; font-size: 14px; font-weight: 700; min-width: 0; position: relative; transition: background .15s; }
:root[data-theme="dark"] .odd, :root:not([data-theme="light"]) .odd { background: #2A2A2A; }
.odd:hover:not(:disabled) { border-color: var(--gold); }
.odd__k { color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odd__v { font-weight: 900; font-variant-numeric: tabular-nums; }
.odd[aria-pressed="true"] { background: var(--grad) !important; color: var(--ink); }
.odd[aria-pressed="true"] .odd__k { color: var(--ink); }
.odd:disabled { opacity: .55; cursor: not-allowed; }
.odd--na { justify-content: center; color: var(--text3); }
.odd--wide { grid-column: 1 / -1; }
.odd.is-up::after, .odd.is-down::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border: 5px solid transparent; animation: oddFlash 2.4s ease forwards; }
.odd.is-up::after { top: -6px; border-bottom-color: #2FBF71; }
.odd.is-down::after { bottom: -6px; border-top-color: #E5484D; }
.odd.is-up .odd__v { animation: upTxt 2.4s ease; } .odd.is-down .odd__v { animation: downTxt 2.4s ease; }
@keyframes oddFlash { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes upTxt { 0%, 70% { color: #2FBF71; } } @keyframes downTxt { 0%, 70% { color: #E5484D; } }
.ev__more-btn { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--surface2); display: flex; align-items: center; justify-content: center; }
.ev__more-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.ev__mk { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.ev__mk[hidden] { display: none; }
.mk__t { display: block; font-size: 12px; font-weight: 800; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.mk__o { display: grid; gap: 8px; }
.ev--res .team { font-weight: 700; }
.boost-bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: var(--r); background: var(--grad); color: var(--ink); margin-bottom: 10px; }
.boost-bar h2 { font-size: 15px; font-weight: 800; }
.boosts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 330px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.boost { scroll-snap-align: start; background: var(--surface); border: 1px solid #2F7FD8; border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.boost__tag { height: 20px; padding: 0 6px; border-radius: 5px; background: #2F7FD8; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; }
.boost__t { font-size: 15px; font-weight: 800; }
.boost__legs { list-style: none; margin: 0; padding: 0 0 0 14px; display: flex; flex-direction: column; gap: 6px; border-left: 2px solid var(--gold); font-size: 13px; color: var(--text2); flex: 1; }
.boost__legs b { color: var(--text); }
.boost__odd { justify-content: center; gap: 10px; }
.boost__odd s { color: var(--text3); font-weight: 600; }
.sb-search { height: 48px; }
.stabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.stab { flex: 0 0 auto; height: 44px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--text2); display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; }
.stab[aria-selected="true"] { color: var(--goldtext); border-bottom-color: var(--gold); }

/* Betslip */
.slip-fab { position: fixed; z-index: 45; right: 24px; bottom: 24px; width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--grad); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 800; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.slip-fab .i { width: 22px; height: 22px; }
.slip-fab__n { position: absolute; top: -2px; right: -2px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #E5262B; color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.slip-fab__n[hidden] { display: none; }
.slip-fab.is-bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.12); } }
.slip-back { position: fixed; inset: 0; z-index: 66; background: var(--dim); }
.slip-back[hidden] { display: none; }
.slip { position: fixed; z-index: 67; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%; background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; padding: 16px; transform: translateX(100%); transition: transform .22s ease; }
.slip[hidden] { display: none; }
.slip.is-open { transform: none; }
.slip__head { display: flex; align-items: center; gap: 10px; }
.slip__head h2 { font-size: 20px; font-weight: 800; flex: 1; display: flex; align-items: center; gap: 8px; }
.slip__clear { background: none; border: 0; color: var(--text2); font-size: 13px; font-weight: 700; text-decoration: underline; }
.slip__clear[hidden] { display: none; }
.slip__list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.slip__empty { margin: auto; text-align: center; color: var(--text2); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.slip__empty .i { width: 40px; height: 40px; color: var(--text3); }
.slip__empty p { font-weight: 800; color: var(--text); }
.si { background: var(--surface); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 4px; border: 1px solid transparent; }
.si.is-changed { border-color: var(--gold); }
.si__top { display: flex; align-items: center; gap: 8px; }
.si__pick { flex: 1; font-weight: 800; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si__odds { font-size: 15px; font-variant-numeric: tabular-nums; }
.si__odds b { color: var(--goldtext); font-weight: 900; }
.si__odds s { color: var(--text3); font-size: 13px; }
.si__x { width: 32px; height: 32px; border: 0; border-radius: var(--r-sm); background: var(--surface2); display: flex; align-items: center; justify-content: center; margin-right: -4px; }
.si__m { font-size: 12px; font-weight: 700; color: var(--text3); }
.si__e { font-size: 13px; color: var(--text2); }
.live-txt { color: #E5262B; font-weight: 900; }
.slip__stake { height: 48px !important; padding: 0 14px !important; gap: 10px; margin-top: 4px; }
.slip__stake span { font-size: 13px; font-weight: 700; color: var(--text2); }
.slip__stake input { text-align: right; font-size: 16px !important; font-weight: 800 !important; }
.slip__stake b { font-size: 12px; color: var(--text3); }
.slip__stake--sm { height: 42px !important; }
.slip__foot { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.slip__foot[hidden] { display: none; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quick button { height: 36px; border: 1px solid var(--surface3); border-radius: var(--r); background: transparent; font-weight: 800; font-size: 13px; }
.quick button:hover { border-color: var(--gold); }
.slip__sum { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.slip__sum > div { display: flex; justify-content: space-between; font-size: 14px; }
.slip__sum dt { color: var(--text2); } .slip__sum dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.slip__sum > div[hidden] { display: none; }
.slip__sum .win dd { color: var(--pos); font-size: 17px; font-weight: 900; }
.slip__accept { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); }
.slip__accept input { width: 18px; height: 18px; accent-color: #F6B52B; }
.slip .btn--block { height: 52px; font-size: 16px; }

@media (min-width: 1024px) {
  .jp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .jp__levels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .jpl { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 18px 16px; text-align: left; }
  .jpl__art svg { width: 52px; height: 52px; }
  .jpl__name { font-size: 14px; }
  .jpl__amt { font-size: 24px; margin-left: auto; }
  .jpl { flex-wrap: wrap; }
  .jpl__name { flex: 1; }
}
@media (min-width: 1280px) {
  [data-sbview="live"] .evlist, [data-sbview="upcoming"] .evlist, .fav__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .fav__body .sb-empty { grid-column: 1 / -1; }
  .evlist .sb-empty { grid-column: 1 / -1; }
}
.slip__stake input::-webkit-outer-spin-button, .slip__stake input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.slip__stake input[type=number] { -moz-appearance: textfield; }
@media (max-width: 1023px) {
  .hdr__nav { display: none; }
  .slip-fab { right: 50%; transform: translateX(50%); bottom: calc(var(--bnav-h) + 12px + env(safe-area-inset-bottom)); width: 64px; height: 64px; }
  .slip-fab.is-bump { animation: bumpM .35s ease; }
  @keyframes bumpM { 50% { transform: translateX(50%) scale(1.12); } }
  .slip { top: auto; left: 0; width: 100%; max-height: 88vh; border-left: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; transform: translateY(100%); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}
@media (max-width: 767px) {
  .so { padding: 0; }
  .so__box { border-radius: 0; border: 0; min-height: 100%; padding: 16px; }
  .so .ggrid, .ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
  .gcard__title { font-size: 13px; }
  .gcard__name { font-size: 11px; }
  .ctab { min-width: 64px; font-size: 13px; padding: 6px 8px 8px; }
  .ctab .i { width: 24px; height: 24px; }
  .jp__levels { gap: 6px; }
  .jpl { padding: 10px 4px 8px; gap: 4px; }
  .jpl__art svg { width: 32px; height: 32px; }
  .jpl__name { font-size: 12px; }
  .jpl__amt { font-size: 13px; }
  .jpl__amt small { display: block; font-size: 9px; }
  .jpw__row { grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: 8px; padding: 10px; }
  .jpw__lv svg { width: 26px; height: 26px; }
  .jpw__user { font-size: 14px; }
  .jpw__amt { font-size: 14px; gap: 6px; }
  .jpw__at { font-size: 12px; min-width: 70px; }
  .row2 { grid-auto-columns: 100px; gap: 8px; }
  .row2--wide { grid-auto-columns: 132px; }
  .row2--providers { grid-auto-columns: 132px; }
  .row2--winners { grid-auto-columns: 84px; }
  .pcard__name { font-size: 15px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-tools { width: 100%; } .grid-tools .select { flex: 1; } .grid-tools select { width: 100%; }
  .chipx { width: 72px; height: 72px; font-size: 12px; }
  .chipx .i { width: 26px; height: 26px; }
  .fx { grid-auto-columns: 86%; }
  .boosts { grid-auto-columns: 86%; }
  .odd { padding: 0 10px; height: 42px; font-size: 13px; }
  .ev__more-btn { width: 40px; height: 42px; }
  .team { font-size: 14px; }
}

/* 14. JACKPOT HISTORY POPUP + CALENDAR ------------------------------------- */
.jh .jh__box { width: 920px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 48px); }
.jh__head { display: flex; align-items: center; justify-content: space-between; }
.jh__head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.jh__head h2 .i { color: var(--goldtext); }
.jh__levels { display: flex; gap: 8px; overflow-x: auto; flex: 0 0 auto; }
.fchip--lv { height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px 0 10px; }
.fchip--lv:not(.fchip--diamond):not(.fchip--gold):not(.fchip--silver):not(.fchip--bronze) { padding: 0 16px; }
.fchip__ic svg { width: 22px; height: 22px; display: block; }
.fchip--diamond[aria-pressed="true"] { background: #3BB4F2; color: #06202E; }
.fchip--silver[aria-pressed="true"] { background: #C9CED6; color: #141414; }
.fchip--bronze[aria-pressed="true"] { background: #D08A4A; color: #141414; }
.jh__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; min-height: 0; flex: 1; }
.jh__calwrap { display: flex; flex-direction: column; gap: 10px; }
.jh__datebtn { display: none; }
.cal { background: var(--surface2); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cal__presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.cal__presets button { height: 32px; border: 1px solid var(--surface3); border-radius: var(--r-sm); background: transparent; font-size: 12px; font-weight: 800; color: var(--text2); }
.cal__presets button:hover, .cal__presets button[aria-pressed="true"] { border-color: var(--gold); color: var(--goldtext); }
.cal__head { display: flex; align-items: center; justify-content: space-between; }
.cal__head b { font-size: 15px; font-weight: 800; }
.cal__head .ibtn { width: 34px; height: 34px; background: var(--surface3); }
.cal__head .ibtn:disabled { opacity: .35; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__dow span { font-size: 11px; font-weight: 800; color: var(--text3); padding: 4px 0; }
.cal__d { position: relative; aspect-ratio: 1; border: 0; border-radius: var(--r-sm); background: transparent; font-size: 13px; font-weight: 700; color: var(--text); min-height: 34px; }
.cal__d:hover:not(:disabled) { background: var(--surface3); }
.cal__d:disabled { color: var(--text3); opacity: .45; cursor: default; }
.cal__d.today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cal__d.has::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cal__d.in { background: color-mix(in srgb, var(--gold) 22%, transparent); border-radius: 0; }
.cal__d.edge { background: var(--grad); color: var(--ink); border-radius: var(--r-sm); }
.cal__d.edge.has::after { background: var(--ink); }
.cal__hint { font-size: 12px; color: var(--text3); line-height: 1.4; }
.cal__dotkey { white-space: nowrap; }
.cal__dotkey i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin: 0 2px; }
.jh__results { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }
.jh__sum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jh__sum > div { background: var(--surface2); border-radius: var(--r); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.jh__sum small { font-size: 12px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }
.jh__sum b { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.jh__sum > div + div b { color: var(--goldtext); }
.jh .jpw { background: var(--surface2); }
.jh__skel { height: 50px; border-top: 1px solid var(--line); background: linear-gradient(90deg, var(--surface2) 0%, var(--surface3) 50%, var(--surface2) 100%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@media (max-width: 767px) {
  .jh { padding: 0; }
  .jh .jh__box { width: 100%; max-height: none; min-height: 100%; border-radius: 0; padding: 16px; }
  .jh__body { grid-template-columns: 1fr; gap: 12px; }
  .jh__datebtn { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--surface3); background: var(--surface2); font-size: 15px; font-weight: 800; }
  .jh__datebtn .chev-i { margin-left: auto; transition: transform .2s; }
  .jh__datebtn[aria-expanded="true"] .chev-i { transform: rotate(180deg); }
  .jh__datebtn .i:first-child { color: var(--goldtext); }
  .jh .cal { display: none; }
  .jh .cal.is-open { display: flex; }
  .jh__results { overflow: visible; }
  .jh__sum b { font-size: 17px; }
}
.jpw__more .btn .i { color: var(--goldtext); }

/* Popular Sports tiles: fixed equal size + sport icon */
.stile { width: 164px; flex: 0 0 164px; }
.stile .art { width: 100%; }
.stile .art__title { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stile__ic { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; color: rgba(255,255,255,.9); }
@media (min-width: 768px) { .stile { width: 148px; flex-basis: 148px; } }
@media (max-width: 767px) { .stile { width: 108px; flex-basis: 108px; } .stile .art__title { font-size: 11px; } .stile__ic { width: 30px; height: 30px; top: 10px; right: 10px; } }


/* 15. ANNOUNCEMENT BAR (under the sticky header) ---------------------------- */
:root { --ann-h: 0px; }
.ann { position: sticky; top: var(--hdr-h); z-index: 19; height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 var(--pad); background: #2A1D05; color: #FFE6A8; border-bottom: 1px solid rgba(246,181,43,.35); overflow: hidden; transition: transform .25s ease, opacity .25s ease; }
.ann[hidden] { display: none; }
.ann.is-leaving { opacity: 0; transform: translateY(-100%); }
:root[data-theme="light"] .ann { background: #FFF4D6; color: #6B4300; border-bottom-color: #F1D58A; }
.ann--info { background: #0F2236; color: #CFE6FF; border-bottom-color: rgba(59,180,242,.35); }
:root[data-theme="light"] .ann--info { background: #E6F2FF; color: #0C3F6E; border-bottom-color: #B9D8F5; }
.ann--warning { background: #3A0E0E; color: #FFD6D6; border-bottom-color: rgba(229,38,43,.45); }
:root[data-theme="light"] .ann--warning { background: #FFE8E8; color: #7A1010; border-bottom-color: #F3B5B5; }
.ann__ic { flex: 0 0 auto; display: flex; color: inherit; opacity: .9; }
.ann__track { flex: 1; min-width: 0; height: 100%; overflow: hidden; position: relative; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ann__track:focus-visible { outline-offset: -2px; }
.ann__move { position: absolute; left: 0; top: 50%; white-space: nowrap; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 18px; transform: translate(var(--from, 100%), -50%); }
.ann__move.is-run { animation: annScroll linear infinite; }
.ann__track:hover .ann__move, .ann__track:focus .ann__move { animation-play-state: paused; }
@keyframes annScroll { from { transform: translate(var(--from), -50%); } to { transform: translate(var(--to), -50%); } }
.ann__move a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ann__sep { opacity: .5; }
.ann__x { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: inherit; display: flex; align-items: center; justify-content: center; opacity: .8; }
.ann__x:hover { opacity: 1; background: rgba(255,255,255,.08); }
.side { top: calc(var(--hdr-h) + var(--ann-h)); height: calc(100vh - var(--hdr-h) - var(--ann-h)); }
@media (prefers-reduced-motion: reduce) {
  .ann__move.is-run { animation: none; transform: translate(0, -50%); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 767px) { .ann { height: 34px; padding-left: 12px; } .ann__move { font-size: 13px; } }

/* 16. SUPPORT CHAT ------------------------------------------------------------ */
.page--chat .page-inner { max-width: 1200px; }
.chat { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; height: calc(100vh - var(--hdr-h) - var(--ann-h) - 2 * var(--pad)); min-height: 520px; }
.chat__side { background: var(--surface); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.chat__side-head { display: flex; align-items: center; justify-content: space-between; }
.chat__side-head h2 { font-size: 18px; font-weight: 800; }
.chat__side-x { display: none; }
.chat__sec { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.chat__sec h3 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); display: flex; align-items: center; gap: 6px; }
.chat__sec--users { flex: 1; }
.chat__find { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r); background: var(--field); border: 1px solid var(--surface3); color: var(--text3); }
.chat__find:focus-within { border-color: var(--gold); }
.chat__find input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--text); }
.ulist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ulist--users { overflow-y: auto; flex: 1; min-height: 0; margin-right: -6px; padding-right: 6px; }
.ulist__empty { color: var(--text3); font-size: 13px; padding: 8px 0; }
.urow { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r); }
.urow:hover { background: var(--surface2); }
.urow.is-new { animation: rowIn .5s ease; }
.urow__t { display: flex; flex-direction: column; min-width: 0; }
.urow__t b { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.urow__t small { font-size: 12px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vip { height: 16px; padding: 0 5px; border-radius: 4px; background: var(--grad); color: var(--ink); font-size: 9px; font-weight: 900; display: inline-flex; align-items: center; }
.avatar { --h: 40; position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #fff; background: hsl(var(--h) 45% 32%); }
.avatar--agent { background: var(--grad); color: var(--ink); }
.avatar--sm { width: 28px; height: 28px; font-size: 12px; }
.pres { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--surface); background: var(--pos); }
.pres--away { background: #E8A33A; }
.chat__main { background: var(--surface); border-radius: var(--r-lg); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__head .avatar { width: 42px; height: 42px; font-size: 17px; }
.chat__who { flex: 1; min-width: 0; }
.chat__who h1 { font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat__who p { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); }
.chat__online-btn { display: none; gap: 6px; }
.chat__log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { display: flex; align-items: flex-end; gap: 8px; max-width: 78%; }
.msg--me { align-self: flex-end; }
.msg--them { align-self: flex-start; }
.msg__b { padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.msg--them .msg__b { background: var(--surface2); border-bottom-left-radius: 4px; }
.msg--me .msg__b { background: var(--grad); color: var(--ink); border-bottom-right-radius: 4px; }
.msg__meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; opacity: .7; }
.ticks { letter-spacing: -3px; font-weight: 900; }
.ticks.is-read { color: #1F5FD6; opacity: 1; }
.msg--sys, .msg--day { align-self: center; max-width: 92%; font-size: 12px; color: var(--text3); text-align: center; }
.msg--day span { padding: 3px 10px; border-radius: var(--r-pill); background: var(--surface2); font-weight: 700; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--goldtext); font-weight: 800; text-decoration: underline; font-size: inherit; }
.msg--typing[hidden] { display: none; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text3); animation: tdot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__quick { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.chat__form textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 140px; resize: none; padding: 11px 14px; border-radius: var(--r); border: 1px solid var(--surface3); background: var(--field); color: var(--text); font: inherit; font-size: 15px; line-height: 1.4; outline: 0; }
.chat__form textarea:focus { border-color: var(--gold); }
.chat__send { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--grad); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.chat__send:disabled { opacity: .4; cursor: not-allowed; }
.chat__scrim { position: fixed; inset: 0; z-index: 60; background: var(--dim); }
.chat__scrim[hidden] { display: none; }
@media (max-width: 1023px) {
  .page--chat { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom) + 12px) !important; }
  .chat { grid-template-columns: 1fr; height: calc(100dvh - var(--hdr-h) - var(--ann-h) - var(--bnav-h) - env(safe-area-inset-bottom) - var(--pad) - 12px); min-height: 380px; }
  .chat__online-btn { display: inline-flex; }
  .chat__side { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 80vh; border-radius: 18px 18px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .chat__side.is-open { transform: none; visibility: visible; transition: transform .22s ease; }
  .chat__side-x { display: inline-flex; }
  .chat__side { overflow-y: auto; }
  .chat__side .chat__sec { flex: 0 0 auto; min-height: auto; }
  .chat__side .ulist--users { overflow: visible; flex: none; }
}
@media (max-width: 767px) {
  .chat__head { padding: 10px 12px; }
  .chat__head .avatar { width: 36px; height: 36px; font-size: 15px; }
  .chat__who h1 { font-size: 15px; }
  .chat__log { padding: 12px; }
  .msg { max-width: 88%; }
  .msg__b { font-size: 14px; }
  .chat__quick { padding: 0 12px 8px; }
  .chat__form { padding: 10px 12px 12px; }
  .chat__form textarea { font-size: 16px; }
}

/* 17. ADMIN · SITE ALERTS ----------------------------------------------------- */
.adm { max-width: 1200px; }
.adm__title { display: flex; gap: 14px; align-items: flex-start; }
.adm__title > .i { color: var(--goldtext); margin-top: 4px; }
.adm__title h1 { font-size: 26px; font-weight: 900; }
.adm__title p { color: var(--text2); font-size: 15px; margin-top: 4px; max-width: 720px; }
.adm__note { background: var(--surface); border: 1px dashed var(--surface3); border-radius: var(--r); padding: 10px 14px; font-size: 13px; color: var(--text2); }
.adm__note code { color: var(--goldtext); }
.adm__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.adm__card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.adm__card h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.adm__lbl { font-size: 13px; font-weight: 800; color: var(--text2); display: block; margin-top: 4px; }
.req { color: var(--goldtext); font-size: 11px; font-weight: 700; margin-left: 4px; }
.adm__card textarea, .adm__in { width: 100%; border: 1px solid var(--surface3); border-radius: var(--r); background: var(--field); color: var(--text); font: inherit; font-size: 15px; padding: 10px 12px; outline: 0; resize: vertical; }
.adm__in { height: 44px; color-scheme: inherit; }
.adm__card textarea:focus, .adm__in:focus { border-color: var(--gold); }
.adm__help { font-size: 12px; color: var(--text3); }
.adm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adm__row .select select { height: 44px; text-align: left; text-align-last: left; }
.adm__tones { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.adm__tones legend { margin-bottom: 6px; padding: 0; }
.tone input { position: absolute; opacity: 0; }
.tone span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--surface3); font-size: 14px; font-weight: 800; cursor: pointer; }
.tone input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.tone--info input:checked + span { background: #0F2236; border-color: #3BB4F2; color: #CFE6FF; }
.tone--promo input:checked + span { background: #2A1D05; border-color: #F6B52B; color: #FFE6A8; }
.tone--warning input:checked + span { background: #3A0E0E; border-color: #E5262B; color: #FFD6D6; }
.adm__preview { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.adm__pv-head { display: flex; align-items: center; justify-content: space-between; }
.adm__pv-lang { width: 160px; }
.ann--preview { position: relative; top: auto; border-radius: var(--r); padding-left: 12px; }
.adm__list-head { display: flex; align-items: baseline; justify-content: space-between; }
.adm__list { display: flex; flex-direction: column; gap: 10px; }
.annc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.annc--expired { opacity: .6; }
.annc__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st { height: 22px; padding: 0 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; }
.st--live { background: rgba(61, 220, 132, .15); color: var(--pos); }
.st--scheduled { background: rgba(59, 180, 242, .15); color: #3BB4F2; }
.st--expired { background: var(--surface2); color: var(--text3); }
.annc__tone { font-size: 12px; font-weight: 800; text-transform: capitalize; color: var(--text2); }
.annc__when { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--text2); }
.annc__t { font-size: 14px; line-height: 1.45; }
.annc__foot { display: flex; align-items: center; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.annc__foot small { color: var(--text3); font-size: 12px; }
.annc__acts { display: flex; gap: 6px; }
.annc__acts .pill-btn { height: 36px; font-size: 13px; }
.annc__acts .ibtn { width: 36px; height: 36px; }
@media (max-width: 1023px) { .adm__grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .adm__row { grid-template-columns: 1fr; } .adm__card { padding: 16px; } .adm__title h1 { font-size: 22px; } }

/* 10. RESPONSIVE ----------------------------------------------------------- */
/* 1024–1279: sidebar defaults to the 72px rail (JS adds .is-rail unless the user opened it) */

/* DESKTOP SIZING (≥768px) — tuned for 1440 frames / laptops at 125% scaling.
   Mobile (<768) keeps the larger phone sizes defined in the base + mobile rules. */
@media (min-width: 768px) {
  :root { --hdr-h: 64px; --side-w: 256px; --rail-w: 64px; }
  /* Header */
  .hdr .logo__word { font-size: 22px; }
  .hdr .logo__tld { font-size: 12px; }
  .hdr .btn { height: 42px; padding: 0 18px; font-size: 15px; }
  .hdr .ibtn { width: 40px; height: 40px; }
  .hdr .i { width: 20px; height: 20px; }
  .theme-switch { height: 40px; }
  .theme-switch span { width: 32px; height: 32px; }
  .lang__btn { height: 40px; font-size: 13px; }
  /* Sidebar */
  .side { padding: 20px 14px; gap: 10px; }
  .side.is-rail { padding: 14px 8px; }
  .side .nav-grp { height: 48px; font-size: 17px; gap: 12px; }
  .side .nav-grp > .i, .side .nav-plain > .i { width: 22px; height: 22px; }
  .side .chev { width: 32px; height: 32px; }
  .side .nav-link { height: 42px; font-size: 15px; gap: 12px; }
  .side .nav-link .i { width: 20px; height: 20px; }
  .side .nav-plain { height: 48px; font-size: 16px; gap: 12px; padding-left: 16px; }
  /* Content column: capped at 1200 and centred beside the sidebar */
  .page-inner { max-width: 1200px; gap: 28px; }
  /* Hero + category cards */
  .hero { min-height: 260px; padding: 24px 28px; gap: 16px; }
  .hero h1 { font-size: 36px; }
  .hero__txt { max-width: 60%; }
  .hero__img { width: 38%; }
  .hero__ctas .btn--gold { height: 46px; padding: 0 24px; font-size: 16px; }
  .sq-btn { width: 46px; height: 46px; font-size: 20px; }
  .hero__glow { width: 420px; height: 420px; top: -120px; }
  .cat { min-height: 260px; flex-basis: 216px; }
  .cats { gap: 20px; }
  .top { gap: 20px; }
  .cat__ic svg { width: 80px; height: 80px; }
  /* Search + sections */
  .search { height: 52px; padding: 0 18px; gap: 12px; }
  .search input { font-size: 16px; }
  .search .i { width: 22px; height: 22px; }
  .sec { gap: 14px; }
  .sec__head h2 { font-size: 19px; }
  .sec__head > .i { width: 22px; height: 22px; }
  .sec__ctrl .ibtn { width: 40px; height: 40px; }
  .sec__ctrl .pill-btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .row { gap: 14px; }
  .tile { flex-basis: 148px; }
  .tile .art__title { font-size: 14px; }
  .tile__meta { font-size: 13px; }
  .badge-promo { width: 42px; height: 42px; font-size: 7.5px; }
  .ltile { flex-basis: 176px; }
  .ltile .art__title { font-size: 18px; }
  .wtile { flex-basis: 104px; }
  .wtile .art__title { font-size: 11px; }
  .wtile__user, .wtile__amt { font-size: 13px; }
  .sp { flex-basis: 440px; height: 160px; }
  .sp__name { font-size: 22px; }
  /* Bets table */
  .tabs button { height: 40px; padding: 0 18px; font-size: 14px; }
  .btable__hd { height: 44px; font-size: 13px; }
  .btable__row { height: 50px; font-size: 14px; }
  /* Footer */
  .social a { width: 48px; height: 48px; }
  .foot__col a { font-size: 14px; }
  /* Auth popup: 560 wide, 52–54px fields */
  .modal__box { width: 560px; padding: 22px; }
  .modal .auth { gap: 14px; }
  .modal .auth__top { margin-bottom: 2px; }
  .modal .auth__top .logo__word { font-size: 24px; }
  .modal .auth__top .ibtn { width: 40px; height: 40px; }
  .modal .field { height: 54px; padding-left: 18px; }
  .modal .field input { font-size: 16px; }
  .modal .field .ibtn { width: 40px; height: 40px; }
  .modal .btn--block { height: 54px; font-size: 17px; }
  .modal .auth__social .btn { height: 52px; font-size: 16px; }
  .modal .auth__social .g { font-size: 20px; }
  .modal .auth__or { font-size: 15px; }
  .modal .auth__forgot { font-size: 15px; }
  .modal .auth__switch, .modal .auth__support { font-size: 16px; }
  .modal .welcome { padding: 12px 16px; gap: 14px; }
  .modal .welcome svg { width: 44px; height: 44px; }
  .modal .welcome__t b { font-size: 17px; }
  .modal .welcome__t small { font-size: 15px; }
  .modal .terms label { font-size: 14px; }
  .modal .terms input { width: 22px; height: 22px; }
}

/* 1024–1279 (and below): hero takes the full row, Casino/Sports cards sit under it side by side */
@media (max-width: 1279px) {
  .hero { flex-basis: 100%; }
  .cats { flex: 1 1 100%; }
  .cat { flex: 1 1 0; min-height: 132px; flex-direction: row; align-items: center; justify-content: center; gap: 24px; }
  .cat__ic { flex: 0 0 auto; }
  .cat__ic svg { width: 72px; height: 72px; }
  .cat__tx { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cat__name { font-size: 18px; }
}

/* <1024: no sidebar → bottom nav + drawer, header = logo + login + register */
@media (max-width: 1023px) {
  .side, .hdr__burger, .hdr__tools { display: none; }
  .hdr__theme-m { display: inline-flex; }
  .bnav { display: flex; }
  .tg-widget { display: block; }
  .tg-widget[hidden] { display: none; }
  .cats { flex: 1 1 100%; }
  .cat { flex: 1 1 0; }
  .page { padding-bottom: calc(var(--bnav-h) + 24px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(var(--bnav-h) + 16px); }
}

/* <768: mobile sizes */
@media (max-width: 767px) {
  :root { --hdr-h: 60px; --pad: 16px; }
  .page { gap: 24px; }
  .page-inner { gap: 24px; }
  .hdr { gap: 6px; }
  .hdr .logo { min-width: 0; overflow: hidden; }
  .hdr .btn { height: 40px; padding: 0 12px; font-size: 15px; }
  .hdr__theme-m { width: 40px; height: 40px; }
  .hdr__login { margin-left: 0; }
  .hdr .logo__word { font-size: 21px; }
  .hdr .logo__tld { font-size: 11px; }
  .top { gap: 16px; }
  .hero { min-height: 280px; padding: 20px; flex-basis: 100%; }
  .hero h1 { font-size: 30px; gap: 3px; }
  .hero__sub { font-size: 12px; line-height: 1.3; }
  .hero__img { width: 44%; top: 12px; right: 12px; bottom: 12px; font-size: 10px; }
  .hero__img small { display: none; }
  .hero__txt { gap: 10px; }
  .hero .chip { height: 24px; padding: 0 10px; font-size: 10px; }
  .hero__ctas { gap: 8px; }
  .hero__ctas .btn--gold { height: 48px; padding: 0 22px; font-size: 16px; }
  .sq-btn { width: 48px; height: 48px; font-size: 20px; }
  .cats { gap: 12px; }
  .cat { flex-direction: row; min-height: 76px; height: 76px; padding: 0 14px; gap: 12px; justify-content: flex-start; align-items: center; border-radius: 14px; min-width: 0; }
  .cat__ic { flex: 0 0 auto; }
  .cat__ic svg { width: 44px; height: 44px; }
  .cat__tx { flex-direction: column; align-items: flex-start; gap: 3px; flex-wrap: nowrap; min-width: 0; }
  .cat__name { font-size: 15px; }
  .cat__live { font-size: 12px; white-space: nowrap; }
  .search { height: 52px; padding: 0 16px; gap: 12px; }
  .search input { font-size: 16px; }
  .sec { gap: 12px; }
  .sec__head { gap: 10px; }
  .sec__head h2 { font-size: 18px; }
  .row { gap: 12px; }
  .tile { flex-basis: 118px; gap: 8px; }
  .tile .art { padding: 10px; }
  .tile .art__title { font-size: 12px; }
  .tile .art__prov { font-size: 8px; margin-top: 4px; }
  .tile__meta { font-size: 12px; gap: 6px; }
  .badge-promo { width: 40px; height: 40px; font-size: 7px; top: 8px; left: 8px; }
  .wtile { flex-basis: 100px; }
  .ltile { flex-basis: 160px; }
  .ltile .art__title { font-size: 17px; }
  .sp { flex-basis: 300px; height: 150px; }
  .sp__name { font-size: 20px; }
  .btable__hd, .btable__row { grid-template-columns: 1.6fr 1fr 1.3fr; padding: 0 14px; }
  .btable__row { font-size: 14px; }
  .tc-opt { display: none !important; }
  .modal__box { padding: 20px; }
}

/* MOBILE SIZING (<768px) — same tightening as desktop, scaled for phones.
   Tap targets stay ≥40px. */
@media (max-width: 767px) {
  :root { --hdr-h: 56px; --bnav-h: 64px; }
  /* Header */
  .hdr .logo__word { font-size: 19px; }
  .hdr .logo__tld { font-size: 10px; }
  .hdr .btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .hdr__theme-m { width: 38px; height: 38px; }
  .hdr__theme-m .i { width: 18px; height: 18px; }
  /* Page rhythm */
  .page, .page-inner { gap: 20px; }
  /* Hero + category cards */
  .hero { min-height: 240px; padding: 18px; gap: 12px; }
  .hero h1 { font-size: 26px; }
  .hero__ctas .btn--gold { height: 42px; padding: 0 18px; font-size: 15px; }
  .sq-btn { width: 42px; height: 42px; font-size: 18px; }
  .cat { height: 64px; min-height: 64px; padding: 0 12px; gap: 10px; }
  .cat__ic svg { width: 36px; height: 36px; }
  .cat__name { font-size: 14px; }
  /* Search + sections */
  .search { height: 46px; padding: 0 14px; gap: 10px; }
  .search input { font-size: 16px; } /* keep 16px so iOS doesn't zoom on focus */
  .search .i { width: 20px; height: 20px; }
  .sec__head h2 { font-size: 16px; }
  .sec__head > .i { width: 20px; height: 20px; }
  .sec__ctrl .ibtn { width: 40px; height: 40px; }
  .sec__ctrl .pill-btn { height: 40px; padding: 0 12px; font-size: 13px; }
  .row { gap: 10px; }
  .tile { flex-basis: 108px; }
  .tile .art__title { font-size: 11px; }
  .badge-promo { width: 36px; height: 36px; font-size: 6.5px; }
  .ltile { flex-basis: 144px; }
  .ltile .art__title { font-size: 15px; }
  .wtile { flex-basis: 92px; }
  .wtile .art__title { font-size: 10px; }
  .wtile__user, .wtile__amt { font-size: 12px; }
  .sp { flex-basis: 270px; height: 136px; padding: 16px; }
  .sp__name { font-size: 18px; }
  /* Bets table */
  .tabs button { height: 40px; padding: 0 14px; font-size: 13px; }
  .btable__hd { height: 40px; font-size: 12px; }
  .btable__row { height: 48px; font-size: 13px; }
  /* Footer */
  .social a { width: 44px; height: 44px; }
  /* Bottom nav (64 + safe area) + widget */
  .bnav__item { font-size: 11px; gap: 4px; }
  .bnav__item .i { width: 22px; height: 22px; }
  .tg-widget { width: 76px; }
  .tg-widget__ic { height: 52px; }
  .tg-widget__lbl { font-size: 10px; padding: 5px 0; }
  /* Menu drawer */
  .drawer__hdr { height: 56px; flex-basis: 56px; }
  .drawer__hdr .logo__word { font-size: 19px; }
  .drawer .nav-grp { height: 44px; font-size: 16px; }
  .drawer .nav-grp .chev { width: 30px; height: 30px; }
  .drawer .nav-link--top { height: 40px; font-size: 15px; }
  .drawer .nav-sub .nav-link { height: 40px; font-size: 13px; }
  .drawer .nav-plain { height: 46px; font-size: 16px; }
  /* Full-screen auth pages */
  .auth-page { padding: 0 16px 20px; }
  .auth-page .auth { gap: 12px; }
  .auth-page .auth__top { height: 64px; }
  .auth-page .auth__top .logo__word { font-size: 21px; }
  .auth-page .auth__top .ibtn { width: 40px; height: 40px; }
  .auth-page .field { height: 52px; padding-left: 16px; }
  .auth-page .field input { font-size: 16px; }
  .auth-page .field .ibtn { width: 40px; height: 40px; }
  .auth-page .btn--block { height: 52px; font-size: 16px; }
  .auth-page .auth__social .btn { height: 50px; font-size: 15px !important; }
  .auth-page .auth__social .g { font-size: 19px !important; }
  .auth-page .auth__or { font-size: 14px !important; }
  .auth-page .auth__forgot { font-size: 14px; }
  .auth-page .auth__switch, .auth-page .auth__support { font-size: 15px; }
  .auth-page .welcome { padding: 12px 14px; gap: 12px; }
  .auth-page .welcome svg { width: 38px; height: 38px; }
  .auth-page .welcome__t b { font-size: 15px; }
  .auth-page .welcome__t small { font-size: 13px; }
  .auth-page .terms label { font-size: 14px; }
  .auth-page .terms input { width: 22px; height: 22px; }
}

/* Small phones (≤374px, e.g. iPhone SE 1st gen) */
@media (max-width: 374px) {
  .hdr .logo__word { font-size: 18px; }
  .hdr .logo__tld { display: none; }
  .hdr .btn { padding: 0 10px; font-size: 14px; }
  .cat { padding: 0 10px; gap: 8px; }
  .cat__ic svg { width: 36px; height: 36px; }
}

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