/* Home landing page */
.home-page.page-leaving {
    opacity: 0.94;
    transition: opacity 0.12s ease;
}

.home-channel-card.is-navigating,
.home-btn.is-navigating,
.home-fab.is-navigating,
.home-featured-card.is-navigating {
    opacity: 0.82;
    transform: scale(0.985);
    transition: opacity 0.1s ease, transform 0.1s ease;
}

.home-tv-link.is-navigating,
.home-fifa-watch.is-navigating {
    opacity: 0.9;
    transition: opacity 0.1s ease;
}

.home-page {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
}

.home-page a,
.home-page button {
    -webkit-tap-highlight-color: rgba(0, 201, 122, 0.12);
}

.home-page [id] {
    scroll-margin-top: calc(76px + env(safe-area-inset-top));
}

.home-page .site-logo-img {
    flex-shrink: 1;
    max-width: 100%;
}

.home-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: homeOrbFloat 18s ease-in-out infinite;
}

.home-bg-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: rgba(0, 201, 122, 0.22);
}

.home-bg-orb-2 {
    width: 360px;
    height: 360px;
    top: 20%;
    right: -100px;
    background: rgba(255, 209, 102, 0.12);
    animation-delay: -6s;
}

.home-bg-orb-3 {
    width: 500px;
    height: 500px;
    bottom: -180px;
    left: 30%;
    background: rgba(0, 106, 78, 0.18);
    animation-delay: -12s;
}

.home-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

@keyframes homeOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(24px, -18px) scale(1.06); }
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    padding: 8px 10px 0;
    padding-top: max(8px, env(safe-area-inset-top));
    box-sizing: border-box;
}

.home-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 10px;
    min-height: 52px;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 24, 0.78);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.home-logo {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    height: 50px;
    max-width: min(78vw, 340px);
}

.home-logo-img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

@media (min-width: 961px) {
    .home-logo {
        height: 58px;
        max-width: 360px;
    }
}

@media (max-width: 520px) {
    .home-header {
        padding: 6px 6px 0;
        padding-top: max(6px, env(safe-area-inset-top));
    }

    .home-header-inner {
        padding: 5px 8px;
        gap: 8px;
        min-height: 46px;
    }

    .home-logo {
        height: 46px;
        max-width: min(72vw, 260px);
    }
}

.home-footer-logo {
    height: 42px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.home-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.home-nav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.home-nav a:hover {
    color: var(--text);
}

.home-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.home-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}

.home-mobile-nav {
    max-width: 1200px;
    margin: 8px auto 0;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 24, 0.92);
    display: grid;
    gap: 4px;
}

.home-mobile-nav.hidden {
    display: none;
}

.home-mobile-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text);
    font-weight: 500;
}

.home-mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    border: none;
    white-space: nowrap;
}

.home-btn-sm {
    padding: 10px 14px;
    font-size: 0.85rem;
}

.home-btn-lg {
    padding: 14px 22px;
    font-size: 1rem;
}

.home-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.home-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px var(--accent-glow);
}

.home-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.home-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.home-btn-ghost {
    color: var(--muted);
    background: transparent;
}

.home-btn-ghost:hover {
    color: var(--text);
}

.home-btn-gold {
    background: linear-gradient(135deg, #c9941a, var(--fifa-gold));
    color: #1a1200;
    box-shadow: 0 8px 24px rgba(255, 209, 102, 0.25);
}

.home-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4757;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.8);
    animation: homePulse 1.4s ease-in-out infinite;
}

@keyframes homePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.85); }
}

.home-main {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: 24px 16px 120px;
    box-sizing: border-box;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 20px 0 48px;
    min-width: 0;
}

