/* Page actions, sat under the season switcher: a link to the practice
   scorecard and the match-day sign-in (whose label and icon are swapped by
   setupAuthButton() in JS/fixtures.js as the sign-in state changes). */
.season-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.season-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #e0d6c8;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.season-action:hover {
    background: rgba(196, 30, 58, 0.25);
    color: #ffffff;
}

.season-action-primary {
    border-color: rgba(196, 30, 58, 0.6);
    background: rgba(196, 30, 58, 0.35);
    color: #ffffff;
}

.season-action-primary:hover {
    background: rgba(196, 30, 58, 0.55);
}

.season-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.season-action[hidden] {
    display: none;
}

.season-action-icon {
    font-size: 0.95rem;
    line-height: 1;
}

@media (max-width: 600px) {
    .season-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.today-fixtures {
    display: grid;
    gap: 20px;
}

.fixture-card {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(212, 160, 23, 0.1));
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(196, 30, 58, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fixture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

.fixture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}

.fixture-header.clickable {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fixture-header.clickable:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.expand-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: #c41e3a;
}

.expand-icon.rotated {
    transform: rotate(180deg);
}

.fixture-content {
    display: block;
}

.fixture-content.always-expanded {
    display: block !important;
}

.fixture-item {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.fixture-item[style*="cursor"] {
    cursor: pointer;
}

.fixture-item[style*="cursor"]:hover {
    background: rgba(196, 30, 58, 0.1);
    border-color: rgba(196, 30, 58, 0.3);
    transform: translateY(-2px);
}

.fixture-item:last-child {
    margin-bottom: 0;
}

.fixture-bye {
    opacity: 0.7;
}

.fixture-blocked {
    width: 100%;
    text-align: center;
}

.fixture-blocked-reason {
    color: #d98a80;
    font-style: italic;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 8px;
}

.fixture-blocked-row {
    color: #d98a80;
}

.fixture-date {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.fixture-time {
    font-weight: bold;
    color: #c41e3a;
}

.fixture-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.team {
    text-align: center;
    flex: 1;
}

.team-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.team-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vs {
    font-size: 1.5rem;
    font-weight: bold;
    color: #c41e3a;
}

.fixture-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
}

.fixture-table tr:first-child td:first-child {
    border-top-left-radius: 12px;
}

.fixture-table tr:first-child td:last-child {
    border-top-right-radius: 12px;
}

.fixture-table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.fixture-table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.fixture-table th,
.fixture-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fixture-table th:first-child,
.fixture-table td:first-child {
    border-left: 3px solid rgba(196, 30, 58, 0.3);
}

.fixture-table th:last-child,
.fixture-table td:last-child {
    border-right: 3px solid rgba(196, 30, 58, 0.3);
}

.fixture-table .fixture-date-row td {
    border-top: 3px solid rgba(196, 30, 58, 0.3);
}

.fixture-table tr:last-child td {
    border-bottom: 3px solid rgba(196, 30, 58, 0.3);
}

.fixture-table th {
    background: rgba(196, 30, 58, 0.35);
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.fixture-table .fixture-detail-row td {
    background: transparent;
}

.fixture-table tr.fixture-detail-row:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.fixture-table .fixture-row-alt .fixture-detail-row td {
    background: transparent;
}

.fixture-row-alt .fixture-detail-row:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.fixture-table td {
    font-size: 0.95rem;
}

.fixture-clickable {
    cursor: pointer;
}

.fixture-table tr.fixture-clickable:hover td {
    background: rgba(196, 30, 58, 0.15);
}

.mobile-fixture-item.fixture-clickable:hover {
    background: rgba(196, 30, 58, 0.15);
}

.date-cell {
    color: #a0a0a0;
    font-size: 0.9rem;
    width: 1%;
    white-space: nowrap;
}

.fixture-date-header {
    width: auto !important;
    white-space: normal !important;
    background: rgba(196, 30, 58, 0.35) !important;
}

.fixture-row-alt .fixture-date-header {
    background: rgba(196, 30, 58, 0.42) !important;
}

.fixture-table .fixture-excluded-row .fixture-date-header {
    background: rgba(80, 85, 100, 0.6) !important;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    border-right: 3px solid rgba(255, 255, 255, 0.5);
    border-top: 3px solid rgba(255, 255, 255, 0.5);
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
}

.fixture-excluded-row.fixture-row-alt .fixture-date-header {
    background: rgba(80, 85, 100, 0.8) !important;
}

.fixture-excluded-row .fixture-date {
    color: #d8dce4;
}

.fixture-excluded-row .fixture-date-inner .fixture-blocked-reason {
    color: #c7ccd6;
    font-style: italic;
}

.fixture-table .fixture-excluded-row {
    cursor: default;
}

.fixture-table .fixture-excluded-row:not(.fixture-current-row):hover td {
    background: rgba(80, 85, 100, 0.6) !important;
}

.fixture-table .fixture-excluded-row.fixture-row-alt:not(.fixture-current-row):hover td {
    background: rgba(80, 85, 100, 0.8) !important;
}

.fixture-date-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixture-date-header .fixture-date {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.fixture-date-inner .fixture-blocked-reason {
    margin-left: auto;
}

.fixture-table .fixture-date-row:not(.fixture-excluded-row):not(.fixture-competition-row):not(.fixture-event-row):not(.fixture-mixed-row):not(.fixture-current-row):hover td {
    background: rgba(196, 30, 58, 0.35) !important;
}

.fixture-table .fixture-row-alt.fixture-date-row:not(.fixture-excluded-row):not(.fixture-competition-row):not(.fixture-event-row):not(.fixture-mixed-row):not(.fixture-current-row):hover td {
    background: rgba(196, 30, 58, 0.42) !important;
}

/* The "today / next" fixture date, highlighted in the Season Fixtures table
   so it's easy to see how far the season has progressed. */
.fixture-table .fixture-current-row .fixture-date-header {
    background: rgba(212, 160, 23, 0.45) !important;
}

.fixture-table .fixture-current-row td:first-child {
    border-left: 3px solid #d4a017;
}

.fixture-table .fixture-current-row td:last-child {
    border-right: 3px solid #d4a017;
}

.fixture-table .fixture-current-row.fixture-date-row td {
    border-top: 3px solid #d4a017;
}

.fixture-table tr.fixture-current-row-end td {
    border-bottom: 3px solid #d4a017 !important;
}

.fixture-table .fixture-current-row.fixture-detail-row td {
    background: rgba(212, 160, 23, 0.14);
}

.fixture-table .fixture-current-row.fixture-detail-row:hover td {
    background: rgba(212, 160, 23, 0.24);
}

/* When the current/next date is also a competition, event or exception,
   gold must win over that type's own colour. Its header background rule
   and its detail-row td:first-child/td:last-child border rules tie in
   specificity with the equivalents above (same selector shape, just a
   different type class), so the cascade falls back to source order - and
   since those type-specific rules are defined further down the file, they
   were winning the tie instead of gold. Combining both classes here gives
   these a strictly higher specificity, so they win unconditionally
   regardless of where anything else sits in the file. */
.fixture-table .fixture-current-row.fixture-competition-row .fixture-date-header,
.fixture-table .fixture-current-row.fixture-event-row .fixture-date-header,
.fixture-table .fixture-current-row.fixture-excluded-row .fixture-date-header,
.fixture-table .fixture-current-row.fixture-mixed-row .fixture-date-header {
    background: rgba(212, 160, 23, 0.45) !important;
    border-left-color: #d4a017;
    border-right-color: #d4a017;
    border-top-color: #d4a017;
}

.fixture-table .fixture-current-row.fixture-competition-row td:first-child,
.fixture-table .fixture-current-row.fixture-event-row td:first-child,
.fixture-table .fixture-current-row.fixture-mixed-row td:first-child {
    border-left: 3px solid #d4a017;
}

.fixture-table .fixture-current-row.fixture-competition-row td:last-child,
.fixture-table .fixture-current-row.fixture-event-row td:last-child,
.fixture-table .fixture-current-row.fixture-mixed-row td:last-child {
    border-right: 3px solid #d4a017;
}

/* The type badge (League/HC/Competition/Event) sitting on a highlighted
   current/next row shifts to gold too, so it doesn't clash against the
   gold background/border treatment above. */
.fixture-current-row .type-badge,
.mobile-fixture-current .type-badge {
    background: rgba(212, 160, 23, 0.3);
    border-color: rgba(212, 160, 23, 0.6);
    color: #ffe6a8;
}

.teams-cell {
    font-weight: 500;
}

/* Desktop equivalent of .mobile-vs. Home/away/vs share one flex wrapper
   inside a single colspan-2 <td> instead of sitting in separate <td>s -
   with the table at width:100% and no fixed column widths, table
   auto-layout stretches columns to fill the row, so anchoring "vs" to the
   start of a second column put it much closer to the away team than the
   home team. Flex gap sidesteps table column sizing and keeps both sides
   equal. This is a span, not the <td> itself - display:flex directly on a
   table cell drops it out of table-cell layout and breaks the whole table. */
.match-teams {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.vs-label {
    color: #c41e3a;
    font-weight: bold;
    font-size: 0.85rem;
}

.venue-cell {
    color: #d4a017;
    font-size: 0.9rem;
}

/* Venue name + Google Maps pin (venueLinkHtml in JS/fixtures.js). The name
   is plain text so it opens the fixture like the rest of the row; only the
   pin diverts the click to Maps. */
.venue-with-map {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

/* The fixture list's venue column isn't centred, so keep the name and
   directions link aligned to the start there. */
.venue-cell .venue-with-map {
    align-items: flex-start;
    text-align: left;
}

.venue-cell .venue-map-pin {
    padding-left: 0;
}

.venue-map-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* Padded well past the glyph so it's an easy target, with the extra
       height pulled back out so it doesn't stretch the row. */
    min-height: 28px;
    margin: -4px 0;
    padding: 0 6px;
    font-size: 0.8rem;
    border-radius: 6px;
    color: #d4a017;
    transition: color 0.2s ease;
}

.venue-map-pin:hover,
.venue-map-pin:focus-visible {
    color: #c41e3a;
}

.venue-map-pin svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Touch screens are where the mis-taps happen, and there's no hover to
   hint at the target - give the pin more room to be hit deliberately. */
@media (hover: none) {
    .venue-map-pin {
        min-height: 34px;
    }
}

.bye-badge {
    background: rgba(212, 160, 23, 0.3);
    color: #d4a017;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.type-cell {
    white-space: nowrap;
    width: 1%;
}

.type-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
}

.type-wohc {
    background: rgba(196, 30, 58, 0.25);
    border-color: rgba(196, 30, 58, 0.55);
    color: #f3c2c0;
}

.type-hc {
    background: rgba(196, 30, 58, 0.25);
    border-color: rgba(196, 30, 58, 0.55);
    color: #f3c2c0;
}

.type-competition {
    background: rgba(155, 90, 220, 0.25);
    border-color: rgba(155, 90, 220, 0.55);
    color: #d9c2f5;
}

.type-event {
    background: rgba(60, 150, 200, 0.25);
    border-color: rgba(60, 150, 200, 0.55);
    color: #bfe0f0;
}

/* A date holding more than one entry type (e.g. a match and a competition
   sharing a day - allowed past the admin's conflict-warning confirm()). */
.type-mixed {
    background: rgba(70, 180, 110, 0.25);
    border-color: rgba(70, 180, 110, 0.55);
    color: #b8f0cc;
}

.fixture-blocked-row td {
    background: rgba(196, 30, 58, 0.16) !important;
    color: #f3c2c0;
}

.fixture-blocked-row .date-cell {
    box-shadow: inset 4px 0 0 #e0616a;
}

/* Detail row hover - overrides the plain red .fixture-clickable:hover so
   it tints toward its own colour instead. */
.fixture-table tr.fixture-competition-row.fixture-clickable:hover td {
    background: rgba(155, 90, 220, 0.15);
}

.fixture-table tr.fixture-event-row.fixture-clickable:hover td {
    background: rgba(60, 150, 200, 0.15);
}

.mobile-fixture-item.fixture-clickable.mobile-fixture-competition:hover {
    background: rgba(155, 90, 220, 0.15);
}

.mobile-fixture-item.fixture-clickable.mobile-fixture-event:hover {
    background: rgba(60, 150, 200, 0.15);
}

.fixture-table .fixture-competition-row .fixture-date-header {
    background: rgba(155, 90, 220, 0.4) !important;
    border-left-color: rgba(155, 90, 220, 0.5);
    border-right-color: rgba(155, 90, 220, 0.5);
    border-top-color: rgba(155, 90, 220, 0.5);
}

.fixture-competition-row.fixture-row-alt .fixture-date-header {
    background: rgba(155, 90, 220, 0.5) !important;
}

.fixture-table .fixture-event-row .fixture-date-header {
    background: rgba(60, 150, 200, 0.4) !important;
    border-left-color: rgba(60, 150, 200, 0.5);
    border-right-color: rgba(60, 150, 200, 0.5);
    border-top-color: rgba(60, 150, 200, 0.5);
}

.fixture-event-row.fixture-row-alt .fixture-date-header {
    background: rgba(60, 150, 200, 0.5) !important;
}

/* Desktop table only (see .mobile-fixture-* below for the small-screen
   list) - the detail row's cell borders are tinted to match its header,
   even though its background stays plain/transparent like a normal row. */
.fixture-table .fixture-competition-row td:first-child {
    border-left-color: rgba(155, 90, 220, 0.5);
}

.fixture-table .fixture-competition-row td:last-child {
    border-right-color: rgba(155, 90, 220, 0.5);
}

.fixture-table .fixture-competition-row.fixture-group-end td {
    border-bottom: 3px solid rgba(155, 90, 220, 0.5);
}

.fixture-table .fixture-event-row td:first-child {
    border-left-color: rgba(60, 150, 200, 0.5);
}

.fixture-table .fixture-event-row td:last-child {
    border-right-color: rgba(60, 150, 200, 0.5);
}

.fixture-table .fixture-event-row.fixture-group-end td {
    border-bottom: 3px solid rgba(60, 150, 200, 0.5);
}

/* The date-header row itself isn't a link (only the detail row below it
   is), so it shouldn't hover-highlight like a clickable row does. */
.fixture-table .fixture-competition-row.fixture-date-row {
    cursor: default;
}

.fixture-table .fixture-competition-row.fixture-date-row:not(.fixture-current-row):hover td {
    background: rgba(155, 90, 220, 0.4) !important;
}

.fixture-competition-row.fixture-row-alt.fixture-date-row:not(.fixture-current-row):hover td {
    background: rgba(155, 90, 220, 0.5) !important;
}

.fixture-table .fixture-event-row.fixture-date-row {
    cursor: default;
}

.fixture-table .fixture-event-row.fixture-date-row:not(.fixture-current-row):hover td {
    background: rgba(60, 150, 200, 0.4) !important;
}

.fixture-event-row.fixture-row-alt.fixture-date-row:not(.fixture-current-row):hover td {
    background: rgba(60, 150, 200, 0.5) !important;
}

/* A "Mixed" date (more than one entry type sharing a day) frames the whole
   group in green, overriding each row's own type colour - same idea as
   .fixture-current-row's gold framing, just for "this date isn't one
   thing" instead of "this date is today/next". These rules are declared
   after the competition/event equivalents above, at the same specificity,
   so a detail row wearing both its own type class and .fixture-mixed-row
   (e.g. a competition sharing its date with a match) resolves to green by
   source order - and gold still wins over green for a current+mixed date
   since that combo selector further up has higher specificity. */
.fixture-table .fixture-mixed-row .fixture-date-header {
    background: rgba(70, 180, 110, 0.4) !important;
    border-left-color: rgba(70, 180, 110, 0.5);
    border-right-color: rgba(70, 180, 110, 0.5);
    border-top-color: rgba(70, 180, 110, 0.5);
}

.fixture-mixed-row.fixture-row-alt .fixture-date-header {
    background: rgba(70, 180, 110, 0.5) !important;
}

.fixture-table .fixture-mixed-row td:first-child {
    border-left-color: rgba(70, 180, 110, 0.5);
}

.fixture-table .fixture-mixed-row td:last-child {
    border-right-color: rgba(70, 180, 110, 0.5);
}

.fixture-table .fixture-mixed-row.fixture-group-end td {
    border-bottom: 3px solid rgba(70, 180, 110, 0.5);
}

.fixture-table .fixture-mixed-row.fixture-date-row {
    cursor: default;
}

.fixture-table .fixture-mixed-row.fixture-date-row:not(.fixture-current-row):hover td {
    background: rgba(70, 180, 110, 0.4) !important;
}

.fixture-mixed-row.fixture-row-alt.fixture-date-row:not(.fixture-current-row):hover td {
    background: rgba(70, 180, 110, 0.5) !important;
}

.fixture-table tr.fixture-mixed-row.fixture-clickable:hover td {
    background: rgba(70, 180, 110, 0.15);
}

.mobile-fixtures {
    display: none;
}

.mobile-fixture-blocked {
    background: rgba(80, 85, 100, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.mobile-fixture-blocked .mobile-fixture-summary,
.mobile-fixture-group-alt.mobile-fixture-blocked .mobile-fixture-summary {
    background: rgba(80, 85, 100, 0.6);
    color: #d8dce4;
    font-style: italic;
    font-weight: 600;
    cursor: default;
    list-style: none;
}

.mobile-fixture-blocked .mobile-fixture-summary::-webkit-details-marker {
    display: none;
}

.mobile-fixture-blocked .mobile-fixture-summary::after {
    content: none;
}

.mobile-fixture-competition-group .mobile-fixture-summary {
    background: rgba(155, 90, 220, 0.4);
}

.mobile-fixture-group-alt.mobile-fixture-competition-group .mobile-fixture-summary {
    background: rgba(155, 90, 220, 0.5);
}

.mobile-fixture-event-group .mobile-fixture-summary {
    background: rgba(60, 150, 200, 0.4);
}

.mobile-fixture-group-alt.mobile-fixture-event-group .mobile-fixture-summary {
    background: rgba(60, 150, 200, 0.5);
}

.mobile-fixture-mixed-group .mobile-fixture-summary {
    background: rgba(70, 180, 110, 0.4);
}

.mobile-fixture-group-alt.mobile-fixture-mixed-group .mobile-fixture-summary {
    background: rgba(70, 180, 110, 0.5);
}

.mobile-fixture-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.mobile-fixture-summary {
    padding: 14px 18px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: rgba(196, 30, 58, 0.08);
    list-style: none;
    user-select: none;
    gap: 12px;
}

.mobile-fixture-count {
    font-weight: normal;
    font-size: 0.85rem;
    color: #a0a0a0;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.fixture-date-stack {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.mobile-fixture-group-alt .mobile-fixture-summary {
    background: rgba(196, 30, 58, 0.18);
}

/* The "today / next" fixture date, highlighted in the Season Fixtures list
   so it's easy to see how far the season has progressed. */
.mobile-fixture-current {
    border: 2px solid rgba(212, 160, 23, 0.6);
}

.mobile-fixture-current .mobile-fixture-summary,
.mobile-fixture-group-alt.mobile-fixture-current .mobile-fixture-summary {
    background: rgba(212, 160, 23, 0.3);
}

.mobile-fixture-summary::-webkit-details-marker {
    display: none;
}

.mobile-fixture-summary::after {
    content: '▼';
    font-size: 0.75rem;
    color: #c41e3a;
    transition: transform 0.3s ease;
}

.mobile-fixture-group[open] .mobile-fixture-summary::after {
    transform: rotate(180deg);
}

.mobile-fixture-count {
    font-weight: normal;
    font-size: 0.85rem;
    color: #a0a0a0;
}

.mobile-fixture-content {
    padding: 12px 18px;
}

.mobile-fixture-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.mobile-fixture-item:last-child {
    border-bottom: none;
}

.mobile-fixture-item .type-badge {
    margin-top: 8px;
}

.mobile-fixture-teams {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.mobile-team {
    font-weight: 500;
}

.mobile-vs {
    color: #c41e3a;
    font-weight: bold;
    font-size: 0.85rem;
}

.mobile-fixture-venue {
    color: #d4a017;
    font-size: 0.85rem;
    margin-top: 4px;
}

.fixture-venue {
    display: block;
    text-align: center;
    color: #d4a017;
    font-size: 0.85rem;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.no-fixtures {
    text-align: center;
    padding: 40px;
    color: #a0a0a0;
    font-style: italic;
}

/* The "no fixtures" row is the table's only row, so it never gets a
   .fixture-date-row class to pick up the usual top accent border - add it
   directly so the table's border still reads as a complete box. */
.fixture-table td.no-fixtures {
    border-top: 3px solid rgba(196, 30, 58, 0.3);
}

@media (max-width: 1024px) {
    .desktop-fixtures {
        display: none;
    }

    .mobile-fixtures {
        display: block;
    }

    .fixture-teams {
        flex-direction: column;
        gap: 15px;
    }

    .today-fixtures .fixture-teams {
        flex-direction: row;
    }

    .vs {
        margin: 5px 0;
    }

    .fixture-item .team .venue-cell {
        display: none;
    }

    .fixture-venue {
        display: block;
    }

    .fixture-content {
        display: none;
    }

    .fixture-content.expanded,
    .fixture-content.always-expanded {
        display: block;
    }
}

@media (max-width: 425px) {
    .fixture-date-stack {
        flex-direction: column;
        align-items: center;
        gap: 0;
        line-height: 1.15;
        text-align: center;
    }

    .fd-day {
        font-size: 1.05rem;
        font-weight: bold;
    }

    .fd-month,
    .fd-year {
        font-size: 0.75rem;
        color: #a0a0a0;
    }
}

@media (max-width: 480px) {
    .today-fixtures .team-badge {
        display: none;
    }

    .today-fixtures .fixture-teams {
        flex-direction: column;
    }
}