@charset "utf-8";

/* ========================================
   NFLX Mobile - Netflix Style
   ======================================== */

*,*::before,*::after { box-sizing: border-box !important; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { overflow-y: scroll; }
body {
    font-size: 14px;
    background: #141414;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Noto Sans JP', sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6,form,fieldset,img { margin: 0; padding: 0; border: 0; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display: block; }
ul,li { margin: 0; padding: 0; list-style: none; }
input,button,select,textarea { margin: 0; padding: 0; font-family: inherit; border: 0; outline: 0; background: transparent; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
    --nf-red: #e50914;
    --nf-black: #141414;
    --nf-dark: #181818;
    --nf-dark2: #232323;
    --nf-gray: #808080;
    --nf-gray-l: #b3b3b3;
    --nf-green: #46d369;
    --nf-nav-h: 48px;
    --nf-btm: 56px;
    --nf-pad: 12px;
    --nf-radius: 4px;
}

/* =========================================
   MOBILE HEADER
   ========================================= */
#nflx-m-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nf-nav-h);
    background: transparent;
    transition: background .3s, transform .3s;
}
#nflx-m-header::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,.8) 10%, transparent 100%);
    pointer-events: none;
}
#nflx-m-header.scrolled { background: rgb(20,20,20); }
#nflx-m-header.scrolled::after { opacity: 0; }
#nflx-m-header.slideUp { transform: translateY(-100%); }
#nflx-m-header.slideDown { transform: translateY(0); }

.m-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; padding: 0 var(--nf-pad);
}
.m-logo img { height: 22px; }
.m-header-right { display: flex; align-items: center; gap: 12px; }
.m-search-btn { display: flex; align-items: center; color: #fff; font-size: 22px; }
.m-header-right .guest-login a {
    display: flex; align-items: center; gap: 6px; font-size: 12px; color: #ccc;
}
.m-header-right .profile-images img { width: 26px; height: 26px; border-radius: 4px; }

.m-profile { position: relative; }
.m-profile .profile-img img { width: 26px; height: 26px; border-radius: 4px; }
.m-profile-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 150px; background: rgba(0,0,0,.92); border-top: 2px solid #e5e5e5;
    z-index: 100;
}
.m-profile-dropdown.open { display: block; }
.m-profile-dropdown ul li a {
    display: block; padding: 10px 14px; font-size: 13px; color: #b3b3b3;
    border-bottom: 1px solid #333;
}

/* =========================================
   MOBILE APP LAYOUT
   ========================================= */
#nflx-m-app { padding-bottom: var(--nf-btm); }
#nflx-m-wrapper { min-height: 100vh; padding-top: var(--nf-nav-h); }
#nflx-m-home { margin-top: calc(var(--nf-nav-h) * -1); }

/* =========================================
   MOBILE HOME
   ========================================= */
#nflx-m-home .nflx-hero {
    position: relative; width: 100%; height: 65vw;
    overflow: hidden; background: #000;
}
#nflx-m-home .hero-bg { position: absolute; inset: 0; }
#nflx-m-home .hero-bg .hero-poster { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
#nflx-m-home .hero-bg iframe { width: 100%; height: 100%; display: block; border: none; }
#nflx-m-home .hero-vignette-left {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(20,20,20,.7) 0%, transparent 60%);
    pointer-events: none;
}
#nflx-m-home .hero-vignette-bottom {
    position: absolute; bottom: -1px; left: 0; right: 0; height: 50%;
    background: linear-gradient(0deg, #141414, transparent); pointer-events: none; z-index: 2;
}
#nflx-m-home .hero-info {
    position: absolute; bottom: 12%; left: var(--nf-pad); right: var(--nf-pad);
    z-index: 5;
}
#nflx-m-home .hero-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; text-shadow: 1px 1px 4px rgba(0,0,0,.7); }
#nflx-m-home .hero-buttons { display: flex; gap: 8px; }
#nflx-m-home .hero-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; border-radius: 3px; font-size: 13px; font-weight: 600;
    border: none; cursor: pointer;
}
#nflx-m-home .hero-btn-play { background: #fff; color: #000; }
#nflx-m-home .hero-btn-info { background: rgba(109,109,110,.7); color: #fff; }
#nflx-m-home .hero-btn .iconify { font-size: 18px; }

