.athlete-app-page,
.athlete-auth-page {
    min-height: 100vh;
    background: #f4f5f7;
}

.athlete-auth-page {
    overflow: hidden;
}

.athlete-auth-shell {
    height: 100dvh;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.65fr);
    overflow: hidden;
}

.athlete-auth-brand {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    padding: 46px min(6vw, 80px);
    background: #080808;
    color: #ffffff;
    overflow: hidden;
}

.athlete-auth-brand > a {
    width: fit-content;
    display: inline-flex;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 14px;
}

.athlete-auth-brand img {
    width: min(330px, 100%);
}

.athlete-auth-brand h1 {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    line-height: 1.02;
}

.athlete-auth-brand p:not(.section-kicker) {
    max-width: 580px;
    margin: 18px 0 0;
    color: #c8ccd2;
    font-size: 1.05rem;
}

.athlete-auth-card {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
    background: #ffffff;
    overflow: hidden;
}

.athlete-card,
.athlete-panel,
.athlete-event-card {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(8, 8, 8, 0.08);
}

.athlete-card {
    width: min(100%, 560px);
    padding: 30px;
}

.athlete-card--wide {
    width: min(100%, 880px);
}

.athlete-auth-card .athlete-card--wide {
    max-height: calc(100dvh - 84px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
}

.athlete-auth-card .athlete-card--wide .athlete-registration-form {
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.athlete-card h1,
.athlete-page-head h1,
.athlete-panel h2 {
    margin: 0;
    color: #080808;
    font-weight: 900;
    line-height: 1.08;
}

.athlete-card h1 {
    font-size: 2rem;
}

.athlete-card__lead,
.athlete-page-head p,
.athlete-panel p {
    color: #666a72;
}

.athlete-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.athlete-registration-form {
    gap: 0;
}

.athlete-wizard-switches {
    position: sticky;
    top: -1px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0 16px;
    padding: 4px 0 12px;
    background: #ffffff;
}

.athlete-wizard-switch {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 10px;
    color: #666a72;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.15;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.athlete-wizard-switch:hover,
.athlete-wizard-switch:focus-visible {
    border-color: #080808;
    color: #080808;
    transform: translateY(-1px);
}

.athlete-wizard-switch.is-active {
    border-color: #e10600;
    background: #fff1f0;
    color: #ad0500;
}

.athlete-wizard-switch__number {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e2e4e8;
    color: #666a72;
    font-size: 0.78rem;
}

.athlete-wizard-switch.is-active .athlete-wizard-switch__number {
    background: #e10600;
    color: #ffffff;
}

.athlete-wizard-switch__label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.athlete-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.athlete-form-group,
.athlete-check {
    display: grid;
    gap: 8px;
}

.athlete-form-group--full,
.athlete-check {
    grid-column: 1 / -1;
}

.athlete-form label,
.athlete-form legend {
    color: #171717;
    font-size: 0.9rem;
    font-weight: 900;
}

.athlete-form input,
.athlete-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 13px;
    color: #171717;
    outline: none;
}

.athlete-form input:focus,
.athlete-form select:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.athlete-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.athlete-check input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.athlete-form-section {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    margin: 0;
    padding: 18px;
}

.athlete-form-section--wizard[hidden] {
    display: none;
}

.athlete-wizard-panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e4e8;
}

.athlete-wizard-consent {
    display: grid;
    gap: 14px;
}

.athlete-wizard-login-link {
    display: block;
    margin-top: 16px;
    text-align: center;
}

.athlete-form-section legend {
    padding: 0 8px;
}

.athlete-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.athlete-muted-link {
    color: #666a72;
    font-weight: 800;
}

.athlete-muted-link:hover,
.athlete-muted-link:focus-visible {
    color: #e10600;
}

.athlete-alert {
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 13px 15px;
    font-weight: 800;
}

.athlete-alert--success {
    background: #e7f7ef;
    color: #106235;
}

.athlete-alert--error {
    background: #ffe9e8;
    color: #ad0500;
}

.athlete-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid #e2e4e8;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.athlete-topbar__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1220px, calc(100% - 36px));
    margin-inline: auto;
}

.athlete-logo img {
    width: 220px;
}

.athlete-account-chip {
    display: grid;
    gap: 2px;
    text-align: right;
}

.athlete-account-chip strong {
    color: #080808;
    line-height: 1.1;
}

.athlete-account-chip span {
    color: #666a72;
    font-size: 0.84rem;
    font-weight: 800;
}

.athlete-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px;
}

.athlete-menu-button span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #080808;
}

.athlete-menu-button b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.athlete-shell {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 28px;
    width: min(1220px, calc(100% - 36px));
    margin: 28px auto 54px;
}

.athlete-sidebar {
    align-self: start;
    position: sticky;
    top: 100px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(8, 8, 8, 0.08);
    padding: 10px;
}

.athlete-sidebar nav {
    display: grid;
    gap: 4px;
}

.athlete-sidebar a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 12px;
    color: #666a72;
    font-weight: 900;
}

.athlete-sidebar a:hover,
.athlete-sidebar a:focus-visible,
.athlete-sidebar a.is-active {
    background: #080808;
    color: #ffffff;
}

.athlete-sidebar__logout {
    margin-top: 8px;
    color: #ad0500 !important;
}

.athlete-sidebar__logout:hover,
.athlete-sidebar__logout:focus-visible {
    background: #ffe9e8 !important;
    color: #ad0500 !important;
}

.athlete-main {
    min-width: 0;
}

.athlete-page-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 22px;
}

.athlete-page-head h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.athlete-page-head p {
    max-width: 720px;
    margin: 10px 0 0;
}

.athlete-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.athlete-stat {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(8, 8, 8, 0.08);
}

.athlete-stat span {
    color: #666a72;
    font-weight: 800;
}

.athlete-stat strong {
    display: block;
    margin-top: 8px;
    color: #080808;
    font-size: 2rem;
    line-height: 1;
}

.athlete-event-grid,
.athlete-panels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.athlete-event-card {
    overflow: hidden;
}

