/* ==========================================================================
   Sportsbook — Zlot/GR8 düzeni: sol menü | orta içerik | sağ kupon
   ========================================================================== */

.sb { display: grid; grid-template-columns: 240px minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.sb__left, .sb__right { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); }
.sb__left { display: grid; gap: 12px; overflow-y: auto; }

.sb-box { border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.sb-box__head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 14px; font-family: var(--font-display); font-weight: 700; }
.sb-box__head .ico { width: 16px; height: 16px; color: var(--text-mute); transition: transform .25s var(--ease); }
.sb-box.is-collapsed .sb-box__head .ico { transform: rotate(-90deg); }
.sb-box.is-collapsed > ul { display: none; }
.sb-menu, .sb-leagues { padding: 0 6px 8px; }
.sb-menu__item { display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--text-dim); text-align: left; transition: background-color .2s, color .2s; }
.sb-menu__item .ico { width: 18px; height: 18px; color: var(--ic); }
.sb-menu__item:hover { background: var(--bg-3); color: var(--text); }
.sb-menu__item.is-active { background: linear-gradient(90deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .03)); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.sb-league { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; text-align: left; font-size: 13px; font-weight: 700; transition: background-color .2s; }
.sb-league:hover { background: var(--bg-3); }
.sb-league.is-active { background: var(--accent-soft); }
.sb-league > span:not(.sb-league__ico) { flex: 1; min-width: 0; line-height: 1.3; }
.sb-league small { display: block; font-size: 11px; font-weight: 600; color: var(--text-mute); }
.sb-league em { font-style: normal; font-size: 12px; color: var(--text-mute); }
.sb-league .flag { width: 18px; height: 13px; }
.sb-league__ico .ico { width: 17px; height: 17px; color: var(--accent-hi); }

.sb__center { min-width: 0; }
.sb-top { margin-bottom: 14px; }
.sb-crumbs { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.sb-crumbs button { display: flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 8px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-mute); transition: color .2s; }
.sb-crumbs button.is-active, .sb-crumbs button:hover { color: var(--text); }

