/* hgdju.com visual overlay — keep Go template architecture; PC/H5 split. */
/* Source rem: mobile html=1.33333vw (~5px@375), desktop≥960px = 10px. H5 lengths in rem. */


/* Source rem: H5 html=1.33333vw (~5px@375); PC≥960 html=10px（详情/个人中心等 rem 按此设计）. */
@media (max-width:959px){
  html{font-size:1.33333vw}
}
@media (min-width:960px){
  html{font-size:10px}
}
html,body,.hg-layout,.hg-home-page{background:var(--hg-51-bg);color:var(--hg-text)}

/* 源站卡片标题 hover 不变色（压过 hg-shell 的主色高亮） */
@media (hover:hover) and (pointer:fine){
  .hg-card-grid .hg-drama-card:hover .hg-drama-card__title,
  .hg-card-grid .hg-drama-card:hover .hg-drama-card__title a{
    color:#f1f1f1
  }
  .hg-card-grid .hg-drama-card:hover .hg-drama-card__title .search-hit{color:#ec9027}
}

/* 搜索页输入框 focus 无描边/边框（压过 common input:focus 与浏览器默认） */
.hg-51-search .hg-search-stage__form input,
.hg-51-search .hg-search-stage__form input:focus,
.hg-51-search .hg-search-stage__form input:focus-visible{
  border:0!important;outline:0!important;box-shadow:none!important;
  -webkit-appearance:none;appearance:none
}

/* 回顶 / 最近浏览仍不展示。下载按钮单独固定在右下角，播放页不渲染。 */
.hg-fab:not(.hg-fab--download),[data-global-quick-tools]{display:none!important}

/* ---------- Header (源站 sticky 黑底) ---------- */
@media (min-width:960px){
  :root{--dx-header-height:70px;--hg-page-gutter:24px;--hg-content-max:1284px}
  #app-header .header.hg-header{
    height:auto;min-height:70px;background:var(--hg-header-bg);border-bottom:0
  }
  .hg-header__inner{
    box-sizing:border-box;height:auto;min-height:70px;max-width:1440px;margin:0 auto;
    padding:0 24px;gap:20px;flex-wrap:wrap;align-items:center
  }
  /* common 在 ≤1023 把 logo 绝对居中；桌面顶栏走 flex，必须清掉 left:50%。 */
  .hg-header__logo{
    position:static;left:auto;top:auto;transform:none;z-index:auto;
    display:inline-flex;align-items:center;flex:0 0 auto;margin:0
  }
  .hg-header__logo img,.hg-header__logo-pc{display:block;width:112px!important;height:40px!important;object-fit:contain}
  .hg-header__logo-h5{display:none!important}
  .hg-topbar-nav{
    display:flex;flex-wrap:wrap;align-items:center;gap:20px;flex:1 1 auto;min-width:0;order:0
  }
  .hg-topbar-nav__item{
    position:relative;height:auto;padding:0;border-radius:0;background:transparent!important;
    font-size:16px;font-weight:400;line-height:36px;color:var(--hg-nav-idle);white-space:nowrap
  }
  .hg-topbar-nav__item:hover,.hg-topbar-nav__item:active{color:#d8d8d8}
  .hg-topbar-nav__item.is-active{color:#fff;padding:0;background:transparent!important}
  .hg-topbar-nav__item.is-active::after{
    content:"";position:absolute;left:50%;top:34px;width:16px;height:2px;border-radius:1px;
    background:var(--color-primary);transform:translateX(-50%)
  }
  /* 源站 desktop≥960：h 3.6rem / w 22rem，≥1440 为 28.2rem。1rem=10px。
     按钮 absolute 贴右，内层 4.9rem×3.4rem、圆角右侧 0.7rem、底 #274e00，图标 2rem。 */
  /* PC 搜索框不展开热搜/猜你喜欢。H5 顶栏是跳转 /search，不走这层。 */
  .hg-search-suggest{display:none!important}
  /* 建议面板可滚，但不画滚动条（源站同款）。 */
  .hg-search-suggest__panel{
    scrollbar-width:none;-ms-overflow-style:none
  }
  .hg-search-suggest__panel::-webkit-scrollbar{display:none;width:0;height:0}
  .hg-header__search{
    position:relative;left:auto;right:auto;top:auto;z-index:1;
    display:flex;flex:0 0 220px;width:220px;min-width:220px;max-width:220px;
    margin-left:auto;order:0;padding:0;border:0;background:transparent;justify-content:flex-end
  }
  .hg-search{
    position:relative;box-sizing:border-box;width:100%;height:36px;margin:0;padding:0;gap:0;
    border-radius:8px;border:1px solid #444e51;background:#00000066;
    display:flex;align-items:stretch;overflow:hidden
  }
  .hg-search.is-focus{border-color:#444e51}
  .hg-search input,.hg-search .search-input{
    box-sizing:border-box;flex:1 1 auto;width:100%;min-width:0;height:100%;margin:0;
    padding:0 52px 0 10px;border:0;background:transparent;
    color:#fff;font-size:14px;font-weight:400;line-height:normal;outline:none;
    -webkit-appearance:none;appearance:none
  }
  .hg-search input::-webkit-search-cancel-button,
  .hg-search input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
  .hg-search input::placeholder{color:#ffffff66;opacity:1}
  .hg-search__submit{
    position:absolute;right:0;top:0;z-index:1;
    box-sizing:border-box;flex:none;width:49px;height:100%;margin:0;padding:0;
    border:0;border-radius:0 7px 7px 0;opacity:1;
    display:inline-flex;align-items:center;justify-content:center;
    cursor:pointer;-webkit-appearance:none;appearance:none
  }
  /* common.css 的 button:not(.hg-btn){background-color:unset} 特异度 (0,1,1)，
     单类选择器压不住，绿底会变成透明。双类提到 (0,2,0)。 */
  .hg-search__submit.hg-search__submit,
  .hg-search__submit.hg-search__submit:hover{
    background-color:#274e00;background-image:none;opacity:1
  }
  .hg-search__submit img{
    display:block;width:20px!important;height:20px!important;max-width:none!important;
    margin:0;opacity:1;filter:none;order:0;flex:none;object-fit:contain
  }
  /* 源站已登录 PC：ml-[1.2rem] h/w-[3.6rem] rounded-full；未登录才是胶囊「登录」 */
  .hg-header__auth{display:flex!important;align-items:center;flex-shrink:0;margin-left:12px}
  .hg-header__login{
    height:36px;min-width:72px;padding:0 12px;border-radius:8px;border:1px solid #444e51;
    background:rgba(0,0,0,.4);color:#fff;font-size:14px;line-height:16px
  }
  .hg-header__auth .hg-header__user{
    display:inline-flex;align-items:center;justify-content:center;
    width:36px;height:36px;min-width:36px;padding:0;border:0;border-radius:50%;
    overflow:hidden;background:rgba(255,255,255,.2);color:#fff;text-decoration:none;cursor:pointer
  }
  .hg-header__auth .hg-header__user .hg-avatar{
    width:100%;height:100%;font-size:14px;font-weight:500;line-height:1;border-radius:50%
  }
  /* PC：头像直达 /account；H5 才是下拉 */
  .hg-header__user--toggle,.hg-header__user-menu{display:none!important}
  .hg-header__menu,.hg-header__search-btn{display:none!important}
}

/* 窄屏搜索建议：顶栏 + 展开搜索条（1rem + 3.6rem + 1.2rem）下方起算，面板占满剩余高度自滚。 */
@media (max-width:959px){
  .hg-header.is-mobile-search .hg-search-suggest{
    position:fixed!important;
    left:1.2rem!important;right:1.2rem!important;width:auto!important;max-width:none!important;
    /* 展开条高 7.2rem（≈PC 36px＠H5 rem），勿写成 3.6rem（那是 10px-rem 半值）。 */
    top:calc(var(--dx-header-height) + 1rem + 7.2rem + 1.2rem)!important;
    bottom:1.2rem;transform:none!important;z-index:90
  }
  .hg-header.is-mobile-search .hg-search-suggest__panel{
    box-sizing:border-box;height:100%;max-height:100%;min-height:0;
    overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;-ms-overflow-style:none
  }
  .hg-header.is-mobile-search .hg-search-suggest__panel::-webkit-scrollbar{display:none;width:0;height:0}
  .hg-header.is-mobile-search .hg-search-suggest__section{flex-shrink:0;min-height:0}
}

@media (min-width:960px) and (max-width:1439px){
  .hg-topbar-nav{gap:16px}
}
@media (min-width:1440px){
  .hg-header__search{flex:0 0 282px;width:282px;min-width:282px;max-width:282px}
}

@media (max-width:959px){
  /* 源站 H5 顶栏：h 8.8rem / pl 3.8rem / pr 1.1rem；菜单 3.2、logo 14.4×4.8（ml 2.9）、
     右侧搜索 3.2（ml-auto）、头像/登录 ml 2.9。common/51 的 28px、80px !important 必须压掉。 */
  :root{--dx-header-height:8.8rem;--hg-page-gutter:2rem}
  #app-header .header.hg-header,.hg-header{
    height:8.8rem;min-height:8.8rem;background:#000;border-bottom:0;overflow:visible
  }
  .hg-header__inner{
    box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:flex-start;
    /* 右侧与左侧同为 3.8rem，避免头像贴边（源站 pr 1.1rem 过紧） */
    height:8.8rem;max-width:none;margin:0;padding:0 3.8rem;gap:0;align-items:center
  }
  .hg-header__menu{
    display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;
    box-sizing:border-box;width:3.2rem!important;height:3.2rem!important;min-width:3.2rem;
    margin:0;padding:0;border:0;background:transparent;cursor:pointer
  }
  .hg-header__menu img{
    display:block;width:3.2rem!important;height:3.2rem!important;max-width:none!important;
    object-fit:contain
  }
  /* 源站：菜单后 ml-[2.9rem]，不是顶栏水平居中。压过 common 的 left:50%+translate。 */
  .hg-header__logo{
    position:static;left:auto;top:auto;transform:none;z-index:auto;
    display:inline-flex;align-items:center;flex:0 0 auto;margin:0 0 0 2.9rem;width:auto;min-width:0
  }
  .hg-header__logo-pc{display:none!important}
  /* (0,2,0) 压过 .hg-header__logo img 的 80px/34px !important */
  .hg-header__logo .hg-header__logo-h5{
    display:block!important;width:14.4rem!important;height:4.8rem!important;
    max-width:none!important;object-fit:contain
  }
  .hg-topbar-nav{display:none!important}
  /* 默认藏搜索条。H5 右上角是进 /search 的链接，不在顶栏展开建议层。 */
  .hg-header__search{display:none!important}
  .hg-header.is-mobile-search .hg-header__search{
    display:flex!important;position:absolute;left:0;right:0;top:100%;z-index:90;
    width:auto!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important;
    margin:0;padding:1rem 1.2rem 1.2rem;box-sizing:border-box;
    background:#000;border-bottom:1px solid rgba(255,255,255,.08);justify-content:stretch
  }
  /* H5 rem≈5px＠375：对应 PC 高 36 / 字 14 / 提交 49 / icon 20，勿按 10px-rem 写半值。 */
  .hg-header.is-mobile-search .hg-search{
    width:100%;max-width:none;height:7.2rem;border-radius:1.6rem
  }
  .hg-header.is-mobile-search .hg-search input,
  .hg-header.is-mobile-search .hg-search .search-input{
    padding:0 10.4rem 0 2rem;font-size:2.8rem;font-weight:400;line-height:normal
  }
  .hg-header.is-mobile-search .hg-search__submit{
    width:9.8rem;border-radius:0 1.4rem 1.4rem 0
  }
  .hg-header.is-mobile-search .hg-search__submit img{
    width:4rem!important;height:4rem!important
  }
  /* 右上角搜索入口 3.2rem：链到 /search（源站 H5 <a href="/search">） */
  .hg-header__search-btn{
    display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;
    box-sizing:border-box;margin-left:auto;margin-right:0;
    width:3.2rem!important;height:3.2rem!important;min-width:3.2rem;
    padding:0;border:0;background:transparent;cursor:pointer
  }
  .hg-header__search-btn img,
  .hg-header__search-btn .hg-header__search-btn-icon{
    display:block;width:3.2rem!important;height:3.2rem!important;max-width:none!important;
    object-fit:contain
  }
  .hg-header.is-mobile-search .hg-header__search-btn-icon--search{display:none!important}
  .hg-header.is-mobile-search .hg-header__search-btn-icon--close{
    display:block!important;width:2.8rem!important;height:2.8rem!important
  }
  /* 源站 H5：搜索后 ml-[2.9rem]；已登录头像 h/w-[5.2rem] 圆；未登录才是 12.8×6 登录胶囊 */
  .hg-header__auth{
    display:flex!important;align-items:center;flex:0 0 auto;margin:0 0 0 2.9rem
  }
  .hg-header__login{
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
    height:6rem;width:12.8rem;min-width:12.8rem;padding:0;border-radius:2.8rem;border:1px solid #3a3c50;
    background:#232429;color:#fff;font-size:2.4rem;line-height:3.6rem;font-weight:400
  }
  .hg-header__auth .hg-header__user{
    display:inline-flex;align-items:center;justify-content:center;
    width:5.2rem!important;height:5.2rem!important;min-width:5.2rem;padding:0;border:0;border-radius:50%;
    overflow:hidden;background:rgba(255,255,255,.2);color:#fff;text-decoration:none;font-size:0;cursor:pointer
  }
  .hg-header__auth .hg-header__user .hg-avatar{
    width:100%!important;height:100%!important;font-size:2.3rem!important;font-weight:500;line-height:1;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center
  }
  /* 源站 H5：点头像下拉（right 1.8 / top 100%+1.8 / w 24 / gap 2.4）
     必须压过上面 .hg-header__auth .hg-header__user{display:inline-flex!important}，
     否则 PC 链接头像仍占位，整块被顶得过右。 */
  .hg-header__inner{position:relative}
  .hg-header__auth .hg-header__user--link{display:none!important}
  .hg-header__auth .hg-header__user--toggle{display:inline-flex!important}
  .hg-header__user-menu{
    position:absolute;right:3.8rem;top:calc(100% + 1.8rem);z-index:70;
    box-sizing:border-box;display:flex;flex-direction:column;gap:2.4rem;
    width:24rem;max-height:108rem;overflow-x:hidden;overflow-y:auto;
    margin:0;padding:1.8rem 2.8rem 3.2rem;
    border:1px solid #2d2d2d;border-radius:1.2rem;background:#1a1b1e;
    box-shadow:0 0.8rem 2.4rem rgba(0,0,0,.4)
  }
  .hg-header__user-menu[hidden]{display:none!important}
  .hg-header__user-menu-item{
    display:flex;align-items:center;gap:1.6rem;margin:0;padding:0;
    color:#fff;font-size:2.8rem;font-weight:400;line-height:7.2rem;
    text-decoration:none;white-space:nowrap
  }
  .hg-header__user-menu-icon{
    display:inline-flex;align-items:center;justify-content:center;flex:none;
    width:4rem;height:4rem
  }
  .hg-header__user-menu-icon img{
    display:block;width:4rem!important;height:4rem!important;max-width:none!important;
    object-fit:contain
  }
  /* 源站 H5 导航：顶栏下拉，不是左侧抽屉。opacity .15s；项 2.8/7.2，当前项底边 3.2×0.4 #274e00。 */
  .hg-h5-nav{
    position:static;flex:0 0 0;width:0;height:0;margin:0;padding:0;overflow:visible;
    opacity:0;transition:opacity .15s ease;pointer-events:none
  }
  .hg-h5-nav.is-open{opacity:1;pointer-events:auto}
  .hg-h5-nav[hidden]{display:none!important}
  .hg-h5-nav__mask{position:fixed;inset:0;z-index:60;background:transparent}
  .hg-h5-nav__panel{
    position:absolute;left:2.1rem;top:calc(100% + 0.4rem);z-index:70;
    display:flex;flex-direction:column;gap:3.2rem;box-sizing:border-box;
    width:19.6rem;max-height:108rem;margin:0;padding:2rem 3.2rem;
    overflow-x:hidden;overflow-y:auto;
    border:1px solid #2d2d2d;border-radius:1.2rem;background:#1a1b1e;
    box-shadow:0 0.8rem 2.4rem #00000066
  }
  .hg-h5-nav__link{display:block;margin:0;padding:0;color:inherit;text-decoration:none}
  .hg-h5-nav__label{
    position:relative;display:inline-block;white-space:nowrap;
    color:#c0c0c0;font-size:2.8rem;font-weight:400;line-height:7.2rem
  }
  .hg-h5-nav__link.is-active .hg-h5-nav__label{color:#fff}
  .hg-h5-nav__mark{
    position:absolute;left:50%;top:6.8rem;width:3.2rem;height:0.4rem;
    transform:translateX(-50%);border-radius:0.2rem;background:#274e00
  }
}
@media (min-width:960px){
  .hg-h5-nav{display:none!important}
}

/* ---------- Home sections / cards (源站无轮播，货架+竖卡) ---------- */
.hg-home-page .hg-hero,
.hg-home-page .hg-announce,
.hg-home-page .hg-home-popular-tags{display:none!important}

/* 源站 main：w-full；desktop≥960 max-w 1284px + px 2.4rem(24px)；≥1320 px-0。
   border-box 下 ≥1320 内容宽就是 1284，不能再扣左右 24px。 */
.hg-home-page .main{
  box-sizing:border-box;width:100%;max-width:none;margin:0 auto;padding:0
}
@media (min-width:960px){
  .hg-home-page .main{max-width:1284px;padding:0 24px}
}
@media (min-width:1320px){
  .hg-home-page .main{padding-left:0;padding-right:0}
}

.hg-home-page .hg-section{
  background:transparent;border-radius:0;margin:0;padding:24px 0 0
}
.hg-home-page .hg-section+.hg-section{margin-top:0}

/* 源站 home-sec-head: text-[3.2rem] font-bold leading-[6rem]；压过 hg-51-home 的 22px/500 */
.hg-home-page .hg-section-header.hg-hgdju-section-head,
.hg-section-header.hg-hgdju-section-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  height:64px;margin:0;padding:0 13px 4px
}
.hg-home-page .hg-hgdju-section-head .hg-section-title,
.hg-hgdju-section-head .hg-section-title{
  display:inline-flex;align-items:center;gap:0;min-width:0;
  color:#f1f1f1;font-size:32px;font-weight:700;line-height:60px
}
.hg-hgdju-section-head .hg-section-accent{display:none}
.hg-hgdju-section-icon{
  width:45.87px;height:51.98px;margin:4px 7px 0 7px;object-fit:fill;flex:0 0 auto
}
.hg-home-page .hg-hgdju-section-head .hg-section-title h2,
.hg-hgdju-section-head h2{
  margin:0;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;color:inherit
}
.hg-hgdju-more{
  display:inline-flex;align-items:center;gap:9px;height:33px;padding:0 12px;
  border:1px solid #97a9af;border-radius:8px;background:var(--hg-51-bg);
  color:#f1f1f1;font-size:16px;font-weight:500;line-height:24px;text-decoration:none;flex:0 0 auto
}
.hg-hgdju-more img{width:6px;height:12px}

/* 源站 continue-bar：主货架前；有本地/登录续播才显示。
   续播条在 main 内部，和货架同一套 1284 / 24px / ≥1320 为 0，不再加横向 padding。
   PC≥960：标题和竖线在左，芯片在右侧换行（源站 .flex-wrap 写在 .desktop:flex-nowrap 之后，桌面同样换行）。
   H5：标题在上，芯片在下换行（源站 bar 非 flex，list 为 flex-wrap）。 */
.hg-continue{
  box-sizing:border-box;width:100%;max-width:none;margin:0;padding:25px 0 0
}
.hg-continue[hidden]{display:none!important}
.hg-continue__bar{
  box-sizing:border-box;width:100%;display:flex;align-items:center;
  border-radius:16px;background:rgba(0,0,0,.15);padding:15px 20px;min-width:0
}
.hg-continue__label{
  display:flex;align-items:center;gap:8px;margin:0;flex-shrink:0
}
.hg-continue__icon{
  display:inline-block;width:14px;height:14px;line-height:0;flex-shrink:0
}
.hg-continue__icon img{display:block;width:100%;height:100%;object-fit:contain}
.hg-continue__title{
  color:#fbf4f4;font-size:16px;font-weight:700;line-height:20px
}
.hg-continue__divider{
  display:block;width:1px;height:28px;margin-left:25px;background:#4b5c62;flex-shrink:0
}
.hg-continue__list{
  display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:14px;margin-left:22px;min-width:0;
  overflow:visible
}
.hg-continue__chip{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  height:36px;max-width:100%;padding:8px 9px 8px 13px;border:1px solid #4b5c62;border-radius:6px;
  color:#b5e7c6;font-size:16px;font-weight:400;line-height:20px;text-decoration:none;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 0 auto
}
.hg-continue__chip:active,.hg-continue__chip:focus-visible{color:#56f88d}
@media (min-width:960px){
  .hg-continue__chip:hover{color:#56f88d}
}

@media (max-width:959px){
  .hg-home-page .main{padding:0}
  .hg-home-page .hg-section{padding:2rem 0 0}
  .hg-home-page .hg-section-header.hg-hgdju-section-head,
  .hg-section-header.hg-hgdju-section-head{height:6rem;padding:0 2rem;margin:0}
  .hg-home-page .hg-hgdju-section-head .hg-section-title,
  .hg-hgdju-section-head .hg-section-title{
    gap:0.6rem;font-size:3.2rem!important;font-weight:700!important;line-height:6rem!important
  }
  .hg-hgdju-section-icon{
    width:4.587rem;height:5.198rem;margin:0.401rem 0 0 0.706rem;object-fit:fill
  }
  .hg-hgdju-more{
    height:4.06rem;padding:0 1.76rem;gap:1rem;font-size:2rem;line-height:3rem;border-radius:0.8rem
  }
  .hg-hgdju-more img{width:0.694rem;height:1.188rem}

  .hg-continue{padding:3.6rem 2rem 0;max-width:none}
  .hg-continue__bar{
    display:block;border-radius:2rem;padding:2.4rem 2rem;min-width:0
  }
  .hg-continue__label{gap:1.6rem}
  .hg-continue__icon{width:2.8rem;height:2.8rem}
  .hg-continue__title{font-size:2.4rem;line-height:4rem}
  .hg-continue__divider{display:none}
  .hg-continue__list{
    display:flex;flex-wrap:wrap;align-items:center;gap:2rem;
    width:100%;margin:2rem 0 0;min-width:0;overflow:visible
  }
  .hg-continue__chip{
    height:6rem;max-width:100%;padding:1.6rem 1.8rem 1.6rem 2.6rem;border-radius:1.2rem;
    font-size:2.4rem;line-height:4rem;flex:0 1 auto
  }
}

/* Cards — 竖封面统一 3/4（首页/浏览/频道/历史/搜索建议/个人中心） */
.hg-drama-card__cover,
.hg-search-suggest__guess .hg-drama-card__cover,
.hg-history-dialog__list .hg-drama-card__cover,
.hg-history-grid .hg-drama-card__cover,
.hg-account-card__cover,
.hg-card-grid .hg-drama-card__cover{
  aspect-ratio:3/4
}
.hg-drama-card__cover img,
.hg-account-card__cover img,
.hg-search-suggest__guess .hg-drama-card__cover img,
.hg-history-dialog__list .hg-drama-card__cover img,
.hg-history-grid .hg-drama-card__cover img{
  object-fit:cover
}
.hg-home-page .hg-card-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:22px 32px;padding:8px 0 7px;margin:0
}
.hg-home-page .hg-drama-card{
  gap:0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;
  max-width:230px;width:100%;justify-self:stretch
}
.hg-home-page .hg-drama-card:hover{
  border-color:transparent;box-shadow:none
}
.hg-home-page .hg-drama-card__cover{
  position:relative;width:100%;aspect-ratio:3/4;margin:0;border-radius:4px;overflow:hidden
}
.hg-home-page .hg-drama-card__cover img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .3s ease-out
}
.hg-home-page .hg-drama-card:hover .hg-drama-card__cover img,
.hg-home-page .hg-drama-card:focus-within .hg-drama-card__cover img{
  transform:scale(1.125)
}
.hg-home-page .hg-drama-card__badge{
  top:8px;left:8px;height:20px;padding:0 9px;border-radius:4px;border:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--color-primary)!important;color:#fff!important;
  font-size:12px;font-weight:500;line-height:1;box-shadow:none
}
.hg-home-page .hg-drama-card__badge--new{
  left:auto;right:8px;top:8px;
  background:#f12e31!important;color:#fff!important
}
.hg-home-page .hg-drama-card__episode{
  left:auto;right:8px;bottom:8px;min-width:0;height:auto;padding:0 9px;
  border-radius:4px;background:rgba(29,35,37,.6);color:#fff;
  font-size:12px;line-height:20px;display:inline-flex;align-items:center;gap:4px
}
.hg-home-page .hg-drama-card__episode .is-muted{color:#d1d9dc}
.hg-home-page .hg-drama-card__body{
  display:flex;flex-direction:column;align-items:stretch;
  padding:0;gap:0;margin-top:4px
}
.hg-home-page .hg-drama-card__title{
  margin:0;font-size:16px;font-weight:700;line-height:24px;color:var(--hg-text-title)
}
.hg-home-page .hg-drama-card__title a{color:inherit;text-decoration:none}
.hg-home-page .hg-drama-card__desc{display:none}
.hg-home-page .hg-drama-card__meta{
  margin:0;font-size:14px;line-height:24px;color:#999
}
.hg-home-page .hg-drama-card__dot{color:#999}
.hg-home-page .hg-drama-card__detail{
  color:#999;text-decoration:none
}
.hg-home-page .hg-drama-card__detail:hover{color:#fff}
/* 源站标签：H5 半透绿字；PC 实心浅绿底深色字 */
.hg-home-page .hg-drama-card__tags{
  display:flex;flex-wrap:nowrap;align-items:center;gap:9px;margin-top:4px;overflow:hidden
}
.hg-home-page .hg-drama-card__tags .hg-tag,
.hg-home-page .hg-drama-card .hg-tag{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  height:26px;padding:0 10px;border:0;border-radius:999px;
  background:#a9e36f;color:#111214;font-size:12px;font-weight:400;line-height:20px;
  text-decoration:none;white-space:nowrap
}
/* 搜索建议/最近浏览的标签行按 --hg-tag-h 裁切。货架把胶囊写成 26px 后，
   行高仍是 19px，胶囊底部会被切掉一截。行高跟胶囊走。 */
.hg-home-page .hg-search-suggest__guess .hg-drama-card,
.hg-home-page .hg-history-dialog__list .hg-drama-card{--hg-tag-h:26px}
.hg-home-page .hg-drama-card__detail-btn{display:none}

@media (max-width:959px){
  .hg-home-page .hg-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4rem 2rem;padding:2rem
  }
  .hg-home-page .hg-drama-card{max-width:none}
  .hg-home-page .hg-drama-card__cover{aspect-ratio:3/4;border-radius:1.2rem}
  .hg-home-page .hg-drama-card__badge{
    top:1.2rem;left:1.4rem;height:3.6rem;padding:0 1.8rem;border-radius:0.8rem;
    display:inline-flex;align-items:center;justify-content:center;
    font-size:2rem;line-height:1;font-weight:400
  }
  .hg-home-page .hg-drama-card__badge--new{
    left:auto;right:1.2rem;top:1.2rem;background:#f12e31!important
  }
  .hg-home-page .hg-drama-card__episode{
    left:1rem;right:auto;bottom:1rem;flex-direction:column;align-items:flex-start;
    height:auto;min-height:6.4rem;width:13.8rem;padding:0.8rem 1.8rem;border-radius:0.8rem;
    font-size:2rem;line-height:2.8rem
  }
  .hg-home-page .hg-drama-card__body{margin-top:0.6rem}
  .hg-home-page .hg-drama-card__title{font-size:2.8rem;font-weight:400;line-height:4.8rem}
  .hg-home-page .hg-drama-card__meta{font-size:2.4rem;line-height:4.8rem}
  /* 小屏详情跟 PC：热度旁文字链，不用灰色块按钮 */
  .hg-home-page .hg-drama-card__dot{display:inline;color:#999}
  .hg-home-page .hg-drama-card__detail{display:inline;color:#999;text-decoration:none}
  .hg-home-page .hg-drama-card__detail:hover{color:#fff}
  .hg-home-page .hg-drama-card__detail-btn{display:none!important}
  .hg-home-page .hg-drama-card{--hg-tag-h:3.6rem}
  .hg-home-page .hg-drama-card .hg-drama-card__tags,
  .hg-home-page .hg-drama-card__tags{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    gap:0.6rem;margin-top:0;padding:0!important;box-sizing:content-box!important;
    max-height:none!important;height:auto!important;min-height:3.6rem;
    overflow:hidden!important
  }
  .hg-home-page .hg-drama-card .hg-drama-card__tags .hg-tag,
  .hg-home-page .hg-drama-card__tags .hg-tag,
  .hg-home-page .hg-drama-card .hg-tag{
    height:3.6rem!important;min-height:3.6rem!important;max-height:none!important;margin:0;
    padding:0 1.8rem!important;border:0!important;background:rgba(39,78,0,.2);color:#b5e7c6;
    font-size:2rem;line-height:3.6rem!important;box-sizing:border-box!important;
    overflow:visible!important
  }
  .hg-home-page .hg-search-suggest__guess .hg-drama-card,
  .hg-home-page .hg-history-dialog__list .hg-drama-card{--hg-tag-h:3.6rem}
}

/* ---------- Footer（源站居中：logo → slogan → pills → blurb → social → copyright） ---------- */
/* 源站 footer: mt-[4.8rem] / desktop:mt-[6.4rem]。压过 shell 的 margin-top:auto（内容撑满时否则为 0） */
.hg-layout .hg-main>.hg-footer,
.hg-footer{
  margin-top:64px;width:100%;background:#000;border-top:0;padding:0
}
.hg-footer .hg-footer__inner,
.hg-footer__inner{
  box-sizing:border-box;margin:0 auto;width:100%;max-width:1280px;min-height:0;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:flex-start!important;gap:0!important;padding:33px 0 0!important
}
.hg-footer__logo{display:inline-block;line-height:0}
.hg-footer__logo img{
  display:block;width:112px!important;height:40px!important;object-fit:contain
}
.hg-footer__slogan{
  margin:28px 0 0;font-size:16px;font-weight:700;line-height:20px;color:#f1f1f1;text-align:center
}
/* 源站 nav: H5 w-[68.8rem] flex-wrap；PC w-auto。窄宽都要能按窗口重排换行 */
.hg-footer__pills{
  box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:16px;margin:40px 0 0;width:100%;max-width:100%;min-width:0;padding:0 24px;color:#fff
}
.hg-footer__pill{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  min-width:88px;height:29px;padding:0 9px;border:1px solid transparent;border-radius:25px;
  background:linear-gradient(#1d1d1d,#1d1d1d) padding-box,linear-gradient(135deg,rgba(255,255,255,.4),rgba(255,255,255,.1)) border-box;
  color:#fff;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;white-space:nowrap
}
.hg-footer__pill:hover,.hg-footer__pill:active,.hg-footer__pill:focus-within{color:#d2cab5}
.hg-footer__blurb{
  margin:40px 0 0;width:auto;max-width:900px;padding:0 24px;text-align:center;
  font-size:14px;line-height:24px;color:#999
}
.hg-footer__blurb p{margin:0}
.hg-footer__blurb a{
  margin:0 5px;color:#999;text-decoration:none;word-break:break-all
}
.hg-footer__blurb a:hover,.hg-footer__blurb a:focus-visible{color:#fff}
.hg-footer__social{
  display:flex;align-items:flex-start;justify-content:center;gap:36px;margin:27px 0 0
}
.hg-footer__social-item{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  color:#999;font-size:12px;line-height:24px;text-decoration:none
}
.hg-footer__social-item img{
  display:block;width:40px;height:40px;object-fit:cover;border-radius:0
}
.hg-footer__legal{
  box-sizing:border-box;margin:20px 0 0;width:100%;
  border-top:1px solid rgba(255,255,255,.2);padding:30px 47px;text-align:center
}
.hg-footer__legal p{
  margin:0;font-size:16px;line-height:24px;color:#999
}
.hg-footer__legal a{color:#999;text-decoration:none}
.hg-footer__legal a:hover{color:#fff}
/* kill legacy 51 column footer look */
.hg-footer__cols,.hg-footer__col,.hg-footer__brand,.hg-footer__copy,.hg-footer__addrs{display:none!important}

@media (max-width:959px){
  .hg-layout .hg-main>.hg-footer,
  .hg-footer{margin-top:4.8rem}
  .hg-footer__inner{padding:4.6rem 0 0}
  .hg-footer__logo img{width:22.4rem!important;height:8rem!important}
  .hg-footer__slogan{
    margin:3.8rem 0 0;font-size:3.2rem;font-weight:700;line-height:4rem
  }
  .hg-footer__pills{
    flex-wrap:wrap;align-self:center;width:68.8rem;max-width:calc(100% - 4rem);min-width:0;
    padding:0;gap:2rem 1.6rem;margin:5rem 0 0
  }
  .hg-footer__pill{
    flex:0 0 12.4rem;width:12.4rem;min-width:12.4rem;max-width:12.4rem;
    height:4.4rem;padding:0 0.6rem;border-radius:5rem;
    font-size:2rem;line-height:2.8rem
  }
  .hg-footer__blurb{
    margin:3rem 0 0;width:69.4rem;max-width:calc(100% - 4rem);padding:0;
    font-size:2.4rem;line-height:4.8rem
  }
  .hg-footer__blurb a{margin:0 0.8rem}
  .hg-footer__social{gap:7.6rem;margin:4.2rem 0 0}
  .hg-footer__social-item{gap:0.6rem;font-size:2.4rem;line-height:4.8rem}
  .hg-footer__social-item img{width:6.8rem;height:6.8rem}
  .hg-footer__legal{margin:3.2rem 0 0;padding:2rem;border-color:rgba(255,255,255,.2)}
  .hg-footer__legal p{font-size:2.4rem;line-height:4.8rem}
}

/* ---------- 回家的路 H5（源站 homeward 单列富文本 + 域名列表气质） ---------- */
@media (max-width:959px){
  body.hg-page-homeway,
  body.hg-page-homeway .hg-main,
  body.hg-page-homeway .hg-homeway-page{
    background:#1d2325;
    color:#f4f4f5
  }
  .hg-page-homeway .hg-homeway-page>.hg-breadcrumb{
    box-sizing:border-box;
    width:100%;
    height:auto;
    margin:0;
    padding:2.2rem 3rem 0;
    gap:0.8rem;
    align-items:center;
    font-size:2.4rem;
    line-height:4.4rem;
    color:#fff
  }
  .hg-page-homeway .hg-homeway-page>.hg-breadcrumb a{
    color:#fff;
    text-decoration:none
  }
  .hg-page-homeway .hg-homeway-page>.hg-breadcrumb__current{
    color:#b0b1b3
  }
  .hg-page-homeway .hg-homeway-hero{
    width:100%;
    min-height:0;
    margin:3.4rem 0 0;
    padding:0 3rem 2.4rem;
    background:transparent
  }
  .hg-page-homeway .hg-homeway-hero__bg,
  .hg-page-homeway .hg-homeway-hero__divider{
    display:none
  }
  .hg-page-homeway .hg-homeway-hero__inner{
    align-items:flex-start;
    max-width:none;
    padding:0
  }
  .hg-page-homeway .hg-homeway-hero__badge,
  .hg-page-homeway .hg-homeway-hero__brand{
    display:none
  }
  .hg-page-homeway .hg-homeway-hero h1{
    margin:0;
    font-size:2.8rem;
    font-weight:700;
    line-height:3.5rem;
    text-align:left;
    color:#fff
  }
  .hg-page-homeway .hg-homeway-hero__desc{
    margin:1.2rem 0 0;
    font-size:2.2rem;
    line-height:3.6rem;
    color:#b0b1b3
  }
  .hg-page-homeway .hg-homeway-hero__actions{
    flex-direction:column;
    gap:1.2rem;
    margin:2.8rem 0 0;
    width:100%
  }
  .hg-page-homeway .hg-homeway-hero__actions .hg-btn{
    width:100%;
    height:6.4rem;
    min-height:6.4rem;
    border-radius:2rem;
    font-size:2.8rem;
    font-weight:400;
    line-height:1
  }
  .hg-page-homeway .hg-homeway-hero__actions .hg-btn--primary{
    background:var(--color-primary,#274e00);
    border-color:var(--color-primary,#274e00);
    color:#fff
  }
  .hg-page-homeway .hg-homeway-hero__actions .hg-btn--outline{
    border:1px solid rgba(255,255,255,.8);
    background:rgba(230,224,233,.16);
    color:#fff;
    box-shadow:0 0.2rem 1.5rem rgba(0,0,0,.4);
    backdrop-filter:blur(0.2rem)
  }
  .hg-page-homeway .hg-homeway-panel,
  .hg-page-homeway .hg-homeway-faq,
  .hg-page-homeway .hg-about.hg-homeway-panel{
    box-sizing:border-box;
    width:calc(100% - 6rem);
    max-width:none;
    margin:3.4rem auto 0;
    padding:2rem;
    border:1px solid #35363c;
    border-radius:2rem;
    background:#27282d
  }
  .hg-page-homeway .hg-homeway-hero+.hg-homeway-panel{
    margin-top:3.4rem
  }
  .hg-page-homeway .hg-homeway-panel__head{
    margin-bottom:1.2rem;
    min-height:0;
    gap:1.2rem
  }
  .hg-page-homeway .hg-homeway-panel__head>h2{
    font-size:2.8rem;
    font-weight:700;
    line-height:3.5rem;
    color:#fff
  }
  .hg-page-homeway .hg-homeway-panel__tag{
    font-size:2rem;
    line-height:2.8rem;
    color:var(--color-primary,#5df2b8)
  }
  .hg-page-homeway .hg-homeway-panel__desc{
    margin:0 0 2rem;
    font-size:2.2rem;
    line-height:3.6rem;
    color:#b0b1b3
  }
  .hg-page-homeway .hg-homeway-permanent__item{
    flex-direction:column;
    align-items:stretch;
    gap:1.6rem;
    padding:1.6rem;
    border:1px solid rgba(255,255,255,.08);
    border-radius:1.2rem;
    background:rgba(0,0,0,.2)
  }
  .hg-page-homeway .hg-homeway-permanent__label{
    font-size:2rem;
    line-height:2.8rem;
    color:#b0b1b3
  }
  .hg-page-homeway .hg-homeway-permanent__domain{
    font-size:2.4rem;
    font-weight:500;
    line-height:3rem;
    color:#fff;
    word-break:break-all
  }
  .hg-page-homeway .hg-homeway-permanent__item .hg-btn,
  .hg-page-homeway .hg-homeway-line__actions .hg-btn,
  .hg-page-homeway .hg-homeway-antilost .hg-btn{
    width:100%;
    min-height:4.8rem;
    height:4.8rem;
    border-radius:2.4rem;
    font-size:2rem;
    line-height:2.8rem
  }
  .hg-page-homeway .hg-homeway-card{
    border:1px solid rgba(255,255,255,.08);
    border-radius:1.2rem;
    background:rgba(0,0,0,.2);
    padding:2rem 1.6rem
  }
  .hg-page-homeway .hg-homeway-card__title h3{
    font-size:2.2rem;
    line-height:3.2rem
  }
  .hg-page-homeway .hg-homeway-card>p{
    font-size:2rem;
    line-height:3rem;
    color:#b0b1b3
  }
  .hg-page-homeway .hg-homeway-faq h2{
    font-size:2.8rem;
    line-height:3.5rem
  }
  .hg-page-homeway .hg-homeway-faq summary{
    font-size:2rem;
    line-height:3rem
  }
  .hg-page-homeway .hg-homeway-faq details p,
  .hg-page-homeway .hg-about p,
  .hg-page-homeway .hg-about li{
    font-size:2.2rem;
    line-height:3.6rem;
    color:#b0b1b3
  }
  .hg-page-homeway .hg-about a{
    color:#b5e7c6;
    word-break:break-all
  }
}

/* ---------- Tags cloud（PC） ---------- */
.hg-tag-cloud{
  display:flex;flex-wrap:wrap;align-items:center;gap:20px 12px;
  margin:12px 0 0;padding:34px 41px;min-height:300px;
  border-radius:10px;border:1px solid #414141;background:#121214
}
.hg-tag-cloud .hg-tag{
  display:inline-flex;align-items:center;height:33px;padding:6px 10px;
  border:0;border-radius:999px;background:rgba(39,78,0,.2);color:#b5e7c6;
  font-size:14px;line-height:21px;text-decoration:none;
  transition:background .2s ease,color .2s ease
}
.hg-tag-cloud .hg-tag:hover,.hg-tag-cloud .hg-tag:active{background:#274e00;color:#fff}

/* ---------- 常见问题 / 关于页（源站 about：面包屑 + 标题 + 单卡片正文） ---------- */
body[data-page-id="info-detail"] .main:has(.hg-about-page),
body[data-page-id="homeway"] .main:has(.hg-about-page){padding:0!important}
.hg-about-page{
  box-sizing:border-box;width:100%;max-width:1167px;margin:24px auto 0;padding:0 0 64px
}
.hg-about-page__crumb{display:flex;align-items:center;gap:6px;min-width:0}
.hg-about-page__crumb a{
  color:#fff;font-size:16px;font-weight:400;line-height:22px;text-decoration:none;white-space:nowrap
}
.hg-about-page__sep{display:inline-flex;width:16px;height:16px;flex:0 0 16px}
.hg-about-page__sep img{display:block;width:100%;height:100%}
.hg-about-page__current{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#b0b1b3;font-size:16px;font-weight:400;line-height:22px
}
.hg-about-page__title{
  width:fit-content;margin:31px 0 0;
  font-size:24px;font-weight:700;line-height:36px;letter-spacing:-0.96px;
  background:linear-gradient(to bottom,#fff 30%,#999);
  -webkit-background-clip:text;background-clip:text;color:transparent
}
.hg-about-page__card{
  box-sizing:border-box;margin-top:30px;
  border:1px solid #414141;border-radius:10px;background:#121214;
  padding:28px 22px 60px
}
.hg-about-page__rich,
.hg-about-page__rich p,
.hg-about-page__rich li{
  color:#b0b1b3!important;font-size:18px!important;font-weight:400!important;line-height:30px!important;
  word-break:break-word
}
.hg-about-page__rich p{margin:0!important;min-height:1em}
.hg-about-page__rich h1,
.hg-about-page__rich h2,
.hg-about-page__rich h3,
.hg-about-page__rich h4{
  color:#fff!important;font-size:inherit!important;font-weight:700!important;line-height:inherit!important;margin:0!important
}
.hg-about-page__rich p+h2,
.hg-about-page__rich p+h3,
.hg-about-page__rich p+h4,
.hg-about-page .hg-site-info__card+.hg-site-info__card{margin-top:1em!important}
.hg-about-page__rich a{color:#b5e7c6!important;word-break:break-all}
.hg-about-page__rich a:hover{text-decoration:underline}
.hg-about-page .hg-site-info{max-width:none!important;padding:0!important;font-size:inherit!important;line-height:inherit!important;color:inherit!important}
.hg-about-page .hg-breadcrumb{display:none!important}
.hg-about-page .hg-site-info__head{margin:0!important}
.hg-about-page .hg-site-info__head h1{display:none!important}
.hg-about-page .hg-site-info__head p{margin:0!important}
.hg-about-page .hg-faq{margin:0!important;padding:0!important}
.hg-about-page .hg-faq>h2{display:none!important}
.hg-about-page .hg-site-info__grid,
.hg-about-page .hg-faq>.hg-site-info__grid{display:block!important;margin:0!important;gap:0!important}
.hg-about-page .hg-site-info__card{
  min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important
}
.hg-about-page .hg-site-info__no{display:none!important}

/* ---------- Browse /browse（源站筛选面板 + 5 列卡，PC 1rem=10px） ---------- */
.hg-drama-card__status{display:none}
@media (min-width:960px){
.hg-hgdju-browse .hg-browse-page{padding:0 0 40px}
.hg-hgdju-browse .hg-browse-filter{
  box-sizing:border-box;margin:29px 0 0;padding:25px 23px 18px;
  border:1px solid rgba(82,82,82,.5);border-radius:8px;background:#1a1b1e;
  display:flex;flex-direction:column;gap:24px
}
.hg-hgdju-browse .hg-browse-filter__row{
  display:flex;align-items:flex-start;gap:0
}
.hg-hgdju-browse .hg-browse-filter__label{
  flex:0 0 88px;width:88px;margin:0;padding-top:3px;
  font-size:18px;font-weight:400;line-height:21px;color:#f1f1f1
}
.hg-hgdju-browse .hg-browse-filter__chips{
  flex:1;display:flex;flex-wrap:wrap;align-items:center;
  gap:24px 12px;margin:0;min-width:0
}
.hg-hgdju-browse .hg-browse-chip{
  display:inline-flex;align-items:center;height:26px;padding:0 10px;
  border-radius:999px;background:#27282d;color:#c0c0c0;
  font-size:16px;font-weight:400;line-height:21px;text-decoration:none;
  transition:background .15s,color .15s
}
.hg-hgdju-browse .hg-browse-chip:hover,
.hg-hgdju-browse .hg-browse-chip.is-active{
  background:#274e00;color:#fff
}
.hg-hgdju-browse .hg-browse-board{margin-top:24px;padding:0}
.hg-hgdju-browse .hg-card-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:22px 32px;margin:0;padding:8px 0 7px
}
.hg-hgdju-browse .hg-card-grid .hg-drama-card{
  max-width:none;width:100%;justify-self:stretch;gap:0;overflow:visible;
  padding:0;border:0;border-radius:0;background:transparent
}
.hg-hgdju-browse .hg-drama-card:hover{transform:none;box-shadow:none}
.hg-hgdju-browse .hg-card-grid .hg-drama-card__cover{
  aspect-ratio:3/4;border-radius:4px;margin:0
}
.hg-hgdju-browse .hg-drama-card__cover img{
  width:100%;height:100%;object-fit:cover;transition:transform .3s ease-out
}
.hg-hgdju-browse .hg-drama-card:hover .hg-drama-card__cover img,
.hg-hgdju-browse .hg-drama-card:focus-within .hg-drama-card__cover img{
  transform:scale(1.125)
}
.hg-hgdju-browse .hg-drama-card__badge{
  top:8px;left:8px;height:20px;padding:0 9px;border:0;border-radius:4px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#274e00!important;color:#fff!important;
  font-size:12px;font-weight:500;line-height:1;box-shadow:none
}
.hg-hgdju-browse .hg-drama-card__badge--new{
  left:auto;right:8px;top:8px;background:#f12e31!important
}
.hg-hgdju-browse .hg-drama-card__episode{
  left:auto;right:8px;bottom:8px;width:auto;height:20px;min-height:0;
  flex-direction:row;align-items:center;justify-content:center;
  padding:0 9px;border-radius:4px;background:rgba(29,35,37,.6);color:#fff;
  font-size:12px;font-weight:500;line-height:12px;gap:0
}
.hg-hgdju-browse .hg-card-grid .hg-drama-card__body{
  display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;margin-top:4px
}
.hg-hgdju-browse .hg-drama-card__title{
  margin:0;font-size:16px;font-weight:700;line-height:24px;color:#f1f1f1
}
.hg-hgdju-browse .hg-drama-card__title a{color:inherit;text-decoration:none}
.hg-hgdju-browse .hg-drama-card__meta{
  margin:0;font-size:14px;font-weight:400;line-height:24px;color:#999
}
.hg-hgdju-browse .hg-drama-card__status{display:inline}
.hg-hgdju-browse .hg-drama-card__tags{
  display:flex;flex-wrap:nowrap;align-items:center;gap:9px;margin-top:4px;overflow:hidden
}
.hg-hgdju-browse .hg-drama-card__tags .hg-tag{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  height:26px;padding:0 10px;border:0;border-radius:999px;
  background:#a9e36f;color:#111214;font-size:12px;font-weight:400;line-height:20px;
  text-decoration:none;white-space:nowrap
}
.hg-hgdju-browse .hg-drama-card__detail-btn{display:none}
.hg-hgdju-browse .hg-channel-pager{
  display:flex;flex-direction:row;justify-content:center;align-items:center;
  gap:13px;margin-top:20px;padding:12px 0;color:#b0b1b3
}
.hg-hgdju-browse .hg-channel-pager__bar,
.hg-hgdju-browse .hg-channel-pager__pages,
.hg-hgdju-browse .hg-channel-pager__jump{display:flex;align-items:center}
.hg-hgdju-browse .hg-channel-pager__bar{gap:13px}
.hg-hgdju-browse .hg-channel-pager__pages{gap:10px}
.hg-hgdju-browse .hg-channel-pager__total,
.hg-hgdju-browse .hg-channel-pager__jump{
  color:#f5f5f5;font-size:16px;font-weight:400;line-height:24px
}
.hg-hgdju-browse .hg-channel-pager__jump{gap:13px}
.hg-hgdju-browse .hg-channel-pager__set--h5{display:none}
.hg-hgdju-browse .hg-channel-pager__set--pc{display:flex;align-items:center;gap:10px}
.hg-hgdju-browse .hg-channel-pager__page,
.hg-hgdju-browse .hg-channel-pager__arrow{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;padding:0;border:0;border-radius:2px;
  background:#2f2f2f;color:#fff;font-size:16px;font-weight:400;line-height:1;
  text-decoration:none
}
.hg-hgdju-browse .hg-channel-pager__arrow{background:#232429}
.hg-hgdju-browse .hg-channel-pager__arrow img{width:15px;height:15px}
.hg-hgdju-browse .hg-channel-pager__arrow:disabled{opacity:.4;cursor:not-allowed}
.hg-hgdju-browse .hg-channel-pager__page.is-active{background:#274e00;color:#fff}
.hg-hgdju-browse .hg-channel-pager__page.is-gap{background:#2f2f2f;color:#fff}
.hg-hgdju-browse .hg-channel-pager__input{
  box-sizing:border-box;width:50px;height:30px;margin:0;padding:0;
  border:1px solid #414141;border-radius:5px;background:transparent;
  color:#fff;font-size:16px;font-weight:400;line-height:24px;text-align:center
}
.hg-hgdju-browse .hg-channel-pager__confirm{
  height:auto;width:auto;margin:0;padding:4px 10px;border:0;border-radius:5px;
  background:#232429;color:#fff;font-size:16px;font-weight:400;line-height:24px;cursor:pointer
}
}

/* ---------- Channel pages (源站 /aiduanju：热榜 + 全部，PC 1rem=10px) ---------- */
/* 内容栏与首页同一套：<960 通栏；≥960 max 1284 + 24px；≥1320 左右为 0。 */
@media (min-width:960px){
.hg-hgdju-channel .hg-channel-board{padding-top:18px}
.hg-hgdju-channel .hg-channel-board--all{padding-top:32px}
.hg-hgdju-channel .hg-card-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:22px 32px;margin:0;padding:8px 0 7px
}
.hg-hgdju-channel .hg-card-grid .hg-drama-card{
  max-width:none;width:100%;justify-self:stretch;gap:0;overflow:visible;
  padding:0;border:0;border-radius:0;background:transparent
}
.hg-hgdju-channel .hg-drama-card:hover{transform:none;box-shadow:none}
.hg-hgdju-channel .hg-card-grid .hg-drama-card__cover{
  aspect-ratio:3/4;border-radius:4px;margin:0
}
.hg-hgdju-channel .hg-drama-card__cover img{
  width:100%;height:100%;object-fit:cover;transition:transform .3s ease-out
}
.hg-hgdju-channel .hg-drama-card:hover .hg-drama-card__cover img,
.hg-hgdju-channel .hg-drama-card:focus-within .hg-drama-card__cover img{
  transform:scale(1.125)
}
.hg-hgdju-channel .hg-drama-card__badge{
  top:8px;left:8px;height:20px;padding:0 9px;border:0;border-radius:4px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#274e00!important;color:#fff!important;
  font-size:12px;font-weight:500;line-height:1;box-shadow:none
}
.hg-hgdju-channel .hg-drama-card__badge--new{
  left:auto;right:8px;top:8px;background:#f12e31!important
}
.hg-hgdju-channel .hg-drama-card__episode{
  left:auto;right:8px;bottom:8px;width:auto;height:20px;min-height:0;
  flex-direction:row;align-items:center;justify-content:center;
  padding:0 9px;border-radius:4px;background:rgba(29,35,37,.6);color:#fff;
  font-size:12px;font-weight:500;line-height:12px;gap:0
}
.hg-hgdju-channel .hg-card-grid .hg-drama-card__body{
  display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;margin-top:4px
}
.hg-hgdju-channel .hg-drama-card__title{
  margin:0;font-size:16px;font-weight:700;line-height:24px;color:#f1f1f1
}
.hg-hgdju-channel .hg-drama-card__title a{color:inherit;text-decoration:none}
.hg-hgdju-channel .hg-drama-card__meta{
  margin:0;font-size:14px;font-weight:400;line-height:24px;color:#999
}
.hg-hgdju-channel .hg-drama-card__dot,
.hg-hgdju-channel .hg-drama-card__detail{display:inline;color:#999;text-decoration:none}
.hg-hgdju-channel .hg-drama-card__detail:hover{color:#fff}
.hg-hgdju-channel .hg-drama-card__tags{
  display:flex;flex-wrap:nowrap;align-items:center;gap:9px;margin-top:4px;overflow:hidden
}
.hg-hgdju-channel .hg-drama-card__tags .hg-tag{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  height:26px;padding:0 10px;border:0;border-radius:999px;
  background:#a9e36f;color:#111214;font-size:12px;font-weight:400;line-height:20px;
  text-decoration:none;white-space:nowrap
}
.hg-hgdju-channel .hg-drama-card__detail-btn{display:none}
.hg-hgdju-channel .hg-channel-pager{
  display:flex;flex-direction:row;justify-content:center;align-items:center;
  gap:13px;margin-top:20px;padding:12px 0;color:#b0b1b3
}
.hg-hgdju-channel .hg-channel-pager__bar,
.hg-hgdju-channel .hg-channel-pager__pages,
.hg-hgdju-channel .hg-channel-pager__jump{
  display:flex;align-items:center
}
.hg-hgdju-channel .hg-channel-pager__bar{gap:13px}
.hg-hgdju-channel .hg-channel-pager__pages{gap:10px}
.hg-hgdju-channel .hg-channel-pager__total,
.hg-hgdju-channel .hg-channel-pager__jump{
  color:#f5f5f5;font-size:16px;font-weight:400;line-height:24px
}
.hg-hgdju-channel .hg-channel-pager__jump{gap:13px}
.hg-hgdju-channel .hg-channel-pager__set--h5{display:none}
.hg-hgdju-channel .hg-channel-pager__set--pc{display:flex;align-items:center;gap:10px}
.hg-hgdju-channel .hg-channel-pager__page,
.hg-hgdju-channel .hg-channel-pager__arrow{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;padding:0;border:0;border-radius:2px;
  background:#2f2f2f;color:#fff;font-size:16px;font-weight:400;line-height:1;
  text-decoration:none
}
.hg-hgdju-channel .hg-channel-pager__arrow{background:#232429}
.hg-hgdju-channel .hg-channel-pager__arrow img{width:15px;height:15px}
.hg-hgdju-channel .hg-channel-pager__arrow:disabled{opacity:.4;cursor:not-allowed}
.hg-hgdju-channel .hg-channel-pager__page.is-active{background:#274e00;color:#fff}
.hg-hgdju-channel .hg-channel-pager__page.is-gap{background:#2f2f2f;color:#fff}
.hg-hgdju-channel .hg-channel-pager__input{
  box-sizing:border-box;width:50px;height:30px;margin:0;padding:0;
  border:1px solid #414141;border-radius:5px;background:transparent;
  color:#fff;font-size:16px;font-weight:400;line-height:24px;text-align:center
}
.hg-hgdju-channel .hg-channel-pager__confirm{
  height:auto;width:auto;margin:0;padding:4px 10px;border:0;border-radius:5px;
  background:#232429;color:#fff;font-size:16px;font-weight:400;line-height:24px;cursor:pointer
}
}

/* ---------- 内页内容栏（与首页 hg-section 同一套校对） ----------
   源站 search / 频道 / 列表：desktop max-w 1284px，960–1319 左右 24px，≥1320 为 0。
   标签大全：desktop max-w 116.7rem（1167px），main 不再加左右 padding。
   播放页、详情、回家的路是另一套宽度，不进这里。
   内层 .hg-list-page 不能再加 --hg-page-gutter，否则比首页货架窄一圈。 */
.hg-content-shell .main,
body[data-page-id="search"] .main,
body[data-page-id="recommend"] .main,
body[data-page-id="recommend-module"] .main,
body[data-page-id="newest"] .main,
body[data-page-id="rank"] .main,
body[data-page-id="categories"] .main,
body[data-page-id="browse"] .main,
body[data-page-id="tags"] .main,
body[data-page-id="background"] .main,
body[data-page-id="info"] .main,
body[data-page-id="page"] .main,
body[data-page-id="account"] .main,
body[data-page-id^="account-"] .main,
body[data-page-id="tag-rank"] .main{
  box-sizing:border-box;width:100%;max-width:none;margin:0 auto;padding:0
}
@media (min-width:960px){
  body[data-page-id="search"] .main,
  body[data-page-id="recommend"] .main,
  body[data-page-id="recommend-module"] .main,
  body[data-page-id="newest"] .main,
  body[data-page-id="rank"] .main,
  body[data-page-id="categories"] .main,
  body[data-page-id="browse"] .main,
  body[data-page-id="tags"] .main,
  body[data-page-id="background"] .main,
  body[data-page-id="info"] .main,
  body[data-page-id="page"] .main,
  body[data-page-id="account"] .main,
  body[data-page-id^="account-"] .main{
    max-width:1284px;padding:0 24px
  }
  body[data-page-id="tag-rank"] .main{max-width:1167px;padding:0}
  .hg-51-page .hg-list-page,
  .hg-51-search .hg-search-page,
  .hg-51-legal .hg-site-info,
  .hg-51-brand .hg-site-info,
  .hg-51-post .hg-post-detail{
    padding-left:0;padding-right:0
  }

  /* 标签大全：源站面包屑 16/22，标题渐变 24/36，云在 main 内不再缩一圈 */
  .hg-tags-page .hg-breadcrumb{margin:0;font-size:16px;line-height:22px}
  .hg-tags-page .hg-breadcrumb a{color:#fff;text-decoration:none}
  .hg-tags-page .hg-breadcrumb__current{color:#b0b1b3}
  .hg-tags-page .hg-channel-page__head{margin:0}
  .hg-tags-page .hg-channel-page__head--tag>h1{
    display:block;width:fit-content;margin:31px 0 0;padding:0;gap:0;
    font-size:24px;font-weight:700;line-height:36px;letter-spacing:-0.96px;
    background:linear-gradient(to bottom,#fff 30%,#999);
    -webkit-background-clip:text;background-clip:text;color:transparent
  }
  .hg-tags-page .hg-channel-page__head--tag>h1::before{display:none}

  /* ---------- 搜索页 PC（源站 search/index + result，1rem=10px） ---------- */
  /* 压过 hg-51-pages ≥1024 的 has-query 隐藏搜索栏 */
  .hg-51-search.has-query .hg-search-stage{display:block}
  .hg-51-search .hg-search-page{max-width:none;padding:0 0 48px;background:transparent}
  .hg-51-search .hg-search-page>.hg-breadcrumb,
  .hg-51-search .hg-search-history,
  .hg-51-search .hg-faq{display:none!important}
  .hg-51-search .hg-search-stage{display:block;margin:0;padding:0}
  .hg-51-search .hg-search-stage__form{
    position:relative;box-sizing:border-box;display:flex;align-items:center;
    width:100%;max-width:1088px;height:54px;margin:35px auto 0;padding:0 0 0 26px;
    border:1px solid #3a3c50;border-radius:34px;background:#252632
  }
  .hg-51-search .hg-search-stage__icon{
    position:static;display:inline-flex;flex:0 0 18px;width:18px;height:18px;margin:0;border:0;background:transparent
  }
  .hg-51-search .hg-search-stage__icon::after{display:none}
  .hg-51-search .hg-search-stage__icon-h5{display:none!important}
  .hg-51-search .hg-search-stage__icon-pc{
    display:block!important;width:18px!important;height:18px!important;max-width:none!important;object-fit:contain
  }
  .hg-51-search .hg-search-stage__form input{
    flex:1;min-width:0;height:100%;margin:0 0 0 7px;padding:0 160px 0 0;border:0;outline:0;
    background:transparent;color:#d1d9dc;font-size:13px;font-weight:400;line-height:20px
  }
  .hg-51-search .hg-search-stage__form input::placeholder{color:#d1d9dc;opacity:1}
  .hg-51-search .hg-search-stage__form button{
    position:absolute;right:8px;top:50%;transform:translateY(-50%);
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
    width:135px;height:38px;margin:0;padding:0;border:0;border-radius:29px;
    background:#274e00;color:#e8eced;font-size:14px;font-weight:700;line-height:1;cursor:pointer
  }
  .hg-51-search .hg-search-stage__form button:hover{filter:brightness(1.05)}

  .hg-51-search .hg-search-watching{box-sizing:border-box;width:100%;margin:38px 0 0;padding:0 13px}
  .hg-51-search .hg-search-watching__title{
    margin:0;padding:0;font-size:32px;font-weight:700;line-height:60px;color:#f1f1f1
  }
  .hg-51-search .hg-search-watching__empty{
    margin:24px 0 0;padding:60px 0;text-align:center;color:rgba(255,255,255,.45);font-size:14px
  }
  .hg-51-search .hg-search-watching__grid.hg-card-grid{
    display:grid;box-sizing:border-box;width:100%;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:20px 26px;margin:20px 0 0;padding:0
  }

  .hg-51-search .hg-search-results{margin:0;padding:0}
  .hg-51-search .hg-search-summary{
    margin:57px 0 0;padding:0 13px;font-size:32px;font-weight:400;line-height:60px;color:#f1f1f1
  }
  .hg-51-search .hg-search-summary__kw,
  .hg-51-search .hg-drama-card__title .search-hit{color:#ec9027}
  .hg-51-search .hg-search-results .hg-card-grid{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
    gap:20px 26px;margin:0;padding:18px 13px 0
  }
  .hg-51-search .hg-search-empty{
    box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:0;min-height:calc(100dvh - 500px);margin:0;padding:60px 16px;border:0;border-radius:0;
    background:transparent;text-align:center
  }
  .hg-51-search .hg-search-empty__icon{
    position:relative;width:427px;height:273px;flex:none
  }
  .hg-51-search .hg-search-empty__icon img{
    position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain
  }
  .hg-51-search .hg-search-empty__text{
    margin:0;padding:0 10px;color:#7f8189;font-size:14px;font-weight:400;line-height:normal
  }
  .hg-51-search .hg-search-empty:has(+ .hg-search-watching){min-height:0}
}
@media (min-width:1320px){
  body[data-page-id="search"] .main,
  body[data-page-id="recommend"] .main,
  body[data-page-id="recommend-module"] .main,
  body[data-page-id="newest"] .main,
  body[data-page-id="rank"] .main,
  body[data-page-id="categories"] .main,
  body[data-page-id="browse"] .main,
  body[data-page-id="tags"] .main,
  body[data-page-id="background"] .main,
  body[data-page-id="info"] .main,
  body[data-page-id="page"] .main,
  body[data-page-id="account"] .main,
  body[data-page-id^="account-"] .main{
    padding-left:0;padding-right:0
  }
  body[data-page-id="tag-rank"] .main{max-width:1167px;padding:0}
}

/* 推荐 / 最近上新 / 标签结果 / 背景：卡片与频道页同一套，不再用 51 的 306/420 内边距卡 */
@media (min-width:960px){
  :is(.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-card-grid{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
    gap:22px 32px;margin:0;padding:8px 0 7px
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card{
    max-width:none;width:100%;justify-self:stretch;gap:0;overflow:visible;
    padding:0;border:0;border-radius:0;background:transparent
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card:hover{
    transform:none;box-shadow:none
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-card-grid .hg-drama-card__cover{
    aspect-ratio:3/4;border-radius:4px;margin:0
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card__cover img{
    width:100%;height:100%;object-fit:cover;transition:transform .3s ease-out
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card:hover .hg-drama-card__cover img{
    transform:scale(1.125)
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card__badge{
    top:8px;left:8px;height:20px;padding:0 9px;border:0;border-radius:4px;
    display:inline-flex;align-items:center;justify-content:center;
    background:#274e00!important;color:#fff!important;
    font-size:12px;font-weight:500;line-height:1;box-shadow:none
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card__episode{
    left:auto;right:8px;bottom:8px;width:auto;min-width:0;height:20px;min-height:0;
    padding:0 9px;border-radius:4px;background:rgba(29,35,37,.6);color:#fff;
    font-size:12px;font-weight:500;line-height:12px
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-card-grid .hg-drama-card__body{
    display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;margin-top:4px
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card__title{
    margin:0;font-size:16px;font-weight:700;line-height:24px;color:#f1f1f1
  }
  .hg-51-search .hg-drama-card__kind{
    margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    font-size:14px;font-weight:400;line-height:24px;color:#b5e7c6
  }
  .hg-51-search .hg-drama-card__kind span{color:#b5b7bf}
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card__meta{
    margin:0;font-size:14px;font-weight:400;line-height:24px;color:#999
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card__tags .hg-tag{
    height:26px;padding:0 10px;border:0;border-radius:999px;
    background:#a9e36f;color:#111214;font-size:12px;line-height:20px
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-drama-card__detail-btn{display:none}

  /* 压过 hg-51-pages 搜索卡 (0,4,0) 和 51 集数条 (0,2,1) */
  .hg-51-search .hg-search-results .hg-card-grid .hg-drama-card,
  .hg-51-search .hg-search-watching__grid .hg-drama-card{
    padding:0;gap:0;border-radius:0;background:transparent
  }
  .hg-51-search .hg-search-results .hg-drama-card__cover,
  .hg-51-search .hg-search-watching__grid .hg-drama-card__cover{
    aspect-ratio:3/4;border-radius:4px
  }
  .hg-51-search .hg-search-results .hg-drama-card__title,
  .hg-51-search .hg-search-watching__grid .hg-drama-card__title{
    font-size:16px;font-weight:700;line-height:24px;color:#f1f1f1
  }
  :is(.hg-51-search,.hg-51-recommend,.hg-51-newest,.hg-51-topic-detail,body[data-page-id="tags"],body[data-page-id="background"]) .hg-card-grid .hg-drama-card__episode{
    left:auto;right:8px;bottom:8px;width:auto;min-width:0;height:20px;
    padding:0 9px;border-radius:4px;background:rgba(29,35,37,.6);color:#fff;
    font-size:12px;font-weight:500;line-height:12px
  }
}