.home-hero-content,
.home-hero-visual,
.home-section,
.home-fifa-section,
.home-cta {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 961px) {
    .home-main {
        padding: 32px 28px 72px;
    }

    .home-header-inner {
        padding: 8px 18px;
        min-height: 56px;
    }

    .home-nav a {
        font-size: 0.92rem;
        padding: 6px 0;
        border-bottom: 2px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }

    .home-nav a:hover {
        color: var(--accent-light);
        border-bottom-color: rgba(0, 201, 122, 0.45);
    }

    .home-hero {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
        padding: 36px 0 52px;
    }

    .home-hero-visual {
        order: 2;
    }

    .home-hero-content {
        order: 1;
    }

    .home-hero-desc {
        font-size: 1.08rem;
        max-width: 560px;
    }

    .home-search-wrap {
        max-width: 560px;
    }

    .home-stats {
        max-width: 560px;
        gap: 14px;
    }

    .home-stat {
        padding: 16px 14px;
    }

    .home-featured-card {
        flex: 0 0 min(300px, 30%);
    }

    .home-section {
        margin-bottom: 56px;
    }

    #channels .home-section-head {
        position: sticky;
        top: 72px;
        z-index: 8;
        padding: 18px 0 14px;
        margin-bottom: 12px;
        background: linear-gradient(180deg, rgba(6, 9, 16, 0.97) 65%, rgba(6, 9, 16, 0));
        backdrop-filter: blur(10px);
    }

    .home-category-pills {
        gap: 10px;
    }

    .home-pill {
        padding: 9px 16px;
        font-size: 0.88rem;
    }

    .home-channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
        gap: 14px;
    }

    .home-channel-card {
        padding: 16px 12px;
        border-radius: 18px;
    }

    .home-channel-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    }

    .home-fifa-section {
        margin-bottom: 56px;
    }

    .home-fifa-banner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 32px;
        padding: 32px 36px;
        border-radius: 24px;
    }

    .home-fifa-copy {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home-fifa-copy h2 {
        font-size: 1.55rem;
    }

    .home-fifa-copy p {
        font-size: 0.96rem;
        margin-bottom: 20px;
        max-width: 420px;
    }

    .home-fifa-copy .home-fifa-watch {
        max-width: 440px;
        min-height: 72px;
        padding: 16px 18px;
        align-self: flex-start;
    }

    .home-fifa-matches {
        padding-top: 0;
        border-top: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home-fifa-matches h4 {
        text-align: left;
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .home-fifa-matches .fifa-match-card {
        padding: 14px 16px;
    }

    .home-fifa-matches .fifa-match-name {
        font-size: 0.92rem;
        white-space: nowrap;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-fifa-matches .fifa-match-team img,
    .home-fifa-matches .fifa-match-flag {
        width: 34px;
        height: 34px;
    }

    .home-cta-card {
        padding: 48px 40px;
    }

    .home-fab {
        display: none !important;
    }
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 201, 122, 0.25);
    background: rgba(0, 201, 122, 0.08);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.home-hero-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.home-hero-accent {
    background: linear-gradient(135deg, #fff 20%, var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero-desc {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 520px;
}

.home-search-wrap {
    position: relative;
    max-width: 520px;
    margin-bottom: 22px;
}

.home-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--muted);
    pointer-events: none;
}

.home-search {
    width: 100%;
    padding: 16px 48px 16px 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-search:focus {
    border-color: rgba(0, 201, 122, 0.5);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.home-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    cursor: pointer;
}

.home-search-clear.hidden {
    display: none;
}

.home-search-wrap.is-open .home-search {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.home-search-suggest {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: min(340px, 52vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(0, 201, 122, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 0 16px 16px;
    background: rgba(10, 14, 24, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
}

.home-search-suggest.hidden {
    display: none;
}

.home-search-suggest-label {
    padding: 10px 16px 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.home-search-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.home-search-suggest-item:hover,
.home-search-suggest-item.is-active {
    background: rgba(0, 201, 122, 0.12);
}

.home-search-suggest-logo {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-search-suggest-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-search-suggest-logo span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
}

.home-search-suggest-body {
    flex: 1;
    min-width: 0;
}

.home-search-suggest-body strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-search-suggest-body strong mark {
    background: rgba(255, 209, 102, 0.22);
    color: #ffe08a;
    border-radius: 3px;
    padding: 0 2px;
}

.home-search-suggest-body span {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: var(--muted);
}

.home-search-suggest-action {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.85;
}

.home-search-suggest-empty {
    padding: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.home-search-suggest-footer {
    padding: 10px 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 520px;
}

.home-stat {
    padding: 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.home-stat strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.home-stat span {
    color: var(--muted);
    font-size: 0.78rem;
}

.home-hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
    order: -1;
}

.home-tv-link {
    display: block;
    width: 100%;
    max-width: 520px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.25s var(--ease);
}

.home-tv-link:hover {
    transform: translateY(-3px);
}

.home-tv-link:active {
    transform: scale(0.995);
}

.home-tv-unit {
    width: 100%;
    padding: 14px;
    border-radius: 28px;
    background: linear-gradient(160deg, #1a2238 0%, #0d1220 55%, #080c16 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-tv-bezel {
    border-radius: 18px;
    padding: 10px;
    background: linear-gradient(180deg, #2a3147 0%, #151b2b 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.45),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.home-tv-bezel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.home-tv-power-led {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4757;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.9);
    animation: homePulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.home-tv-bezel-title {
    flex: 1;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.home-tv-signal {
    font-size: 0.72rem;
    opacity: 0.55;
    flex-shrink: 0;
}

.home-tv-screen-wrap {
    padding: 6px;
    border-radius: 12px;
    background: #000;
    border: 3px solid #05070d;
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(0, 201, 122, 0.2);
}

.home-tv-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #000;
    overflow: hidden;
}

.home-tv-screen.is-playing {
    box-shadow: inset 0 0 0 1px rgba(0, 201, 122, 0.35);
}

.home-tv-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    z-index: 1;
}

.home-tv-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.62);
    transition: opacity 0.3s;
}

.home-tv-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.home-tv-loading-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.home-tv-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--accent-light);
    animation: homeTvSpin 0.8s linear infinite;
}

@keyframes homeTvSpin {
    to { transform: rotate(360deg); }
}

.home-tv-scanline {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.015) 2px,
        rgba(255, 255, 255, 0.015) 4px
    );
    opacity: 0.35;
}

.home-tv-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 38%, transparent 52%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
    transition: background 0.25s;
}

.home-tv-link:hover .home-tv-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.85) 100%);
}

.home-tv-watermark {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.home-tv-watermark img {
    width: min(50%, 180px);
    height: auto;
    opacity: 0.5;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.home-tv-glow {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 201, 122, 0.35), transparent 70%);
    animation: homeTvGlow 3s ease-in-out infinite;
}

@keyframes homeTvGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.home-tv-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.home-tv-channel {
    align-self: flex-start;
    margin-top: auto;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    font-size: 0.86rem;
    font-weight: 700;
}

.home-tv-click-hint {
    align-self: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 201, 122, 0.95);
    color: #042;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.92;
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(0, 201, 122, 0.35);
}

