
/* =========================================================
   TennisFinalsPro — Open signup redesign
   TYLKO sekcja zapisów online. Nie dotyka drabinki ani grafiki końcowej.
   ========================================================= */

body[data-page="tournament-view"] .tfp-signup-redesign,
body[data-page="tournament-view"] .tfp-signup-redesign * {
    box-sizing: border-box;
}

body[data-page="tournament-view"] .tfp-signup-redesign {
    --signup-bg: #f5f9ff;
    --signup-card: #ffffff;
    --signup-soft: #f8fbff;
    --signup-line: #dfe8f6;
    --signup-text: #07122d;
    --signup-muted: #64748b;
    --signup-blue: #2563eb;
    --signup-cyan: #0ea5e9;
    --signup-green: #10b981;
    --signup-green-dark: #047857;
    --signup-green-soft: #dcfce7;
    --signup-orange-soft: #fff7ed;
    --signup-shadow: 0 18px 42px rgba(15, 35, 73, .075);
    --signup-shadow-soft: 0 10px 24px rgba(15, 35, 73, .052);
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 0 0 18px;
}

body[data-page="tournament-view"] .tfp-signup-hero-card,
body[data-page="tournament-view"] .tfp-signup-card {
    border: 1px solid var(--signup-line);
    border-radius: 26px;
    background: rgba(255,255,255,.985);
    box-shadow: var(--signup-shadow);
}

body[data-page="tournament-view"] .tfp-signup-hero-card {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 18px;
    align-items: start;
    padding: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(37,99,235,.055), transparent 17rem),
        radial-gradient(circle at 0% 100%, rgba(34,211,238,.06), transparent 16rem),
        rgba(255,255,255,.985);
}

body[data-page="tournament-view"] .tfp-signup-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--signup-blue);
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
}

body[data-page="tournament-view"] .tfp-signup-hero-card h2,
body[data-page="tournament-view"] .tfp-signup-card h3 {
    margin: 12px 0 8px;
    color: var(--signup-text);
    font-size: clamp(28px, 3.1vw, 38px);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.04em;
}

body[data-page="tournament-view"] .tfp-signup-hero-card p,
body[data-page="tournament-view"] .tfp-signup-card__head p {
    margin: 0;
    color: var(--signup-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 680;
}

body[data-page="tournament-view"] .tfp-signup-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

body[data-page="tournament-view"] .tfp-signup-stat {
    min-height: 86px;
    padding: 14px;
    border: 1px solid var(--signup-line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37,99,235,.05), transparent 70%),
        var(--signup-soft);
}

body[data-page="tournament-view"] .tfp-signup-stat span {
    display: block;
    margin-bottom: 7px;
    color: var(--signup-muted);
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signup-stat strong {
    display: block;
    color: var(--signup-text);
    font-size: 17px;
    line-height: 1.16;
    font-weight: 950;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

body[data-page="tournament-view"] .tfp-signup-stat.is-open {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

body[data-page="tournament-view"] .tfp-signup-stat.is-open strong {
    color: var(--signup-green-dark);
}

body[data-page="tournament-view"] .tfp-signup-stat.is-closed,
body[data-page="tournament-view"] .tfp-signup-stat.is-full {
    border-color: #fed7aa;
    background: linear-gradient(180deg, var(--signup-orange-soft), #ffffff);
}

body[data-page="tournament-view"] .tfp-signup-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 16px;
    align-items: stretch;
}

body[data-page="tournament-view"] .tfp-signup-card {
    min-width: 0;
    padding: 22px;
    overflow: hidden;
}

body[data-page="tournament-view"] .tfp-signup-card__head {
    margin-bottom: 16px;
}

body[data-page="tournament-view"] .tfp-signup-card h3 {
    font-size: clamp(26px, 2.7vw, 34px);
}

body[data-page="tournament-view"] .tfp-signup-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

body[data-page="tournament-view"] .tfp-signup-form label {
    display: grid;
    gap: 7px;
    width: 100%;
    min-width: 0;
}

body[data-page="tournament-view"] .tfp-signup-form label span {
    color: var(--signup-text);
    font-size: 12px;
    line-height: 1;
    font-weight: 880;
}

body[data-page="tournament-view"] .tfp-signup-form input,
body[data-page="tournament-view"] .tfp-signup-form select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--signup-line);
    border-radius: 15px;
    background: #fff;
    color: var(--signup-text);
    font-size: 14px;
    line-height: 1;
    font-weight: 760;
    outline: none;
}

body[data-page="tournament-view"] .tfp-signup-form input:focus,
body[data-page="tournament-view"] .tfp-signup-form select:focus {
    border-color: rgba(37,99,235,.58);
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

body[data-page="tournament-view"] .tfp-signup-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--signup-blue), var(--signup-cyan));
    color: #fff;
    box-shadow: 0 14px 28px rgba(37,99,235,.22);
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 950;
    cursor: pointer;
}

body[data-page="tournament-view"] .tfp-signup-note {
    margin: -2px 0 0;
    color: #8a9ab3;
    text-align: center;
    font-size: 11px;
    line-height: 1.38;
    font-weight: 680;
}

body[data-page="tournament-view"] .tfp-signup-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

body[data-page="tournament-view"] .tfp-signup-my-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

body[data-page="tournament-view"] .tfp-signup-my-list > strong {
    color: var(--signup-text);
    font-size: 13px;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signup-my-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--signup-line);
    border-radius: 15px;
    background: var(--signup-soft);
}

body[data-page="tournament-view"] .tfp-signup-my-row span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--signup-text);
    font-size: 13px;
    font-weight: 900;
}

