:root {
  --grid-gap: 14px;
  --betslip-col: 320px;
  --bulletin-odds-min: 180px;
  --bulletin-odds-max: 280px;
  --bg: #14103f;
  --panel: rgba(58, 35, 130, .72);
  --line: rgba(152, 104, 255, .34);
  --text: #fff;
  --muted: #c9bdf1;
  --accent: #8d55ff;
  --green: #22df4f;
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  background-color: #14103f;
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(150deg, #12103a 0%, #24146f 46%, #171145 100%);
  overflow-x: hidden;
}
a { color: #e9ddff; }
.shell { max-width: 1200px; margin: 0 auto; padding: 16px 16px 100px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.logo { font-size: 22px; font-weight: 900; }
.logo b { color: var(--accent); }
.tabs { display: flex; gap: 8px; }
.tabs button {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.tabs button.active {
  background: linear-gradient(135deg, #8d55ff, #7143d6);
  border-color: transparent;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--betslip-col);
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}
.match {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.match-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.match-head strong { font-size: 15px; }
.badge-live {
  background: #ff3b5c;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
}
.odds-row { display: flex; gap: 8px; flex-wrap: wrap; }
.odd-btn {
  min-width: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0,0,0,.2);
  color: #fff;
  cursor: pointer;
  text-align: center;
}
.odd-btn span { display: block; font-size: 11px; color: var(--muted); }
.odd-btn b { font-size: 16px; }
.odd-btn.selected, .odd-btn:hover:not(.is-locked) {
  background: linear-gradient(135deg, #8d55ff, #7143d6);
  border-color: transparent;
}
.odd-btn.is-locked {
  opacity: 0.62;
  cursor: not-allowed;
  border-color: rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  pointer-events: none;
}
.odd-btn.is-locked .odd-locked {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 1px;
}
.slip-item.blocked {
  opacity: 0.72;
  border-left: 3px solid #ffb020;
}
.slip-warning {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 176, 32, .12);
  border: 1px solid rgba(255, 176, 32, .35);
  color: #ffe2a8;
  font-size: 12px;
  font-weight: 800;
}
.place-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.betslip { position: sticky; top: 16px; padding: 16px; }
.betslip h2 { margin: 0 0 12px; font-size: 18px; }
.slip-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.slip-item button {
  border: 0;
  background: transparent;
  color: #ff8a9a;
  cursor: pointer;
  font-weight: 900;
}
.stake-row {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.stake-row input {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.25);
  color: #fff;
  padding: 0 12px;
  font-weight: 700;
}
.place-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #22df4f, #17b83f);
  color: #0a2b12;
  font-weight: 900;
  cursor: pointer;
}
.place-btn:disabled { opacity: .5; cursor: not-allowed; }
.status-bar {
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
}
.status-bar.warn { background: rgba(255,209,102,.15); color: #ffd166; }
.status-bar.ok { background: rgba(34,223,79,.12); color: var(--green); }
.status-bar.err { background: rgba(255,107,122,.15); color: #ff8a9a; }
.wallet { font-weight: 800; color: var(--green); }
.empty { padding: 24px; text-align: center; color: var(--muted); }

.match-clickable { padding: 0; }
.match-link {
  display: block;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}
.match-link:hover { background: rgba(141, 85, 255, .12); }
.markets-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(141, 85, 255, .25);
  color: #e9ddff;
  white-space: nowrap;
}
.view-all-markets {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}
.match-quick-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
}
.match-quick-links a {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(141, 85, 255, .2);
  text-decoration: none;
  color: #e9ddff;
}
.match-layout { align-items: start; }
.match-markets { padding: 8px 0; max-height: none; }
.market-block {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.market-block:last-child { border-bottom: 0; }
.market-name {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 850;
  color: #e9ddff;
}
.market-wide .odds-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.market-wide .odd-btn { min-width: 0; width: 100%; }

/* Skor tahtası */
.scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  margin-bottom: 14px;
  text-align: center;
}
.scoreboard.is-live {
  box-shadow: 0 0 0 1px rgba(255, 59, 92, .35), 0 12px 40px rgba(255, 59, 92, .12);
}
.scoreboard-team { font-weight: 900; font-size: 15px; }
.scoreboard-team.away { text-align: right; }
.score-display {
  font-size: 32px;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1;
}
.score-display.live-pulse { animation: scorePulse 2s ease-in-out infinite; }
@keyframes scorePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.04); }
}
.live-minute {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #ff6b8a;
  text-transform: uppercase;
}

/* Maç sekmeleri */
.match-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.match-tabs button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.match-tabs button.active {
  background: linear-gradient(135deg, #8d55ff, #7143d6);
  border-color: transparent;
}
.tab-panel { display: none; padding: 0; overflow: hidden; }
.tab-panel.active { display: block; }
.match-markets { max-height: none; }

.widget-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 850;
  color: var(--muted);
}
.ghost-btn {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: #e9ddff;
  font-weight: 800;
  cursor: pointer;
}
.widget-frame-wrap {
  position: relative;
  min-height: 420px;
  background: rgba(0, 0, 0, .25);
}
.widget-frame-wrap.tall { min-height: 480px; }
.widget-iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.widget-frame-wrap.tall .widget-iframe { height: 480px; }

.widget-notice {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 193, 7, .12);
  border: 1px solid rgba(255, 193, 7, .35);
  color: #ffe9a8;
  font-size: 13px;
  line-height: 1.45;
}

.stats-summary {
  padding: 0;
  border-bottom: 0;
}
.modern-stats-panel {
  padding: 0;
  background: transparent;
}

/* ——— Modern maç içi istatistik (dual progress) ——— */
.modern-stats {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modern-stats-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.modern-stats-team {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modern-stats-team--home {
  color: #c4b5fd;
  text-align: left;
}
.modern-stats-team--away {
  color: #6ee7b7;
  text-align: right;
}
.modern-stats-title {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .45);
  text-align: center;
}
.modern-stats-scroll-wrap {
  position: relative;
}
.modern-stats-scroll-wrap.is-scrollable::after {
  content: '';
  position: absolute;
  left: 0;
  right: 6px;
  bottom: 0;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #0f212e 85%);
  border-radius: 0 0 10px 10px;
}
.modern-stats-scroll {
  max-height: calc(58px * 4 + 14px * 3);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, .65) rgba(255, 255, 255, .06);
  padding-right: 2px;
}
.modern-stats-scroll:focus-visible {
  outline: 2px solid rgba(139, 92, 246, .45);
  outline-offset: 2px;
  border-radius: 8px;
}
.modern-stats-scroll::-webkit-scrollbar {
  width: 6px;
}
.modern-stats-scroll::-webkit-scrollbar-track {
  margin: 4px 0;
  background: rgba(255, 255, 255, .04);
  border-radius: 99px;
}
.modern-stats-scroll::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: linear-gradient(180deg, #8b5cf6, #10b981);
  box-shadow: 0 0 8px rgba(139, 92, 246, .35);
}
.modern-stats-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a78bfa, #34d399);
}
.modern-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 2px;
}

.mstat-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: mstat-in .45s ease backwards;
}
.modern-stats-grid .mstat-row:nth-child(1) { animation-delay: .03s; }
.modern-stats-grid .mstat-row:nth-child(2) { animation-delay: .06s; }
.modern-stats-grid .mstat-row:nth-child(3) { animation-delay: .09s; }
.modern-stats-grid .mstat-row:nth-child(4) { animation-delay: .12s; }
.modern-stats-grid .mstat-row:nth-child(n+5) { animation-delay: .15s; }

@keyframes mstat-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mstat-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.mstat-val {
  font-size: 15px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mstat-val--home {
  color: #ede9fe;
  text-align: left;
}
.mstat-val--away {
  color: #d1fae5;
  text-align: right;
}
.mstat-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  white-space: nowrap;
}
.mstat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  font-size: 10px;
  line-height: 1;
}

