/* ============================================================
   Money Bet
   Düzen  = betkingyeni sportsbook (3 kolon, feed, kupon)
   Renk/font = Sportmonks dark (navy + pink + italic display)
   ============================================================ */

@font-face {
  font-family: "Sofia Pro Soft";
  src: url("../fonts/SofiaProSoft.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro Soft";
  src: url("../fonts/SofiaProSoft-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Pro Soft";
  src: url("../fonts/SofiaProSoft-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir Next Heavy Italic";
  src: url("../fonts/AvenirNext-HeavyItalic.woff2") format("woff2");
  font-weight: 900; font-style: italic; font-display: swap;
}

:root {
  --bg: #010028;
  --bg-2: #04193b;
  --panel: #0a173a;
  --panel-2: #0f2148;
  --panel-3: #152a56;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #8b93b0;
  --pink: #ff0f50;
  --pink-deep: #db003b;
  --green: #4ed8a0;
  --green-deep: #2cc788;
  --orange: #ff9500;
  --odd-bg: #122447;
  --radius: 10px;
  --radius-sm: 8px;
  --font: "Sofia Pro Soft", "Segoe UI", sans-serif;
  --font-display: "Avenir Next Heavy Italic", "Sofia Pro Soft", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Kaydırma çubuğu yok — BetKing whole-page scroll */
.no-scrollbar,
.left-col,
.right-col,
.icon-bar,
.live-tabs,
.time-filters,
.promo-slider-viewport {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.no-scrollbar::-webkit-scrollbar,
.left-col::-webkit-scrollbar,
.right-col::-webkit-scrollbar,
.icon-bar::-webkit-scrollbar,
.live-tabs::-webkit-scrollbar,
.time-filters::-webkit-scrollbar,
.promo-slider-viewport::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
button { cursor: pointer; }

/* ——— Header (Sportmonks dark bar) ——— */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(1, 0, 40, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.brand__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: #fff;
  text-transform: lowercase;
}
.brand__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  display: inline-block;
  margin-left: 2px;
  transform: translateY(-2px);
}
.header-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
.header-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.header-nav a:hover,
.header-nav a.is-on {
  color: #fff;
  background: var(--panel-2);
}
.header-nav a.is-on { box-shadow: inset 0 -2px 0 var(--pink); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.balance {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
}
.btn--pink {
  background: var(--pink);
  color: #fff;
}
.btn--pink:hover { background: var(--pink-deep); }

/* ——— 3-column layout (BetKing, ferah) ——— */
.app-layout {
  max-width: 1680px;
  margin: 0 auto;
  padding: 16px 18px 40px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 1200px) {
  .app-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .right-col { display: none; }
}
@media (max-width: 900px) {
  .app-layout { grid-template-columns: 1fr; padding: 12px; }
  /* Sol kolon mobilde kalsın (Top Lig / Menü) — gizleme */
  .left-col { display: block; }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ——— Left sidebar ——— */
/* BetKing: whole-page scroll — nested sidebar scrollbar YOK */
.left-col {
  position: relative;
  top: auto;
  max-height: none;
  overflow: visible;
  padding: 14px;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 10px;
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 9px 6px;
  font-size: 13px;
  font-weight: 600;
}
.seg button.is-on {
  background: var(--panel-3);
  color: #fff;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
}
.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  min-width: 0;
}
.search input::placeholder { color: var(--muted); }

.side-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 6px 0 8px;
}
.side-h span { color: var(--muted); font-size: 14px; }
.side-h--toggle {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 8px 4px;
  border-radius: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.side-h--toggle:hover { background: rgba(255,255,255,0.04); }
.side-h--toggle > span:first-child {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.side-h__chev {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.side-h--toggle.is-collapsed .side-h__chev,
.side-h--toggle[aria-expanded="false"] .side-h__chev {
  transform: rotate(-90deg);
}
.side-collapse.is-collapsed {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* Mobil/tablet: JS gelmeden de kapalı kalsın */
@media (max-width: 1100px) {
  #topLeagues:not(.is-open),
  #menuPanel:not(.is-open) {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.league-list, .sport-menu { display: flex; flex-direction: column; gap: 1px; }
.league-item, .sport-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}
.league-item:hover, .sport-item:hover,
.league-item.is-on, .sport-item.is-on {
  background: rgba(255, 15, 80, 0.12);
}
.league-ico, .sport-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--panel-3);
  display: grid; place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.league-item .live-mini,
.sport-item .live-count {
  margin-left: auto;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 800;
}
.sport-item .count-muted {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

/* Nested menu: Spor → Bölge → Lig */
.menu-sport { margin-bottom: 2px; }
.menu-sport-row, .menu-region-row {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 8px;
}
.menu-sport-row.is-on,
.menu-region-row.is-on { background: rgba(255, 15, 80, 0.12); }
.menu-chev {
  flex: 0 0 22px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 6px 0;
  cursor: pointer;
}
.menu-sport-btn, .menu-region-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 7px 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  min-width: 0;
}
.menu-lbl {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-lbl.is-live { color: var(--pink); font-weight: 800; }
.menu-regions { padding-left: 12px; }
.menu-region { margin: 1px 0; }
.menu-leagues {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 2px 0 6px 18px;
}
.menu-league {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #c8c8e0;
  text-align: left;
  padding: 6px 6px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}
.menu-league:hover, .menu-league.is-on {
  background: rgba(255, 15, 80, 0.14);
  color: #fff;
}
.menu-league .live-count,
.menu-league .count-muted,
.menu-region-btn .live-count,
.menu-region-btn .count-muted {
  margin-left: auto;
}
.menu-league .live-count,
.menu-region-btn .live-count {
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 800;
}
.menu-league .count-muted,
.menu-region-btn .count-muted {
  color: var(--muted);
  font-size: 10px;
}

.user-chip {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 4px 10px;
  background: var(--panel-3);
  border-radius: 8px;
}

/* Bet Mentor */
.bk-mentor { padding: 0; overflow: hidden; }
.bk-mentor-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 14px;
  cursor: pointer;
}
.bk-mentor-body { padding: 0 14px 14px; }
.bk-mentor-lab {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 6px;
}
.bk-mentor-input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel-3);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}
.bk-mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.bk-mentor-chip {
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel-3);
  color: #fff;
  border-radius: 8px;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.bk-mentor-chip.is-on,
.bk-mentor-chip:hover {
  background: var(--pink);
  border-color: var(--pink);
}
.bk-mentor-hint {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* Auth modal */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(1, 0, 40, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
}
.auth-modal[hidden] { display: none !important; }
.auth-card {
  position: relative;
  width: min(380px, 100%);
  background: linear-gradient(180deg, #0a0a3a, #010028);
  border: 1px solid rgba(255,15,80,0.25);
  border-radius: 14px;
  padding: 28px 24px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.auth-card h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #fff;
}
.auth-card input {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--panel-3, #12124a);
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}
.auth-card input[hidden] { display: none !important; }
.auth-close {
  position: absolute;
  top: 10px; right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.auth-err {
  min-height: 1.2em;
  color: var(--pink);
  font-size: 12px;
  margin: 8px 0 0;
}
.auth-switch {
  margin: 12px 0 0;
  text-align: center;
}
.auth-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

/* Casino lobby */
.casino-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}
.casino-hero {
  text-align: center;
  padding: 48px 16px 36px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,15,80,0.22), transparent 55%),
    linear-gradient(180deg, #0a0a3a 0%, #010028 100%);
  border-bottom: 1px solid var(--border);
  margin: 0 -20px 28px;
}
.casino-brand {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #fff;
  text-transform: none;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.casino-brand__logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.casino-lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto 20px;
  line-height: 1.45;
}
.casino-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.casino-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.casino-cat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
}
.casino-cat h2 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #fff;
}
.casino-cat p {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
}
.casino-note {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* Wallet */
.wallet-card { width: min(420px, 100%); }
.wallet-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.wallet-tabs button {
  flex: 1;
  border: 0;
  background: var(--panel-3, #12124a);
  color: var(--muted);
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.wallet-tabs button.is-on {
  background: var(--pink);
  color: #fff;
}
.wallet-info {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 12px;
  color: #c8c8e0;
  line-height: 1.5;
  word-break: break-all;
}
.wallet-history { max-height: 280px; overflow-y: auto; }
.wallet-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: #fff;
}
.wallet-row strong { margin-left: auto; color: var(--pink); }
.wallet-row em { color: var(--muted); font-style: normal; font-size: 11px; }

.ed-match-center {
  margin: 10px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #010028;
  aspect-ratio: 16 / 9;
  max-height: 280px;
}
.ed-match-center iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 200px;
}
.ed-standings {
  margin-top: 16px;
  background: var(--panel-2);
  border-radius: 10px;
  padding: 12px;
}
.ed-standings header {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  color: #c8c8e0;
}
.standings-table th, .standings-table td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.standings-table th { color: var(--muted); font-weight: 600; }

.broadcast-stage { min-height: 140px; }
.broadcast-empty {
  margin: 0;
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.broadcast-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #fff;
}
.broadcast-picks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 2px;
}
.broadcast-pick {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.broadcast-pick:hover { border-color: rgba(255, 15, 80,0.45); background: rgba(255, 15, 80,0.08); }
.broadcast-pick__live {
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: #e53935;
  border-radius: 4px;
  padding: 2px 5px;
}
.broadcast-pick__teams {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
}
.broadcast-pick__score {
  font-size: 13px;
  font-weight: 800;
  color: #ff0f50;
  white-space: nowrap;
}

/* Mobile nav + coupon bar */
.mobile-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #0a0a3a;
  border-top: 1px solid var(--border);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.mobile-nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
  padding: 4px 8px;
  cursor: pointer;
}
.mobile-nav__item img { width: 20px; height: 20px; opacity: .85; }
.mobile-nav__item.is-on { color: #fff; }
.mobile-nav__badge {
  position: absolute;
  top: 0; right: 4px;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
}
.mobile-coupon-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(58px + env(safe-area-inset-bottom));
  z-index: 59;
  background: linear-gradient(90deg, #0a173a, #1a0a2e);
  border: 1px solid rgba(255,15,80,.35);
  border-radius: 12px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.mobile-coupon-bar strong { display: block; font-size: 13px; }
.mobile-coupon-bar span { font-size: 11px; color: var(--muted); }

@media (max-width: 900px) {
  .mobile-nav { display: flex; }
  .mobile-coupon-bar:not([hidden]) { display: flex; }
  body { padding-bottom: 72px; }
  .right-col { scroll-margin-bottom: 120px; }
}

.time-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin-bottom: 10px;
  overflow-x: auto;
  overflow-y: hidden;
}
.time-filters button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 600;
}
.time-filters button.is-on {
  background: var(--panel-2);
  color: #fff;
}

/* ——— Center ——— */
.main-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.icon-bar {
  display: flex;
  gap: 6px;
  overflow: hidden;
  padding-bottom: 0;
  width: 100%;
}
.icon-tile {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 98px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  padding: 10px 4px 8px;
}
.icon-tile:hover { background: var(--panel-2); }
.icon-tile.is-on {
  border-color: rgba(255, 15, 80, 0.55);
  box-shadow: inset 0 -2px 0 var(--pink);
}
.icon-tile__ico { font-size: 18px; line-height: 1; }
.icon-tile__lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
}
.icon-tile.is-on .icon-tile__lbl { color: #fff; }
.icon-tile__badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  padding: 0 5px;
  min-width: 16px;
  text-align: center;
}

/* Live spotlight cards — 5 kolon dolu satır */
.live-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
}
@media (max-width: 1200px) {
  .live-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .live-cards { grid-template-columns: 1fr; }
}
.live-card {
  background: #151922;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 220px;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.live-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #c5ced8;
  margin-bottom: 10px;
}
.live-card__comp {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 3px;
  background: #e53935;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.live-card__score,
.live-card__mid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  text-align: center;
  flex: 1;
  margin-bottom: 8px;
}
.live-card__team,
.live-card__side {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.live-card__team > span,
.live-card__tname {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
}
.live-card__nums {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 26px;
  font-weight: 800;
  color: #ff2d6a;
  white-space: nowrap;
}
.odds3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.odds3 button {
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 7px 5px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 40px;
}
.odds3 button small { font-size: 10px; color: var(--muted); font-weight: 600; }
.odds3 button strong { font-size: 13px; font-weight: 800; color: var(--pink); }
.odds3 button.is-on {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.odds3 button.is-on small { color: rgba(255,255,255,0.85); }
.odds3 button.is-on strong { color: #fff; }
.odds3 button:disabled { opacity: 0.35; cursor: default; }

/* Featured / TOP match row */
.feat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 1100px) {
  .feat-row { grid-template-columns: repeat(2, 1fr); }
}
.feat-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, rgba(255,15,80,0.12), transparent 55%),
    var(--panel);
  padding: 10px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feat-card header {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--orange);
}
.feat-card__teams {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: auto;
}
.feat-card__meta { font-size: 11px; color: var(--muted); }

/* Live feed */
.live-feed {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.live-feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 6px;
}
.live-feed__title {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.live-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 14px 10px;
}
.live-tabs button {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.live-tabs button.is-on {
  border-color: rgba(255,15,80,0.5);
  background: var(--panel-3);
}
.live-tabs em {
  font-style: normal;
  background: var(--pink);
  border-radius: 999px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 800;
}

.market-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(100px, 1fr));
  gap: 6px;
  padding: 6px 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.market-bar span { text-align: center; }
.market-bar span:first-child { text-align: left; }
.market-bar small {
  display: block;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #6b7390;
  font-size: 10px;
}

.event-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(100px, 1fr));
  gap: 6px;
  align-items: center;
  padding: 9px 12px;
  border-top: 1px solid var(--border);
}
.event-row:hover { background: rgba(255,15,80,0.05); }
.event-meta { min-width: 0; }
.event-league {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-teams {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
}
.team-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: inherit;
}
.feat-card__teams,
.popular-item__teams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.feat-vs { color: var(--muted); font-weight: 500; }

