/* Maç Gecesi: başlık çubuğunda özel sekme (Manifest'in yanında). Bölümde dört sekme: maçlar (gün / lig süzgeci, maç
   kartları, Nesine oranları, kuponun; golde konfeti), tahminlerim (geçmiş, istatistik), sıralama (herkes) ve tüm maçlar
   (Maçlar bölümü, scores.css). Wrapped düğmesi de aynı kalıpta. */

/* ---------- Başlık çubuğu: çim yeşili parlayan hap (Wrapped: vurgu renginde) ---------- */

.nt-tab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ok) 45%, var(--line));
  background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--fg); font-size: 12px; font-weight: 600;
  box-shadow: 0 0 14px -5px color-mix(in srgb, var(--ok) 60%, transparent);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.nt-tab:hover { border-color: var(--ok); box-shadow: 0 0 18px -3px color-mix(in srgb, var(--ok) 70%, transparent); }
.nt-tab.on { border-color: var(--accent); background: var(--raise); }
.wr-tab { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: 0 0 14px -5px color-mix(in srgb, var(--accent) 60%, transparent); }
.wr-tab:hover { border-color: var(--accent); box-shadow: 0 0 18px -3px color-mix(in srgb, var(--accent) 70%, transparent); }
/* Ana ekran: sade (parıltı yok), açıkken vurgu çerçevesi */
.home-tab { border-color: var(--line); background: transparent; box-shadow: none; color: var(--muted); }
.home-tab:hover { border-color: var(--faint); box-shadow: none; color: var(--fg); }
.home-tab.on { border-color: var(--accent); background: var(--raise); color: var(--fg); }
.home-tab svg.i { width: 14px; height: 14px; }
/* Oyunlar: mor parıltı, oyun kolu */
.gm-tab { border-color: color-mix(in srgb, var(--n3) 45%, var(--line)); background: color-mix(in srgb, var(--n3) 10%, transparent); box-shadow: 0 0 14px -5px color-mix(in srgb, var(--n3) 60%, transparent); }
.gm-tab:hover { border-color: var(--n3); box-shadow: 0 0 18px -3px color-mix(in srgb, var(--n3) 70%, transparent); }
.gm-tab .nt-icon { width: 16px; height: 16px; }
/* İskele: deniz mavisi, yanında küçük olta simgesi */
.pier-tab { border-color: color-mix(in srgb, #7cc8ff 45%, var(--line)); background: color-mix(in srgb, #7cc8ff 10%, transparent); box-shadow: 0 0 14px -5px color-mix(in srgb, #7cc8ff 55%, transparent); }
.pier-tab:hover { border-color: #7cc8ff; box-shadow: 0 0 18px -3px color-mix(in srgb, #7cc8ff 70%, transparent); }
.pier-tab .nt-icon { width: 16px; height: 16px; }
/* Birlikte izleme çağrısı var ya da bir maç canlı (kırmızı); takip edilen maçta gol (vurgu rengi) */
.nt-tab.live::after,
.nt-tab.news::after {
  content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--err); border: 2px solid var(--panel); animation: nt-pulse 1.4s ease-in-out infinite;
}
.nt-tab.news:not(.live)::after { background: var(--accent); animation: none; }
@keyframes nt-pulse { 50% { transform: scale(1.25); } }
/* Başlık sığmazsa (web/js/tabs.js ölçer, pencere ve seçilen sekmelere göre): compact = sekme adları gider (sadece
   simge, adı üstüne gelince); tight = ana ekran ve çıkış da simge, aralıklar sıkışır */
.titlebar.compact .nt-tab:not(.home-tab) .nt-tab-label { display: none; }
.titlebar.compact .nt-tab:not(.home-tab) { padding: 0 9px; }
.titlebar.tight .home-tab .nt-tab-label { display: none; }
.titlebar.tight #logoutBtn { font-size: 0; gap: 0; }
@media (min-width: 761px) {
  .titlebar.tight { gap: 8px; } /* telefonda (cancord.css) 6px */
}
/* Kullanıcının gizlediği sekmeler */
.titlebar .tb-off { display: none !important; }
/* Kalem: sekmelerin sonunda, sessiz; üstüne gelince belirgin. Telefonda yok (Ayarlar → Görünüm) */
.tb-edit {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border-radius: 7px;
  color: var(--faint); opacity: 0.55; transition: opacity 0.12s, background 0.12s, color 0.12s;
}
.tb-edit:hover, .tb-edit:focus-visible { opacity: 1; color: var(--fg); background: var(--raise); }
.tb-edit svg.i { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .tb-edit { display: none; }
}
/* Menü (kalem / sekmeye sağ tık) ve Ayarlar → Görünüm'deki liste: simge, ad, ne olduğu, aç / kapa */
.tb-menu {
  position: fixed; z-index: 60; width: 320px; max-height: calc(100vh - 80px); overflow: auto; padding: 12px 14px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 44px -14px rgb(0 0 0 / 0.6);
  animation: sp-in 0.14s ease-out;
}
.tb-menu[hidden] { display: none; }
.tb-menu-head { display: grid; gap: 2px; padding-bottom: 6px; }
.tb-menu-head b { color: var(--fg); font-size: 13px; }
.tb-menu-head small, .tb-menu-foot small { color: var(--muted); font-size: 11px; }
.tb-row { gap: 12px; padding: 9px 0; }
.tb-menu .tb-row small { font-size: 11px; }
.tb-row-icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; font-size: 15px; font-style: normal; }
.tb-row-icon img, .tb-row-icon svg.i { width: 18px; height: 18px; }
.tb-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.tb-menu-reset, .st-link { color: var(--accent); font-size: 12px; font-weight: 600; }
.tb-menu-reset:hover, .st-link:hover { text-decoration: underline; }
.st-tabs + .st-link { margin-top: 10px; }

/* ---------- Bölüm ---------- */

.night {
  flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 4px 16px 20px;
  container: night / inline-size;
}
/* Geniş ekranda tek ortalı sütun; çocuklar yatay margin vermesin (hizası kayar) */
.night > * { width: 100%; max-width: 1240px; margin-inline: auto; }
.nt-head { flex: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 4px 2px 12px; border-bottom: 1px solid var(--line); }
.nt-head h2 { font-size: 17px; font-weight: 800; }
.nt-head p { margin-top: 2px; color: var(--muted); font-size: 12px; }

/* Sekmeler: maçlar | tahminlerim | sıralama | tüm maçlar (ve sekme içi seçimler: gün, dönem, süzgeç) */
.nt-seg,
.nt-days { display: flex; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); overflow-x: auto; scrollbar-width: none; }
.nt-seg button,
.nt-days button { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.nt-days button { height: 28px; padding: 0 11px; }
.nt-seg button:hover,
.nt-days button:hover { color: var(--fg); }
.nt-seg button.on,
.nt-days button.on { background: var(--raise); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.nt-days small { color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.nt-seg button.news::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nt-pane { display: flex; flex-direction: column; gap: 14px; }
/* Maçlar bu bölümün içinde: kendi kaydırması ve başlığı yok (gün, süzgeç, bildirim kalır) */
.night > .scores { flex: none; min-height: auto; overflow: visible; padding: 0; }
.night .sc-hero-icon,
.night .sc-hero-text h2 { display: none; }

/* "X maç gecesi başlattı · ... · oda 1 [katıl]" */
.nt-calls { flex: none; display: grid; gap: 8px; }
.nt-call-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 12px;
  border: 1px solid color-mix(in srgb, var(--ok) 50%, var(--line)); background: color-mix(in srgb, var(--ok) 12%, transparent);
}
.nt-call-ball { display: inline-block; animation: nt-roll 2.4s linear infinite; }
@keyframes nt-roll { to { transform: rotate(360deg); } }
.nt-call-text { flex: 1; min-width: 0; }
.nt-join { flex: none; height: 28px; padding: 0 14px; border-radius: 8px; background: var(--ok); color: #06140c; font-weight: 700; }
.nt-here { flex: none; color: var(--ok); }

/* Gün ve lig süzgeci */
.nt-toolbar { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nt-leagues {
  flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.nt-lg {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.nt-lg small { color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.nt-lg:hover { color: var(--fg); border-color: var(--faint); }
.nt-lg.on { color: var(--fg); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }

.nt-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.nt-matches { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nt-group { display: flex; flex-direction: column; gap: 10px; }
.nt-group-head { display: flex; align-items: baseline; gap: 8px; padding: 0 2px 6px; border-bottom: 1px solid var(--line); }
.nt-group-head b { font-size: 13px; }
.nt-group-head small { color: var(--faint); font-size: 11px; }
.nt-note { color: var(--faint); font-size: 12px; line-height: 1.5; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; }

/* Maç (5.66): liste satırı. Saat (canlıda kırmızı dakika), iki takım alt alta (başladıysa golleri), Maç Sonucu 1 X 2
   oranları (başladıysa kendi tahminlerin), "+9" ayrıntı. Altında kısa bilgi; açılınca sekmeli ayrıntı. */
.nt-list { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); overflow: hidden; }
.nt-match { position: relative; overflow: hidden; display: flex; flex-direction: column; border-top: 1px solid var(--line); container: ntcard / inline-size; }
.nt-match:first-child { border-top: 0; }
.nt-match.featured::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: color-mix(in srgb, var(--accent) 75%, transparent); }
.nt-match.in::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--err); }
.nt-match.expanded { background: color-mix(in srgb, var(--accent) 4%, var(--raise)); }
.nt-row {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) auto auto; grid-template-areas: "when teams quick more";
  align-items: center; gap: 12px; padding: 10px 12px 10px 14px;
}
.nt-row.tap { cursor: pointer; }
.nt-row.tap:hover { background: color-mix(in srgb, var(--panel) 45%, transparent); }
.nt-when { grid-area: when; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nt-when.live { color: var(--err); }
.nt-when.live::before { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto 4px; border-radius: 50%; background: var(--err); animation: nt-pulse 1.4s ease-in-out infinite; }
.nt-teams { grid-area: teams; display: grid; gap: 6px; min-width: 0; }
.nt-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nt-team .sc-logo { flex: none; width: 20px; height: 20px; }
.nt-team .sc-crest { flex: none; width: 20px; height: 20px; font-size: 9px; }
.nt-team-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-goal { flex: none; min-width: 16px; font-size: 14px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.nt-match.in .nt-goal { color: var(--accent); }
.nt-quick { grid-area: quick; display: grid; grid-template-columns: repeat(3, 62px); gap: 6px; }
.nt-quick .nt-opt { flex-direction: column; justify-content: center; gap: 0; height: 44px; padding: 0 4px; }
.nt-quick .nt-opt span { color: var(--faint); font-size: 10px; font-weight: 700; }
.nt-quick .nt-opt b { font-size: 13px; }
.nt-quick .nt-opt.on span { color: var(--fg); }
.nt-more-btn {
  grid-area: more; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 44px; min-width: 52px;
  padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font-size: 12px; font-weight: 700; white-space: nowrap; transition: border-color 0.15s, color 0.15s;
}
.nt-more-btn:hover { color: var(--fg); border-color: var(--faint); }
.nt-more-btn[aria-expanded="true"] { color: var(--fg); border-color: var(--accent); }
.nt-more-btn::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate 0.15s; }
.nt-more-btn[aria-expanded="true"]::after { rotate: -135deg; translate: 0 2px; }
.nt-more-btn i { min-width: 16px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-size: 10px; font-style: normal; line-height: 16px; text-align: center; }
/* satırın altı: kimler tahmin etti, senin tahminlerin, oran kaynağı (takımların hizasında) */
.nt-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 0 12px 10px 76px; color: var(--faint); font-size: 11px; }
.nt-sub .nt-picks { padding: 0; border: 0; gap: 4px; }
.nt-sub .nt-tags { gap: 4px; }
.nt-sub .nt-picks small { flex-basis: auto; }
.nt-sub .nt-chip { padding: 0 7px; font-size: 11px; line-height: 18px; }
.nt-chip.more { color: var(--faint); }
.nt-mine { min-width: 0; color: var(--accent); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* ayrıntı: sekmeler (popüler / goller / skor), birlikte izle; pazarlar ızgarada */
.nt-detail { display: grid; gap: 12px; padding: 12px 14px 14px 76px; border-top: 1px dashed var(--line); animation: nt-open 0.16s ease-out; }
@keyframes nt-open { from { opacity: 0; transform: translateY(-4px); } }
.nt-detail-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.nt-dtabs { overflow: visible; }
.nt-dtabs small { padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 700; }
.nt-start { height: 28px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 600; }
.nt-start:hover { color: var(--fg); border-color: var(--ok); }
.nt-markets { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 16px; }
.nt-markets .nt-score-row { grid-column: 1 / -1; max-width: 520px; }
.nt-market { display: grid; gap: 5px; min-width: 0; }
.nt-mlabel { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-opts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.nt-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; height: 34px; padding: 0 10px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 600;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.nt-opt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-opt b { color: var(--accent); font-variant-numeric: tabular-nums; }
.nt-opt:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); color: var(--fg); }
.nt-opt:active { transform: scale(0.97); }
.nt-opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--panel)); color: var(--fg); }
/* Skor: iki sayaç, yanında kaydet (puanıyla) */
.nt-score-row .nt-opts { display: flex; align-items: center; gap: 6px; }
.nt-score-row .nt-opt { flex: 1; }
.nt-step { display: inline-flex; flex: none; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.nt-step b { min-width: 22px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.nt-step-btn { width: 28px; height: 32px; color: var(--muted); font-size: 16px; }
.nt-step-btn:hover:not(:disabled) { color: var(--fg); }
.nt-step-btn:disabled { opacity: 0.35; cursor: default; }
.nt-dash { color: var(--faint); font-weight: 700; }
.nt-hint { color: var(--faint); font-size: 11px; }
.nt-hint.err { color: var(--err); }
.nt-detail .nt-picks { padding-top: 0; border-top: 0; }
/* dar satır (telefon): 1 X 2 ikinci satırda, tam genişlik */
@container ntcard (max-width: 520px) {
  .nt-row { grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: "when teams more" "quick quick quick"; gap: 8px 10px; padding: 10px 10px 10px 12px; }
  .nt-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nt-quick .nt-opt { flex-direction: row; justify-content: space-between; height: 36px; padding: 0 10px; }
  .nt-more-btn { height: 34px; min-width: 44px; padding: 0 8px; }
  .nt-sub { padding-left: 12px; }
  .nt-detail { padding-left: 12px; padding-right: 12px; }
  .nt-markets { grid-template-columns: minmax(0, 1fr); }
}

.nt-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--faint); font-size: 11px; }
.nt-picks small { flex-basis: 100%; }
.nt-chip { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font-weight: 600; }
/* Maç başlayınca: kişi, tahminleri (tutan yeşil, tutmayan soluk), toplam puanı */
.nt-user { flex-basis: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 8px; padding: 4px 6px; border-radius: 8px; }
.nt-user.me { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.nt-user > b { color: var(--fg); font-weight: 600; line-height: 20px; }
.nt-user strong { color: var(--ok); font-size: 13px; line-height: 20px; }
.nt-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nt-tag { padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 11px; line-height: 16px; white-space: nowrap; }
.nt-tag i { font-style: normal; color: var(--accent); }
.nt-tag.hit { border-color: var(--ok); color: var(--fg); }
.nt-tag.hit i { color: var(--ok); }
.nt-tag.miss { opacity: 0.55; text-decoration: line-through; }
.nt-tag.up { border-color: color-mix(in srgb, var(--ok) 70%, var(--line)); }
.nt-tag.down { border-color: color-mix(in srgb, var(--err) 55%, var(--line)); }
.nt-tagbox { display: inline-flex; align-items: center; gap: 4px; }
.nt-was { color: var(--muted); font-size: 11px; white-space: nowrap; }

/* Yan sütun: kuponun, bu haftanın ilk beşi, kurallar */
.nt-side { position: sticky; top: 0; display: flex; flex-direction: column; gap: 12px; }
.nt-card-side { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); }
.nt-side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.nt-side-head b { font-size: 13px; }
.nt-side-head small { color: var(--faint); font-size: 11px; }
.nt-link { color: var(--muted); font-size: 11px; font-weight: 600; }
.nt-link:hover { color: var(--accent); }
.nt-top { list-style: none; display: grid; gap: 2px; }
/* Kuponum: özet (hepsi tutarsa, bugün kazandığın), açık / canlı / bugün bitti; maç maç tahminler */
#ntSlip { padding: 0; overflow: hidden; }
#ntSlip > .nt-side-head { margin: 0; padding: 12px 14px 10px; }
.nt-slip-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 12px 14px; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
.nt-slip-sum div { display: grid; gap: 1px; }
.nt-slip-sum small { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nt-slip-sum b { font-size: 15px; font-variant-numeric: tabular-nums; }
.nt-slip-sum .big b { color: var(--accent); font-size: 26px; font-weight: 800; line-height: 1.1; }
.nt-slip-sum .won { text-align: right; }
.nt-slip-sum .won b { color: var(--ok); }
.nt-slip-sec { display: grid; gap: 8px; padding: 12px 14px; }
.nt-slip-sec + .nt-slip-sec { border-top: 1px solid var(--line); }
.nt-slip-sec h5 { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nt-slip-match { border-radius: 10px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.nt-slip-match.live { border-color: color-mix(in srgb, var(--err) 45%, var(--line)); }
.nt-slip-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.nt-slip-head:hover { background: var(--raise); }
.nt-slip-teams { min-width: 0; display: flex; align-items: center; gap: 5px; font-size: 12px; }
.nt-slip-teams .sc-logo { flex: none; width: 18px; height: 18px; }
.nt-slip-teams .sc-crest { font-size: 9px; }
.nt-slip-teams b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-slip-teams i { color: var(--faint); font-style: normal; }
.nt-slip-meta { flex: none; color: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nt-slip-meta b { color: var(--fg); }
.nt-slip-match.live .nt-slip-meta { color: var(--err); }
.nt-slip-picks { list-style: none; display: grid; }
.nt-slip-picks li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 8px; min-height: 30px; padding: 0 6px 0 10px; font-size: 12px; }
.nt-slip-picks li + li { border-top: 1px dashed color-mix(in srgb, var(--line) 70%, transparent); }
.nt-slip-market { min-width: 0; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-slip-choice { color: var(--fg); white-space: nowrap; }
.nt-slip-picks strong { min-width: 40px; color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; }
.nt-slip-picks em { font-size: 10px; font-style: normal; font-weight: 700; padding: 1px 6px; border-radius: 999px; }
.nt-slip-picks li.up em { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.nt-slip-picks li.down em { background: color-mix(in srgb, var(--err) 14%, transparent); color: var(--err); }
.nt-slip-picks li.hit strong { color: var(--ok); }
.nt-slip-picks li.miss .nt-slip-choice { opacity: 0.55; text-decoration: line-through; }
.nt-slip-picks li.miss .nt-was { color: var(--muted); }
.nt-slip-picks li.miss strong { color: var(--faint); }
.nt-slip-picks li:not(:has(.nt-slip-x)) { padding-right: 10px; }
.nt-slip-x { width: 24px; height: 24px; border-radius: 6px; color: var(--faint); font-size: 15px; line-height: 1; }
.nt-slip-x:hover { background: color-mix(in srgb, var(--err) 14%, transparent); color: var(--err); }
.nt-slip-empty { display: grid; gap: 4px; padding: 0 14px 14px; }
.nt-slip-empty b { font-size: 13px; }
.nt-slip-empty p { color: var(--faint); font-size: 12px; line-height: 1.5; }
.nt-top li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 12px; cursor: pointer; }
.nt-top li:hover { background: var(--panel); }
.nt-top li.me { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.nt-top .nt-rank { color: var(--faint); font-weight: 700; text-align: center; }
.nt-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-top strong { color: var(--accent); font-variant-numeric: tabular-nums; }
.nt-top li.nt-empty { display: block; }
.nt-empty { padding: 6px 8px; color: var(--faint); font-size: 12px; line-height: 1.5; cursor: default !important; }
.nt-empty:hover { background: none !important; }
.nt-rules { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--faint); font-size: 11px; line-height: 1.55; }
.nt-rules summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.nt-rules p { margin-top: 8px; }

/* Tahminlerim / sıralama: başlık (ve sağda seçim), istatistik kartları */
.nt-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
.nt-section-head h3 { font-size: 15px; font-weight: 800; }
.nt-section-head p { margin-top: 2px; color: var(--faint); font-size: 12px; }
.nt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.nt-stat { display: grid; gap: 2px; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); }
.nt-stat small { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nt-stat b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nt-stat span { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-stat:first-child b { color: var(--accent); }
.nt-bymarket { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); }
.nt-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.nt-bar-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px 56px; align-items: center; gap: 10px; font-size: 12px; }
.nt-bar-name { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-bar { position: relative; height: 6px; border-radius: 999px; background: var(--panel); overflow: hidden; }
.nt-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--ok); }
.nt-bar-row small { color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.nt-bar-row b { color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; }
.nt-hday { display: flex; flex-direction: column; gap: 6px; }
.nt-hday h4 { color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nt-hlist { list-style: none; display: grid; gap: 6px; }
.nt-hrow {
  display: grid; grid-template-columns: minmax(260px, 1.3fr) minmax(0, 2fr) 64px; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--raise); box-shadow: inset 3px 0 0 var(--line);
}
.nt-hrow.won { box-shadow: inset 3px 0 0 var(--ok); }
.nt-hrow.lost { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--err) 60%, transparent); }
.nt-hrow.pending { box-shadow: inset 3px 0 0 var(--warn); }
.nt-hmatch { display: grid; gap: 2px; min-width: 0; }
.nt-hteams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.nt-hteams span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-hteams .home { text-align: right; }
.nt-hscore { min-width: 58px; padding: 3px 10px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); text-align: center; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nt-hscore.none { color: var(--faint); font-size: 12px; font-weight: 600; }
.nt-hmatch small { color: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.nt-hrow strong { color: var(--ok); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.nt-hrow.lost strong,
.nt-hrow.pending strong { color: var(--faint); }

/* Sıralama: kürsü (ilk üç) ve herkesin olduğu tablo */
.nt-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nt-place {
  display: grid; justify-items: center; gap: 4px; padding: 16px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--raise);
  text-align: center; transition: border-color 0.15s, transform 0.15s;
}
.nt-place:hover { border-color: var(--faint); transform: translateY(-1px); }
.nt-place img { width: 34px; height: 34px; }
.nt-place b { max-width: 100%; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-place strong { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nt-place small { color: var(--faint); font-size: 11px; }
.nt-place.p1 { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--raise)); }
.nt-place.p1 strong { color: var(--accent); }
.nt-place.me b::after { content: " · sen"; color: var(--faint); font-weight: 500; }
.nt-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); }
.nt-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.nt-table th { padding: 10px 12px; color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.nt-table td { padding: 9px 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); white-space: nowrap; }
.nt-table tr:last-child td { border-bottom: 0; }
.nt-table .num { text-align: right; }
.nt-table td.rank { width: 36px; color: var(--faint); font-weight: 700; }
.nt-table td.pts { color: var(--accent); font-size: 14px; font-weight: 800; }
.nt-table tr:not(:first-child) { cursor: pointer; transition: background 0.12s; }
.nt-table tr:not(:first-child):hover,
.nt-table tr:focus-visible { background: var(--panel); outline: none; }
.nt-table tr.me { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.nt-table tr.none td { color: var(--faint); }
.nt-tname { display: flex; align-items: center; gap: 8px; }
.nt-tname b { font-size: 13px; }
.nt-tname small { padding: 1px 6px; border-radius: 999px; background: var(--panel); color: var(--accent); font-size: 10px; }
.nt-avatar { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel); color: var(--muted); font-size: 11px; font-style: normal; font-weight: 700; }
.nt-form { display: flex; align-items: center; gap: 4px; }
.nt-form i { width: 8px; height: 8px; border-radius: 50%; }
.nt-form i.hit { background: var(--ok); }
.nt-form i.miss { background: color-mix(in srgb, var(--err) 70%, transparent); }
.nt-form small { color: var(--faint); }

