/* DR017 - Cyber Neon Dark Theme | yh- namespace */
*{margin:0;padding:0;box-sizing:border-box;outline:none;border:none;-webkit-tap-highlight-color:transparent}
html,body{width:100%;color:#f0f0f0;background:#111827;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,'PingFang TC','Noto Sans TC','Microsoft YaHei',system-ui,sans-serif;line-height:1.6}
ul{list-style:none}
a{text-decoration:none;color:#f0f0f0;transition:color .2s}
a:hover{color:#fff}
img{max-width:100%;vertical-align:middle;border-radius:4px}
/* Layout */
.yh-wrap{width:70vw;margin:0 auto;position:relative}
/* Header */
.yh-header{margin-top:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:14px 0;border-bottom:1px solid rgba(0,212,255,.12)}
.yh-logo{display:flex;align-items:center;text-decoration:none}
.yh-logo-btn{background:#00d4ff;padding:2px 6px;border-radius:4px;font-size:30px;font-weight:700;color:#fff;line-height:1.2}
.yh-logo-txt{font-size:30px;font-weight:700;color:#fff;margin-left:2px;line-height:1.2}
.yh-header-right{display:flex;align-items:center;gap:8px}
.yh-header-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#00d4ff;color:#f0f0f0;border-radius:12px;font-size:18px;transition:background .2s;cursor:pointer}
.yh-header-icon:hover{background:rgba(0,212,255,.8);color:#fff}
.yh-header-icon svg{width:18px;height:18px;fill:currentColor}
/* Search bar (inline in header) */
.yh-search{display:flex;height:36px;line-height:36px;flex:1;max-width:500px;margin:0 16px}
.yh-search-mode{padding:0 8px;background:#00d4ff;color:#fff;font-size:12px;font-weight:600;border:1px solid #00d4ff;border-right:none;border-radius:3px 0 0 3px;cursor:pointer;height:100%;outline:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center;padding-right:18px}
.yh-search-mode option{background:#222;color:#f0f0f0}
.yh-search-input{padding:0 .5em;background:#f0f0f0;color:#000;flex:1;border:1px solid #00d4ff;border-left:none;border-right:none;font-size:14px;height:100%}
.yh-search-btn{background:#00d4ff;color:#f0f0f0;width:4em;cursor:pointer;border-radius:0 3px 3px 0;font-size:14px;height:100%;display:flex;align-items:center;justify-content:center;transition:background .2s}
.yh-search-btn:hover{background:rgba(0,212,255,.8);color:#fff}
.yh-search-btn svg{width:16px;height:16px;fill:currentColor}
/* Header link (register) */
.yh-header-link{display:inline-flex;align-items:center;padding:0 12px;height:36px;background:#00d4ff;color:#fff;border-radius:12px;font-size:13px;font-weight:600;transition:background .2s}
.yh-header-link:hover{background:rgba(0,212,255,.8);color:#fff}
/* Announce bar */
.yh-announce{padding:10px 20px;text-align:center;font-size:13px}
.yh-announce a{color:#c084fc;font-weight:600}
/* Ad bar */
.yh-adbar{width:100%;overflow:hidden;display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
.yh-adbar a{min-width:calc(12.5% - 5px);border-radius:2px;line-height:35px;text-align:center;font-size:14px;color:#fff;background:#00d4ff;transition:opacity .3s;padding:0 16px}
.yh-adbar a:hover{opacity:.8}
/* Resource tabs */
.yh-tabs{width:100%;border-bottom:1px solid rgba(0,212,255,.2);padding:10px 0}
.yh-tabs ul{display:flex;flex-wrap:wrap;gap:4px}
.yh-tabs li{user-select:none;cursor:pointer}
.yh-tabs li a{color:#b0b0b0;display:block;padding:6px 14px;font-size:14px;border-radius:4px;transition:all .2s}
.yh-tabs li a:hover{background:rgba(0,212,255,.12);color:#e0e0e0}
.yh-tabs li.active a{color:#fff;background:rgba(0,212,255,.9);box-shadow:0 0 12px rgba(0,212,255,.2)}
/* Type / Category nav */
.yh-type{width:100%;min-height:3em;border-top:1px solid rgba(0,212,255,.1);border-bottom:1px solid rgba(240,240,240,.06);padding:8px 0}
.yh-type ul{width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start;gap:4px;padding:4px 0}
.yh-type li{display:inline-block}
.yh-type li span{font-size:14px;color:#f0f0f0;line-height:2em;padding:0 .5em;display:block}
.yh-type li a{font-size:14px;color:#f0f0f0;border-radius:3px;display:block;line-height:2em;padding:0 .5em;transition:all .2s}
.yh-type li a:hover,.yh-type li.active a{color:#000;background:#fff}
/* Video grid */
.yh-grid{display:flex;flex-flow:row wrap;justify-content:flex-start;margin-top:.5em}
.yh-card{float:left;margin:.5vw;margin-bottom:.5em;border-radius:4px;width:calc(70vw / 5 - 1vw)}
.yh-card a{overflow:hidden;color:#f0f0f0;display:block;border-radius:6px;padding-bottom:.5em;transition:all .25s ease;border:1px solid rgba(0,212,255,.06)}
.yh-card a:hover{background:rgba(0,212,255,.06);border-color:rgba(0,212,255,.2);box-shadow:0 0 20px rgba(0,212,255,.08)}
.yh-card img{border-radius:4px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9;object-fit:cover}
.yh-card-title{display:block;margin-top:.4em;padding:0 6px;width:100%;line-height:1.5em;font-weight:400;word-break:break-all;text-overflow:ellipsis;font-size:14px;height:3em;overflow:hidden;color:#d4d4d4}
.yh-card-time{font-size:10px;height:1.5em;line-height:1.5em;text-align:right;background:rgba(0,0,0,.3);color:#f5f5f5;float:right;position:relative;margin:-1.75em .25em 0 0;padding:0 .25em;border-radius:4px}
/* State / no data */
.yh-nodata{text-align:center;width:100%;margin-bottom:.5em;font-weight:700;padding:40px 0;color:#888}
/* Pagination */
.yh-pager{width:100%;border-top:1px solid #00d4ff;padding-top:.5em;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px}
.yh-pager a{font-size:14px;color:#b0b0b0;display:block;padding:.3em .6em;text-align:center;min-width:2.5em;max-width:5em;overflow:hidden;text-overflow:ellipsis;border-radius:4px;transition:all .2s;border:1px solid transparent}
.yh-pager a:hover{background:rgba(0,212,255,.12);color:#fff;border-color:rgba(0,212,255,.2)}
.yh-pager .active{background:rgba(0,212,255,.9);color:#fff;box-shadow:0 0 12px rgba(0,212,255,.15)}
.yh-pager .disabled{color:#666;padding:.2em .5em;font-size:14px}
.yh-page-info{font-size:13px;color:#cecece;padding:.2em .5em}
.yh-page-input{max-width:3em;padding:2px;outline:none;height:1.2em;text-align:center;line-height:1.2em;caret-color:#00d4ff;border-radius:3px;background:#f0f0f0;color:#000;font-size:13px}
.yh-page-go{font-size:13px;padding:2px 6px;background:#00d4ff;border-radius:3px;color:#f0f0f0;cursor:pointer;transition:background .2s}
.yh-page-go:hover{background:rgba(0,212,255,.8)}
/* Back to top */
.yh-backtop{display:none;position:fixed;z-index:999;background:rgba(100,100,100,.6);color:#f0f0f0;cursor:pointer;width:36px;height:36px;line-height:36px;font-size:20px;border-radius:3px;text-align:center;right:calc(15vw - 2em);bottom:10vh;transition:background .2s}
.yh-backtop:hover{background:rgba(0,212,255,.8)}
/* Footer */
.yh-footer{margin-top:60px;text-align:center;color:#808080;font-size:12px;line-height:2em;padding:24px 0 3em;border-top:1px solid rgba(0,212,255,.08)}
.yh-footer a{margin:.5em;display:inline-block;color:#cecece}
.yh-footer a:hover{color:#fff}
/* Player */
.yh-player-wrap{width:100%;border-radius:5px;overflow:hidden}
.yh-player{width:100%;border-radius:5px;overflow:hidden;aspect-ratio:16/9}
.yh-player iframe,.yh-player video{width:100%;height:100%;display:block}
.yh-player-sidebar{display:none}
.yh-play-title{font-size:1.3em;line-height:2em;border-bottom:1px solid #00d4ff;margin-bottom:.5em;color:#f0f0f0}
/* Play list / episodes */
.yh-playlist{display:flex;flex-wrap:wrap;gap:4px}
.yh-playlist a{background:rgba(50,50,50,.5);color:#f0f0f0;padding:4px 10px;border-radius:3px;font-size:13px;transition:all .2s}
.yh-playlist a:hover,.yh-playlist a.active{background:#00d4ff;color:#fff}
/* Breadcrumb */
.yh-breadcrumb{font-size:12px;color:#cecece;padding:8px 0}
.yh-breadcrumb a{color:#cecece}
.yh-breadcrumb a:hover{color:#fff}
/* Detail info */
.yh-detail{padding:10px 0;font-size:13px;color:#cecece;line-height:2}
.yh-detail a{color:#00d4ff}
.yh-detail a:hover{color:rgba(0,212,255,.8)}
/* Magnet links */
.yh-magnet-header{color:#f0f0f0;padding:12px 0;font-size:15px;font-weight:600;border-bottom:1px solid #00d4ff}
.yh-magnet-list{padding:0}
.yh-magnet-item{padding:10px 0;border-bottom:1px solid rgba(240,240,240,.1);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.yh-magnet-item:last-child{border-bottom:none}
.yh-magnet-item:hover{background:rgba(50,50,50,.3)}
.yh-magnet-name{font-size:13px;color:#f0f0f0;flex:1;min-width:0;word-break:break-all}
.yh-magnet-meta{font-size:11px;color:#888;margin-top:2px}
.yh-magnet-tag-hd{display:inline-block;padding:1px 6px;border-radius:3px;font-size:10px;background:#00d4ff;color:#fff;margin-left:4px}
.yh-magnet-tag-sub{display:inline-block;padding:1px 6px;border-radius:3px;font-size:10px;background:#e67e22;color:#fff;margin-left:4px}
.yh-magnet-btns{display:flex;gap:6px;flex-shrink:0}
.yh-magnet-copy{padding:4px 12px;background:#27ae60;color:#fff;border-radius:3px;font-size:12px;cursor:pointer;transition:background .2s}
.yh-magnet-copy:hover{background:#219a52}
.yh-magnet-open{padding:4px 12px;background:#e74c3c;color:#fff;border-radius:3px;font-size:12px;cursor:pointer;transition:background .2s}
.yh-magnet-open:hover{background:#c0392b}
.yh-magnet-toggle{display:block;width:100%;padding:10px;background:rgba(50,50,50,.3);text-align:center;font-size:13px;color:#00d4ff;cursor:pointer;transition:background .2s}
.yh-magnet-toggle:hover{background:rgba(50,50,50,.5)}
.yh-magnet-hidden{display:none}
/* Creator / Actor cards */
.yh-creator-card{display:flex;align-items:center;gap:12px;padding:10px;background:rgba(50,50,50,.3);border-radius:4px;margin-bottom:8px}
.yh-creator-avatar{width:50px;height:50px;border-radius:50%;background:#1e3a5f;color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;flex-shrink:0}
.yh-creator-avatar.actor{background:#0d9488}
.yh-creator-name{font-size:14px;font-weight:600;color:#f0f0f0}
.yh-creator-role{font-size:12px;color:#888}
/* Star tags */
.yh-star-tags{padding:10px 0;display:flex;flex-wrap:wrap;gap:6px}
.yh-star-tag{padding:4px 12px;background:rgba(50,50,50,.5);color:#f0f0f0;border-radius:3px;font-size:12px;transition:all .2s}
.yh-star-tag:hover{background:#8b5cf6;color:#fff}
/* Actor grid */
.yh-actor-grid-v{display:flex;flex-wrap:wrap;gap:10px;padding:10px}
.yh-actor-card-v{display:block;width:calc(20% - 8px);background:rgba(50,50,50,.3);border-radius:4px;overflow:hidden;transition:transform .2s}
.yh-actor-card-v:hover{transform:translateY(-3px)}
.yh-actor-card-v img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.yh-actor-card-v h3{font-size:13px;padding:8px;text-align:center;color:#f0f0f0}
.yh-actor-grid-h{display:flex;flex-wrap:wrap;gap:10px;padding:10px}
.yh-actor-card-h{display:flex;align-items:center;gap:12px;padding:10px;width:calc(50% - 5px);background:rgba(50,50,50,.3);border-radius:4px;transition:transform .2s}
.yh-actor-card-h:hover{transform:translateY(-2px)}
.yh-actor-card-h img{width:60px;height:60px;border-radius:50%;object-fit:cover;flex-shrink:0}
.yh-actor-card-h h3{font-size:14px;color:#f0f0f0}
.yh-actor-card-h .meta{font-size:12px;color:#888}
/* Favorite cards */
.yh-fav-grid{display:flex;flex-wrap:wrap;gap:10px;padding:10px 0}
.yh-fav-card{display:flex;gap:10px;padding:10px;background:rgba(50,50,50,.3);border-radius:4px;align-items:center;width:calc(50% - 5px)}
.yh-fav-card img{width:80px;height:60px;object-fit:cover;border-radius:4px;flex-shrink:0}
.yh-fav-card h3{font-size:13px;color:#f0f0f0;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yh-fav-remove{color:#e74c3c;font-size:12px;cursor:pointer;flex-shrink:0}
/* Form (login/register) */
.yh-form{max-width:400px;margin:20px auto;padding:20px}
.yh-form label{display:block;font-size:13px;color:#cecece;margin-bottom:4px;margin-top:12px}
.yh-form input[type="text"],.yh-form input[type="password"],.yh-form input[type="email"]{width:100%;padding:10px;background:rgba(50,50,50,.5);border:1px solid #00d4ff;border-radius:4px;font-size:14px;outline:none;color:#f0f0f0;transition:border-color .2s}
.yh-form input:focus{border-color:#67e8f9}
.yh-form button{width:100%;padding:12px;margin-top:16px;background:#00d4ff;color:#fff;font-size:15px;font-weight:600;border-radius:4px;cursor:pointer;transition:background .2s}
.yh-form button:hover{background:rgba(0,212,255,.8)}
.yh-form a{color:#00d4ff;font-size:13px}
/* Searchall progress */
.yh-progress-bar{height:6px;background:rgba(50,50,50,.5);border-radius:3px;overflow:hidden;margin:8px 0}
.yh-progress-fill{height:100%;background:linear-gradient(90deg,#00d4ff,#0891b2);width:0;transition:width .3s;border-radius:3px}
.yh-progress-text{font-size:13px;color:#cecece;margin-top:6px;text-align:center}
.yh-api-section-title{font-size:15px;font-weight:600;color:#00d4ff;padding:12px 0;border-bottom:1px solid rgba(240,240,240,.1)}
/* Section title */
.yh-section-title{font-size:16px;font-weight:600;color:#e8e8e8;padding:10px 0;border-bottom:1px solid rgba(0,212,255,.15);margin-bottom:10px;letter-spacing:.5px}
/* Actions bar (fav/share) */
.yh-actions{padding:12px 0;border-top:1px solid rgba(240,240,240,.1);border-bottom:1px solid rgba(240,240,240,.1);display:flex;gap:10px}
.yh-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 16px;border-radius:3px;font-size:13px;cursor:pointer;transition:all .2s}
.yh-btn-fav{background:#00d4ff;color:#fff}
.yh-btn-fav:hover{background:rgba(0,212,255,.8)}
.yh-btn-fav.active{background:#e74c3c}
.yh-btn-share{background:rgba(50,50,50,.5);color:#f0f0f0}
.yh-btn-share:hover{background:rgba(50,50,50,.8)}
/* Live badges */
.live-badge-live{position:absolute;top:6px;left:6px;background:#e74c3c;color:#fff;font-size:10px;padding:1px 6px;border-radius:3px;animation:yh-live-pulse 1.5s ease-in-out infinite;z-index:1}
.live-badge-hd{position:absolute;top:6px;right:6px;background:#27ae60;color:#fff;font-size:10px;padding:1px 6px;border-radius:3px;z-index:1}
.live-badge-new{position:absolute;top:6px;right:6px;background:#e67e22;color:#fff;font-size:10px;padding:1px 6px;border-radius:3px;z-index:1}
@keyframes yh-live-pulse{0%,100%{opacity:1}50%{opacity:.5}}
/* Responsive */
@media(max-width:1199px){
.yh-wrap{width:100vw;margin:0}
.yh-card{width:calc(98vw / 2 - .8vw);margin:.4vw}
.yh-card img{width:100%;aspect-ratio:16/9}
.yh-card-title{font-size:14px}
.yh-header{flex-wrap:wrap}
.yh-search{max-width:100%;margin:6px 0 0;order:3;flex-basis:100%}
.yh-search-mode{font-size:11px;padding-right:14px}
.yh-logo-btn{font-size:22px}
.yh-logo-txt{font-size:22px}
.yh-header-link{height:30px;padding:0 8px;font-size:12px;border-radius:8px}
.yh-grid{margin-left:1vw}
.yh-pager a,.yh-page-info{font-size:12px}
.yh-backtop{bottom:15vh;right:.5em}
.yh-player{width:98vw;margin-left:1vw;aspect-ratio:16/9}
.yh-player-wrap{display:block}
.yh-play-title{font-size:1em}
.yh-footer{margin-bottom:10vh}
.yh-adbar a{min-width:calc(25% - 5px)}
.yh-header-links-desktop{display:none}
.yh-actor-card-v{width:calc(33.33% - 8px)}
.yh-actor-card-h{width:100%}
.yh-fav-card{width:100%}
}
@keyframes msgBlink{0%,100%{opacity:1}50%{opacity:.3}}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
/* === DR017 Cyber Neon Enhancement === */
/* Purple accent theme override */
.yh-logo-btn{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 0 10px rgba(139,92,246,.25)}
.yh-header{border-bottom-color:rgba(139,92,246,.12)}
.yh-header-icon{background:#8b5cf6}
.yh-header-icon:hover{background:rgba(139,92,246,.8)}
.yh-search-mode{background:#8b5cf6;border-color:#8b5cf6}
.yh-search-input{border-color:#8b5cf6}
.yh-search-btn{background:#8b5cf6}
.yh-search-btn:hover{background:rgba(139,92,246,.8)}
.yh-header-link{background:#8b5cf6}
.yh-header-link:hover{background:rgba(139,92,246,.8)}
.yh-adbar a{background:#8b5cf6}
.yh-tabs{border-bottom-color:rgba(139,92,246,.2)}
.yh-tabs li a:hover{background:rgba(139,92,246,.12)}
.yh-tabs li.active a{background:rgba(139,92,246,.9);box-shadow:0 0 12px rgba(139,92,246,.2)}
.yh-type{border-top-color:rgba(139,92,246,.1)}
.yh-card a{border-color:rgba(139,92,246,.06)}
.yh-card a:hover{background:rgba(139,92,246,.06);border-color:rgba(139,92,246,.2);box-shadow:0 0 20px rgba(139,92,246,.08)}
.yh-section-title{border-bottom-color:rgba(139,92,246,.15)}
.yh-pager{border-top-color:#8b5cf6}
.yh-pager a:hover{background:rgba(139,92,246,.12);border-color:rgba(139,92,246,.2)}
.yh-pager .active{background:rgba(139,92,246,.9);box-shadow:0 0 12px rgba(139,92,246,.15)}
.yh-page-input{caret-color:#8b5cf6}
.yh-page-go{background:#8b5cf6}
.yh-page-go:hover{background:rgba(139,92,246,.8)}
.yh-backtop:hover{background:rgba(139,92,246,.8)}
.yh-footer{border-top-color:rgba(139,92,246,.12)}
.yh-play-title{border-bottom-color:#8b5cf6}
.yh-playlist a:hover,.yh-playlist a.active{background:#8b5cf6}
.yh-detail a{color:#8b5cf6}
.yh-detail a:hover{color:rgba(139,92,246,.8)}
.yh-magnet-header{border-bottom-color:#8b5cf6}
.yh-magnet-tag-hd{background:#8b5cf6}
.yh-magnet-toggle{color:#8b5cf6}
.yh-btn-fav{background:#8b5cf6}
.yh-btn-fav:hover{background:rgba(139,92,246,.8)}
.yh-form input[type="text"],.yh-form input[type="password"],.yh-form input[type="email"]{border-color:#8b5cf6}
.yh-form input:focus{border-color:#c4b5fd}
.yh-form button{background:#8b5cf6}
.yh-form button:hover{background:rgba(139,92,246,.8)}
.yh-form a{color:#8b5cf6}
.yh-progress-fill{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}
.yh-api-section-title{color:#8b5cf6}
.yh-star-tag:hover{background:#8b5cf6}