/* Takım arması — BetKing /uploads/team-logos/bc-{id}.png */
.crest {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 30% 28%, #2a3a5c, #0a173a);
  border: 1px solid rgba(255,255,255,0.12);
}
.crest--md { width: 40px; height: 40px; }
.crest--lg { width: 48px; height: 48px; }
.crest__fb {
  font-size: 8px;
  font-weight: 800;
  color: #c8d0e8;
  letter-spacing: 0.2px;
  line-height: 1;
}
.crest--md .crest__fb { font-size: 12px; }
.crest__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a173a;
}
.event-phase {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.event-phase strong { color: var(--pink); font-size: 13px; }

.odd-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.odd-btn {
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--odd-bg);
  border-radius: var(--radius-sm);
  padding: 6px 3px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-height: 40px;
}
.odd-btn small { font-size: 9px; color: var(--muted); }
.odd-btn b { font-size: 12px; font-weight: 800; }
.odd-btn.is-on {
  background: var(--pink);
  border-color: var(--pink);
}
.odd-btn.is-on small { color: rgba(255,255,255,0.85); }
.odd-btn:disabled { opacity: 0.3; cursor: default; }

.feed-empty, .feed-loading {
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .market-bar { display: none; }
  .event-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ——— Right column ——— */
.right-col {
  position: relative;
  top: auto;
  max-height: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coupon {
  padding: 0;
  overflow: hidden;
}
.coupon__head {
  background: var(--pink);
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 11px 12px;
}
.coupon__body { padding: 10px 12px; min-height: 60px; }
.coupon-empty {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 14px 4px;
}
.coupon-leg {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  margin-bottom: 8px;
  background: var(--panel-2);
  position: relative;
}
.coupon-leg__match { font-size: 12px; font-weight: 700; padding-right: 20px; }
.coupon-leg__pick { font-size: 11px; color: var(--muted); margin-top: 3px; }
.coupon-leg__price { margin-top: 5px; color: var(--pink); font-weight: 800; font-size: 14px; }
.coupon-leg__x {
  position: absolute; top: 6px; right: 8px;
  border: 0; background: transparent; color: var(--muted); font-size: 16px;
}
.coupon__foot {
  padding: 0 12px 12px;
  display: grid;
  gap: 8px;
}
.coupon__foot[hidden] {
  display: none !important;
}
.stake-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--bg);
}
.stake-input label { font-size: 11px; color: var(--muted); white-space: nowrap; }
.stake-input input {
  border: 0; outline: 0; width: 100%;
  background: transparent; color: #fff;
  font-size: 15px; font-weight: 700;
}
.coupon-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.coupon-row strong { color: #fff; }
.coupon-msg {
  padding: 0 12px 12px;
  font-size: 12px;
  color: var(--pink);
  min-height: 16px;
}
.coupon-msg.is-ok { color: var(--green); }

.side-widget { padding: 10px; }
.side-widget header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.broadcast-stage {
  border-radius: var(--radius-sm);
  background:
    radial-gradient(80% 100% at 50% 100%, rgba(255,15,80,0.14), transparent 60%),
    linear-gradient(180deg, #0a173a, #122447);
  padding: 18px 8px;
  text-align: center;
  min-height: 100px;
  color: var(--muted);
  font-size: 12px;
}
.popular-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.popular-item:first-of-type { border-top: 0; }
.popular-item__teams { font-size: 12px; font-weight: 700; }
.popular-item__meta { font-size: 11px; color: var(--muted); }

/* ——— Header logos + nav icons (BetKing assets) ——— */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo-icon {
  height: 52px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
.brand-text {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
}
.header-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.header-nav-item:hover,
.header-nav-item.is-on {
  background: rgba(255, 15, 80, 0.15);
  color: #fff;
}
.header-nav-item.is-on {
  box-shadow: inset 0 -2px 0 var(--pink);
}
.nav-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ——— Promo slider (BetKing) ——— */
.home-promo-strip {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 14px 16px 6px;
  box-sizing: border-box;
}
.home-promo-slider {
  --promo-slide-width: 440px;
  position: relative;
  padding: 0 0 8px;
}
.promo-slider-viewport { overflow: hidden; width: 100%; }
.promo-slider-track {
  display: flex;
  gap: 12px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.promo-slide {
  flex: 0 0 var(--promo-slide-width);
  width: var(--promo-slide-width);
  height: 180px;
  aspect-ratio: 22 / 9;
  min-height: 140px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border-radius: 6px;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--slide-bg, #2e3a51);
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
.promo-slide.is-img-pending {
  background-color: transparent;
  outline-color: transparent;
  opacity: 0;
}
.promo-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.promo-slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  pointer-events: none;
}
.promo-slide-content.is-hidden-for-image {
  opacity: 0;
  visibility: hidden;
}
.promo-slide-top { display: flex; align-items: center; gap: 8px; }
.promo-slide-body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.promo-slide-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 70%;
}
.promo-slide-sub { font-size: 12px; color: #bfbfbf; max-width: 70%; }
.promo-slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  min-width: 120px;
  height: 36px;
  padding: 8px 12px;
  background: var(--pink);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-style: italic;
  font-weight: 600;
}
.promo-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}
.promo-dot {
  width: 16px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  padding: 0;
  cursor: pointer;
}
.promo-dot.active { background: var(--pink); }

/* SVG icons inside tiles / menus */
.icon-tile__img,
.sport-ico img,
.league-ico img,
.live-tabs img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.icon-tile__img { width: 40px; height: 40px; }
.league-ico, .sport-ico {
  background: transparent;
  width: 24px;
  height: 24px;
}
.live-feed__head img { opacity: 0.85; }

@media (max-width: 768px) {
  .home-promo-strip { padding: 8px 12px; }
  .promo-slide { height: auto; min-height: 140px; }
  .header-logo-icon { height: 42px; max-width: 96px; }
  .brand-text { font-size: 15px; }
  /* nav yazıları mobilde de görünsün — yatay kaydır */
  .header-nav-item span { display: inline !important; }
}

/* ——— Event Detail (BetKing EventDetail) ——— */
.event-detail {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px 20px;
  min-height: 480px;
}
.ed-back {
  border: 0;
  background: var(--panel-2);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ed-back:hover { background: var(--panel-3); }
.ed-league {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.ed-scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.ed-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.ed-mid { text-align: center; }
.ed-score {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  margin-top: 4px;
}
.ed-clock { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ed-meta { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.ed-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ed-tabs button {
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  text-transform: capitalize;
}
.ed-tabs button.is-on {
  background: var(--pink);
  border-color: var(--pink);
}
.ed-market {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  background: var(--bg-2);
}
.ed-market__name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.ed-outcomes {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 6px;
}
.ed-out {
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--odd-bg);
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.ed-out strong { color: var(--pink); font-weight: 800; }
.ed-out.is-on {
  background: var(--pink);
  border-color: var(--pink);
}
.ed-out.is-on strong { color: #fff; }
.ed-out:hover { border-color: var(--pink); }