@container night (max-width: 960px) {
  .nt-body { grid-template-columns: minmax(0, 1fr) 260px; }
  .nt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nt-bars { grid-template-columns: minmax(0, 1fr); }
}
@container night (max-width: 760px) {
  .nt-body { grid-template-columns: minmax(0, 1fr); }
  .nt-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-rules { grid-column: 1 / -1; }
}
@container night (max-width: 620px) {
  .nt-toolbar { flex-direction: column; align-items: stretch; }
  .nt-side { grid-template-columns: minmax(0, 1fr); }
  .nt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-hrow { grid-template-columns: minmax(0, 1fr) auto; }
  .nt-hrow .nt-tags { grid-column: 1 / -1; grid-row: 2; }
  .nt-podium { gap: 6px; }
  .nt-place { padding: 12px 6px; }
  .nt-place strong { font-size: 18px; }
  .nt-table .wide { display: none; }
  .nt-bar-row { grid-template-columns: 96px minmax(0, 1fr) 36px 48px; }
}

/* Gol: kartta konfeti ve kısa bir parlama */
.nt-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.nt-confetti i { position: absolute; top: -12px; left: var(--x); width: 7px; height: 11px; border-radius: 2px; animation: nt-fall var(--d) ease-in forwards; }
@keyframes nt-fall { to { transform: translate(var(--dx), 360px) rotate(var(--r)); opacity: 0; } }
.nt-match:has(.nt-confetti) { animation: nt-goal 0.9s ease-out; }
@keyframes nt-goal { 30% { box-shadow: 0 0 0 3px var(--accent), 0 0 30px color-mix(in srgb, var(--accent) 50%, transparent); } }

