/* Futbol sayfaları: /puan-durumu, /fikstur, /mac/{id} (4. aşama, 27.11.2026).
   Ortak parçalar football-card.css'te. Yalnız msb-v2.css değişkenleri → koyu/açık tema kendiliğinden.
   Mobil öncelikli; 320 px'te yatay taşma yok (tablo table-layout:fixed + ad kırpma). */
.fb-page { padding-bottom: 40px; }
.fb-head { padding: 24px 0 14px; }
.fb-crumb { color: var(--v2-muted); margin-bottom: 10px; }
.fb-crumb a:hover { color: var(--v2-text); }
.fb-h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--v2-f-head); font-weight: 700; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.1; color: var(--v2-text); }
.fb-h1::before { content: ""; width: 5px; height: .9em; background: var(--v2-red); transform: skewX(-16deg); flex: none; }
.fb-h1--match { flex-wrap: wrap; font-size: clamp(22px, 3.6vw, 32px); }
.fb-h1--match span { font-weight: 400; color: var(--v2-muted); }
.fb-h1--match::before { align-self: center; }
.fb-sub { margin: 8px 0 0; font-size: 15px; color: var(--v2-muted); }
.fb-sub a, .fb-back a, .fb-empty a { color: var(--v2-red-ink); }
.fb-card { margin: 0 0 20px; padding: 16px 20px; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-surface); box-shadow: var(--v2-shadow); }
.fb-h2 { margin: 0 0 10px; font-family: var(--v2-f-head); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--v2-text); }
.fb-empty { margin: 8px 0; color: var(--v2-muted); font-size: 15px; }
.fb-updated { margin: 6px 0 0; font-size: 12.5px; color: var(--v2-muted); }
.fb-updated.is-stale { color: var(--v2-red-ink); }
.fb-back { margin: 18px 0 0; font-size: 14px; color: var(--v2-muted); }
.fb-page .v2-tabs { margin-bottom: 16px; }
@media (max-width: 767px) { .fb-card { padding: 14px 12px; } }

/* Puan durumu */
.fb-tablewrap { margin: 0 -8px; }
.fb-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.fb-table th, .fb-table td { padding: 9px 4px; text-align: center; border-bottom: 1px solid var(--v2-line); }
.fb-table thead th { font-size: 11.5px; font-weight: 600; letter-spacing: .4px; color: var(--v2-muted); text-transform: uppercase; }
.fb-table abbr { text-decoration: none; cursor: help; }
.fb-table tbody tr:last-child > * { border-bottom: 0; }
.fb-table .c-rank { width: 38px; box-shadow: inset 4px 0 0 var(--fb-zone, transparent); font-weight: 600; color: var(--v2-muted); }
.fb-table .c-team { width: auto; text-align: left; font-weight: 500; }
.fb-table th:not(.c-rank):not(.c-team), .fb-table td { width: 40px; }
.fb-table .c-pts { width: 42px; font-weight: 700; color: var(--v2-text); }
.fb-tteam { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fb-tteam span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-table tr.is-bjk > * { background: rgba(227, 27, 35, .08); font-weight: 700; color: var(--v2-text); }
body.dark-mode .fb-table tr.is-bjk > * { background: rgba(255, 77, 85, .13); }
.fb-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--v2-muted); }
.fb-legend li { display: flex; align-items: center; gap: 7px; }
.fb-legend__sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
@media (max-width: 479px) {
  .fb-table { font-size: 14px; }
  .fb-table .c-opt { display: none; }
  .fb-table th:not(.c-rank):not(.c-team), .fb-table td { width: 34px; }
  .fb-table .c-rank { width: 32px; }
  .fb-table .c-pts { width: 36px; }
  .fb-tteam { gap: 6px; }
}

