.football-desk {
  --football-dark: #12332e;
  --football-ink: #185a4a;
  --football-edge: #d7e4dc;
  margin: 24px 0 30px;
  border: 1px solid var(--football-edge);
  border-radius: 18px;
  overflow: hidden;
  background: #f1f6f2;
}
.football-desk-header {
  padding: clamp(20px, 3vw, 36px);
  color: #fff;
  background: linear-gradient(112deg, #102d2a 0%, #185842 100%);
}
.football-desk-header h2 { margin: 0; font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 650; line-height: 1.5; }
.football-desk-header p { margin: 5px 0 0; color: #d9f3e2; }
.football-desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 18px;
  padding: clamp(12px, 2vw, 22px);
}
.football-panel { padding: clamp(14px, 2vw, 22px); background: #fff; border: 1px solid var(--football-edge); border-radius: 12px; min-width: 0; }
.football-panel h3 { margin: 0; color: var(--football-dark); font-size: 1.125rem; line-height: 1.55; }
.football-analyses, .football-matches { list-style: none; padding: 0; margin: 0; }
.football-analyses li { padding: 15px 0; border-bottom: 1px solid var(--football-edge); }
.football-analyses li:last-child { border-bottom: 0; padding-bottom: 0; }
.football-byline { color: var(--football-ink); margin: 0 0 4px; font-size: .875rem; font-weight: 650; overflow-wrap: anywhere; }
.football-byline span, .football-match-meta span { padding-inline: 4px; }
.football-analyses h4 { margin: 0; font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; }
.football-summary { color: #455955; margin: 5px 0; font-size: .9375rem; line-height: 1.7; }
.football-analysis-footer { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; color: #455955; font-size: .8125rem; line-height: 1.6; }
.football-analysis-footer a, .football-match-sources a { color: var(--football-ink); text-decoration: underline; text-underline-offset: 3px; }
.football-analyses h4 a:hover { color: var(--football-ink); text-decoration: underline; text-underline-offset: 3px; }
.football-fixture-header { display: flex; justify-content: space-between; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.football-league-picker select {
  appearance: none;
  max-width: 100%;
  border: 1px solid #afc8bb;
  border-radius: 8px;
  min-height: 42px;
  padding: 4px 32px 4px 12px;
  color: var(--football-dark);
  background: linear-gradient(45deg, transparent 50%, #185a4a 50%) right 15px center/5px 5px no-repeat,
    linear-gradient(135deg, #185a4a 50%, transparent 50%) right 10px center/5px 5px no-repeat, #fff;
  font: inherit;
  font-size: .875rem;
}
.football-fixture-caption, .football-no-match { color: #455955; margin: 5px 0 12px; font-size: .875rem; }
.football-matches { display: grid; gap: 7px; }
.football-match {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 10px 13px;
  border: 1px solid var(--football-edge);
  background: #f8fbf9;
  border-radius: 9px;
  color: var(--football-dark);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.football-match:hover { background: #eaf5ee; border-color: #aacdb7; }
.football-match-meta { color: #455955; font-size: .8125rem; overflow-wrap: anywhere; }
.football-match-teams { font-weight: 650; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.football-match-teams span { color: #455955; font-weight: 400; padding-inline: 3px; }
.football-match-action { color: var(--football-ink); font-size: .8125rem; font-weight: 650; }
.football-dialog { width: min(100% - 28px, 620px); max-height: 88dvh; border: 1px solid var(--football-edge); border-radius: 15px; padding: 0; margin: auto; color: var(--football-dark); background: #fff; box-shadow: 0 25px 100px #102d2a55; }
.football-dialog::backdrop { background: #0a211caa; }
body:has(.football-dialog[open]) { overflow: hidden; }
.football-dialog-inner { padding: clamp(16px, 4vw, 30px); }
.football-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.football-dialog-header p { margin: 0 0 4px; color: var(--football-ink); font-size: .875rem; font-weight: 650; }
.football-dialog-header h2 { margin: 0; font-size: clamp(1.25rem, 4vw, 1.75rem); line-height: 1.55; }
.football-match-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 16px 0 20px; padding: 12px 14px; background: #edf6f0; border-radius: 8px; }
.football-match-details dt { font-size: .8125rem; color: #455955; }
.football-match-details dd { margin: 2px 0 0; font-weight: 600; }
.football-dialog h3 { font-size: 1rem; margin: 12px 0 6px; }
.football-facts, .football-match-sources { padding-inline-start: 1.3rem; margin: 0 0 16px; }
.football-facts li, .football-match-sources li { margin: 4px 0; overflow-wrap: anywhere; }
@media (max-width: 740px) {
  .football-desk-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
