.site-festival-hub-page {
    min-height: 100vh;
    background: #07080b;
    color: #fff;
}

.site-festival-hub-page .site-adminbar,
.site-festival-hub-page .site-header,
.site-festival-hub-page .site-footer,
.site-festival-hub-page .site-mobile-bottom-nav {
    display: none !important;
}

.site-festival-hub-page .site-chrome {
    position: static;
    min-height: 0;
    background: none;
}

.site-festival-hub-page > main {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(203, 44, 48, .28) 0 28%, transparent 28% 100%),
        linear-gradient(160deg, #090a0d 0%, #171a21 62%, #2b0f13 100%);
}

.festival-hub {
    width: min(920px, calc(100vw - 28px));
    margin: 0 auto;
    padding: 18px 0 42px;
    color: #fff;
}

.festival-hub--launcher {
    width: min(720px, calc(100vw - 24px));
    padding: 12px 0 32px;
}

.festival-hub a {
    color: inherit;
}

.festival-back-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    padding: 0 12px;
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(16px);
}

.festival-hub--launcher .festival-back-link {
    min-height: 34px;
    padding: 0 10px;
    color: rgba(255, 255, 255, .74);
    font-size: .72rem;
}

.festival-hub-view-switch {
    margin: 14px 0 0;
}

.festival-hub-view-switch label {
    display: inline-grid;
    gap: 6px;
}

.festival-hub-view-switch span {
    color: rgba(255, 255, 255, .62);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.festival-hub-view-switch select {
    min-height: 42px;
    min-width: 150px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: 0 36px 0 12px;
    font: inherit;
    font-weight: 900;
    outline: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .82) 50%), linear-gradient(135deg, rgba(255, 255, 255, .82) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
}

.festival-hub-view-switch option {
    color: #111318;
}

.festival-hub__hero,
.festival-hub__subhead {
    padding: 34px 0 22px;
}

.festival-hub--launcher .festival-hub__hero {
    padding: 16px 0 14px;
}

.festival-hub__hero p,
.festival-hub__subhead p {
    margin: 0 0 10px;
    color: #ffdadb;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.festival-hub h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(3.4rem, 18vw, 8rem);
    line-height: .84;
    letter-spacing: 0;
}

.festival-hub--launcher h1 {
    font-size: clamp(2.15rem, 8vw, 3.6rem);
    line-height: .9;
}

.festival-admin-tally {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
    margin: 0 0 12px;
}

.festival-admin-tally article {
    min-width: 0;
    min-height: 116px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    padding: 12px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.festival-admin-tally span,
.festival-admin-tally strong,
.festival-admin-tally em,
.festival-admin-tally small,
.festival-admin-tally b {
    display: block;
}

.festival-admin-tally span {
    color: #ffdadb;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.festival-admin-tally strong {
    margin-top: 2px;
    color: #fff;
    font-size: clamp(2.2rem, 8vw, 4rem);
    line-height: .82;
}

.festival-admin-tally em {
    color: rgba(255, 255, 255, .74);
    font-size: .82rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.festival-admin-tally small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .58);
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.15;
}

.festival-admin-tally i {
    display: block;
    font-style: normal;
}

.festival-admin-tally b {
    color: #fff;
    font-size: .92rem;
    letter-spacing: 0;
}

.festival-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.festival-tool-card {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1;
    min-height: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: 13px;
    font: inherit;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.festival-tool-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, .16), transparent 55%);
    opacity: .72;
    pointer-events: none;
}

.festival-tool-card strong,
.festival-tool-card span {
    position: absolute;
    z-index: 1;
}

.festival-tool-card strong {
    display: block;
    top: 50%;
    left: 50%;
    width: calc(100% - 22px);
    transform: translate(-50%, -50%);
    font-size: clamp(.86rem, 2.65vw, 1.75rem);
    line-height: .96;
    overflow-wrap: anywhere;
}

