:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #162f3b;
    background: #f2f6f5;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --color-ink: #102c3a;
    --color-text: #162f3b;
    --color-muted: #637780;
    --color-subtle: #71848b;
    --color-brand: #19785b;
    --color-brand-bright: #29966f;
    --color-brand-soft: #e9f5ee;
    --color-border: #dce7e3;
    --color-surface: #fff;
    --color-page: #f2f6f5;
    --radius-card: 20px;
    --shadow-card: 0 14px 36px rgb(16 44 58 / 7%);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    padding: 1px 20px 24px;
    background:
        radial-gradient(ellipse at 90% 0%, rgb(46 164 126 / 10%), transparent 34rem),
        var(--color-page);
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgb(41 150 111 / 38%);
    outline-offset: 3px;
}

.site-header {
    display: flex;
    width: min(100%, 1120px);
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px auto 34px;
    padding: 12px 18px 12px 22px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 18px;
    color: #fff;
    background: var(--color-ink);
    box-shadow: 0 12px 30px rgb(16 44 58 / 14%);
}

.brand {
    flex: 0 0 auto;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.055em;
    text-decoration: none;
}

.brand span {
    color: #29966f;
}

.site-nav,
.site-nav form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgb(255 255 255 / 82%);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: #fff;
    background: rgb(255 255 255 / 10%);
}

.site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 #29966f;
}