.sb-sports { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.sb-sports::-webkit-scrollbar { display: none; }
.sb-sport { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; min-width: 74px; padding: 6px 4px; border-radius: 12px; font-size: 11.5px; font-weight: 700; color: var(--text-dim); transition: color .2s; }
.sb-sport > span { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); transition: background-color .2s, border-color .2s, transform .3s var(--ease-spring); }
.sb-sport > span .ico { width: 21px; height: 21px; }
.sb-sport > span i { position: absolute; top: -6px; right: -8px; min-width: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10px; font-style: normal; font-weight: 800; line-height: 17px; box-shadow: 0 0 10px rgba(255, 77, 109, .6); }
.sb-sport:hover { color: var(--text); }
.sb-sport:hover > span { transform: translateY(-3px); border-color: rgba(var(--accent-hi-rgb), .35); }
.sb-sport.is-active { color: #fff; }
.sb-sport.is-active > span { background: var(--accent-grad); border-color: transparent; box-shadow: 0 8px 20px -8px rgba(var(--accent-rgb), .9); }

.sb-content { min-height: 400px; transition: opacity .2s; }
.sb-content.is-loading { opacity: .45; pointer-events: none; }
.sb-title { display: flex; align-items: center; gap: 8px; margin: 24px 0 12px; font-size: 18px; }
.sb-title:first-child { margin-top: 0; }
.sb-title .ico { width: 18px; height: 18px; color: var(--gold); }
.pill-live { padding: 2px 9px; border-radius: 10px; background: rgba(255, 77, 109, .15); color: #ff8aa0; font-family: var(--font); font-size: 11px; font-weight: 800; }
.sb-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px; font-weight: 700; color: var(--text-dim); }
.sb-back .ico { width: 18px; height: 18px; }

/* öne çıkan maç */
.feature { position: relative; display: grid; gap: 16px; padding: 24px; border-radius: var(--radius-xl); background: radial-gradient(70% 120% at 100% 0%, rgba(var(--cyan-rgb), .25), transparent 60%), linear-gradient(120deg, #0b2a7a, #123a9e 55%, #1d4ed8); overflow: hidden; box-shadow: 0 20px 50px -24px rgba(var(--accent-rgb), .9); }
.feature__bg { position: absolute; right: -30px; top: -34px; display: flex; gap: 10px; opacity: .16; pointer-events: none; }
.feature__bg .tlogo { width: 160px; height: 160px; font-size: 52px; }
.feature__info { position: relative; }
.feature__info small { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }
.feature__info h3 { margin: 4px 0 2px; font-size: 26px; }
.feature__info p { font-size: 13px; color: rgba(255, 255, 255, .72); }
.feature .odds { position: relative; }
.feature .odd { min-height: 52px; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .15); }
.feature .odd span { color: rgba(255, 255, 255, .7); }
.feature .odd:hover { background: rgba(255, 255, 255, .2); }

.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; transition: border-color .2s, transform .2s var(--ease); }
.tchip:hover { border-color: rgba(var(--accent-hi-rgb), .35); transform: translateY(-2px); }
.tchip .flag { width: 18px; height: 13px; }

.ecards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ecards::-webkit-scrollbar { display: none; }
.ecard { display: grid; gap: 8px; padding: 13px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 77, 109, .07), transparent 45%), var(--glass); border: 1px solid var(--line); transition: border-color .25s; }
.ecard:hover { border-color: var(--line-strong); }
.ecard__league { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecard__meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.ecard__meta button { display: flex; align-items: center; gap: 2px; color: var(--text-dim); font-size: 12px; font-weight: 700; }
.ecard__meta .ico { width: 14px; height: 14px; }
.ecard__teams { display: flex; align-items: center; gap: 8px; }
.ecard__teams > button { flex: 1; display: grid; gap: 7px; text-align: left; }

.ev-live { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 77, 109, .14); font-size: 12px; font-weight: 800; color: #ff8aa0; }
.ev-live__ico { width: 10px; height: 10px; fill: currentColor; stroke: none; animation: blink 1.4s infinite; }
.ev-time { font-size: 12px; font-weight: 700; color: var(--text-dim); }

.sb-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 700; }
.sb-team > span:not(.tlogo) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-team__score { min-width: 16px; font-family: var(--font-display); font-weight: 800; color: #ff8aa0; text-align: right; }

.fav { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; color: var(--text-mute); transition: color .2s, transform .3s var(--ease-spring); }
.fav:hover { color: var(--text); transform: scale(1.15); }
.fav .ico { width: 17px; height: 17px; }
.fav.is-fav { color: var(--gold); }
.fav.is-fav .ico { fill: currentColor; }

.boosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.boost { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-lg); background: radial-gradient(80% 120% at 100% 50%, rgba(34, 197, 94, .12), transparent 60%), var(--glass); border: 1px solid var(--line); }
.boost > .flag { width: 26px; height: 19px; }
.boost > div { flex: 1; min-width: 0; display: grid; }
.boost b { font-size: 14px; }
.boost small { font-size: 12px; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boost .odd { min-width: 78px; background: rgba(34, 197, 94, .14); }
.boost .odd.is-selected { background: var(--accent-grad); }

.lg { margin-bottom: 10px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--line); overflow: hidden; animation: fade-up .4s var(--ease) both; }
.lg__head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(120, 150, 220, .05); border-bottom: 1px solid var(--line); font-size: 13px; }
.lg__head b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg__ico .ico { width: 16px; height: 16px; color: var(--accent-hi); }
.lg__head .flag { width: 16px; height: 12px; }
.lg__cols { display: grid; gap: 6px; width: 240px; margin-right: 48px; text-align: center; font-size: 12px; font-weight: 700; color: var(--text-mute); }
.lg__cols i { font-style: normal; }
.lg__cols--3 { grid-template-columns: repeat(3, 1fr); }
.lg__cols--2 { grid-template-columns: repeat(2, 1fr); }
.ev { display: grid; grid-template-columns: 80px minmax(0, 1fr) 28px 240px 40px; align-items: center; gap: 8px; padding: 10px 14px; transition: background-color .2s; }
.ev + .ev { border-top: 1px solid var(--line); }
.ev:hover { background: rgba(120, 150, 220, .035); }
.ev__teams { display: grid; gap: 6px; text-align: left; min-width: 0; }
.ev__more { display: flex; align-items: center; justify-content: flex-end; font-size: 12px; font-weight: 700; color: var(--text-mute); }
.ev__more .ico { width: 14px; height: 14px; }
.ev__more:hover { color: var(--accent-hi); }

.match-head { display: grid; justify-items: center; gap: 12px; margin-bottom: 12px; padding: 24px; border-radius: var(--radius-xl); background: radial-gradient(70% 120% at 50% 0%, rgba(var(--accent-rgb), .25), transparent 60%), var(--glass); border: 1px solid var(--line-strong); text-align: center; }
.match-head > small { display: flex; align-items: center; gap: 6px; color: var(--text-dim); }
.match-head__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; width: 100%; }
.match-head__teams > span { display: grid; justify-items: center; gap: 8px; }
.match-head__teams .tlogo { width: 56px; height: 56px; font-size: 17px; }
.match-head__teams strong { font-family: var(--font-display); font-size: 32px; font-weight: 800; }
.match-head--live strong { color: #ff8aa0; }
.mkt { margin-bottom: 10px; padding: 14px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--line); }
.mkt h4 { margin-bottom: 10px; font-size: 15px; }

