/* Jeetway BD — site.css */
:root {
  --bg: #080808;
  --panel: #202327;
  --panel-2: #2a2e33;
  --line: #34383e;
  --orange: #ff8500;
  --orange-hi: #ff9a2e;
  --green: #238c28;
  --green-hi: #2ba531;
  --white: #ffffff;
  --muted: #b5b5b5;
  --todo: #ffe066;
  --head-h: 60px;
  --side-w: 224px;
  --radius: 10px;
  --font: "Barlow", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-c: "Barlow Condensed", "Noto Sans Bengali", "Arial Narrow", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font: 400 16px/1.6 var(--font);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange-hi); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-c); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { background: var(--panel-2); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: #000; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #111; }
.btn-primary:hover { background: var(--orange-hi); color: #111; }
.btn-ghost { background: var(--green); color: var(--white); }
.btn-ghost:hover { background: var(--green-hi); color: var(--white); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.cta-box { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 16px 18px; margin: 24px 0; }
.cta-box p { margin: 0; color: var(--white); font-weight: 500; }
.cta-box .cta-row { margin: 12px 0 0; }

/* ---------- header ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--head-h);
  padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
  display: flex; align-items: center; gap: 12px; padding-inline: 16px;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.logo img { height: 34px; width: auto; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.locale { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }
.locale img { border-radius: 2px; }
a.locale { text-decoration: none; }
a.locale:hover { color: var(--white); border-color: var(--muted); }
:lang(bn) body, :lang(bn) .btn { line-height: 1.7; }
:lang(bn) h1, :lang(bn) h2, :lang(bn) h3 { line-height: 1.35; letter-spacing: 0; }
:lang(bn) .btn { line-height: 1.2; }
.locale-lang::before { content: "/"; margin-right: 6px; opacity: .5; }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-left: -8px; cursor: pointer; }
.menu-btn .ic { width: 24px; height: 24px; }

/* ---------- sidebar ---------- */
.sidebar {
  position: fixed; z-index: 30; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); bottom: 0; left: 0;
  width: var(--side-w); overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border-right: 1px solid var(--line); padding: 10px 10px 24px;
}
.sidebar-head { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list-2 { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.nav-list a, .nav-group-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 9px 12px; border-radius: 8px; color: var(--white); text-decoration: none;
  font: 600 15px/1.2 var(--font); background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-list a:hover, .nav-group-toggle:hover { background: var(--panel-2); color: var(--white); }
.nav-list a[aria-current="page"] { background: var(--orange); color: #111; }
.nav-list .ic { color: var(--orange); }
.nav-list a[aria-current="page"] .ic { color: #111; }
.nav-group-toggle .chev { margin-left: auto; transition: transform .2s; color: var(--muted); }
.nav-group-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-group ul { list-style: none; margin: 2px 0 0; padding: 0 0 0 44px; }
.nav-group ul a { padding: 7px 10px; font-weight: 500; color: var(--muted); }
.scrim { position: fixed; inset: 0; z-index: 35; background: rgb(0 0 0 / .6); }

/* ---------- layout ---------- */
.main {
  margin-left: var(--side-w);
  padding: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 20px) 24px 48px;
}
.wrap { max-width: 1240px; margin: 0 auto; }
.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.section-head h2 .ic { color: var(--orange); }
.more { font-weight: 600; font-size: 15px; white-space: nowrap; }
.prose { max-width: 72ch; }
.prose section { margin-top: 36px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.note .ic { color: var(--green-hi); margin-top: 2px; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* ---------- carousel ---------- */
.carousel { position: relative; border-radius: 14px; overflow: hidden; background: var(--panel); }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1600 / 500; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-note { position: absolute; left: 12px; bottom: 40px; }
.car-btn {
  position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgb(8 8 8 / .65); color: var(--white);
}
.car-prev { left: 12px; } .car-next { right: 12px; }
.car-dots { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; display: flex; gap: 8px; }
.car-dots button { width: 10px; height: 10px; padding: 0; border-radius: 5px; border: 0; background: rgb(255 255 255 / .45); cursor: pointer; transition: width .2s; }
.car-dots button[aria-current="true"] { width: 26px; background: var(--orange); }

/* ---------- intro ---------- */
.intro { margin: 24px 0 8px; }
.intro h1 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); margin-bottom: 6px; }
.intro p { color: var(--muted); margin: 0; max-width: 70ch; }

/* ---------- categories ---------- */
.cat-bar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin: 16px 0 10px; scrollbar-width: thin; }
.cat {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--white);
  font: 700 15px/1 var(--font-c); letter-spacing: .04em; cursor: pointer;
}
.cat .ic { color: var(--orange); }
.cat:hover { border-color: var(--orange); }
.cat.is-active { background: var(--orange); border-color: var(--orange); color: #111; }
.cat.is-active .ic { color: #111; }

/* ---------- games ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.game { position: relative; }
.game-link { display: block; text-decoration: none; color: var(--white); }
.game-link img { aspect-ratio: 400 / 540; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--panel); transition: transform .15s ease; }
.game-link:hover img { transform: translateY(-3px); }
.game-meta { display: block; padding: 8px 2px 0; }
.game-title { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.game-provider { display: block; font-size: 12px; color: var(--muted); }
.fav {
  position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgb(8 8 8 / .6); color: var(--white);
}
.fav[aria-pressed="true"] { color: var(--orange); }
.fav[aria-pressed="true"] .ic { fill: currentColor; }
.game-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 150px); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.game-row:empty { display: none; }
.empty { padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty p { margin-bottom: 12px; }

/* ---------- promos / payments / tiles ---------- */
.promo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.promo { background: var(--panel); border-radius: var(--radius); overflow: hidden; padding-bottom: 14px; position: relative; }
.promo img { aspect-ratio: 2 / 1; width: 100%; object-fit: cover; margin-bottom: 12px; }
.promo h3, .promo p, .promo a { margin-inline: 14px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.topic { background: var(--panel); border-radius: var(--radius); padding: 16px 18px; }
.topic h3 { margin-bottom: .4em; }
.topic p { margin: 0; color: var(--muted); }
.topic p + p { margin-top: .5em; }
.topic-lead { max-width: 72ch; }
.topic-more { font-weight: 600; }
.vip-ladder { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: .5em 0 0; }
.vip-ladder li { background: var(--panel-2); border-radius: 20px; padding: 4px 10px; font-size: 13px; color: var(--white); }
.promo-text { padding-bottom: 0; }
.promo-text .promo-link { display: flex; flex-direction: column; gap: 6px; height: 100%; margin: 0; padding: 16px; text-decoration: none; color: var(--white); border-top: 3px solid var(--orange); border-radius: var(--radius); }
.promo-text .promo-link:hover { background: var(--panel-2); }
.promo-text .promo-img { width: calc(100% + 32px); max-width: none; margin: -16px -16px 6px; aspect-ratio: 1000 / 332; object-fit: cover; border-radius: 0; }
.promo-hero { width: 100%; height: auto; aspect-ratio: 1000 / 332; border-radius: 14px; margin: 0 0 20px; background: var(--panel); }
.slide-promo { aspect-ratio: 1000 / 332 !important; }
.promo-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--orange); }
.promo-text .promo-name { margin: 0; font-size: 1.15rem; }
.promo-tag { color: var(--muted); font-size: 14px; flex: 1; }
.promo-more { font-size: 14px; font-weight: 600; color: var(--orange); }
.promo-summary { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.promo-summary div { background: var(--panel); border-radius: var(--radius); padding: 12px 14px; }
.promo-summary dt { color: var(--muted); font-size: 13px; }
.promo-summary dd { margin: 2px 0 0; font-weight: 600; }
.example { background: var(--panel); border-left: 3px solid var(--orange); border-radius: var(--radius); padding: 14px 18px; }
.example ul { margin: 0; }
.cashier-name { font-size: 1.05em; }

.pay-row { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.pay { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.pay img { width: 120px; height: 60px; object-fit: contain; border-radius: 6px; margin-bottom: 6px; }
.pay-compact { padding: 8px; }
.pay-compact img { width: 96px; height: 48px; margin: 0; }
.pay-name { font-weight: 600; }
.pay-type { font-size: 13px; color: var(--muted); }
.pay-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.flag-ok { font-size: 12px; font-weight: 600; color: #a6e3a8; background: rgb(35 140 40 / .2); padding: 2px 8px; border-radius: 20px; }

.tile-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tile-list-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tile-list li { position: relative; background: var(--panel); border-radius: var(--radius); }
.tile-list li > a, .tile-list li:not(:has(> a)) { display: flex; flex-direction: column; gap: 4px; padding: 14px; text-decoration: none; color: var(--white); }
.tile-list li > a:hover { background: var(--panel-2); border-radius: var(--radius); }
.tile-list strong { font-family: var(--font-c); font-size: 1.1rem; }
.tile-list span { color: var(--muted); font-size: 14px; }
.partner-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }

.app-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; background: var(--panel); border-radius: 14px; padding: 24px; }
.app-promo img { border-radius: var(--radius); }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.cols-2 h3 { margin-top: .6em; }
.cols-2 p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 72ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 14px 32px 14px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq-a { color: var(--muted); padding-bottom: 12px; }

/* ---------- page head ---------- */
.page-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 24px; }
.page-head-plain { grid-template-columns: 1fr; }
.page-head .lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.page-head-img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); }
.section-img { border-radius: 14px; width: 100%; aspect-ratio: 12 / 5; object-fit: cover; margin-bottom: 16px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.jump a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px; background: var(--panel); color: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; }
.jump a .ic { width: 16px; height: 16px; color: var(--orange); }
.jump a:hover { background: var(--panel-2); }

.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #111; font: 700 15px/1 var(--font-c);
}
.qa dt { font-weight: 600; margin-top: 14px; }
.qa dd { margin: 4px 0 0; color: var(--muted); }
.inline-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.inline-list li { background: var(--panel); padding: 6px 12px; border-radius: 20px; margin: 0; }
.inline-list li.is-hot { box-shadow: inset 0 0 0 1px var(--orange); }
.inline-list li.is-hot::before { content: "★"; color: var(--orange); margin-right: 6px; font-size: 12px; }
.title-list { columns: 3 200px; column-gap: 24px; list-style: none; padding: 0 !important; margin: 0 0 16px; }
.title-list li { break-inside: avoid; padding: 4px 0; border-bottom: 1px solid var(--panel); color: var(--muted); }
.lobby-note { color: var(--muted); font-size: 14px; }

.spec { margin-bottom: 8px; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0 0 16px; }
.spec-list > div { background: var(--panel); border-radius: var(--radius); padding: 12px 14px; }
.spec-list dt { font-size: 13px; color: var(--muted); }
.spec-list dd { margin: 2px 0 0; font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--panel); font-family: var(--font-c); font-size: 15px; letter-spacing: .02em; }
tbody tr:last-child > * { border-bottom: 0; }

.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.related-h { font-size: 1.2rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.related a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--radius); background: var(--panel); text-decoration: none; color: var(--white); }
.related a:hover { background: var(--panel-2); }
.related span { font-size: 14px; color: var(--muted); }