/* Mobile rows */
.nflx-m-rows { position: relative; z-index: 3; margin-top: -20px; padding-bottom: 20px; }

.nflx-m-row { margin-bottom: 18px; overflow: hidden; }
.nflx-m-row .row-title {
    font-size: 15px; font-weight: 700; color: #e5e5e5;
    margin: 0 var(--nf-pad) 8px; line-height: 1.3;
}
.nflx-m-row .row-title a { color: #e5e5e5; }

.nflx-m-row .swiper { padding: 0 var(--nf-pad); overflow: visible; }
.nflx-m-row .swiper-wrapper { display: flex !important; }
.nflx-m-row .swiper-slide { width: 110px !important; flex-shrink: 0; }
/* Ensure swiper touch works */
.swiper { touch-action: pan-y; }
.swiper-wrapper { touch-action: pan-x pan-y; }

.nflx-m-card {
    display: block; border-radius: var(--nf-radius); overflow: hidden;
    background: var(--nf-dark);
}
.nflx-m-card .card-poster {
    width: 100%; padding-top: 133.33%; overflow: hidden; background: #222;
    position: relative;
}
.nflx-m-card .card-poster img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.nflx-m-card .card-poster .no-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #1a1a1a; color: #444; font-size: 24px; }
.nflx-m-card .card-poster .no-img {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: #1a1a1a; color: #444; font-size: 24px;
}
.nflx-m-card .card-info { padding: 6px 4px; }
.nflx-m-card .card-info strong {
    display: block; font-size: 11px; font-weight: 500; color: #b3b3b3;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nflx-m-card .card-rank {
    position: absolute; left: 3px; top: 3px; z-index: 5;
    min-width: 20px; height: 20px; padding: 0 4px;
    border-radius: 2px; background: var(--nf-red); color: #fff;
    font-size: 10px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}

/* =========================================
   MOBILE MOVIE CONTAINER / LIST
   ========================================= */
#movie-container { padding: 0; min-height: 100vh; }

#movie-container .movie-header {
    display: flex; align-items: center; gap: 8px;
    padding: 10px var(--nf-pad);
    background: var(--nf-black);
}
#movie-container .movie-header .prev { flex-shrink: 0; }
#movie-container .movie-header .prev .iconify { font-size: 24px; color: #fff; cursor: pointer; }
#movie-container .movie-header .subject h2 { font-size: 18px; font-weight: 700; }
#movie-container .movie-header .category { margin-left: auto; }

/* Filter */
.multi-nw-dropdown { position: relative; cursor: pointer; z-index: 20; }
.multi-select-point {
    display: flex; align-items: center; gap: 4px;
    padding: 5px 10px; font-size: 12px; color: #fff;
    border: 1px solid rgba(255,255,255,.5);
}
.multi-select-point .iconify { font-size: 14px; }
.multi-select-list {
    display: none; position: absolute; top: calc(100% + 2px); right: 0;
    min-width: 160px; background: rgba(0,0,0,.92); border-top: 2px solid #fff; z-index: 50;
}
.multi-nw-dropdown.open .multi-select-list { display: block; }
.multi-select-list .rows a {
    display: block; padding: 8px 14px; font-size: 12px; color: #b3b3b3;
    border-bottom: 1px solid #333;
}
.multi-select-list .rows.selected a span { color: #fff; font-weight: 700; }

/* Movie grid - 3 columns */
.movie-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px var(--nf-pad);
}
@media (min-width: 500px) { .movie-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) { .movie-list { grid-template-columns: repeat(5, 1fr); } }