.mstat-bar {
  display: flex;
  align-items: stretch;
  gap: 3px;
  height: 10px;
}
.mstat-bar-side {
  flex: 1;
  display: flex;
  height: 100%;
  background: rgba(255, 255, 255, .05);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.mstat-bar-side--home {
  justify-content: flex-end;
  border-radius: 99px 4px 4px 99px;
}
.mstat-bar-side--away {
  justify-content: flex-start;
  border-radius: 4px 99px 99px 4px;
}
.mstat-bar-divider {
  flex: 0 0 3px;
  width: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 0 8px rgba(255, 255, 255, .25);
}
.mstat-bar-fill {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  transition: width .75s cubic-bezier(.22, 1, .36, 1);
}
.mstat-bar-fill--home {
  background: linear-gradient(270deg, #8b5cf6 0%, #a78bfa 55%, #c4b5fd 100%);
  box-shadow: 0 0 14px rgba(139, 92, 246, .55);
}
.mstat-bar-fill--away {
  background: linear-gradient(90deg, #059669 0%, #10b981 55%, #6ee7b7 100%);
  box-shadow: 0 0 14px rgba(16, 185, 129, .45);
}

.mstat-quarters {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.mstat-quarters-title {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .4);
}
.mstat-quarters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.mstat-quarter {
  padding: 10px 10px 8px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}
.mstat-quarter-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 6px;
}
.mstat-quarter-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mstat-quarter-sep {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .35);
}

.stat-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--muted);
}
.stat-bar-track {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.stat-bar-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #8d55ff, #22df4f);
  transition: width .6s ease;
}
.quarter-row {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
}
.quarter-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.quarter-mini span {
  min-height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(0,0,0,.18);
  color: #fff;
  font-weight: 900;
}

/* Saha animasyonu (canlı maç) */
.pitch-animation {
  display: none;
  padding: 12px 16px 0;
}
.pitch-animation.active { display: block; }
.pitch-field {
  height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(34, 223, 79, .35);
  background: linear-gradient(180deg, rgba(34, 120, 60, .5), rgba(20, 80, 40, .6));
  position: relative;
  overflow: hidden;
}
.pitch-field::before {
  content: "";
  position: absolute;
  inset: 50% 8px auto;
  height: 1px;
  background: rgba(255, 255, 255, .2);
  transform: translateY(-50%);
}
.ball-anim {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, .8);
  top: 50%;
  left: 20%;
  animation: ballMove 4s ease-in-out infinite;
}
@keyframes ballMove {
  0%, 100% { left: 18%; transform: translateY(-50%) scale(1); }
  25% { left: 45%; transform: translate(-50%, -50%) scale(1.1); }
  50% { left: 72%; transform: translateY(-50%) scale(1); }
  75% { left: 50%; transform: translate(-50%, -50%) scale(.95); }
}

@media (max-width: 900px) {
  .scoreboard { grid-template-columns: 1fr; gap: 8px; }
  .scoreboard-team.away { text-align: center; }
  .widget-iframe { height: 360px; }
}

/* Mersibet / BetConstruct classic sportsbook adaptation */
.subtle { margin-top: 6px; font-size: 13px; color: var(--muted); }
.topbar-actions { text-align: right; display: grid; gap: 4px; justify-items: end; }
.shell.sportsbook-shell {
  padding: 16px 16px 100px;
}
.sportsbook-shell {
  width: 100%;
  max-width: 1320px;
  overflow-x: hidden;
}
.sportsbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--betslip-col);
  gap: var(--grid-gap);
  align-items: start;
  width: 100%;
  min-width: 0;
}
.sportsbook-main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sportsbook-grid > .layout-betslip-holder-bc.betslip-bc {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}
.sport-filters-strip {
  padding: 10px 10px 8px;
  overflow: hidden;
}
.sport-filters-list--horizontal {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 85, 255, .45) transparent;
}
.sport-filters-list--horizontal::-webkit-scrollbar {
  height: 5px;
}
.sport-filters-list--horizontal::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(141, 85, 255, .45);
}
.sport-filter {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.sport-filters-list--horizontal .sport-filter {
  flex: 0 0 auto;
  width: auto;
  min-width: 118px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  scroll-snap-align: start;
}
.sport-filters-list--horizontal .sport-filter.active {
  background: linear-gradient(135deg, #8d55ff, #7143d6);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(104, 63, 218, .28);
}
.sport-filters-list--horizontal .sport-filter b {
  min-width: 22px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.sport-filters-list--horizontal .sport-filter.active b {
  color: #e8ffe8;
}
/* ——— Ligler & Turnuvalar (modern hub) ——— */
.competition-hub {
  padding: 14px 14px 12px;
  display: grid;
  gap: 12px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(104, 63, 218, .14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.competition-hub__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.competition-hub__title-block {
  min-width: 0;
}
.competition-hub__title {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
}
.competition-hub__subtitle {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.competition-hub__clear {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(34, 223, 79, .35);
  border-radius: 999px;
  background: rgba(34, 223, 79, .1);
  color: #b9ffca;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.competition-hub__clear:hover {
  background: rgba(34, 223, 79, .18);
}
.competition-hub__search {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .22);
  color: var(--muted);
}
.competition-hub__search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.competition-hub__search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.competition-hub__search input::placeholder {
  color: var(--muted);
  opacity: .85;
}
.competition-hub__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 85, 255, .5) transparent;
}
.competition-hub__track::-webkit-scrollbar {
  height: 6px;
}
.competition-hub__track::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(141, 85, 255, .45);
}
.competition-hub__empty {
  flex: 1 1 100%;
  margin: 0;
  padding: 20px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.competition-chip {
  position: relative;
  flex: 0 0 auto;
  width: min(228px, 78vw);
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  color: var(--text);
  display: grid;
  grid-template-columns: 28px 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 10px;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.competition-chip:hover {
  border-color: rgba(141, 85, 255, .5);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.competition-chip.is-active {
  border-color: rgba(34, 223, 79, .55);
  background: linear-gradient(145deg, rgba(34, 223, 79, .16), rgba(104, 63, 218, .14));
  box-shadow: 0 0 0 1px rgba(34, 223, 79, .25);
}
.competition-chip__flag,
.competition-chip__flag .region-flag,
.competition-chip__flag .region-flag-emoji {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.competition-chip__flag .region-flag-emoji {
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}
.competition-chip__visual {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.competition-chip__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.competition-chip__logo-fallback {
  font-size: 20px;
  line-height: 1;
}
.competition-chip__badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(141, 85, 255, .2);
  grid-column: 2;
}
.competition-chip__badge--all {
  grid-column: 2;
}
.competition-chip[data-competition-filter="all"] {
  grid-template-columns: 48px minmax(0, 1fr);
}
.competition-chip__body {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: center;
}
.competition-chip__league {
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.competition-chip__country {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.competition-chip__count {
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  color: #c9b8ff;
  font-size: 11px;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
}
.competition-chip.is-active .competition-chip__count {
  background: rgba(34, 223, 79, .22);
  color: #b9ffca;
}
.competition-chip__live {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4848;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px rgba(255, 72, 72, .55);
}
.region-flag-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.region-flag,
.match-league-flag,
.league-region-flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.region-flag-emoji {
  font-size: 14px;
  line-height: 1;
}
.match-league-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-bottom: 4px;
  padding: 3px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  font-size: 10px;
  font-weight: 800;
  color: #c9b8ff;
}
.match-league-country {
  color: #e9ddff;
  flex: 0 0 auto;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-league-sep {
  opacity: .45;
  flex: 0 0 auto;
}
.match-league-name {
  color: #b9ffca;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.league-region-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 2px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #e9ddff;
  font-size: 10px;
  font-weight: 800;
  max-width: 140px;
}
.league-region-tag .league-region-flag,
.league-region-tag .region-flag-emoji {
  width: 18px;
  height: 12px;
  border-radius: 2px;
}
.league-group-region {
  flex: 0 0 auto;
}
.competition-region {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  background: rgba(0, 0, 0, .18);
  overflow: hidden;
}
.competition-region__head {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .04);
  color: #e9ddff;
  cursor: pointer;
  text-align: left;
}
.competition-region__name {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.competition-region__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}
.competition-region__live {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 72, 72, .16);
  color: #ffb4b4;
}
.competition-region__count {
  color: #c9b8ff;
}
.competition-region__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
  transition: transform .18s ease;
}
.competition-region.is-collapsed .competition-region__chevron {
  transform: rotate(-45deg);
}
.competition-region.is-collapsed .competition-region__grid {
  display: none;
}
.competition-region__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 12px;
}
.competition-card {
  position: relative;
  min-height: 88px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  color: var(--text);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.competition-card:hover {
  border-color: rgba(141, 85, 255, .45);
  background: linear-gradient(145deg, rgba(104, 63, 218, .18), rgba(255, 255, 255, .04));
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.competition-card.is-active {
  border-color: rgba(34, 223, 79, .55);
  background: linear-gradient(145deg, rgba(34, 223, 79, .14), rgba(104, 63, 218, .12));
  box-shadow: 0 0 0 1px rgba(34, 223, 79, .2), 0 10px 24px rgba(0, 0, 0, .25);
}
.competition-card.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #22df4f, #8d55ff);
}
.competition-card__visual {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.competition-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.competition-card__logo-fallback {
  font-size: 26px;
  line-height: 1;
}
.competition-card__content {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: center;
}
.competition-card__region {
  font-size: 10px;
  font-weight: 800;
  color: #c9b8ff;
  text-transform: uppercase;
  letter-spacing: .04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.competition-card__name {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.competition-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}
.competition-card__sport {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.competition-card__sport-ico {
  font-size: 12px;
  line-height: 1;
}
.competition-card__count {
  color: #aea2d6;
}
.competition-card__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 72, 72, .14);
  color: #ffb4b4;
}
.competition-card__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4848;
  box-shadow: 0 0 8px rgba(255, 72, 72, .8);
  animation: compLivePulse 1.4s ease-in-out infinite;
}
@keyframes compLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
.sport-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: left;
}
.sport-filter-label > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sport-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: 0 0 22px;
}
.match-sport-ico {
  font-size: 16px;
  line-height: 1;
  flex: 0 0 20px;
  text-align: center;
}
.bulletin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bulletin-tabs a,
.bulletin-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.bulletin-tabs a b,
.bulletin-tabs button b {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: var(--muted);
  font-size: 11px;
  display: inline-grid;
  place-items: center;
}
.bulletin-tabs a.active,
.bulletin-tabs button.active {
  background: rgba(34, 223, 79, .18);
  border-color: rgba(34, 223, 79, .35);
  color: #b9ffca;
}
.bulletin-tabs a.active b,
.bulletin-tabs button.active b {
  background: rgba(34, 223, 79, .25);
  color: #fff;
}
.status-bar.is-compact {
  min-height: 32px;
  padding: 6px 12px;
  margin-bottom: 10px;
  font-size: 12px;
}
.matches-list-wrap { position: relative; min-height: 200px; }
.matches-list-shell { min-height: 120px; }
.matches-list-shell[hidden] { display: none; }
.bulletin-skeleton { display: grid; gap: 8px; padding: 12px; }
.bulletin-skeleton[hidden] { display: none; }
.skeleton-row {
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04));
  background-size: 200% 100%;
  animation: skeletonPulse 1.2s ease-in-out infinite;
}
@keyframes skeletonPulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.section-count {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.sport-filter b {
  color: var(--muted);
  font-size: 12px;
}
.sport-filter.active,
.sport-filter:hover {
  background: rgba(141, 85, 255, .22);
}
.sports-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 200px);
  gap: 10px;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
}
.special-options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.special-options button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: #fff;
  padding: 0 12px;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 800;
}
.special-options button.active {
  background: rgba(34, 223, 79, .18);
  border-color: rgba(34, 223, 79, .35);
  color: #b9ffca;
}
.search-box {
  height: 38px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}