.athlete-event-card__image {
    aspect-ratio: 16 / 9;
    background: #080808;
}

.athlete-event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.athlete-event-card__body,
.athlete-panel {
    padding: 18px;
}

.athlete-event-card h2 {
    min-height: 54px;
    margin: 0;
    color: #080808;
    font-size: 1.25rem;
    line-height: 1.15;
}

.athlete-event-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.athlete-event-meta span {
    display: block;
    color: #666a72;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-event-meta strong {
    color: #080808;
}

.athlete-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 8px;
    padding: 0 9px;
    background: rgba(225, 6, 0, 0.1);
    color: #ad0500;
    font-size: 0.78rem;
    font-weight: 900;
}

.athlete-event-payment-link {
    margin-bottom: 12px;
}

.athlete-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
    touch-action: pan-x;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(8, 8, 8, 0.08);
}

.athlete-table-wrap:focus-within {
    outline: 3px solid rgba(225, 6, 0, 0.12);
    outline-offset: 3px;
}

.athlete-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.athlete-table th,
.athlete-table td {
    border-bottom: 1px solid #e2e4e8;
    padding: 14px 15px;
    text-align: left;
    vertical-align: top;
}

.athlete-table th {
    background: #080808;
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.athlete-table tr:last-child td {
    border-bottom: 0;
}

.athlete-empty {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    color: #666a72;
    font-weight: 800;
}

.button {
    gap: 8px;
}

.button i {
    font-size: 1rem;
    line-height: 1;
}

.athlete-table--athletes {
    min-width: 0;
}

.athlete-table--athletes th,
.athlete-table--athletes td {
    overflow-wrap: anywhere;
}

.athlete-table--athletes .athlete-icon-actions {
    flex-wrap: nowrap;
}

.athlete-inline-action {
    margin: 0;
}

.athlete-icon-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.management-event-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
}

.management-event-actions > * {
    flex: 0 0 auto;
}

.management-event-actions > .athlete-inline-action {
    display: inline-flex;
}

.management-event-actions .button {
    white-space: nowrap;
}

.management-event-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.management-event-toggle.is-active {
    border-color: #b9e1cf;
    background: #effaf4;
    color: #087443;
}

.management-event-toggle.is-inactive {
    border-color: #f0d2ac;
    background: #fff8ed;
    color: #8a4b00;
}

.athlete-icon-button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    color: #080808;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.athlete-icon-button:hover,
.athlete-icon-button:focus-visible {
    border-color: #080808;
    background: #080808;
    color: #ffffff;
    transform: translateY(-1px);
}

.athlete-icon-button--danger {
    color: #ad0500;
}

.athlete-icon-button--danger:hover,
.athlete-icon-button--danger:focus-visible {
    border-color: #ad0500;
    background: #ad0500;
    color: #ffffff;
}

.athlete-field-help {
    color: #666a72;
    font-size: 0.82rem;
    font-weight: 700;
}

.athlete-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: 24px;
}

.athlete-modal[hidden] {
    display: none;
}

.athlete-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.72);
}

.athlete-modal__dialog {
    position: relative;
    width: min(880px, 100%);
    max-height: min(88vh, 900px);
    overflow-y: auto;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.athlete-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.athlete-modal__head h2 {
    margin: 0;
    color: #080808;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.1;
}

.athlete-modal__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    color: #080808;
    cursor: pointer;
}

.athlete-modal__close:hover,
.athlete-modal__close:focus-visible {
    background: #080808;
    color: #ffffff;
}

.athlete-modal__lead {
    margin: 10px 0 0;
    color: #666a72;
    font-weight: 700;
}

.management-modal-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.management-modal-summary div {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 12px;
}

.management-modal-summary span {
    display: block;
    color: #666a72;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.management-modal-summary strong {
    display: block;
    margin-top: 5px;
    color: #080808;
    overflow-wrap: anywhere;
}

.athlete-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
}

.athlete-payment-summary-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.athlete-payment-summary-list div {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    padding: 13px;
    background: #f8f9fb;
}

.athlete-payment-summary-list span {
    display: block;
    color: #666a72;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-payment-summary-list strong {
    display: block;
    margin-top: 6px;
    color: #080808;
    overflow-wrap: anywhere;
}

.athlete-payment-method-form {
    margin: 0 0 18px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 12px;
}

.athlete-payment-method-form .athlete-form-grid {
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
}

.athlete-form-actions--inline {
    margin-top: 0;
}

.athlete-payment-modalities-form {
    margin: 0 0 18px;
}

.athlete-modality-picker {
    display: grid;
    gap: 12px;
    background: #f8f9fb;
}

.athlete-modality-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.athlete-modality-option {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px;
    cursor: pointer;
}

.athlete-modality-option input {
    width: 18px;
    min-height: 18px;
    flex: 0 0 auto;
}

.athlete-modality-option span {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.athlete-modality-option strong {
    color: #080808;
    font-size: 0.92rem;
    line-height: 1.15;
}

.athlete-modality-option small {
    color: #666a72;
    font-weight: 900;
}

.athlete-modality-option:has(input:checked) {
    border-color: #e10600;
    background: #fff1f0;
}

.athlete-modality-option.is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.athlete-modality-option.is-disabled input {
    cursor: not-allowed;
}

.athlete-modality-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 12px;
}

.athlete-modality-total span {
    color: #666a72;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-modality-total strong {
    color: #080808;
    font-size: 1.1rem;
    font-weight: 900;
}

.athlete-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    padding: 13px;
    color: #171717;
    outline: none;
}

.athlete-textarea:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.athlete-help-text {
    margin: 16px 0 0;
    color: #666a72;
    font-weight: 700;
}

.athlete-payment-qr {
    text-align: center;
}

.athlete-payment-environment-note {
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.45;
}

.athlete-payment-qr img {
    width: min(100%, 320px);
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px;
}

.athlete-pix-countdown {
    width: min(100%, 320px);
    display: grid;
    gap: 6px;
    margin: 14px auto 0;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 12px;
    text-align: center;
}