/* Fikstür */
.fb-list { margin: 0; padding: 0; list-style: none; }
.fb-list > li + li { border-top: 1px solid var(--v2-line); }
.fb-row { display: block; padding: 12px 6px; margin: 0 -6px; border-radius: 6px; color: var(--v2-text); transition: background .15s; }
.fb-row:hover { background: var(--v2-bg); }
.fb-row__meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 12.5px; color: var(--v2-muted); }
.fb-row__comp { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-row__meta time { flex: none; }
.fb-row__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.fb-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--v2-f-head); font-weight: 500; font-size: 16px; line-height: 1.2; }
.fb-team--home { justify-content: flex-end; text-align: right; }
.fb-team__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-more { margin-top: 4px; border-top: 1px solid var(--v2-line); }
.fb-more > summary { padding: 12px 0 4px; cursor: pointer; font-family: var(--v2-f-head); font-weight: 500; font-size: 15px; color: var(--v2-red-ink); list-style: none; }
.fb-more > summary::-webkit-details-marker { display: none; }
.fb-more > summary::after { content: "▾"; margin-left: 6px; display: inline-block; transition: transform .2s; }
.fb-more[open] > summary::after { transform: rotate(180deg); }
.fb-more > summary span { color: var(--v2-muted); font-family: var(--v2-f-body); font-size: 13px; }
@media (max-width: 479px) {
  .fb-team { font-size: 14.5px; gap: 6px; }
  .fb-row__teams { gap: 6px; }
  .fb-mid { min-width: 54px; }
  .fb-row__meta { font-size: 12px; }
}

/* Maç merkezi — skor tablosu */
.fb-board { margin: 0 0 18px; padding: 16px 16px 14px; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-surface); box-shadow: var(--v2-shadow); text-align: center; }
.fb-board.is-live { border-color: #d7141c; }
.fb-board__comp { margin: 0 0 14px; font-size: 13px; color: var(--v2-muted); }
.fb-board__main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; }
.fb-board__team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; font-family: var(--v2-f-head); font-weight: 600; font-size: 19px; line-height: 1.2; color: var(--v2-text); }
.fb-board__team span { max-width: 100%; overflow-wrap: anywhere; }
.fb-board__mid { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 96px; padding-top: 6px; }
.fb-big { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--v2-f-head); font-weight: 700; font-size: 48px; line-height: 1; color: var(--v2-text); font-variant-numeric: tabular-nums; }
.fb-big i { font-style: normal; font-weight: 400; color: var(--v2-muted); }
.fb-big--time { font-size: 34px; }
.fb-stlabel { font-size: 13px; color: var(--v2-muted); }
.fb-stlabel.is-live { padding: 3px 8px; border-radius: 4px; background: #d7141c; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .3px; }
.fb-stlabel.is-warn { color: var(--v2-red-ink); font-weight: 600; }
.fb-ht { font-size: 12px; color: var(--v2-muted); }
.fb-board__scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 96px; margin-top: 12px; font-size: 13px; color: var(--v2-muted); }
.fb-board__scorers ul { margin: 0; padding: 0; list-style: none; }
.fb-board__scorers ul:first-child { text-align: right; }
.fb-board__scorers ul:last-child { text-align: left; }
.fb-board__scorers li { overflow-wrap: anywhere; }
.fb-board__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--v2-line); font-size: 13px; color: var(--v2-muted); }
@media (max-width: 479px) {
  .fb-board { padding: 14px 10px 12px; }
  .fb-board__main { gap: 6px; }
  .fb-board__team { font-size: 15px; }
  .fb-board__team .fb-logo { width: 46px !important; height: 46px !important; }
  .fb-board__mid { min-width: 78px; padding-top: 4px; }
  .fb-big { font-size: 36px; gap: 5px; }
  .fb-big--time { font-size: 26px; }
  .fb-board__scorers { gap: 8px 16px; font-size: 12.5px; }
}