.festival-tool-card span {
    top: 74%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    padding: 6px 8px;
    color: rgba(255, 255, 255, .78);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.festival-tool-card.is-active {
    min-height: 0;
    border-color: rgba(255, 255, 255, .36);
    background: #cb2c30;
}

.festival-tool-card.is-active::before {
    background:
        linear-gradient(110deg, rgba(255, 255, 255, .24), transparent 58%),
        linear-gradient(0deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .08));
}

.festival-tool-card.is-active span {
    background: #fff;
    color: #cb2c30;
}

.festival-tool-card--actions {
    justify-content: center;
}

.festival-tool-card__actions {
    position: absolute;
    top: 74%;
    left: 50%;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 18px);
    transform: translate(-50%, -50%);
    gap: 6px;
    justify-content: center;
}

.festival-tool-card__actions a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: #cb2c30;
    padding: 0 10px;
    font-size: clamp(.56rem, 1.7vw, .8rem);
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.festival-tool-card__actions a:hover,
.festival-tool-card__actions a:focus-visible {
    background: #171b1f;
    color: #fff;
}

.festival-tool-card:disabled {
    cursor: not-allowed;
    opacity: .62;
}

.festival-hub-modal {
    width: min(92vw, 680px);
    max-height: min(84vh, 760px);
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111318;
    padding: 0;
}

.festival-hub-modal::backdrop {
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
}

.festival-hub-modal__panel {
    position: relative;
    max-height: min(84vh, 760px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: #f8f8f5;
    padding: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}

.festival-hub-modal h2 {
    margin: 0 86px 14px 0;
    color: #111318;
    font-size: clamp(1.8rem, 8vw, 3rem);
    line-height: .92;
}

.festival-hub-modal img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #fff;
}

.festival-hub-modal__close,
.festival-hub-modal__action,
.festival-hub-modal__links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #cb2c30;
    color: #fff;
    padding: 0 14px;
    font: inherit;
    font-size: .86rem;
    font-weight: 900;
    text-decoration: none;
}

.festival-hub-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
}

.festival-hub-modal__action {
    margin-top: 12px;
}

.festival-hub-modal__links {
    display: grid;
    gap: 10px;
}

.festival-hub-parking {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.festival-hub-parking__card {
    display: grid;
    min-height: 174px;
    align-content: start;
    gap: 8px;
    border: 1px solid #e1e4ea;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 12px 24px rgba(17, 19, 24, .08);
}

.festival-hub-parking__card strong,
.festival-hub-parking__card span,
.festival-hub-parking__card p {
    display: block;
}

.festival-hub-parking__card strong {
    color: #111318;
    font-size: 1.35rem;
    line-height: 1;
}

.festival-hub-parking__card span {
    min-height: 34px;
    color: #424a57;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.15;
}

.festival-hub-parking__card a {
    display: inline-flex;
    min-height: 42px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #cb2c30;
    color: #fff;
    padding: 0 14px;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.festival-hub-parking__card p {
    margin: 0;
    border-left: 4px solid #cb2c30;
    background: #fff0f0;
    color: #5b080c;
    padding: 8px 10px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.22;
}

.festival-ticket-search {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: end;
    margin: 0 -14px 16px;
    padding: 12px 14px;
    background: rgba(7, 8, 11, .82);
    backdrop-filter: blur(18px);
}

.festival-customer-view {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    padding: 12px;
    backdrop-filter: blur(18px);
}

.festival-ticket-search label,
.festival-customer-view label {
    display: grid;
    gap: 6px;
}

.festival-ticket-search span,
.festival-customer-view span {
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.festival-ticket-counts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.festival-ticket-counts div {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    padding: 13px 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.festival-ticket-counts span,
.festival-ticket-counts strong {
    display: block;
}

.festival-ticket-counts span {
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.festival-ticket-counts strong {
    margin-top: 3px;
    color: #fff;
    font-size: clamp(1.8rem, 8vw, 3rem);
    line-height: .95;
}

.festival-adult-qr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    padding: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.festival-adult-qr strong,
.festival-adult-qr span {
    display: block;
}

.festival-adult-qr strong {
    font-size: 1.25rem;
    line-height: 1.1;
}

.festival-adult-qr span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
    line-height: 1.35;
}

.festival-adult-qr img {
    width: 112px;
    height: 112px;
    border-radius: 8px;
    background: #fff;
    padding: 7px;
}

.festival-scan-notice {
    margin: 0 0 14px;
    border-radius: 8px;
    background: #dff4e5;
    color: #116329;
    padding: 14px;
    font-weight: 900;
}

.festival-ticket-search input,
.festival-customer-view select {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: 0 14px;
    font: inherit;
    font-size: 1.05rem;
    outline: none;
}

.festival-customer-view select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .82) 50%), linear-gradient(135deg, rgba(255, 255, 255, .82) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 34px;
}

.festival-ticket-search input::placeholder {
    color: rgba(255, 255, 255, .48);
}

.festival-ticket-search input:focus,
.festival-customer-view select:focus {
    border-color: rgba(255, 255, 255, .62);
    box-shadow: 0 0 0 3px rgba(203, 44, 48, .34);
}

.festival-customer-view button,
.festival-ticket-search button,
.festival-ticket-search a,
.festival-order-row > a,
.festival-order-row__actions a,
.festival-order-row__actions button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #cb2c30;
    color: #fff;
    padding: 0 16px;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
}

.festival-order-row__actions {
    display: grid;
    gap: 8px;
}

.festival-order-row__actions form {
    margin: 0;
}

.festival-order-row__actions button {
    width: 100%;
    cursor: pointer;
}

.festival-order-row__actions button:disabled {
    cursor: not-allowed;
    background: #6b7280;
}

.festival-ticket-search .festival-refresh-link,
.festival-ticket-search .festival-clear-link {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .82);
}

