.sf-matches-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 60px;
}

.sf-matches-heading {
    margin-bottom: 24px;
    padding: 30px;
    border: 1px solid var(--sf-line);
    border-radius: 22px;
    background: var(--sf-panel);
}

.sf-matches-heading h1 {
    margin: 4px 0 12px;
    color: var(--sf-text);
    font-size: clamp(36px, 5vw, 58px);
}

.sf-matches-heading p {
    margin: 0;
    color: var(--sf-muted);
}

.sf-matches-heading p:first-child {
    color: var(--sf-gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.sf-matches-shell section {
    padding: 24px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-panel-deep);
}

@media (max-width: 760px) {
    .sf-matches-shell {
        width: calc(100% - 20px);
        padding-top: 16px;
    }

    .sf-matches-heading {
        padding: 20px;
    }

    .sf-matches-shell section {
        padding: 16px;
    }
}

.sf-matches-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-panel);
}

.sf-matches-filters label {
    color: var(--sf-text);
    font-size: 13px;
    font-weight: 800;
}

.sf-matches-filters select,
.sf-matches-filters input {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--sf-line-strong);
    border-radius: 9px;
    background: var(--sf-panel-deep);
    color: var(--sf-text);
    font: inherit;
}

.sf-matches-filters button {
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--sf-sizzle);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 760px) {
    .sf-matches-filters {
        align-items: stretch;
        flex-direction: column;
    }
}

.sf-matches-list {
    display: grid;
    gap: 12px;
}

.sf-matches-item {
    padding: 20px;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    background: var(--sf-panel);
}

.sf-matches-item h2 {
    margin: 10px 0;
    color: var(--sf-text);
    font-size: clamp(18px, 2.5vw, 24px);
}

.sf-matches-item p {
    margin: 0;
    color: var(--sf-muted);
    font-size: 13px;
}

@media (max-width: 760px) {
    .sf-matches-item {
        padding: 15px;
    }
}

/* Existing SizzFizz voting button design */
.sf-action-button {
    display: flex;
    width: 100%;
    min-height: 124px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #f5f5f2;
    border: 3px solid #ebedee;
    border-radius: 25px;
    background: linear-gradient(180deg, #15191e, #030405);
    box-shadow:
        inset 0 0 0 3px #353a40,
        0 5px 10px rgba(0, 0, 0, 0.75);
    cursor: pointer;
    font: inherit;
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: clamp(30px, 4.5vw, 49px);
    letter-spacing: 2px;
    text-decoration: none;
}

.sf-action-button:hover {
    filter: brightness(1.18);
}

.sf-sizz-button.is-selected {
    border-color: #ff5961;
    background: linear-gradient(180deg, #cf0711, #680006);
}

.sf-fizz-button.is-selected {
    border-color: #75baff;
    background: linear-gradient(180deg, #176ec5, #073467);
}

.sf-action-icon {
    font-family: Arial, sans-serif;
    font-size: 68px;
    line-height: 1;
}

.sf-fire-icon {
    color: #fff;
}

.sf-snow-icon {
    color: #fff;
}


.sf-matches-item .sf-action-button {
    min-height: 54px;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 22px;
}

.sf-matches-item .sf-action-icon {
    font-size: 27px;
}

.sf-matches-vote-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.sf-matches-vote-buttons form {
    margin: 0;
}

.sf-matches-item .sf-matches-score {
    margin-top: 12px;
    color: var(--sf-muted);
    font-size: 14px;
}

.sf-matches-score strong {
    margin-left: 6px;
    color: var(--sf-gold-light);
    font-size: 20px;
    font-weight: 900;
}

.sf-matches-notice {
    margin: 0 0 18px;
    padding: 14px 18px;
    border: 1px solid var(--sf-gold);
    border-radius: 12px;
    background: var(--sf-panel);
    color: var(--sf-text);
    font-weight: 800;
}

.sf-matches-back {
    margin: 0 0 16px;
}

.sf-matches-back a {
    color: var(--sf-gold-light);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.sf-matches-back a:hover {
    text-decoration: underline;
}

.sf-matches-day-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
}

.sf-matches-day-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--sf-line-strong);
    border-radius: 9px;
    background: var(--sf-panel);
    color: var(--sf-text);
    font-weight: 800;
    text-decoration: none;
}

.sf-matches-day-nav a:hover {
    border-color: var(--sf-gold);
}

@media (max-width: 760px) {
    .sf-matches-day-nav a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Matches presentation refinements */
.sf-matches-heading {
    text-align: center;
}

.sf-matches-heading h1 {
    margin: 8px 0 14px;
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 900;
    line-height: 1.05;
}

.sf-matches-heading .sf-matches-score {
    margin-top: 18px;
}

.sf-matches-item h2 {
    margin: 0 0 8px;
    font-size: clamp(21px, 2.5vw, 27px);
    line-height: 1.25;
}

.sf-matches-item .sf-matches-game-time {
    margin-bottom: 8px;
}

.sf-matches-vote-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 14px;
}

.sf-matches-vote-buttons form {
    flex: 0 0 auto;
}

.sf-matches-item .sf-action-button {
    width: 112px;
    min-height: 40px;
    padding: 6px 12px;
    border-width: 2px;
    border-radius: 9px;
    font-size: 18px;
    letter-spacing: 1px;
}

@media (max-width: 760px) {
    .sf-matches-heading h1 {
        font-size: 48px;
    }

    .sf-matches-item .sf-action-button {
        width: 96px;
        min-height: 38px;
        font-size: 17px;
    }
}

/* Centered Matches cards using established SizzFizz controls */
.sf-matches-item {
    text-align: center;
}

.sf-matches-item h2 {
    max-width: 750px;
    margin: 0 auto 10px;
}

.sf-matches-item .sf-matches-game-time {
    margin-bottom: 8px;
}

.sf-matches-vote-buttons {
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.sf-matches-item .sf-action-button {
    width: 138px;
    min-height: 48px;
    gap: 9px;
    padding: 7px 12px;
    border: 3px solid #ebedee;
    border-radius: 12px;
    font-size: 20px;
}

.sf-matches-item .sf-action-icon {
    font-size: 27px;
}

@media (max-width: 760px) {
    .sf-matches-item .sf-action-button {
        width: 122px;
        min-height: 44px;
        font-size: 18px;
    }

    .sf-matches-item .sf-action-icon {
        font-size: 24px;
    }
}

/* Personal Matches accuracy and participation */
.sf-matches-personal-stats {
    margin: 22px auto 0;
    text-align: center;
}

.sf-matches-heading .sf-matches-accuracy-label {
    color: var(--sf-gold-light);
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sf-matches-heading .sf-matches-accuracy-value {
    margin: 8px 0 18px;
    color: var(--sf-text);
    font-size: clamp(44px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
}

.sf-matches-stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.sf-matches-stats-row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sf-matches-stats-row strong {
    color: var(--sf-text);
    font-size: 25px;
    font-weight: 900;
}

.sf-matches-stats-row span {
    color: var(--sf-muted);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .sf-matches-stats-row {
        gap: 28px;
    }
}

/* Personal Matches record reset */
.sf-matches-record-date {
    margin: 16px 0 12px;
    color: var(--sf-muted);
    font-size: 14px;
}

.sf-matches-reset-button {
    margin-top: 8px;
    padding: 10px 16px;
    border: 1px solid #646c78;
    border-radius: 8px;
    background: transparent;
    color: var(--sf-text);
    font: inherit;
    cursor: pointer;
}

.sf-matches-reset-button:hover,
.sf-matches-reset-button:focus-visible {
    border-color: var(--sf-gold);
    color: var(--sf-gold);
}
