/* ============ SportyBet desktop surface ============ */

/* ---------- 1. top bar ---------- */
.topbar { background: var(--red); color: #fff; }
.topbar-row {
  display: flex; align-items: center; gap: var(--s-5);
  padding-top: var(--s-5); min-height: 68px;
}
.brand { display: flex; align-items: center; gap: var(--s-3); }
.brand img { height: 34px; width: auto; }
.brand-country { display: flex; align-items: center; gap: var(--s-2); font-size: 14px; font-weight: 600; }
.brand-country img { height: 20px; width: 26px; }
.geo-btn {
  display: flex; align-items: center; gap: var(--s-1);
  color: #fff; min-height: 32px; padding: 0 var(--s-2);
}
.geo-btn:hover { background: rgba(255, 255, 255, .12); }

.login-form { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-1); }
.login-fields { display: flex; }
.login-fields .field-prefix {
  display: flex; align-items: center; padding: 0 var(--s-2);
  background: var(--red-input); color: #fff; font-size: 12px;
  border-right: 1px solid rgba(255, 255, 255, .35);
}
.login-fields input {
  width: 168px; height: 32px; padding: 0 10px;
  background: var(--red-input); color: #fff; font-size: 12px;
}
.login-fields input::placeholder { color: rgba(255, 255, 255, .75); }
.login-fields input:focus { background: #9d0505; }
.login-fields input + input { border-left: 1px solid rgba(255, 255, 255, .35); }
.btn-login {
  height: 32px; padding: 0 var(--s-4); background: var(--red-deep); color: #fff;
  border-radius: 0 var(--r-1) var(--r-1) 0;
}
.btn-login:hover { background: #650710; }
.btn-login:active { background: #50060c; }
.btn-register {
  height: 32px; padding: 0 var(--s-4); margin-left: 10px;
  border: 1px solid #fff; border-radius: var(--r-1); color: #fff;
}
.btn-register:hover { background: rgba(255, 255, 255, .14); }
.btn-register:active { background: rgba(255, 255, 255, .22); }
.login-meta { display: flex; align-items: center; gap: var(--s-4); font-size: 12px; }
.check {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  min-height: 20px; color: #fff;
}
.check input { position: absolute; opacity: 0; width: 14px; height: 14px; margin: 0; }
.check .box {
  width: 14px; height: 14px; border-radius: 2px; background: #fff;
  display: grid; place-items: center; flex: none;
}
.check .box svg { opacity: 0; }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 2px solid #fff; outline-offset: 2px; }
.login-meta a:hover { text-decoration: underline; }

/* ---------- 2. primary nav ---------- */
.primary-nav { background: var(--red); }
.primary-nav .container { display: flex; align-items: stretch; }
.nav-item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 0 var(--s-4); min-height: 54px;
  color: #fff; font-size: 14px; font-weight: 700; line-height: 14px; text-align: center;
}
.nav-item:hover { background: rgba(0, 0, 0, .12); }
.nav-item:active { background: rgba(0, 0, 0, .2); }
.nav-item[aria-current="page"] {
  background: #fff; color: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding-right: calc(var(--s-4) + 8px);
}
.nav-item .hot {
  position: absolute; top: 6px; right: 4px; width: 26px; height: 14px;
}
.nav-clock { margin-left: auto; align-self: center; color: #fff; font-size: 14px; font-weight: 600; }

/* ---------- 3. sport sub nav ---------- */
.subnav { background: #fff; border-bottom: 1px solid var(--line-soft); }
.subnav .container { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  display: flex; align-items: center; padding: 0 var(--s-3); min-height: 39px;
  color: var(--muted); font-size: 14px; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--text); }
.subnav a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom-color: var(--red); }
.subnav .more { display: flex; align-items: center; gap: 6px; }
.subnav .more svg { color: var(--green); }

/* ---------- 4. hero band ---------- */
.hero { background: var(--ink); color: #fff; padding: 5px 0 10px; }
.hero .container { display: flex; gap: 18px; align-items: flex-start; }
.popular { width: 238px; flex: none; }
.popular h2 { font-size: 20px; line-height: 40px; font-weight: 700; }
.popular li + li { border-top: 1px solid #2c3038; }
.popular a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; color: #fff; font-size: 12px;
}
.popular a:hover { color: var(--green-live); }
.popular a svg { color: var(--green); }

.hero-carousel { position: relative; width: 490px; height: 254px; flex: none; overflow: hidden; }
.hero-carousel .track { display: flex; height: 100%; transition: transform .45s ease; }
.hero-carousel .slide { position: relative; width: 100%; height: 100%; flex: none; }
.hero-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel .dots {
  position: absolute; left: var(--s-4); bottom: 10px; display: flex; gap: 6px;
}
.hero-carousel .dots button {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45);
}
.hero-carousel .dots button[aria-current="true"] { background: #fff; }
.hero-carousel .tcs {
  position: absolute; right: var(--s-2); bottom: 6px; font-size: 8px; color: rgba(255, 255, 255, .8);
}

.reg-panel { width: 235px; flex: none; padding: 7px 19px 19px; border-radius: var(--r-1); }
.reg-panel h2 { font-size: 16px; line-height: 32px; font-weight: 700; }
.reg-note {
  display: flex; gap: var(--s-2); padding: 6px 10px; margin: var(--s-2) 0 var(--s-3);
  border-left: 3px solid var(--green); color: var(--green-live); font-size: 12px; line-height: 1.4;
}
.reg-field { display: flex; background: #fff; border-radius: var(--r-1); overflow: hidden; }
.reg-field .field-prefix {
  display: flex; align-items: center; padding: 0 var(--s-2);
  color: var(--text); font-size: 12px; border-right: 1px solid var(--line);
}
.reg-field input { height: 36px; padding: 0 10px; width: 100%; color: var(--text); font-size: 12px; }
.reg-field input:focus { box-shadow: inset 0 0 0 1px var(--green); }
.btn-green {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 36px; margin-top: var(--s-3);
  background: var(--green); color: #fff; font-size: 14px; font-weight: 600;
  border-radius: var(--r-1);
}
.btn-green:hover { background: var(--green-dark); }
.btn-green:active { background: #08621f; }
.btn-green:disabled { background: var(--line); color: var(--muted-2); cursor: not-allowed; }

/* ---------- 5. content ---------- */
.content { padding: var(--s-5) 0 var(--s-6); }
.promo-banner { display: block; width: 100%; height: 76px; margin-bottom: var(--s-5); }
.promo-banner img { width: 100%; height: 76px; object-fit: cover; }

.columns { display: flex; gap: var(--s-5); align-items: flex-start; }
.col-main { width: 745px; flex: none; display: flex; flex-direction: column; gap: var(--s-4); }
.col-side { width: 235px; flex: none; display: flex; flex-direction: column; gap: var(--s-4); }

.panel-head {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-3) var(--s-3);
}
.panel-head .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--green); }
.panel-head .dot.live { background: var(--green-live); }
.panel-head h2 { font-size: 26px; line-height: 32px; font-weight: 700; color: var(--text); }
.panel-head .actions { margin-left: auto; display: flex; gap: var(--s-4); }
.panel-head .actions button {
  display: flex; align-items: center; gap: 6px; min-height: 28px;
  color: var(--muted-2); font-size: 12px;
}
.panel-head .actions button:hover { color: var(--text); }

.card-light { background: var(--card); }
.card-dark { background: var(--ink); color: #fff; }
.card-dark .panel-head h2 { color: #fff; }
.card-dark .panel-head .actions button { color: var(--green); }
.card-dark .panel-head .actions button:hover { color: var(--green-live); }

.sport-tabs { display: flex; align-items: stretch; padding: 0 var(--s-3); gap: var(--s-6); overflow-x: auto; scrollbar-width: none; }
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tabs button {
  display: flex; align-items: center; gap: 6px; min-height: 38px;
  color: var(--muted); font-size: 14px; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.sport-tabs button:hover { color: var(--text); }
.sport-tabs button[aria-selected="true"] { color: var(--text); font-weight: 600; border-bottom-color: var(--green); }
.card-dark .sport-tabs button { color: var(--muted-2); }
.card-dark .sport-tabs button:hover { color: #fff; }
.card-dark .sport-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--green); }
.sport-tabs .tab-tools { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }

.league-chips { display: flex; gap: 6px; padding: var(--s-3); overflow-x: auto; scrollbar-width: none; }
.league-chips::-webkit-scrollbar { display: none; }
.league-chips button {
  flex: 1 0 132px; max-width: 152px; min-height: 52px; padding: 6px 10px;
  background: var(--chip); border: 1px solid transparent; border-radius: var(--r-1);
  color: var(--muted); font-size: 12px; line-height: 1.4; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.league-chips button:hover { background: #efefef; }
.league-chips button[aria-pressed="true"] {
  background: #fff; border-color: var(--green); color: var(--text);
}

.match-table { padding: 0 var(--s-3) var(--s-3); }
.match-date {
  display: flex; align-items: center; min-height: 32px;
  font-size: 14px; font-weight: 700; color: var(--text);
}
.match-date .cols { margin-left: auto; display: flex; color: var(--muted-2); font-size: 12px; font-weight: 400; }
.odds-cols { display: flex; gap: 2px; align-items: center; }
.odds-cols .c1 { width: 61px; text-align: center; }
.odds-cols .c2 { width: 44px; text-align: center; }
.odds-cols .c3 { width: 61px; text-align: center; }
.odds-cols .gap { width: 6px; }
.odds-cols .more { width: 40px; }

.match-row { display: flex; align-items: center; gap: var(--s-3); padding: 7px 0; }
.match-row + .match-row { border-top: 1px solid var(--line-soft); }
.match-when { width: 52px; flex: none; }
.match-when .time { font-size: 12px; font-weight: 700; color: var(--text); }
.match-when .id { font-size: 10px; color: var(--muted-3); }
.match-teams { flex: 1 1 240px; min-width: 0; font-size: 12px; color: var(--text); line-height: 18px; }
.match-teams .team { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-stat { color: var(--muted-2); }
.odd-btn {
  width: 61px; height: 36px; flex: none;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
}
.odd-btn:hover { background: var(--green-dark); }
.odd-btn:active { background: #08621f; }
.odd-btn[aria-pressed="true"] { background: var(--green-dark); box-shadow: inset 0 0 0 2px #fff; }
.odd-select {
  width: 44px; height: 36px; flex: none; position: relative;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.odd-select:hover { background: var(--green-dark); }
.more-markets {
  width: 40px; flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 4px;
  color: var(--muted); font-size: 12px; min-height: 36px;
}
.more-markets:hover { color: var(--text); }
.more-markets svg { color: var(--green); }

/* live card rows */
.live-group { padding: 0 var(--s-3); }
.live-group > h3 { font-size: 12px; font-weight: 700; color: #fff; padding: var(--s-2) 0 6px; }
.market-head { display: flex; align-items: flex-end; gap: var(--s-3); }
.market-head .spacer { width: 52px; flex: none; }
.market-head .teams-spacer { flex: 1 1 240px; }
.market-head .group-label { font-size: 10px; color: var(--muted-2); text-align: center; }
.market-head .sub {
  display: flex; gap: 2px; margin-top: 2px;
}
.market-head .sub span {
  background: var(--slate); color: var(--muted-2); font-size: 10px; line-height: 14px; text-align: center;
}
.market-head .sub .c1, .market-head .sub .c3 { width: 61px; }
.market-head .sub .c2 { width: 44px; }
.market-head .sub .wide { width: 129px; }
.market-head .sub .gap { width: 6px; background: none; }

.live-row { display: flex; align-items: center; gap: var(--s-3); padding: 6px 0; position: relative; }
.live-row::before {
  content: ""; position: absolute; left: -12px; top: 6px; bottom: 6px; width: 3px; background: var(--green);
}
.live-row + .live-row { border-top: 1px solid #262a31; }
.live-row .match-when .time { color: #fff; }
.live-row .match-when .ht { color: var(--muted-2); font-size: 10px; }
.live-row .match-teams { color: var(--green); }
.live-row .match-teams .score { color: #fff; }
.live-score { width: 24px; flex: none; text-align: right; color: #fff; font-size: 12px; line-height: 18px; }
.live-row .odd-btn { height: 32px; }
.live-row .odd-select { height: 32px; }
.live-row .more-markets { color: var(--muted-2); }
.live-row .more-markets:hover { color: #fff; }

.view-all {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; margin: var(--s-3);
  background: var(--slate); color: var(--line-soft); font-size: 14px; border-radius: var(--r-1);
}
.view-all:hover { background: #404653; }
.view-all svg { color: var(--green); }

.jackpot-banner { position: relative; display: flex; height: 144px; overflow: hidden; background: #fff; }
.jackpot-banner .man { position: relative; z-index: 1; width: 250px; flex: none; object-fit: cover; object-position: top; height: 100%; }
.jackpot-banner .copy { position: relative; z-index: 1; flex: 1; padding: var(--s-5) 0 var(--s-5) var(--s-5); }
.jackpot-banner .kicker { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--red); font-style: italic; }
.jackpot-banner .title {
  font-family: var(--font-display); font-size: 44px; line-height: 44px; font-weight: 700;
  color: var(--red); font-style: italic; letter-spacing: -0.01em;
}
.jackpot-banner .sub { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.jackpot-banner .prize {
  position: absolute; inset: 0 0 0 auto; width: 300px; z-index: 0;
  background: linear-gradient(100deg, #fd021e 0 12%, #7b0911 12.5% 100%);
  color: #fff; padding: var(--s-5) var(--s-5) 0 var(--s-8);
}
.jackpot-banner .prize .cur { font-size: 20px; font-weight: 700; }
.jackpot-banner .prize .amount { font-size: 32px; line-height: 36px; font-weight: 700; color: #ffd25a; font-variant-numeric: tabular-nums; }
.jackpot-banner .prize .cap { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.jackpot-banner .prize .tcs { position: absolute; right: var(--s-2); bottom: 4px; font-size: 8px; color: rgba(255, 255, 255, .8); }

/* ---------- side column ---------- */
.betslip { border: 1px solid var(--line); background: #fff; }
.betslip-head { display: flex; background: var(--slate); }
.betslip-head button {
  flex: 1; min-height: 46px; color: var(--muted-3); font-size: 16px; font-weight: 700;
  border-bottom: 2px solid transparent;
}
.betslip-head button[aria-selected="true"] { color: #fff; border-bottom-color: var(--green); }
.betslip-mode { display: flex; padding: var(--s-2) var(--s-2) var(--s-3); background: var(--slate); }
.betslip-mode .pill-wrap { display: flex; border: 1px solid var(--muted); border-radius: 10px; overflow: hidden; }
.betslip-mode button { min-height: 20px; padding: 0 6px; font-size: 12px; font-weight: 700; color: var(--muted-2); }
.betslip-mode button[aria-pressed="true"] { background: var(--green); color: #fff; }
.betslip-body { padding: var(--s-3); min-height: 150px; }
.betslip-empty p { font-size: 12px; color: var(--text); line-height: 1.6; }
.betslip-empty .field {
  display: block; margin: var(--s-3) 0 var(--s-2);
  background: var(--field); border: 1px solid var(--line); border-radius: var(--r-1);
}
.betslip-empty .field input { width: 100%; height: 36px; padding: 0 10px; color: var(--text); }
.betslip-empty .field:focus-within { border-color: var(--green); }
.betslip-empty .load {
  width: 100%; min-height: 36px; background: var(--line); color: var(--muted-2);
  border-radius: var(--r-1); font-size: 14px;
}
.betslip-empty .load:hover:not(:disabled) { background: #c9ccd4; }
.betslip-empty .load:disabled { cursor: not-allowed; }
.betslip-empty .hint { margin-top: var(--s-3); font-size: 12px; color: var(--muted-3); line-height: 1.6; }
.betslip-empty .error { margin-top: var(--s-2); font-size: 12px; color: var(--red); }

.slip-list { display: flex; flex-direction: column; gap: var(--s-2); }
.slip-item { background: var(--chip); border-radius: var(--r-1); padding: var(--s-2); position: relative; }
.slip-item .league { font-size: 10px; color: var(--muted); }
.slip-item .pick { font-size: 12px; font-weight: 600; color: var(--text); padding-right: 18px; }
.slip-item .match { font-size: 10px; color: var(--muted); }
.slip-item .odd {
  position: absolute; right: var(--s-2); top: var(--s-2);
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  min-width: 40px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0 6px;
}
.slip-item .remove {
  position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px;
  display: grid; place-items: center; color: var(--muted); border-radius: 50%;
}
.slip-item .remove:hover { background: var(--line); color: var(--text); }
.slip-foot { margin-top: var(--s-3); display: flex; flex-direction: column; gap: var(--s-2); }
.slip-foot .stake {
  display: flex; align-items: center; background: var(--field);
  border: 1px solid var(--line); border-radius: var(--r-1);
}
.slip-foot .stake:focus-within { border-color: var(--green); }
.slip-foot .stake span { padding: 0 var(--s-2); color: var(--muted); font-size: 12px; }
.slip-foot .stake input { height: 34px; padding: 0 10px 0 0; width: 100%; color: var(--text); font-variant-numeric: tabular-nums; }
.slip-total { display: flex; justify-content: space-between; font-size: 12px; color: var(--text); }
.slip-total strong { font-variant-numeric: tabular-nums; }
.slip-total .pay { color: var(--green); font-weight: 700; }

.mini-games { background: var(--ink); }
.mini-games h2 {
  background: var(--slate); color: #fff; font-size: 14px; font-weight: 500;
  line-height: 40px; text-align: center;
}
.mini-games .marquee {
  overflow: hidden; background: var(--green); color: #fff; font-size: 10px; line-height: 20px;
  white-space: nowrap;
}
.mini-games .marquee span { display: inline-block; padding-left: 100%; animation: marquee 14s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.mini-grid { display: flex; flex-wrap: wrap; gap: 2px; padding: var(--s-3) var(--s-3) 0; }
.mini-tile { width: calc(50% - 1px); }
.mini-tile img { width: 100%; height: 78px; object-fit: cover; }
.mini-tile .label {
  background: var(--slate); color: #fff; font-size: 11px; line-height: 22px; text-align: center;
}
.mini-tile.soon img { filter: grayscale(1); opacity: .5; }
.mini-tile.soon .label { color: var(--muted-2); line-height: 1.3; padding: 3px 0; }
.mini-more {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: var(--s-3); min-height: 26px; background: #ffb900; color: var(--ink);
  font-size: 12px; font-weight: 600;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.mini-more:hover { background: #e5a600; }

.winners { border: 1px solid var(--line); background: #fff; }
.winners h2 {
  display: flex; align-items: center; gap: var(--s-2);
  background: var(--slate); color: #fff; font-size: 14px; font-weight: 500;
  min-height: 50px; padding: 0 var(--s-3) 0 40px;
}
.winners h2 svg { margin-left: -28px; color: #ffd25a; }
.winners li { display: flex; flex-direction: column; gap: 2px; padding: var(--s-2) var(--s-3); }
.winners li + li { border-top: 1px solid var(--line-soft); }
.winners .row1 { display: flex; align-items: baseline; justify-content: space-between; }
.winners .amount { color: var(--green); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.winners .when { color: var(--muted-2); font-size: 11px; }
.winners .row2 { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 11px; }

/* ---------- 6. footer ---------- */
.footer { background: var(--ink); color: #fff; margin-top: var(--s-6); }
.footer-top { display: flex; gap: var(--s-8); padding: var(--s-6) 0 var(--s-5); }
.footer-brand { width: 340px; flex: none; }
.footer-brand .brand img { height: 26px; }
.footer-brand .partner {
  display: flex; align-items: center; gap: var(--s-4); margin: var(--s-8) 0 var(--s-4);
}
.footer-brand .partner p { font-size: 20px; line-height: 26px; font-weight: 600; }
.footer-brand .partner .rule { width: 1px; height: 44px; background: #3a3e46; }
.footer-brand .partner img { height: 44px; width: auto; }
.footer-brand .tag { font-size: 12px; font-weight: 700; }
.footer-col { width: 162px; flex: none; }
.footer-col h3 { font-size: 12px; font-weight: 700; margin-bottom: var(--s-3); }
.footer-col a {
  display: flex; align-items: center; gap: 6px; min-height: 20px;
  color: var(--muted-3); font-size: 12px;
}
.footer-col a:hover { color: #fff; }
.footer-col a svg { color: var(--muted); }
.footer-connect { flex: 1; min-width: 240px; }
.footer-connect h3 { font-size: 12px; font-weight: 700; margin-bottom: var(--s-3); }
.footer-connect p { color: var(--muted-3); font-size: 12px; line-height: 20px; }
.socials { display: flex; gap: var(--s-2); margin: var(--s-3) 0; }
.socials a {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff;
}
.socials a:hover { filter: brightness(1.15); }
.socials .fb { background: #3b5998; }
.socials .x { background: #000; }
.socials .ig { background: #e1306c; }
.socials .tg { background: #2aabee; }
.socials .yt { background: #ff0000; }
.footer-sites { display: flex; gap: var(--s-3); color: var(--muted-3); font-size: 12px; align-items: center; }
.footer-sites .rule { width: 1px; height: 12px; background: #3a3e46; }
.footer-sites a:hover { color: #fff; }

.footer-mid { border-top: 1px solid #2c3038; padding: var(--s-5) 0; display: flex; gap: var(--s-6); align-items: center; }
.footer-mid .age { width: 34px; height: 34px; flex: none; }
.footer-mid p { color: var(--muted-3); font-size: 12px; line-height: 18px; max-width: 420px; }
.footer-mid .license { margin-left: var(--s-6); width: 34px; height: 40px; }
.footer-mid .license-text { color: var(--muted-3); font-size: 12px; line-height: 18px; max-width: 340px; }

.footer-bottom { background: var(--ink-deep); }
.footer-bottom .container {
  display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap;
  min-height: 65px; padding: var(--s-3) 0;
}
.footer-bottom img { height: 16px; width: auto; opacity: .85; }
.footer-bottom img:hover { opacity: 1; }
.footer-bottom .copy { margin-left: auto; color: var(--muted); font-size: 12px; }

/* ---------- chat bubble ---------- */
.chat-fab {
  position: fixed; right: 24px; bottom: 96px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.chat-fab:hover { background: #c8101e; }

/* ---------- responsive: tablet ---------- */
@media (max-width: 1019px) {
  .container { padding-inline: var(--s-4); }
  .columns { flex-wrap: wrap; }
  .col-main { width: 100%; flex: 1 1 100%; }
  .col-side { width: 100%; flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; }
  .col-side > * { flex: 1 1 240px; }
  .hero .container { flex-wrap: wrap; }
  .hero-carousel { flex: 1 1 100%; width: auto; order: -1; }
  .popular { flex: 1 1 240px; width: auto; }
  .reg-panel { flex: 1 1 240px; width: auto; }
  .footer-top { flex-wrap: wrap; }
  .footer-brand { width: 100%; }
}

@media (max-width: 767px) {
  /* phones are served the mobile surface; keep this surface usable if linked directly */
  .topbar-row { flex-wrap: wrap; gap: var(--s-3); padding-bottom: var(--s-3); }
  .login-form { margin-left: 0; width: 100%; align-items: stretch; }
  .login-fields { width: 100%; }
  .login-fields input { width: 100%; flex: 1; }
  .login-meta { flex-wrap: wrap; }
  .primary-nav .container { overflow-x: auto; scrollbar-width: none; }
  .primary-nav .container::-webkit-scrollbar { display: none; }
  .nav-item { flex: none; }
  .nav-clock { display: none; }
  .jackpot-banner { height: auto; flex-wrap: wrap; }
  .jackpot-banner .man { width: 140px; }
  .jackpot-banner .prize { position: static; width: 100%; padding: var(--s-4); }
  .chat-fab { right: var(--s-4); bottom: var(--s-4); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .track { transition: none; }
  .mini-games .marquee span { animation: none; padding-left: 0; }
}