.combos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.combo { display: grid; gap: 10px; padding: 14px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--line); }
.combo header { display: flex; justify-content: space-between; font-size: 13px; }
.combo header span { color: var(--text-dim); }
.combo header strong { color: var(--green-hi); font-family: var(--font-display); font-size: 16px; }
.combo ul { display: grid; gap: 8px; }
.combo li { display: flex; align-items: center; gap: 10px; }
.combo li > span { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; }
.combo li small { display: block; font-size: 11px; font-weight: 600; color: var(--text-mute); }
.combo .odd { min-width: 64px; }

/* ---------- kupon ---------- */
.slip { display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 32px); border-radius: var(--radius-lg); background: rgba(8, 13, 26, .96); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.slip__head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 12px; border-bottom: 1px solid var(--line); }
.slip__head h3 { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; }
.slip__clear { font-size: 12px; font-weight: 700; color: var(--text-mute); }
.slip__clear:hover { color: var(--red); }
.slip__close { display: none; }
.slip__empty { display: grid; justify-items: center; gap: 6px; padding: 32px 20px 38px; text-align: center; }
.slip__empty .ico { width: 34px; height: 34px; color: var(--accent-hi); opacity: .6; margin-bottom: 4px; }
.slip__empty small { font-size: 12px; color: var(--text-mute); }
.slip__list { flex: 1; overflow-y: auto; }
.slip-item { position: relative; padding: 12px 40px 12px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--accent); animation: slide-in .35s var(--ease); }
.slip-item small { display: block; font-size: 12px; color: var(--text-mute); }
.slip-item b { display: block; margin-top: 2px; font-size: 13.5px; }
.slip-item__odds { position: absolute; right: 14px; bottom: 12px; font-family: var(--font-display); font-weight: 800; color: var(--accent-hi); }
.slip-item__odds.is-changed { color: var(--gold); }
.slip-item__x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--text-mute); }
.slip-item__x:hover { background: var(--bg-3); color: var(--red); }
.slip-item__x .ico { width: 14px; height: 14px; }
.slip__foot { display: grid; gap: 12px; padding: 14px; border-top: 1px solid var(--line); background: var(--bg-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.slip__row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-dim); }
.slip__row b { font-family: var(--font-display); color: var(--text); }
.slip__row--win b { color: var(--green-hi); font-size: 18px; }
.slip__stake { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 10px; background: var(--bg-0); border: 1px solid var(--line-strong); }
.slip__stake:focus-within { border-color: rgba(var(--accent-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.slip__stake span { font-size: 13px; color: var(--text-mute); }
.slip__stake input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; text-align: right; font-size: 16px; font-weight: 800; -moz-appearance: textfield; }
.slip__stake input::-webkit-inner-spin-button { -webkit-appearance: none; }
.slip__stake em { font-style: normal; font-weight: 800; color: var(--accent-hi); }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } }

@media (max-width: 1400px) {
  .sb { grid-template-columns: 220px minmax(0, 1fr) 290px; }
  .lg__cols { width: 210px; }
  .ev { grid-template-columns: 74px minmax(0, 1fr) 28px 210px 36px; }
}
@media (max-width: 1200px) {
  .sb { grid-template-columns: minmax(0, 1fr) 290px; }
  .sb__left { display: none; }
}
@media (max-width: 900px) {
  .sb { grid-template-columns: minmax(0, 1fr); }
  .sb__right { position: static; max-height: none; }
  .slip { position: fixed; inset: auto 0 0 0; z-index: 95; max-height: 80vh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; transform: translateY(105%); transition: transform .35s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
  .slip-open .slip { transform: none; box-shadow: 0 -20px 60px rgba(0, 0, 0, .7); }
  .slip__close { display: inline-grid; }
}
@media (max-width: 767.98px) {
  .sb-crumbs button { font-size: 17px; }
  .lg__cols { display: none; }
  .ev { grid-template-columns: minmax(0, 1fr) 28px; grid-template-areas: 'state more' 'teams fav' 'odds odds'; row-gap: 8px; }
  .ev__state { grid-area: state; }
  .ev__teams { grid-area: teams; }
  .ev .fav { grid-area: fav; }
  .ev__odds { grid-area: odds; }
  .ev__more { grid-area: more; }
  .feature__info h3 { font-size: 20px; }
  .ecards { grid-auto-columns: 86%; }
}