.rg-strip { display: flex; gap: 12px; align-items: center; margin-top: 40px; padding: 16px 18px; border-radius: var(--radius); background: rgb(35 140 40 / .14); border: 1px solid rgb(35 140 40 / .4); }
.rg-strip .ic { color: var(--green-hi); width: 26px; height: 26px; }
.rg-strip p { margin: 0; }

.notfound { padding: 40px 0; max-width: 720px; }

/* ---------- footer ---------- */
.footer { margin-left: var(--side-w); background: var(--panel); border-top: 1px solid var(--line); padding: 36px 24px 110px; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-social { margin-top: 24px; }
.footer-social ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 20px; background: var(--panel); color: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; min-height: 40px; }
.footer-social a:hover { background: var(--panel-2); }
.footer-social .ic { width: 18px; height: 18px; color: var(--orange); }
.footer-h { font-family: var(--font-c); font-weight: 700; font-size: 1.05rem; line-height: 1.2; letter-spacing: .01em; margin: 0 0 10px; color: var(--white); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; }
.footer-legal p { margin: 0; grid-column: 2; }
.age-badge { grid-row: span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); font: 700 15px/1 var(--font-c); }

/* ---------- mobile bars ---------- */
.account-bar { display: none; }
.app-bar {
  position: fixed; z-index: 45; right: 16px; bottom: 16px; max-width: 360px;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgb(0 0 0 / .5);
}
.app-bar[hidden] { display: none; }
.app-bar img { border-radius: 9px; }
.app-bar p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
.app-bar p span { color: var(--muted); font-size: 13px; }
.app-bar-close { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; }

