/* EGF Grand Prix sayfalari (taslak). Eski bolumun gorunumu korunur (egp.css + GPtable.css yine yukleniyor);
   buradakiler eski sayfalarin satir ici stilleri + yeni takvim/menu. stream.css'in body/.container/h1/h2 kurallari BILEREK alinmadi. */

.egf-gp-taslak { font-size: 13px; color: #777; margin: 0 0 10px; }

/* bolum menusu (taslakta icerigin basinda; canlida ust menuye yapisik cubuk olacak) */
.egf-gp-menu ul { list-style: none; margin: 0 0 18px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 2px 20px; border-bottom: 1px solid #e0ddcd; }
.egf-gp-menu li { margin: 0; }
.egf-gp-menu a { display: inline-block; padding: 6px 0 8px; color: #555; font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.egf-gp-menu a:hover { color: #b33333; }
.egf-gp-menu .active a { color: #b33333; border-bottom-color: #e7cc3d; }

/* eski sayfalarin satir ici kurallari */
td > span { padding: 2px 4px 2px 4px; }
.archive { font-weight: bold; font-size: 16px; padding-bottom: 8px; display: inline-block; }
#res { padding-left: 0; list-style-type: none; }

/* takvim: suzgecler, harita, tablo */
.egf-gp-suzgec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 6px; margin: 4px 0 12px; }
.egf-gp-suzgec-ad { font-weight: 700; font-size: 13px; color: #555; margin: 0 4px 0 10px; }
.egf-gp-suzgec-ad:first-child { margin-left: 0; }
.egf-gp-suzgec button { font: inherit; font-size: 13px; padding: 4px 11px; border: 1px solid #cfcab6; border-radius: 3px; background: #fff; color: #333; cursor: pointer; }
.egf-gp-suzgec button:hover { background: #faf9f2; }
.egf-gp-suzgec button[aria-pressed=true] { background: #333; border-color: #333; color: #fff; }
.egf-gp-harita { height: 560px; width: 100%; border: 1px solid #e0ddcd; border-radius: 4px; margin: 0 0 16px; background: #f4f3ee; }
.egf-gp-harita-yok { display: flex; align-items: center; justify-content: center; color: #888; }
.custom-pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: bold; font-size: 13px; box-shadow: 0 3px 6px rgba(0,0,0,.3); }
.custom-pin span { transform: rotate(45deg); }
.cat-A { background-color: #e74c3c; }
.cat-B { background-color: #f39c12; }
.cat-C { background-color: #2ecc71; }
.cat-D { background-color: #5dade2; }
.cat-FINALE, .cat-GS { background-color: #b30000; font-size: 11px; }
.cat-past { background-color: #999 !important; }
.egf-gp-tablo { width: 100%; }
.egf-gp-tablo td { vertical-align: top; }
.egf-gp-yer { color: #555; font-size: 13px; }
.egf-gp-bayrak { display: inline-block !important; width: 18px !important; height: 13px !important; border: 1px solid #c4c9cd !important; margin: 0 0 0 3px !important;
  padding: 0 !important; box-shadow: none !important; background: none !important; box-sizing: content-box !important; vertical-align: -1px; max-width: none !important; }
.egf-gp-sev { text-align: center; font-weight: bold; }
.egf-gp-sev-a { color: #e69138; }
.egf-gp-sev-b { color: #f1c232; }
.egf-gp-sev-c { color: #6aa84f; }
.egf-gp-sev-d { color: #3366ff; }
.egf-gp-sev-finale, .egf-gp-sev-gs { color: red; }
.egf-gp-past td:first-child a { color: #666; }
.egf-gp-gizli { display: none; }
.egf-gp-soluk { color: #999; font-style: italic; }
.egf-gp-tablo tr.egf-gp-vurgu td { background: #fff7d1; }

/* puan durumu (eski standings2026.html ve sayfa 11324'teki kurallar) */
.standings > tbody > tr > td, .standings > thead > tr > th { text-align: center; font-size: 10pt; }
.standings > tbody > tr td:first-child, .standings > thead > tr th:first-child { text-align: left; }
.standings > tbody > tr td:last-child { font-weight: bold; }
#myTable { width: auto !important; table-layout: auto !important; white-space: nowrap; border-collapse: collapse; }
#myTable td, #myTable th { border-right: 1px solid rgba(0,0,0,.08); }
#myTable td:last-child, #myTable th:last-child { border-right: none; }
#myTable td:nth-child(3), #myTable th:nth-child(3) { background: rgba(0,0,0,.03); font-weight: 600; border-right: 4px solid rgba(0,0,0,.2) !important; }

/* Twitch yorum tablosu (stream.css'ten yalnizca tablo kurallari) */
.commentary-table { width: 100%; border-collapse: collapse; margin-top: 20px; table-layout: fixed; }
.commentary-table thead th { background-color: #e7cc3d; color: #000; font-weight: bold; padding: 14px; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.commentary-table thead th:first-child { border-top-left-radius: 8px; }
.commentary-table thead th:last-child { border-top-right-radius: 8px; }
.commentary-table td { padding: 14px; border-top: 1px solid #ddd; vertical-align: top; }
.commentary-table tbody tr:nth-child(even) { background-color: #f0f0f0; }
.commentary-table tbody td:first-child { font-weight: bold; }
.commentary-table ul { margin: 0; padding-left: 18px; }
.commentary-table li { margin-bottom: 4px; }
.commentary-table .secondary { color: #777; }
.commentary-table th:nth-child(1), .commentary-table td:nth-child(1) { width: 22%; }
.commentary-table th:nth-child(2), .commentary-table td:nth-child(2) { width: 25%; }
.commentary-table th:nth-child(3), .commentary-table td:nth-child(3) { width: 21%; }
.commentary-table th:nth-child(4), .commentary-table td:nth-child(4) { width: 32%; }

@media (max-width: 768px) {
  .egf-gp-harita { height: 380px; }
  .commentary-table { table-layout: auto; }
}
.egf-gp-tablo tr.egf-gp-tbc td { opacity: .62; }
.egf-gp-taslak-not { color: #555; }