/* Olaylar: ev sahibi solda, deplasman sağda, dakika ortada; son olay üstte */
.fb-events { margin: 0; padding: 0; list-style: none; }
.fb-ev { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); align-items: center; padding: 9px 0; border-bottom: 1px solid var(--v2-line); font-size: 14px; }
.fb-ev:last-child { border-bottom: 0; }
.fb-ev__min { grid-column: 2; grid-row: 1; justify-self: center; padding: 2px 6px; border-radius: 4px; background: var(--v2-bg); font-size: 12px; font-weight: 700; color: var(--v2-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-ev__body { display: flex; align-items: center; gap: 8px; min-width: 0; grid-row: 1; }
.fb-ev--home .fb-ev__body { grid-column: 1; flex-direction: row-reverse; text-align: right; }
.fb-ev--away .fb-ev__body { grid-column: 3; }
.fb-ev__txt { min-width: 0; }
.fb-ev__txt b { display: block; font-weight: 500; color: var(--v2-text); overflow-wrap: anywhere; }
.fb-ev__txt small { display: block; font-size: 12px; color: var(--v2-muted); overflow-wrap: anywhere; }
.fb-ev--goal .fb-ev__txt b { font-weight: 700; }
.fb-ev--goal .fb-ev__min { background: var(--v2-red); color: #fff; }
.fb-ico { width: 20px; height: 20px; flex: none; color: var(--v2-text); }
.fb-var { flex: none; padding: 1px 4px; border: 1px solid var(--v2-muted); border-radius: 3px; font-size: 10px; font-weight: 700; color: var(--v2-muted); }

/* Kadrolar */
.fb-lineups { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .fb-lineups { grid-template-columns: 1fr 1fr; gap: 28px; } }
.fb-lu { min-width: 0; }
.fb-lu__head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--v2-f-head); font-weight: 600; font-size: 17px; color: var(--v2-text); }
.fb-lu__head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-lu__head em { margin-left: auto; font-style: normal; font-family: var(--v2-f-body); font-weight: 600; font-size: 13px; color: var(--v2-muted); }
.fb-lu__sub { margin: 12px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--v2-muted); }
.fb-players { margin: 0; padding: 0; list-style: none; }
.fb-players li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--v2-line); font-size: 14px; }
.fb-players li:last-child { border-bottom: 0; }
.fb-pl__no { width: 24px; flex: none; text-align: right; font-weight: 700; color: var(--v2-muted); font-variant-numeric: tabular-nums; }
.fb-pl__nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--v2-text); }
.fb-pl__pos { flex: none; font-size: 12px; color: var(--v2-muted); }
.fb-coach { margin: 12px 0 0; font-size: 14px; color: var(--v2-text); }
.fb-coach span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--v2-muted); }

/* İstatistik */
.fb-stats { margin: 0; padding: 0; list-style: none; }
.fb-stat { padding: 9px 0; }
.fb-stat__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.fb-stat__row span { flex: 1; min-width: 0; text-align: center; font-size: 13px; color: var(--v2-muted); }
.fb-stat__row b { flex: none; min-width: 36px; font-weight: 600; color: var(--v2-text); font-variant-numeric: tabular-nums; }
.fb-stat__row b:last-child { text-align: right; }
.fb-stat__row b.is-lead { color: var(--v2-red-ink); }
.fb-bar { display: flex; gap: 6px; }
.fb-bar > span { flex: 1; display: flex; height: 6px; border-radius: 3px; background: var(--v2-line); overflow: hidden; }
.fb-bar > span:first-child { justify-content: flex-end; }
.fb-bar i { display: block; height: 100%; border-radius: 3px; background: var(--v2-muted); }
.fb-bar i.is-lead { background: var(--v2-red); }
/* 320–479 px: uzun takım adı kesilmesin, en çok 2 satır ("Bayer Leverkusen") */
@media (max-width: 479px) {
  .fb-team__name { white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
/* Gol topu: koyu temada currentColor beyaz olunca desen kayboluyordu */
.fb-ev--goal .fb-ico { color: #111114; }
.fb-stats { max-width: 760px; margin: 0 auto; }
.fb-page a.fb-row:hover { color: var(--v2-text); }