/* ---------- draft helpers ---------- */
mark.todo { background: var(--todo); color: #111; padding: 1px 6px; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: help; }
.badge-unconf { position: absolute; left: 6px; top: 6px; z-index: 2; background: var(--todo); color: #111; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.tile-list .badge-unconf, .pay .badge-unconf { left: auto; right: 8px; }
td .badge-unconf, th .badge-unconf, dt .badge-unconf, li .badge-unconf { position: static; display: inline-block; vertical-align: middle; }
.game .badge-unconf, .pay .badge-unconf, .tile-list .badge-unconf, .promo .badge-unconf { position: absolute; }
.draft-note { display: none; } /* internal draft notes hidden at the owner's request; see docs/FACTS-TO-CONFIRM.md */
.draft-flag { position: fixed; z-index: 60; left: 50%; top: calc(var(--head-h) + 8px); translate: -50% 0; background: var(--todo); color: #111; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 20px; pointer-events: none; white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --side-w: 0px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .sidebar {
    top: 0; width: min(300px, 86vw); z-index: 50; padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
    transform: translateX(-100%); transition: transform .25s ease; visibility: hidden;
  }
  .sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
  body.nav-open .sidebar { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .scrim { z-index: 48; }
}
@media (max-width: 860px) {
  .page-head, .app-promo, .cols-2 { grid-template-columns: 1fr; }
  .page-head-img { order: -1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .main { padding-inline: 14px; }
  .topbar { padding-inline: 12px; gap: 8px; }
  .topbar-actions .btn { display: none; }
  .locale-lang { display: none; }
  .logo img { height: 30px; }
  .slide { aspect-ratio: 800 / 500; }
  .car-btn { display: none; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .game-title { font-size: 13px; }
  .fav { width: 28px; height: 28px; }
  .fav .ic { width: 16px; height: 16px; }
  .account-bar {
    display: flex; gap: 10px; position: fixed; z-index: 44; inset: auto 0 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--panel); border-top: 1px solid var(--line);
  }
  .account-bar .btn { flex: 1; min-height: 44px; }
  .app-bar { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); max-width: none; }
  .footer { padding-inline: 14px; }
  .section { margin-top: 32px; }
}
@media (max-width: 380px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