.market-board { overflow: hidden; }
.match-row .bulletin-betting {
  overflow: visible;
  min-width: 0;
}
.market-board-head {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--bulletin-odds-min), min(var(--bulletin-odds-max), 34%)) 44px;
  gap: 8px;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.league-group header,
.league-group-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px;
  background: linear-gradient(90deg, rgba(104, 63, 218, .16), rgba(0, 0, 0, .22));
  color: #e9ddff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}
.league-group.is-collapsed .league-group-body {
  display: none;
}
.league-group-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.league-sport-ico {
  flex: 0 0 20px;
  font-size: 14px;
  line-height: 1;
}
.league-region-tag {
  flex: 0 0 auto;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #c9b8ff;
  font-size: 10px;
  font-weight: 800;
}
.league-live-badge {
  flex: 0 0 auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 72, 72, .2);
  color: #ffb4b4;
  font-size: 10px;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
}
.league-group-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
}
.league-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
  opacity: .75;
}
.league-group.is-collapsed .league-chevron {
  transform: rotate(-45deg);
}
.league-group-head-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.league-group-head-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.league-group-head-main .league-group-title {
  min-width: 0;
  flex: 1 1 auto;
}
.league-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
  flex: 0 0 20px;
}
.league-group header b {
  color: var(--muted);
  font-size: 11px;
  flex: 0 0 auto;
}
.match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--bulletin-odds-min), min(var(--bulletin-odds-max), 34%)) 44px;
  gap: 6px;
  align-items: center;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.match-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 20px 58px minmax(0, 1fr);
  gap: 4px 6px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.match-team-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.match-team-line .match-team-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  border-width: 1px;
  box-shadow: none;
}
.match-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  max-width: 58px;
  line-height: 1.1;
}
.match-clock {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.match-clock.is-live-clock {
  color: #00e701;
  font-weight: 900;
  font-size: 11px;
}
.match-score {
  font-size: 10px;
  font-weight: 900;
  color: #ffb3c1;
  text-align: center;
  white-space: nowrap;
}
.match-teams {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}
.match-team-name {
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Eski sınıflar — geriye dönük */
.match-time.is-live-clock,
.match-clock.is-live-clock { color: #00e701; }
.match-time { color: var(--muted); font-size: 10px; font-weight: 800; }
.teams { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.teams b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.score-chip {
  border-radius: 4px;
  padding: 2px 5px;
  background: rgba(255, 59, 92, .16);
  color: #ffb3c1;
  font-size: 10px;
  font-weight: 900;
}
.preview-odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.preview-odds .odd-btn {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 5px 6px;
  border-radius: 8px;
}
.bulletin-betting {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.bulletin-betting.is-empty {
  min-height: 44px;
  place-content: center;
}
.bulletin-market-tabs-track {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent;
  padding-bottom: 2px;
  position: relative;
  z-index: 2;
}
.bulletin-market-tabs-track::-webkit-scrollbar {
  height: 5px;
}
.bulletin-market-tabs-track::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(255,255,255,.25);
}
.bulletin-market-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  padding: 0 4px 2px;
  min-width: max-content;
}
.bulletin-market-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  position: relative;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.bulletin-market-tab:hover:not(:disabled) {
  color: #e9ddff;
  border-color: rgba(255,255,255,.2);
}
.bulletin-market-tab.active:not(:disabled) {
  color: #fff;
  border-color: rgba(0,231,1,.45);
  background: linear-gradient(135deg, rgba(0,231,1,.22), rgba(124,58,237,.35));
  box-shadow: 0 0 0 1px rgba(0,231,1,.12);
}
.bulletin-market-tab.is-disabled,
.bulletin-market-tab:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  border-style: dashed;
}
.bulletin-panel-empty {
  margin: 0;
  padding: 10px 4px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.bulletin-market-panels {
  min-height: 38px;
}
.bulletin-market-panel {
  display: none;
}
.bulletin-market-panel.active {
  display: block;
}
.bulletin-odds {
  display: grid;
  gap: 6px;
}
.bulletin-odds.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bulletin-odds.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bulletin-odds .odd-btn {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 5px 6px;
  border-radius: 8px;
}
.match-tools {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}
.match-stat-btn {
  width: 100%;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 231, 1, .22);
  border-radius: 8px;
  background: rgba(0, 231, 1, .08);
  color: #00e701;
  cursor: pointer;
  padding: 0;
  transition: background .15s, border-color .15s, transform .1s;
}
.match-stat-btn svg {
  width: 18px;
  height: 18px;
}
.match-stat-btn:hover:not(:disabled) {
  background: rgba(0, 231, 1, .16);
  border-color: rgba(0, 231, 1, .45);
}
.match-stat-btn:active:not(:disabled) {
  transform: scale(0.96);
}
.match-stat-btn.is-disabled,
.match-stat-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
}
.match-tools a.markets-badge {
  min-width: 0;
  width: 100%;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #e9ddff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

/* ——— Bülten: maç istatistik modal ——— */
.match-stats-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.match-stats-modal[hidden] {
  display: none !important;
}
body.match-stats-modal-open {
  overflow: hidden;
}
.match-stats-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
}
.match-stats-modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #12141c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.match-stats-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}
.match-stats-modal__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  min-width: 0;
}
.match-stats-modal__teams {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-stats-modal__vs {
  color: var(--muted);
  font-weight: 700;
  margin: 0 4px;
}
.match-stats-modal__close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.match-stats-modal__close:hover {
  background: rgba(255, 255, 255, .14);
}
.match-stats-modal__body {
  flex: 1;
  min-height: 0;
  background: #0d0f14;
  overflow: hidden;
  /* Spinova external başlık: SEE_MORE + statistics host */
  --stats-iframe-crop: 56px;
}
.match-stats-modal__iframe {
  display: block;
  width: 100%;
  margin-top: calc(-1 * var(--stats-iframe-crop));
  height: calc(min(78vh, 720px) + var(--stats-iframe-crop));
  min-height: calc(420px + var(--stats-iframe-crop));
  border: 0;
  background: #0d0f14;
}
.empty-inline {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}
.stats-diagnostics {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-diagnostics div {
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(0,0,0,.16);
}
.stats-diagnostics span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}
.stats-diagnostics b {
  font-size: 12px;
  word-break: break-word;
}
.match-main-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.match-center {
  padding: 0;
  overflow: hidden;
}
.match-center.is-live {
  box-shadow: 0 0 0 1px rgba(255, 59, 92, .32), 0 18px 50px rgba(255, 59, 92, .13);
}
.match-hero {
  display: grid;
  gap: 8px;
  padding: 12px 14px 14px;
  background:
    linear-gradient(135deg, rgba(34, 223, 79, .06) 0%, rgba(141, 85, 255, .1) 100%),
    rgba(0, 0, 0, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.match-hero--compact .match-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
}
.match-hero-league {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.match-hero-league[hidden] {
  display: none !important;
}
.match-league-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
  flex: 0 0 22px;
}
.match-league-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-team {
  min-width: 0;
}
.match-team-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.match-team--away .match-team-brand {
  flex-direction: row-reverse;
  text-align: right;
}
.match-team-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(152, 104, 255, .22);
  flex: 0 0 44px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
.match-team-logo.is-fallback {
  opacity: .72;
  filter: saturate(.65);
}
.match-team strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.match-score-core {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 4px;
}
.score-display {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1;
}
.live-pill {
  min-height: 24px;
  min-width: 72px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  padding: 0 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}
.match-center.is-live .live-pill {
  background: rgba(255, 59, 92, .2);
  color: #ffd9df;
}
.period-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.match-live-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
  gap: 12px;
  padding: 12px;
}
.match-widget-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(0,0,0,.14);
  overflow: hidden;
}
.inline-toolbar { padding: 10px 12px; }
.inline-summary {
  min-height: 116px;
  border-bottom: 0;
}
.compact-empty {
  padding: 20px 8px;
}
.stats-diagnostics.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 10px 12px;
}
.stats-diagnostics.compact div { min-height: 48px; }
.compact-frame {
  min-height: 210px;
}
.compact-frame .widget-iframe {
  height: 240px;
}
.animation-card .pitch-animation {
  display: block;
  padding: 10px 12px;
}
.animation-card .pitch-field.live-court {
  height: 230px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.16) 0 10%, transparent 10.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.25) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(180deg, rgba(214,112,42,.72), rgba(122,58,29,.82));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08);
}
.animation-card .pitch-field.live-court.football-court {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.14) 0 9%, transparent 9.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.22) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(180deg, rgba(34, 120, 60, .72), rgba(20, 80, 40, .84));
}
.live-court::before,
.live-court::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  width: 22%;
  border: 2px solid rgba(255,255,255,.22);
}
.live-court::before {
  left: 0;
  border-left: 0;
  border-radius: 0 999px 999px 0;
}
.live-court::after {
  right: 0;
  border-right: 0;
  border-radius: 999px 0 0 999px;
}
.court-hoop {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.55);
  transform: translateY(-50%);
  z-index: 1;
}
.court-hoop.home { left: 10px; border-left: 0; }
.court-hoop.away { right: 10px; border-right: 0; }
.court-center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 74px;
  height: 74px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.live-court .ball-anim {
  width: 18px;
  height: 18px;
  left: var(--ball-x, 50%);
  top: var(--ball-y, 50%);
  background: radial-gradient(circle at 35% 30%, #fff2d0, #f28c28 45%, #9a3e12 100%);
  box-shadow: 0 0 18px rgba(255, 174, 74, .8);
  animation: liveBallPulse 1.4s ease-in-out infinite;
  z-index: 3;
}
@keyframes liveBallPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
}
.animation-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 8px 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.animation-meta b {
  min-width: 90px;
  border-radius: 8px;
  padding: 7px 12px;
  background: rgba(0,0,0,.22);
  color: #fff;
  text-align: center;
  font-size: 16px;
}
.animation-meta span:last-child { text-align: right; }
.animation-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.animation-stat-chip {
  min-height: 44px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.animation-stat-chip span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.animation-stat-chip b {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}
.animation-stat-chip.muted {
  opacity: .62;
}
.animation-narration {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 18px 14px 10px 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 14, 28, .9), rgba(58, 35, 130, .72)),
    rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
  overflow-wrap: anywhere;
}
.animation-narration::before {
  content: "CANLI OLAY";
  position: absolute;
  left: 38px;
  top: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
}
.animation-narration::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(12, 215, 110, .16), 0 0 20px rgba(12, 215, 110, .52);
  transform: translateY(-50%);
  animation: liveEventPulse 1.45s ease-in-out infinite;
}
@keyframes liveEventPulse {
  0%, 100% { opacity: .72; transform: translateY(-50%) scale(.86); }
  50% { opacity: 1; transform: translateY(-50%) scale(1); }
}
.external-animation-frame[hidden] { display: none; }

