/* Web sitesi düzeni (27 Kasım 2026). Yalnızca tarayıcıda ve geniş ekranda (html.web, 1100 px ve üstü) geçerlidir; uygulama ve telefondan
   açılan web eski düzende kalır. İçerik (istatistik, analiz, tahmin) aynıdır; değişen yalnızca yerleşim: üst menü, geniş içerik,
   Maçlar'da solda liste + sağda maç ayrıntısı, yan yana öneri listeleri, ortada açılan pencereler. */
.wtop { display: none; }
@media (min-width: 1100px) {
  /* Sağ üst köşe: saat, tarih ve hesap (eski sitedeki gibi) */
  html.web .wtop { display: flex; align-items: center; gap: 14px; margin-left: 18px; }
  html.web .wclock { display: grid; justify-items: end; line-height: 1.1; color: var(--on-navy); }
  html.web .wclock b { font: 700 1.05rem var(--fc); font-variant-numeric: tabular-nums; letter-spacing: .04em; } html.web .wclock small { font-size: .72rem; opacity: .7; }
  html.web .wbtn { min-height: 36px; padding: 6px 14px; font-size: .88rem; }
  html.web .wme { display: flex; align-items: center; gap: 8px; color: var(--on-navy); font-weight: 600; padding: 4px 10px 4px 4px; border-radius: 999px; }
  html.web .wme:hover { background: rgb(255 255 255 / .08); } html.web .wme .avatar { width: 32px; height: 32px; font-size: .75rem; }
  html.web body { padding-left: 0; padding-bottom: 0; }

  /* Üst çubuk: marka, yatay menü, spor seçimi */
  html.web .top { padding-left: 28px; padding-right: 28px; gap: 24px; min-height: 60px; }
  html.web .brand { flex: none; }
  html.web .top .nav { position: static; display: flex; gap: 2px; align-items: center; width: auto; height: auto; padding: 0; margin: 0 auto 0 12px;
    background: transparent; border: 0; grid-template-columns: none; grid-auto-rows: auto; }
  html.web .top .nav button { min-height: 0; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 10px;
    font-size: .95rem; font-weight: 600; color: var(--on-navy); opacity: .72; }
  html.web .top .nav svg { width: 18px; height: 18px; }
  html.web .top .nav button:hover { opacity: 1; background: rgb(255 255 255 / .08); }
  html.web .top .nav button[aria-current="page"] { opacity: 1; background: rgb(255 255 255 / .12); }
  html.web .top .nav button[aria-current="page"]::before { top: auto; bottom: -10px; left: 14px; right: 14px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }

  /* İçerik genişliği */
  html.web main { max-width: 1200px; padding: 22px 28px 48px; gap: 16px; }
  html.web main:has(.wsplit) { max-width: 1480px; }

  /* Maçlar: maç seçilmemişse liste ortada tek sütun; seçilince liste ve maç ayrıntısı tek bir yüzeyde yan yana (ayrı kutu değil) */
  html.web main:not(:has(.wsplit)):has(.days) { max-width: 1040px; }
  .wsplit { display: grid; grid-template-columns: minmax(460px, .92fr) minmax(560px, 1.08fr); align-items: start; background: var(--surface);
    border: 1px solid var(--line); border-radius: 18px; overflow: clip; }
  /* Liste sütunu taşmaz: tek sütun en çok kendi genişliği kadar; tarih şeridi kendi içinde kayar (eskiden içerik sağdaki maç alanına taşıyordu) */
  .wlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; padding: 16px 18px 24px; border-right: 1px solid var(--line); overflow-x: clip; }
  .wlist > * { min-width: 0; max-width: 100%; }
  .wlist .dates { min-width: 0; } .wlist .days { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; } .wlist .dates .cal { flex: none; }
  .wdet { background: var(--surface); position: relative; z-index: 1; }
  .wdet { position: sticky; top: 60px; max-height: calc(100vh - 60px); overflow: auto; overscroll-behavior: contain; display: grid; gap: 14px; align-content: start;
    min-width: 0; padding: 0 0 28px; scrollbar-width: thin; }
  .wdet > * { margin-left: 22px; margin-right: 22px; }
  .wdet > .hero:first-child { margin: 0; border-radius: 0; padding: 26px 28px 22px; }
  .wlist .card, .wdet .card { box-shadow: none; }
  .wlist .mrow { min-height: 42px; padding: 5px 10px; }
  .wlist .mrow.sel { background: var(--sunk); box-shadow: inset 3px 0 0 var(--acc); }

  /* Satırlar ve tablolar geniş ekranda daha sıkı */
  html.web .mrow { min-height: 44px; }
  html.web table.st td, html.web table.st th { padding-top: 7px; padding-bottom: 7px; }

  /* Günün öneri listeleri yan yana (kaydırma yok) */
  html.web .kswipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; overflow: visible; margin: 0; padding: 0; }
  html.web .kswipe .slide { flex: none; }
  html.web .kwrap .dots { display: none; }

  /* Alt pencereler ekranın ortasında */
  html.web .sheet { align-items: center; }
  html.web .sheet .in { border-radius: 18px; max-width: 760px; max-height: 86vh; }
  html.web .sheet .in.tall { height: 86vh; }
}