.home-tv-chin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 6px 8px 2px;
}

.home-tv-chin-brand {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

.home-tv-chin-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-tv-stand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
}

.home-tv-stand-neck {
    width: 56px;
    height: 18px;
    background: linear-gradient(180deg, #2a3147, #151b2b);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.home-tv-stand-base {
    width: 42%;
    min-width: 120px;
    height: 10px;
    margin-top: 2px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #222838, #0f1420);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.home-tv-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px dashed rgba(0, 201, 122, 0.35);
    background: rgba(0, 201, 122, 0.08);
    color: var(--accent-light);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.45;
}

.home-tv-caption-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (min-width: 961px) {
    .home-tv-link {
        max-width: 480px;
    }

    .home-tv-unit {
        padding: 16px;
    }
}

@media (max-width: 960px) {
    .home-tv-link {
        max-width: 100%;
    }

    .home-tv-unit {
        padding: 12px;
        border-radius: 22px;
    }

    .home-tv-caption {
        font-size: 0.82rem;
    }
}

@media (max-width: 520px) {
    .home-tv-bezel-title {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }

    .home-tv-click-hint {
        font-size: 0.72rem;
        padding: 7px 12px;
    }
}

.home-section {
    margin-bottom: 48px;
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.home-section-tag {
    display: inline-block;
    color: var(--accent-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.home-section-head h2 {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.home-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.home-reviews-section {
    margin-bottom: 44px;
}

.home-reviews-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 183, 77, 0.18);
    background: rgba(255, 183, 77, 0.06);
}

.home-reviews-summary .channel-reviews-stars {
    color: #ffb74d;
    letter-spacing: 1px;
    font-size: 1rem;
}

.home-reviews-summary .channel-reviews-count {
    color: var(--muted);
    font-size: 0.76rem;
}

.home-reviews-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.home-review-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(14, 20, 36, 0.96), rgba(8, 12, 24, 0.92));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.home-review-card:active {
    transform: scale(0.985);
}

.home-review-channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    width: fit-content;
    max-width: 100%;
}

.home-review-channel-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.home-review-channel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.home-review-channel-logo span {
    font-weight: 700;
    color: var(--accent-light);
}

.home-review-channel-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-review-rating {
    color: #ffb74d;
    letter-spacing: 1px;
    font-size: 0.92rem;
}

.home-review-body {
    margin: 0;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-review-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: var(--muted);
}

.home-review-author {
    color: var(--text);
    font-weight: 600;
}

.home-reviews-empty {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
    justify-items: start;
    padding: 24px 18px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.home-reviews-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.home-reviews-cta {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.home-featured-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-featured-scroll::-webkit-scrollbar {
    display: none;
}

.home-featured-card {
    position: relative;
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(16, 24, 43, 0.7);
    overflow: hidden;
    transition: transform 0.25s var(--ease), border-color 0.25s;
}

.home-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 201, 122, 0.35);
}

.home-featured-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    place-items: center;
    padding: 14px 18px;
    box-sizing: border-box;
}