.athlete-pix-countdown span {
    color: #666a72;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-pix-countdown strong {
    color: #080808;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.athlete-pix-countdown.is-expired strong {
    color: #ad0500;
}

.athlete-card-preview {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    padding: 22px;
    background: linear-gradient(135deg, #111111 0%, #2e3238 58%, #ad0500 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(8, 8, 8, 0.18);
}

.athlete-card-preview__top,
.athlete-card-preview__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.athlete-card-preview strong {
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    letter-spacing: 0;
}

.athlete-card-preview span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-card-preview b {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.athlete-payment-success {
    max-width: 860px;
}

.management-section-spaced {
    margin-top: 16px;
}

.bracket-workspace {
    min-width: 0;
}

.bracket-event-head,
.bracket-panel-head,
.bracket-generation-bar,
.bracket-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bracket-event-head h2,
.bracket-panel-head h2 {
    margin: 0;
    color: #080808;
    font-size: 1.45rem;
    line-height: 1.12;
}

.bracket-event-head span,
.bracket-card-head span,
.bracket-selection-count {
    color: #666a72;
    font-weight: 800;
}

.bracket-status-chip {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: #f3f4f6;
    padding: 0 12px;
    color: #666a72;
    font-weight: 900;
}

.bracket-status-chip.is-ready {
    background: #e7f7ef;
    color: #106235;
}

.bracket-status-chip.is-error {
    background: #ffe9e8;
    color: #ad0500;
}

.bracket-event-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.bracket-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.bracket-summary-grid div {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 14px;
}

.bracket-summary-grid span {
    display: block;
    color: #666a72;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bracket-summary-grid strong {
    display: block;
    margin-top: 7px;
    color: #080808;
    font-size: 1.8rem;
    line-height: 1;
}

.bracket-summary-action a {
    display: inline-flex;
    margin-top: 8px;
    color: #e10600;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.bracket-summary-action a:hover,
.bracket-summary-action a:focus-visible {
    color: #080808;
}

.bracket-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.bracket-filter-group {
    display: grid;
    gap: 8px;
    align-content: start;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 10px 12px 12px;
}

.bracket-filter-group > span {
    color: #080808;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bracket-filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 7px;
}

.bracket-filter-chip {
    min-height: 28px;
    border: 1px solid #d9dce2;
    border-radius: 7px;
    background: #ffffff;
    padding: 0 8px;
    color: #171717;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
}

.bracket-filter-chip:hover,
.bracket-filter-chip:focus-visible,
.bracket-filter-chip.is-active {
    border-color: #080808;
    background: #080808;
    color: #ffffff;
}

.bracket-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: 12px;
    margin-top: 18px;
    max-height: 344px;
    overflow-y: auto;
    padding-right: 6px;
}

.bracket-category-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 8px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
    min-height: 0;
}

.bracket-category-card.has-warning {
    border-color: #ffd8a8;
    background: #fff8ef;
}

.bracket-category-card strong {
    color: #080808;
    line-height: 1.22;
    overflow: hidden;
}

.bracket-category-card span {
    color: #666a72;
    font-weight: 800;
}

.bracket-category-card .button {
    min-height: 38px;
}

.bracket-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.bracket-generation-bar {
    margin: 18px 0;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 12px;
}

.bracket-size-control {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bracket-size-control label {
    cursor: pointer;
}

.bracket-size-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bracket-size-control span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 12px;
    color: #171717;
    font-weight: 900;
}

.bracket-size-control input:checked + span {
    border-color: #080808;
    background: #080808;
    color: #ffffff;
}

.bracket-athlete-list {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.bracket-table-toolbar,
.bracket-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bracket-table-toolbar {
    color: #666a72;
    font-size: 0.9rem;
    font-weight: 800;
}

.bracket-table-toolbar label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bracket-table-toolbar select {
    min-height: 36px;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 8px;
    font-weight: 800;
}

.bracket-athlete-table th:first-child,
.bracket-athlete-table td:first-child {
    width: 58px;
    text-align: center;
}

.bracket-athlete-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.bracket-athlete-table tr.is-marked td {
    background: #fff1f0;
}

.bracket-athlete-table td span {
    color: #666a72;
    font-size: 0.88rem;
    font-weight: 800;
}

.bracket-pagination {
    color: #666a72;
    font-weight: 900;
}

.bracket-pagination .button:disabled,
.bracket-generation-bar .button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.bracket-athlete-row {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 58px minmax(220px, 1fr) repeat(4, minmax(105px, 0.42fr));
    gap: 10px;
    align-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 12px;
    color: #171717;
    cursor: pointer;
}

.bracket-athlete-row:hover,
.bracket-athlete-row:focus-within {
    border-color: #080808;
}

.bracket-athlete-row.is-marked {
    border-color: #ffc7c4;
    background: #fff1f0;
}

.bracket-athlete-row.has-warning {
    box-shadow: inset 4px 0 0 #ffb24d;
}

.bracket-athlete-row input {
    width: 18px;
    height: 18px;
}

.bracket-athlete-id {
    color: #e10600;
    font-weight: 900;
}

.bracket-athlete-name {
    min-width: 0;
    color: #080808;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.bracket-athlete-name small {
    display: block;
    margin-top: 2px;
    color: #666a72;
    font-weight: 800;
}

.bracket-athlete-row > span:not(.bracket-athlete-id):not(.bracket-athlete-name) {
    color: #666a72;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.bracket-results {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.bracket-card {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.bracket-card-head {
    margin-bottom: 12px;
}

.bracket-card-head strong {
    display: block;
    color: #080808;
    font-size: 1.1rem;
}

.bracket-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bracket-column {
    display: grid;
    gap: 8px;
    border: 1px dashed #d9dce2;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 10px;
}

.bracket-slot {
    min-height: 44px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 8px;
}

.bracket-slot span {
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: #080808;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.bracket-slot strong {
    min-width: 0;
    color: #080808;
    overflow-wrap: anywhere;
}

.bracket-slot small {
    color: #666a72;
    font-weight: 800;
}

.bracket-slot.is-bye strong {
    color: #9a9fa9;
    font-style: italic;
}

.bracket-slot.is-marked {
    border-color: #ffc7c4;
    background: #fff1f0;
}

.bracket-pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bracket-pdf-actions form {
    margin: 0;
}

.bracket-incomplete-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.bracket-incomplete-card {
    display: grid;
    gap: 14px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.bracket-incomplete-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bracket-incomplete-head strong,
.bracket-incomplete-head span {
    display: block;
}

.bracket-incomplete-head strong {
    color: #080808;
    font-weight: 900;
}

.bracket-incomplete-head span {
    margin-top: 3px;
    color: #666a72;
    font-size: 0.86rem;
    font-weight: 800;
}

.bracket-missing-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.bracket-missing-tags span {
    margin: 0;
    border-radius: 999px;
    background: #ffe9e8;
    padding: 5px 8px;
    color: #ad0500;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.management-subhead {
    margin-bottom: 14px;
}

.management-subhead h1 {
    font-size: 1.6rem;
}

.management-filter-form {
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: end;
    margin-top: 0;
}

.management-inline-form {
    min-width: 360px;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.management-inline-form select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 10px;
    color: #171717;
    outline: none;
}

.management-inline-form select:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.management-table {
    min-width: 980px;
}

.management-table td[data-label="Ações"] {
    min-width: 220px;
    white-space: nowrap;
}

.management-modalities {
    grid-column: 1 / -1;
}

.management-modalities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.management-payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.management-payment-method {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 14px;
    cursor: pointer;
}

.management-payment-method input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.management-payment-method span {
    display: grid;
    gap: 4px;
}

.management-payment-method strong {
    color: #080808;
}

.management-payment-method small {
    color: #666a72;
    font-weight: 700;
}

.management-payment-provider {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e4e8;
}

.management-payment-method--featured {
    border-color: rgba(226, 0, 0, 0.3);
    background: rgba(226, 0, 0, 0.04);
}

.athlete-alert--info {
    margin-top: 0.8rem;
    border-color: rgba(30, 86, 214, 0.2);
    background: rgba(30, 86, 214, 0.06);
    color: #1f2530;
}

.management-modality-option {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}

.management-modality-option .athlete-check {
    flex: 0 0 150px;
    grid-column: auto;
    margin: 0;
    align-items: center;
}

.management-modality-option input[type="text"] {
    flex: 1 1 120px;
    min-width: 0;
    min-height: 40px;
}

.management-modality-option input:disabled {
    background: #f3f4f6;
    color: #9a9fa9;
}

.management-poster-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.management-poster-preview {
    grid-column: 1 / -1;
}

.management-poster-current {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f8f9fb;
}

.management-poster-thumb {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.management-poster-thumb:focus-visible {
    outline: 3px solid rgba(225, 6, 0, 0.22);
    outline-offset: 3px;
}

.management-poster-current img {
    width: auto;
    max-width: 100%;
    max-height: 50px;
    border-radius: 6px;
    object-fit: contain;
    background: #080808;
}

.management-poster-current .button {
    grid-column: 3;
    justify-self: end;
}

.management-poster-empty {
    min-height: 74px;
    display: grid;
    place-items: center;
    border: 1px dashed #d9dce2;
    border-radius: 8px;
    background: #f8f9fb;
    color: #666a72;
    font-weight: 800;
}

.management-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.78);
}

.management-lightbox[hidden] {
    display: none;
}

.management-lightbox__dialog {
    position: relative;
    max-width: min(980px, 94vw);
    max-height: 90vh;
    display: grid;
    gap: 12px;
}

.management-lightbox__dialog img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 8px;
    object-fit: contain;
    background: #080808;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.management-lightbox__close {
    justify-self: end;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 14px;
    color: #171717;
    font-weight: 900;
    cursor: pointer;
}

.management-lightbox__close:focus-visible {
    outline: 3px solid rgba(225, 6, 0, 0.36);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .athlete-auth-page {
        overflow: auto;
    }

    .athlete-auth-shell,
    .athlete-shell,
    .athlete-event-grid,
    .athlete-panels-grid,
    .athlete-payment-grid {
        grid-template-columns: 1fr;
    }

    .athlete-auth-shell {
        height: auto;
        overflow: visible;
    }

    .athlete-auth-brand {
        min-height: auto;
        overflow: visible;
    }

    .athlete-auth-card {
        overflow: visible;
    }

    .athlete-auth-card .athlete-card--wide {
        max-height: none;
        overflow: visible;
    }

    .athlete-auth-card .athlete-card--wide .athlete-registration-form {
        overflow: visible;
    }

    .athlete-sidebar {
        position: fixed;
        inset: 72px 18px auto 18px;
        display: none;
        z-index: 35;
    }

    .athlete-sidebar.is-open {
        display: block;
    }

    .athlete-menu-button {
        display: block;
    }

    .athlete-account-chip {
        display: none;
    }

    .management-filter-form,
    .management-inline-form,
    .management-modalities-grid,
    .management-payment-methods,
    .management-poster-row,
    .bracket-summary-grid,
    .bracket-filters,
    .bracket-category-grid,
    .bracket-grid,
    .bracket-incomplete-grid {
        grid-template-columns: 1fr;
    }

    .bracket-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 344px;
    }

    .bracket-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bracket-athlete-row {
        grid-template-columns: auto 56px minmax(180px, 1fr);
    }

    .bracket-athlete-row > span:not(.bracket-athlete-id):not(.bracket-athlete-name) {
        grid-column: 3;
    }
}