.user-greeting {
    max-width: 180px;
    overflow: hidden;
    color: rgb(255 255 255 / 70%);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content {
    width: min(100%, 1120px);
    min-height: 55vh;
    margin: 0 auto;
}

.site-footer {
    margin: 36px auto 0;
    color: var(--color-subtle);
    font-size: 0.85rem;
    text-align: center;
}

.mobile-nav {
    display: none;
}

.panel {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.auth-panel,
.form-panel {
    width: min(100%, 620px);
    margin: 0 auto;
}

.auth-panel {
    max-width: 500px;
    padding: clamp(28px, 6vw, 44px);
    border-top: 4px solid var(--color-brand-bright);
}

h1,
h2,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(1.9rem, 5vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.12;
}

h2 {
    margin: 10px 0 0;
    color: var(--color-ink);
    font-size: 1.22rem;
    font-weight: 780;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.eyebrow,
.page-heading .eyebrow,
.panel .eyebrow {
    margin: 0 0 9px;
    color: #257c63;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.muted {
    color: var(--color-muted);
    line-height: 1.6;
}

.auth-panel > .muted {
    margin: 13px 0 0;
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.page-heading > div {
    min-width: 0;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--color-brand);
    box-shadow: 0 5px 12px rgb(25 120 91 / 16%);
}

.button-primary:hover {
    background: #125d45;
}

.button-secondary {
    color: #185f49;
    border-color: #b8d9cb;
    background: #eff8f3;
}

.button-secondary:hover {
    background: #e1f1e8;
}

.button-quiet {
    color: #36535f;
    border-color: var(--color-border);
    background: #fff;
}

.button-quiet:hover {
    background: #f2f7f5;
}

.site-nav .button-quiet {
    min-height: 42px;
    padding: 8px 14px;
    border-color: rgb(255 255 255 / 25%);
    color: #fff;
    background: transparent;
}

.site-nav .button-quiet:hover {
    background: rgb(255 255 255 / 10%);
}

.button-wide {
    width: 100%;
}

.form-stack {
    display: grid;
    gap: 11px;
    margin-top: 24px;
}

.form-stack label {
    margin-top: 5px;
    color: #25434f;
    font-size: 0.93rem;
    font-weight: 750;
}

.form-stack input:not([type="checkbox"]),
.form-stack select,
.form-stack textarea {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #bfd0cb;
    border-radius: 12px;
    color: #18343f;
    background: #fff;
    font: inherit;
}

.form-stack input::placeholder,
.form-stack textarea::placeholder {
    color: #71848b;
}

.form-stack textarea {
    min-height: 112px;
    resize: vertical;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
    outline: 3px solid rgb(41 150 111 / 20%);
    border-color: var(--color-brand-bright);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field-row > div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.checkbox-row {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 11px;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #e2ece7;
    border-radius: 12px;
    background: #f2f7f5;
}

.checkbox-row input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    accent-color: var(--color-brand);
}

.checkbox-row span {
    color: #25434f;
    font-weight: 650;
    line-height: 1.45;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.alert {
    padding: 13px 15px;
    border-radius: 12px;
    line-height: 1.5;
}

.alert-error {
    color: #8f2d2d;
    border: 1px solid #f1c5c5;
    background: #fff1f1;
}

.alert-warning {
    color: #75521a;
    border: 1px solid #eedaa9;
    background: #fff9e8;
}

.alert-success {
    color: #1e6549;
    border: 1px solid #c0e3d1;
    background: #edf8f1;
}

.match-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.club-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.club-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.club-card .muted {
    margin-bottom: 0;
}

.club-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.club-court-list {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    color: #25434f;
}

.club-create-panel,
.club-memberships {
    margin-bottom: 18px;
}

.club-create-panel h2,
.club-memberships h2,
.match-detail-section h2 {
    margin-top: 0;
}

.club-inline-form,
.club-hours-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    align-items: end;
    gap: 12px;
    margin: 12px 0;
}

.club-inline-form label,
.club-hours-form label {
    display: grid;
    gap: 6px;
    color: #526771;
    font-size: 0.84rem;
    font-weight: 700;
}

.club-inline-form input,
.club-inline-form select,
.club-hours-form input {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #cbdad5;
    border-radius: 10px;
    color: var(--color-text);
    background: #fff;
}

.club-hours-form fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.club-hours-form legend {
    padding: 0 6px;
    color: var(--color-ink);
    font-weight: 750;
}

.club-hours-form > button {
    grid-column: 1 / -1;
    justify-self: end;
}

.club-detail .match-detail-section {
    margin-top: 28px;
}

.reservation-panel,
.reservation-list-section {
    margin-bottom: 20px;
}

.reservation-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.reservation-ranges li {
    padding: 8px 12px;
    border: 1px solid #b8d9cb;
    border-radius: 999px;
    color: #245947;
    background: var(--color-brand-soft);
    font-weight: 700;
}

.reservation-list {
    display: grid;
    gap: 14px;
}

.reservation-card {
    display: grid;
    gap: 8px;
}

.reservation-card h3 {
    margin: 0 0 8px;
}

.filter-panel {
    margin: 0 0 20px;
    padding: 0 18px;
    border: 1px solid #dce7e3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgb(16 44 58 / 4%);
}

.filter-panel summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    color: #25434f;
    font-weight: 800;
    cursor: pointer;
    list-style-position: inside;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 2px 0 18px;
}

.filter-form label {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.filter-form label span {
    color: #637780;
    font-size: 0.78rem;
    font-weight: 750;
}

.filter-form .filter-compatible {
    display: flex;
    align-items: center;
    gap: 9px;
}

.filter-form .filter-compatible input {
    width: 20px;
    min-height: 20px;
    flex: 0 0 20px;
    accent-color: var(--color-brand);
}

.filter-form .filter-compatible span {
    color: #25434f;
    font-size: 0.88rem;
    line-height: 1.4;
}

.filter-form .filter-hint {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.filter-form input,
.filter-form select {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #bfd0cb;
    border-radius: 10px;
    color: #18343f;
    background: #fff;
    font: inherit;
}

.filter-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 8px;
    grid-column: 1 / -1;
}

.match-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    padding: clamp(20px, 3vw, 28px);
}

.match-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #b8d9cb;
    content: "";
}

.match-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.match-card-heading > div {
    min-width: 0;
}

.match-card-heading h2 {
    margin-top: 9px;
}

.badge,
.places {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border: 1px solid #b8d9cb;
    border-radius: 999px;
    color: #245947;
    background: var(--color-brand-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.025em;
}

.places {
    flex: 0 0 auto;
    color: #174d3b;
    background: #e0f1e8;
    white-space: nowrap;
}

.match-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.match-details div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce7e3;
    border-radius: 12px;
    background: #f2f7f5;
}

.match-details dt {
    margin-bottom: 5px;
    color: var(--color-subtle);
    font-size: 0.76rem;
    font-weight: 700;
}

.match-details dd {
    margin: 0;
    color: #25434f;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.match-notes {
    margin: 0;
    color: #526771;
    line-height: 1.55;
}

.match-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: auto;
}

