/* =========================================================
   DRAW PAGE ONLY STYLES
========================================================= */

.draw-toolbar { 
  display: flex; justify-content: space-between; 
  align-items: center; gap: 16px; 
  flex-wrap: wrap; 
  margin-bottom: 24px; 
  padding: 18px; 
  border-radius: 22px; 
  border: 1px solid var(--line); 
  background: #181818; 
  box-shadow: var(--shadow); 
}

.draw-filters { 
  display: flex; gap: 14px; 
  flex-wrap: wrap; 
  align-items: center;
}

.draw-select { 
  min-width: 220px; 
  background: var(--panel-2); 
  border: 1px solid var(--line); 
  color: var(--text); 
  border-radius: 14px; 
  padding: 12px 14px; 
  font-size: 14px; 
  font-weight: 600; 
  outline: none; 
}

.draw-select.small { 
    min-width: 140px; 
}

.draw-btn { 
  display: inline-block; 
  padding: 13px 18px; 
  border-radius: 14px; 
  font-weight: 800; 
  font-size: 15px; 
  cursor: pointer; 
  border: none; 
}

.draw-btn-accent { 
  background: var(--accent);
  color: #111;
  text-decoration: none;
}

.draw-btn-accent:hover {
  background: #e6c47d;
  color: #111;
}

.draw-list { display: grid; gap: 18px; 
}

.fixture-card { 
  border-radius: 24px; 
  border: 1px solid var(--line); 
  background: #181818; 
  box-shadow: var(--shadow); 
  overflow: hidden; 
}

.fixture-top { 
  display: flex; justify-content: space-between; 
  align-items: center; gap: 14px; 
  padding: 18px 22px 12px; 
  border-bottom: 1px solid rgba(255,255,255,0.06); 
}

.round-title { 
  display: flex; flex-direction: column; gap: 6px; 
}

.round-title .eyebrow { 
  color: var(--accent); 
  text-transform: uppercase; 
  letter-spacing: 0.18em; 
  font-size: 13px; 
  font-weight: 800; 
}

.round-title h2 { 
  margin: 0; 
  font-size: 22px; 
  font-weight: 500; 
  line-height: 1.05; 
  color: rgba(255,255,255,0.72); 
  letter-spacing: -0.03em; 
}

.fixture-status { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  padding: 8px 12px; 
  border-radius: 999px; 
  font-size: 12px; 
  font-weight: 800; 
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  border: 1px solid var(--line); 
  white-space: nowrap; 
}

.fixture-status.home {   
  background: rgba(217,178,106,0.14); 
  color: var(--accent); 
  border-color: rgba(217,178,106,0.25); 
}

.fixture-status.away { 
  background: rgba(255,255,255,0.06); 
  color: rgba(255,255,255,0.9); 
}

.fixture-status.bye { 
  background: rgba(255,255,255,0.08); 
  color: rgba(255,255,255,0.88); 
}

.fixture-main { 
  padding: 24px 22px 22px; 
}

.fixture-date {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.teams-row { 
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; 
  align-items: center; 
}

.team-block { 
  display: flex; align-items: center; gap: 14px; 
  min-width: 0;
}

.team-block.right { 
  justify-content: flex-end; 
  text-align: right; 
}

.team-logo { 
  width: 100px; 
  height: 100px; 
  padding: 10px; object-fit: contain; 
  background: #ffffff; 
  border-radius: 18px; 
}
    
.team-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.team-stack.right {
  align-items: flex-end;
}

.team-name {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.team-score {
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  align-self: center;
  text-align: center;
  margin-top: -2px;
  letter-spacing: 0.02em;
}

.score-badge {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
  align-self: center;
  text-align: center;
}

.team-score.winner {
  color: #d9b26a;
}

.team-score.loser {
  color: rgba(255,255,255,0.4);
}

.team-name.winner {
  color: #fff;
}

.team-name.loser {
  color: rgba(255,255,255,0.5);
}
 
.team-score.draw,
.team-name.draw {
  color: #fff;
}   
  
    .fixture-meta {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.meta-pill {
  display: inline-flex; 
  align-items: center; gap: 8px; 
  padding: 10px 12px; 
  border-radius: 999px; 
  font-size: 13px; 
  color: rgba(255,255,255,0.82); 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.08); 
}

.bye-card .fixture-main {
  text-align: center; 
  padding-top: 34px; 
  padding-bottom: 34px; 
}

.bye-card .bye-logo {
  width: 72px; 
  height: 72px; object-fit: contain; 
  display: block; 
  margin: 0 auto 16px; 
  background: #fff; 
  border-radius: 16px; 
  padding: 8px; 
}

.bye-card .bye-message {
  font-size: 34px; 
  line-height: 1.02; 
  letter-spacing: -0.04em; 
  font-weight: 800; 
  margin: 0 0 12px;
}

.bye-card .bye-sub { 
  color: rgba(255,255,255,0.74); 
  font-size: 16px; 
  margin: 0; 
}

.meta-pill-link {
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.meta-pill-link:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}    
.fixture-card.completed {background: #151515;
  border-color: rgba(255,255,255,0.06);
}

.fixture-calendar {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(217,178,106,0.14);
  border: 1px solid rgba(217,178,106,0.22);
  text-decoration: none;
}

.fixture-calendar:hover {
  background: rgba(217,178,106,0.20);
  border-color: rgba(217,178,106,0.32);
}    

@media (max-width: 720px) {

  .teams-row {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: start;
  }

  .team-block,
  .team-block.right {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .team-stack,
  .team-stack.right {
    align-items: flex-start;
    text-align: left;
  }
  
.team-block.right .team-logo {
  order: 1;
}

.team-block.right .team-stack {
  order: 2;
}

  .vs {
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: rgba(255,255,255,0.45);
    margin: -2px 0;
  }

  .team-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .team-name {
    font-size: 22px;
    line-height: 1.1;
  }

  .team-score {
    font-size: 24px;
  }

  .fixture-calendar {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .fixture-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .meta-pill,
  .meta-pill-link {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }
}