@media (max-width: 680px) {
    .athlete-shell {
        width: calc(100% - 24px);
        gap: 18px;
        margin: 20px auto 42px;
    }

    .athlete-modal {
        padding: 12px;
    }

    .athlete-modal__dialog {
        max-height: 92vh;
        padding: 18px;
    }

    .athlete-modal__head {
        align-items: flex-start;
    }

    .athlete-auth-card,
    .athlete-auth-brand {
        padding: 28px 18px;
    }

    .athlete-auth-brand img,
    .athlete-logo img {
        width: 190px;
    }

    .athlete-auth-brand h1 {
        font-size: 2rem;
    }

    .athlete-card {
        padding: 22px;
    }

    .athlete-panel {
        padding: 18px;
    }

    .athlete-page-head h1 {
        font-size: 2.1rem;
    }

    .athlete-form-grid,
    .athlete-stats,
    .athlete-event-meta,
    .athlete-payment-summary-list,
    .athlete-modality-options,
    .management-modal-summary {
        grid-template-columns: 1fr;
    }

    .athlete-wizard-switches {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .athlete-payment-method-form .athlete-form-grid {
        grid-template-columns: 1fr;
    }

    .athlete-page-head {
        display: grid;
        align-items: start;
    }

    .bracket-event-head,
    .bracket-panel-head,
    .bracket-generation-bar,
    .bracket-card-head {
        display: grid;
        align-items: start;
    }

    .bracket-actions,
    .bracket-event-actions,
    .bracket-actions .button,
    .bracket-generation-bar .button,
    .bracket-panel-head .button {
        width: 100%;
    }

    .bracket-event-actions {
        justify-content: stretch;
    }

    .bracket-table-toolbar,
    .bracket-pagination,
    .bracket-incomplete-head {
        display: grid;
        justify-items: stretch;
    }

    .bracket-missing-tags {
        justify-content: flex-start;
    }

    .bracket-size-control {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bracket-size-control span {
        justify-content: center;
    }

    .bracket-athlete-row {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .bracket-athlete-id,
    .bracket-athlete-name,
    .bracket-athlete-row > span:not(.bracket-athlete-id):not(.bracket-athlete-name) {
        grid-column: 2;
    }

    .bracket-slot {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .bracket-slot small {
        grid-column: 2;
    }

    .management-modality-option {
        flex-direction: column;
        align-items: stretch;
    }

    .management-modality-option .athlete-check {
        flex-basis: auto;
    }

    .management-poster-current {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .management-poster-thumb,
    .management-poster-current .button {
        grid-column: 1;
    }

    .management-poster-current .button {
        justify-self: center;
    }

    .bracket-filters,
    .bracket-category-grid {
        grid-template-columns: 1fr;
    }

    .bracket-category-grid {
        grid-auto-rows: auto;
        max-height: 980px;
    }
}

/* Payment provider settings use a dense, two-column operations layout. */
.management-payment-settings {
    padding: 22px;
}

.management-payment-settings__intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e4e8;
}

.management-payment-settings__intro h2 {
    margin-bottom: 6px;
}

.management-payment-settings__lead {
    max-width: 680px;
    margin: 0;
    color: #69707a;
}

.management-payment-status {
    min-width: 112px;
    padding: 11px 14px;
    border: 1px solid #cfe6da;
    border-radius: 8px;
    background: #f0faf4;
    text-align: right;
}

.management-payment-status span,
.management-provider-card__label,
.management-webhook-box > span {
    display: block;
    color: #707781;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.management-payment-status strong {
    display: block;
    margin-top: 4px;
    color: #147542;
}

.management-providers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.management-provider-card {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #fbfcfd;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.management-provider-card.is-active {
    border-color: #e10600;
    background: #fffafa;
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.08);
}

.management-provider-card__legend {
    width: calc(100% - 28px);
    margin: 14px;
    padding: 0;
}

.management-provider-choice {
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
}

.management-provider-choice input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #e10600;
}

.management-provider-choice__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
    font-size: 1.05rem;
}

.management-provider-card.is-active .management-provider-choice__icon {
    background: #e10600;
}

.management-provider-choice > span:last-child {
    display: grid;
    gap: 3px;
}

.management-provider-choice strong {
    color: #101114;
    font-size: 1rem;
}

.management-provider-choice small {
    color: #69707a;
    font-weight: 600;
    line-height: 1.35;
}

.management-provider-card__body {
    padding: 0 14px 14px;
}

.management-provider-card__label {
    margin: 3px 0 8px;
}

.management-provider-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.management-payment-method--compact {
    min-height: 76px;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
}

.management-payment-method--compact strong {
    font-size: 0.88rem;
}

.management-payment-method--compact small {
    font-size: 0.76rem;
    line-height: 1.3;
}

.management-provider-note,
.management-payment-summary,
.management-provider-health {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.management-provider-note {
    margin-top: 12px;
    color: #69707a;
    font-size: 0.78rem;
    line-height: 1.4;
}

.management-provider-config {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.management-provider-config__row {
    grid-column: 1 / -1;
}

.management-provider-config__row label {
    display: block;
    margin-bottom: 5px;
    color: #20242a;
    font-size: 0.78rem;
    font-weight: 800;
}

.management-provider-config select {
    min-height: 40px;
}

.management-provider-health {
    padding: 8px;
    border: 1px solid #e1e4e8;
    border-radius: 7px;
    background: #ffffff;
}

.management-provider-health > i {
    margin-top: 2px;
    color: #9a6b00;
}

.management-provider-health.is-ready > i {
    color: #147542;
}

.management-provider-health span {
    display: grid;
    gap: 2px;
}

.management-provider-health strong,
.management-provider-health small {
    font-size: 0.75rem;
}

.management-provider-health small {
    color: #69707a;
    line-height: 1.25;
}

.management-webhook-box {
    display: grid;
    gap: 5px;
    margin-top: 10px;
    padding: 9px;
    border: 1px dashed #d5dbe2;
    border-radius: 7px;
    background: #f6f8fa;
}

.management-webhook-box code {
    display: block;
    overflow-wrap: anywhere;
    color: #20242a;
    font-size: 0.74rem;
}

.management-webhook-box small {
    color: #69707a;
    font-size: 0.73rem;
    line-height: 1.35;
}

.management-payment-summary {
    margin-top: 18px;
    padding: 11px 13px;
    border: 1px solid rgba(30, 86, 214, 0.16);
    border-radius: 8px;
    background: rgba(30, 86, 214, 0.06);
    color: #35435d;
    font-size: 0.82rem;
    line-height: 1.4;
}

.management-payment-summary > i {
    color: #1e56d6;
}

@media (max-width: 820px) {
    .management-providers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .management-payment-settings {
        padding: 16px;
    }

    .management-payment-settings__intro {
        display: grid;
    }

    .management-payment-status {
        width: fit-content;
        min-width: 0;
        text-align: left;
    }

    .management-provider-methods,
    .management-provider-config {
        grid-template-columns: 1fr;
    }

    .management-provider-config__row {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .athlete-table-wrap {
        overflow-x: visible;
        overflow-y: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .athlete-table,
    .athlete-table tbody,
    .athlete-table tr,
    .athlete-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .athlete-table {
        border-collapse: separate;
        border-spacing: 0;
    }

    .athlete-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .athlete-table tr {
        overflow: hidden;
        border: 1px solid #e2e4e8;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 10px 28px rgba(8, 8, 8, 0.08);
    }

    .athlete-table tr + tr {
        margin-top: 12px;
    }

    .athlete-table td {
        display: grid;
        grid-template-columns: minmax(108px, 0.38fr) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        border-bottom: 1px solid #e2e4e8;
        padding: 12px 14px;
        overflow-wrap: anywhere;
    }

    .athlete-table td::before {
        content: attr(data-label);
        color: #666a72;
        font-size: 0.74rem;
        font-weight: 900;
        line-height: 1.25;
        text-transform: uppercase;
    }

    .athlete-table td:empty {
        display: none;
    }

    .athlete-table td:last-child {
        border-bottom: 0;
    }

    .athlete-table td[data-label="Editar"],
    .athlete-table td[data-label="Ações"] {
        align-items: center;
    }

    .athlete-table td[data-label] > .athlete-icon-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .athlete-table td {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.athlete-form textarea {
    min-height: 112px;
    padding: 12px 13px;
    resize: vertical;
}

.management-map-field {
    grid-column: 1 / -1;
}

.management-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.management-map-actions small {
    color: #666a72;
    font-weight: 700;
}
.bracket-schedule-fields {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(130px, 0.7fr);
    gap: 10px;
    min-width: min(100%, 360px);
}

.bracket-schedule-fields label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.bracket-schedule-fields span {
    color: var(--color-muted);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bracket-schedule-fields input {
    min-height: 42px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-black);
    padding: 0 12px;
    font: inherit;
    font-weight: 800;
}

@media (max-width: 720px) {
    .bracket-schedule-fields {
        grid-template-columns: 1fr;
        width: 100%;
    }
}
.results-filter-grid {
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) auto;
    align-items: end;
}

.results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 18px;
}

.results-editor-panel,
.results-bracket-panel {
    align-self: start;
}

.results-medal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.results-medal-card {
    display: grid;
    gap: 8px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    padding: 14px;
    background: #ffffff;
}

.results-medal-card > span {
    color: #080808;
    font-size: 1rem;
    font-weight: 900;
}

.results-medal-card > strong {
    width: fit-content;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.results-medal-card--gold {
    border-color: #f5b301;
    background: #fffaf0;
}

.results-medal-card--gold > strong {
    background: #f5b301;
    color: #080808;
}

.results-medal-card--silver {
    border-color: #b8bec8;
    background: #f7f8fa;
}

.results-medal-card--silver > strong {
    background: #d7dbe2;
    color: #080808;
}

.results-medal-card--bronze {
    border-color: #b87533;
    background: #fff6ee;
}

.results-medal-card--bronze > strong {
    background: #b87533;
    color: #ffffff;
}

.results-clear-form {
    margin-top: 12px;
}

.results-bracket-list {
    display: grid;
    gap: 10px;
    max-height: 640px;
    overflow: auto;
    padding-right: 4px;
}

.results-bracket-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    padding: 12px;
    color: #080808;
    text-decoration: none;
}

.results-bracket-item:hover,
.results-bracket-item:focus-visible,
.results-bracket-item.is-active {
    border-color: #e10600;
    background: #fff5f5;
}

.results-bracket-item span,
.results-bracket-item small {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.results-bracket-item strong {
    overflow-wrap: anywhere;
}

.results-bracket-item small {
    color: #666a72;
    font-weight: 800;
}

.results-bracket-item em {
    border-radius: 999px;
    background: #f1f2f4;
    color: #666a72;
    padding: 5px 9px;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.results-bracket-item em.is-done {
    background: #e7f8ef;
    color: #047857;
}

@media (max-width: 1080px) {
    .results-layout,
    .results-filter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .results-medal-grid {
        grid-template-columns: 1fr;
    }

    .results-bracket-list {
        max-height: 520px;
    }
}
.management-lot-wizard,
.management-editor-field {
    grid-column: 1 / -1;
}

.management-lot-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
}

.management-lot-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.management-lot-tab {
    min-height: 40px;
    border: 1px solid #d8dbe2;
    border-radius: 8px;
    background: #f4f5f7;
    color: #080808;
    padding: 8px 14px;
    font-weight: 900;
    cursor: pointer;
}

.management-lot-tab.is-active {
    border-color: #080808;
    background: #080808;
    color: #ffffff;
}

.management-lot-panel {
    border: 1px solid #d8dbe2;
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.management-lot-panel[hidden] {
    display: none;
}

.management-lot-head {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) repeat(2, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.management-lot-remove {
    min-height: 44px;
    white-space: nowrap;
}

.management-lot-modalities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.management-lot-modality {
    min-height: 58px;
}

.management-editor-field .ql-toolbar.ql-snow {
    border-color: #d8dbe2;
    border-radius: 8px 8px 0 0;
    background: #f8f9fb;
}

.management-full-editor.ql-container.ql-snow {
    min-height: 260px;
    border-color: #d8dbe2;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    font-family: inherit;
}

.management-full-editor .ql-editor {
    min-height: 260px;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .management-lot-toolbar,
    .management-lot-head,
    .management-lot-modalities-grid {
        grid-template-columns: 1fr;
    }

    .management-lot-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .management-lot-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .management-lot-tab {
        flex: 0 0 auto;
    }
}
.athlete-event-competitor {
    display: grid;
    gap: 12px;
}

.athlete-event-competitor-status {
    margin: 0;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 10px 12px;
    color: #666a72;
    font-weight: 800;
}

.athlete-event-register-form {
    display: grid;
    gap: 12px;
}

.athlete-event-register-form[hidden] {
    display: none;
}

.management-full-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    border: 1px solid #d8dbe2;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f8f9fb;
    padding: 8px;
}

.management-full-editor-toolbar select,
.management-full-editor-toolbar button {
    min-height: 34px;
    border: 1px solid #d8dbe2;
    border-radius: 6px;
    background: #ffffff;
    color: #080808;
    padding: 0 10px;
    font: inherit;
    font-weight: 900;
}

.management-full-editor-toolbar button {
    min-width: 34px;
    cursor: pointer;
}

.management-full-editor-toolbar button:hover,
.management-full-editor-toolbar button:focus-visible,
.management-full-editor-toolbar button.ql-active {
    border-color: #e10600;
    background: #fff1f0;
    color: #ad0500;
}

.athlete-event-competitor [hidden] {
    display: none !important;
}

.athlete-event-competitor {
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 14px;
}

.athlete-event-competitor .athlete-form-group {
    display: grid;
    gap: 8px;
}

.athlete-event-competitor .athlete-form-group label {
    color: #5f6672;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.athlete-event-competitor .athlete-form-group select {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d8dbe2;
    border-radius: 8px;
    appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='%23080808' d='M4.2 6.2 8 10l3.8-3.8 1.1 1.1L8 12.2 3.1 7.3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    color: #080808;
    font-weight: 900;
    outline: none;
    padding: 0 42px 0 14px;
}

.athlete-event-competitor .athlete-form-group select:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.athlete-event-competitor-status {
    background: #ffffff;
    color: #5f6672;
}

.management-editor-field {
    --bs-body-color: #080808;
    --bs-primary: #e10600;
    --bs-secondary-color: #5f6672;
    --bs-border-color: #d8dbe2;
    --bs-paper-bg: #ffffff;
    --bs-base-color: #080808;
    --bs-pure-black: #000000;
    --bs-box-shadow-lg: 0 18px 38px rgba(0, 0, 0, 0.14);
    --bs-border-radius: 8px;
}

.management-full-editor-toolbar.ql-toolbar.ql-snow,
.management-full-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border: 1px solid #d8dbe2;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f8f9fb;
    padding: 8px;
}

.management-full-editor-toolbar .ql-formats {
    display: inline-flex;
    gap: 4px;
    margin: 0;
}

.management-full-editor-toolbar.ql-toolbar.ql-snow button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    border: 1px solid #d8dbe2;
    border-radius: 6px;
    background: #ffffff;
    padding: 7px;
}

.management-full-editor-toolbar.ql-toolbar.ql-snow button svg {
    width: 18px;
    height: 18px;
    float: none;
}

.management-full-editor-toolbar.ql-toolbar.ql-snow .ql-picker {
    height: 36px;
    border: 1px solid #d8dbe2;
    border-radius: 6px;
    background: #ffffff;
}

.management-full-editor-toolbar.ql-toolbar.ql-snow .ql-picker-label {
    display: flex;
    align-items: center;
    min-height: 34px;
    border: 0;
    padding: 0 30px 0 10px;
}

.management-full-editor-toolbar.ql-toolbar.ql-snow .ql-picker-options {
    border-radius: 8px;
    overflow: hidden;
}

.athlete-table-person {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.athlete-avatar {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #080808;
    color: #ffffff;
    font-weight: 900;
}

.athlete-avatar--small {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
}

.athlete-avatar--preview {
    width: 72px;
    height: 72px;
    border: 1px solid #d9dce2;
    background: #f8f9fb;
    color: #666a72;
    font-size: 1.35rem;
}

.athlete-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.athlete-photo-upload {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 12px;
}

.athlete-photo-upload > div {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.athlete-photo-upload input[type="file"] {
    min-height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.athlete-empty-state-panel {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.athlete-empty-state-panel > i {
    color: #e10600;
    font-size: 2.2rem;
}

.athlete-empty-state-panel h2 {
    margin: 0;
    color: #080808;
}

.athlete-empty-state-panel p {
    margin: 0 0 6px;
}

.athlete-id-card-panel {
    padding: 24px;
}

.athlete-id-card-toolbar,
.athlete-id-card-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
}

.athlete-id-card-toolbar h2 {
    margin: 0;
    color: #080808;
    font-size: 1.45rem;
}

.athlete-id-card-toolbar form {
    display: grid;
    gap: 6px;
    min-width: min(280px, 100%);
}

.athlete-id-card-toolbar label {
    color: #171717;
    font-size: 0.82rem;
    font-weight: 900;
}

.athlete-id-card-toolbar select {
    min-height: 44px;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 12px;
    color: #171717;
    font: inherit;
}

.athlete-id-card-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    align-items: center;
    margin-top: 24px;
}

.athlete-id-card {
    width: min(100%, 620px);
    aspect-ratio: 85.6 / 54;
    display: grid;
    grid-template-rows: 5px 46px minmax(0, 1fr) 20px;
    overflow: hidden;
    border: 1px solid #272727;
    border-radius: 14px;
    background: #080808;
    box-shadow: 0 18px 38px rgba(8, 8, 8, 0.22);
}

.athlete-id-card__topline,
.athlete-id-card__footer {
    background: #e10600;
}

.athlete-id-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    padding: 8px 16px;
}

.athlete-id-card__header img {
    width: min(42%, 210px);
    height: auto;
}

.athlete-id-card__header span {
    color: #080808;
    font-size: clamp(0.58rem, 1.1vw, 0.8rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: right;
    text-transform: uppercase;
}

.athlete-id-card__body {
    min-height: 0;
    display: grid;
    grid-template-columns: 26% minmax(0, 1fr);
    gap: 18px;
    padding: 16px 18px 10px;
}

.athlete-id-card__photo {
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid #e10600;
    background: #252525;
    color: #ffffff;
    font-size: clamp(1.8rem, 5vw, 3.7rem);
    font-weight: 900;
}

.athlete-id-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.athlete-id-card__details {
    min-width: 0;
    color: #ffffff;
}

.athlete-id-card__eyebrow {
    margin: 0 0 5px;
    color: #e10600;
    font-size: clamp(0.52rem, 1vw, 0.7rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.athlete-id-card__details h3 {
    max-width: 100%;
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(0.95rem, 2.1vw, 1.65rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.athlete-id-card__details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    margin: 0;
}

.athlete-id-card__details dl div {
    min-width: 0;
}

.athlete-id-card__details dt {
    color: #9e9e9e;
    font-size: clamp(0.48rem, 0.9vw, 0.62rem);
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-id-card__details dd {
    margin: 2px 0 0;
    color: #ffffff;
    font-size: clamp(0.56rem, 1.05vw, 0.76rem);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.athlete-id-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    color: #ffffff;
    font-size: clamp(0.52rem, 0.9vw, 0.68rem);
    font-weight: 800;
}

.athlete-id-card__footer strong {
    letter-spacing: 0.12em;
}

.athlete-id-card-actions {
    display: grid;
    gap: 12px;
}

.athlete-id-card-actions .button {
    width: 100%;
}

.athlete-id-card-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 13px;
}

.athlete-id-card-info > i {
    color: #e10600;
    font-size: 1.2rem;
}

.athlete-id-card-info div {
    display: grid;
    gap: 3px;
}

.athlete-id-card-info strong {
    color: #080808;
    font-size: 0.88rem;
}

.athlete-id-card-info span {
    color: #666a72;
    font-size: 0.82rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .athlete-id-card-layout {
        grid-template-columns: 1fr;
    }

    .athlete-id-card {
        justify-self: center;
    }
}

@media (max-width: 680px) {
    .athlete-id-card-panel {
        padding: 18px;
    }

    .athlete-id-card-toolbar {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .athlete-id-card-toolbar form {
        min-width: 0;
    }

    .athlete-photo-upload {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Athlete dashboard: compact, scan-friendly controls and state feedback. */
.athlete-password-field {
    position: relative;
}

.athlete-password-field input {
    padding-right: 94px;
}

.athlete-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: transparent;
    padding: 0 8px;
    color: #666a72;
    font-size: 0.78rem;
    font-weight: 900;
}

.athlete-password-toggle:hover,
.athlete-password-toggle:focus-visible {
    background: #f4f5f7;
    color: #080808;
}

.athlete-account-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    border: 1px solid #f0c5c2;
    border-radius: 8px;
    background: #fff8f7;
    padding: 14px 16px;
}

.athlete-account-notice__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffe9e8;
    color: #ad0500;
    font-size: 1.1rem;
}

.athlete-account-notice strong {
    color: #080808;
}

.athlete-account-notice p {
    margin: 3px 0 0;
    color: #666a72;
    font-size: 0.9rem;
}

.athlete-event-browser {
    display: grid;
    gap: 16px;
    margin: 26px 0 16px;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(8, 8, 8, 0.06);
}

.athlete-event-browser__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.athlete-event-browser__head h2 {
    margin: 0;
    color: #080808;
    font-size: 1.35rem;
    line-height: 1.1;
}

.athlete-event-browser__head > div > span {
    display: block;
    margin-top: 5px;
    color: #666a72;
    font-size: 0.88rem;
    font-weight: 800;
}

.athlete-search-field {
    width: min(100%, 340px);
    display: grid;
    gap: 7px;
}

.athlete-search-field span {
    color: #171717;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-search-field input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 13px;
    color: #171717;
    outline: none;
}

.athlete-search-field input:focus {
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.athlete-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.athlete-filter-button {
    min-height: 36px;
    border: 1px solid #d9dce2;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 0 12px;
    color: #666a72;
    font-size: 0.84rem;
    font-weight: 900;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.athlete-filter-button:hover,
.athlete-filter-button:focus-visible {
    border-color: #080808;
    color: #080808;
    transform: translateY(-1px);
}

.athlete-filter-button.is-active {
    border-color: #080808;
    background: #080808;
    color: #ffffff;
}

.athlete-event-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.athlete-event-card:hover {
    border-color: #c9ccd2;
    box-shadow: 0 16px 34px rgba(8, 8, 8, 0.12);
    transform: translateY(-2px);
}

.athlete-event-card__lot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #666a72;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.athlete-event-card__modalities {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-height: 22px;
    margin: 7px 0 0;
    color: #666a72;
    font-size: 0.84rem;
    font-weight: 800;
}

.athlete-event-card__modalities i {
    flex: 0 0 auto;
    color: #e10600;
}

.athlete-event-card[hidden] {
    display: none;
}

.athlete-empty--wide {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
}

.athlete-empty--wide span {
    color: #666a72;
    font-weight: 700;
}

.athlete-payment-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.athlete-payment-step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    background: #f8f9fb;
    padding: 10px;
}

.athlete-payment-step__number {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dfe2e7;
    color: #666a72;
    font-size: 0.78rem;
    font-weight: 900;
}

.athlete-payment-step strong,
.athlete-payment-step small {
    display: block;
}

.athlete-payment-step strong {
    color: #080808;
    font-size: 0.82rem;
}

.athlete-payment-step small {
    margin-top: 2px;
    color: #666a72;
    font-size: 0.72rem;
    font-weight: 700;
}

.athlete-payment-step.is-current {
    border-color: #e10600;
    background: #fff1f0;
}

.athlete-payment-step.is-current .athlete-payment-step__number {
    background: #e10600;
    color: #ffffff;
}

@media (max-width: 680px) {
    .athlete-account-notice,
    .athlete-event-browser__head {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

    .athlete-account-notice .button,
    .athlete-search-field {
        width: 100%;
    }

    .athlete-payment-steps {
        grid-template-columns: 1fr;
    }

    .athlete-filter-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: thin;
    }

    .athlete-filter-button {
        flex: 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .athlete-event-card,
    .athlete-filter-button,
    .button {
        transition: none;
    }
}