.home-featured-thumb img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-card-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
    background: rgba(0, 201, 122, 0.08);
}

.home-card-live {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-featured-body {
    padding: 14px 16px 16px;
}

.home-featured-body strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.home-featured-body span {
    color: var(--muted);
    font-size: 0.85rem;
}

.home-featured-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    color: #042;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    box-shadow: 0 6px 16px var(--accent-glow);
}

.home-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-channel-card:active,
.home-featured-card:active,
.home-pill:active,
.home-btn:active {
    transform: scale(0.98);
}

.home-pill {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.home-pill.active,
.home-pill:hover {
    color: var(--text);
    border-color: rgba(0, 201, 122, 0.4);
    background: rgba(0, 201, 122, 0.12);
}

.home-category-block {
    margin-bottom: 28px;
}

.home-category-block.hidden {
    display: none;
}

.home-category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.home-category-title h3 {
    margin: 0;
    font-size: 1.1rem;
}

.home-category-title span {
    color: var(--muted);
    font-size: 0.85rem;
}

.home-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.home-channel-card {
    padding: 14px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.home-channel-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 201, 122, 0.3);
    background: rgba(0, 201, 122, 0.06);
}

.home-channel-card.hidden {
    display: none;
}

.home-channel-logo {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-items: center;
    padding: 6px;
    box-sizing: border-box;
}

.home-channel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-mini-live {
    position: absolute;
    bottom: 4px;
    right: 4px;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(255, 71, 87, 0.9);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
}

.home-channel-info strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.home-channel-info span {
    color: var(--muted);
    font-size: 0.78rem;
}

.home-no-results {
    text-align: center;
    color: var(--muted);
    padding: 32px 16px;
}

.home-no-results.hidden {
    display: none;
}

.home-fifa-section {
    margin-bottom: 40px;
}

.home-fifa-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 209, 102, 0.2);
    background:
        linear-gradient(135deg, rgba(26, 95, 63, 0.35), rgba(8, 12, 24, 0.92));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    min-width: 0;
}

