/* Skorlar, mac sayfasi, puan durumu */
.nb-days { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.nb-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.nb-game { display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.nb-game:hover { transform: translateY(-2px); border-color: var(--accent); }
.nb-st { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 6px; }
.nb-game.is-live .nb-st { color: var(--bad); }
.nb-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: nb-blink 1.4s infinite; }
@keyframes nb-blink { 50% { opacity: .2; } }
.nb-row { display: flex; align-items: center; gap: 8px; }
.nb-row img { width: 26px; height: 26px; }
.nb-row b { flex: 1; font-weight: 700; }
.nb-row span { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.05rem; color: var(--muted); }
.nb-row.won b, .nb-row.won span { color: var(--text); font-weight: 900; }
.nb-cta { font-size: .75rem; color: var(--accent); font-weight: 700; margin-top: 2px; }

.nb-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.nb-team { display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: .8; }
.nb-team.won { opacity: 1; }
.nb-team img { width: 64px; height: 64px; }
.nb-team b { font-size: .95rem; }
.nb-team small { color: var(--muted); font-size: .75rem; }
.nb-big { font-size: 2.5rem; font-weight: 900; font-variant-numeric: tabular-nums; display: flex; gap: 10px; justify-content: center; }
.nb-big i { font-style: normal; color: var(--muted); }
.nb-detail { font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.nb-detail.live { color: var(--bad); }
.nb-h1 { font-size: 1.15rem; margin: 16px 0 6px; }
.nb-recap { color: var(--muted); line-height: 1.6; margin: 0 0 12px; max-width: 820px; }
.nb-lines { max-width: 520px; }

.nb-leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 14px; }
.nb-leader { display: flex; align-items: center; gap: 8px; padding: 6px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.nb-leader:hover { background: var(--surface-2); }
.nb-leader img { width: 42px; height: 31px; object-fit: cover; border-radius: 6px; }
.nb-leader span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nb-leader small { font-size: .72rem; color: var(--muted); }
.nb-leader em { font-style: normal; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }

.nb-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nb-charts h3 { font-size: .95rem; margin: 0 0 6px; }
.nb-zones { display: flex; gap: 6px; margin-top: 6px; }
.nb-zones span { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 5px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.nb-zones small { font-size: .6rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.nb-zones b { font-variant-numeric: tabular-nums; }
.nb-zones em { font-style: normal; font-size: .7rem; color: var(--muted); }
.nb-plink { color: var(--muted); text-decoration: none; font-weight: 900; padding: 0 4px; }
.nb-plink:hover { color: var(--accent); }

.nb-confs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nb-tm { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nb-tm img { width: 22px; height: 22px; }
.nb-stand tr.cut-po td { border-bottom: 2px solid color-mix(in srgb, var(--good) 60%, transparent); }
.nb-stand tr.cut-pi td { border-bottom: 2px dashed color-mix(in srgb, var(--muted) 60%, transparent); }

@media (max-width: 900px) { .nb-confs { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .nb-charts { grid-template-columns: 1fr; }
  .nb-team img { width: 46px; height: 46px; }
  .nb-team b { font-size: .8rem; }
  .nb-big { font-size: 1.9rem; }
}

/* Mac simulasyonu */
.sim { margin-top: 12px; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.sim h2 { margin: 2px 0 4px; font-size: 1.2rem; }
.sim-result { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); margin: 10px 0; font-size: .92rem; border: 1px solid var(--line); }
.sim-result.good { border-color: color-mix(in srgb, var(--good) 50%, transparent); }
.sim-result.bad { border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.sim-win { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 14px 0; }
.sim-team { display: flex; align-items: center; gap: 8px; }
.sim-team img { width: 34px; height: 34px; }
.sim-team span { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.sim-bar { height: 14px; border-radius: 999px; background: var(--accent); overflow: hidden; }
.sim-bar i { display: block; height: 100%; background: #9AA6BD; }
.sim-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sim-kpis div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; min-width: 0; }
.sim-kpis span { font-size: .66rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sim-kpis b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.sim-kpis small { font-size: .72rem; color: var(--dim); }
.sim-ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1rem !important; }
.sim-h3 { font-size: .95rem; margin: 18px 0 8px; }
.sim-hist { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 150px; }
.sim-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.sim-col i { width: 100%; border-radius: 6px 6px 0 0; background: #9AA6BD; min-height: 2px; }
.sim-col.home i { background: var(--accent); }
.sim-col span { font-size: .58rem; color: var(--muted); white-space: nowrap; transform: rotate(-35deg); transform-origin: top center; height: 22px; }
.sim-typ { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nb-game .sim-chip, .sim-chip { display: inline-block; align-self: flex-start; font-size: .66rem; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .sim-typ { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .sim-kpis { grid-template-columns: 1fr 1fr; }
  .sim-team span { font-size: 1.2rem; }
  .sim-hist { height: 120px; gap: 2px; }
}

/* Simulasyon animasyonu */
.sim-anim { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: var(--surface-2); }
.sa-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 8px; }
.sa-t { display: flex; align-items: center; gap: 8px; }
.sa-t.r { justify-content: flex-end; }
.sa-t img { width: 30px; height: 30px; }
.sa-t span { font-size: 1.7rem; font-weight: 900; font-variant-numeric: tabular-nums; min-width: 2.2em; text-align: center; }
.sa-clock { font-weight: 800; font-size: .85rem; color: var(--bad); font-variant-numeric: tabular-nums; padding: 4px 10px; border-radius: 8px; background: var(--surface); }
.sa-court { display: block; width: 100%; height: auto; border-radius: 10px; background: #2A2119; }
.sa-lines * { stroke: rgba(232,236,244,.35); stroke-width: .2; }
.sa-ball { fill: #F28C28; stroke: #000; stroke-width: .15; }
.sa-mark.made circle { fill: #9AA6BD; stroke: rgba(0,0,0,.4); stroke-width: .1; }
.sa-mark.made.home circle { fill: var(--accent); }
.sa-mark.miss path { stroke: var(--bad); stroke-width: .3; stroke-linecap: round; opacity: .8; }
.sa-flow { display: block; width: 100%; height: 70px; margin-top: 8px; }
.sa-zero { stroke: rgba(232,236,244,.35); stroke-width: 1; }
.sa-q { stroke: rgba(232,236,244,.12); stroke-width: 1; }
.sa-line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.sa-ctrl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.sa-legend { margin-left: auto; }
.sa-feed { max-height: 190px; overflow-y: auto; display: flex; flex-direction: column; }
.sa-ev { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px; padding: 4px 2px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.sa-ev.made { color: var(--text); }
.sa-ev.big span { font-weight: 800; }
.sa-ev.home time { color: var(--accent); }
.sa-ev time { font-variant-numeric: tabular-nums; font-size: .72rem; }
.sa-ev b { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .sa-legend { margin-left: 0; width: 100%; } .sa-t span { font-size: 1.35rem; } }

@media (max-width: 640px) {
  .sa-board { gap: 6px; }
  .sa-t { gap: 5px; }
  .sa-t img { width: 24px; height: 24px; }
  .sa-t b { font-size: .8rem; }
  .sa-t span { font-size: 1.2rem; min-width: 1.8em; }
  .sa-clock { font-size: .72rem; padding: 3px 6px; }
}

/* 2D oyun gorunumu */
.sa-court { overflow: visible; }
.sa-p circle { filter: drop-shadow(0 .25px .5px rgba(0,0,0,.6)); }
.sa-num { font: 900 1.25px Inter, sans-serif; text-anchor: middle; }
.sa-name { font: 800 1.25px Inter, sans-serif; text-anchor: middle; fill: #E8ECF4; paint-order: stroke; stroke: rgba(0,0,0,.75); stroke-width: .35px; }
.sa-ball { fill: #F28C28; stroke: #3a1d05; stroke-width: .15; }
.sa-ball-shadow { fill: rgba(0,0,0,.45); }
.sa-rim { fill: none; stroke: #F28C28; stroke-width: .25; transition: stroke-width .15s; }
.sa-rim.flash { stroke: #FFD24C; stroke-width: .7; }
.sa-pop { font: 900 2.2px Inter, sans-serif; text-anchor: middle; fill: #fff; paint-order: stroke; stroke: rgba(0,0,0,.8); stroke-width: .4px; animation: sa-pop 1.2s ease-out forwards; }
.sa-pop.hot { fill: #FFD24C; }
.sa-pop.cold { fill: #EF6464; font-size: 1.6px; }
.sa-pop.ast { fill: #9AD8FF; font-size: 1.4px; }
@keyframes sa-pop { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-3px); } }

.sa-p { transition: opacity .35s; }
.sa-p.bench { opacity: 0; }

.sim-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.sim-factors div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8rem; }
.sim-factors span { padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.sim-factors span.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.sim-factors span.warn { color: #F2C94C; }
@media (max-width: 640px) { .sim-factors { grid-template-columns: 1fr; } }

.sim-rec { margin: 4px 0 6px; font-size: .85rem; }
.sim .sim-kpis { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .sim .sim-kpis { grid-template-columns: 1fr 1fr; } .sim .sim-kpis > div:last-child { grid-column: 1 / -1; } }

/* Takim sayfalari */
.tm-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; border-top: 4px solid var(--tm); }
.tm-head h1 { margin: 2px 0 6px; }
.tm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tm-next { display: flex; flex-direction: column; align-items: flex-end; text-align: right; color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.tm-next span { font-size: .66rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.tm-next small { color: var(--muted); }
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.tm-game { display: grid; grid-template-columns: 52px 24px 1fr auto auto; gap: 8px; align-items: center; padding: 7px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .9rem; }
.tm-game:hover { background: var(--surface-2); }
.tm-game img { width: 24px; height: 24px; }
.tm-game small { color: var(--muted); font-size: .75rem; }
.tm-res { font-weight: 900; font-size: .8rem; }
.tm-sc { font-variant-numeric: tabular-nums; font-weight: 700; }
.tm-leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.tm-leader { display: flex; align-items: center; gap: 4px; padding: 8px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.tm-leader span:not(.pface) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tm-leader small { font-size: .66rem; color: var(--muted); font-weight: 800; text-transform: uppercase; }
.tm-leader em { font-style: normal; font-weight: 900; font-size: 1.15rem; color: var(--accent); }
.tm-inj { padding: 8px 0; border-bottom: 1px solid var(--line); }
.tm-inj p { margin: 4px 0 0; }
.tm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.tm-card { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; padding: 10px 12px; }
.tm-card:hover { border-color: var(--accent); }
.tm-card img { width: 36px; height: 36px; }
.tm-card span { display: flex; flex-direction: column; }
.tm-card small { color: var(--muted); }
.nb-team a { color: inherit; }
@media (max-width: 760px) {
  .tm-head { grid-template-columns: auto 1fr; }
  .tm-head img { width: 60px; height: 60px; }
  .tm-next { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  .tm-grid { grid-template-columns: 1fr; }
}
