:root {
  --hg-bg: #0a0a0a;
  --hg-bar: #0d0d0d;
  --hg-card: #141414;
  --hg-text: #f4f4f4;
  --hg-muted: #9a9a9a;
  --hg-yellow: #f3cb53;
  --hg-yellow-2: #ffe27a;
  --hg-red: #e23d3d;
  --hg-line: #2a2a2a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cinema {
  margin: 0;
  background: var(--hg-bg);
  color: var(--hg-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}
body.cinema a { color: inherit; text-decoration: none; }
body.cinema a:hover { color: var(--hg-yellow); }
body.cinema a:focus-visible,
body.cinema button:focus-visible {
  outline: 2px solid var(--hg-yellow);
  outline-offset: 4px;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.hg-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 56px;
  padding: 0 10px;
  background: #000;
  border-bottom: 1px solid #181818;
  overflow: hidden;
}
.hg-bar button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.hg-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
.hg-brand img { width: 32px; height: 32px; }
.hg-brand strong {
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 750;
}
.hg-brand small {
  display: none;
  color: #b7a36a;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
}
.hg-brand:hover { color: inherit; }

.hg-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(82vw, 320px);
  background: #111;
  z-index: 50;
  padding: 18px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 18px 0 40px #000a;
}
.hg-drawer[hidden] { display: none; }
.hg-drawer a, .hg-drawer .hg-drawer-close {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
}
.hg-drawer a[aria-current="page"] { color: var(--hg-yellow); }
.hg-scrim {
  position: fixed;
  inset: 0;
  background: #0008;
  z-index: 45;
}
.hg-scrim[hidden] { display: none; }

