* { box-sizing: border-box; }
body.hl-body { margin: 0; font: 14px/1.4 "Microsoft YaHei", Arial, sans-serif; background: #f4f5f7; color: #222; }
a { color: inherit; text-decoration: none; }
.hl-container { width: 1200px; max-width: calc(100% - 88px); margin: 0 auto; }
.hl-topbar { background: #171c2c; color: #dbe1f2; border-bottom: 1px solid rgba(255,255,255,.08); position: sticky; top: 0; z-index: 30; }
.hl-body.hl-home .hl-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12,16,29,.72), rgba(12,16,29,.22) 58%, rgba(12,16,29,0));
    border-bottom: 0;
}
.hl-body.hl-home .hl-top-inner {
    padding-top: 10px;
}
.hl-body.hl-home .hl-logo {
    margin-right: 6px;
    padding-left: 15px;
}
.hl-top-inner { width: 1200px; max-width: calc(100% - 88px); margin: 0 auto; min-height: 64px; display: grid; grid-template-columns: auto 1fr 300px auto; gap: 12px; align-items: center; }
.hl-logo { font-size: 22px; font-weight: 700; color: #fff; }
.hl-main-nav { display: flex; align-items: center; gap: 6px; overflow: visible; position: relative; }
.hl-main-link { color: #c4cbdf; padding: 8px 11px; border-radius: 4px; white-space: nowrap; }
.hl-main-link:hover, .hl-main-link.is-active { color: #fff; background: rgba(255,255,255,.08); }
.hl-group { position: relative; }
.hl-group::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}
.hl-group-toggle { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; background: none; }
.hl-group-menu { position: absolute; top: calc(100% + 1px); left: 0; display: none; min-width: 300px; max-width: 420px; padding: 8px; background: rgba(20, 26, 44, .98); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; z-index: 60; box-shadow: 0 14px 34px rgba(0,0,0,.38); backdrop-filter: blur(6px); gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.hl-group-menu a { display: inline-flex; align-items: center; justify-content: center; padding: 7px 11px; color: #cdd6ef; border-radius: 999px; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.hl-group-menu a:hover, .hl-group-menu a.is-active { color: #fff; background: linear-gradient(90deg, rgba(47,137,255,.25), rgba(47,137,255,.08)); }
.hl-group:hover .hl-group-menu, .hl-group.is-open .hl-group-menu { display: block; }
.hl-group:hover .hl-group-menu, .hl-group.is-open .hl-group-menu { display: flex; }
.hl-search { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.hl-search input { height: 34px; border-radius: 3px; border: 1px solid #31394f; background: #111525; color: #dce5ff; padding: 0 10px; }
.hl-search button { height: 34px; border: 0; border-radius: 3px; background: #2f89ff; color: #fff; padding: 0 14px; cursor: pointer; }
.hl-menu-btn { display: none; border: 1px solid #3f4760; background: #10162a; color: #fff; border-radius: 3px; height: 34px; padding: 0 12px; }
.hl-main { min-height: 60vh; }
.hl-hero { width: 1200px; max-width: calc(100% - 88px); margin: 14px auto 0; height: 390px; position: relative; background: #111; overflow: hidden; border-radius: 10px; border: 1px solid #dbe2f0; box-shadow: 0 12px 34px rgba(20, 35, 75, .16); }
.hl-body.hl-home .hl-hero { margin-top: 0; }
.hl-hero-slides { height: 100%; }
.hl-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; display: block; }
.hl-slide.is-active { opacity: 1; z-index: 2; }
.hl-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-slide-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,24,.18) 0%, transparent 34%, rgba(0,0,0,.55) 100%); }
.hl-slide-info { position: absolute; left: 24px; bottom: 18px; color: #fff; }
.hl-slide-info h2 { margin: 0 0 6px; font-size: 28px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hl-slide-info p { margin: 0; font-size: 14px; color: #dbe5ff; }
.hl-slide-nav { position: absolute; top: 50%; margin-top: -18px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(0,0,0,.4); color: #fff; z-index: 3; cursor: pointer; }
.hl-slide-prev { left: 12px; }
.hl-slide-next { right: 12px; }
.hl-tab-row { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; margin: 0; display: flex; gap: 2px; background: linear-gradient(180deg, rgba(12,16,29,.66), rgba(12,16,29,.30) 58%, rgba(12,16,29,.10)); backdrop-filter: blur(6px); padding: 0 14px; height: 44px; align-items: center; overflow: auto; border-top: 1px solid rgba(255,255,255,.12); }
.hl-tab-row a { color: #d7def0; font-size: 13px; padding: 6px 10px; border-radius: 3px; white-space: nowrap; }
.hl-tab-row a:hover { background: rgba(255,255,255,.12); color: #fff; }
.hl-tab-row-list { position: static; margin-top: 14px; border-top: 0; border-bottom: 0; border-radius: 2px; }
.hl-tab-row-list a.is-active { background: rgba(255,255,255,.12); color: #fff; }
.hl-module { margin-top: 18px; background: #fff; border: 1px solid #e9ecf3; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(23, 37, 72, .06); }
.hl-module-head { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid #eceff6; }
.hl-module-head h3 { margin: 0; font-size: 17px; font-weight: 600; color: #333; }
.hl-module-head a { color: #8e97b1; font-size: 12px; }
.hl-module-body { display: grid; grid-template-columns: 1fr 280px; gap: 14px; padding: 14px; }
.hl-card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hl-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: #f3f4f8; border: 1px solid #eef1f7; }
.hl-card span { display: block; margin-top: 6px; font-size: 12px; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-rank { margin: 0; padding: 0; list-style: none; }
.hl-rank li { display: grid; grid-template-columns: 26px 1fr auto; gap: 6px; align-items: center; min-height: 28px; border-bottom: 1px dashed #edf0f7; font-size: 12px; }
.hl-rank li em { font-style: normal; color: #8f98b2; }
.hl-rank li a { color: #2d3447; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-rank li span { color: #9aa2ba; font-size: 11px; }
.hl-list-only .hl-list-grid { padding: 14px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.hl-breadcrumb { margin-top: 16px; color: #8f98b1; font-size: 12px; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: auto; }
.hl-breadcrumb a { color: #6f7c9a; }
.hl-breadcrumb a:hover { color: #2f89ff; }
.hl-breadcrumb em { color: #4f5974; font-style: normal; }
.hl-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 4px; }
.hl-pagination a { padding: 5px 11px; border: 1px solid #dce3f2; background: #fff; color: #4f5974; border-radius: 2px; }
.hl-pagination a:hover { border-color: #2f89ff; color: #2f89ff; }
.hl-pagination span { color: #7f89a5; font-size: 12px; }
.hl-detail-layout { margin-top: 18px; display: grid; grid-template-columns: 1fr 280px; gap: 14px; align-items: start; }
.hl-detail { margin-top: 18px; background: #fff; border: 1px solid #e9ecf3; padding: 18px; display: grid; grid-template-columns: 240px 1fr; gap: 16px; }
.hl-detail-layout .hl-detail { margin-top: 0; }
.hl-detail-cover { width: 100%; aspect-ratio: 2/3; object-fit: cover; border: 1px solid #eef1f8; }
.hl-detail-info h1 { margin: 0 0 8px; font-size: 28px; color: #2a3145; }
.hl-detail-info > p { margin: 0 0 10px; color: #8c96b0; }
.hl-detail-desc { color: #4c556d; line-height: 1.8; max-height: 220px; overflow: auto; background: #f9fbff; border: 1px solid #edf2fb; padding: 10px 12px; }
.hl-play-btn { margin-top: 12px; display: inline-block; height: 36px; line-height: 36px; padding: 0 18px; background: #2f89ff; color: #fff; border-radius: 3px; }
.hl-detail-episodes { padding: 14px; }
.hl-ep-group + .hl-ep-group { margin-top: 12px; }
.hl-ep-group h4 { margin: 0 0 8px; color: #5b6686; font-size: 13px; font-weight: 600; }
.hl-ep-items { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-ep-items a { border: 1px solid #dce3f2; background: #fafcff; color: #4f5974; border-radius: 2px; padding: 5px 9px; font-size: 12px; }
.hl-ep-items a:hover, .hl-ep-items a.is-active { border-color: #2f89ff; color: #2f89ff; background: #eef6ff; }
.hl-side-col .hl-module { margin-top: 0; }
.hl-rank-alone { padding: 12px; }
.hl-guess-grid { padding: 14px; }
.hl-player-sec { margin-top: 18px; background: #fff; border: 1px solid #e9ecf3; padding: 16px; }
.hl-player-sec h1 { margin: 0 0 10px; font-size: 22px; color: #2f3650; }
.hl-play-submeta { margin: -2px 0 10px; color: #8b95af; font-size: 12px; }
.hl-player-wrap { border: 1px solid #e7ecf8; background: #000; position: relative; overflow: hidden; border-radius: 4px; }
.hl-player-wrap .player-ad-layer { overflow: hidden; border-radius: 4px; }
.hl-player-box { width: 100%; aspect-ratio: 16/9; }
.hl-ep-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.hl-ep-list a { border: 1px solid #dce3f2; background: #fafcff; color: #4f5974; border-radius: 2px; padding: 5px 9px; font-size: 12px; }
.hl-ep-list a.is-active, .hl-ep-list a:hover { border-color: #2f89ff; color: #2f89ff; background: #eef6ff; }
.hl-play-detail-box { margin-top: 20px; }
.hl-empty { margin: 12px 14px; color: #8f98b1; }
.hl-footer { margin-top: 28px; background: #f0f2f6; border-top: 1px solid #e4e8f1; padding: 20px 0; }
.hl-link-logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; color: #7f89a5; font-size: 13px; }
.hl-copy { margin: 12px 0 0; text-align: center; color: #8f98b1; font-size: 12px; }
@media (max-width: 1024px) {
    .hl-container, .hl-top-inner, .hl-hero { max-width: calc(100% - 28px); }
    .hl-top-inner { grid-template-columns: auto 1fr auto; }
    .hl-search { display: none; }
    .hl-menu-btn { display: inline-block; }
    .hl-main-nav { display: none; position: absolute; left: 12px; right: 12px; top: 62px; background: #1c2132; border: 1px solid rgba(255,255,255,.1); padding: 10px; overflow: visible; z-index: 70; }
    .hl-main-nav.is-open { display: flex; flex-wrap: wrap; }
    .hl-body.hl-home .hl-main-nav { background: rgba(23,28,44,.96); backdrop-filter: blur(6px); }
    .hl-group { width: 100%; }
    .hl-group::after { display: none; }
    .hl-group-toggle { width: 100%; justify-content: space-between; }
    .hl-group-menu { position: static; margin: 4px 0 8px; width: 100%; border-color: rgba(255,255,255,.08); background: #171c2c; }
    .hl-hero { height: 280px; border-radius: 8px; }
    .hl-module-body { grid-template-columns: 1fr; }
    .hl-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hl-list-only .hl-list-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hl-detail-layout { grid-template-columns: 1fr; }
    .hl-detail { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .hl-hero { height: 220px; border-radius: 6px; }
    .hl-slide-info h2 { font-size: 20px; }
    .hl-card-grid, .hl-list-only .hl-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