.home-fifa-copy,
.home-fifa-matches {
    min-width: 0;
}

.home-fifa-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 209, 102, 0.15);
    color: var(--fifa-gold);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.home-fifa-copy h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.home-fifa-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.55;
}

.home-fifa-watch {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 209, 102, 0.45);
    background:
        linear-gradient(135deg, rgba(255, 209, 102, 0.22), rgba(201, 148, 26, 0.12)),
        rgba(8, 12, 24, 0.55);
    color: var(--text);
    text-decoration: none;
    box-shadow:
        0 12px 32px rgba(255, 209, 102, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.home-fifa-watch:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 209, 102, 0.65);
    box-shadow:
        0 16px 40px rgba(255, 209, 102, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 209, 102, 0.28), rgba(201, 148, 26, 0.16)),
        rgba(8, 12, 24, 0.62);
}

.home-fifa-watch:active {
    transform: translateY(0) scale(0.99);
}

.home-fifa-watch-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    padding: 6px;
    box-sizing: border-box;
}

.home-fifa-watch-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-fifa-watch-logo-fallback {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--fifa-gold);
}

.home-fifa-watch-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.home-fifa-watch-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 2px 8px 2px 6px;
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.16);
    border: 1px solid rgba(255, 71, 87, 0.35);
    color: #ff6b7a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.home-fifa-watch-body strong {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-fifa-watch-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-fifa-watch-play {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e6b422, var(--fifa-gold));
    color: #1a1200;
    box-shadow: 0 8px 20px rgba(255, 209, 102, 0.35);
}

.home-fifa-watch-play svg {
    display: block;
    margin-left: 2px;
}

.home-fifa-matches h4 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--fifa-gold);
}

.home-fifa-matches .fifa-matches-list {
    display: grid;
    gap: 10px;
}

.home-fifa-matches .fifa-match-card {
    margin-bottom: 0;
}

.home-fifa-matches .fifa-match-meta {
    justify-content: flex-start;
    align-items: center;
    gap: 8px 10px;
}

.home-fifa-matches .fifa-match-time {
    margin-left: auto;
    width: auto;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

.home-cta {
    margin-bottom: 32px;
}

.home-cta-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 201, 122, 0.12), transparent 55%),
        rgba(16, 24, 43, 0.6);
}

.home-cta-card h2 {
    margin: 0 0 10px;
    font-size: 1.6rem;
}

.home-cta-card p {
    margin: 0 0 20px;
    color: var(--muted);
}

.home-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 16px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    background: rgba(4, 8, 18, 0.6);
}

.home-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.home-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.home-footer-brand p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.home-footer-note {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 16px;
}

.home-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.home-footer-links a {
    color: var(--accent-light);
    font-size: 0.9rem;
}

.home-fab {
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 40;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 32px var(--accent-glow);
    transition: transform 0.2s;
}

.home-fab:hover {
    transform: scale(1.04);
}

