/* The desktop header and mobile bar share one untagged checkout destination. */
.tv-corny-header-cta,
.tv-corny-mobile-bar,
.tv-corny-mobile-bar[hidden] {
    display: none;
}

.tv-corny-home a.tv-corny-ticket-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 21px;
    border: 1px solid #f9e052;
    border-radius: 999px;
    background: #f9e052;
    color: #123f69;
    font-family: 'Fjalla One', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}
.tv-corny-home .tv-corny-icon {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
}
.tv-corny-home a.tv-corny-ticket-link:hover {
    background: #fff0a0;
    border-color: #fff0a0;
    color: #123f69;
}
.tv-corny-home a.tv-corny-ticket-link:focus-visible,
.tv-corny-home .tv-corny-dismiss:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

/* Use the existing spacer column; the theme retains header sizing and layout. */
@media (min-width: 1215px) {
    .tv-corny-home .tv-corny-header-cta {
        display: block;
        padding: 0 16px 0 8px;
        text-align: right;
    }
    .tv-corny-home .tv-corny-header-cta .tv-corny-ticket-link {
        max-width: 100%;
        padding: 11px 16px;
        white-space: normal;
        text-align: center;
    }
}
@media (min-width: 1215px) and (max-width: 1572px) {
    .tv-corny-home .location-header-blank-col {
        min-width: 184px;
    }
    .tv-corny-home .tv-corny-header-cta {
        padding: 0 6px;
    }
    .tv-corny-home .tv-corny-header-cta .tv-corny-ticket-link {
        padding: 9px 8px;
        font-size: 14px;
        gap: 6px;
        white-space: nowrap;
    }
    .tv-corny-home .location-header-menu .pp-advanced-menu ul.menu li.menu-item a {
        padding-left: 14px;
        padding-right: 14px;
    }
    .tv-corny-home .location-header-button .fl-button-wrap a.fl-button {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (max-width: 1214px) {
    .tv-corny-home.tv-corny-bar-open {
        padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    }
    .tv-corny-home .tv-corny-mobile-bar:not([hidden]) {
        display: block;
        position: fixed;
        inset: auto 0 0;
        z-index: 900;
        padding: 12px max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
        border-top: 1px solid #ffffff35;
        background: #174d80;
        box-shadow: 0 -5px 24px #001b3526;
        animation: tv-corny-slide-up 300ms ease-out both;
    }
    .tv-corny-mobile-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 700px;
        margin: 0 auto;
    }
    .tv-corny-mobile-copy {
        flex: 1;
        min-width: 0;
        color: #fff;
        line-height: 1.2;
    }
    .tv-corny-mobile-copy span {
        display: block;
        margin-bottom: 3px;
        font-family: 'Quicksand', sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
    .tv-corny-mobile-copy strong {
        display: block;
        font-family: 'Fjalla One', sans-serif;
        font-size: 21px;
        font-weight: 400;
    }
    .tv-corny-mobile-bar .tv-corny-ticket-link {
        flex: 0 0 auto;
        padding: 11px 17px;
    }
    .tv-corny-home .tv-corny-dismiss {
        display: inline-flex;
        flex: 0 0 36px;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 5px;
        background: transparent;
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }
    .tv-corny-home .tv-corny-dismiss:hover {
        background: #ffffff18;
    }
}

@keyframes tv-corny-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .tv-corny-home .tv-corny-mobile-bar:not([hidden]) {
        animation: none;
    }
}