.match-actions form {
    margin: 0;
}

.joined-label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    color: #1e6549;
    background: #edf8f1;
    font-size: 0.9rem;
    font-weight: 750;
}

.empty-state {
    padding: clamp(30px, 8vw, 58px);
    border-style: dashed;
    text-align: center;
}

.empty-state h2 {
    margin-top: 0;
}

.empty-state .button {
    margin-top: 10px;
}

.empty-state .muted {
    margin: 12px auto;
}

.match-detail-panel > h2 {
    margin-top: 6px;
}

.match-detail-panel > .match-details {
    margin: 2px 0 24px;
}

.participant-list {
    display: grid;
    gap: 9px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.participant-list li {
    padding: 12px 14px;
    border: 1px solid #dce7e3;
    border-radius: 12px;
    color: #25434f;
    background: #f2f7f5;
    font-weight: 650;
}

.match-detail-section {
    margin-top: 24px;
}

.match-detail-section p {
    color: #526771;
    line-height: 1.6;
}

.profile-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    border-left: 4px solid #29966f;
}

.profile-summary h2 {
    margin-top: 0;
    font-size: 1.4rem;
}

.profile-summary .eyebrow {
    margin-bottom: 7px;
}

.profile-level {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.field-caption {
    color: #71848b;
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-level strong {
    color: #185f49;
    font-size: 1.03rem;
}

.profile-panel {
    margin-bottom: 20px;
}

.section-heading {
    margin-bottom: 12px;
}

.section-heading h2 {
    margin-top: 0;
}

.position-options,
.availability-fieldset {
    min-width: 0;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
}

.position-options legend,
.availability-fieldset legend {
    margin-bottom: 9px;
    color: #25434f;
    font-size: 1rem;
    font-weight: 800;
}

.position-options legend .muted {
    font-size: 0.83rem;
    font-weight: 500;
}

.position-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.position-option {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1px solid #dce7e3;
    border-radius: 12px;
    background: #f2f7f5;
}

.position-option input {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    accent-color: #19785b;
}

.position-option span {
    color: #25434f;
    font-size: 0.9rem;
    font-weight: 650;
}

.availability-fieldset > .muted {
    margin: 0 0 14px;
    font-size: 0.91rem;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.availability-day {
    min-width: 0;
    padding: 15px;
    border: 1px solid #dce7e3;
    border-radius: 15px;
    background: #f8faf9;
}

.availability-day h3 {
    margin: 0 0 11px;
    color: #102c3a;
    font-size: 0.97rem;
}

.availability-slots {
    display: grid;
    gap: 8px;
}

.availability-slot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 7px;
}

.availability-slot label {
    display: grid;
    min-width: 0;
    gap: 4px;
    margin: 0;
}

.availability-slot label span {
    color: #637780;
    font-size: 0.73rem;
    font-weight: 700;
}

.availability-slot input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 7px 8px;
    border: 1px solid #bfd0cb;
    border-radius: 9px;
    color: #18343f;
    background: #fff;
    font: inherit;
}

.availability-slot .availability-remove {
    min-height: 42px;
    padding: 7px 9px;
    font-size: 0.78rem;
}

.availability-add {
    min-height: 38px;
    margin-top: 10px;
    padding: 7px 11px;
    font-size: 0.82rem;
}

.availability-add:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.competition-list,
.ranking-list {
    display: grid;
    gap: 16px;
}

.competition-card {
    display: grid;
    gap: 18px;
    border-left: 4px solid #b8d9cb;
}

.competition-card-heading,
.competition-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.competition-card-heading > div {
    min-width: 0;
}

.competition-card-heading h2 {
    margin-top: 8px;
}

.competition-modality {
    flex: 0 0 auto;
    color: #526771;
    font-size: 0.82rem;
    font-weight: 800;
}

.competition-card-footer {
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid #dce7e3;
}

.competition-card-footer .muted {
    margin: 0;
    font-size: 0.9rem;
}

.tournament-filters {
    padding-top: 0;
}

.competition-detail {
    display: grid;
    gap: 20px;
}

.schedule-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.schedule-list li {
    display: grid;
    gap: 8px;
    padding: 15px;
    border: 1px solid #dce7e3;
    border-radius: 13px;
    background: #f2f7f5;
}

.schedule-list li > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.schedule-list li > div:first-child strong {
    color: #102c3a;
}

.schedule-list li > div span,
.schedule-list li p {
    color: #637780;
    font-size: 0.88rem;
}

.schedule-list li p {
    margin: 0;
    line-height: 1.5;
}

.ranking-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 18px;
}

