.lb-sports-loading,
.lb-sports-error,
.lb-sports-hero {
    display: none !important;
}

/*
|--------------------------------------------------------------------------
| SPORTS PAGE
| Iframe fills the area under the navbar and above the mobile tab bar.
| Footer is hidden.
|--------------------------------------------------------------------------
*/

html:has(body.site-shell-v2.is-sports-view) {
    height: 100%;
    overflow: hidden;
}

body.site-shell-v2.is-sports-view {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
}

body.site-shell-v2.is-sports-view .site-top-stack {
    position: relative !important;
    flex: 0 0 auto;
    z-index: 40;
}

body.site-shell-v2.is-sports-view .app-shell {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    align-items: stretch;
}

body.site-shell-v2.is-sports-view .main-column {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

body.site-shell-v2.is-sports-view .top-header {
    flex: 0 0 auto;
}

body.site-shell-v2.is-sports-view .main-content {
    flex: 1 1 auto;
    min-height: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

body.site-shell-v2.is-sports-view .site-footer,
body.site-shell-v2.is-sports-view .call-me-fab {
    display: none !important;
}

body.site-shell-v2.is-sports-view .modal-overlay[hidden] {
    display: none !important;
}

body.site-shell-v2.is-sports-view .mobile-bottom-nav {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex: 0 0 auto;
    width: 100%;
    z-index: 50;
    overflow: visible;
}

@media (max-width: 1024px) {
    body.site-shell-v2.is-sports-view .mobile-bottom-nav {
        height: 62px !important;
        padding: 4px 6px 4px !important;
        margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}

.lb-sports-shell {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    height: 100%;
    background: var(--color-bg-primary, #0a0e1a);
    color: var(--color-text-primary, #ffffff);
}

.lb-sports-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    font-size: 15px;
    color: var(--color-text-secondary, #9ca3af);
}

.lb-sports-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
}

.lb-sports-error i {
    font-size: 48px;
    color: var(--color-accent-error, #ef4444);
}

.lb-sports-error p {
    font-size: 15px;
    color: var(--color-text-secondary, #9ca3af);
    max-width: 400px;
}

.lb-sports-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    padding: 24px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 200, 83, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(33, 150, 243, 0.08) 0%, transparent 60%),
        var(--color-bg-primary, #0a0e1a);
}

.lb-sports-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    max-width: 560px;
}

.lb-sports-hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-primary, #00c853), var(--color-accent-secondary, #2196f3));
    box-shadow: 0 8px 32px rgba(0, 200, 83, 0.25);
    animation: lb-sports-pulse 3s ease-in-out infinite;
}

.lb-sports-hero-icon i {
    font-size: 44px;
    color: #fff;
}

@keyframes lb-sports-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.lb-sports-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lb-sports-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary, #9ca3af);
    margin: 0;
}

.lb-sports-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent-primary, #00c853), var(--color-accent-secondary, #2196f3));
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
}

.lb-sports-launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.4);
}

.lb-sports-launch-btn:active {
    transform: translateY(0);
}

.lb-sports-launch-btn i {
    font-size: 22px;
}

.lb-sports-frame-wrapper {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--color-bg-primary, #0a0e1a);
}

.lb-sports-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: var(--color-bg-primary, #0a0e1a);
}
