*{box-sizing:border-box}
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{margin:0;min-height:100vh;min-height:100dvh;background:#222;color:#d8d8d8;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 10px}
.page-progress{position:fixed;left:0;top:0;width:0;height:2px;background:#00d51c;z-index:80;opacity:0;transition:width .18s ease,opacity .25s ease}
.page-progress.loading{opacity:1}
.hy-head-menu{position:sticky;top:0;z-index:20;background:#2d2d2d;border-bottom:1px solid #2a2a2a;padding-top:max(0px,env(safe-area-inset-top))}
.hy-head-menu .item{display:flex;align-items:center;height:64px}
.search{display:flex;width:100%;height:34px;background:#454545;border-radius:2px;overflow:hidden}
.form-control{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#e8e8e8;padding:0 12px;font-size:13px}
.form-control::placeholder{color:#a6a6a6}
.btns{width:48px;border:0;background:#454545;color:#8a8a8a}
.btns:before{content:"⌕";font-size:24px;line-height:1}
.main{min-width:0;overflow-x:hidden;padding-top:10px;padding-bottom:calc(62px + env(safe-area-inset-bottom))}
.main>section{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
.hero{height:228px;margin-bottom:20px;background:#111;position:relative;overflow:hidden;touch-action:pan-y}
.hero:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,.08) 35%,rgba(0,0,0,.76))}
.hero-slide{position:absolute;inset:0;opacity:0;background:center/cover no-repeat;transition:opacity .45s ease;pointer-events:none}
.hero-slide.active{opacity:1}
.hero-title{position:absolute;left:0;right:0;bottom:32px;z-index:2;text-align:center;color:#fff;font-size:15px;text-shadow:0 1px 3px #000}
.hero-dots{position:absolute;left:0;right:0;bottom:13px;z-index:3;display:flex;justify-content:center;gap:7px}
.hero-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.48)}
.hero-dot.active{background:#00d51c}
.hy-layout{min-width:0;background:#2d2d2d;margin:0 -10px 10px;padding:10px}
.index-panel{padding-top:20px}
.hy-index-menu ul{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;list-style:none;margin:0;padding:0}
.hy-index-menu li{height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#424242;border:1px solid #535353;border-radius:3px;color:#cfd0d2;font-size:13px}
.hy-index-menu b{font-size:29px;line-height:1;color:#00d51c;font-weight:400}
.quick-types{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
.quick-types button{height:30px;border:1px solid #535353;border-radius:3px;background:#424242;color:#cfd0d2;font-size:13px}
.channel-tags{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.channel-tags button{height:30px;border:1px solid #535353;border-radius:3px;background:#424242;color:#cfd0d2;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.filter-caption{height:34px;line-height:34px;text-align:center;color:#8d8d8d;border-bottom:1px solid #3a3a3a;margin:-2px -10px 8px}
.filter-row{display:grid;grid-template-columns:64px 1fr;align-items:start;border-bottom:1px solid #3a3a3a;min-height:40px}
.filter-row>span{color:#878787;font-size:14px;line-height:40px}
.filter-row>div{display:flex;gap:18px;overflow-x:auto;padding:9px 0 8px}
.filter-row button,.filter-orders button{border:0;background:transparent;color:#8c8c8c;white-space:nowrap;font-size:14px;padding:0}
.filter-row button.active,.filter-orders button.active{color:#00d51c}
.filter-orders{display:flex;gap:28px;border-bottom:1px solid #3a3a3a;padding:10px 0 9px;margin-bottom:12px;overflow-x:auto}
.filter-orders button.active{border-bottom:2px solid #00d51c;padding-bottom:8px}
.filter-grid{padding-top:2px}
.filter-load-status{height:48px;display:flex;align-items:center;justify-content:center;color:#858585;font-size:12px}
.hy-video-head{display:flex;align-items:center;justify-content:space-between;height:32px;margin:2px 0 8px}
.hy-video-head h3{margin:0;color:#e7e7e7;font-size:16px;font-weight:500}
.hy-video-head span{color:#888;font-size:12px}
.green-dot{color:#00d51c;font-weight:700}
.video-grid{display:grid;width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-section+.home-section{margin-top:14px;padding-top:10px;border-top:1px solid #242424}
.channel-section+.channel-section{margin-top:14px;padding-top:10px;border-top:1px solid #242424}
.video-card{min-width:0}
.skeleton-grid{width:100%;min-width:0;overflow:hidden;contain:layout paint}
.skeleton-card{min-width:0;max-width:100%;overflow:hidden}
.skeleton-card div{aspect-ratio:2/3;background:#383838;position:relative;overflow:hidden}
.skeleton-card span,.skeleton-card em{display:block;height:12px;background:#383838;margin-top:8px}
.skeleton-card em{width:72%;height:10px;margin-left:auto;margin-right:auto}
.skeleton-card div:after,.skeleton-card span:after,.skeleton-card em:after{content:"";display:block;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);animation:skeleton 1.2s infinite}
@keyframes skeleton{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.videopic{position:relative;display:block;aspect-ratio:2/3;background:#151515 url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==") center/cover no-repeat;overflow:hidden}
.videopic img{width:100%;height:100%;object-fit:cover;display:block}
.videopic .play{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 52%,rgba(0,0,0,.72))}
.note,.score{position:absolute;height:20px;line-height:20px;padding:0 6px;color:#fff;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.score{left:0;top:0;background:#00d51c;font-weight:700}
.note{right:0;bottom:0;max-width:82%;background:rgba(0,0,0,.66)}
.title h5{margin:7px 0 0;color:#f5f5f5;font-size:13px;font-weight:400;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.subtitle{margin-top:2px;color:#888;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.breadcrumb{margin:0 -10px 10px;padding:10px;background:#303030;color:#d0d0d0;font-size:13px}
.hy-video-details .content{display:flex;gap:14px;margin:0}
.hy-video-details dt{width:132px;flex:0 0 132px;margin:0}
.hy-video-details dd{margin:0;min-width:0;flex:1}
.hy-video-details h1{margin:2px 0 10px;color:#fff;font-size:18px;font-weight:500;line-height:1.25}
.detail-meta{list-style:none;margin:0;padding:0;color:#d7d7d7;font-size:13px;line-height:1.85}
.detail-meta li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}
.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.detail-actions button{height:34px;border:1px solid #515151;border-radius:4px;background:#424242;color:#d7d7d7;font-size:13px;min-width:0;padding:0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.detail-actions button:last-child{background:#00c818;border-color:#00c818;color:#fff;font-weight:700}
.actor-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:0}
.actor-text{min-width:0;display:inline;word-break:keep-all}
.actor-text.collapsed{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.actor-toggle{flex:0 0 auto;margin-left:6px;border:0;background:transparent;color:#00d51c;font-size:13px;padding:0;line-height:1.85}
.text-muted{color:#929292}
.tabs{display:flex;gap:28px;border-bottom:1px solid #242424;margin:-2px 0 10px}
.tab{height:36px;line-height:36px;color:#d7d7d7;font-size:14px}
.tab.active{color:#00d51c;border-bottom:2px solid #00d51c}
.line-row{height:50px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #242424;color:#d7d7d7;font-size:14px}
.line-row span{color:#888}
.plot{max-height:9.5em;overflow:hidden;color:#d7d7d7;font-size:14px;line-height:1.85}
.plot.expanded{max-height:none}
.player-box{height:225px;background:#000;display:flex;align-items:center;justify-content:center;margin:0 -10px;position:relative}
.player-box video{width:100%;height:100%;background:#000}
.native-player-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#000;color:#888;font-size:13px}
.player-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#000;color:#bdbdbd;font-size:13px}
.spinner{width:34px;height:34px;border-radius:50%;border:3px solid rgba(0,213,28,.22);border-top-color:#00d51c;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.play-tools{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:9px 0}
.play-tools button{min-width:0;height:42px;border:1px solid #555;background:#444;color:#cfd0d2;border-radius:4px;padding:0;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center}
.player-fallback button{height:30px;border:1px solid #555;background:#444;color:#cfd0d2;border-radius:3px;padding:0 12px;font-size:13px}
.line-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px 0 10px}
.line-switcher button{height:36px;border:1px solid #515151;border-radius:4px;background:#424242;color:#d7d7d7;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.line-switcher button.active{border-color:#00c818;color:#00d51c}
.current-line{height:42px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #242424;border-bottom:1px solid #242424;color:#00d51c;font-size:14px}
.current-line span{color:#888}
.current-line .current-line-name{color:#00d51c;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.episode-sort{display:flex;align-items:center;flex:0 0 auto}
.episode-sort button{width:36px;height:36px;padding:0;border:0;background:transparent;color:#aaa;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;touch-action:manipulation}
.sort-arrow{display:block;opacity:.42}
.sort-arrow.down{margin-left:-4px}
.sort-arrow.active{opacity:1}
.playlist{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.episode{height:36px;border:1px solid #515151;border-radius:4px;background:#424242;color:#d7d7d7;font-size:13px}
.episode.primary{background:#00c818;border-color:#00c818;color:#fff;font-weight:700}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:calc(54px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#2d2d2d;border-top:1px solid #3b3b3b;display:grid;grid-template-columns:repeat(5,1fr);z-index:30}
.bottom-nav button{height:54px;border:0;background:transparent;color:#cfd0d2;display:grid;grid-template-rows:24px 16px;align-content:center;justify-items:center;row-gap:2px;padding:5px 0 4px;line-height:1}
.bottom-nav b{height:24px;line-height:24px;font-size:21px;font-weight:400;display:block}
.bottom-nav span{height:16px;line-height:16px;font-size:12px;display:block}
.pwa-install{position:fixed;right:12px;bottom:calc(66px + env(safe-area-inset-bottom));z-index:35;height:36px;padding:0 14px;border:0;border-radius:4px;background:#00c818;color:#fff;font-size:13px;font-weight:600;box-shadow:0 4px 16px rgba(0,0,0,.35)}
.pwa-sheet{position:fixed;inset:0;z-index:100}
.pwa-sheet-mask{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(0,0,0,.58)}
.pwa-sheet-panel{position:absolute;left:0;right:0;bottom:0;padding:10px 20px calc(18px + env(safe-area-inset-bottom));background:#303030;border-radius:8px 8px 0 0;text-align:center}
.pwa-sheet-handle{width:38px;height:4px;margin:0 auto 16px;border-radius:2px;background:#666}
.pwa-sheet h2{margin:0;color:#fff;font-size:18px;font-weight:600}
.pwa-sheet p{margin:12px 0 18px;color:#c7c7c7;font-size:14px;line-height:1.7}
.pwa-sheet-close{width:100%;height:42px;border:0;border-radius:4px;background:#00c818;color:#fff;font-size:15px}
.standalone .pwa-install{display:none!important}
.hidden{display:none!important}
.toast{position:fixed;left:24px;right:24px;bottom:70px;background:rgba(245,245,245,.96);color:#111;border-radius:24px;padding:14px 18px;text-align:center;z-index:50;font-size:14px}
.search-title{min-height:38px;display:flex;align-items:center;border-bottom:1px solid #242424;margin-bottom:10px;color:#d7d7d7;font-size:14px;line-height:1.6}
.search-panel,.search-results-panel{padding-left:18px;padding-right:18px}
.search-title button{margin-left:auto;min-width:48px;height:38px;padding:0 8px;border:0;background:transparent;color:#aaa;font-size:13px;position:relative;z-index:2;touch-action:manipulation}
.search-title strong{color:#00d51c;font-weight:500}
.search-hot-title{margin-top:14px}
.search-hot-title em{margin-left:auto;color:#777;font-size:12px;font-style:normal}
.search-chips{display:flex;gap:10px;flex-wrap:wrap;padding:4px 0}
.search-chips button{height:30px;border:1px solid #515151;border-radius:3px;background:#424242;color:#d7d7d7;padding:0 12px;font-size:13px}
.search-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 14px}
.search-tabs button{height:34px;border:1px solid #4d4d4d;border-radius:3px;background:#414141;color:#888;font-size:13px}
.search-tabs button.active{color:#00d51c}
.search-row{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #242424}
.search-pic{position:relative;width:130px;flex:0 0 130px;aspect-ratio:2/3;background:#151515;overflow:hidden}
.search-pic img{width:100%;height:100%;object-fit:cover;display:block}
.search-info{min-width:0;flex:1;padding-top:4px}
.search-info h3{margin:0 0 8px;color:#e7e7e7;font-size:20px;line-height:1.2;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-info p{margin:0 0 7px;color:#cfcfcf;font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-info p span{color:#8c8c8c}
.search-info .search-country-label{margin-left:16px}
.detail-link{margin-top:8px;color:#777;font-size:13px}
.message-panel{padding:4px 0 2px}
.message-panel h3{margin:0 0 8px;color:#e7e7e7;font-size:16px;font-weight:500}
.message-panel p{margin:0 0 12px;color:#9a9a9a;font-size:13px;line-height:1.7}
.message-panel input,.message-panel textarea,.message-panel select{width:100%;border:1px solid #515151;background:#424242;color:#eee;border-radius:3px;margin-bottom:10px;padding:10px;font-size:14px;outline:0}
.message-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.message-panel textarea{min-height:104px;resize:vertical;line-height:1.6}
.message-panel button{width:100%;height:40px;border:0;border-radius:4px;background:#00c818;color:#fff;font-weight:700}
.message-history{margin-top:16px;border-top:1px solid #242424;padding-top:12px}
.message-history-title{color:#e7e7e7;font-size:15px;margin-bottom:8px}
.message-empty{color:#888;font-size:13px;padding:8px 0}
.message-row{padding:10px 0;border-bottom:1px solid #242424}
.message-row strong{display:block;color:#e7e7e7;font-size:14px;line-height:1.35}
.message-row span{display:block;color:#888;font-size:12px;margin-top:4px}
.message-row p{margin:6px 0 0;color:#bdbdbd;font-size:13px;line-height:1.55}
.gbook-page{margin:0 -10px}
.gbook-page .hy-layout{margin-left:0;margin-right:0}
.gbook-item{display:grid;grid-template-columns:64px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #242424}
.gbook-num{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:54px;border-right:1px solid #3a3a3a}
.gbook-num em{color:#00d51c;font-style:normal;font-size:20px;line-height:1.1}
.gbook-num span{margin-top:5px;color:#888;font-size:11px}
.gbook-content{min-width:0}
.gbook-content p{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;color:#d7d7d7;font-size:14px}
.gbook-content strong{font-weight:600;color:#e8e8e8}
.gbook-content p span{color:#888;font-size:12px}
.gbook-msg{color:#d0d0d0;font-size:13px;line-height:1.75;word-break:break-word}
.gbook-msg .rebox{margin-bottom:8px;color:#9a9a9a}
.gbook-msg span{display:block;margin-top:8px;color:#00d51c}
.msg-separator{border:0;border-top:1px solid #3a3a3a;margin:8px 0}
.gbook-item.loading .gbook-num,.gbook-item.loading .gbook-content p,.gbook-item.loading .gbook-content div{background:#383838;min-height:16px;overflow:hidden}
.gbook-item.loading .gbook-num:after,.gbook-item.loading .gbook-content p:after,.gbook-item.loading .gbook-content div:after{content:"";display:block;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);animation:skeleton 1.2s infinite}
.hy-page{display:flex;gap:7px;flex-wrap:wrap;padding-top:12px}
.hy-page button{min-width:36px;height:30px;border:1px solid #515151;border-radius:3px;background:#424242;color:#cfd0d2;font-size:12px;padding:0 8px}
.hy-page button.active{border-color:#00c818;color:#00d51c}
.hy-page button:disabled{opacity:.45}
.hy-common-text{list-style:none;margin:0;padding:0}
.hy-common-text li{margin-bottom:10px}
.gbook-form textarea{resize:vertical;min-height:108px;line-height:1.6}
.gbook-actions{display:flex;gap:10px;align-items:center}
.gbook-actions input,.gbook-actions button{height:36px;border-radius:4px;font-size:13px}
.gbook-actions input{flex:1;border:1px solid #515151;background:#424242;color:#d7d7d7}
.gbook-actions button{flex:1;border:0;background:#f0ad4e;color:#111;font-weight:700}
.library-empty{padding:28px 0;color:#888;text-align:center;font-size:13px}
@media (max-width:420px){.gbook-item{grid-template-columns:1fr}.gbook-num{display:none}}
@media (min-width:700px){.video-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hy-video-details dt{width:180px;flex-basis:180px}.player-box{height:540px}}
@media (max-width:380px){.video-grid{gap:8px}.hy-video-details .content{gap:10px}.hy-video-details dt{width:128px;flex-basis:128px}}