.ranking-card .eyebrow {
    margin-bottom: 7px;
}

.ranking-card h2 {
    margin-top: 0;
}

.ranking-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
}

.ranking-values div {
    min-width: 0;
    padding: 11px;
    border-radius: 11px;
    background: #f2f7f5;
}

.ranking-values dt {
    margin-bottom: 5px;
    color: #71848b;
    font-size: 0.74rem;
    font-weight: 700;
}

.ranking-values dd {
    margin: 0;
    color: #25434f;
    font-weight: 750;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    body {
        padding: 1px 16px 24px;
    }

    .site-header {
        min-height: 64px;
        margin: 12px auto 28px;
        padding: 10px 13px 10px 17px;
    }

    .site-nav {
        gap: 5px;
    }

    .site-nav a {
        padding: 0 10px;
        font-size: 0.88rem;
    }

    .user-greeting {
        max-width: 120px;
    }

    .page-heading {
        align-items: flex-start;
    }

    .page-heading .button {
        flex: 0 0 auto;
    }

    .match-list {
        grid-template-columns: 1fr;
    }

    .club-list {
        grid-template-columns: 1fr;
    }

    .match-card {
        padding: 22px;
    }

    .filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body {
        padding: 1px 14px calc(96px + env(safe-area-inset-bottom));
    }

    .site-header {
        margin-bottom: 24px;
    }

    .site-nav {
        gap: 8px;
    }

    .site-nav a {
        display: none;
    }

    .site-nav form {
        display: block;
    }

    .user-greeting {
        max-width: min(32vw, 150px);
        font-size: 0.82rem;
    }

    .content {
        min-height: 60vh;
    }

    .page-heading {
        flex-direction: column;
        gap: 14px;
    }

    .page-heading .button {
        width: 100%;
    }

    .mobile-nav {
        position: fixed;
        z-index: 10;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 4px;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
        border-top: 1px solid #dce7e3;
        background: rgb(255 255 255 / 97%);
        box-shadow: 0 -8px 24px rgb(16 44 58 / 9%);
        backdrop-filter: blur(12px);
    }

    .mobile-nav a {
        min-height: 58px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-radius: 12px;
        color: #526771;
        font-size: 0.72rem;
        font-weight: 750;
        text-decoration: none;
    }

    .mobile-nav a[aria-current="page"] {
        color: #185f49;
        background: #e9f5ee;
    }

    .mobile-nav svg {
        width: 21px;
        height: 21px;
        stroke: currentColor;
        stroke-width: 1.8;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .site-footer {
        margin-top: 28px;
    }

    .match-details {
        gap: 9px;
    }

}

@media (max-width: 420px) {
    .field-row,
    .match-details {
        grid-template-columns: 1fr;
    }

    .match-card-heading {
        flex-wrap: wrap;
    }

    .match-actions,
    .match-actions form,
    .match-actions .button {
        width: 100%;
    }

    .match-actions form .button {
        width: 100%;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .button {
        width: 100%;
    }

    .auth-panel,
    .form-panel {
        padding: 22px 18px;
    }

    .availability-grid,
    .position-list,
    .filter-form {
        grid-template-columns: 1fr;
    }

    .availability-slot {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .availability-slot .availability-remove {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .profile-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-level {
        justify-items: start;
        text-align: left;
    }

    .ranking-card {
        grid-template-columns: 1fr;
    }

    .ranking-values {
        grid-template-columns: 1fr;
    }

    .competition-card-heading,
    .competition-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-card-footer .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