.match-widget-card.animation-card {
  overflow: hidden;
  min-width: 0;
}
.waduaAnimationWrapper {
  padding: 0 12px 12px;
  max-width: 100%;
  overflow: hidden;
}
.waduaAnimation {
  position: relative;
  height: 300px;
  max-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,.2);
}
.waduaAnimation.hasHeader {
  height: 300px;
  max-height: 300px;
}
.waduaAnimationIframe {
  display: block;
  width: 100%;
  height: 300px;
  max-height: 300px;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.wadua-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: rgba(0,0,0,.35);
  z-index: 2;
}
.wadua-loading[hidden] { display: none; }
.widget-badge {
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
}
.compact-notice {
  margin: 0 12px 10px;
  padding: 10px 12px;
}
.fallback-animation { padding: 0 12px 12px; }
.stats-section-bc {
  margin: 0 12px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.stats-section-row-bc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.stats-section-row-bc:first-child { border-top: 0; }
.stats-section-name-bc {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.stats-section-title-bc {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}
.stats-section-info-bc {
  font-size: 13px;
  font-weight: 950;
  color: #fff;
  white-space: nowrap;
}
.stats-section-icons-bc {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  flex: 0 0 18px;
}
.markets-panel { overflow: hidden; }
.market-detail-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* Stake-inspired match detail layout */
body.stake-style-page {
  --bg: #0f212e;
  --panel: #1a2c38;
  --line: rgba(255,255,255,.08);
  --text: #f5f7fa;
  --muted: #b1bad3;
  --accent: #00e701;
  --green: #00e701;
  background: #0f212e;
}
.stake-style-page a { color: #d5dceb; }
.stake-shell {
  max-width: 1280px;
  padding: 12px 14px 80px;
}
.stake-topbar {
  min-height: 64px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #1a2c38;
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.stake-topbar .logo {
  color: #fff;
  text-decoration: none;
}
.stake-topbar .wallet { color: #00e701; }
.stake-style-page .match-topbar-extra,
.stake-style-page .stake-breadcrumb.is-hidden-ui {
  display: none !important;
}
.stake-style-page .status-bar {
  border-radius: 6px;
  background: #213743;
}
.stake-style-page .status-bar.ok { color: #00e701; }
.stake-style-page .status-bar.warn { color: #ffd66b; }
.stake-style-page .status-bar.err { color: #ff6f7d; }
.stake-event-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}
.stake-style-page .panel {
  border-color: rgba(255,255,255,.06);
  border-radius: 6px;
  background: #1a2c38;
}
.stake-event-card {
  border-radius: 6px;
  background: #1a2c38;
}
.stake-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #b1bad3;
  font-size: 12px;
  font-weight: 800;
}
.stake-breadcrumb span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #557086;
}
.stake-style-page .match-hero {
  padding: 10px 12px 12px;
  border-bottom-color: rgba(255, 255, 255, .06);
  background:
    linear-gradient(180deg, rgba(47, 69, 83, .72), rgba(26, 44, 56, .94)),
    #213743;
}
.stake-style-page .match-league-name,
.stake-style-page .period-label {
  color: #b1bad3;
}
.stake-style-page .match-team strong {
  color: #fff;
  font-size: 14px;
}
.stake-style-page .score-display {
  color: #fff;
  font-size: 26px;
  letter-spacing: 0;
}
.stake-style-page .match-team-logo {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, .1);
}
.stake-style-page .live-pill {
  min-width: 78px;
  border-radius: 4px;
  background: #2f4553;
  color: #d5dceb;
}
.stake-style-page .match-center.is-live {
  box-shadow: 0 0 0 1px rgba(0,231,1,.18);
}
.stake-style-page .match-center.is-live .live-pill {
  background: rgba(0,231,1,.14);
  color: #00e701;
}
#animationBadge,
.widget-badge--wadua {
  display: none !important;
}

.team-form-panel {
  padding: 4px 2px 8px;
}
.team-form-hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.team-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.team-form-col {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.team-form-col header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.team-form-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.team-form-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(152, 104, 255, .2);
}
.team-form-name {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
}
.team-form-meta {
  font-size: 11px;
  color: var(--muted);
}
.team-form-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-form-badge {
  min-width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}
.team-form-badge--win {
  background: rgba(34, 223, 79, 0.2);
  color: #b9ffca;
  border: 1px solid rgba(34, 223, 79, 0.35);
}
.team-form-badge--draw {
  background: rgba(255, 193, 7, 0.15);
  color: #ffe08a;
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.team-form-badge--loss {
  background: rgba(255, 82, 82, 0.15);
  color: #ffb4b4;
  border: 1px solid rgba(255, 82, 82, 0.3);
}
.team-form-empty {
  font-size: 12px;
  color: var(--muted);
}
.animation-card[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .team-form-grid {
    grid-template-columns: 1fr;
  }
}

.stake-style-page .waduaAnimationWrapper,
.stake-style-page .waduaAnimation {
  overflow: hidden;
}
.stake-style-page .match-live-grid {
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, .9fr);
  padding: 10px;
  background: #0f212e;
}
.stake-style-page .match-widget-card {
  border-color: rgba(255,255,255,.06);
  border-radius: 6px;
  background: #1a2c38;
}
.stake-style-page .widget-toolbar {
  min-height: 40px;
  border-bottom-color: rgba(255,255,255,.06);
  color: #d5dceb;
}
.stake-style-page .ghost-btn {
  border: 0;
  border-radius: 4px;
  background: #2f4553;
  color: #fff;
}
.stake-style-page .ghost-btn:hover { background: #3b5363; }
.stake-style-page .animation-card .pitch-field.live-court {
  border-color: rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.16) 0 10%, transparent 10.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.24) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(180deg, #8b5130, #58301f);
}
.stake-style-page .animation-meta b,
.stake-style-page .quarter-row,
.stake-style-page .stats-diagnostics div {
  background: #213743;
}
.stake-style-page .stats-card {
  background: linear-gradient(180deg, #1a2c38 0%, #0f212e 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.stake-style-page .mstat-bar-side { background: #2f4553; }
.stake-style-page .modern-stats-head { border-bottom-color: rgba(255, 255, 255, .06); }
.stake-style-page .mstat-quarter {
  background: rgba(0, 0, 0, .22);
  border-color: rgba(255, 255, 255, .06);
}
.stake-style-page .modern-stats-scroll-wrap.is-scrollable::after {
  background: linear-gradient(180deg, transparent, #1a2c38 90%);
}
.stake-style-page .stat-bar-track { background: #2f4553; }
.stake-style-page .stat-bar-track i {
  background: linear-gradient(90deg, #00e701, #d5dceb);
}
.stake-markets-panel {
  border-radius: 6px;
  background: #0f212e;
}
.stake-style-page .market-detail-head {
  min-height: 42px;
  border: 0;
  border-radius: 6px 6px 0 0;
  background: #1a2c38;
  color: #d5dceb;
}
.stake-market-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 10px;
  padding: 10px;
  background: #0f212e;
}
.stake-market-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 85, 255, .45) transparent;
}
.stake-market-tabs::-webkit-scrollbar {
  height: 5px;
}
.stake-market-tabs button,
.stake-market-tabs .stake-market-tab {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #b1bad3;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  scroll-snap-align: start;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.stake-market-tab__label {
  font-size: 12px;
}
.stake-market-tab__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  color: #c9b8ff;
  font-size: 10px;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
}
.stake-market-tabs button.active,
.stake-market-tabs button:hover:not(.is-empty) {
  background: linear-gradient(135deg, rgba(104, 63, 218, .35), rgba(34, 223, 79, .12));
  border-color: rgba(141, 85, 255, .45);
  color: #fff;
}
.stake-market-tabs button.active .stake-market-tab__count {
  background: rgba(34, 223, 79, .22);
  color: #b9ffca;
}
.stake-market-tabs button.is-empty {
  opacity: .45;
  cursor: not-allowed;
}
.stake-market-search {
  min-width: 0;
  height: 38px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 4px;
  background: #213743;
  color: #b1bad3;
  font-size: 12px;
  font-weight: 800;
}
.stake-market-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}
.stake-style-page .match-markets {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
  background: #0f212e;
}
.stake-style-page .stake-market-card {
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #1a2c38;
  overflow: hidden;
}
.stake-market-title {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stake-market-title .market-name {
  margin: 0;
  color: #fff;
  font-size: 13px;
}
.stake-market-title span {
  color: #b1bad3;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.stake-style-page .stake-market-card .odds-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  padding: 8px;
}
.stake-style-page .stake-market-card.market-wide .odds-row {
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
}
.stake-style-page .odd-btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  background: #2f4553;
  color: #fff;
  font-weight: 850;
}
.stake-style-page .odd-btn span {
  color: #b1bad3;
  font-size: 11px;
}
.stake-style-page .odd-btn b { color: #fff; }
.stake-style-page .odd-btn:hover {
  background: #3b5363;
}
.stake-style-page .odd-btn.selected {
  background: #00e701;
  color: #071824;
}
.stake-style-page .odd-btn.selected span,
.stake-style-page .odd-btn.selected b {
  color: #071824;
}
.stake-betslip {
  top: 12px;
  border-radius: 6px;
  background: #1a2c38;
}
.stake-betslip h2 { color: #fff; }
.stake-style-page .slip-item {
  border-bottom-color: rgba(255,255,255,.06);
}
.stake-style-page .stake-row input {
  border: 0;
  border-radius: 4px;
  background: #0f212e;
}
.stake-style-page .place-btn {
  border-radius: 4px;
  background: #00e701;
  color: #071824;
}
.stake-style-page .empty {
  border-radius: 6px;
  background: #1a2c38;
  color: #b1bad3;
}

/* beINNS BET brand palette on the Stake-like layout */
body.stake-style-page {
  --bg: #14103f;
  --panel: rgba(58, 35, 130, .92);
  --line: rgba(152, 104, 255, .32);
  --text: #ffffff;
  --muted: #c9bdf1;
  --accent: #8d55ff;
  --green: #22df4f;
  background:
    radial-gradient(circle at 18% 0%, rgba(141, 85, 255, .25), transparent 30%),
    linear-gradient(150deg, #12103a 0%, #24146f 46%, #171145 100%);
}
.stake-style-page a { color: #e9ddff; }
.stake-topbar,
.stake-style-page .panel,
.stake-event-card,
.stake-betslip,
.stake-style-page .stake-market-card,
.stake-style-page .empty {
  background: rgba(39, 24, 92, .94);
}
.stake-topbar {
  box-shadow: 0 14px 36px rgba(18, 10, 58, .24);
}
.stake-style-page .status-bar,
.stake-style-page .match-live-grid,
.stake-markets-panel,
.stake-style-page .match-markets,
.stake-market-tools {
  background: rgba(18, 16, 58, .78);
}
.stake-style-page .market-detail-head,
.stake-breadcrumb,
.stake-style-page .match-hero,
.stake-market-search,
.stake-market-tabs button,
.stake-style-page .ghost-btn,
.stake-style-page .animation-meta b,
.stake-style-page .animation-stat-chip,
.stake-style-page .animation-narration,
.stake-style-page .quarter-row,
.stake-style-page .stats-diagnostics div,
.stake-style-page .stat-bar-track,
.stake-style-page .stake-row input {
  background: rgba(58, 35, 130, .78);
}
.stake-style-page .live-court .animation-narration {
  background:
    linear-gradient(135deg, rgba(9, 14, 28, .92), rgba(58, 35, 130, .76)),
    rgba(0,0,0,.34);
}
.stake-style-page .match-hero {
  background:
    linear-gradient(90deg, rgba(34,223,79,.09), transparent 24%, transparent 76%, rgba(141,85,255,.22)),
    rgba(58, 35, 130, .72);
}
.stake-breadcrumb,
.stake-style-page .match-team span,
.stake-style-page .period-label,
.stake-market-search,
.stake-market-tabs button,
.stake-market-title span,
.stake-style-page .odd-btn span {
  color: #c9bdf1;
}
.stake-style-page .status-bar.ok,
.stake-style-page .wallet,
.stake-style-page .match-center.is-live .live-pill {
  color: #22df4f;
}
.stake-style-page .match-center.is-live {
  box-shadow: 0 0 0 1px rgba(34, 223, 79, .24), 0 18px 48px rgba(141, 85, 255, .14);
}
.stake-style-page .match-center.is-live .live-pill {
  background: rgba(34, 223, 79, .16);
}
.stake-market-tabs button.active,
.stake-market-tabs button:hover,
.stake-style-page .ghost-btn:hover,
.stake-style-page .odd-btn:hover {
  background: rgba(141, 85, 255, .38);
  color: #fff;
}
.stake-style-page .odd-btn {
  background: rgba(27, 20, 74, .92);
  box-shadow: inset 0 0 0 1px rgba(152, 104, 255, .18);
}
.stake-style-page .odd-btn.selected {
  background: linear-gradient(135deg, #8d55ff, #7143d6);
  color: #fff;
}
.stake-style-page .odd-btn.selected span,
.stake-style-page .odd-btn.selected b {
  color: #fff;
}
.stake-style-page .place-btn,
.stake-style-page .stat-bar-track i {
  background: linear-gradient(135deg, #22df4f, #17b83f);
}
.stake-style-page .place-btn {
  color: #0a2b12;
}

/* Sport-aware live animation surfaces */
.animation-card .pitch-field.live-court {
  transition: background .25s ease, border-color .25s ease;
}
.live-court .ball-anim {
  transition: left .62s linear, top .62s linear, background .2s ease, box-shadow .2s ease;
}
.animation-card .pitch-field.live-court.football-court,
.stake-style-page .animation-card .pitch-field.live-court.football-court {
  border-color: rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 13%, rgba(255,255,255,.24) 13.5% 14.5%, transparent 15%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.26) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(90deg, rgba(255,255,255,.22) 0 1.5%, transparent 1.5% 98.5%, rgba(255,255,255,.22) 98.5%),
    repeating-linear-gradient(90deg, rgba(25,122,57,.9) 0 10%, rgba(20,104,49,.9) 10% 20%),
    linear-gradient(180deg, #1c7a39, #125829);
}
.football-court .court-hoop {
  top: 50%;
  width: 18px;
  height: 78px;
  border-color: rgba(255,255,255,.45);
}
.football-court .court-hoop.home {
  left: 6px;
  border-left: 0;
}
.football-court .court-hoop.away {
  right: 6px;
  border-right: 0;
}
.football-court .court-center {
  border-color: rgba(255,255,255,.24);
}
.football-court .ball-anim {
  background:
    radial-gradient(circle at 35% 30%, #fff 0 25%, #d9d9d9 26% 42%, #111 43% 52%, #fff 53%);
  box-shadow: 0 0 16px rgba(255,255,255,.7);
}
.animation-card .pitch-field.live-court.basketball-court,
.stake-style-page .animation-card .pitch-field.live-court.basketball-court {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.18) 0 10%, transparent 10.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.28) 49.5% 50.5%, transparent 50.5%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 10px, transparent 10px 22px),
    linear-gradient(180deg, #b76835, #7a3b22);
}
.basketball-court .court-hoop {
  display: block;
}
.basketball-court .ball-anim {
  background:
    radial-gradient(circle at 35% 30%, #fff2d0, #f28c28 45%, #9a3e12 100%);
  box-shadow: 0 0 18px rgba(255, 174, 74, .8);
}
.animation-card .pitch-field.live-court.tennis-court,
.stake-style-page .animation-card .pitch-field.live-court.tennis-court {
  background:
    linear-gradient(90deg, transparent 49.4%, rgba(255,255,255,.45) 49.4% 50.6%, transparent 50.6%),
    linear-gradient(0deg, transparent 25%, rgba(255,255,255,.35) 25% 26%, transparent 26% 74%, rgba(255,255,255,.35) 74% 75%, transparent 75%),
    linear-gradient(90deg, transparent 18%, rgba(255,255,255,.35) 18% 19%, transparent 19% 81%, rgba(255,255,255,.35) 81% 82%, transparent 82%),
    linear-gradient(180deg, #2a8f7a, #186d5d);
}
.tennis-court .court-hoop,
.ice-court .court-hoop,
.generic-court .court-hoop {
  display: none;
}
.tennis-court::before,
.tennis-court::after,
.ice-court::before,
.ice-court::after,
.generic-court::before,
.generic-court::after {
  display: none;
}
.tennis-court .court-center {
  display: none;
}
.tennis-court .ball-anim {
  background: radial-gradient(circle at 35% 30%, #f6ff6b, #c8da22 70%, #809000);
  box-shadow: 0 0 16px rgba(226,255,79,.85);
}
.animation-card .pitch-field.live-court.ice-court,
.stake-style-page .animation-card .pitch-field.live-court.ice-court {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 13%, rgba(27,83,145,.3) 13.5% 14.5%, transparent 15%),
    linear-gradient(90deg, transparent 49.5%, rgba(27,83,145,.38) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 24%, rgba(206,44,62,.35) 24% 25%, transparent 25% 75%, rgba(206,44,62,.35) 75% 76%, transparent 76%),
    linear-gradient(180deg, #dceefa, #a7cbe4);
}
.ice-court .court-center {
  border-color: rgba(27,83,145,.36);
}
.ice-court .ball-anim {
  width: 14px;
  height: 14px;
  background: #101820;
  box-shadow: 0 0 14px rgba(255,255,255,.6);
}
.animation-card .pitch-field.live-court.generic-court,
.stake-style-page .animation-card .pitch-field.live-court.generic-court {
  background:
    radial-gradient(circle at var(--flow-x, 50%) 50%, rgba(141,85,255,.22), transparent 28%),
    linear-gradient(180deg, rgba(58,35,130,.9), rgba(27,20,74,.96));
}

/* Gizli UI öğeleri */
.is-hidden-ui,
#swarmStatus.is-hidden-ui,
#matchStatus.is-hidden-ui {
  display: none !important;
}

/* Mersibet tarzı kupon paneli */
.layout-betslip-holder-bc.betslip-bc {
  position: sticky;
  top: 12px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 24px);
  background: #1a2c38;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.betslip-bc-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.main-tabs-bc.bs-tabs-bc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #0f212e;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.main-tabs-bc .tab-bc {
  padding: 12px 8px;
  border: 0;
  background: transparent;
  color: #b1bad3;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}
.main-tabs-bc .tab-bc.active {
  color: #fff;
}
.main-tabs-bc .tab-bc.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: #00e701;
  border-radius: 2px 2px 0 0;
}
.betslip-panel {
  display: none;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.betslip-panel.active {
  display: flex;
}
.bs-f-header-bc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.betslip-remove-all-bc {
  border: 0;
  background: transparent;
  color: #b1bad3;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.betslip-remove-all-bc:hover { color: #fff; }
.betslip-count-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: rgba(0, 231, 1, .15);
  color: #00e701;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.betslip-full-content-bc {
  flex: 1;
  min-height: 120px;
  max-height: min(42vh, 360px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 231, 1, .4) rgba(255, 255, 255, .06);
}
.betslip-full-content-bc::-webkit-scrollbar { width: 5px; }
.betslip-full-content-bc::-webkit-scrollbar-thumb {
  background: rgba(0, 231, 1, .45);
  border-radius: 99px;
}
.bs-bet-item-bc {
  margin-bottom: 6px;
  background: rgba(255, 255, 255, .06);
  border-radius: 4px;
  overflow: hidden;
}
.bs-bet-item-bc.blocked { opacity: .65; }
.bs-bet-i-body-bc {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px;
}
.bs-bet-i-h-cell-bc.title { flex: 1; min-width: 0; }
.bs-bet-i-h-title-bc-text {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}
.betslip-live-text {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 59, 59, .2);
  color: #ff6b6b;
  font-size: 9px;
  font-weight: 900;
}
.bs-item-date-v-bc {
  margin-top: 4px;
  font-size: 10px;
  color: #b1bad3;
}
.bs-bet-i-b-coefficient-bc {
  font-size: 14px;
  font-weight: 950;
  color: #00e701;
}
.betslip-remove-icon-bc {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  color: #ff8a9a;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.betslip-footer-bc {
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #0f212e;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bs-total-row-bc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #b1bad3;
}
.bs-total-row-bc strong {
  color: #fff;
  font-size: 14px;
}
.bs-total-row-bc.possible strong { color: #00e701; }
.combo-odds-row .combo-odds-dual {
  display: grid;
  gap: 2px;
  text-align: right;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}
.combo-odds-row .combo-odds-dual strong { color: #fff; font-size: 12px; }
.combo-event-odds.is-active { color: #b794ff !important; }
.combo-event-badge {
  margin: 4px 0 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(139, 82, 255, 0.12);
  border: 1px solid rgba(139, 82, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
  color: #d4b8ff;
}
.bet-history-combo-note,
.coupon-combo-tag {
  display: block;
  font-size: 11px;
  color: #b794ff;
  margin-top: 2px;
}
.bet-history-stake-odds .combo-event-odds {
  display: block;
  font-size: 11px;
  color: #b794ff;
}
.bs-numbers-bc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.bs-number-button-bc {
  padding: 8px 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.bs-number-button-bc:hover {
  background: rgba(0, 231, 1, .12);
  border-color: rgba(0, 231, 1, .35);
}
.bs-stake-label-bc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #b1bad3;
}
.bs-stake-label-bc input {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: #1a2c38;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.bs-place-bet-bc,
.betslip-bc .place-btn {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  background: #00e701;
  color: #071824;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.bs-place-bet-bc:disabled,
.betslip-bc .place-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.betslip-panel .slip-warning {
  margin: 0;
  padding: 8px 10px;
  border-radius: 4px;
  background: rgba(255, 193, 7, .12);
  color: #ffe9a8;
  font-size: 11px;
}
.bet-history-item-bc {
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
}
.bet-history-item-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
}
.bet-history-day { color: #b1bad3; }
.bet-history-status {
  font-weight: 800;
  color: #00e701;
}
.bet-history-item-bc.status-lost .bet-history-status { color: #ff6b6b; }
.bet-history-item-bc.status-won .bet-history-status { color: #00e701; }
.bet-history-stake-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.bet-history-stake-odds .bet-history-title {
  display: block;
  font-size: 10px;
  color: #b1bad3;
  margin-bottom: 2px;
}
.bet-history-stake-money,
.bet-history-possible-win {
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}
.bet-history-possible-win { color: #00e701; }
.bet-history-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #b1bad3;
  margin-bottom: 8px;
}
.bet-history-toggle {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.bet-history-toggle:hover {
  background: rgba(141, 85, 255, .2);
  border-color: rgba(141, 85, 255, .35);
}
.bet-history-chevron {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform .15s ease;
}
.bet-history-item-bc.is-open .bet-history-chevron {
  transform: rotate(180deg);
}
.bet-history-item-bc.is-open {
  border-color: rgba(141, 85, 255, .35);
  background: rgba(255, 255, 255, .07);
}
.bet-history-details {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.bet-history-detail-summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 10px;
  color: #b1bad3;
}
.bet-history-detail-summary b {
  color: #fff;
}
.bet-history-cashout-hint {
  margin: 0 0 8px;
  font-size: 11px;
  color: #ffe9a8;
}
.bet-history-cashout-hint strong {
  color: #00e701;
}
.bet-history-detail-table-wrap {
  max-height: 220px;
  overflow: auto;
}
.bet-history-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}
.bet-history-detail-table th,
.bet-history-detail-table td {
  padding: 6px 4px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  vertical-align: top;
}
.bet-history-detail-table th {
  color: #b1bad3;
  font-weight: 800;
  position: sticky;
  top: 0;
  background: rgba(22, 18, 48, .95);
}
.bet-history-item-bc.status-cashed_out .bet-history-status {
  color: #ffe9a8;
}
.betslip-loading {
  padding: 16px;
  text-align: center;
  color: #b1bad3;
  font-size: 12px;
}

body:not(.stake-style-page) .layout-betslip-holder-bc.betslip-bc {
  background: var(--panel, #1a2c38);
}
body.stake-style-page .layout-betslip-holder-bc.betslip-bc,
.stake-betslip.layout-betslip-holder-bc {
  background: rgba(39, 24, 92, .94);
  border-color: rgba(152, 104, 255, .25);
}
body.stake-style-page .main-tabs-bc { background: rgba(18, 16, 58, .9); }
body.stake-style-page .bs-place-bet-bc {
  background: linear-gradient(135deg, #8d55ff, #22df4f);
  color: #fff;
}

@media (max-width: 1100px) {
  .sportsbook-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sportsbook-grid > .layout-betslip-holder-bc.betslip-bc {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 1100px) {
  .stake-event-layout { grid-template-columns: minmax(0, 1fr); }
  .match-live-grid { grid-template-columns: 1fr; }
  .stake-style-page .match-live-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sports-toolbar { grid-template-columns: 1fr; }
  .market-board-head { display: none; }
  .match-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .match-row .match-tools {
    grid-column: 1;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0 4px 6px;
  }
  .match-row .match-stat-btn,
  .match-row .match-tools a.markets-badge {
    width: 42px;
    flex: 0 0 42px;
  }
  .match-stats-modal {
    padding: 0;
    align-items: flex-end;
  }
  .match-stats-modal__panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 14px 14px 0 0;
  }
  .match-stats-modal__iframe {
    min-height: calc(60vh + var(--stats-iframe-crop, 56px));
    height: calc(72vh + var(--stats-iframe-crop, 56px));
  }
  .match-main { grid-template-columns: 18px 52px minmax(0, 1fr); gap: 4px; }
  .match-meta { max-width: 52px; }
  .preview-odds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bulletin-odds.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bulletin-market-tabs-track { mask-image: none; }
  .stats-diagnostics { grid-template-columns: 1fr; }
  .match-hero--compact .match-hero-body {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    text-align: initial;
    gap: 8px;
  }
  .match-team--home .match-team-brand,
  .match-team--away .match-team-brand {
    flex-direction: row;
    text-align: left;
  }
  .match-team--away .match-team-brand {
    flex-direction: row-reverse;
    text-align: right;
  }
  .stats-diagnostics.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stake-market-tools { grid-template-columns: 1fr; }
  .stake-style-page .score-display { font-size: 30px; }
  .stake-style-page .stake-market-card .odds-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .animation-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competition-chip {
    width: min(200px, 85vw);
  }
  .competition-hub__head {
    flex-direction: column;
    align-items: stretch;
  }
  .competition-hub__clear {
    width: 100%;
  }
}
/* Mobile overflow fixes */
@media (max-width: 899px) {
  html {
    overflow-x: hidden;
    max-width: 100%;
  }

  .shell,
  .sportsbook-shell,
  .stake-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .sportsbook-main,
  .market-board,
  .panel,
  .sport-filters-strip,
  .competition-hub {
    max-width: 100%;
    min-width: 0;
  }

  .sports-toolbar {
    grid-template-columns: 1fr;
  }

  .search-box {
    width: 100%;
  }

  .market-board-head {
    display: none;
  }

  .match-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .match-row .match-tools {
    grid-column: 1;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0 4px 6px;
  }

  .match-row .match-stat-btn,
  .match-row .match-tools a.markets-badge {
    width: 42px;
    flex: 0 0 42px;
  }

  .match-main {
    grid-template-columns: 18px 52px minmax(0, 1fr);
    gap: 4px;
  }

  .match-meta {
    max-width: 52px;
  }

  .stake-market-tools {
    grid-template-columns: 1fr;
  }

  .stake-style-page .stake-market-card .odds-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .competition-chip {
    width: min(200px, 85vw);
  }

  .competition-hub__head {
    flex-direction: column;
    align-items: stretch;
  }

  .competition-hub__clear {
    width: 100%;
  }
}

.sportsbook-grid {
  min-width: 0;
  max-width: 100%;
}

.layout-betslip-holder-bc.betslip-bc {
  box-sizing: border-box;
}

.betslip-bc-inner,
.betslip-panel,
.betslip-footer-bc {
  min-width: 0;
  max-width: 100%;
}

.main-tabs-bc .tab-bc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-numbers-bc {
  min-width: 0;
}

.bs-number-button-bc {
  min-width: 0;
  padding: 8px 2px;
  font-size: clamp(10px, 2.5vw, 12px);
}

.bs-stake-label-bc input {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.bs-bet-i-h-title-bc-text,
.bs-bet-i-body-bc {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 899px) {
  .sportsbook-grid > .layout-betslip-holder-bc.betslip-bc {
    display: none !important;
  }

  .layout-betslip-holder-bc.betslip-bc.mobile-betslip-modal {
    display: flex !important;
  }

}

@media (min-width: 900px) and (max-width: 1100px) {
  .sportsbook-grid > .layout-betslip-holder-bc.betslip-bc {
    max-width: 100%;
    position: relative;
    top: auto;
    max-height: none;
  }

  .betslip-full-content-bc {
    max-height: min(36vh, 280px);
  }
}

/* Bülten — taşma önleme, sütun boşluğu yok */
.market-board,
.matches-list-wrap,
.match-row .bulletin-betting {
  min-width: 0;
  max-width: 100%;
}

.match-row .bulletin-betting {
  overflow: hidden;
}

@media (min-width: 1101px) {
  .sportsbook-grid {
    grid-template-columns: minmax(0, 1fr) var(--betslip-col);
  }

  .layout-betslip-holder-bc.betslip-bc {
    position: sticky;
    top: 12px;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  :root {
    --bulletin-odds-max: 260px;
    --bulletin-odds-min: 168px;
  }
}

@media (min-width: 900px) {
  body.has-side-nav .shell.sportsbook-shell,
  body.has-header-nav .shell.sportsbook-shell {
    max-width: var(--site-content-wide-max, min(1680px, calc(100vw - 40px)));
    box-sizing: border-box;
  }
}

/* Final override: match detail compact hero must stay horizontal on every viewport. */
.match-center .match-hero.match-hero--compact,
.stake-style-page .match-hero.match-hero--compact {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 50% -20%, rgba(141, 85, 255, .28), transparent 38%),
    linear-gradient(90deg, rgba(34, 223, 79, .08), rgba(141, 85, 255, .12)),
    rgba(22, 14, 62, .88);
}

.match-hero--compact .match-hero-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  text-align: initial !important;
}

.match-hero--compact .match-team,
.match-hero--compact .match-team-brand {
  min-width: 0;
}

.match-hero--compact .match-team-brand {
  min-height: 48px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
}

.match-hero--compact .match-team--home .match-team-brand {
  justify-content: flex-start;
  flex-direction: row !important;
  text-align: left;
}

.match-hero--compact .match-team--away .match-team-brand {
  justify-content: flex-start;
  flex-direction: row-reverse !important;
  text-align: right;
}

.match-hero--compact .match-team-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  box-shadow: none;
}

.match-hero--compact .match-team strong {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: 13px;
  line-height: 1.15;
}

.match-hero--compact .match-score-core {
  min-width: 96px;
  padding: 6px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    rgba(0, 0, 0, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.match-hero--compact .score-display {
  font-size: 24px;
  letter-spacing: 0;
}

.match-hero--compact .live-pill {
  min-width: 0;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
}

.match-hero--compact .period-label {
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}

@media (max-width: 760px) {
  .match-center .match-hero.match-hero--compact,
  .stake-style-page .match-hero.match-hero--compact {
    padding: 8px;
  }

  .match-hero--compact .match-hero-body {
    grid-template-columns: minmax(0, 1fr) minmax(78px, auto) minmax(0, 1fr) !important;
    gap: 6px;
  }

  .match-hero--compact .match-team-brand {
    min-height: 42px;
    gap: 6px;
    padding: 5px 6px;
    border-radius: 10px;
  }

  .match-hero--compact .match-team-logo {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 8px;
  }

  .match-hero--compact .match-team strong {
    font-size: 11px;
  }

  .match-hero--compact .match-score-core {
    min-width: 78px;
    padding: 5px 6px;
    border-radius: 12px;
  }

  .match-hero--compact .score-display,
  .stake-style-page .match-hero--compact .score-display {
    font-size: 18px;
  }

  .match-hero--compact .live-pill {
    min-height: 18px;
    padding: 2px 6px;
    font-size: 9px;
  }

  .match-hero--compact .period-label {
    max-width: 76px;
    font-size: 9px;
  }
}

/* Final override: remove extra mobile whitespace around the live animation surface. */
@media (max-width: 760px) {
  .match-live-grid,
  .stake-style-page .match-live-grid {
    gap: 8px;
    padding: 8px 0 0;
  }

  .match-widget-card.animation-card {
    border-radius: 8px;
  }

  .animation-card .inline-toolbar {
    min-height: 34px;
    padding: 8px 10px;
  }

  .animation-card .compact-notice {
    margin: 0 8px 8px;
    padding: 8px 10px;
  }

  .waduaAnimationWrapper,
  .stake-style-page .waduaAnimationWrapper {
    padding: 0;
    margin: 0;
  }

  .waduaAnimation,
  .waduaAnimation.hasHeader,
  .stake-style-page .waduaAnimation,
  .stake-style-page .waduaAnimation.hasHeader {
    width: 100%;
    height: clamp(176px, 48vw, 190px);
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0 0 8px 8px;
  }

  .waduaAnimationIframe,
  .stake-style-page .waduaAnimationIframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .wadua-loading {
    font-size: 12px;
  }
}

/* Final override: desktop animation should hug the 16:9 visual surface too. */
@media (min-width: 761px) {
  .match-live-grid,
  .stake-style-page .match-live-grid {
    align-items: start !important;
  }

  .stats-card {
    align-self: start !important;
    height: fit-content !important;
    min-height: 0 !important;
  }

  .stats-card .inline-summary {
    min-height: 0;
  }

  .stats-card:has(#statsSummary:empty) {
    display: none !important;
  }

  .stats-card:has(#statsSummary:empty) #statsSummary {
    display: none !important;
  }

  .match-live-grid:has(.stats-card #statsSummary:empty),
  .stake-style-page .match-live-grid:has(.stats-card #statsSummary:empty) {
    grid-template-columns: minmax(360px, 470px) !important;
    justify-content: start;
  }

  .match-live-grid:has(.stats-card #statsSummary:empty) .animation-card,
  .stake-style-page .match-live-grid:has(.stats-card #statsSummary:empty) .animation-card {
    width: min(470px, 100%);
    max-width: 470px;
  }

  .stats-card:has(.modern-stats),
  .stats-card:has(.compact-empty) {
    display: block !important;
    height: auto !important;
    max-height: none !important;
  }

  .stats-card .compact-empty {
    margin: 0;
    padding: 18px 12px;
  }

  .stats-card .modern-stats {
    padding: 10px 12px 12px;
    gap: 10px;
  }

  .animation-card .inline-toolbar {
    min-height: 36px;
    padding: 8px 10px;
  }

  .waduaAnimationWrapper,
  .stake-style-page .waduaAnimationWrapper {
    padding: 0;
    margin: 0;
  }

  .waduaAnimation,
  .waduaAnimation.hasHeader,
  .stake-style-page .waduaAnimation,
  .stake-style-page .waduaAnimation.hasHeader {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    border-radius: 0 0 8px 8px;
  }

  .waduaAnimationIframe,
  .stake-style-page .waduaAnimationIframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
  }
}