.movie-list > li,
.nflx-list-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--nf-radius);
}
.movie-list .thumb {
    display: block;
    position: relative;
}
.movie-list .poster {
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 ratio */
    position: relative;
    overflow: hidden;
    background: #222;
}
.movie-list .poster img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.movie-list .poster .no-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: #1a1a1a; color: #444; gap: 4px;
}
.movie-list .poster .no-img .icon { font-size: 20px; }
.movie-list .poster .no-img .text { font-size: 9px; }
.movie-list .title,
.nflx-list-card .title { padding: 5px 4px 2px; }
.movie-list .title a,
.movie-list .title strong,
.nflx-list-card .title strong {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #b3b3b3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Paging */
.paging { display: flex; align-items: center; justify-content: center; gap: 2px; padding: 20px 0; }
.paging a, .paging strong {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px; height: 30px; padding: 0 6px; font-size: 12px; border-radius: 2px;
}
.paging a { color: #808080; }
.paging a:hover { color: #fff; background: #333; }
.paging strong { color: #fff; background: var(--nf-red); font-weight: 700; }

/* =========================================
   MOBILE MOVIE VIEW - Netflix Style
   ========================================= */
.movie-view { padding-top: 0; }
.movie-view .content-banner { display: none; }
.movie-view .nflx-banner-grid { display: none; }
.movie-player { width: 100%; background: #000; }
.movie-player iframe { display: block; width: 100%; height: 56.25vw; border: none; }

/* View info */
.nf-view-info { padding: 12px var(--nf-pad) 8px; }
.nf-view-title { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 6px; }
.nf-view-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #999; flex-wrap: wrap; }
.nf-match { color: #46d369; font-weight: 700; }

/* Action buttons */
.nf-view-actions {
    display: flex; padding: 8px var(--nf-pad);
    border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a;
}
.nf-action {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: #b3b3b3; font-size: 10px; text-decoration: none; padding: 6px 0;
    transition: color .2s;
}
.nf-action:active { color: #fff; }
.nf-action .iconify { font-size: 24px; }
.nf-action em { font-style: normal; margin-left: 2px; }

/* Synopsis */
.nf-view-synopsis { padding: 10px var(--nf-pad); }
.nf-synopsis-tags { margin-bottom: 6px; }
.nf-tag { display: inline-block; padding: 2px 8px; border-radius: 2px; background: #2a2a2a; color: #999; font-size: 11px; }
.nf-synopsis-text { font-size: 13px; color: #999; line-height: 1.6; }

/* Episodes */
.nf-view-episodes { padding: 8px var(--nf-pad) 16px; }
.nf-epi-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #2a2a2a; }
.nf-epi-header h2 { font-size: 17px; font-weight: 700; color: #fff; }
.nf-epi-search { position: relative; }
.nf-epi-search input { width: 140px; padding: 6px 28px 6px 10px; font-size: 12px; background: #2a2a2a; border: 1px solid #444; color: #fff; border-radius: 4px; }
.nf-epi-search input::placeholder { color: #666; }
.nf-epi-search .iconify { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 16px; color: #999; pointer-events: none; }

.nf-epi-list { }
.nf-epi-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #222;
    cursor: pointer; transition: background .15s;
}
.nf-epi-item:active { background: #2a2a2a; }
.nf-epi-item.active { background: #1e1e1e; }
.nf-epi-num { width: 24px; text-align: center; color: #666; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.nf-epi-item.active .nf-epi-num { color: var(--nf-red); }
.nf-epi-thumb {
    flex-shrink: 0; width: 110px; border-radius: 4px; overflow: hidden;
    position: relative;
}
.nf-epi-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.nf-epi-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.3);
    opacity: 0; transition: opacity .2s;
}
.nf-epi-item:hover .nf-epi-play,
.nf-epi-item.active .nf-epi-play { opacity: 1; }
.nf-epi-play .iconify { font-size: 32px; color: #fff; }
.nf-epi-info { flex: 1; min-width: 0; }
.nf-epi-info strong { display: block; font-size: 13px; font-weight: 500; color: #e5e5e5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-epi-item.active .nf-epi-info strong { color: #fff; font-weight: 700; }

/* Legacy classes (fallback) */
.movie-info h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.movie-info .info { font-size: 12px; color: #999; display: flex; gap: 8px; }
.movie-utility { display: flex; justify-content: space-around; padding: 10px var(--nf-pad); border-top: 1px solid #333; border-bottom: 1px solid #333; }
.movie-utility a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #b3b3b3; font-size: 10px; }
.movie-utility a .iconify { font-size: 24px; }
.movie-utility a em { font-style: normal; }
.movie-posted { padding: 12px var(--nf-pad); }
.movie-posted .summary h2 { font-size: 15px; font-weight: 700; }
.movie-posted .tag { padding: 2px 8px; border-radius: 2px; background: #333; color: #999; font-size: 11px; }
.movie-posted .overview { margin-top: 10px; line-height: 1.5; color: #999; font-size: 13px; }
.movie-episode-list li { display: flex; gap: 10px; padding: 10px 0; align-items: center; border-bottom: 1px solid #333; cursor: pointer; }
.movie-episode-list .thumb { flex-shrink: 0; width: 120px; border-radius: var(--nf-radius); overflow: hidden; }
.movie-episode-list .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.movie-episode-list .post-episode h2 span { color: #e5e5e5; }
.movie-episode-list .post-episode h2 span.active { color: var(--nf-red); }

/* =========================================
   BANNER
   ========================================= */
.nflx-banner-grid{display:grid;grid-template-columns:1fr;gap:6px;margin:10px 0}
@media(min-width:600px){.nflx-banner-grid{grid-template-columns:repeat(2,1fr)}}
.banner-grid-item{border-radius:var(--nf-radius);overflow:hidden;background:#222}
.banner-grid-item a{display:block;line-height:0}
.banner-grid-item img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:16/5}

/* Ad banner row */
.nflx-ad-row{margin-bottom:16px}
.nflx-ad-grid{display:grid;grid-template-columns:1fr;gap:6px;padding:0 var(--nf-pad)!important}
@media(min-width:600px){.nflx-ad-grid{grid-template-columns:repeat(2,1fr)}}
.ad-slot{border-radius:var(--nf-radius);overflow:hidden;background:#1a1a1a}
.ad-slot a{display:block;line-height:0}
.ad-slot img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:16/5}

#banner-container { padding: 4px var(--nf-pad) 0; }
#banner-container .logo img { height: 16px; }
#banner-container .nflx-banner-grid{margin:6px 0}

/* ===== MOBILE DETAIL MODAL ===== */
.nflx-m-detail{position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-end;justify-content:center}
.nfmd-bg{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:0}
.nfmd-sheet{position:relative;z-index:1;width:100%;max-height:90vh;background:#181818;border-radius:12px 12px 0 0;overflow-y:auto;box-shadow:0 -10px 40px rgba(0,0,0,.8);animation:nfmd-slide .3s ease}
@keyframes nfmd-slide{from{transform:translateY(100%)}to{transform:translateY(0)}}
.nfmd-close{position:absolute;top:10px;right:10px;z-index:10;width:32px;height:32px;border-radius:50%;background:rgba(24,24,24,.8);border:none;color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;line-height:1;padding:0}
.nfmd-hero{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#111}
.nfmd-hero img{width:100%;height:100%;object-fit:cover}
.nfmd-nimg{width:100%;height:100%;background:#222}
.nfmd-grad{position:absolute;bottom:0;left:0;right:0;height:50%;background:linear-gradient(transparent,#181818);pointer-events:none}
.nfmd-hinfo{position:absolute;bottom:12px;left:14px;z-index:2}
.nfmd-hinfo h2{font-size:20px;font-weight:700;color:#fff;text-shadow:1px 1px 4px rgba(0,0,0,.6)}
.nfmd-body{padding:14px}
.nfmd-meta{margin-bottom:10px;font-size:13px}
.nfmd-play{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:10px;background:#fff;color:#000;border-radius:4px;font-size:15px;font-weight:700;text-decoration:none;margin-bottom:12px}
.nfmd-play .iconify{font-size:22px}
.nfmd-actions{display:flex;justify-content:space-around;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #333}
.nfmd-act{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:none;color:#b3b3b3;font-size:10px;cursor:pointer}
.nfmd-act .iconify{font-size:24px}
.nfmd-act.active{color:#46d369}
.nfmd-synopsis{font-size:13px;line-height:1.6;color:#d2d2d2;margin-bottom:14px}
.nfmd-detail-link{display:flex;align-items:center;justify-content:center;gap:4px;padding:10px;border:1px solid #555;border-radius:4px;color:#fff;font-size:13px;text-decoration:none}
.nfmd-detail-link:hover{border-color:#fff}
.nfmd-epi-section{margin-top:14px}
.nfmd-epi-section h3{font-size:15px;font-weight:700;color:#fff;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #333}
.nfmd-epi-section h3 span{font-size:12px;font-weight:400;color:#999;margin-left:4px}
.nfmd-epi-list{display:flex;flex-direction:column}
.nfmd-epi-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #262626;text-decoration:none;color:#e5e5e5}
.nfmd-epi-n{width:20px;text-align:center;font-size:14px;color:#666;font-weight:600;flex-shrink:0}
.nfmd-epi-thumb{flex-shrink:0;width:90px;border-radius:4px;overflow:hidden;background:#333}
.nfmd-epi-thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.nfmd-epi-t{flex:1;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nfmd-epi-all{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;padding:12px;margin-top:8px;margin-bottom:5px;border:1px solid #444;border-radius:4px;background:transparent;color:#999;font-size:13px;cursor:pointer;text-decoration:none}
.nfmd-epi-all .iconify{font-size:18px}

/* ===== CATEGORY PAGE ===== */
#category { padding: 10px var(--nf-pad); }
.category-inner {}
.category-title { margin-bottom: 12px; }
.category-title h2 { font-size: 18px; font-weight: 700; color: #fff; }
.category-list { display: flex; flex-direction: column; gap: 2px; }
.category-list li a {
    display: flex; align-items: center; padding: 14px 16px;
    background: var(--nf-dark); border-radius: var(--nf-radius);
    color: #e5e5e5; font-size: 15px; text-decoration: none;
    transition: background .15s;
}
.category-list li a:active { background: #2a2a2a; }
.category-list li a span { flex: 1; }

/* ===== NICE-SELECT DARK OVERRIDE ===== */
.nice-select{background:#333!important;border:1px solid #555!important;color:#fff!important;height:auto!important;line-height:1.4!important;padding:10px 30px 10px 12px!important;border-radius:4px!important;float:none!important;display:block!important;font-size:13px!important}
.nice-select:after{border-color:#999!important}
.nice-select .current{display:flex;align-items:center;min-height:18px}
.nice-select .list{background:#2a2a2a!important;border:1px solid #444!important;border-radius:4px!important;margin-top:4px!important;box-shadow:0 4px 16px rgba(0,0,0,.5)!important}
.nice-select .option{padding:10px 12px!important;min-height:auto!important;line-height:1.4!important;color:#ccc!important;display:flex!important;align-items:center!important;font-size:13px!important}
.nice-select .option:hover{background:#444!important;color:#fff!important}
.nice-select .option.selected,.nice-select .option.focus{background:#444!important;color:#fff!important}

/* ===== ALERTIFY OVERRIDE ===== */
.alertify-logs,.alertify-notifier{position:fixed!important;top:60px!important;bottom:auto!important;right:10px!important;left:auto!important;z-index:99999!important}
.alertify-logs>*{padding:10px 18px!important;border-radius:4px!important;font-size:13px!important;background:rgba(30,30,30,.95)!important;color:#fff!important}
.alertify-logs>.success{background:rgba(20,80,40,.95)!important;border-left:4px solid #46d369!important}
.alertify-logs>.error{background:rgba(80,20,20,.95)!important;border-left:4px solid #e50914!important}

/* =========================================
   BOTTOM NAV  (Netflix mobile style)
   ========================================= */
.nflx-m-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    height: var(--nf-btm);
    background: #141414;
    border-top: 1px solid rgba(255,255,255,.1);
}
.nflx-m-nav .gnb { display: flex; height: 100%; }
.nflx-m-nav .nav-item { flex: 1; }
.nflx-m-nav .nav-item a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; gap: 2px;
    color: #808080; font-size: 9px; transition: color .2s;
}
.nflx-m-nav .nav-item a .iconify { font-size: 22px; }
.nflx-m-nav .nav-item a strong { font-weight: 400; }
.nflx-m-nav .nav-item.active a { color: #fff; }

/* =========================================
   FOOTER
   ========================================= */
.nflx-m-footer {
    padding: 16px var(--nf-pad) 8px;
    border-top: 1px solid #333; color: #808080;
}
.nflx-m-footer .footer-top { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.nflx-m-footer .footer-top a { font-size: 12px; color: #808080; }
.nflx-m-footer .copyright { margin-bottom: 4px; }
.nflx-m-footer .copyright p { font-size: 10px; color: #555; }
.nflx-m-footer .footer-util { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.nflx-m-footer .footer-util a { font-size: 10px; color: #555; }

/* =========================================
   GNUBOARD OVERRIDES
   ========================================= */
.tbl_head01 { width: 100%; border: none; }
.tbl_head01 thead th { background: #1a1a1a; color: #808080; font-size: 11px; padding: 8px; border-bottom: 1px solid #333; }
.tbl_head01 tbody td { padding: 8px; border-bottom: 1px solid #222; font-size: 12px; }
.tbl_head01 a { color: #e5e5e5; }
.btn_submit, .btn01 { padding: 8px 16px; font-size: 13px; background: var(--nf-red); color: #fff; border: none; border-radius: 4px; }
.btn_cancel, .btn02 { padding: 8px 16px; font-size: 13px; color: #b3b3b3; border: 1px solid #808080; border-radius: 4px; }
.frm_input { padding: 8px 10px; font-size: 13px; color: #fff; background: #333; border: 1px solid #555; width: 100%; }

/* Search page */
#search{padding:10px var(--nf-pad) 20px;min-height:60vh}
#search .search-form{margin-bottom:16px}
#search .search-form .input{position:relative}
#search .search-form .input-text{width:100%;padding:10px 14px;font-size:14px;background:#333;border:1px solid #555;color:#fff;border-radius:4px}
#search .search-form .input-text::placeholder{color:#777}
.search-popular .popular-header{margin-bottom:10px}
.search-popular .popular-header h2{font-size:16px;font-weight:700;color:#fff}
.search-popular .rows a{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #222;color:#e5e5e5;font-size:14px}
.search-popular .rows .rank{color:var(--nf-red);font-weight:700;width:20px;text-align:center}
.search-result .result-header{margin-bottom:12px}
.search-result .result-header h2{font-size:16px;font-weight:600;color:#fff}
.search-result .result-header h2 strong{color:var(--nf-red)}
.search-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;list-style:none}
.search-grid .poster{width:100%;padding-top:133.33%;overflow:hidden;border-radius:var(--nf-radius);background:#222;position:relative}
.search-grid .poster img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.search-grid .poster .no-img{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1a1a1a;color:#444}
.search-grid .title{padding:5px 2px 0}
.search-grid .title a{color:#b3b3b3;font-size:11px}
.search-grid .title strong{font-weight:400;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.no-result,.search-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:#999}
.no-result-icon{font-size:48px;color:#444;margin-bottom:16px}
.no-result p,.search-empty p{font-size:15px;color:#b3b3b3;margin-bottom:4px}
.no-result .sub{font-size:13px;color:#666}
