:root {
  --color-primary: #ffd21c;
  --color-page: #080808;
  --hg-page-gutter: 16px;
  --hg-card-bg: #141414;
  --hg-badge-gradient: linear-gradient(98.55deg, #dfa048 1.5%, #ffe166 98.5%);
  color-scheme: dark;
}
@media (min-width: 768px) {
  :root { --hg-page-gutter: clamp(24px, 5vw, 96px); }
}
@media (min-width: 1280px) {
  :root { --hg-page-gutter: 96px; }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--color-page); color: #fff; }
body {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  padding-top: 78px;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }

.hg-header {
  position: fixed; z-index: 20; left: 0; right: 0; top: 0;
  height: 78px; background: #0d0d0d; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hg-header__inner {
  height: 78px; display: flex; align-items: center; gap: 16px;
  padding: 0 var(--hg-page-gutter);
}
.hg-header__logo {
  flex-shrink: 0; font-size: 22px; font-weight: 700; letter-spacing: 1px; color: var(--color-primary);
}
.hg-header__menu, .hg-header__search-btn { display: none; }
.hg-topbar-nav {
  display: flex; flex: 1; align-items: center; gap: 4px; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.hg-topbar-nav::-webkit-scrollbar { display: none; }
.hg-topbar-nav__item {
  display: inline-flex; align-items: center; height: 38px; padding: 0 12px;
  border-radius: 999px; color: rgba(255, 255, 255, 0.78); font-size: 14px; white-space: nowrap;
}
.hg-topbar-nav__item:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.hg-topbar-nav__item.is-active { color: #111; background: var(--color-primary); font-weight: 600; }
.hg-header__search { position: relative; flex: 0 0 240px; width: 240px; }
.hg-search {
  width: 100%; height: 36px; display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 16px; border-radius: 999px; background: #1e1e1e; border: 1px solid rgba(255, 255, 255, 0.08);
}
.hg-search:focus-within { border-color: var(--color-primary); }
.hg-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff;
}
.hg-search input::placeholder { color: rgba(255, 255, 255, 0.3); }
.hg-search__submit {
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: transparent; color: rgba(255, 255, 255, 0.7); cursor: pointer;
}
.hg-header__login { flex-shrink: 0; color: var(--color-primary); font-size: 14px; font-weight: 600; }
.hg-mobile-nav {
  position: fixed; z-index: 19; left: 0; right: 0; top: 56px; bottom: 0;
  background: #111; padding: 12px;
}
.hg-mobile-nav[hidden] { display: none; }
.hg-nav-list { display: flex; flex-direction: column; gap: 4px; }
.hg-nav-item {
  display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 10px;
  color: rgba(255, 255, 255, 0.75);
}
.hg-nav-item.is-active { color: #111; background: var(--color-primary); font-weight: 600; }

.hg-main { background: var(--color-page); min-height: calc(100vh - 78px); }

@keyframes hg-hero-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hg-hero-content-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hg-announce { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hg-hero {
  position: relative; height: 623px; margin: 16px var(--hg-page-gutter) 0;
  border-radius: 16px; overflow: hidden; background: #080808;
}
.hg-hero__bg, .hg-hero__bg-img, .hg-hero__mask { position: absolute; inset: 0; }
.hg-hero__bg-img {
  opacity: 0; transform: scale(1.04); transition: opacity 0.55s ease; z-index: 0;
}
.hg-hero__bg-img.is-active { opacity: 1; z-index: 1; }
.hg-hero__bg-img.is-active.is-zoom { animation: hg-hero-kenburns 1s ease-out forwards; }
.hg-hero__mask {
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.97) 0, rgba(8, 8, 8, 0.8) 24%, rgba(8, 8, 8, 0.3) 65%, rgba(8, 8, 8, 0.1) 100%);
}
.hg-hero__content {
  position: absolute; left: 64px; bottom: 72px; max-width: 420px; z-index: 2;
}
.hg-hero__content.is-in { animation: hg-hero-content-in 0.45s ease both; }
.hg-hero__label { color: var(--color-primary); font-size: 15px; font-weight: 500; }
.hg-hero__title { margin-top: 12px; font-size: 38px; line-height: 42px; font-weight: 600; }
.hg-hero__desc {
  margin-top: 4px; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, 0.55);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hg-hero__meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.hg-hero__score { color: var(--color-primary); font-size: 14px; font-weight: 600; }
.hg-hero__episode {
  padding: 3px 9px; border-radius: 4px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.7); font-size: 12px;
}
.hg-hero__play {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; height: 44px; padding: 0 24px;
  border-radius: 999px; background: var(--color-primary); color: #000; font-size: 15px; font-weight: 600;
}
.hg-hero__play i {
  width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #000;
}
.hg-hero__thumbs {
  position: absolute; right: 64px; bottom: 48px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
}
.hg-hero__thumb-list { display: flex; gap: 15px; }
.hg-hero__thumb {
  width: 104px; height: 116px; padding: 0; border-radius: 12px; overflow: hidden; position: relative;
  border: 2px solid transparent; cursor: pointer; background: #111;
}
.hg-hero__thumb::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); transition: opacity 0.3s ease;
}
.hg-hero__thumb.is-active { border-color: var(--color-primary); transform: translateY(-2px); }
.hg-hero__thumb.is-active::after { opacity: 0; }
.hg-hero__nav-btn {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer;
}
.hg-hero__nav-btn.is-accent { background: var(--color-primary); border-color: var(--color-primary); color: #000; }
.hg-hero__controls {
  position: absolute; left: 50%; bottom: 19px; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 12px;
}
.hg-hero__controls .hg-hero__nav-btn { display: none; }
.hg-hero__dots { display: flex; align-items: center; gap: 8px; }
.hg-hero__dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.3); cursor: pointer;
}
.hg-hero__dot.is-active { width: 20px; background: var(--color-primary); }