@media (max-width: 760px) {
  .nt-tab { padding: 0 8px; }
  .nt-tab-label { display: none; } /* telefonda sadece ⚽ / ✦ */
  .gm-tab { display: none; } /* telefonda oyunlar alt sekmede */
  .nt-seg button { padding: 0 10px; }
}

/* ---------- v6, adım 7: Maç Gecesi tek yazı ölçeğinde (modern görünüm) ----------
   Punto 12 / 13 / 14 / 16 / 20 / 24, ağırlık 400 / 500 / 600, köşe 4 / 8 / 999; küçük büyük harf etiketler normal yazım.
   Üst şerit sekmeleri (.nt-tab) ve konfeti / gol animasyonu olduğu gibi. */
[data-look="modern"] .nt-head h2, [data-look="modern"] .nt-section-head h3 { font-size: 16px; font-weight: 600; }
[data-look="modern"] :is(.nt-slip-sum small, .nt-mlabel, .nt-stat small, .nt-slip-sec h5, .nt-hday h4, .nt-table th) { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
[data-look="modern"] :is(.nt-days small, .nt-lg small, .nt-group-head small, .nt-quick .nt-opt span, .nt-sub, .nt-sub .nt-chip, .nt-hint, .nt-picks, .nt-was, .nt-side-head small, .nt-slip-meta, .nt-rules, .nt-stat span, .nt-hmatch small, .nt-place small, .nt-slip-picks em, .nt-dtabs small) { font-size: 12px; }
[data-look="modern"] :is(.nt-when, .nt-goal, .nt-dash, .nt-top .nt-rank, .nt-table td.rank, .nt-table td.pts, .nt-slip-picks em, .nt-quick .nt-opt span) { font-weight: 600; }
[data-look="modern"] :is(.nt-step b, .nt-slip-sum b) { font-size: 14px; font-weight: 600; }
[data-look="modern"] .nt-slip-sum .big b { font-size: 20px; font-weight: 600; }
[data-look="modern"] :is(.nt-stat b, .nt-place strong) { font-size: 20px; font-weight: 600; }
[data-look="modern"] .nt-table td.pts { font-size: 14px; }
[data-look="modern"] .nt-slip-x { font-size: 16px; border-radius: 4px; }
[data-look="modern"] :is(.nt-days, .nt-days button, .nt-more-btn, .nt-slip-match, .nt-hrow, .nt-join, .nt-hscore) { border-radius: 8px; }
[data-look="modern"] :is(.nt-list, .nt-card-side, .nt-rules, .nt-stat, .nt-bymarket, .nt-place, .nt-table-wrap, .nt-sub-card) { border-radius: 8px; }
[data-look="modern"] :is(.nt-team, .nt-slip-teams) .sc-crest { font-size: 12px; font-weight: 600; }
[data-look="modern"] :is(.nt-seg button, .nt-call-row, .nt-note, #ntSlip, #ntTop, .nt-card-side, details.nt-rules) { border-radius: 8px; }
[data-look="modern"] .nt-seg button { border-radius: 4px; }
[data-look="modern"] .nt-days button { border-radius: 4px; }
[data-look="modern"] :is(.nt-slip-empty b, .nt-slide-head b, .nt-slip-head b) { font-size: 14px; font-weight: 600; }
[data-look="modern"] :is(.nt-seg, .nt-days) button:not(#_) { border-radius: 4px; }