@media (max-width: 960px) {
    .home-nav {
        display: none;
    }

    .home-header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
    }

    .home-logo {
        grid-column: 1;
        flex: none;
        height: 44px;
        max-width: 100%;
        width: 100%;
    }

    .home-header-actions {
        grid-column: 2;
        margin-left: 0;
        gap: 6px;
    }

    .home-menu-btn {
        display: grid;
        place-items: center;
    }

    .home-header-actions .home-btn-ghost {
        display: none;
    }

    .home-header-actions .home-btn-sm {
        padding: 9px 11px;
        font-size: 0.8rem;
    }

    .home-mobile-nav {
        width: calc(100% - 8px);
        margin-inline: auto;
    }

    .home-hero-visual {
        order: -1;
    }

    .home-hero-content {
        order: 0;
    }

    .home-hero {
        padding: 4px 0 24px;
        gap: 16px;
    }

    .home-hero-title {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
    }

    .home-hero-desc {
        font-size: 0.95rem;
        margin-bottom: 16px;
        max-width: none;
    }

    .home-search-wrap {
        max-width: none;
        margin-bottom: 16px;
    }

    .home-search {
        padding: 14px 44px 14px 44px;
    }

    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
        gap: 10px;
    }

    .home-tv-link {
        max-width: min(100%, 360px);
        margin-inline: auto;
    }

    .home-tv-unit {
        padding: 10px;
        border-radius: 20px;
    }

    .home-tv-caption {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .home-main {
        padding: 8px 12px calc(108px + env(safe-area-inset-bottom));
    }

    .home-page .site-footer-home {
        padding: 28px 14px calc(96px + env(safe-area-inset-bottom));
    }

    .home-page .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-page .site-footer-disclaimer {
        max-width: none;
    }

    .home-page .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
    }

    .home-category-pills::-webkit-scrollbar {
        display: none;
    }

    .home-pill {
        flex-shrink: 0;
    }

    .home-featured-scroll {
        margin-inline: -2px;
        padding-inline: 2px 12px;
    }

    .home-featured-card {
        flex: 0 0 min(248px, 84vw);
    }

    .home-fifa-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 18px 14px;
        border-radius: 18px;
    }

    .home-fifa-copy {
        text-align: center;
    }

    .home-fifa-copy h2 {
        font-size: clamp(1.2rem, 4.8vw, 1.45rem);
    }

    .home-fifa-copy p {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .home-fifa-copy .home-fifa-watch {
        width: 100%;
        max-width: none;
        min-height: 72px;
        padding: 14px;
    }

    .home-fifa-copy .home-fifa-watch-body strong {
        font-size: 0.98rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .home-fifa-copy .home-fifa-watch-sub {
        white-space: normal;
    }

    .home-fifa-matches {
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .home-fifa-matches h4 {
        text-align: center;
        margin-bottom: 12px;
    }

    .home-fifa-matches .fifa-match-card {
        overflow: hidden;
    }

    .home-fifa-matches .fifa-match-meta {
        flex-wrap: wrap;
        gap: 6px;
    }

    .home-fifa-matches .fifa-match-time {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }

    .home-section-head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .home-reviews-summary {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .home-reviews-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 2px 2px 10px;
        margin-inline: -2px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-reviews-scroll::-webkit-scrollbar {
        display: none;
    }

    .home-review-card {
        flex: 0 0 min(280px, 86vw);
        scroll-snap-align: start;
    }

    .home-reviews-cta .home-btn {
        width: 100%;
        max-width: 320px;
    }

    #channels .home-section-head > div:first-child {
        min-width: 0;
    }

    .home-channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
        gap: 10px;
    }

    .home-fab {
        display: inline-flex;
    }
}

@media (max-width: 520px) {
    .home-header {
        padding-inline: 6px;
    }

    .home-header-inner {
        padding: 5px 8px;
        border-radius: 14px;
    }

    .home-logo {
        height: 40px;
    }

    .home-header-actions .home-btn-primary.home-btn-sm span.home-live-dot {
        display: none;
    }

    .home-header-actions .home-btn-primary.home-btn-sm {
        padding: 8px 10px;
        font-size: 0.76rem;
    }

    .home-menu-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .home-hero-title {
        font-size: clamp(1.55rem, 8vw, 1.85rem);
    }

    .home-hero-badge {
        font-size: 0.76rem;
        padding: 6px 11px;
        margin-bottom: 12px;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-hero-actions .home-btn {
        width: 100%;
    }

    .home-main {
        padding-inline: 10px;
    }

    .home-channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .home-channel-card {
        padding: 10px 6px;
    }

    .home-channel-logo {
        width: 52px;
        height: 52px;
    }

    .home-channel-info strong {
        font-size: 0.78rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-fifa-section {
        margin-bottom: 28px;
    }

    .home-fifa-banner {
        padding: 16px 14px;
        gap: 18px;
        border-radius: 18px;
    }

    .home-fifa-copy h2 {
        font-size: 1.18rem;
        line-height: 1.3;
    }

    .home-fifa-copy p {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .home-fifa-badge {
        font-size: 0.76rem;
        padding: 5px 10px;
    }

    .home-fifa-matches h4 {
        font-size: 0.88rem;
    }

    .home-fifa-matches .fifa-match-card {
        padding: 12px;
        border-radius: 14px;
    }

    .home-fifa-matches .fifa-match-teams {
        gap: 6px;
    }

    .home-fifa-matches .fifa-match-team {
        gap: 6px;
    }

    .home-fifa-matches .fifa-match-team img,
    .home-fifa-matches .fifa-match-flag {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .home-fifa-matches .fifa-match-name {
        font-size: 0.76rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.25;
    }

    .home-fifa-matches .fifa-match-score {
        min-width: 54px;
        padding: 6px 8px;
        font-size: 0.98rem;
        border-radius: 10px;
    }

    .home-fifa-matches .fifa-match-meta {
        margin-top: 8px;
        padding-top: 8px;
        font-size: 0.72rem;
    }

    .home-cta-card {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .home-cta-card h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 380px) {
    .home-header-actions .home-btn-primary.home-btn-sm span.home-live-dot,
    .home-header-actions .home-btn-primary.home-btn-sm .home-live-text {
        display: none;
    }

    .home-header-actions .home-btn-primary.home-btn-sm {
        padding: 9px;
        min-width: 38px;
    }

    .home-header-actions .home-btn-primary.home-btn-sm::after {
        content: '▶';
        font-size: 0.82rem;
    }

    .home-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stats {
        gap: 8px;
    }

    .home-stat {
        padding: 12px 8px;
    }

    .home-stat strong {
        font-size: 1rem;
    }

    .home-fifa-matches .fifa-match-teams {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 4px;
    }

    .home-fifa-matches .fifa-match-score {
        min-width: 48px;
        padding: 5px 6px;
        font-size: 0.9rem;
    }

    .home-fifa-matches .fifa-match-name {
        font-size: 0.72rem;
    }

    .home-fifa-matches .fifa-match-time {
        font-size: 0.68rem;
    }

    .home-review-card {
        flex-basis: min(260px, 88vw);
        padding: 14px;
        border-radius: 16px;
    }

    .home-review-body {
        font-size: 0.88rem;
        -webkit-line-clamp: 3;
    }

    .home-reviews-summary {
        padding: 10px 12px;
    }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 960px) {
    .home-hero {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 8px 0 24px;
        align-items: center;
    }

    .home-hero-visual {
        order: 0;
    }

    .home-hero-content {
        order: 0;
    }

    .home-hero-title {
        font-size: clamp(1.35rem, 4vw, 1.65rem);
        margin-bottom: 8px;
    }

    .home-hero-desc {
        display: none;
    }

    .home-search-wrap,
    .home-stats {
        display: none;
    }

    .home-hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .home-hero-actions .home-btn {
        width: auto;
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .home-tv-unit {
        padding: 8px;
    }

    .home-tv-caption {
        display: none;
    }

    .home-main {
        padding-top: 8px;
    }
}

/* Home page — backup hooks when JS marks narrow viewport */
.home-page.home-layout-mobile .home-nav {
    display: none;
}

.home-page.home-layout-mobile .home-menu-btn {
    display: grid;
    place-items: center;
}

.home-page.home-layout-mobile .home-fab {
    display: inline-flex;
}

.home-page.home-layout-mobile .home-hero-visual {
    order: -1;
}

.home-page.home-layout-mobile .home-hero-content {
    order: 0;
}

.home-page.home-layout-mobile .home-hero {
    padding-top: 4px;
    gap: 16px;
}

@media (hover: none) and (pointer: coarse) {
    .home-featured-card:hover,
    .home-channel-card:hover,
    .home-tv-link:hover,
    .home-fifa-watch:hover {
        transform: none;
    }

    .home-fifa-watch:active {
        transform: scale(0.98);
        border-color: rgba(255, 209, 102, 0.75);
    }

    .home-tv-click-hint {
        opacity: 1;
        transform: translateY(0);
    }
}