body[data-page="tournament-view"] .tfp-signup-my-row em {
    margin-top: 3px;
    color: var(--signup-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 760;
}

body[data-page="tournament-view"] .tfp-signup-leave {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

body[data-page="tournament-view"] .tfp-signup-card__head--row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body[data-page="tournament-view"] .tfp-signup-player-list {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow: auto;
    padding-right: 2px;
}

body[data-page="tournament-view"] .tfp-signup-player {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 62px;
    padding: 11px 12px;
    border: 1px solid var(--signup-line);
    border-radius: 17px;
    background: var(--signup-soft);
}

body[data-page="tournament-view"] .tfp-signup-player__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--signup-blue), var(--signup-cyan));
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signup-player__body {
    min-width: 0;
}

body[data-page="tournament-view"] .tfp-signup-player__body strong {
    display: block;
    overflow: hidden;
    color: var(--signup-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page="tournament-view"] .tfp-signup-player__body span {
    display: block;
    margin-top: 3px;
    color: var(--signup-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

body[data-page="tournament-view"] .tfp-signup-player em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--signup-blue);
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

body[data-page="tournament-view"] .tfp-signup-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 230px;
    padding: 26px 18px;
    border: 1px dashed var(--signup-line);
    border-radius: 19px;
    background: linear-gradient(180deg, #fbfdff, #f8fbff);
    text-align: center;
}

body[data-page="tournament-view"] .tfp-signup-empty > span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #eef4ff;
    font-size: 30px;
}

body[data-page="tournament-view"] .tfp-signup-empty strong {
    color: var(--signup-text);
    font-size: 15px;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signup-empty p {
    max-width: 290px;
    margin: 0;
    color: var(--signup-muted);
    font-size: 13px;
    line-height: 1.4;
}

/* Tablet */
@media (max-width: 1024px) {
    body[data-page="tournament-view"] .tfp-signup-hero-card {
        grid-template-columns: 1fr;
    }

    body[data-page="tournament-view"] .tfp-signup-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="tournament-view"] .tfp-signup-player-list {
        max-height: none;
    }
}

/* Mobile */
@media (max-width: 720px) {
    body[data-page="tournament-view"] .tfp-signup-redesign {
        gap: 10px;
        margin-bottom: 10px;
    }

    body[data-page="tournament-view"] .tfp-signup-hero-card,
    body[data-page="tournament-view"] .tfp-signup-card {
        border-radius: 18px;
        padding: 12px;
    }

    body[data-page="tournament-view"] .tfp-signup-kicker {
        min-height: 21px;
        padding: 0 8px;
        font-size: 8px;
    }

    body[data-page="tournament-view"] .tfp-signup-hero-card h2,
    body[data-page="tournament-view"] .tfp-signup-card h3 {
        margin: 9px 0 6px;
        font-size: 21px;
        line-height: 1.04;
    }

    body[data-page="tournament-view"] .tfp-signup-hero-card p,
    body[data-page="tournament-view"] .tfp-signup-card__head p {
        font-size: 11px;
        line-height: 1.42;
    }

    body[data-page="tournament-view"] .tfp-signup-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    body[data-page="tournament-view"] .tfp-signup-stat {
        min-height: 66px;
        padding: 10px;
        border-radius: 14px;
    }

    body[data-page="tournament-view"] .tfp-signup-stat span {
        margin-bottom: 5px;
        font-size: 8px;
    }

    body[data-page="tournament-view"] .tfp-signup-stat strong {
        font-size: 13px;
    }

    body[data-page="tournament-view"] .tfp-signup-card__head {
        margin-bottom: 10px;
    }

    body[data-page="tournament-view"] .tfp-signup-form {
        gap: 9px;
    }

    body[data-page="tournament-view"] .tfp-signup-form label span {
        font-size: 11px;
    }

    body[data-page="tournament-view"] .tfp-signup-form input,
    body[data-page="tournament-view"] .tfp-signup-form select {
        min-height: 40px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page="tournament-view"] .tfp-signup-submit {
        min-height: 44px;
        border-radius: 13px;
        font-size: 12.5px;
    }

    body[data-page="tournament-view"] .tfp-signup-note {
        font-size: 10px;
    }

    body[data-page="tournament-view"] .tfp-signup-player {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 9px;
        min-height: 56px;
        padding: 9px;
        border-radius: 15px;
    }

    body[data-page="tournament-view"] .tfp-signup-player__avatar {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    body[data-page="tournament-view"] .tfp-signup-player__body strong {
        font-size: 13px;
    }

    body[data-page="tournament-view"] .tfp-signup-player__body span {
        font-size: 11px;
    }

    body[data-page="tournament-view"] .tfp-signup-player em {
        grid-column: 2;
        width: max-content;
        min-height: 22px;
        margin-top: -2px;
        font-size: 9px;
    }

    body[data-page="tournament-view"] .tfp-signup-empty {
        min-height: 150px;
        padding: 20px 12px;
        border-radius: 16px;
    }

    body[data-page="tournament-view"] .tfp-signup-empty > span {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    body[data-page="tournament-view"] .tfp-signup-my-row {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 370px) {
    body[data-page="tournament-view"] .tfp-signup-stats {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   TFP PATCH — zapisy jako osobny, kompaktowy widok
   ========================================================= */
body[data-page="tournament-view"] .tfp-signup-redesign {
    margin: 0 0 22px;
}

body[data-page="tournament-view"] .tfp-signup-hero-card {
    padding: 20px 22px;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
}

body[data-page="tournament-view"] .tfp-signup-hero-card h2 {
    font-size: clamp(30px, 3vw, 40px);
}

body[data-page="tournament-view"] .tfp-signup-grid {
    grid-template-columns: minmax(280px, .86fr) minmax(360px, 1.14fr);
    align-items: start;
}

body[data-page="tournament-view"] .tfp-signup-card {
    padding: 20px;
}

body[data-page="tournament-view"] .tfp-signup-card h3 {
    font-size: clamp(24px, 2.2vw, 31px);
}

body[data-page="tournament-view"] .tfp-signup-card__head {
    margin-bottom: 14px;
}

body[data-page="tournament-view"] .tfp-signup-player-list {
    gap: 8px;
    max-height: 390px;
    padding-right: 6px;
}

body[data-page="tournament-view"] .tfp-signup-player {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 54px;
    padding: 9px 10px;
    border-radius: 14px;
}

body[data-page="tournament-view"] .tfp-signup-player__avatar {
    width: 38px;
    height: 38px;
    font-size: 12px;
}

body[data-page="tournament-view"] .tfp-signup-player__body strong {
    font-size: 13px;
    line-height: 1.16;
    letter-spacing: -.015em;
}

body[data-page="tournament-view"] .tfp-signup-player__body span {
    margin-top: 2px;
    font-size: 11px;
}

body[data-page="tournament-view"] .tfp-signup-player em {
    min-height: 23px;
    padding: 0 8px;
    font-size: 9px;
}

body[data-page="tournament-view"] .tfp-signup-my-row {
    padding: 10px;
    border-radius: 13px;
}

body[data-page="tournament-view"] .tfp-signup-my-row span {
    font-size: 12px;
}

@media (max-width: 1024px) {
    body[data-page="tournament-view"] .tfp-signup-hero-card,
    body[data-page="tournament-view"] .tfp-signup-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="tournament-view"] .tfp-signup-player-list {
        max-height: none;
    }
}

@media (max-width: 720px) {
    body[data-page="tournament-view"] .tfp-signup-hero-card,
    body[data-page="tournament-view"] .tfp-signup-card {
        padding: 14px;
        border-radius: 18px;
    }

    body[data-page="tournament-view"] .tfp-signup-hero-card h2,
    body[data-page="tournament-view"] .tfp-signup-card h3 {
        font-size: 22px;
    }

    body[data-page="tournament-view"] .tfp-signup-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="tournament-view"] .tfp-signup-player {
        grid-template-columns: 34px minmax(0, 1fr);
        min-height: 50px;
        padding: 8px;
    }

    body[data-page="tournament-view"] .tfp-signup-player__avatar {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    body[data-page="tournament-view"] .tfp-signup-player__body strong {
        font-size: 12px;
        white-space: normal;
    }

    body[data-page="tournament-view"] .tfp-signup-player em {
        grid-column: 2;
        width: fit-content;
    }
}

/* TFP PATCH: czyste zapisy online + widoczny przycisk dla admina */
body[data-page="tournament-view"] .tfp-signups-admin-clean,
body[data-page="tournament-view"] .tfp-signups-admin-clean * {
    box-sizing: border-box;
}

body[data-page="tournament-view"] .tfp-signups-admin-clean {
    display: grid;
    gap: 16px;
    padding: 18px !important;
    border: 1px solid rgba(37, 99, 235, .16) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 0 0, rgba(34, 211, 238, .12), transparent 30%),
        radial-gradient(circle at 100% 0, rgba(132, 204, 22, .10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .10) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #102a78 0%, #1d4ed8 52%, #06b6d4 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -62px;
    top: -70px;
    border-radius: 50%;
    border: 34px solid rgba(255,255,255,.12);
    pointer-events: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero__copy,
body[data-page="tournament-view"] .tfp-signups-admin-hero__stats {
    position: relative;
    z-index: 1;
}

body[data-page="tournament-view"] .tfp-signups-admin-kicker,
body[data-page="tournament-view"] .tfp-signups-admin-list__head span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #e0f2fe;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero h3 {
    margin: 10px 0 6px;
    color: #fff;
    font-size: clamp(26px, 3.2vw, 42px);
    line-height: .98;
    letter-spacing: -.05em;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 750;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    gap: 10px;
    align-content: center;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero__stats div {
    min-width: 96px;
    padding: 14px 14px 13px;
    border-radius: 18px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

body[data-page="tournament-view"] .tfp-signups-admin-hero__stats span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.78);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-hero__stats strong {
    display: block;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signups-admin-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(236,253,245,.96), rgba(239,246,255,.96));
    border: 1px solid rgba(16, 185, 129, .22);
    box-shadow: 0 16px 36px rgba(37, 99, 235, .09);
}

body[data-page="tournament-view"] .tfp-signups-admin-action span {
    display: block;
    margin-bottom: 4px;
    color: #059669;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-action strong {
    display: block;
    color: #07162f;
    font-size: clamp(19px, 2vw, 28px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

body[data-page="tournament-view"] .tfp-signups-admin-action p {
    margin: 6px 0 0;
    color: #52627a;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn {
    appearance: none;
    border: 0;
    width: 100%;
    min-width: 260px;
    padding: 16px 20px;
    border-radius: 18px;
    color: #06152f;
    background: linear-gradient(135deg, #c6ff00, #45ff74 48%, #16c6ff 100%);
    box-shadow: 0 18px 34px rgba(22, 198, 255, .28), 0 12px 24px rgba(132, 204, 22, .24);
    font-size: 15px;
    line-height: 1.15;
    font-weight: 950;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.04);
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn:disabled {
    cursor: not-allowed;
    opacity: .62;
    background: #e6eef8;
    color: #7a8aa0;
    box-shadow: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-settings {
    display: grid !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 22px !important;
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, .20) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .055) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-settings__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body[data-page="tournament-view"] .tfp-signups-admin-switch {
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #f8fbff, #eef7ff) !important;
    border: 1px solid rgba(37, 99, 235, .14) !important;
    color: #10213d !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-save-btn {
    border: 0;
    border-radius: 15px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #2563eb, #06a7e8);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(37, 99, 235, .22);
}

body[data-page="tournament-view"] .tfp-signups-admin-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body[data-page="tournament-view"] .tfp-signups-admin-fields label {
    display: grid;
    gap: 6px;
}

body[data-page="tournament-view"] .tfp-signups-admin-fields label span {
    color: #5d6c82;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-fields input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9e7f6;
    border-radius: 15px;
    background: #f8fbff;
    padding: 0 14px;
    color: #07162f;
    font-size: 14px;
    font-weight: 850;
    outline: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-fields input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
    background: #fff;
}

body[data-page="tournament-view"] .tfp-signups-admin-list {
    padding: 16px !important;
    border-radius: 22px !important;
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, .20) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e7eff9;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head span {
    background: #eef6ff;
    color: #2563eb;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head strong {
    display: block;
    margin-top: 6px;
    color: #07162f;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -.035em;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head em {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf5ff;
    color: #2563eb;
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body[data-page="tournament-view"] .tfp-signups-admin-rows {
    display: grid;
    gap: 8px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

body[data-page="tournament-view"] .tfp-signups-admin-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #e3edf8;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}

body[data-page="tournament-view"] .tfp-signups-admin-row__avatar {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main {
    min-width: 0;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main strong {
    display: block;
    color: #07162f;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main span {
    display: block;
    margin-top: 3px;
    color: #6b7b92;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body[data-page="tournament-view"] .tfp-signups-admin-status {
    display: inline-flex;
    justify-content: center;
    min-width: 92px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-style: normal;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

body[data-page="tournament-view"] .tfp-signups-admin-status.is-pending {
    background: #fff7ed;
    color: #c2410c;
}

body[data-page="tournament-view"] .tfp-signups-admin-status.is-confirmed {
    background: #ecfdf5;
    color: #047857;
}

body[data-page="tournament-view"] .tfp-signups-admin-remove {
    border: 0;
    border-radius: 13px;
    padding: 9px 12px;
    background: #eef5ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

body[data-page="tournament-view"] .tfp-signups-admin-remove:hover {
    background: #fee2e2;
    color: #b91c1c;
}

body[data-page="tournament-view"] .tfp-signups-admin-empty {
    padding: 28px;
    text-align: center;
    border: 1px dashed #bdd5f4;
    border-radius: 20px;
    background: #f7fbff;
}

body[data-page="tournament-view"] .tfp-signups-admin-empty strong {
    display: block;
    color: #07162f;
    font-size: 18px;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signups-admin-empty p {
    margin: 6px 0 0;
    color: #65748a;
    font-size: 13px;
    font-weight: 750;
}

/* drobne uporządkowanie publicznej listy zapisów */
body[data-page="tournament-view"] .tfp-signup-card--players .tfp-signup-player__body strong {
    font-size: 14px !important;
    line-height: 1.15 !important;
}

body[data-page="tournament-view"] .tfp-signup-card--players .tfp-signup-player {
    min-height: 54px;
    padding: 10px 12px !important;
}

@media (max-width: 980px) {
    body[data-page="tournament-view"] .tfp-signups-admin-hero,
    body[data-page="tournament-view"] .tfp-signups-admin-action {
        grid-template-columns: 1fr;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-hero__stats,
    body[data-page="tournament-view"] .tfp-signups-admin-fields {
        grid-template-columns: 1fr;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-close-btn {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    body[data-page="tournament-view"] .tfp-signups-admin-clean {
        padding: 12px !important;
        border-radius: 20px !important;
        gap: 12px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-hero {
        padding: 15px;
        border-radius: 20px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-hero h3 {
        font-size: 27px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-hero__stats div {
        min-width: 0;
        padding: 10px 8px;
        border-radius: 15px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-hero__stats strong {
        font-size: 19px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-action,
    body[data-page="tournament-view"] .tfp-signups-admin-settings,
    body[data-page="tournament-view"] .tfp-signups-admin-list {
        padding: 12px !important;
        border-radius: 18px !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-settings__top {
        align-items: stretch;
        flex-direction: column;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-save-btn {
        width: 100%;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-list__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-rows {
        max-height: none;
        overflow: visible;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-row {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 9px;
        padding: 9px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-row__avatar {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-row__main strong {
        font-size: 13px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-status {
        min-width: 0;
        padding: 7px 8px;
        font-size: 10px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-row form {
        grid-column: 1 / -1;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-remove {
        width: 100%;
    }
}

/* TFP HOTFIX — czyste zapisy + czytelny Harmonogram PRO */
body[data-page="tournament-view"] .tfp-signups-admin-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-status {
    background: #eaf5ff !important;
    color: #1760c8 !important;
    border: 1px solid #cfe5ff !important;
    min-width: 82px !important;
    text-align: center !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-status.is-pending,
body[data-page="tournament-view"] .tfp-signups-admin-status.is-confirmed {
    background: #eaf5ff !important;
    color: #1760c8 !important;
}

body[data-page="tournament-view"] .tfp-signup-player em,
body[data-page="tournament-view"] .tfp-signup-my-row em {
    background: #eaf5ff !important;
    color: #1760c8 !important;
    border: 1px solid #cfe5ff !important;
    font-style: normal !important;
    white-space: nowrap !important;
}

body[data-page="tournament-view"] .tfp-scheduler-pro {
    padding: 18px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%) !important;
    border: 1px solid #dce9fb !important;
    box-shadow: 0 18px 42px rgba(15, 48, 110, 0.1) !important;
    overflow: hidden !important;
}

body[data-page="tournament-view"] .tfp-scheduler-pro__intro {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 16px !important;
    margin: 0 0 14px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.12)) !important;
    border: 1px solid rgba(37, 99, 235, 0.16) !important;
}

body[data-page="tournament-view"] .tfp-scheduler-pro__intro span {
    display: inline-flex !important;
    width: max-content !important;
    margin-bottom: 6px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: #eaf2ff !important;
    color: #1760c8 !important;
    font-size: 10px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

body[data-page="tournament-view"] .tfp-scheduler-pro__intro h3 {
    margin: 0 0 4px !important;
    color: #071a3d !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 1000 !important;
    letter-spacing: -0.04em !important;
}

body[data-page="tournament-view"] .tfp-scheduler-pro__intro p {
    max-width: 760px !important;
    margin: 0 !important;
    color: #5d6b83 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
}

body[data-page="tournament-view"] .tfp-schedule-generator {
    display: grid !important;
    gap: 14px !important;
}

body[data-page="tournament-view"] .tfp-scheduler-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body[data-page="tournament-view"] .tfp-scheduler-grid label,
body[data-page="tournament-view"] .tfp-scheduler-courts,
body[data-page="tournament-view"] .tfp-group-schedule-card {
    display: grid !important;
    gap: 7px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-page="tournament-view"] .tfp-scheduler-grid label span,
body[data-page="tournament-view"] .tfp-scheduler-courts span,
body[data-page="tournament-view"] .tfp-group-schedule-card label span {
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 1000 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

body[data-page="tournament-view"] .tfp-scheduler-grid input,
body[data-page="tournament-view"] .tfp-scheduler-grid select,
body[data-page="tournament-view"] .tfp-scheduler-courts textarea,
body[data-page="tournament-view"] .tfp-group-schedule-card input {
    width: 100% !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    border: 1px solid #d9e6f8 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    padding: 10px 12px !important;
    text-align: left !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(15, 48, 110, 0.04) !important;
}

body[data-page="tournament-view"] .tfp-scheduler-courts textarea {
    min-height: 84px !important;
    resize: vertical !important;
    white-space: pre-wrap !important;
    font-family: inherit !important;
}

body[data-page="tournament-view"] .tfp-scheduler-grid input:focus,
body[data-page="tournament-view"] .tfp-scheduler-grid select:focus,
body[data-page="tournament-view"] .tfp-scheduler-courts textarea:focus,
body[data-page="tournament-view"] .tfp-group-schedule-card input:focus {
    outline: none !important;
    border-color: #2585ff !important;
    box-shadow: 0 0 0 4px rgba(37, 133, 255, 0.12) !important;
}

body[data-page="tournament-view"] .tfp-group-schedule-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body[data-page="tournament-view"] .tfp-group-schedule-card {
    padding: 14px !important;
    border-radius: 18px !important;
    background: #f8fbff !important;
    border: 1px solid #e0ebfb !important;
}

body[data-page="tournament-view"] .tfp-group-schedule-card > strong {
    display: block !important;
    margin: 0 0 8px !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 1000 !important;
    letter-spacing: -0.02em !important;
}

body[data-page="tournament-view"] .tfp-scheduler-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 4px !important;
}

body[data-page="tournament-view"] .tfp-scheduler-actions .league-save-btn {
    width: auto !important;
    min-width: 240px !important;
    min-height: 46px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18) !important;
}

body[data-page="tournament-view"] .tfp-scheduler-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    background: #eef6ff !important;
    color: #1760c8 !important;
    font-size: 12px !important;
    font-weight: 1000 !important;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    body[data-page="tournament-view"] .tfp-scheduler-grid,
    body[data-page="tournament-view"] .tfp-group-schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body[data-page="tournament-view"] .tfp-signups-admin-hero__stats,
    body[data-page="tournament-view"] .tfp-scheduler-grid,
    body[data-page="tournament-view"] .tfp-group-schedule-grid {
        grid-template-columns: 1fr !important;
    }

    body[data-page="tournament-view"] .tfp-scheduler-pro {
        padding: 12px !important;
        border-radius: 18px !important;
    }

    body[data-page="tournament-view"] .tfp-scheduler-pro__intro {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    body[data-page="tournament-view"] .tfp-scheduler-pro__intro h3 {
        font-size: 19px !important;
    }

    body[data-page="tournament-view"] .tfp-scheduler-pro__intro p {
        font-size: 12px !important;
    }

    body[data-page="tournament-view"] .tfp-scheduler-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body[data-page="tournament-view"] .tfp-scheduler-actions .league-save-btn,
    body[data-page="tournament-view"] .tfp-scheduler-link {
        width: 100% !important;
        min-width: 0 !important;
    }
}


/* =========================================================
   TFP PATCH — panel PROADMINA podczas otwartych zapisów
   ========================================================= */
body[data-page="tournament-view"] .tournament-signup-manager-host {
    margin: 0 0 16px;
}

body[data-page="tournament-view"] .tournament-signup-manager-host .league-admin-panel {
    border-radius: 22px !important;
    overflow: hidden;
}

body[data-page="tournament-view"] .tfp-signups-admin-add {
    display: grid;
    gap: 14px;
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37,99,235,.08), transparent 40%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(15, 35, 73, .05);
}

body[data-page="tournament-view"] .tfp-signups-admin-add__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__head > div {
    min-width: 0;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__head span {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__head strong {
    display: block;
    color: #07162f;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__head button,
body[data-page="tournament-view"] .tfp-signups-admin-edit__save {
    flex: 0 0 auto;
    min-height: 40px;
    border: 0;
    border-radius: 13px;
    padding: 0 16px;
    background: linear-gradient(135deg, #0f3f87, #2563eb);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .18);
}

body[data-page="tournament-view"] .tfp-signups-admin-add__head button:hover,
body[data-page="tournament-view"] .tfp-signups-admin-edit__save:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields,
body[data-page="tournament-view"] .tfp-signups-admin-edit__fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields label,
body[data-page="tournament-view"] .tfp-signups-admin-edit__fields label {
    display: grid;
    gap: 6px;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields label > span,
body[data-page="tournament-view"] .tfp-signups-admin-edit__fields label > span {
    color: #64748b;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .045em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields input,
body[data-page="tournament-view"] .tfp-signups-admin-edit__fields input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border: 1px solid #d7e4f3;
    border-radius: 12px;
    padding: 0 12px;
    background: #fff;
    color: #07162f;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    outline: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields input:focus,
body[data-page="tournament-view"] .tfp-signups-admin-edit__fields input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}

body[data-page="tournament-view"] .tfp-signups-admin-edit {
    grid-column: 1 / -1;
    border-top: 1px solid #e4edf8;
    padding-top: 8px;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit summary {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    background: #eef5ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
    list-style: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit summary::-webkit-details-marker {
    display: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit[open] summary {
    margin-bottom: 10px;
    background: #dbeafe;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit form {
    display: grid;
    gap: 10px;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit__save {
    justify-self: end;
}

@media (max-width: 980px) {
    body[data-page="tournament-view"] .tfp-signups-admin-add__fields,
    body[data-page="tournament-view"] .tfp-signups-admin-edit__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body[data-page="tournament-view"] .tournament-signup-manager-host {
        margin-bottom: 12px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-add {
        padding: 12px;
        border-radius: 16px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-add__head {
        align-items: stretch;
        flex-direction: column;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-add__head button,
    body[data-page="tournament-view"] .tfp-signups-admin-edit__save {
        width: 100%;
        justify-self: stretch;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-add__fields,
    body[data-page="tournament-view"] .tfp-signups-admin-edit__fields {
        grid-template-columns: 1fr;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-row > .tfp-signups-admin-delete-form {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   TFP 2026 — uporządkowany panel zapisów organizatora
   Jedna lista uczestników + narzędzia w bocznym panelu.
   ========================================================= */
body[data-page="tournament-view"] .tournament-signup-manager-host {
    width: min(1180px, calc(100vw - 32px));
    max-width: none;
    margin: 0 50% 24px;
    transform: translateX(-50%);
}

body[data-page="tournament-view"] .tournament-signup-manager-host .league-admin-accordion,
body[data-page="tournament-view"] .tournament-signup-manager-host .league-admin-accordion__content,
body[data-page="tournament-view"] .tournament-signup-manager-host .league-admin-panel,
body[data-page="tournament-view"] .tournament-signup-manager-host .tfp-manager__panel {
    overflow: visible !important;
}

body[data-page="tournament-view"] .tournament-signup-manager-host .league-admin-accordion__trigger {
    display: none !important;
}

body[data-page="tournament-view"] .tournament-signup-manager-host .tfp-manager-tabs {
    display: none !important;
}

body[data-page="tournament-view"] .tournament-signup-manager-host .league-admin-panel,
body[data-page="tournament-view"] .tournament-signup-manager-host .tfp-manager__panel {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-page="tournament-view"] .tournament-signup-manager-host .tfp-manager-panel[data-manager-panel="registrations"] {
    display: block !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-clean {
    display: grid !important;
    gap: 16px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 22px;
    align-items: center;
    overflow: hidden;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 95% 0%, rgba(56, 189, 248, .34), transparent 260px),
        radial-gradient(circle at 0 110%, rgba(99, 102, 241, .34), transparent 320px),
        linear-gradient(135deg, #0b2d68 0%, #1249a0 56%, #087dc0 100%);
    box-shadow: 0 22px 54px rgba(15, 57, 128, .22);
    color: #fff;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -105px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(255,255,255,.035), 0 0 0 66px rgba(255,255,255,.025);
    pointer-events: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__copy,
body[data-page="tournament-view"] .tfp-signups-admin-overview__action {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body[data-page="tournament-view"] .tfp-signups-admin-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    color: #d9f2ff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .075em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview h3 {
    margin: 10px 0 7px !important;
    color: #fff !important;
    font-size: clamp(27px, 3vw, 38px) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: -.045em !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__copy > p {
    max-width: 700px;
    margin: 0;
    color: rgba(234, 246, 255, .82);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 680;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148,163,184,.15);
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges .is-open i {
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74,222,128,.16);
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges .is-full i {
    background: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251,191,36,.16);
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges .is-closed i,
body[data-page="tournament-view"] .tfp-signups-admin-overview__badges .is-paused i {
    background: #fda4af;
    box-shadow: 0 0 0 4px rgba(253,164,175,.16);
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__action {
    display: grid;
    gap: 12px;
}

body[data-page="tournament-view"] .tfp-signups-admin-progress {
    display: grid;
    gap: 8px;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(5, 25, 66, .22);
    backdrop-filter: blur(8px);
}

body[data-page="tournament-view"] .tfp-signups-admin-progress__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body[data-page="tournament-view"] .tfp-signups-admin-progress__head span,
body[data-page="tournament-view"] .tfp-signups-admin-progress__head strong {
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

body[data-page="tournament-view"] .tfp-signups-admin-progress__bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.17);
}

body[data-page="tournament-view"] .tfp-signups-admin-progress__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #a7f3d0);
    box-shadow: 0 0 16px rgba(56,189,248,.55);
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__action form {
    margin: 0;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn {
    display: grid !important;
    gap: 2px;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    padding: 10px 16px !important;
    border: 1px solid rgba(255,255,255,.32) !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #0b3b83 !important;
    box-shadow: 0 14px 28px rgba(2, 15, 40, .19) !important;
    text-align: left !important;
    cursor: pointer;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn span {
    font-size: 13px;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn small {
    color: #55749e;
    font-size: 10px;
    font-weight: 850;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(2, 15, 40, .24) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn:disabled {
    opacity: .62;
    cursor: not-allowed;
}

body[data-page="tournament-view"] .tfp-signups-admin-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(285px, 330px);
    gap: 16px;
    align-items: start;
}

body[data-page="tournament-view"] .tfp-signups-admin-list {
    min-width: 0;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid #dce7f5 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(15, 35, 73, .075) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
    gap: 16px !important;
    align-items: end !important;
    margin: 0 0 13px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid #e7eef8 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head > div:first-child {
    min-width: 0;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #edf5ff !important;
    color: #2563eb !important;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head strong {
    margin-top: 7px !important;
    color: #08152c !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: -.035em !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head p {
    margin: 6px 0 0;
    color: #718096;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__tools {
    display: grid;
    gap: 8px;
    justify-items: stretch;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__tools em {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #1d5fc2;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signups-admin-search {
    position: relative;
    display: block;
}

body[data-page="tournament-view"] .tfp-signups-admin-search::before {
    content: "⌕";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-52%);
    color: #6b7d96;
    font-size: 17px;
    line-height: 1;
    pointer-events: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-search input {
    width: 100%;
    min-height: 40px;
    padding: 0 12px 0 34px;
    border: 1px solid #d9e5f4;
    border-radius: 12px;
    background: #f8fbff;
    color: #0b1931;
    font-size: 11px;
    font-weight: 750;
    outline: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-search input:focus {
    border-color: #60a5fa;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.09);
}

body[data-page="tournament-view"] .tfp-signups-admin-rows {
    display: grid !important;
    gap: 8px !important;
    max-height: 590px !important;
    overflow: auto !important;
    padding: 1px 5px 1px 1px !important;
    scrollbar-width: thin;
    scrollbar-color: #b9c9dd transparent;
}

body[data-page="tournament-view"] .tfp-signups-admin-row {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto auto !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 11px !important;
    border: 1px solid #e2eaf5 !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body[data-page="tournament-view"] .tfp-signups-admin-row:hover {
    border-color: #bfd7f6 !important;
    box-shadow: 0 9px 22px rgba(15, 35, 73, .07) !important;
    transform: translateY(-1px);
}

body[data-page="tournament-view"] .tfp-signups-admin-row[hidden] {
    display: none !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 13px !important;
    font-size: 11px !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .15) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main strong {
    font-size: 13px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main span {
    display: flex !important;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px !important;
    color: #718096 !important;
    font-size: 10px !important;
    white-space: normal !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main span b {
    color: #b1bdcc;
    font-weight: 900;
}

body[data-page="tournament-view"] .tfp-signups-admin-status {
    min-width: 70px !important;
    padding: 6px 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #ecfdf5 !important;
    color: #047857 !important;
    font-size: 9px !important;
    letter-spacing: .035em !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-remove {
    min-height: 32px !important;
    padding: 0 10px !important;
    border: 1px solid #e6edf6 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 10px !important;
    box-shadow: none !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-remove:hover {
    border-color: #fecaca !important;
    background: #fff1f2 !important;
    color: #be123c !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit summary {
    min-height: 28px !important;
    padding: 0 9px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #eef5ff !important;
    color: #245eb1 !important;
    font-size: 9px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit[open] {
    margin-top: 2px !important;
    padding-top: 10px !important;
    border-top: 1px solid #e8eef6 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit[open] summary {
    margin-bottom: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-search-empty {
    padding: 24px;
    border: 1px dashed #c8d8ec;
    border-radius: 15px;
    background: #f8fbff;
    color: #6a7a91;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

body[data-page="tournament-view"] .tfp-signups-admin-empty {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 42px 20px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-empty > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 3px;
    border-radius: 16px;
    background: #eaf3ff;
    font-size: 22px;
}

body[data-page="tournament-view"] .tfp-signups-admin-sidebar {
    display: grid;
    gap: 12px;
    min-width: 0;
    position: sticky;
    top: 18px;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer {
    overflow: hidden;
    border: 1px solid #dce7f5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 35, 73, .065);
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 12px 14px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary::-webkit-details-marker {
    display: none;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary span {
    display: grid;
    gap: 3px;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary b {
    color: #0b1931;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 950;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary small {
    color: #718096;
    font-size: 10px;
    font-weight: 750;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary i {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 10px;
    background: #edf5ff;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary i::before,
body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: #2563eb;
    transform: translate(-50%, -50%);
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .18s ease;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer[open] > summary {
    border-bottom: 1px solid #e8eef7;
    background: #f8fbff;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer[open] > summary i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer__intro {
    margin: 0;
    color: #718096;
    font-size: 10px;
    line-height: 1.45;
    font-weight: 700;
}

body[data-page="tournament-view"] .tfp-signups-admin-add,
body[data-page="tournament-view"] .tfp-signups-admin-settings {
    display: grid !important;
    gap: 11px !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields,
body[data-page="tournament-view"] .tfp-signups-admin-fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields label,
body[data-page="tournament-view"] .tfp-signups-admin-fields label {
    gap: 5px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields label > span,
body[data-page="tournament-view"] .tfp-signups-admin-fields label > span {
    color: #64748b !important;
    font-size: 9px !important;
    letter-spacing: .055em !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields input,
body[data-page="tournament-view"] .tfp-signups-admin-fields input {
    min-height: 40px !important;
    padding: 0 11px !important;
    border: 1px solid #dce6f2 !important;
    border-radius: 11px !important;
    background: #f9fbfe !important;
    font-size: 11px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields input:focus,
body[data-page="tournament-view"] .tfp-signups-admin-fields input:focus {
    background: #fff !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-switch {
    min-height: 44px;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__submit,
body[data-page="tournament-view"] .tfp-signups-admin-save-btn,
body[data-page="tournament-view"] .tfp-signups-admin-edit__save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #175bd2, #0ea5e9);
    color: #fff;
    box-shadow: 0 9px 20px rgba(37,99,235,.18);
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__submit:hover,
body[data-page="tournament-view"] .tfp-signups-admin-save-btn:hover,
body[data-page="tournament-view"] .tfp-signups-admin-edit__save:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37,99,235,.24);
}

body[data-page="tournament-view"] .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 980px) {
    body[data-page="tournament-view"] .tournament-signup-manager-host {
        width: min(100%, calc(100vw - 24px));
    }

    body[data-page="tournament-view"] .tfp-signups-admin-overview,
    body[data-page="tournament-view"] .tfp-signups-admin-workspace {
        grid-template-columns: 1fr;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        position: static;
    }
}

@media (max-width: 680px) {
    body[data-page="tournament-view"] .tournament-signup-manager-host {
        width: min(100%, calc(100vw - 16px));
        margin-bottom: 14px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-overview {
        gap: 16px;
        padding: 18px 16px;
        border-radius: 19px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-overview h3 {
        font-size: 28px !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-overview__badges {
        gap: 6px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-overview__badges span {
        min-height: 29px;
        padding: 0 9px;
        font-size: 9px;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-list {
        padding: 13px !important;
        border-radius: 18px !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-list__head {
        grid-template-columns: 1fr;
        align-items: start !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-list__tools em {
        justify-self: start;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-rows {
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-row {
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
        gap: 8px !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-row__avatar {
        width: 38px !important;
        height: 38px !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-status {
        display: none !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-delete-form {
        grid-column: 3;
        grid-row: 1;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-edit__fields,
    body[data-page="tournament-view"] .tfp-signups-admin-sidebar {
        grid-template-columns: 1fr !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-drawer {
        border-radius: 16px;
    }
}


/* =========================================================
   Compact professional tournament admin refresh
   Safe visual-only overrides for the single tournament page.
   ========================================================= */
body[data-page="tournament-view"] .league-page.tournament-page .league-shell {
    width: min(1380px, calc(100vw - 28px)) !important;
    max-width: 1380px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero {
    margin-bottom: 10px !important;
    padding: 12px 16px !important;
    border-radius: 18px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px) !important;
    align-items: center !important;
    gap: 12px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__left {
    gap: 10px !important;
    align-items: center !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__logo-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__logo-wrap img {
    width: 24px !important;
    height: 24px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__title {
    margin-bottom: 3px !important;
    font-size: clamp(24px, 2.2vw, 42px) !important;
    line-height: .96 !important;
    letter-spacing: -.05em !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__meta {
    font-size: 11px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__pills {
    gap: 5px !important;
    margin-top: 8px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-pill {
    min-height: 22px !important;
    padding: 0 8px !important;
    font-size: 9px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero__stats {
    max-width: 420px !important;
    gap: 6px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero-stat {
    min-height: 52px !important;
    padding: 7px 8px !important;
    border-radius: 12px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero-stat span {
    margin-bottom: 4px !important;
    font-size: 8px !important;
}

body[data-page="tournament-view"] .league-page.tournament-page .league-hero-stat strong {
    font-size: 16px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-clean {
    gap: 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 310px) !important;
    gap: 16px !important;
    padding: 18px 20px !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 38px rgba(15, 57, 128, .18) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview::after {
    right: -96px !important;
    bottom: -126px !important;
    width: 230px !important;
    height: 230px !important;
    box-shadow: 0 0 0 26px rgba(255,255,255,.03), 0 0 0 54px rgba(255,255,255,.02) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-kicker {
    min-height: 22px !important;
    padding: 0 9px !important;
    font-size: 9px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview h3 {
    margin: 8px 0 5px !important;
    font-size: clamp(19px, 2vw, 31px) !important;
    line-height: 1 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__copy > p {
    max-width: 620px !important;
    font-size: 12px !important;
    line-height: 1.38 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges {
    gap: 6px !important;
    margin-top: 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-overview__badges span {
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-progress {
    gap: 7px !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-progress__head span,
body[data-page="tournament-view"] .tfp-signups-admin-progress__head strong {
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-progress__bar {
    height: 6px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn {
    min-height: 50px !important;
    padding: 8px 14px !important;
    border-radius: 14px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn span {
    font-size: 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-close-btn small {
    font-size: 9px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px) !important;
    gap: 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list {
    padding: 14px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 35, 73, .065) !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px) !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head span {
    min-height: 20px !important;
    padding: 0 7px !important;
    font-size: 8px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head strong {
    margin-top: 6px !important;
    font-size: 18px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__head p {
    margin-top: 4px !important;
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__tools {
    gap: 6px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-list__tools em {
    min-height: 24px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-search::before {
    left: 10px !important;
    font-size: 15px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-search input {
    min-height: 36px !important;
    padding: 0 11px 0 30px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-rows {
    gap: 6px !important;
    max-height: 560px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row {
    grid-template-columns: 34px minmax(0, 1fr) auto auto !important;
    gap: 8px !important;
    padding: 8px 9px !important;
    border-radius: 13px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main strong {
    font-size: 12px !important;
    line-height: 1.12 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-row__main span {
    gap: 4px !important;
    margin-top: 3px !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-status {
    min-width: 58px !important;
    padding: 5px 7px !important;
    font-size: 8px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-remove {
    min-height: 28px !important;
    padding: 0 9px !important;
    border-radius: 9px !important;
    font-size: 9px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit summary {
    min-height: 24px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 8px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit[open] {
    padding-top: 8px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-edit[open] summary {
    margin-bottom: 8px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-sidebar {
    gap: 10px !important;
    top: 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer {
    border-radius: 16px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary {
    min-height: 56px !important;
    padding: 10px 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary b {
    font-size: 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary small {
    font-size: 9px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer > summary i {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
    border-radius: 8px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-drawer__intro {
    font-size: 9px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add,
body[data-page="tournament-view"] .tfp-signups-admin-settings {
    gap: 9px !important;
    padding: 12px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields,
body[data-page="tournament-view"] .tfp-signups-admin-fields {
    gap: 8px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__fields input,
body[data-page="tournament-view"] .tfp-signups-admin-fields input {
    min-height: 36px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-switch {
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
}

body[data-page="tournament-view"] .tfp-signups-admin-add__submit,
body[data-page="tournament-view"] .tfp-signups-admin-save-btn,
body[data-page="tournament-view"] .tfp-signups-admin-edit__save {
    min-height: 36px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
    box-shadow: 0 8px 18px rgba(37,99,235,.14) !important;
}

@media (max-width: 980px) {
    body[data-page="tournament-view"] .league-page.tournament-page .league-hero__content {
        grid-template-columns: 1fr !important;
    }

    body[data-page="tournament-view"] .league-page.tournament-page .league-hero__stats {
        max-width: none !important;
    }

    body[data-page="tournament-view"] .tfp-signups-admin-workspace {
        grid-template-columns: 1fr !important;
    }
}