.hg-hero {
  position: relative;
  isolation: isolate;
  min-height: 58vw;
  max-height: 420px;
  overflow: hidden;
  background: #000;
}
.hg-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.hg-hero__slide.is-on { opacity: 1; pointer-events: auto; }
.hg-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.hg-peach { width: 32px; height: 32px; display: block; flex: 0 0 32px; overflow: hidden; }
.hg-brand strong { color: #f3cb53; }
.hg-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0006 0%, #0000 28%, #0a0a0ae6 88%),
    linear-gradient(90deg, #000c 0%, #0000 62%);
}
.hg-hero__copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 54px;
  max-width: 640px;
}
.hg-hero__copy .kicker {
  margin: 0 0 8px;
  color: #cfcfcf;
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hg-hero__copy h2 {
  margin: 0;
  font-size: clamp(26px, 7vw, 40px);
  line-height: 1.25;
  font-weight: 750;
}
.hg-hero__copy p {
  margin: 10px 0 0;
  color: #d4d4d4;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hg-hero__nav {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hg-hero__nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1a1acc;
  font-size: 16px;
}
.hg-dots {
  display: flex;
  gap: 6px;
}
.hg-dots button {
  width: 14px;
  height: 4px;
  border-radius: 4px;
  background: #ffffff44;
  padding: 0;
}
.hg-dots button.is-on { background: var(--hg-yellow); width: 22px; }

.hg-note {
  margin: 12px 12px 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f3cb53, #f7d56a);
  color: #2a1f00;
  font-size: 12px;
  font-weight: 650;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hg-note b {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #111;
  color: var(--hg-yellow);
}

.hg-intro {
  padding: 22px 16px 8px;
  max-width: 800px;
}
.hg-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.25;
}
.hg-intro p { color: #cfcfcf; margin: 0 0 12px; font-size: 15px; }
.hg-intro a { color: var(--hg-yellow); text-decoration: underline; text-underline-offset: 3px; }
.hg-crumbs {
  font-size: 12px;
  color: #8a8a86;
  padding: 12px 16px 0;
}
.hg-crumbs a { color: #d5b389; }
.hg-block {
  padding: 18px 12px 8px;
}
.hg-block h1 {
  margin: 0;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 750;
}
.hg-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hg-block h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hg-block h2::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--hg-yellow);
}
.hg-block__head a { color: #9a9a9a; font-size: 13px; }

.hg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}
.hg-card { min-width: 0; color: inherit; }
.hg-card:hover { color: inherit; }
.hg-poster {
  position: relative;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  border-radius: 10px;
  background: var(--hg-card);
}
.hg-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hg-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--hg-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.hg-card h3 {
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hg-tags span {
  color: #8f8f8f;
  font-size: 12px;
}

.hg-detail {
  padding: 12px 12px 32px;
}
.hg-detail__art {
  max-width: 420px;
  margin: 0 auto 18px;
  border-radius: 12px;
  overflow: hidden;
}
.hg-detail__art img { width: 100%; display: block; }
.hg-detail h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.3;
}
.hg-detail .lead {
  color: #cfcfcf;
  font-size: 15px;
}
.hg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--hg-yellow);
  color: #1a1400;
  font-weight: 750;
}
.hg-btn:hover { color: #1a1400; background: var(--hg-yellow-2); }
.hg-btn--ghost {
  background: #1c1c1c;
  color: #eee;
  border: 1px solid #333;
}

.hg-prose {
  padding: 20px 16px 40px;
  max-width: 760px;
  margin: 0 auto;
}
.hg-prose h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.3; }
.hg-prose h2 { font-size: 18px; margin-top: 28px; }
.hg-prose p, .hg-prose li { color: #c8cfc8; }
.hg-prose a { color: var(--hg-yellow); text-decoration: underline; text-underline-offset: 3px; }
.hg-faq details { border-bottom: 1px solid var(--hg-line); padding: 12px 0; }
.hg-faq summary { cursor: pointer; font-weight: 700; }
.hg-hubs, .hg-cards {
  display: grid;
  gap: 12px;
}
.hg-hub, .hg-cards article {
  padding: 16px;
  border: 1px solid #262626;
  border-radius: 12px;
  background: #121212;
}
.languages {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  font-size: 13px;
  color: #8f8f8f;
}
.languages [aria-current="true"] { color: var(--hg-yellow); }

.hg-foot {
  margin-top: 28px;
  padding: 24px 16px 90px;
  border-top: 1px solid #1d1d1d;
  color: #8a8a86;
  font-size: 12px;
}
.hg-foot nav { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 14px 0; }
.hg-foot a { color: #bdb6ad; }

.hg-age, .hg-search {
  border: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  background: #0a0a0af2;
  color: var(--hg-text);
}
.hg-age::backdrop, .hg-search::backdrop { background: #000d; }
.hg-age__box, .hg-search__box {
  width: min(420px, calc(100% - 32px));
  margin: 18vh auto 0;
  padding: 28px 22px 22px;
  border-radius: 16px;
  background: #161616;
  text-align: center;
}
.hg-age__box .hg-peach { width: 54px; height: 54px; margin: 0 auto; }
.hg-age__box h2 { margin: 12px 0 8px; font-size: 22px; }
.hg-age__box p { color: #c7c7c7; font-size: 14px; }
.hg-age__box .hg-btn { width: 100%; margin-top: 8px; }
.hg-age__leave { width: 100%; margin-top: 8px; min-height: 44px; color: #aaa; }
.hg-search__box { text-align: left; margin-top: 8vh; }
.hg-search__box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #0f0f0f;
  color: #fff;
  padding: 12px 14px;
}
.hg-search-list { display: grid; gap: 8px; margin-top: 14px; max-height: 55vh; overflow: auto; }
.hg-search-list a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
}
.hg-search-list img { width: 48px; height: 64px; object-fit: cover; border-radius: 6px; }

.hg-float {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}
.hg-float a, .hg-float button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--hg-yellow);
  color: #1a1400;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.hg-float a:hover { color: #1a1400; }

@media (min-width: 760px) {
  .hg-brand small { display: block; }
  .hg-intro, .hg-crumbs { padding-left: 28px; padding-right: 28px; }
  .hg-hero { min-height: 360px; max-height: 520px; }
  .hg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
  .hg-block, .hg-hero__copy, .hg-note, .hg-foot { padding-left: 28px; padding-right: 28px; }
  .hg-note { margin-inline: 28px; }
  .hg-hubs, .hg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hg-detail { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; max-width: 1100px; margin: 0 auto; }
}
@media (min-width: 1100px) {
  .hg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hg-hero { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hg-hero__slide { transition: none; }
}
