/**
 * Path: wp-content/themes/moviestream-child-gogotv/assets/css/design-v190.css
 * GogoTV v1.9.0 final responsive UI layer.
 * Loaded last. It normalizes the existing templates without changing player/API data.
 */

body.gogotv-design-v190{
    --gogo-bg:#07090c;
    --gogo-panel:#0d1014;
    --gogo-panel-2:#11151a;
    --gogo-line:rgba(255,255,255,.10);
    --gogo-line-soft:rgba(255,255,255,.065);
    --gogo-text:#f7f8fa;
    --gogo-sub:#9aa1aa;
    --gogo-red:#ff1f2f;
    --gogo-blue:#1765ee;
    --gogo-radius:8px;
    background:var(--gogo-bg)!important;
    color:var(--gogo-text)!important;
    font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif!important;
    letter-spacing:-.025em;
}

body.gogotv-design-v190 *,body.gogotv-design-v190 *::before,body.gogotv-design-v190 *::after{box-sizing:border-box;}
body.gogotv-design-v190 a{color:inherit;text-decoration:none;}

/* Header */
body.gogotv-design-v190 .gogo-site-header{
    background:rgba(7,9,12,.97)!important;
    border-bottom:1px solid var(--gogo-line-soft)!important;
    backdrop-filter:blur(18px);
}
body.gogotv-design-v190 .gogo-site-header__inner{max-width:1280px!important;}
body.gogotv-design-v190 .gogo-site-brand{font-weight:900!important;letter-spacing:-.055em!important;}
body.gogotv-design-v190 .gogo-site-brand b{color:var(--gogo-red)!important;}
body.gogotv-design-v190 .gogo-header-icon,
body.gogotv-design-v190 .gogo-header-profile,
body.gogotv-design-v190 .gogo-menu-trigger{
    border:0!important;
    background:transparent!important;
    color:#f7f8fa!important;
    box-shadow:none!important;
}
body.gogotv-design-v190 .gogo-category-strip{background:#090b0e!important;border-bottom:1px solid var(--gogo-line-soft)!important;}
body.gogotv-design-v190 .gogo-category-strip__inner a{
    border:1px solid var(--gogo-line)!important;
    background:#0d1014!important;
    color:#e7e9ec!important;
    box-shadow:none!important;
}
body.gogotv-design-v190 .gogo-category-strip__inner a:hover,
body.gogotv-design-v190 .gogo-category-strip__inner a.is-active,
body.gogotv-design-v190 .gogo-category-strip__inner .current-menu-item a{
    color:#fff!important;
    border-color:rgba(255,31,47,.75)!important;
    background:rgba(255,31,47,.11)!important;
}

/* Global content shell */
body.gogotv-design-v190 .gogo-home-v150,
body.gogotv-design-v190 .gogo-archive-shell,
body.gogotv-design-v190 .gogo-search-v150,
body.gogotv-design-v190 .gogo-popular-shell,
body.gogotv-design-v190 .gogo-series-single,
body.gogotv-design-v190 .gogo-movie-grid-shell,
body.gogotv-design-v190 .gogo-movie-body-grid{
    max-width:1280px!important;
}

/* Banners */
body.gogotv-design-v190 .gogo-banner-grid,
body.gogotv-design-v190 .gogotv-banner-grid{
    gap:8px!important;
}
body.gogotv-design-v190 .gogo-banner-item,
body.gogotv-design-v190 .gogotv-banner-item,
body.gogotv-design-v190 .gogo-banner-item img,
body.gogotv-design-v190 .gogotv-banner-item img{
    border-radius:5px!important;
    box-shadow:none!important;
}

/* Home */
body.gogotv-design-v190 .gogo-home-section{border-bottom:1px solid var(--gogo-line-soft);}
body.gogotv-design-v190 .gogo-home-section__head h2,
body.gogotv-design-v190 .gogo-section__title{font-weight:850!important;color:#f7f8fa!important;}
body.gogotv-design-v190 .gogo-section-triangle{color:var(--gogo-red)!important;}
body.gogotv-design-v190 .gogo-poster-card__image,
body.gogotv-design-v190 .gogo-update-row__thumb,
body.gogotv-design-v190 .gogo-rank-row__thumb{
    border:1px solid var(--gogo-line)!important;
    background:#0b0e12!important;
    box-shadow:none!important;
}
body.gogotv-design-v190 .gogo-poster-card__title,
body.gogotv-design-v190 .gogo-update-row__copy strong,
body.gogotv-design-v190 .gogo-rank-row__copy strong{color:#f4f5f7!important;font-weight:750!important;}
body.gogotv-design-v190 .gogo-poster-card__type,
body.gogotv-design-v190 .gogo-update-row__copy span,
body.gogotv-design-v190 .gogo-update-row time,
body.gogotv-design-v190 .gogo-rank-row__copy span,
body.gogotv-design-v190 .gogo-rank-row em{color:var(--gogo-sub)!important;}
body.gogotv-design-v190 .gogo-mini-up,
body.gogotv-design-v190 .gogo-poster-card__update{background:var(--gogo-red)!important;color:#fff!important;border-radius:4px!important;}
body.gogotv-design-v190 .gogo-update-row,
body.gogotv-design-v190 .gogo-rank-row{border-bottom:1px solid var(--gogo-line-soft)!important;}
body.gogotv-design-v190 .gogo-genre-tile{
    background:linear-gradient(145deg,#11151a,#0b0e12)!important;
    border:1px solid var(--gogo-line)!important;
    box-shadow:none!important;
}
body.gogotv-design-v190 .gogo-genre-tile__index{color:var(--gogo-red)!important;}

/* Watch */
body.gogotv-design-v190.gogotv-page-watch .epwatch-ux-v46{
    background:var(--gogo-bg)!important;
}
body.gogotv-design-v190.gogotv-page-watch .watch-player-section,
body.gogotv-design-v190.gogotv-page-watch .gogo-player-stage{
    border:1px solid var(--gogo-line)!important;
    background:#000!important;
    box-shadow:none!important;
}
body.gogotv-design-v190.gogotv-page-watch .watch-direct-nav-item{
    border:1px solid var(--gogo-line)!important;
    background:#0d1014!important;
    box-shadow:none!important;
}
body.gogotv-design-v190.gogotv-page-watch .watch-direct-nav-item:hover{border-color:rgba(255,31,47,.55)!important;}
body.gogotv-design-v190.gogotv-page-watch .watch-episode-title-v46{font-weight:850!important;color:#fff!important;}
body.gogotv-design-v190.gogotv-page-watch .watch-meta-pill{color:#a2a8b0!important;}
body.gogotv-design-v190.gogotv-page-watch .gogo-watch-actions{
    border:1px solid var(--gogo-line)!important;
    background:#0b0e12!important;
}
body.gogotv-design-v190.gogotv-page-watch .gogo-watch-action{
    color:#e9ebee!important;
    border-right:1px solid var(--gogo-line-soft)!important;
}
body.gogotv-design-v190.gogotv-page-watch .gogo-watch-action:last-child{border-right:0!important;}
body.gogotv-design-v190.gogotv-page-watch .watch-episodes-panel{border-top:1px solid var(--gogo-line-soft)!important;}
body.gogotv-design-v190.gogotv-page-watch .watch-episode-search-wrap,
body.gogotv-design-v190.gogotv-page-watch .watch-sort-btn{
    border:1px solid var(--gogo-line)!important;
    background:#0b0e12!important;
    color:#e7e9ec!important;
}
body.gogotv-design-v190.gogotv-page-watch .watch-episode-card{
    border:1px solid var(--gogo-line)!important;
    background:#0d1014!important;
    box-shadow:none!important;
}
body.gogotv-design-v190.gogotv-page-watch .watch-episode-card.is-current{
    border-color:rgba(255,31,47,.78)!important;
    background:rgba(255,31,47,.10)!important;
}

/* Archive */
body.gogotv-design-v190 .gogo-archive-head{border-bottom:1px solid var(--gogo-line)!important;}
body.gogotv-design-v190 .gogo-archive-title{font-weight:850!important;color:#fff!important;}
body.gogotv-design-v190 .gogo-archive-sort-links a,
body.gogotv-design-v190 .gogo-archive-filter-trigger{
    color:#c5c9cf!important;
    border:0!important;
    background:transparent!important;
}
body.gogotv-design-v190 .gogo-archive-sort-links a.is-active{color:var(--gogo-red)!important;border-bottom:3px solid var(--gogo-red)!important;}
body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card,
body.gogotv-design-v190 .gogo-archive-grid article{border-bottom:1px solid var(--gogo-line-soft)!important;}

/* Search */
body.gogotv-design-v190 .gogo-search-v150__form input{
    background:#0b0e12!important;
    border:1px solid var(--gogo-line)!important;
    color:#fff!important;
}
body.gogotv-design-v190 .gogo-search-v150__form button{
    background:#0d1014!important;
    border:1px solid var(--gogo-line)!important;
    color:#fff!important;
}
body.gogotv-design-v190 .gogo-search-popular-terms a{
    background:#0d1014!important;
    border:1px solid var(--gogo-line)!important;
    color:#d5d8dd!important;
}
body.gogotv-design-v190 .gogo-search-result-row{border-bottom:1px solid var(--gogo-line-soft)!important;}
body.gogotv-design-v190 .gogo-search-result-row__thumb{border:1px solid var(--gogo-line)!important;border-radius:6px!important;}

/* Footer + bottom nav */
body.gogotv-design-v190 .gogo-site-footer{background:#080a0d!important;border-top:1px solid var(--gogo-line-soft)!important;}
body.gogotv-design-v190 .gogo-mobile-nav{
    background:rgba(9,11,14,.98)!important;
    border-top:1px solid var(--gogo-line)!important;
    backdrop-filter:blur(18px);
}
body.gogotv-design-v190 .gogo-mobile-nav__item{color:#b7bcc3!important;}
body.gogotv-design-v190 .gogo-mobile-nav__item.is-active{color:var(--gogo-red)!important;}

@media (max-width:980px){
    body.gogotv-design-v190{padding-bottom:calc(64px + env(safe-area-inset-bottom));}
    body.gogotv-design-v190 .gogo-site-header__inner{height:64px!important;padding:0 16px!important;gap:10px!important;}
    body.gogotv-design-v190 .gogo-site-brand{font-size:24px!important;}
    body.gogotv-design-v190 .gogo-site-actions{gap:8px!important;}
    body.gogotv-design-v190 .gogo-header-icon,
    body.gogotv-design-v190 .gogo-header-profile,
    body.gogotv-design-v190 .gogo-menu-trigger{width:32px!important;height:32px!important;}
    body.gogotv-design-v190 .gogo-header-icon svg,
    body.gogotv-design-v190 .gogo-header-profile svg,
    body.gogotv-design-v190 .gogo-menu-trigger svg{width:21px!important;height:21px!important;}

    body.gogotv-design-v190 .gogo-category-strip{padding:10px 0!important;}
    body.gogotv-design-v190 .gogo-category-strip__inner{padding:0 14px!important;gap:8px!important;}
    body.gogotv-design-v190 .gogo-category-strip__inner a{min-height:39px!important;padding:0 15px!important;font-size:12px!important;font-weight:750!important;border-radius:6px!important;}

    body.gogotv-design-v190 .gogo-home-v150,
    body.gogotv-design-v190 .gogo-archive-shell,
    body.gogotv-design-v190 .gogo-search-v150,
    body.gogotv-design-v190 .gogo-popular-shell,
    body.gogotv-design-v190 .gogo-series-single{
        width:calc(100% - 28px)!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }

    body.gogotv-design-v190 .gogo-home-section{margin-bottom:28px!important;padding-bottom:24px!important;}
    body.gogotv-design-v190 .gogo-home-section__head{margin-bottom:12px!important;}
    body.gogotv-design-v190 .gogo-home-section__head h2,
    body.gogotv-design-v190 .gogo-section__title{font-size:16px!important;line-height:1.3!important;}
    body.gogotv-design-v190 .gogo-home-section__head>a{font-size:10.5px!important;color:#aab0b7!important;}

    body.gogotv-design-v190 .gogo-home-shelf{
        display:grid!important;
        grid-auto-flow:column!important;
        grid-auto-columns:calc((100vw - 58px)/4)!important;
        gap:10px!important;
        overflow-x:auto!important;
        padding-bottom:4px!important;
        scrollbar-width:none!important;
    }
    body.gogotv-design-v190 .gogo-home-shelf::-webkit-scrollbar{display:none!important;}
    body.gogotv-design-v190 .gogo-poster-card__image{border-radius:7px!important;}
    body.gogotv-design-v190 .gogo-poster-card__title{font-size:11px!important;line-height:1.35!important;min-height:30px!important;margin-top:7px!important;}
    body.gogotv-design-v190 .gogo-poster-card__type,
    body.gogotv-design-v190 .gogo-poster-card__stats{font-size:9px!important;line-height:1.35!important;}
    body.gogotv-design-v190 .gogo-poster-card__update{font-size:8px!important;padding:4px 5px!important;}

    body.gogotv-design-v190 .gogo-update-row{grid-template-columns:84px minmax(0,1fr) auto!important;gap:10px!important;min-height:72px!important;padding:9px 0!important;}
    body.gogotv-design-v190 .gogo-update-row__thumb{width:84px!important;border-radius:6px!important;}
    body.gogotv-design-v190 .gogo-update-row__copy strong{font-size:11px!important;line-height:1.35!important;}
    body.gogotv-design-v190 .gogo-update-row__copy span,
    body.gogotv-design-v190 .gogo-update-row time{font-size:9px!important;}

    body.gogotv-design-v190 .gogo-genre-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
    body.gogotv-design-v190 .gogo-genre-tile{min-height:64px!important;padding:10px 12px!important;border-radius:7px!important;}
    body.gogotv-design-v190 .gogo-genre-tile__index{font-size:20px!important;}
    body.gogotv-design-v190 .gogo-genre-tile__copy strong{font-size:11px!important;}
    body.gogotv-design-v190 .gogo-genre-tile__copy small{font-size:9px!important;}

    body.gogotv-design-v190 .gogo-rank-row{grid-template-columns:22px 76px minmax(0,1fr) auto!important;gap:9px!important;padding:8px 0!important;}
    body.gogotv-design-v190 .gogo-rank-row__thumb{width:76px!important;border-radius:6px!important;}
    body.gogotv-design-v190 .gogo-rank-row__copy strong{font-size:11px!important;}
    body.gogotv-design-v190 .gogo-rank-row__copy span,
    body.gogotv-design-v190 .gogo-rank-row em{font-size:9px!important;}

    /* Watch reference layout */
    body.gogotv-design-v190.gogotv-page-watch .watch-hero-area,
    body.gogotv-design-v190.gogotv-page-watch .watch-player-section,
    body.gogotv-design-v190.gogotv-page-watch .watch-direct-nav,
    body.gogotv-design-v190.gogotv-page-watch .gogo-watch-body-grid{
        width:calc(100% - 28px)!important;
        max-width:none!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
    body.gogotv-design-v190.gogotv-page-watch .watch-hero-area{margin-top:12px!important;padding:0!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-player-section,
    body.gogotv-design-v190.gogotv-page-watch .gogo-player-stage,
    body.gogotv-design-v190.gogotv-page-watch .centerplayer,
    body.gogotv-design-v190.gogotv-page-watch #pembed{border-radius:8px!important;overflow:hidden!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-direct-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important;margin-bottom:18px!important;padding:0!important;border:0!important;background:transparent!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-direct-nav-item{min-height:48px!important;border-radius:7px!important;padding:0 12px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-direct-nav-item.is-center{display:none!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-nav-copy strong{font-size:12px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-nav-copy small{display:none!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-title-v46{font-size:19px!important;line-height:1.35!important;margin:0 0 8px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-head-meta-v180 .watch-meta-pill{font-size:11px!important;padding:0 8px!important;}
    body.gogotv-design-v190.gogotv-page-watch .gogo-watch-actions{display:grid!important;grid-template-columns:repeat(4,1fr)!important;border-radius:7px!important;overflow:hidden!important;margin:14px 0 20px!important;}
    body.gogotv-design-v190.gogotv-page-watch .gogo-watch-action{min-height:48px!important;padding:7px 3px!important;font-size:10px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episodes-panel{padding-top:18px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episodes-title-wrap h2{font-size:15px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episodes-count{font-size:10px!important;background:transparent!important;border:0!important;padding:0!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-tools{margin:0 0 12px!important;max-width:none!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-search-wrap,
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-search,
    body.gogotv-design-v190.gogotv-page-watch .watch-sort-btn{height:42px!important;min-height:42px!important;border-radius:7px!important;}

    /* Mobile episode selector becomes a clean compact grid like the approved mockup. */
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-grid-v46{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-card{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-width:0!important;
        min-height:45px!important;
        height:45px!important;
        padding:0 4px!important;
        border-radius:7px!important;
        overflow:hidden!important;
    }
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-thumb,
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-card-copy small,
    body.gogotv-design-v190.gogotv-page-watch .gogo-v180-episode-state,
    body.gogotv-design-v190.gogotv-page-watch .watch-now-badge{display:none!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-card-copy{padding:0!important;text-align:center!important;min-width:0!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-card-copy strong{margin:0!important;color:#e8ebef!important;font-size:11px!important;line-height:1.15!important;font-weight:750!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-card.is-current .watch-episode-card-copy strong{color:#fff!important;}

    /* Archive is a list, not poster grid. */
    body.gogotv-design-v190 .gogo-archive-head{padding:4px 0 12px!important;}
    body.gogotv-design-v190 .gogo-archive-title{font-size:22px!important;}
    body.gogotv-design-v190 .gogo-archive-sort-chips{display:flex!important;align-items:center!important;gap:14px!important;overflow-x:auto!important;padding:8px 0 0!important;}
    body.gogotv-design-v190 .gogo-archive-sort-links{display:flex!important;gap:22px!important;}
    body.gogotv-design-v190 .gogo-archive-sort-links a,
    body.gogotv-design-v190 .gogo-archive-filter-trigger{font-size:12px!important;padding:10px 0!important;white-space:nowrap!important;}
    body.gogotv-design-v190 .gogo-archive-grid{display:block!important;}
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card,
    body.gogotv-design-v190 .gogo-archive-grid article{display:grid!important;grid-template-columns:112px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:12px 0!important;margin:0!important;}
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card__image{width:112px!important;aspect-ratio:16/9!important;border-radius:7px!important;}
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card__image img{width:100%!important;height:100%!important;object-fit:cover!important;}
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card__title{font-size:14px!important;line-height:1.35!important;min-height:0!important;margin:0 0 6px!important;}
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card__type,
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card__stats{font-size:10.5px!important;}

    /* Search */
    body.gogotv-design-v190 .gogo-search-v150__head h1{font-size:22px!important;margin-bottom:18px!important;}
    body.gogotv-design-v190 .gogo-search-v150__form{height:48px!important;}
    body.gogotv-design-v190 .gogo-search-v150__form input{font-size:13px!important;padding:0 14px!important;border-radius:7px 0 0 7px!important;}
    body.gogotv-design-v190 .gogo-search-v150__form button{width:52px!important;border-radius:0 7px 7px 0!important;}
    body.gogotv-design-v190 .gogo-search-popular-terms{gap:8px!important;}
    body.gogotv-design-v190 .gogo-search-popular-terms a{font-size:11px!important;padding:8px 11px!important;border-radius:6px!important;}
    body.gogotv-design-v190 .gogo-search-result-row{grid-template-columns:88px minmax(0,1fr) auto!important;gap:12px!important;padding:11px 0!important;}
    body.gogotv-design-v190 .gogo-search-result-row__thumb{width:88px!important;aspect-ratio:16/9!important;}
    body.gogotv-design-v190 .gogo-search-result-row__copy strong{font-size:13px!important;line-height:1.35!important;}
    body.gogotv-design-v190 .gogo-search-result-row__copy span{font-size:10px!important;}

    body.gogotv-design-v190 .gogo-mobile-nav{height:64px!important;padding-bottom:env(safe-area-inset-bottom)!important;}
    body.gogotv-design-v190 .gogo-mobile-nav__item{font-size:8.5px!important;gap:3px!important;padding:4px 1px 5px!important;}
    body.gogotv-design-v190 .gogo-mobile-nav__item svg{width:20px!important;height:20px!important;}
}

@media (max-width:420px){
    body.gogotv-design-v190 .gogo-home-shelf{grid-auto-columns:calc((100vw - 54px)/3.65)!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-grid-v46{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-episode-card{height:42px!important;min-height:42px!important;}
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card,
    body.gogotv-design-v190 .gogo-archive-grid article{grid-template-columns:102px minmax(0,1fr) auto!important;gap:12px!important;}
    body.gogotv-design-v190 .gogo-archive-grid .gogo-poster-card__image{width:102px!important;}
}

@media (min-width:981px){
    body.gogotv-design-v190 .gogo-site-header__inner{height:72px!important;padding:0 20px!important;}
    body.gogotv-design-v190 .gogo-site-brand{font-size:28px!important;}
    body.gogotv-design-v190 .gogo-home-section{padding-bottom:34px!important;margin-bottom:36px!important;}
    body.gogotv-design-v190.gogotv-page-watch .watch-player-section,
    body.gogotv-design-v190.gogotv-page-watch .watch-hero-area,
    body.gogotv-design-v190.gogotv-page-watch .gogo-watch-body-grid{max-width:1280px!important;}
}
