:root {
      --bg: #f3f8f4;
      --card: #ffffff;
      --green-dark: #14532d;
      --green: #16a34a;
      --green-soft: #22c55e;
      --green-light: #dcfce7;
      --green-border: #bbf7d0;
      --text: #1f2937;
      --muted: #6b7280;
      --line: #e5e7eb;
      --warning-bg: #fef9c3;
      --warning-text: #854d0e;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--text);
    }

    .page {
      max-width: 960px;
      margin: 0 auto;
      padding: 24px 16px;
    }

    .matchday-card {
      background: var(--card);
      border-radius: 18px;
      box-shadow: 0 10px 30px rgba(20, 83, 45, 0.08);
      overflow: hidden;
      border: 1px solid var(--green-border);
    }

    .matchday-header {
      padding: 20px;
      background: linear-gradient(135deg, var(--green-dark), var(--green));
      color: white;
    }

    .season-badge {
      padding: 7px 11px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.22);
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }

    .matchday-header h1 {
      margin: 0;
      font-size: 24px;
      font-weight: 700;
    }

    .matchday-header p {
      margin: 6px 0 0;
      font-size: 14px;
      opacity: 0.9;
    }

    .matchday-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      background: #f9fafb;
      border-bottom: 1px solid var(--line);
    }

    .round-switch {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .round-button {
      width: 34px;
      height: 34px;
      border: 1px solid var(--green-border);
      background: white;
      color: var(--green-dark);
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
    }

    .round-button:hover {
      background: var(--green-light);
    }

    .round-title {
      font-weight: 700;
      color: var(--green-dark);
    }

    .date-label {
      font-size: 13px;
      color: var(--muted);
    }

    .matches {
      padding: 8px 0;
    }

    .match-row {
      display: grid;
      grid-template-columns: 80px 1fr auto 1fr 110px;
      align-items: center;
      gap: 14px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--line);
    }

    .match-row:last-child {
      border-bottom: none;
    }

    .match-row:hover {
      background: #f0fdf4;
    }

    .time {
      font-size: 13px;
      font-weight: 700;
      color: var(--green-dark);
    }

    .team {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      font-weight: 600;
    }

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

    .team.away {
      justify-content: flex-start;
      text-align: left;
    }

    .team-name {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .team-logo {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--green-light);
      border: 2px solid var(--green-border);
      color: var(--green-dark);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 800;
      flex-shrink: 0;
    }

    .score {
      min-width: 72px;
      padding: 8px 12px;
      border-radius: 999px;
      background: var(--green-dark);
      color: white;
      text-align: center;
      font-weight: 800;
      font-size: 15px;
    }

    .score.upcoming {
      background: var(--green-light);
      color: var(--green-dark);
      border: 1px solid var(--green-border);
    }

    .status {
      justify-self: end;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }

    .status.finished {
      background: var(--green-light);
      color: var(--green-dark);
    }

    .status.live {
      background: var(--warning-bg);
      color: var(--warning-text);
    }

    .status.open {
      background: #f3f4f6;
      color: var(--muted);
    }

    .matchday-footer {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 20px;
      background: #f9fafb;
      border-top: 1px solid var(--line);
      font-size: 13px;
      color: var(--muted);
    }

    .summary {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .summary strong {
      color: var(--green-dark);
    }

    @media (max-width: 760px) {
      .page {
        padding: 12px;
      }

      .matchday-header {
        padding: 16px;
      }


      .matchday-header h1 {
        font-size: 20px;
      }

      .matchday-toolbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 16px;
      }

      .match-row {
        grid-template-columns: 52px 1fr 58px 1fr;
        gap: 8px;
        padding: 14px 16px;
      }

      .status {
        grid-column: 2 / 5;
        justify-self: center;
        margin-top: 4px;
      }

      .time {
        font-size: 12px;
      }

      .team {
        gap: 6px;
      }

      .team-logo {
        width: 24px;
        height: 24px;
        font-size: 10px;
      }

      .team-name {
        font-size: 13px;
      }

      .score {
        min-width: 58px;
        padding: 7px 8px;
        font-size: 14px;
      }

      .matchday-footer {
        flex-direction: column;
        padding: 14px 16px;
      }
    }

    @media (max-width: 460px) {
      .team.home .team-logo {
        display: none;
      }

      .team.away .team-logo {
        display: none;
      }

      .match-row {
        grid-template-columns: 44px 1fr 52px 1fr;
      }
    }