.festival-ticket-search .festival-clear-link {
    grid-column: 1 / -1;
}

.festival-order-list,
.festival-shift-list {
    display: grid;
    gap: 10px;
}

.festival-order-row[hidden],
.festival-ticket-filter-empty[hidden] {
    display: none;
}

.festival-shift-list[aria-busy="true"] {
    opacity: .72;
}

.festival-order-row,
.festival-shift-card,
.festival-empty {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #111318;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
}

.festival-order-row,
.festival-shift-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
}

.festival-order-row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
}

.festival-order-row--no-qr {
    grid-template-columns: minmax(0, 1fr) auto;
}

.festival-order-row__qr {
    display: flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
}

.festival-order-row__qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.festival-order-row__details {
    min-width: 0;
}

.festival-order-row.is-checked-in {
    border-color: rgba(199, 205, 214, .72);
    background: rgba(232, 235, 240, .94);
    color: #4b5563;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}

.festival-order-row.is-checked-in .festival-order-row__qr {
    opacity: .58;
}

.festival-order-row strong,
.festival-order-row span,
.festival-order-row small,
.festival-shift-card strong,
.festival-shift-card span,
.festival-shift-card time,
.festival-shift-card small {
    display: block;
}

.festival-order-row strong,
.festival-shift-card strong {
    overflow-wrap: anywhere;
    font-size: 1.2rem;
    line-height: 1.12;
}

.festival-order-row span,
.festival-shift-card time,
.festival-shift-card small {
    margin-top: 4px;
    color: #4a5361;
    font-size: .9rem;
    font-weight: 800;
}

.festival-order-row small,
.festival-shift-card span {
    margin-top: 7px;
    color: #8a1d21;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.festival-order-row__seat-markers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.festival-order-row__seat-markers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 24px;
    margin: 0;
    border: 1px solid #111;
    background: #ffd929;
    color: #111;
    padding: 4px 7px;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.festival-order-row .festival-order-row__status {
    display: inline-flex;
    width: fit-content;
    margin-top: 9px;
    border-radius: 999px;
    background: #edf0f4;
    color: #364152;
    padding: 6px 9px;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.festival-order-row .festival-order-row__program {
    display: inline-flex;
    width: fit-content;
    margin-top: 7px;
    border-radius: 999px;
    background: #dbeafe;
    color: #174ea6;
    padding: 6px 9px;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.festival-order-row .festival-order-row__program.is-complete {
    background: #d8dde5;
    color: #313946;
}

.festival-order-row.is-checked-in .festival-order-row__status {
    background: #d8dde5;
    color: #313946;
}

.festival-order-row > a,
.festival-order-row__actions,
.festival-shift-card button {
    min-width: 112px;
}

.festival-order-row.is-checked-in > a,
.festival-order-row.is-checked-in .festival-order-row__actions a {
    background: #6b7280;
    color: #fff;
}

.festival-shift-card.is-checked-in {
    background: rgba(238, 247, 241, .96);
}

.festival-shift-card form {
    margin: 0;
}

.festival-shift-card button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #cb2c30;
    color: #fff;
    padding: 0 16px;
    font: inherit;
    font-weight: 900;
}

.festival-shift-status {
    margin: 0;
    border-radius: 999px;
    background: #f0f2f5;
    padding: 9px 11px;
    color: #364152;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}

.festival-shift-card.is-checked-in .festival-shift-status {
    background: #dff4e5;
    color: #116329;
}

.festival-empty {
    margin: 0;
    padding: 18px;
    color: #4a5361;
    font-weight: 900;
}

.festival-empty strong,
.festival-empty span {
    display: block;
}

.festival-empty span {
    margin-top: 6px;
    color: #667085;
    font-size: .92rem;
    line-height: 1.35;
}

@media (min-width: 720px) {
    .festival-tool-grid {
        gap: 12px;
    }

    .festival-tool-card {
        padding: 16px;
    }
}

@media (max-width: 460px) {
    .festival-hub {
        width: min(100% - 20px, 920px);
        padding-top: 12px;
    }

    .festival-hub--launcher {
        width: min(100% - 18px, 720px);
        padding-top: 10px;
    }

    .festival-hub__hero,
    .festival-hub__subhead {
        padding-top: 28px;
    }

    .festival-hub--launcher .festival-hub__hero {
        padding: 12px 0 12px;
    }

    .festival-tool-card {
        padding: 9px;
    }

    .festival-tool-card strong {
        top: 45%;
        font-size: clamp(.86rem, 4.6vw, 1.1rem);
    }

    .festival-tool-card span {
        padding: 5px 7px;
        font-size: .62rem;
    }

    .festival-tool-card__actions {
        top: 78%;
        gap: 5px;
    }

    .festival-tool-card__actions a {
        min-height: 28px;
        padding: 0 7px;
        font-size: .58rem;
    }

    .festival-admin-tally {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .festival-admin-tally article {
        min-height: 92px;
        padding: 8px;
    }

    .festival-admin-tally span {
        font-size: .54rem;
        line-height: 1.12;
    }

    .festival-admin-tally strong {
        font-size: 2rem;
    }

    .festival-admin-tally em,
    .festival-admin-tally small {
        font-size: .54rem;
    }

    .festival-hub-parking {
        grid-template-columns: 1fr;
    }

    .festival-hub-parking__card {
        min-height: 0;
    }

    .festival-ticket-search {
        grid-template-columns: 1fr 1fr;
    }

    .festival-customer-view {
        grid-template-columns: 1fr;
    }

    .festival-ticket-search label,
    .festival-ticket-search .festival-clear-link {
        grid-column: 1 / -1;
    }

    .festival-adult-qr {
        grid-template-columns: 1fr;
    }

    .festival-adult-qr img {
        width: 100%;
        max-width: 220px;
        height: auto;
        justify-self: center;
    }

    .festival-shift-card {
        grid-template-columns: 1fr;
    }

    .festival-order-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .festival-order-row--no-qr {
        grid-template-columns: 1fr;
    }

    .festival-order-row__qr {
        width: 64px;
        height: 64px;
    }

    .festival-order-row > a,
    .festival-order-row__actions,
    .festival-shift-card button,
    .festival-shift-card form {
        grid-column: 1 / -1;
        width: 100%;
    }
}
