/* Sanal Lig — yayın stüdyosu ile stadyum akşamı arasında dengeli tema */
:root {
  --sl-ink: #10283b;
  --sl-muted: #5c7180;
  --sl-paper: #e9eeeb;
  --sl-paper-2: #d8e1df;
  --sl-line: #b8c8c9;
  --sl-navy: #173247;
  --sl-navy-2: #21475b;
  --sl-cyan: #39bdd0;
  --sl-gold: #e7b64c;
  --sl-green: #2e9d72;
  --sl-red: #c95c61;
}

html,
body {
  background:
    radial-gradient(circle at 12% 5%, rgba(57, 189, 208, .22), transparent 24rem),
    radial-gradient(circle at 92% 22%, rgba(231, 182, 76, .13), transparent 27rem),
    linear-gradient(145deg, #142b3d 0%, #1b394b 44%, #274957 100%) !important;
  color: var(--sl-ink) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

header {
  background: rgba(19, 44, 61, .94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 0 18px 46px rgba(5, 19, 29, .28) !important;
  backdrop-filter: blur(16px) !important;
}

header .head {
  max-width: 1560px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

header h1,
header .title h1 {
  color: #f6f4eb !important;
  letter-spacing: -.035em !important;
}

header p,
header .title p,
header .headerLanguagePicker > span {
  color: #b9cbd0 !important;
}

header .pill,
header .languageChoice,
header .howToHeaderBtn {
  background: rgba(224, 234, 232, .10) !important;
  color: #f3f5f0 !important;
  border: 1px solid rgba(224, 234, 232, .20) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.layout {
  max-width: 1560px !important;
  gap: 16px !important;
  padding-top: 18px !important;
  padding-bottom: 30px !important;
}

.card,
.realMatchesPage .card {
  background: linear-gradient(145deg, rgba(238, 242, 238, .98), rgba(213, 223, 221, .98)) !important;
  color: var(--sl-ink) !important;
  border: 1px solid rgba(211, 225, 224, .78) !important;
  border-radius: 22px !important;
  box-shadow: var(--v59-shadow-soft) !important;
}

.cardTitle {
  min-height: 54px !important;
  padding: 13px 16px !important;
  background: linear-gradient(100deg, rgba(24, 57, 75, .96), rgba(38, 81, 93, .91)) !important;
  color: #f7f5ec !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

.cardTitle h2 { color: #f7f5ec !important; letter-spacing: -.02em !important; }
.cardTitle .tag { background: rgba(255,255,255,.12) !important; color: #f6f4eb !important; border-color: rgba(255,255,255,.16) !important; }
.body { color: var(--sl-ink) !important; }
.small, .meta, .footer-note { color: var(--sl-muted) !important; }

.v59-sanal-showcase {
  position: relative;
  isolation: isolate;
  min-height: 156px;
  margin: 2px 0 4px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(122, 184, 195, .46);
  border-radius: 20px;
  background:
    radial-gradient(circle at 75% 28%, rgba(231, 182, 76, .28), transparent 28%),
    linear-gradient(135deg, #173247 0%, #245467 58%, #2a6870 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 32px rgba(18,48,64,.18);
}

.v59-sanal-showcase::before,
.v59-sanal-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.v59-sanal-showcase::before {
  inset: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
}

.v59-sanal-showcase::after {
  width: 68%;
  height: 34px;
  bottom: -18px;
  border-radius: 50%;
  background: rgba(4, 23, 34, .48);
  filter: blur(12px);
}

.v59-sanal-showcase img {
  position: relative;
  z-index: 2;
  width: min(96%, 520px);
  height: 148px;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(3,17,26,.42));
}

.tabs,
.setupGrid,
.kpis,
.liveHeader,
.slipSummary,
.onlineRoomPanel,
.globalLeaderboard,
.notice,
.eventFeed,
.leaderBox,
.realUserBar,
.realWalletBox {
  border-color: var(--sl-line) !important;
}

.onlineRoomPanel,
.notice,
.slipSummary,
.globalLeaderboard,
.liveHeader,
.eventFeed,
.player,
.fixture,
.scoreRow,
.kpis > div,
.realWalletBox {
  background: rgba(247, 248, 243, .62) !important;
  color: var(--sl-ink) !important;
  border: 1px solid var(--sl-line) !important;
  box-shadow: 0 7px 18px rgba(22, 48, 62, .06) !important;
}

.player.active,
.fixture:has(.odd.selected),
.scoreRow.bet {
  border-color: rgba(46, 157, 114, .72) !important;
  background: linear-gradient(135deg, rgba(219, 240, 228, .96), rgba(230, 240, 236, .92)) !important;
}

input,
select,
textarea,
.field input,
.field select,
.stakeField input {
  background: rgba(248, 249, 244, .94) !important;
  color: var(--sl-ink) !important;
  border: 1px solid #aebfc2 !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 2px rgba(16,40,58,.06) !important;
}

input::placeholder,
textarea::placeholder { color: #788c96 !important; }

button,
.odd,
.arrow {
  border-radius: 12px !important;
}

button:not(.languageChoice):not(.arrow),
.activeTab {
  background: linear-gradient(135deg, #21677a, #2794a1) !important;
  color: #fff !important;
  border: 1px solid rgba(13, 85, 101, .30) !important;
  box-shadow: 0 8px 18px rgba(28, 105, 120, .18) !important;
}

button.secondary,
.secondary,
button#clearSlip,
button#newSeasonBtn {
  background: #d8e1df !important;
  color: #173247 !important;
  border: 1px solid #aebfc2 !important;
  box-shadow: none !important;
}

button.good,
.good { background: linear-gradient(135deg, #267f5d, #35a47a) !important; color: #fff !important; }
button.warn,
.warn { background: linear-gradient(135deg, #d39d33, #e0b755) !important; color: #24343a !important; }
button.bad,
.bad { background: linear-gradient(135deg, #ad4d55, #ca6870) !important; color: #fff !important; }

.odd {
  background: rgba(236, 241, 238, .98) !important;
  color: #173247 !important;
  border: 1px solid #b8c8c9 !important;
  box-shadow: none !important;
}

.odd:hover { border-color: #4aaebc !important; background: #e2edef !important; }
.odd.selected { background: linear-gradient(135deg, #247b68, #32a683) !important; color: #fff !important; border-color: #267f6b !important; }

.clock {
  color: #f6f4eb !important;
  background: linear-gradient(145deg, #173247, #286478) !important;
  border-color: rgba(255,255,255,.13) !important;
  box-shadow: 0 12px 24px rgba(20,54,72,.24) !important;
}

.progress { background: #bac8c9 !important; }
.progress i { background: linear-gradient(90deg, var(--sl-cyan), var(--sl-gold)) !important; }
.money, .comboTotal, .score { color: #176e65 !important; }
.table th { color: #425e6b !important; background: rgba(196, 210, 209, .48) !important; }
.table td { border-color: rgba(161, 181, 182, .55) !important; }

.howToOverlay,
.modal {
  background-color: rgba(10, 27, 39, .72) !important;
  backdrop-filter: blur(10px) !important;
}

.howToCard,
.modal > .card,
.oddsDetailDialog,
.normalSlipDialog {
  background: linear-gradient(145deg, #edf1ed, #d5dfdc) !important;
  color: var(--sl-ink) !important;
  border: 1px solid rgba(231, 240, 236, .72) !important;
  box-shadow: var(--v59-shadow) !important;
}

@media (max-width: 980px) {
  .layout { padding-left: 10px !important; padding-right: 10px !important; }
  .v59-sanal-showcase { min-height: 132px; }
  .v59-sanal-showcase img { height: 124px; }
}

@media (max-width: 620px) {
  header .head { padding: 10px !important; }
  .card { border-radius: 17px !important; }
  .cardTitle { min-height: 48px !important; padding: 10px 12px !important; }
  .v59-sanal-showcase { min-height: 112px; border-radius: 16px; }
  .v59-sanal-showcase img { width: 100%; height: 108px; }
}