.hg-cover, .hg-cover-img {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  font-size: 64px; font-weight: 700; color: rgba(255, 255, 255, 0.92);
}
.hg-cover-img { display: block; object-fit: cover; }
.hg-hero__bg-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hg-web-play__video { width: 100%; max-height: 520px; background: #000; display: block; }
.cat-city { background: linear-gradient(160deg, #3a2a12, #c47a2a); }
.cat-mystery { background: linear-gradient(160deg, #1a2744, #3d6cb5); }
.cat-family { background: linear-gradient(160deg, #3a2430, #c45b7a); }
.cat-work { background: linear-gradient(160deg, #1e3330, #3d9a86); }
.cat-youth { background: linear-gradient(160deg, #2a2448, #7a62d4); }
.cat-food { background: linear-gradient(160deg, #3a2414, #e07a3d); }

.hg-announce {
  display: flex; align-items: center; gap: 12px; margin: 16px var(--hg-page-gutter) 0;
  height: 40px; padding: 0 12px; border-radius: 8px; background: #141414; overflow: hidden;
}
.hg-announce__tag {
  flex-shrink: 0; height: 22px; padding: 0 8px; border-radius: 4px;
  background: var(--color-primary); color: #111; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center;
}
.hg-announce__viewport { flex: 1; overflow: hidden; }
.hg-announce__run {
  display: flex; width: max-content; gap: 28px; animation: hg-announce 40s linear infinite;
  color: rgba(255, 255, 255, 0.72); font-size: 13px;
}
.hg-announce__sep { color: rgba(255, 255, 255, 0.28); }

.hg-section { padding: 24px var(--hg-page-gutter); }
.hg-section + .hg-section { padding-top: 0; }
.hg-section-header { display: flex; align-items: center; justify-content: space-between; }
.hg-section-title { display: flex; align-items: center; gap: 12px; }
.hg-section-accent { width: 4px; height: 20px; border-radius: 999px; background: var(--color-primary); }
.hg-section-title h2, .hg-page h1 { font-size: 22px; line-height: 30px; font-weight: 600; }
.hg-see-more {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4); font-size: 13px;
}
.hg-see-more:hover { color: var(--color-primary); border-color: rgba(255, 210, 28, 0.35); }
.hg-card-grid, .hg-category-grid, .hg-topic-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px;
}
.hg-category-grid, .hg-topic-grid { gap: 20px; }
.hg-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hg-drama-card {
  display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--hg-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4); transition: transform 0.2s, border-color 0.2s;
}
.hg-drama-card:hover { transform: translateY(-2px); border-color: rgba(255, 210, 28, 0.25); }
.hg-drama-card__cover {
  position: relative; aspect-ratio: 374 / 420; border-radius: 14px; overflow: hidden; background: #111;
}
.hg-drama-card__cover-link, .hg-drama-card__cover-link .hg-cover { display: block; width: 100%; height: 100%; }
.hg-drama-card__badge {
  position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 999px;
  background: var(--hg-badge-gradient); color: #0d0d0d; font-size: 14px; font-weight: 600;
}
.hg-drama-card__badge--new {
  background: linear-gradient(98.55deg, #ff6a3d 1.5%, #ff3332 98.5%); color: #fff;
  transform: translateY(calc(100% + 8px));
}
.hg-drama-card__score {
  position: absolute; right: 8px; top: 8px; padding: 0 7px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--color-primary); font-size: 13px; font-weight: 600; line-height: 22px;
}
.hg-drama-card__episode {
  position: absolute; right: 8px; bottom: 8px; padding: 0 7px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 13px; font-weight: 600; line-height: 22px;
}
.hg-drama-card__title { font-size: 16px; line-height: 24px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-drama-card__desc {
  font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, 0.6);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hg-drama-card__tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.hg-tag {
  padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); font-size: 11px; font-weight: 600;
}

.hg-category-col {
  background: #161616; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; overflow: hidden;
}
.hg-category-col__title { display: block; padding: 16px 16px 12px; font-size: 16px; font-weight: 600; }
.hg-category-col__title:hover, .hg-category-item:hover .hg-category-item__title { color: var(--color-primary); }
.hg-category-item { display: flex; gap: 12px; padding: 10px 16px; }
.hg-category-item + .hg-category-item { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.hg-category-item__thumb { width: 104px; height: 120px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.hg-category-item__thumb .hg-cover { font-size: 36px; }
.hg-category-item__info { min-width: 0; }
.hg-category-item__title, .hg-category-item__desc { display: block; }
.hg-category-item__title { font-size: 13px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-category-item__desc {
  margin-top: 4px; font-size: 11px; line-height: 17px; color: rgba(255, 255, 255, 0.4);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hg-topic-card {
  position: relative; display: block; height: 220px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hg-topic-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.78));
}
.hg-topic-card:hover { transform: translateY(-2px); }
.hg-topic-card__body { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.hg-topic-card__meta, .hg-topic-card__title, .hg-topic-card__desc { display: block; }
.hg-topic-card__meta { color: var(--color-primary); font-size: 12px; margin-bottom: 4px; }
.hg-topic-card__title { font-size: 16px; font-weight: 600; }
.hg-topic-card__desc { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.72); }

.hg-footer { border-top: 1px solid rgba(255, 255, 255, 0.05); background: #0a0a0a; padding: 40px var(--hg-page-gutter); }
.hg-footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 64px; }
.hg-footer__logo { font-size: 22px; font-weight: 700; color: var(--color-primary); }
.hg-footer__copy { margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.35); }
.hg-footer__cols { display: flex; gap: 72px; }
.hg-footer__col h4 { font-size: 14px; margin: 0 0 12px; }
.hg-footer__col a { display: block; margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.35); }
.hg-footer__col a:hover { color: var(--color-primary); }

.hg-crumb { display: flex; gap: 8px; margin-bottom: 16px; color: rgba(255, 255, 255, 0.45); font-size: 13px; }
.hg-crumb a:hover { color: var(--color-primary); }
.hg-note { margin: 12px 0 0; color: rgba(255, 255, 255, 0.45); font-size: 14px; }
.hg-note a { color: var(--color-primary); }
.hg-empty { padding: 24px 0; color: rgba(255, 255, 255, 0.45); }
.hg-detail { display: grid; grid-template-columns: 280px 1fr; gap: 28px; margin-top: 8px; }
.hg-detail__cover {
  position: relative; display: block; aspect-ratio: 374 / 420; border-radius: 16px; overflow: hidden;
}
.hg-detail h1, .hg-play-title { font-size: 32px; line-height: 1.3; }
.hg-synopsis { margin-top: 12px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; }
.hg-detail h2, .hg-page h2 { margin-top: 20px; font-size: 16px; }
.hg-episodes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.hg-ep {
  height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.75); font-size: 13px;
}
.hg-ep.is-active { border: 1px solid var(--color-primary); color: var(--color-primary); background: rgba(255, 210, 28, 0.08); }
.hg-stage {
  margin-top: 16px; min-height: 420px; border-radius: 16px; background: #111;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
}
.hg-stage__play {
  width: 68px; height: 68px; border-radius: 50%; background: var(--color-primary); position: relative;
}
.hg-stage__play::before {
  content: ""; position: absolute; left: 28px; top: 22px;
  border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #111;
}
.hg-stage p { color: var(--color-primary); font-weight: 700; }
.hg-stage span { color: rgba(255, 255, 255, 0.45); font-size: 13px; }
.hg-play-tools { display: flex; gap: 12px; margin-top: 16px; }
.hg-play-tools a, .hg-play-tools span {
  height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, 0.06);
}
.hg-play-tools .is-disabled { color: rgba(255, 255, 255, 0.3); }
.hg-rank { list-style: none; margin: 16px 0 0; padding: 0; }
.hg-rank li {
  display: grid; grid-template-columns: 36px 1.4fr 0.6fr 0.6fr 48px; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hg-rank em { font-style: normal; color: rgba(255, 255, 255, 0.4); font-weight: 700; }
.hg-rank em.is-top, .hg-rank b { color: var(--color-primary); }
.hg-rank span { color: rgba(255, 255, 255, 0.45); }
.hg-auth { max-width: 420px; }
.hg-auth-form { display: grid; gap: 12px; margin-top: 16px; }
.hg-auth-form label { display: grid; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.hg-auth-form input {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: #1e1e1e; color: #fff; padding: 10px 12px;
}
.hg-auth-form button {
  height: 42px; border: 0; border-radius: 999px; background: var(--color-primary); color: #111; font-weight: 700; cursor: pointer;
}
.hg-prose { max-width: 760px; }
.hg-prose p { margin-top: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }
.hg-prose h2 { margin-top: 24px; }
.hg-list-status, .hg-list-more {
  margin-top: 16px; text-align: center; color: rgba(255, 255, 255, 0.45); font-size: 13px;
}
.hg-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.hg-pager a, .hg-pager span {
  min-width: 36px; height: 36px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04);
}
.hg-pager a:hover { color: var(--color-primary); border-color: rgba(255, 210, 28, 0.35); }
.hg-pager .is-current { color: #111; background: var(--color-primary); border-color: transparent; font-weight: 700; }

@media (min-width: 1280px) {
  .hg-header__search { flex-basis: 320px; width: 320px; }
}
@media (max-width: 1400px) {
  .hg-hero__thumbs { display: none; }
  .hg-hero { height: 480px; }
  .hg-hero__content { left: 32px; bottom: 48px; }
}
@media (max-width: 1280px) {
  .hg-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  body { padding-top: 56px; }
  .hg-header, .hg-header__inner { height: 56px; }
  .hg-header { background: #171612; border-bottom: 0; }
  .hg-header__menu, .hg-header__search-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 22px; cursor: pointer;
  }
  .hg-topbar-nav, .hg-header__login { display: none; }
  .hg-header__logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .hg-header__search { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 12px; background: #171612; }
  .hg-header.is-mobile-search .hg-header__search { display: block; width: auto; flex: none; }
  .hg-hero { height: 361px; margin: 0; border-radius: 0; }
  .hg-hero__mask {
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.45), transparent 30%, transparent 50%, rgba(11, 11, 11, 0.85) 75%, rgba(11, 11, 11, 0.98));
  }
  .hg-hero__content { left: 16px; right: 16px; bottom: 56px; max-width: none; }
  .hg-hero__title { font-size: 28px; line-height: 34px; }
  .hg-hero__desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .hg-hero__controls { left: 16px; right: 16px; bottom: 16px; transform: none; justify-content: space-between; }
  .hg-hero__controls .hg-hero__nav-btn { display: flex; }
  .hg-hero__dots { flex: 1; justify-content: center; }
  .hg-section { padding: 24px var(--hg-page-gutter) 0; }
  .hg-section + .hg-section { padding-top: 28px; }
  .hg-footer__inner, .hg-detail { display: block; }
  .hg-detail__cover { max-width: 240px; margin-bottom: 16px; }
  .hg-episodes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hg-card-grid, .hg-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hg-category-grid, .hg-topic-grid { grid-template-columns: 1fr; }
  .hg-card-grid { gap: 12px; }
  .hg-rank li { grid-template-columns: 28px 1fr auto; }
  .hg-rank li span { display: none; }
}

.hg-web-play { padding: 16px var(--hg-page-gutter) 32px; }
.hg-web-play__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.hg-web-play__titlebar {
  display: flex; align-items: baseline; gap: 8px; min-width: 0;
  margin-top: 12px; padding: 11px 19px; background: #161616; border: 1px solid #22222a; border-radius: 10px;
}
.hg-web-play__title { font-size: 16px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-web-play__title-ep { flex: none; color: rgba(255,255,255,.72); }
.hg-web-play__viewport {
  position: relative; margin-top: 12px; border-radius: 12px; overflow: hidden; background: #000;
}
.hg-web-play__screen {
  position: relative; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
}
.hg-web-play__screen p { color: #ffd21c; font-weight: 700; }
.hg-web-play__screen span { max-width: 520px; color: rgba(255,255,255,.55); font-size: 13px; padding: 0 24px 24px; }
.hg-web-play__bigplay, .hg-web-play__toggle, .hg-web-play__full {
  border: 0; color: #111; cursor: pointer; display: grid; place-items: center;
}
.hg-web-play__bigplay {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 76px; height: 76px; border-radius: 50%;
  transform: translate(-50%, -50%); background: rgba(255, 210, 28, .94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transition: opacity .18s ease, transform .18s ease;
}
.hg-web-play__viewport.is-playing .hg-web-play__bigplay { opacity: 0; pointer-events: none; }
.hg-web-play__viewport.is-waiting .hg-web-play__bigplay { opacity: 0; pointer-events: none; }
.hg-web-play__viewport.is-waiting .hg-web-play__screen::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border: 3px solid rgba(255, 255, 255, .25); border-top-color: #ffd21c; border-radius: 50%;
  animation: hg-spin .8s linear infinite;
}
@keyframes hg-spin { to { transform: rotate(360deg); } }
.hg-web-play__icon-play, .hg-web-play__icon-pause { display: block; }
.hg-web-play__icon-pause, .hg-web-play__viewport.is-playing .hg-web-play__icon-play { display: none; }
.hg-web-play__viewport.is-playing .hg-web-play__icon-pause { display: flex; gap: 5px; }
.hg-web-play__icon-play {
  width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #111;
}
.hg-web-play__bigplay .hg-web-play__icon-play { border-width: 14px 0 14px 22px; }
.hg-web-play__icon-pause::before, .hg-web-play__icon-pause::after {
  content: ""; width: 5px; height: 18px; border-radius: 1px; background: #111;
}
.hg-web-play__bigplay .hg-web-play__icon-pause::before,
.hg-web-play__bigplay .hg-web-play__icon-pause::after { height: 24px; width: 6px; }
.hg-web-play__controls {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #111;
}
.hg-web-play__toggle, .hg-web-play__full {
  width: 36px; height: 36px; border-radius: 50%; background: #ffd21c; flex: none;
}
.hg-web-play__full { background: rgba(255,255,255,.08); color: #fff; font-size: 16px; }
.hg-web-play__bar {
  position: relative; flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.16); cursor: pointer;
}
.hg-web-play__bar-buffer, .hg-web-play__bar-played {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; pointer-events: none;
}
.hg-web-play__bar-buffer { background: rgba(255,255,255,.42); }
.hg-web-play__bar-played { background: #ffd21c; }
.hg-web-play__bar-played::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: #ffd21c; transform: translateY(-50%); box-shadow: 0 0 0 4px rgba(255,210,28,.2);
}
.hg-web-play__controls span { color: rgba(255,255,255,.72); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hg-web-play__actions { display: flex; gap: 12px; margin-top: 12px; }
.hg-web-play__action {
  flex: 1; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 1px solid #22222a; border-radius: 8px; background: #161616; color: #fff; cursor: pointer;
}
.hg-web-play__action.is-disabled { opacity: .4; }
.hg-web-play__action.is-on { color: #ffd21c; border-color: rgba(255,210,28,.45); }
.hg-web-play__introcard {
  display: flex; align-items: stretch; justify-content: space-between; gap: 28px;
  margin-top: 20px; padding: 18px 24px; border-radius: 24px; background: #161616;
  border: 1px solid rgba(255,255,255,.1);
}
.hg-web-play__intro-main { display: flex; gap: 24px; flex: 1; min-width: 0; }
.hg-web-play__poster { width: 170px; height: 226px; border-radius: 16px; overflow: hidden; flex: none; }
.hg-web-play__poster .hg-cover { font-size: 64px; }
.hg-web-play__facts { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hg-web-play__factgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
.hg-web-play__fact b { display: block; font-weight: 400; color: rgba(255,255,255,.4); font-size: 14px; }
.hg-web-play__fact span { display: block; margin-top: 6px; }
.hg-web-play__scorebox {
  width: 280px; flex: none; padding: 24px 20px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #171611, #211e13);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.hg-web-play__scorehead b { color: #737373; font-weight: 400; }
.hg-web-play__scorenum { font-size: 56px; line-height: 1; font-weight: 600; color: #ffd21c; }
.hg-web-play__scorenum small { font-size: 18px; margin-left: 4px; }
.hg-web-play__stars { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hg-web-play__stars em { font-style: normal; color: rgba(255,255,255,.4); font-size: 13px; }
.hg-web-play__star {
  width: 26px; height: 26px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.35);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.hg-web-play__star .is-on { display: none; color: #ffd21c; }
.hg-web-play__star.is-on .is-off { display: none; }
.hg-web-play__star.is-on .is-on { display: inline; }
.hg-web-play__ratesubmit {
  height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
}
.hg-web-play__ratesubmit.is-ready { background: linear-gradient(90deg, #ffd21c, #f5a623); color: #000; font-weight: 700; }
.hg-web-play__ratesubmit:disabled { cursor: default; }
.hg-web-play__synopsis {
  margin-top: 20px; padding: 24px 28px; border-radius: 16px; background: #161616; border: 1px solid rgba(255,255,255,.06);
}
.hg-web-play__synopsis h2 { margin: 0 0 12px; font-size: 28px; }
.hg-web-play__synopsis-text { color: #a29fa6; font-size: 14px; line-height: 22px; }
.hg-web-play__synopsis-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hg-web-play__synopsis-toggle {
  float: right; border: 0; background: transparent; color: #ffd21c; cursor: pointer;
}
.hg-web-play__side {
  position: sticky; top: 94px; max-height: calc(100vh - 110px); overflow: auto;
  background: #161616; border: 1px solid #22222a; border-radius: 12px; padding: 16px;
}
.hg-web-play__side-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hg-web-play__side-title { margin: 0; font-size: 18px; }
.hg-web-play__side-head p, .hg-web-play__side-current, .hg-web-play__ep-name { color: rgba(255,255,255,.45); font-size: 13px; }
.hg-web-play__ep-name { margin: 10px 0; color: #fff; }
.hg-web-play__ep-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hg-web-play__ep {
  height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); font-size: 13px;
}
.hg-web-play__ep.is-active { color: #ffd21c; border: 1px solid #ffd21c; background: rgba(255,210,28,.08); }
.hg-web-play__related { padding-left: 0; padding-right: 0; }
.hg-web-play__toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  padding: 10px 16px; border-radius: 999px; background: #222; color: #fff; z-index: 30;
}
@media (max-width: 1100px) {
  .hg-web-play__layout, .hg-web-play__introcard { display: block; }
  .hg-web-play__scorebox, .hg-web-play__poster { width: 100%; max-width: 280px; margin-top: 16px; }
  .hg-web-play__side { position: static; max-height: none; margin-top: 16px; }
}
