/* =========================================================
   TennisFinalsPro — profesjonalny kalendarz rezerwacji kortów
   Warstwa wizualna. Nie zmienia logiki rezerwacji ani danych.
========================================================= */

body:has(.booking-studio) {
    background:
        radial-gradient(circle at 12% 4%, rgba(37, 99, 235, .08), transparent 28rem),
        linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%) !important;
}

.booking-studio {
    width: min(100%, 1540px) !important;
    max-width: 1540px !important;
    padding: 18px 24px 64px !important;
}

.booking-hero {
    min-height: 106px !important;
    margin-bottom: 14px !important;
    padding: 20px 24px !important;
    border-radius: 22px !important;
    border: 1px solid #d7e4f7 !important;
    background:
        radial-gradient(circle at 94% 12%, rgba(14, 165, 233, .14), transparent 15rem),
        linear-gradient(135deg, #fff 0%, #f7fbff 65%, #edf6ff 100%) !important;
    box-shadow: 0 18px 48px rgba(24, 69, 132, .08) !important;
}

.booking-hero h1 {
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1 !important;
}

.booking-hero__meta > div,
.booking-hero__meta > a {
    min-height: 52px !important;
    border-radius: 15px !important;
}

.booking-board--week {
    padding: 16px !important;
    border: 1px solid #d7e4f7 !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 20px 54px rgba(31, 72, 125, .10) !important;
}

.booking-board__head--compact {
    margin-bottom: 10px !important;
    padding: 2px 2px 10px !important;
    border-bottom: 1px solid #e7eef8;
}

.booking-board__head--compact h2 {
    margin-top: 3px !important;
    color: #0b1736 !important;
    font-size: 22px !important;
    letter-spacing: -.025em;
}

.booking-board__head--compact p {
    margin-top: 4px !important;
    color: #64748b !important;
}

.week-switcher--premium {
    border: 1px solid #d9e7f8 !important;
    background: #f7faff !important;
    box-shadow: none !important;
}

.week-switcher--premium a {
    color: #175cd3 !important;
    background: #fff !important;
}

.week-switcher--premium strong {
    color: #0b1736 !important;
}

.court-picker {
    grid-column: 1 / -1;
    margin: 0 0 12px !important;
    padding: 7px !important;
    border-color: #dbe7f6 !important;
    background: #f8fbff !important;
    border-radius: 15px !important;
}

.court-picker__btn {
    min-height: 38px !important;
    padding-inline: 18px !important;
    border-radius: 11px !important;
    box-shadow: none !important;
}

.court-picker__btn.is-active {
    background: linear-gradient(135deg, #1167ed 0%, #159fec 100%) !important;
    box-shadow: 0 8px 18px rgba(17, 103, 237, .22) !important;
}

.court-week-grid-wrap {
    min-width: 0;
    max-height: 650px !important;
    margin: 0 !important;
    border: 1px solid #d8e5f5 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(25, 64, 116, .07) !important;
    scrollbar-color: #b8c9df #eef4fb;
    scrollbar-width: thin;
}

.court-week-grid-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.court-week-grid-wrap::-webkit-scrollbar-track {
    background: #eef4fb;
}

.court-week-grid-wrap::-webkit-scrollbar-thumb {
    border: 2px solid #eef4fb;
    border-radius: 999px;
    background: #b8c9df;
}

.court-week-panel {
    min-width: 980px !important;
}

.court-week-grid {
    background: #fff;
}

.court-week-grid th,
.court-week-grid td {
    border-color: #e5edf7 !important;
}

.court-week-grid thead th {
    height: 58px;
    padding: 9px 7px !important;
    background: #f7faff !important;
    color: #334155 !important;
}

.court-week-grid thead th.is-today {
    background: linear-gradient(180deg, #eaf3ff, #f4f8ff) !important;
    color: #0f5ed7 !important;
    box-shadow: inset 0 -3px 0 #2f80ed;
}

.court-week-grid .schedule-time-head,
.court-week-grid .schedule-time {
    width: 72px !important;
    background: #fbfdff !important;
}

.court-week-grid .schedule-time {
    color: #334155 !important;
    font-size: 11.5px !important;
}

.court-week-grid td {
    height: 46px !important;
    padding: 4px !important;
    background: #fff !important;
}

.court-week-grid tbody tr:hover td,
.court-week-grid tbody tr:hover .schedule-time {
    background: #fbfdff !important;
}

.court-week-grid .time-slot {
    min-height: 36px !important;
    border-radius: 9px !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

/* Wolny termin — spokojna zieleń */
.court-week-grid .time-slot--free {
    border: 1px solid #c9efd7 !important;
    background: linear-gradient(180deg, #f5fff8 0%, #edfbf2 100%) !important;
    color: #159447 !important;
}

.court-week-grid .time-slot--free span {
    width: 20px !important;
    height: 20px !important;
    background: #dcfce7 !important;
    color: #16a34a !important;
    font-size: 14px;
}

.court-week-grid .time-slot--free:hover {
    z-index: 2;
    transform: translateY(-1px);
    border-color: #22c55e !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    box-shadow: 0 8px 18px rgba(22, 163, 74, .22) !important;
}

/* Wybrany termin — żółty, jednoznaczny */
.court-week-grid .time-slot--free.is-selected,
.court-week-grid .time-slot--free.is-range {
    border-color: #f4b400 !important;
    background: linear-gradient(180deg, #fff8d8 0%, #ffefad 100%) !important;
    color: #8a5800 !important;
    box-shadow: inset 0 0 0 1px rgba(244, 180, 0, .16), 0 7px 16px rgba(180, 119, 0, .13) !important;
}

.court-week-grid .time-slot--free.is-selected span,
.court-week-grid .time-slot--free.is-range span {
    background: #fbbf24 !important;
    color: #fff !important;
}

.court-week-grid .time-slot--free.is-blocked-range {
    border-color: #fca5a5 !important;
    background: #fff1f2 !important;
    color: #be123c !important;
    box-shadow: none !important;
}

/* Zwykła zajęta rezerwacja — koral/czerwień */
.court-week-grid .time-slot--busy {
    border: 1px solid #fecdd3 !important;
    background: linear-gradient(135deg, #fff5f6 0%, #ffe7ea 100%) !important;
    color: #b4233f !important;
    box-shadow: inset 3px 0 0 #fb7185;
}

/* Własna rezerwacja — niebieska */
.court-week-grid .time-slot--mine {
    border: 1px solid #9dc5ff !important;
    background: linear-gradient(135deg, #edf5ff 0%, #dcecff 100%) !important;
    color: #0f5ed7 !important;
    box-shadow: inset 3px 0 0 #2f80ed;
}

/* Stała rezerwacja — fioletowa, niezależnie od właściciela */
.court-week-grid .time-slot--recurring {
    border-color: #c4b5fd !important;
    background: linear-gradient(135deg, #f5f1ff 0%, #e8ddff 100%) !important;
    color: #6938b8 !important;
    box-shadow: inset 3px 0 0 #8b5cf6 !important;
}

/* Oczekująca — delikatny bursztyn (stała nadal pozostaje fioletowa) */
.court-week-grid .time-slot--pending:not(.time-slot--recurring) {
    border-color: #fed7aa !important;
    background: linear-gradient(135deg, #fffaf0 0%, #ffedd5 100%) !important;
    color: #b45309 !important;
    box-shadow: inset 3px 0 0 #f59e0b !important;
}

.court-week-grid .time-slot--locked {
    border: 1px solid #e2e8f0 !important;
    background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 7px, #f1f5f9 7px, #f1f5f9 14px) !important;
    color: #94a3b8 !important;
}

.court-week-grid .time-slot--busy,
.court-week-grid .time-slot--mine,
.court-week-grid .time-slot--recurring {
    padding: 5px 28px 5px 9px !important;
}

.court-week-grid .time-slot strong {
    color: inherit !important;
    font-size: 10.5px !important;
    line-height: 1.12 !important;
}

.reservation-slot-meta {
    display: flex !important;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: inherit !important;
    font-size: 8.5px !important;
    font-weight: 800;
    opacity: .82 !important;
    white-space: nowrap;
}

.reservation-slot-meta span + span::before {
    content: "•";
    margin-right: 5px;
    opacity: .55;
}

.reservation-type-mark {
    position: absolute;
    top: 4px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: rgba(124, 58, 237, .14);
    color: #7c3aed;
    font-size: 12px;
    font-weight: 950;
}

.court-week-grid .time-slot.is-continuation {
    min-height: 36px !important;
    opacity: .72 !important;
    border-radius: 6px !important;
}

.court-week-grid .slot-cancel-form button {
    background: #e11d48 !important;
    box-shadow: 0 5px 11px rgba(225, 29, 72, .22) !important;
}

/* Panel rezerwacji */
.booking-summary--inline {
    margin: 0 !important;
    padding: 17px !important;
    border: 1px solid #d8e5f5 !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
    box-shadow: 0 12px 30px rgba(24, 68, 124, .08) !important;
}

.booking-summary--inline .booking-summary__copy {
    padding-bottom: 12px;
    border-bottom: 1px solid #e5edf7;
}

.booking-summary--inline .booking-summary__copy h2 {
    margin-top: 6px !important;
    color: #0b1736 !important;
    font-size: 19px !important;
}

.booking-summary--inline .booking-summary__copy p {
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.booking-checkout--inline {
    margin-top: 13px;
    gap: 10px !important;
}

.booking-checkout--inline label,
.booking-admin-field {
    color: #475569 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .02em;
}

.booking-checkout--inline select,
.booking-admin-field input,
.booking-admin-field select {
    min-height: 42px !important;
    border: 1px solid #d6e3f3 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

.booking-checkout--inline select:focus,
.booking-admin-field input:focus,
.booking-admin-field select:focus {
    border-color: #2f80ed !important;
    box-shadow: 0 0 0 4px rgba(47, 128, 237, .10) !important;
}

.booking-checkout--inline .light-toggle {
    min-height: 42px !important;
    border: 1px solid #d6e3f3 !important;
    border-radius: 11px !important;
    background: #fff !important;
}

.booking-admin-options {
    padding: 10px !important;
    border: 1px solid #e0eaf6 !important;
    border-radius: 13px !important;
    background: #f7faff !important;
}

.repeat-toggle {
    min-height: 42px !important;
    border-color: #c4b5fd !important;
    border-radius: 11px !important;
    background: #f5f1ff !important;
    color: #6d3fc0 !important;
}

.repeat-toggle input {
    accent-color: #7c3aed !important;
}

.booking-checkout--inline .checkout-price {
    min-height: 49px !important;
    border: 1px solid #dce7f4 !important;
    border-radius: 12px !important;
    background: #fff !important;
}

.booking-checkout--inline .clubs-btn {
    min-height: 48px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1167ed 0%, #159fec 100%) !important;
    box-shadow: 0 10px 22px rgba(17, 103, 237, .22) !important;
}

.booking-checkout--inline .clubs-btn:disabled {
    background: #dbe5f1 !important;
    box-shadow: none !important;
}

.booking-weeks-panel {
    grid-column: 1 / -1;
}

/* Szeroki, profesjonalny układ desktopowy */
@media (min-width: 1260px) {
    .booking-board--week {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 328px;
        align-items: start;
        gap: 14px 16px;
    }

    .booking-board__head--compact,
    .booking-weeks-panel,
    .court-picker {
        grid-column: 1 / -1;
    }

    .court-week-grid-wrap {
        grid-column: 1;
        grid-row: auto;
    }

    .booking-summary--inline {
        grid-column: 2;
        align-self: start;
        position: sticky !important;
        top: calc(var(--tfp-header-fixed-height, 72px) + 14px) !important;
        z-index: 6 !important;
        display: block !important;
    }

    .booking-checkout--inline {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: end !important;
    }

    .booking-checkout--inline > label:first-of-type,
    .booking-admin-options,
    .booking-checkout--inline .checkout-price,
    .booking-checkout--inline .clubs-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .booking-checkout--inline .light-toggle {
        grid-column: 1 / -1;
        justify-content: flex-start !important;
    }

    .booking-admin-options {
        grid-template-columns: 1fr !important;
    }

    .booking-admin-field:first-child {
        grid-column: auto !important;
    }

    .repeat-toggle {
        width: 100%;
        justify-content: flex-start !important;
    }
}

@media (max-width: 1259px) {
    .booking-summary--inline {
        margin-top: 14px !important;
    }
}

@media (max-width: 900px) {
    .booking-studio {
        padding: 12px 12px 44px !important;
    }

    .booking-hero {
        padding: 16px !important;
        border-radius: 19px !important;
    }

    .booking-board--week {
        padding: 11px !important;
        border-radius: 20px !important;
    }

    .court-week-grid-wrap {
        max-height: 67vh !important;
    }
}

@media (max-width: 620px) {
    .booking-studio {
        padding-inline: 8px !important;
    }

    .booking-hero {
        min-height: 0 !important;
        padding: 14px !important;
    }

    .booking-hero h1 {
        font-size: 25px !important;
    }

    .court-week-panel {
        min-width: 790px !important;
    }

    .court-week-grid td {
        height: 43px !important;
    }

    .court-week-grid .time-slot {
        min-height: 33px !important;
    }

    .booking-summary--inline {
        padding: 14px !important;
    }

    .booking-admin-options {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   Kompaktowy mobile redesign — kalendarz ma być wyżej
========================================================= */
@media (max-width: 767px) {
    .booking-studio {
        padding: 8px 8px 28px !important;
    }

    .booking-hero {
        min-height: 0 !important;
        margin-bottom: 8px !important;
        padding: 10px 12px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 24px rgba(24, 69, 132, .08) !important;
    }

    .booking-kicker {
        gap: 6px !important;
        margin-bottom: 6px !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 24px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
        border-radius: 999px !important;
    }

    .booking-hero h1 {
        margin: 0 0 4px !important;
        font-size: 18px !important;
        line-height: 1.08 !important;
        letter-spacing: -.02em !important;
    }

    .booking-hero__content p {
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        color: #516076 !important;
    }

    .booking-hero__meta {
        display: grid !important;
        grid-template-columns: 54px repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 10px !important;
        align-items: stretch !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .club-proadmin-delete-form--hero button {
        min-height: 42px !important;
        padding: 6px 8px !important;
        border-radius: 12px !important;
        font-size: 11px !important;
        box-shadow: none !important;
    }

    .booking-hero__favorite {
        min-width: 54px !important;
    }

    .booking-hero__favorite button,
    .booking-hero__favorite a {
        min-height: 42px !important;
        width: 100% !important;
    }

    .booking-hero__meta > div strong,
    .booking-hero__meta > a strong {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div span,
    .booking-hero__meta > a span {
        font-size: 10px !important;
    }

    .booking-hero__meta > a,
    .club-proadmin-delete-form--hero {
        grid-column: 1 / -1 !important;
    }

    .club-proadmin-delete-form--hero button {
        width: 100% !important;
    }

    .clubs-alert {
        margin: 6px 0 8px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .booking-board--week {
        padding: 8px !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 32px rgba(31, 72, 125, .08) !important;
    }

    .booking-board__head--compact {
        margin-bottom: 8px !important;
        padding: 0 0 8px !important;
    }

    .booking-board__head--compact .mini-label {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    .booking-board__head--compact h2 {
        margin: 4px 0 0 !important;
        font-size: 16px !important;
        line-height: 1.15 !important;
    }

    .booking-board__head--compact p,
    .booking-board__head--compact .club-feature-tags {
        display: none !important;
    }

    .week-actions {
        width: 100% !important;
        margin-top: 8px !important;
    }

    .week-switcher--premium {
        display: grid !important;
        grid-template-columns: 72px minmax(0, 1fr) 72px !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 4px !important;
        border-radius: 13px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        min-height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 6px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        text-align: center !important;
    }

    .week-switcher--premium strong {
        line-height: 1.15 !important;
    }

    .booking-weeks-panel {
        margin-bottom: 8px !important;
    }

    .booking-weeks-panel summary {
        padding: 8px 10px !important;
        border-radius: 12px !important;
        min-height: 0 !important;
    }

    .booking-weeks-panel summary b {
        font-size: 13px !important;
    }

    .booking-weeks-panel summary small,
    .booking-weeks-panel summary em {
        font-size: 11px !important;
    }

    .booking-weeks-panel__body {
        padding: 8px 0 0 !important;
    }

    .booking-weeks-panel__info {
        display: none !important;
    }

    .booking-weeks-panel__actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .booking-weeks-panel__actions form button {
        min-height: 38px !important;
        padding: 8px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .court-picker {
        margin-bottom: 8px !important;
        padding: 5px !important;
        border-radius: 12px !important;
    }

    .court-picker__btn {
        min-height: 34px !important;
        padding-inline: 14px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 560px) {
    .booking-studio {
        padding: 6px 6px 24px !important;
    }

    .booking-hero {
        padding: 9px 10px !important;
    }

    .booking-kicker span:last-child {
        display: none !important;
    }

    .booking-hero__content p {
        font-size: 11px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 48px repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .club-proadmin-delete-form--hero button {
        min-height: 38px !important;
        padding: 4px 6px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
    }

    .booking-hero__meta > div strong,
    .booking-hero__meta > a strong {
        font-size: 16px !important;
    }

    .booking-board__head--compact h2 {
        font-size: 15px !important;
    }

    .week-switcher--premium {
        grid-template-columns: 66px minmax(0, 1fr) 66px !important;
        gap: 4px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        min-height: 32px !important;
        font-size: 10px !important;
        padding: 0 4px !important;
    }

    .booking-weeks-panel__actions {
        grid-template-columns: 1fr !important;
    }

    .booking-summary--inline {
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .booking-summary--inline .booking-summary__copy {
        padding-bottom: 8px !important;
    }

    .booking-summary--inline .booking-summary__copy h2 {
        font-size: 17px !important;
    }

    .booking-summary--inline .booking-summary__copy p {
        display: none !important;
    }
}

/* =========================================================
   FINAL: czytelny i bardzo niski baner klubu
========================================================= */
.booking-hero,
.booking-hero__content,
.booking-hero__meta {
    color: #0b1736 !important;
}

.booking-hero h1,
.booking-hero__content h1 {
    color: #0b1736 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-hero__content p {
    color: #52627a !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-kicker a,
.booking-kicker span {
    color: #175cd3 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-hero__meta > div,
.booking-hero__meta > div strong,
.booking-hero__meta > div span,
.booking-hero__meta > a,
.booking-hero__meta > a span,
.booking-hero__favorite,
.booking-hero__favorite button {
    color: #0b1736 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-hero__meta > a {
    color: #175cd3 !important;
}

@media (max-width: 767px) {
    .booking-hero {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 7px !important;
        padding: 8px 10px !important;
        border-radius: 14px !important;
        display: block !important;
    }

    .booking-hero__content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 4px 8px !important;
    }

    .booking-kicker {
        grid-column: 1 / -1 !important;
        display: flex !important;
        gap: 5px !important;
        margin: 0 !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 20px !important;
        padding: 0 7px !important;
        border-radius: 999px !important;
        font-size: 9px !important;
        line-height: 20px !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        grid-column: 1 !important;
        margin: 2px 0 0 !important;
        font-size: 17px !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .booking-hero__content p {
        display: none !important;
    }

    .booking-hero__meta {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        width: 100% !important;
        margin-top: 7px !important;
        padding: 0 !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .booking-hero__meta::-webkit-scrollbar {
        display: none !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        grid-column: auto !important;
        margin: 0 !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        min-height: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        font-size: 9px !important;
        line-height: 1 !important;
        box-shadow: none !important;
        white-space: nowrap !important;
    }

    .booking-hero__favorite,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 32px !important;
        min-width: 32px !important;
        padding: 0 !important;
    }

    .booking-hero__meta > div strong {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div span {
        font-size: 8px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > a {
        font-size: 9px !important;
    }

    .club-proadmin-delete-form--hero button {
        width: auto !important;
        min-width: 58px !important;
    }
}

@media (max-width: 480px) {
    .booking-hero {
        padding: 7px 9px !important;
    }

    .booking-kicker span {
        display: none !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 16px !important;
    }

    .booking-hero__meta {
        margin-top: 6px !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        min-height: 30px !important;
        height: 30px !important;
        padding-inline: 7px !important;
    }
}

/* =========================================================
   TFP FIX — mobile: czyste kafelki zajętych terminów
   - bez ikonki stałej rezerwacji
   - bez napisu "stała" / dodatkowych metadanych
   - wyśrodkowany tytuł i godziny
   - brak wychodzenia tekstu poza kafelek
========================================================= */
@media (max-width: 620px) {
    .court-week-grid .time-slot--busy,
    .court-week-grid .time-slot--mine,
    .court-week-grid .time-slot--recurring,
    .court-week-grid .time-slot--blocked-event {
        padding: 3px 4px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1px !important;
        overflow: hidden !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Na telefonie kolor fioletowy wystarczy do rozpoznania rezerwacji stałej. */
    .court-week-grid .reservation-type-mark {
        display: none !important;
    }

    .court-week-grid .time-slot strong {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: inherit !important;
        font-size: 9px !important;
        line-height: 1.05 !important;
        font-weight: 900 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .court-week-grid .reservation-slot-meta {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1px 0 0 !important;
        padding: 0 !important;
        color: inherit !important;
        font-size: 7.5px !important;
        line-height: 1.05 !important;
        font-weight: 800 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        font-variant-numeric: tabular-nums !important;
        opacity: .9 !important;
    }

    /* Zostaw tylko zakres godzin. "stała", "oczekuje", "światło" itd. nie ściskają komórki. */
    .court-week-grid .reservation-slot-meta > span {
        display: none !important;
    }

    .court-week-grid .reservation-slot-meta > span:first-child {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }

    .court-week-grid .reservation-slot-meta span + span::before {
        display: none !important;
        content: none !important;
    }

    .court-week-grid .reservation-phone-private {
        display: none !important;
    }

    .court-week-grid .time-slot.is-continuation {
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Przycisk anulowania zostaje funkcjonalny, ale nie zabiera miejsca tekstowi. */
    .court-week-grid .slot-cancel-form {
        top: 2px !important;
        right: 2px !important;
    }

    .court-week-grid .slot-cancel-form button {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        min-height: 15px !important;
        font-size: 11px !important;
        line-height: 13px !important;
    }

    .court-week-grid .time-slot--mine:has(.slot-cancel-form),
    .court-week-grid .time-slot--busy:has(.slot-cancel-form),
    .court-week-grid .time-slot--recurring:has(.slot-cancel-form),
    .court-week-grid .time-slot--blocked-event:has(.slot-cancel-form) {
        padding-right: 19px !important;
        padding-left: 3px !important;
    }
}

/* =========================================================
   TFP FINAL — desktop premium + czyste rezerwacje + legenda
   Modyfikacja istniejącego pliku, bez dodatkowego CSS.
========================================================= */

/* Oznaczenie stałej rezerwacji jest wyłącznie kolorem + legendą. */
.court-week-grid .reservation-type-mark {
    display: none !important;
}

/* Czytelna legenda kolorów */
.booking-color-legend {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
    margin: -2px 0 12px;
    padding: 8px 10px;
    border: 1px solid #dbe7f4;
    border-radius: 13px;
    background: #f8fbff;
    color: #475569;
    font-size: 10px;
    font-weight: 800;
}

.booking-color-legend__title {
    margin-right: 2px;
    color: #0b1736;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.booking-color-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.booking-color-legend__swatch {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.booking-color-legend__swatch.is-free {
    border-color: #bbf7d0;
    background: #eafaf0;
}
.booking-color-legend__swatch.is-selected {
    border-color: #f4b400;
    background: #ffefad;
}
.booking-color-legend__swatch.is-busy {
    border-color: #fecdd3;
    background: #ffe7ea;
}
.booking-color-legend__swatch.is-mine {
    border-color: #9dc5ff;
    background: #dcecff;
}
.booking-color-legend__swatch.is-recurring {
    border-color: #c4b5fd;
    background: #e8ddff;
}
.booking-color-legend__swatch.is-pending {
    border-color: #fed7aa;
    background: #ffedd5;
}
.booking-color-legend__swatch.is-blocked {
    border-color: #cbd5e1;
    background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 3px, #e2e8f0 3px, #e2e8f0 6px);
}

/* Ręczna blokada klubu — osobny, neutralny stan. */
.court-week-grid .time-slot--blocked-event {
    border: 1px solid #cbd5e1 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%) !important;
    color: #475569 !important;
    box-shadow: inset 3px 0 0 #64748b !important;
}

@media (min-width: 768px) {
    /* -----------------------------------------------------
       Premium banner klubu — desktop
    ----------------------------------------------------- */
    .booking-hero {
        position: relative !important;
        isolation: isolate;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 24px !important;
        min-height: 124px !important;
        margin-bottom: 14px !important;
        padding: 22px 24px !important;
        overflow: hidden !important;
        border: 1px solid rgba(37, 99, 235, .22) !important;
        border-radius: 22px !important;
        background:
            radial-gradient(circle at 88% 2%, rgba(56, 189, 248, .28), transparent 18rem),
            radial-gradient(circle at 7% 120%, rgba(37, 99, 235, .32), transparent 24rem),
            linear-gradient(118deg, #071a3a 0%, #0b2d63 58%, #0f63b8 100%) !important;
        box-shadow: 0 20px 48px rgba(15, 45, 92, .18) !important;
    }

    .booking-hero::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: -75px;
        right: 120px;
        width: 230px;
        height: 230px;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 50%;
        box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 54px rgba(255,255,255,.018);
        pointer-events: none;
    }

    .booking-hero__content {
        position: relative;
        z-index: 1;
        min-width: 0;
    }

    .booking-kicker {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        margin: 0 0 8px !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 26px !important;
        padding: 0 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        border: 1px solid rgba(255,255,255,.15) !important;
        border-radius: 999px !important;
        color: #eaf4ff !important;
        background: rgba(255,255,255,.08) !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        backdrop-filter: blur(8px);
    }

    .booking-kicker span {
        color: #bff4ff !important;
        background: rgba(14, 165, 233, .16) !important;
        border-color: rgba(125, 211, 252, .22) !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        margin: 0 !important;
        color: #fff !important;
        font-size: clamp(28px, 2.45vw, 38px) !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        letter-spacing: -.035em !important;
        text-shadow: none !important;
    }

    .booking-hero__content p {
        margin: 8px 0 0 !important;
        color: #c9dcf4 !important;
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
        text-shadow: none !important;
    }

    .booking-hero__meta {
        position: relative;
        z-index: 1;
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        min-width: 112px !important;
        min-height: 62px !important;
        padding: 9px 13px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        border-radius: 16px !important;
        background: rgba(255,255,255,.09) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
        backdrop-filter: blur(10px);
    }

    .booking-hero__meta > div:nth-child(3) {
        min-width: 136px !important;
        border-color: rgba(103, 232, 249, .24) !important;
        background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(59,130,246,.13)) !important;
    }

    .booking-hero__meta > div strong {
        color: #fff !important;
        font-size: 20px !important;
        line-height: 1 !important;
        font-weight: 950 !important;
        letter-spacing: -.025em !important;
    }

    .booking-hero__meta > div span {
        margin-top: 5px !important;
        color: #c7d9f1 !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .08em !important;
    }

    .booking-hero__favorite {
        width: 62px !important;
        min-width: 62px !important;
        min-height: 62px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(251,191,36,.24) !important;
        border-radius: 16px !important;
        background: rgba(251,191,36,.10) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
        backdrop-filter: blur(10px);
    }

    .booking-hero__favorite .club-favorite-form {
        display: flex !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        border: 1px solid rgba(251,191,36,.34) !important;
        border-radius: 14px !important;
        color: #fbbf24 !important;
        background: rgba(255,255,255,.08) !important;
        box-shadow: none !important;
        font-size: 24px !important;
    }

    .booking-hero__favorite .club-favorite-btn:hover {
        transform: translateY(-1px) scale(1.03) !important;
        background: rgba(251,191,36,.16) !important;
    }

    .booking-hero__favorite .club-favorite-btn.is-active {
        color: #7c2d12 !important;
        background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%) !important;
        border-color: #fcd34d !important;
    }

    .booking-hero__meta > a {
        min-height: 62px !important;
        padding: 0 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 16px !important;
        color: #fff !important;
        background: rgba(255,255,255,.09) !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        backdrop-filter: blur(10px);
    }

    .booking-hero__meta > a:hover {
        background: rgba(255,255,255,.15) !important;
        transform: translateY(-1px);
    }

    /* -----------------------------------------------------
       Czyste kafelki rezerwacji — desktop
    ----------------------------------------------------- */
    .court-week-panel {
        min-width: 1080px !important;
    }

    .court-week-grid td {
        height: 50px !important;
        padding: 5px !important;
    }

    .court-week-grid .time-slot--busy,
    .court-week-grid .time-slot--mine,
    .court-week-grid .time-slot--recurring,
    .court-week-grid .time-slot--pending,
    .court-week-grid .time-slot--blocked-event {
        min-height: 39px !important;
        padding: 5px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        overflow: hidden !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .court-week-grid .time-slot strong {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        color: inherit !important;
        font-size: 11px !important;
        line-height: 1.08 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .court-week-grid .reservation-slot-meta {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        justify-content: center !important;
        gap: 5px !important;
        font-size: 8.5px !important;
        line-height: 1 !important;
        font-variant-numeric: tabular-nums !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .court-week-grid .reservation-slot-meta span {
        flex: 0 0 auto;
    }

    .court-week-grid .reservation-phone-private {
        max-width: 100%;
        margin-top: 1px;
        color: inherit !important;
        font-size: 8px !important;
        line-height: 1 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: .74;
    }

    .court-week-grid .time-slot.is-continuation {
        min-height: 39px !important;
        padding: 0 !important;
    }

    .court-week-grid .time-slot:has(.slot-cancel-form) {
        padding-right: 25px !important;
        padding-left: 6px !important;
    }

    .court-week-grid .slot-cancel-form {
        top: 4px !important;
        right: 4px !important;
    }

    .court-week-grid .slot-cancel-form button {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
        border-radius: 6px !important;
        font-size: 12px !important;
        line-height: 15px !important;
    }
}

/* Legenda na telefonie: jeden niski, przewijany pasek zamiast kolejnej dużej sekcji. */
@media (max-width: 767px) {
    .booking-color-legend {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin: -1px 0 8px !important;
        padding: 6px 8px !important;
        overflow-x: auto !important;
        border-radius: 11px !important;
        scrollbar-width: none !important;
    }

    .booking-color-legend::-webkit-scrollbar {
        display: none !important;
    }

    .booking-color-legend__title {
        position: sticky;
        left: 0;
        z-index: 1;
        padding-right: 7px;
        background: #f8fbff;
    }

    .booking-color-legend__item {
        flex: 0 0 auto;
        font-size: 9px !important;
    }

    .booking-color-legend__swatch {
        width: 10px;
        height: 10px;
        flex-basis: 10px;
    }
}

/* =========================================================
   TFP FINAL — mobilny baner klubu 2026
   - bez poziomego przewijania
   - nazwa + lokalizacja czytelne
   - ulubione / korty / cena w równym układzie
   - legenda usunięta z HTML
========================================================= */
@media (max-width: 767px) {
    .booking-hero {
        position: relative !important;
        display: block !important;
        min-height: 0 !important;
        margin: 7px 8px 10px !important;
        padding: 14px !important;
        overflow: hidden !important;
        border: 1px solid rgba(37, 99, 235, .20) !important;
        border-radius: 18px !important;
        background:
            radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .26), transparent 11rem),
            linear-gradient(135deg, #071a3a 0%, #0b3471 66%, #0d68b8 100%) !important;
        box-shadow: 0 12px 28px rgba(15, 45, 92, .18) !important;
        color: #fff !important;
    }

    .booking-hero::after {
        content: "";
        position: absolute;
        top: -62px;
        right: -54px;
        width: 150px;
        height: 150px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 50%;
        box-shadow: 0 0 0 22px rgba(255,255,255,.025);
        pointer-events: none;
    }

    .booking-hero__content {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        min-width: 0 !important;
    }

    .booking-kicker {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 0 8px !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 24px !important;
        padding: 0 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 999px !important;
        background: rgba(255,255,255,.09) !important;
        color: #eaf4ff !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-decoration: none !important;
    }

    .booking-kicker span {
        color: #bff4ff !important;
        background: rgba(14,165,233,.16) !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: clamp(20px, 6vw, 25px) !important;
        line-height: 1.08 !important;
        font-weight: 950 !important;
        letter-spacing: -.025em !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .booking-hero__content p {
        display: block !important;
        margin: 6px 0 0 !important;
        color: #c9dcf4 !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
        white-space: normal !important;
    }

    .booking-hero__meta {
        position: relative !important;
        z-index: 1 !important;
        display: grid !important;
        grid-template-columns: 44px minmax(0, .82fr) minmax(0, 1.18fr) !important;
        align-items: stretch !important;
        gap: 7px !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .booking-hero__favorite {
        width: 44px !important;
        min-width: 44px !important;
        min-height: 50px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(251,191,36,.28) !important;
        border-radius: 13px !important;
        background: rgba(251,191,36,.11) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
    }

    .booking-hero__favorite .club-favorite-form {
        display: flex !important;
        margin: 0 !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: transparent !important;
        color: #fbbf24 !important;
        box-shadow: none !important;
        font-size: 21px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        min-height: 50px !important;
        padding: 8px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        border-radius: 13px !important;
        background: rgba(255,255,255,.09) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
    }

    .booking-hero__meta > div:nth-child(3) {
        background: linear-gradient(135deg, rgba(14,165,233,.24), rgba(59,130,246,.15)) !important;
        border-color: rgba(125,211,252,.23) !important;
    }

    .booking-hero__meta > div strong {
        color: #fff !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 950 !important;
        white-space: nowrap !important;
    }

    .booking-hero__meta > div span {
        margin-top: 4px !important;
        color: #c7d9f1 !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .06em !important;
        white-space: nowrap !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        grid-column: 1 / -1 !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        width: 100% !important;
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 11px !important;
        background: rgba(255,255,255,.09) !important;
        color: #fff !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }
}

@media (max-width: 420px) {
    .booking-hero {
        margin-inline: 6px !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 42px minmax(0, .78fr) minmax(0, 1.22fr) !important;
        gap: 6px !important;
    }

    .booking-hero__favorite {
        width: 42px !important;
        min-width: 42px !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        padding-inline: 8px !important;
    }

    .booking-hero__meta > div strong {
        font-size: 14px !important;
    }
}


/* =========================================================
   TFP FINAL COMPACT MOBILE — 2026-08
   Cel: kalendarz jak najwyzej, bez wysokiego banera.
   Nadpisuje wylacznie mobile; desktop pozostaje bez zmian.
========================================================= */
@media (max-width: 767px) {
    .booking-studio {
        padding-top: 4px !important;
    }

    .booking-hero {
        display: block !important;
        min-height: 0 !important;
        margin: 4px 6px 6px !important;
        padding: 9px 10px !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 20px rgba(15, 45, 92, .15) !important;
    }

    .booking-hero::after {
        top: -72px !important;
        right: -68px !important;
        width: 126px !important;
        height: 126px !important;
        box-shadow: 0 0 0 16px rgba(255,255,255,.022) !important;
    }

    .booking-kicker {
        gap: 4px !important;
        margin: 0 0 4px !important;
    }

    /* Na telefonie wystarczy samo szybkie wyjscie do listy klubow. */
    .booking-kicker span {
        display: none !important;
    }

    .booking-kicker a {
        min-height: 20px !important;
        height: 20px !important;
        padding: 0 7px !important;
        border-radius: 999px !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1.05 !important;
        letter-spacing: -.025em !important;
    }

    .booking-hero__content p {
        margin: 3px 0 0 !important;
        max-width: 100% !important;
        font-size: 9px !important;
        line-height: 1.18 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Jeden niski rzad: ulubione | korty | cena | akcja admina. */
    .booking-hero__meta {
        display: grid !important;
        grid-template-columns: 34px 58px minmax(74px, 1fr) auto !important;
        align-items: stretch !important;
        gap: 5px !important;
        width: 100% !important;
        margin: 7px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .booking-hero__favorite {
        width: 34px !important;
        min-width: 34px !important;
        min-height: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        font-size: 18px !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        min-height: 36px !important;
        height: 36px !important;
        padding: 4px 7px !important;
        border-radius: 10px !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .booking-hero__meta > div strong {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div span {
        margin-top: 3px !important;
        font-size: 7px !important;
        line-height: 1 !important;
        letter-spacing: .04em !important;
    }

    /* Status ProAdmin nie jest potrzebny w banerze na telefonie. */
    .booking-hero__meta > .club-proadmin-badge {
        display: none !important;
    }

    /* Panel admina / usuwanie nie tworza juz osobnego, wysokiego rzedu. */
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        grid-column: auto !important;
        align-self: stretch !important;
        width: auto !important;
        min-width: 0 !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        width: auto !important;
        min-width: 58px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        font-size: 8px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    /* Po usunieciu oczywistego naglowka zostaje tylko mala etykieta i nawigacja. */
    .booking-board--week {
        margin-top: 0 !important;
        padding: 6px !important;
    }

    .booking-board__head--compact {
        margin-bottom: 6px !important;
        padding: 0 0 6px !important;
    }

    .booking-board__head--compact .mini-label {
        padding: 3px 7px !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }

    .booking-board__head--compact h2,
    .booking-board__head--compact p {
        display: none !important;
    }

    .week-actions {
        margin-top: 5px !important;
    }

    .week-switcher--premium {
        padding: 3px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        min-height: 30px !important;
    }
}

@media (max-width: 420px) {
    .booking-hero {
        margin-inline: 5px !important;
        padding: 8px 9px !important;
        border-radius: 14px !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 17px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 32px 54px minmax(70px, 1fr) auto !important;
        gap: 4px !important;
        margin-top: 6px !important;
    }

    .booking-hero__favorite {
        width: 32px !important;
        min-width: 32px !important;
        height: 34px !important;
        min-height: 34px !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        font-size: 17px !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite),
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        height: 34px !important;
        min-height: 34px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        min-width: 54px !important;
        padding-inline: 6px !important;
        font-size: 7.5px !important;
    }
}

/* =========================================================
   TFP 2026 — CLUB BOOKING / LEAGUES VISUAL SYNC
   Spójność z ekranem /leagues: identyczna typografia, hero,
   promienie, obramowania, skala kontrolek i rytm odstępów.
   Wyłącznie warstwa wizualna — bez zmian w logice rezerwacji.
   ========================================================= */

body:has(.booking-studio) {
    --club-ui-bg: #f5f8fc;
    --club-ui-surface: rgba(255, 255, 255, .96);
    --club-ui-ink: #0b1830;
    --club-ui-text: #263750;
    --club-ui-muted: #6a7890;
    --club-ui-line: #dfe6f0;
    --club-ui-line-strong: #ccd8e7;
    --club-ui-blue: #1769df;
    --club-ui-blue-dark: #0d3978;
    --club-ui-cyan: #20a9d8;
    --club-ui-soft-blue: #eef5ff;
    --club-ui-shadow: 0 18px 46px rgba(16, 36, 68, .075);
    --club-ui-shadow-soft: 0 8px 24px rgba(16, 36, 68, .055);
    background:
        radial-gradient(circle at 8% -5%, rgba(23, 105, 223, .075), transparent 25rem),
        radial-gradient(circle at 94% 2%, rgba(32, 169, 216, .065), transparent 24rem),
        linear-gradient(180deg, #fafcff 0%, #f5f8fc 46%, #f8fafc 100%) !important;
    color: var(--club-ui-text) !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: .004em !important;
}

.booking-studio,
.booking-studio button,
.booking-studio input,
.booking-studio select,
.booking-studio textarea {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.booking-studio {
    width: min(1480px, calc(100% - 48px)) !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 22px 0 64px !important;
    color: var(--club-ui-text) !important;
    font-size: 13px !important;
}

/* ===== Hero — ta sama rodzina wizualna co /leagues ===== */
.booking-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    min-height: 112px !important;
    margin: 0 0 16px !important;
    padding: 22px 26px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 22px !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 90% -20%, rgba(47, 196, 232, .26), transparent 18rem),
        linear-gradient(135deg, #0b2349 0%, #123d77 62%, #0e789f 100%) !important;
    box-shadow: 0 18px 42px rgba(15, 44, 88, .14) !important;
}

.booking-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    top: -145px !important;
    right: -110px !important;
    width: 240px !important;
    height: 240px !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 36px rgba(255, 255, 255, .035) !important;
    pointer-events: none !important;
}

.booking-hero__content {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.booking-kicker {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 0 7px !important;
    color: #d7f3ff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

.booking-kicker a,
.booking-kicker span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 22px !important;
    height: 22px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 999px !important;
    color: #d7f3ff !important;
    background: rgba(255, 255, 255, .10) !important;
    box-shadow: none !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.booking-kicker a:hover {
    border-color: rgba(255, 255, 255, .28) !important;
    background: rgba(255, 255, 255, .15) !important;
}

.booking-hero h1,
.booking-hero__content h1 {
    max-width: 760px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: clamp(31px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
}

.booking-hero p,
.booking-hero__content p {
    max-width: 760px !important;
    margin: 7px 0 0 !important;
    color: rgba(234, 243, 255, .82) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: .006em !important;
}

.booking-hero__meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.booking-hero__meta > div,
.booking-hero__meta > a,
.booking-hero__meta > .club-proadmin-badge,
.club-proadmin-delete-form--hero button {
    min-width: 88px !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 13px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .09) !important;
    box-shadow: none !important;
}

.booking-hero__meta > div:not(.booking-hero__favorite) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
}

.booking-hero__meta > div strong {
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -.012em !important;
}

.booking-hero__meta > div span {
    margin: 0 !important;
    color: rgba(226, 240, 255, .78) !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.booking-hero__favorite {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    padding: 4px !important;
}

.booking-hero__favorite .club-favorite-btn,
.booking-hero__favorite .club-favorite-btn--guest,
.booking-hero__favorite button,
.booking-hero__favorite a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 10px !important;
    color: #ffd76a !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    font-size: 19px !important;
}

.booking-hero__meta > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 108px !important;
    padding-inline: 15px !important;
    color: #0f3b73 !important;
    border-color: rgba(255, 255, 255, .65) !important;
    background: #fff !important;
    box-shadow: 0 9px 22px rgba(3, 20, 46, .15) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.booking-hero__meta > .club-proadmin-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 82px !important;
    color: #0f3b73 !important;
    border-color: rgba(255, 255, 255, .65) !important;
    background: #fff !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    text-transform: none !important;
}

.club-proadmin-delete-form--hero {
    width: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
}

.club-proadmin-delete-form--hero button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 104px !important;
    padding-inline: 15px !important;
    color: #f5fbff !important;
    border-color: rgba(255, 255, 255, .24) !important;
    background: rgba(255, 255, 255, .09) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

.booking-hero__meta > a:hover,
.club-proadmin-delete-form--hero button:hover {
    transform: translateY(-1px) !important;
}

/* ===== Plansza kalendarza — ten sam język co filtry/listy ligi ===== */
.booking-board--week {
    padding: 16px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 18px !important;
    background: var(--club-ui-surface) !important;
    box-shadow: var(--club-ui-shadow-soft) !important;
    backdrop-filter: blur(14px) !important;
}

.booking-board__head--compact {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 12px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid var(--club-ui-line) !important;
}

.booking-board__head--compact > div:first-child {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.booking-board__head--compact .mini-label,
.booking-summary--inline .mini-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 23px !important;
    height: 23px !important;
    padding: 0 9px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #1769df !important;
    background: #eaf3ff !important;
    box-shadow: none !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.club-feature-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
}

.club-feature-tags span {
    min-height: 23px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 8px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 8px !important;
    color: #5a6a82 !important;
    background: #fff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
}

.week-actions {
    margin: 0 !important;
}

.week-switcher--premium {
    display: inline-grid !important;
    grid-template-columns: auto auto auto !important;
    gap: 5px !important;
    width: auto !important;
    padding: 4px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f7faff !important;
    box-shadow: none !important;
}

.week-switcher--premium a,
.week-switcher--premium strong {
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 9px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.week-switcher--premium a {
    color: var(--club-ui-blue) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.week-switcher--premium a:hover {
    color: #0e4fae !important;
    background: var(--club-ui-soft-blue) !important;
}

.week-switcher--premium strong {
    color: var(--club-ui-ink) !important;
    background: transparent !important;
}

.booking-weeks-panel {
    margin: 0 0 10px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.booking-weeks-panel summary {
    min-height: 52px !important;
    padding: 9px 12px !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.booking-weeks-panel summary b {
    color: var(--club-ui-ink) !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
}

.booking-weeks-panel summary small {
    color: var(--club-ui-muted) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
}

.booking-weeks-panel summary em {
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 11px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 9px !important;
    color: var(--club-ui-blue) !important;
    background: var(--club-ui-soft-blue) !important;
    font-size: 9px !important;
    font-style: normal !important;
    font-weight: 650 !important;
}

.booking-weeks-panel__body {
    border-top: 1px solid var(--club-ui-line) !important;
    background: #fbfdff !important;
}

.booking-weeks-panel__info strong,
.booking-weeks-panel__info p {
    font-weight: 500 !important;
}

.booking-weeks-panel__actions button {
    min-height: 34px !important;
    border-radius: 9px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.court-picker {
    gap: 6px !important;
    margin: 0 0 10px !important;
    padding: 5px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f7faff !important;
}

.court-picker__btn {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 13px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 9px !important;
    color: #536177 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.court-picker__btn.is-active {
    color: #fff !important;
    border-color: var(--club-ui-blue) !important;
    background: var(--club-ui-blue) !important;
    box-shadow: 0 5px 12px rgba(23, 105, 223, .14) !important;
}

/* ===== Kalendarz ===== */
.court-week-grid-wrap {
    max-height: 650px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: none !important;
    scrollbar-color: #b8c7dc #eef3f8 !important;
}

.court-week-panel {
    min-width: 980px !important;
}

.court-week-grid {
    background: #fff !important;
    color: var(--club-ui-text) !important;
}

.court-week-grid th,
.court-week-grid td {
    border-color: #e7edf5 !important;
}

.court-week-grid thead th {
    height: 56px !important;
    padding: 8px 6px !important;
    color: #536177 !important;
    background: #f8fafd !important;
    font-weight: 600 !important;
}

.court-week-grid thead th small {
    color: #75839a !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.court-week-grid thead th strong {
    margin-top: 5px !important;
    color: var(--club-ui-ink) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    letter-spacing: -.006em !important;
}

.court-week-grid thead th.is-today {
    color: var(--club-ui-blue) !important;
    background: var(--club-ui-soft-blue) !important;
    box-shadow: inset 0 -2px 0 var(--club-ui-blue) !important;
}

.court-week-grid thead th.is-today small,
.court-week-grid thead th.is-today strong {
    color: var(--club-ui-blue) !important;
}

.court-week-grid .schedule-time-head,
.court-week-grid .schedule-time {
    width: 70px !important;
    color: #536177 !important;
    background: #fbfcfe !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
}

.court-week-grid td {
    height: 44px !important;
    padding: 4px !important;
    background: #fff !important;
}

.court-week-grid tbody tr:hover td,
.court-week-grid tbody tr:hover .schedule-time {
    background: #fbfdff !important;
}

.court-week-grid .time-slot {
    min-height: 34px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.court-week-grid .time-slot--free {
    border: 1px solid #ccebd8 !important;
    background: #f2fbf5 !important;
    color: #159447 !important;
    box-shadow: none !important;
}

.court-week-grid .time-slot--free span {
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    color: #159447 !important;
    background: #dcf7e5 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.court-week-grid .time-slot--free:hover {
    transform: translateY(-1px) !important;
    border-color: #86d3a4 !important;
    color: #087d34 !important;
    background: #eaf9ef !important;
    box-shadow: 0 6px 14px rgba(22, 163, 74, .10) !important;
}

.court-week-grid .time-slot--free.is-selected,
.court-week-grid .time-slot--free.is-range {
    color: #fff !important;
    border-color: var(--club-ui-blue) !important;
    background: var(--club-ui-blue) !important;
    box-shadow: 0 5px 12px rgba(23, 105, 223, .14) !important;
}

.court-week-grid .time-slot--busy {
    border-color: #f4c7d0 !important;
    background: #fff3f5 !important;
    color: #a91f3d !important;
    box-shadow: inset 2px 0 0 #e95b78 !important;
}

.court-week-grid .time-slot--mine {
    border-color: #b8d4f8 !important;
    background: #eff6ff !important;
    color: #175eb9 !important;
    box-shadow: inset 2px 0 0 #438ae6 !important;
}

.court-week-grid .time-slot--recurring {
    border-color: #d2c7f3 !important;
    background: #f6f2ff !important;
    color: #6741a8 !important;
    box-shadow: inset 2px 0 0 #8c6ad0 !important;
}

.court-week-grid .time-slot--pending:not(.time-slot--recurring) {
    border-color: #f6d6af !important;
    background: #fff8ed !important;
    color: #a15b11 !important;
    box-shadow: inset 2px 0 0 #e0a14a !important;
}

.court-week-grid .time-slot--locked {
    border-color: #e2e8f0 !important;
    color: #93a1b4 !important;
    background: repeating-linear-gradient(-45deg, #fafbfc, #fafbfc 7px, #f3f6f9 7px, #f3f6f9 14px) !important;
}

.court-week-grid .time-slot strong {
    font-size: 9.5px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
}

.reservation-slot-meta,
.reservation-phone-private {
    font-size: 8px !important;
    font-weight: 500 !important;
    letter-spacing: .005em !important;
}

.reservation-type-mark {
    font-weight: 650 !important;
}

/* ===== Panel rezerwacji po prawej ===== */
.booking-summary--inline {
    margin: 0 !important;
    padding: 15px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(17, 39, 75, .045) !important;
}

.booking-summary--inline .booking-summary__copy {
    padding-bottom: 11px !important;
    border-bottom: 1px solid var(--club-ui-line) !important;
}

.booking-summary--inline .booking-summary__copy h2 {
    margin: 6px 0 4px !important;
    color: var(--club-ui-ink) !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: -.018em !important;
}

.booking-summary--inline .booking-summary__copy p {
    margin: 0 !important;
    color: var(--club-ui-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

.booking-checkout--inline {
    gap: 9px !important;
    margin-top: 11px !important;
}

.booking-checkout--inline label,
.booking-admin-field,
.repeat-weeks-field {
    color: #5d6b80 !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
}

.booking-checkout--inline select,
.booking-admin-field input,
.booking-admin-field select,
.repeat-weeks-field input,
.repeat-weeks-field select {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border: 1px solid var(--club-ui-line-strong) !important;
    border-radius: 10px !important;
    color: var(--club-ui-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 500 !important;
}

.booking-checkout--inline select:focus,
.booking-admin-field input:focus,
.booking-admin-field select:focus,
.repeat-weeks-field input:focus,
.repeat-weeks-field select:focus {
    outline: none !important;
    border-color: #9dbce5 !important;
    box-shadow: 0 0 0 3px rgba(23, 105, 223, .08) !important;
}

.booking-checkout--inline .light-toggle,
.repeat-toggle,
.block-toggle {
    min-height: 40px !important;
    padding: 0 10px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 10px !important;
    color: #4f5f76 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 9px !important;
    font-weight: 600 !important;
}

.booking-admin-options {
    gap: 9px !important;
    padding: 9px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f8fafd !important;
}

.booking-checkout--inline .checkout-price {
    min-height: 43px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 10px !important;
    background: #f8fafd !important;
    box-shadow: none !important;
}

.booking-checkout--inline .clubs-btn,
.booking-phone-required .clubs-btn {
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--club-ui-blue) !important;
    box-shadow: 0 6px 14px rgba(23, 105, 223, .16) !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    letter-spacing: .01em !important;
}

.booking-checkout--inline .clubs-btn:hover,
.booking-phone-required .clubs-btn:hover {
    background: #145ec8 !important;
}

.booking-phone-required {
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f8fafd !important;
    color: var(--club-ui-text) !important;
}

.clubs-alert {
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* ===== Desktop ===== */
@media (min-width: 1260px) {
    .booking-board--week {
        grid-template-columns: minmax(0, 1fr) 300px !important;
        gap: 12px 14px !important;
    }

    .booking-summary--inline {
        top: calc(var(--tfp-header-fixed-height, 72px) + 14px) !important;
    }
}

@media (max-width: 1259px) {
    .booking-studio {
        width: min(100% - 36px, 1120px) !important;
    }

    .booking-summary--inline {
        margin-top: 12px !important;
    }
}

/* ===== Tablet / phone ===== */
@media (max-width: 900px) {
    .booking-studio {
        width: calc(100% - 24px) !important;
        padding: 14px 0 44px !important;
    }

    .booking-hero {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 15px !important;
        min-height: 0 !important;
        padding: 19px !important;
        border-radius: 19px !important;
    }

    .booking-hero__meta {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .booking-board--week {
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .booking-board__head--compact {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 9px !important;
    }

    .week-actions,
    .week-switcher--premium {
        width: 100% !important;
    }

    .week-switcher--premium {
        grid-template-columns: 74px minmax(0, 1fr) 74px !important;
    }

    .court-week-grid-wrap {
        max-height: 66vh !important;
    }
}

@media (max-width: 720px) {
    .booking-studio {
        width: calc(100% - 20px) !important;
        padding: 12px 0 38px !important;
    }

    .booking-hero {
        display: flex !important;
        margin: 0 0 12px !important;
        padding: 17px !important;
        border-radius: 18px !important;
        gap: 13px !important;
    }

    .booking-hero::after {
        top: -106px !important;
        right: -94px !important;
        width: 190px !important;
        height: 190px !important;
        box-shadow: 0 0 0 26px rgba(255, 255, 255, .03) !important;
    }

    .booking-kicker {
        gap: 5px !important;
        margin-bottom: 6px !important;
    }

    .booking-kicker span {
        display: inline-flex !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 20px !important;
        height: 20px !important;
        padding: 0 8px !important;
        font-size: 6.8px !important;
        letter-spacing: .085em !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 28px !important;
        line-height: 1.04 !important;
        letter-spacing: -.018em !important;
    }

    .booking-hero p,
    .booking-hero__content p {
        margin-top: 6px !important;
        font-size: 10px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .booking-hero__meta {
        display: grid !important;
        grid-template-columns: 44px repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin: 0 !important;
    }

    .booking-hero__favorite,
    .booking-hero__meta > div:not(.booking-hero__favorite) {
        width: auto !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 4px 8px !important;
        border-radius: 11px !important;
    }

    .booking-hero__favorite {
        padding: 3px !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        border-radius: 9px !important;
        font-size: 17px !important;
    }

    .booking-hero__meta > div strong {
        font-size: 15px !important;
    }

    .booking-hero__meta > div span {
        font-size: 7px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero,
    .booking-hero__meta > .club-proadmin-badge {
        grid-column: span 1 !important;
        width: auto !important;
        min-width: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > .club-proadmin-badge,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        width: 100% !important;
        min-width: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        font-size: 8.5px !important;
    }

    .booking-board--week {
        margin-top: 0 !important;
        padding: 10px !important;
    }

    .booking-board__head--compact {
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
    }

    .booking-board__head--compact .mini-label {
        min-height: 21px !important;
        height: 21px !important;
        padding: 0 8px !important;
        font-size: 7px !important;
    }

    .club-feature-tags {
        display: none !important;
    }

    .week-switcher--premium {
        grid-template-columns: 68px minmax(0, 1fr) 68px !important;
        gap: 4px !important;
        padding: 3px !important;
        border-radius: 11px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 5px !important;
        border-radius: 8px !important;
        font-size: 9px !important;
    }

    .booking-weeks-panel {
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }

    .booking-weeks-panel summary {
        min-height: 46px !important;
        padding: 7px 9px !important;
    }

    .booking-weeks-panel summary b {
        font-size: 10.5px !important;
    }

    .booking-weeks-panel summary small,
    .booking-weeks-panel summary em {
        font-size: 8px !important;
    }

    .court-picker {
        margin-bottom: 8px !important;
        padding: 4px !important;
        border-radius: 10px !important;
    }

    .court-picker__btn {
        min-height: 31px !important;
        height: 31px !important;
        padding: 0 11px !important;
        border-radius: 8px !important;
        font-size: 9px !important;
    }

    .court-week-panel {
        min-width: 790px !important;
    }

    .court-week-grid-wrap {
        max-height: 64vh !important;
        border-radius: 12px !important;
    }

    .booking-summary--inline {
        padding: 12px !important;
        border-radius: 13px !important;
    }

    .booking-summary--inline .booking-summary__copy h2 {
        font-size: 15px !important;
    }

    .booking-summary--inline .booking-summary__copy p {
        font-size: 9.5px !important;
    }
}

@media (max-width: 430px) {
    .booking-studio {
        width: calc(100% - 14px) !important;
    }

    .booking-hero {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 24px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 40px repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero,
    .booking-hero__meta > .club-proadmin-badge {
        grid-column: span 3 !important;
    }

    .week-switcher--premium {
        grid-template-columns: 62px minmax(0, 1fr) 62px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        font-size: 8px !important;
    }
}
