:root{--bg:#f9fafb;--surface:#ffffff;--surface2:#f0fdfa;--ink:#111827;--muted:#6b7280;--line:#e5e7eb;--accent:#0d9488;--accent2:#0f766e;--on:#ffffff;--soft:#ccfbf1;--r:18px;--maxw:1180px;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;min-width:320px;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:15px;line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
img,video{display:block;max-width:100%}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4,p,dl,dd,figure{margin:0}
h1,h2,h3,h4{line-height:1.3;letter-spacing:normal;font-weight:800}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mirror-raw{display:contents}
.app-shell{display:flex;flex-direction:column;min-height:100vh}
.app-shell main{flex:1 0 auto;width:100%}
.wrap{width:100%;max-width:var(--maxw);margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.is-filter-hide{display:none!important}
.site-header{position:sticky;top:0;z-index:60}
.main-nav{display:flex;align-items:center;gap:4px;min-width:0}
.main-nav a{white-space:nowrap}
.hd-tools{display:flex;align-items:center;flex:none;margin-left:auto}
.hd-search{position:relative;flex:0 0 256px;width:256px;height:38px;margin:0}
.hd-search input{width:100%;height:38px;padding:0 40px 0 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--ink);font-size:14px;outline:none;-webkit-appearance:none;appearance:none}
.hd-search button{position:absolute;top:4px;right:4px;width:30px;height:30px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:16px}
.hd-auth{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 16px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:700;white-space:nowrap}
.hd-search+.hd-auth{margin-left:20px}
.hd-auth+.hd-auth{margin-left:12px}
.hd-reg{background:var(--accent);border-color:var(--accent);color:var(--on)}
.hd-menu{display:none;flex:none;width:42px;height:40px;margin-left:auto;padding:0;border:1px solid var(--line);border-radius:10px;background:transparent;color:inherit;font-size:20px;line-height:1}
.mobile-panel{display:none}
@media (max-width:1023px){.main-nav,.hd-tools{display:none!important}
.hd-menu{display:grid;place-items:center}
.mobile-panel.is-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:calc(100vh - 58px);overflow-y:auto;padding:12px 16px 16px;border-top:1px solid var(--line);background:var(--surface);color:var(--ink)}}
.mobile-panel a{display:block;padding:10px 12px;border-radius:10px;background:var(--surface2);font-size:14px;text-align:center}
.mobile-panel a[aria-current=page],.mobile-panel .m-reg{background:var(--accent);color:var(--on)}
.m-search{display:flex;grid-column:1/-1;gap:8px;margin:0 0 4px}
.m-search input{flex:1 1 auto;min-width:0;height:42px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--ink);font-size:16px;-webkit-appearance:none;appearance:none}
.m-search button{flex:none;height:42px;padding:0 18px;border:0;border-radius:999px;background:var(--accent);color:var(--on);font-weight:700}
.sec{margin-top:36px}
.movie-card{position:relative;min-width:0}
.card-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;color:var(--muted);font-size:12px}
.card-link{display:none}
select[data-v2-chips]{display:none}
.player-stage{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;overflow:hidden;background:#000}
.player-stage video{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;background:#000}
.player-overlay{position:absolute;top:50%;left:50%;z-index:2;display:grid;place-items:center;width:72px;height:72px;margin:-36px 0 0 -36px;padding:0;border:0;border-radius:999px;background:var(--accent);color:var(--on);font-size:26px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.play-error{position:absolute;right:0;bottom:0;left:0;z-index:3;margin:0;padding:10px;background:rgba(0,0,0,.72);color:#fff;font-size:14px;text-align:center}
[data-v2-dots]{display:flex;gap:8px}
[data-v2-dots] button{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.45)}
[data-v2-dots] button.is-active{width:26px;background:#fff}
[data-v2-rail]{display:grid;grid-auto-flow:column;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
[data-v2-rail]::-webkit-scrollbar{display:none}
[data-v2-rail]>*{scroll-snap-align:start}
.page-shell{width:100%;max-width:var(--maxw);margin:0 auto;padding:20px 24px 0}
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--muted);font-size:13px}
.breadcrumb a{color:var(--accent)}
.page-shell>.page-hero{margin:14px 0 18px}
.page-shell>.page-hero h1{font-size:clamp(24px,3vw,34px)}
.page-shell>.page-hero p{margin-top:6px;color:var(--muted)}
.search-panel{display:flex;gap:10px;margin-bottom:22px}
.search-input{flex:1 1 auto;min-width:0;height:48px;padding:0 18px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:16px;outline:none;-webkit-appearance:none;appearance:none}
.search-input:focus{border-color:var(--accent)}
.primary-btn,.ghost-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 24px;border-radius:999px;font-weight:800;white-space:nowrap}
.primary-btn{border:0;background:var(--accent);color:var(--on)}
.ghost-btn{border:1px solid var(--line);background:transparent;color:var(--ink)}
.section-block{margin-bottom:24px}
.section-block>p{color:var(--muted)}
.section-block>p a{color:var(--accent);font-weight:700}
.content-card{padding:clamp(18px,3vw,32px);border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.about-copy h2{margin:26px 0 8px;font-size:20px}
.about-copy h2:first-child{margin-top:0}
.about-copy p{color:var(--muted);line-height:1.85}
.stack-actions-row{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.detail-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:8px}
.detail-info-grid>div{display:flex;gap:10px;padding:12px 14px;border-radius:10px;background:var(--surface2)}
.detail-info-grid>div>span{flex:none;color:var(--muted)}
.filter-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.filter-row a{display:inline-flex;align-items:center;height:36px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface2)}
.auth-page{display:grid;place-items:center;min-height:calc(100vh - 300px);padding:48px 16px}
.auth-form{display:grid;gap:14px;width:100%;max-width:400px;padding:30px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.auth-form h1{font-size:26px;text-align:center}
.auth-form__lead{color:var(--muted);font-size:14px;text-align:center}
.auth-form__field{display:grid;gap:6px;color:var(--muted);font-size:14px}
.auth-form__field input{height:44px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--ink);font-size:16px;outline:none;-webkit-appearance:none;appearance:none}
.auth-form button{height:46px;border:0;border-radius:10px;background:var(--accent);color:var(--on);font-size:16px;font-weight:800}
.auth-form__foot{color:var(--muted);font-size:14px;text-align:center}
.auth-form__foot a{color:var(--accent);font-weight:700}
.back-top{position:fixed;right:16px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:40;display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:999px;background:var(--accent);color:var(--on);box-shadow:0 8px 20px rgba(0,0,0,.25);opacity:0;visibility:hidden;transition:opacity .2s}
.back-top.show{opacity:1;visibility:visible}
.site-footer{margin-top:56px}
@supports not (aspect-ratio:1/1){.player-stage{height:0;padding-top:56.25%}}
@media (max-width:639px){.wrap,.page-shell{padding-left:14px;padding-right:14px}
.sec{margin-top:28px}
.movie-grid{gap:10px}
.search-panel .primary-btn{padding:0 18px}
.auth-form{padding:24px 18px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
:root{ --primary: #0d9488; --primary-dark: #0f766e; --primary-soft: #ccfbf1; --ink: #111827; --muted: #6b7280; --line: #e5e7eb; --paper: #ffffff; --soft: #f9fafb; --deep: #111827; --shadow: 0 20px 45px rgba(15, 23, 42, 0.12); }
*{ box-sizing: border-box; }
body{ margin: 0px; background: var(--soft); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
a{ color: inherit; text-decoration: none; }
img{ display: block; width: 100%; height: auto; }
.site-header{ position: fixed; inset: 0px 0px auto; z-index: 50; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid rgba(229, 231, 235, 0.8); box-shadow: rgba(15, 23, 42, 0.05) 0px 1px 10px; backdrop-filter: blur(14px); }
.nav-shell{ max-width: 1180px; height: 64px; margin: 0px auto; padding: 0px 20px; display: flex; align-items: center; justify-content: space-between; }
.brand, .footer-brand{ display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--ink); }
.brand-mark{ width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: rgb(255, 255, 255); font-size: 14px; box-shadow: rgba(13, 148, 136, 0.28) 0px 12px 25px; }
.desktop-nav{ display: flex; align-items: center; gap: 28px; }
.nav-link, .mobile-link{ color: rgb(55, 65, 81); font-weight: 650; transition: color 0.2s; }
.nav-link:hover, .nav-link.active, .mobile-link:hover, .mobile-link.active{ color: var(--primary); }
.menu-button{ width: 42px; height: 42px; display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 0px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgb(255, 255, 255); }
.menu-button span{ display: block; height: 2px; border-radius: 99px; background: rgb(75, 85, 99); }
.mobile-nav{ display: none; border-top: 1px solid var(--line); background: rgb(255, 255, 255); padding: 10px 20px 16px; }
.mobile-link{ display: block; padding: 10px 0px; }
.hero-carousel{ position: relative; max-width: 1180px; height: 70vh; min-height: 540px; margin: 88px auto 40px; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); background: rgb(15, 23, 42); }
.hero-slide{ position: absolute; inset: 0px; opacity: 0; transform: scale(1.03); transition: opacity 0.8s, transform 1.2s; pointer-events: none; }
.hero-slide.active{ opacity: 1; transform: scale(1); pointer-events: auto; }
.hero-bg, .hero-overlay{ position: absolute; inset: 0px; }
.hero-bg{ background-position: center center; background-size: cover; filter: saturate(1.08); }
.hero-overlay{ background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08)); }
.hero-content{ position: relative; z-index: 2; width: min(720px, 88%); height: 100%; display: flex; flex-direction: column; justify-content: center; padding-left: clamp(28px, 7vw, 84px); color: rgb(255, 255, 255); }
.hero-pill, .eyebrow{ display: inline-flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 184, 166, 0.92); color: rgb(255, 255, 255); font-size: 14px; font-weight: 700; }
.eyebrow{ background: var(--primary-soft); color: var(--primary-dark); }
.hero-content h1{ margin: 0px 0px 18px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; font-weight: 900; letter-spacing: -0.04em; }
.hero-content p{ max-width: 680px; margin: 0px 0px 32px; color: rgb(229, 231, 235); font-size: clamp(17px, 2vw, 22px); line-height: 1.75; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; }
.primary-button, .ghost-button, .section-link, .panel-more, .category-title a, .back-link{ display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0px 20px; border-radius: 12px; font-weight: 800; }
.primary-button{ background: var(--primary); color: rgb(255, 255, 255); box-shadow: rgba(13, 148, 136, 0.26) 0px 14px 30px; transition: background 0.2s, transform 0.2s; }
.primary-button:hover{ background: var(--primary-dark); transform: translateY(-1px); }
.primary-button.full{ width: 100%; }
.ghost-button{ border: 1px solid rgba(255, 255, 255, 0.45); color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); }
.hero-arrow{ position: absolute; z-index: 4; top: 50%; width: 46px; height: 46px; border: 0px; border-radius: 999px; color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(12px); font-size: 34px; line-height: 1; transform: translateY(-50%); }
.hero-arrow.prev{ left: 18px; }
.hero-arrow.next{ right: 18px; }
.hero-dots{ position: absolute; z-index: 4; left: 50%; bottom: 22px; display: flex; gap: 9px; transform: translateX(-50%); }
.hero-dot{ width: 10px; height: 10px; border: 0px; border-radius: 999px; background: rgba(255, 255, 255, 0.52); }
.hero-dot.active{ width: 28px; background: rgb(255, 255, 255); }
.page-shell{ max-width: 1180px; margin: 0px auto; padding: 0px 20px 56px; }
.home-shell{ padding-bottom: 72px; }
.content-section{ margin: 0px 0px 54px; }
.section-heading{ display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2{ margin: 0px; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.03em; }
.section-link, .panel-more, .category-title a, .back-link{ color: var(--primary-dark); background: rgb(255, 255, 255); border: 1px solid var(--line); }
.movie-grid{ display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 22px; }
.movie-card{ overflow: hidden; border-radius: 18px; background: rgb(255, 255, 255); box-shadow: rgba(15, 23, 42, 0.08) 0px 10px 30px; transition: transform 0.25s, box-shadow 0.25s; }
.movie-card:hover{ transform: translateY(-5px); box-shadow: rgba(15, 23, 42, 0.14) 0px 22px 45px; }
.poster-wrap{ position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(135deg, rgb(15, 118, 110), rgb(17, 24, 39)); }
.poster-wrap img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.movie-card:hover .poster-wrap img, .channel-card:hover img{ transform: scale(1.06); }
.type-badge{ position: absolute; z-index: 2; border-radius: 999px; color: rgb(255, 255, 255); font-size: 12px; font-weight: 800; }
.type-badge{ right: 12px; top: 12px; padding: 5px 10px; background: rgba(13, 148, 136, 0.92); }
.card-content{ padding: 16px; }
.card-meta, .detail-meta{ display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.card-meta span, .detail-meta span, .detail-meta a{ padding: 4px 9px; border-radius: 999px; background: rgb(243, 244, 246); }
.movie-card h3{ margin: 12px 0px 8px; color: var(--ink); font-size: 18px; line-height: 1.35; }
.movie-card p{ min-height: 48px; margin: 0px 0px 13px; color: rgb(75, 85, 99); font-size: 14px; line-height: 1.65; }
.tag-row{ display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span{ padding: 4px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 12px; font-weight: 700; }
.tag-row.large span{ padding: 6px 11px; font-size: 13px; }
.split-grid{ display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; }
.channel-grid{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 18px; }
.channel-card{ position: relative; min-height: 180px; overflow: hidden; border-radius: 20px; background: rgb(17, 24, 39); color: rgb(255, 255, 255); box-shadow: var(--shadow); }
.channel-card img{ position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 0.45s; }
.channel-card div{ position: absolute; inset: auto 0px 0px; padding: 22px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent); }
.channel-card span, .channel-card strong{ display: block; }
.channel-card span{ font-size: 24px; font-weight: 900; }
.channel-card strong{ margin: 4px 0px; color: rgb(153, 246, 228); font-size: 18px; }
.channel-card p{ margin: 0px; color: rgb(229, 231, 235); line-height: 1.6; }
.ranking-panel, .category-block, .search-panel, .detail-card, .side-panel, .player-card{ border-radius: 22px; background: rgb(255, 255, 255); box-shadow: rgba(15, 23, 42, 0.08) 0px 12px 35px; }
.ranking-panel{ padding: 22px; }
.ranking-panel h3, .side-panel h2{ margin: 0px 0px 16px; font-size: 24px; }
.rank-row{ display: grid; grid-template-columns: 30px 54px 1fr auto; align-items: center; gap: 12px; padding: 11px 0px; border-bottom: 1px solid var(--line); }
.rank-row:last-child{ border-bottom: 0px; }
.rank-row span{ color: var(--primary-dark); font-weight: 900; }
.rank-row img{ width: 54px; height: 68px; border-radius: 10px; object-fit: cover; }
.rank-row strong{ line-height: 1.45; }
.rank-row em{ color: var(--muted); font-style: normal; font-size: 13px; }
.panel-more{ width: 100%; margin-top: 18px; }
.page-hero{ max-width: 1180px; margin: 88px auto 34px; padding: 56px clamp(24px, 5vw, 58px); border-radius: 28px; background: linear-gradient(135deg, rgb(236, 254, 255), rgb(255, 255, 255) 42%, rgb(204, 251, 241)); box-shadow: var(--shadow); }
.page-hero h1{ max-width: 820px; margin: 0px 0px 14px; font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.04em; }
.page-hero p{ max-width: 760px; margin: 0px; color: rgb(75, 85, 99); font-size: 18px; line-height: 1.8; }
.category-list{ display: grid; gap: 24px; }
.category-block{ padding: 24px; }
.category-title{ display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.category-title h2{ margin: 0px 0px 8px; font-size: 28px; }
.category-title p{ margin: 0px; color: var(--muted); }
.mini-grid{ display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 16px; }
.movie-card.compact h3{ font-size: 16px; }
.movie-card.compact p{ display: none; }
.ranking-list{ display: grid; gap: 14px; }
.ranking-card{ display: grid; grid-template-columns: 56px 96px 1fr; align-items: center; gap: 18px; padding: 16px; border-radius: 20px; background: rgb(255, 255, 255); box-shadow: rgba(15, 23, 42, 0.07) 0px 10px 26px; }
.ranking-number{ width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--primary); color: rgb(255, 255, 255); font-weight: 900; }
.ranking-card img{ width: 96px; height: 120px; border-radius: 14px; object-fit: cover; }
.ranking-card h2{ margin: 0px 0px 8px; font-size: 23px; }
.ranking-card p{ margin: 0px 0px 12px; color: rgb(75, 85, 99); line-height: 1.7; }
.search-controls{ display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 14px; padding: 22px; border-bottom: 1px solid var(--line); }
.search-controls input, .search-controls select{ width: 100%; min-height: 48px; padding: 0px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgb(255, 255, 255); color: var(--ink); outline: none; }
.search-controls input:focus, .search-controls select:focus{ border-color: var(--primary); box-shadow: rgba(13, 148, 136, 0.13) 0px 0px 0px 4px; }
.search-result-title{ display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; }
.search-result-title h2{ margin: 0px; }
.search-result-title span{ color: var(--primary-dark); font-weight: 800; }
.search-panel .movie-grid{ padding: 0px 22px 24px; }
.detail-shell{ max-width: 1180px; margin: 88px auto 0px; padding: 0px 20px 60px; }
.back-link{ margin-bottom: 18px; }
.detail-grid{ display: grid; grid-template-columns: minmax(0px, 1fr) 320px; gap: 28px; align-items: start; }
.player-card{ overflow: hidden; margin-bottom: 22px; background: rgb(0, 0, 0); }
.video-frame{ position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: rgb(0, 0, 0); }
.detail-card{ padding: 28px; }
.detail-card h1{ margin: 18px 0px 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -0.035em; }
.lead-line{ margin: 0px 0px 20px; padding: 18px; border-left: 4px solid var(--primary); border-radius: 12px; background: rgb(240, 253, 250); color: rgb(19, 78, 74); font-weight: 800; line-height: 1.7; }
.prose-content{ margin-top: 28px; }
.prose-content h2{ margin: 28px 0px 10px; font-size: 24px; }
.prose-content p{ margin: 0px; color: rgb(55, 65, 81); line-height: 1.9; font-size: 17px; white-space: pre-line; }
.related-section{ margin-top: 28px; }
.detail-side{ position: sticky; top: 88px; display: grid; gap: 18px; }
.side-panel{ padding: 18px; }
.cover-panel img{ aspect-ratio: 3 / 4; margin-bottom: 16px; border-radius: 16px; object-fit: cover; }
.side-rank{ display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 12px; padding: 10px 0px; border-bottom: 1px solid var(--line); }
.side-rank:last-child{ border-bottom: 0px; }
.side-rank img{ width: 54px; height: 68px; border-radius: 10px; object-fit: cover; }
.side-rank span{ font-weight: 750; line-height: 1.45; }
.site-footer{ background: var(--deep); color: rgb(209, 213, 219); }
.footer-inner{ max-width: 1180px; margin: 0px auto; padding: 46px 20px 28px; }
.footer-grid{ display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-brand{ color: rgb(255, 255, 255); margin-bottom: 14px; }
.site-footer p{ margin: 0px; color: rgb(156, 163, 175); line-height: 1.8; }
.site-footer h2{ margin: 0px 0px 14px; color: rgb(255, 255, 255); font-size: 17px; }
.site-footer ul{ margin: 0px; padding: 0px; list-style: none; }
.site-footer li{ margin-bottom: 9px; }
.site-footer a:hover{ color: rgb(94, 234, 212); }
.footer-bottom{ margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgb(156, 163, 175); text-align: center; }
@media (max-width: 980px){.desktop-nav{ display: none; }
.menu-button{ display: flex; }
.mobile-nav.open{ display: block; }
.hero-carousel{ height: 62vh; min-height: 480px; margin: 80px 14px 34px; border-radius: 22px; }
.movie-grid, .mini-grid{ grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.split-grid, .detail-grid, .footer-grid{ grid-template-columns: 1fr; }
.detail-side{ position: static; }
.search-controls{ grid-template-columns: 1fr 1fr; }}
@media (max-width: 640px){.nav-shell{ padding: 0px 14px; }
.brand{ font-size: 18px; }
.hero-carousel{ min-height: 520px; }
.hero-content{ width: 100%; padding: 28px; }
.hero-content h1{ font-size: 38px; }
.hero-arrow{ display: none; }
.section-heading, .category-title, .search-result-title{ align-items: flex-start; flex-direction: column; }
.page-hero, .detail-shell{ margin-top: 80px; }
.movie-grid, .mini-grid, .channel-grid, .search-controls{ grid-template-columns: 1fr; }
.ranking-card{ grid-template-columns: 44px 76px 1fr; gap: 12px; }
.ranking-card img{ width: 76px; height: 96px; }
.detail-card{ padding: 20px; }}
.site-header{position:sticky;top:0;-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(255,255,255,.98)}
.nav-shell{justify-content:flex-start}
.desktop-nav{margin-left:auto;margin-right:26px;white-space:nowrap}
.hd-tools{gap:0;margin-left:0}
.hd-search input{height:40px;border-color:var(--line);background:#fff;color:var(--ink)}
.hd-search input:focus{border-color:var(--primary)}
.hd-search button{color:var(--primary-dark)}
.hd-auth{height:40px;border-color:var(--line);background:#fff;color:#374151;font-weight:800}
.hd-reg{border:0;background:var(--primary);color:#fff}
.menu-button.hd-menu{margin-left:auto}
.menu-button span{width:20px}
.mobile-nav .m-search{display:flex;gap:8px;margin-bottom:6px}
.mobile-nav .m-search input{flex:1;min-width:0;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:16px;-webkit-appearance:none;appearance:none}
.mobile-nav .m-search button{height:44px;padding:0 18px;border:0;border-radius:12px;background:var(--primary);color:#fff;font-weight:800}
.hero-carousel{margin:24px auto 40px}
.hero-carousel [data-v2-rotate]{position:absolute;inset:0}
.hero-slide.is-active{opacity:1;transform:scale(1);pointer-events:auto}
.hero-content h2.hero-title{margin:0 0 18px;font-size:clamp(40px,6vw,72px);line-height:1.02;font-weight:900;letter-spacing:normal}
.hero-dots button{width:10px;height:10px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.52);cursor:pointer;transition:width .2s}
.hero-dots button.is-active{width:28px;background:#fff}
.section-heading h1{margin:0;font-size:clamp(26px,3vw,38px);line-height:1.15}
.section-sub{margin:6px 0 0;color:var(--muted);font-size:15px;line-height:1.5}
.section-heading h2,.page-hero h1,.detail-card h1{letter-spacing:normal}
.movie-card .card-link{display:block}
.movie-card:hover .poster-wrap img,.channel-card:hover img{transform:none}
.movie-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cm-score{color:#b45309}
.page-hero{margin:24px auto 34px}
.cat-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.cs-stat{display:inline-flex;align-items:baseline;gap:6px;padding:7px 14px;border-radius:999px;color:var(--primary-dark);background:#fff;font-size:13px;font-weight:800;box-shadow:0 6px 16px rgba(15,23,42,.06)}
.cs-stat b{font-size:18px}
.cat-panel{display:block;border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(15,23,42,.08)}
.cat-panel .movie-grid{padding:0 22px 24px}
.search-controls{grid-template-columns:1.8fr 1fr 1fr}
.cat-pick{padding:18px 22px 0}
.cs-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 11px;border:0;border-radius:999px;background:var(--primary-soft);color:var(--primary-dark);font-size:13px;font-weight:700;cursor:pointer;transition:background .2s,color .2s}
.cs-chip em{font-style:normal;opacity:.7}
.cs-chip:hover{background:#99f6e4}
.cs-chip.on{background:var(--primary);color:#fff}
.search-result-title b{font-size:20px}
.detail-shell{margin-top:24px}
.detail-main{min-width:0}
.video-frame .player-stage{position:absolute;inset:0}
.side-rank span small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:600}
.ranking-card h2{letter-spacing:normal}
main>.breadcrumb{max-width:1180px;margin:24px auto 0;padding:0 20px}
.content-card,.auth-form{border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(15,23,42,.08)}
.auth-form h1{color:var(--ink)}
.auth-form__field input{border-color:var(--line);border-radius:12px}
.auth-form__field input:focus{border-color:var(--primary)}
.auth-form button{border-radius:12px;background:var(--primary);color:#fff}
.auth-form__foot a{color:var(--primary-dark)}
@media (min-width:1024px){.desktop-nav{display:flex}
.menu-button.hd-menu{display:none}}
@media (max-width:1023px){.desktop-nav{display:none}
.menu-button.hd-menu{display:flex}
.hero-carousel{margin:16px 14px 34px}
.page-hero{margin:16px 14px 28px}
.detail-shell{margin-top:16px}}
@media (max-width:980px){.movie-grid,.mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.movie-grid,.mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.channel-card{min-height:140px}
.channel-card p{display:none}
.channel-card span{font-size:19px}
.card-content{padding:12px}
.movie-card h3{font-size:15px}
.movie-card p,.movie-card .tag-row{display:none}
.card-meta{gap:4px;font-size:12px}
.search-controls{grid-template-columns:1fr}
.cat-pick{padding:14px 16px 0}
.cat-panel .movie-grid{padding:0 12px 16px}}
.brand-mark{display:inline-grid;place-items:center}
.brand{white-space:nowrap;flex:none}
.hd-search button{display:inline-grid;place-items:center;padding:0}
.hero-arrow{place-items:center;padding:0;font-size:0}
@media (min-width:641px){.hero-arrow{display:inline-grid}
.hero-content{padding-left:clamp(80px,7vw,96px)}}
.mobile-nav.is-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:calc(100vh - 64px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:12px 16px 16px;background:#fff}
.mobile-nav .m-search{grid-column:1/-1}
.mobile-nav .mobile-link{padding:10px 12px;border-radius:10px;background:var(--soft);color:#374151;font-size:14px;text-align:center}
.mobile-nav a[aria-current=page]{color:var(--primary-dark);background:var(--primary-soft);box-shadow:inset 0 0 0 1px rgba(13,148,136,.4)}
.mobile-nav .m-reg{background:var(--primary-dark);color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--primary-dark,#0f766e);outline-offset:2px}
.section-heading>div,.category-title>div{min-width:0}
.section-link,.category-title>a{flex:none;white-space:nowrap}
.rank-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ranking-card>div{min-width:0}
.ranking-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:980px){.search-controls{grid-template-columns:1fr 1fr}
.search-controls input{grid-column:1/-1}
.cover-panel{display:none}}
@media (min-width:641px) and (max-width:980px){.home-shell .movie-grid>:nth-child(n+7),.related-section .mini-grid>:nth-child(n+7){display:none}
.category-block .mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:640px){.section-heading,.category-title,.search-result-title{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:12px}
.section-heading h2{font-size:22px}
.section-heading h1{font-size:20px}
.section-sub{font-size:13px}
.category-title h2{font-size:22px}
.category-title p{display:none}
.search-controls{grid-template-columns:1fr 1fr;gap:10px;padding:14px}
.search-controls input{grid-column:1/-1}
.ranking-card{grid-template-columns:32px 64px minmax(0,1fr);gap:10px;padding:10px}
.ranking-number{width:32px;height:32px;font-size:14px}
.ranking-card img{width:64px;height:86px}
.ranking-card h2{font-size:17px;margin-bottom:4px}
.ranking-card p{font-size:13px;margin-bottom:6px}
.category-block{padding:16px}
.ranking-panel{padding:16px}
.page-hero h1{font-size:30px}}
/* c21-compat */
a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
select.f-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:32px}
img{-webkit-user-drag:none}
.site-header{position:-webkit-sticky;position:sticky}
[data-v2-rail],[data-chips],.v2-pick{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
a,button{touch-action:manipulation}
@media print{.site-header,.site-footer,.mobile-panel,video{display:none!important}body{background:#fff!important}}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{border:2px solid #f9fafb;border-radius:10px;background:#14b8a6}::-webkit-scrollbar-track{background:#f9fafb}html{scrollbar-color:#14b8a6 #f9fafb}
/* c21-compat-end */
