:root {
  color-scheme: dark;
  font-synthesis: none;
}
html {
  scroll-behavior: smooth;
  background: #0b0b08;
}
body {
  margin: 0;
  background: #0b0b08;
}
.hd-page,
.hd-page *,
.hd-page *:before,
.hd-page *:after {
  box-sizing: border-box;
}
.hd-page {
  --hd-bg: #0b0b08;
  --hd-surface: #15140e;
  --hd-raised: #1d1c13;
  --hd-yellow: #ffc30d;
  --hd-yellow-soft: #edb90d;
  --hd-ink: #f4f0d8;
  --hd-sub: #c7c1a7;
  --hd-muted: #aaa58c;
  --hd-line: #393728;
  --hd-line-strong: #5b5740;
  --hd-dark-on-yellow: #181506;
  --hd-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --hd-font-display: "Barlow Condensed", "Noto Sans SC", sans-serif;
  --hd-ease: cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
  overflow: clip;
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      #242317 calc(50% - 0.5px),
      #242317 calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    var(--hd-bg);
  color: var(--hd-ink);
  font-family: var(--hd-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.hd-page a {
  color: inherit;
  text-decoration: none;
}
.hd-page img {
  max-width: 100%;
}
.hd-page button,
.hd-page a,
.hd-page summary {
  -webkit-tap-highlight-color: transparent;
}
.hd-page a:focus-visible,
.hd-page summary:focus-visible {
  outline: 3px solid var(--hd-yellow);
  outline-offset: 4px;
}
.hd-shell {
  width: min(100% - 32px, 1240px);
  margin-inline: auto;
}
.hd-num,
.hd-kicker,
.hd-page small {
  font-family: var(--hd-font-display);
  font-variant-numeric: tabular-nums;
}
.hd-kicker {
  margin: 0 0 16px;
  color: var(--hd-yellow);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hd-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow) !important;
  font-weight: 800;
  transition: transform 0.18s var(--hd-ease);
}
.hd-skip:focus {
  transform: translateY(0);
}
.hd-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--hd-line);
  background: var(--hd-bg);
}
.hd-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 28px;
  padding: 4px 16px;
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow);
  font-family: var(--hd-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hd-announcement span {
  width: 26px;
  height: 1px;
  background: currentColor;
}
.hd-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand cta" "left left" "right right";
  align-items: center;
  min-height: 68px;
}
.hd-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  width: fit-content;
}
.hd-brand img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.hd-brand span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}
.hd-brand strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hd-brand small {
  margin-top: 5px;
  color: var(--hd-muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.hd-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hd-nav::-webkit-scrollbar {
  display: none;
}
.hd-nav-left {
  grid-area: left;
}
.hd-nav-right {
  grid-area: right;
  border-top: 1px solid #222116;
}
.hd-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--hd-sub);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.hd-nav a:after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--hd-yellow);
  transition: transform 0.22s var(--hd-ease);
}
.hd-header-cta {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow) !important;
  font-size: 0.82rem;
  font-weight: 900;
}
.hd-header-cta span,
.hd-btn span,
.hd-text-link span {
  display: inline-block;
  transition: transform 0.22s var(--hd-ease);
}
.hd-hero {
  position: relative;
  isolation: isolate;
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--hd-line);
}
.hd-hero:before,
.hd-hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hd-hero:before {
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent 0 24%,
      #1d1c12 24% 24.12%,
      transparent 24.12% 75%,
      #1d1c12 75% 75.12%,
      transparent 75.12%
    ),
    repeating-linear-gradient(0deg, transparent 0 47px, #15150f 47px 48px);
}
.hd-hero:after {
  top: 32px;
  left: 50%;
  width: min(86vw, 680px);
  height: min(86vw, 680px);
  transform: translate(-50%) rotate(45deg);
  border: 1px solid #28271b;
}
.hd-hero-grid {
  display: grid;
  grid-template-areas: "copy" "left" "right";
  gap: 28px;
  align-items: center;
}
.hd-hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.hd-hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 14vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.88;
}
.hd-hero-copy h1 span,
.hd-hero-copy h1 b {
  display: block;
}
.hd-hero-copy h1 b {
  margin-top: 16px;
  color: var(--hd-yellow);
  font-size: 0.38em;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hd-fork-mark {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  align-items: end;
  width: 124px;
  height: 30px;
  margin: 30px auto 24px;
}
.hd-fork-mark span {
  height: 1px;
  background: var(--hd-line-strong);
}
.hd-fork-mark span:first-child {
  transform: rotate(15deg);
  transform-origin: right;
}
.hd-fork-mark span:last-child {
  transform: rotate(-15deg);
  transform-origin: left;
}
.hd-fork-mark i {
  width: 10px;
  height: 10px;
  margin-bottom: -4px;
  transform: rotate(45deg);
  background: var(--hd-yellow);
}
.hd-hero-lead {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--hd-sub);
  font-size: 1rem;
  line-height: 1.9;
}
.hd-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px auto 0;
}
.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  padding: 0 20px;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  font-size: 0.9rem;
  font-weight: 900;
  transition:
    transform 0.18s var(--hd-ease),
    background-color 0.18s var(--hd-ease),
    color 0.18s var(--hd-ease);
}
.hd-btn-solid {
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow) !important;
}
.hd-btn-outline {
  box-shadow: inset 0 0 0 1px var(--hd-line-strong);
  background: var(--hd-bg);
  color: var(--hd-ink);
}
.hd-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: var(--hd-muted);
  font-size: 0.78rem;
}
.hd-hero-note span {
  width: 7px;
  height: 7px;
  background: var(--hd-yellow);
}
.hd-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 480px;
  margin: 30px auto 0;
  padding: 1px;
  background: var(--hd-line);
  list-style: none;
}
.hd-hero-stats li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 10px 4px 12px;
  background: var(--hd-bg);
}
.hd-hero-stats b {
  color: var(--hd-yellow);
  font-size: 1.4rem;
  line-height: 1;
}
.hd-hero-stats span {
  margin-top: 5px;
  color: var(--hd-muted);
  font-size: 0.66rem;
}
.hd-poster-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(130px, 42vw);
  gap: 12px;
  overflow-x: auto;
  padding: 0 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hd-poster-rail::-webkit-scrollbar {
  display: none;
}
.hd-poster-rail-left {
  grid-area: left;
}
.hd-poster-rail-right {
  grid-area: right;
}
.hd-rail-poster {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  background: var(--hd-raised);
  scroll-snap-align: start;
  animation: hd-rise 0.62s var(--hd-ease) both;
  animation-delay: calc(var(--i) * 70ms);
}
.hd-rail-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.hd-rail-poster figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 36px 10px 9px;
  background: linear-gradient(transparent, #0b0b08);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}
@keyframes hd-rise {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hd-section {
  position: relative;
  padding: 78px 0;
  border-bottom: 1px solid var(--hd-line);
  scroll-margin-top: 136px;
}
.hd-section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}
.hd-section-head h2,
.hd-entry h2,
.hd-about h2,
.hd-download h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 8vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.05;
}
.hd-section-head > p {
  max-width: 50ch;
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}
.hd-hot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hd-poster-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  background: var(--hd-raised);
}
.hd-poster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition:
    transform 0.42s var(--hd-ease),
    opacity 0.22s var(--hd-ease);
}
.hd-poster-card:after {
  content: "";
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(transparent, #0b0b08 92%);
  pointer-events: none;
}
.hd-rank {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow);
  font-size: 1.05rem;
  font-weight: 800;
}
.hd-poster-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 28px 12px 13px;
}
.hd-poster-info > span {
  color: var(--hd-yellow);
  font-size: 0.68rem;
  font-weight: 700;
}
.hd-poster-info h3 {
  margin: 3px 0 2px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
}
.hd-poster-info p {
  margin: 0;
  color: var(--hd-sub);
  font-size: 0.7rem;
}
.hd-forks {
  background: var(--hd-surface);
}
.hd-fork-list {
  display: grid;
  gap: 1px;
  background: var(--hd-line);
  border: 1px solid var(--hd-line);
}
.hd-fork-row {
  display: grid;
  gap: 22px;
  padding: 22px;
  background: var(--hd-bg);
}
.hd-fork-copy {
  align-self: center;
}
.hd-fork-label {
  display: inline-flex;
  padding: 4px 8px;
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hd-fork-copy h3 {
  margin: 14px 0 8px;
  font-size: clamp(1.25rem, 5vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
}
.hd-fork-copy p {
  margin: 0;
  color: var(--hd-yellow);
  font-size: 0.9rem;
  font-weight: 700;
}
.hd-fork-covers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.hd-fork-covers figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.hd-fork-covers img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.65);
}
.hd-fork-covers .is-new img {
  filter: saturate(1);
}
.hd-fork-covers figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 8px 7px;
  background: linear-gradient(transparent, #0b0b08);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}
.hd-fork-covers .is-new figcaption {
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow);
}
.hd-route-arrow {
  color: var(--hd-yellow);
  font-family: var(--hd-font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.hd-process {
  display: grid;
  gap: 1px;
  margin: 0 0 28px;
  padding: 1px;
  background: var(--hd-line);
  list-style: none;
  counter-reset: process;
}
.hd-process li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--hd-surface);
}
.hd-process li > b {
  color: var(--hd-yellow);
  font-size: 2rem;
  line-height: 1;
}
.hd-process h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 900;
}
.hd-process p {
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}
.hd-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hd-ai-card {
  position: relative;
  overflow: hidden;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  background: var(--hd-surface);
}
.hd-ai-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.hd-ai-card > div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 12px 13px;
  background: linear-gradient(transparent, #0b0b08 70%);
}
.hd-ai-card span {
  color: var(--hd-yellow);
  font-size: 0.72rem;
  font-weight: 700;
}
.hd-ai-card h3 {
  margin: 3px 0;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
}
.hd-ai-card p {
  display: none;
  margin: 0;
  color: var(--hd-sub);
  font-size: 0.76rem;
  line-height: 1.55;
}
.hd-genres {
  background: var(--hd-surface);
}
.hd-genre-grid {
  border-top: 1px solid var(--hd-line);
}
.hd-genre-row {
  display: grid;
  grid-template-columns: 34px minmax(90px, 0.75fr) 1.35fr auto 20px;
  gap: 8px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--hd-line);
  transition:
    background-color 0.18s var(--hd-ease),
    color 0.18s var(--hd-ease);
}
.hd-genre-row > span {
  color: var(--hd-muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.hd-genre-row h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}
.hd-genre-row p {
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.hd-genre-row b {
  color: var(--hd-sub);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.hd-genre-row i {
  color: var(--hd-yellow);
  font-style: normal;
}
.hd-genre-row.is-special {
  color: var(--hd-yellow);
}
.hd-genre-row.is-special p,
.hd-genre-row.is-special b {
  color: var(--hd-yellow-soft);
}
.hd-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 82vw);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.hd-track-item {
  display: grid;
  grid-template-columns: 62px 94px minmax(0, 1fr);
  align-items: stretch;
  min-height: 132px;
  border: 1px solid var(--hd-line);
  background: var(--hd-surface);
  scroll-snap-align: start;
}
.hd-track-time {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--hd-line);
}
.hd-track-time b {
  font-size: 0.85rem;
  font-weight: 900;
}
.hd-track-time span {
  margin-top: 7px;
  color: var(--hd-yellow);
  font-size: 1rem;
  font-weight: 700;
}
.hd-track-item figure {
  margin: 0;
  overflow: hidden;
}
.hd-track-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hd-track-item > div:last-child {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  padding: 14px;
}
.hd-track-item > div:last-child > span {
  color: var(--hd-yellow);
  font-size: 0.68rem;
  font-weight: 700;
}
.hd-track-item h3 {
  margin: 5px 0 8px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
}
.hd-track-item p {
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.7rem;
}
.hd-complete {
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow);
}
.hd-complete .hd-kicker,
.hd-complete .hd-section-head > p {
  color: #5d4b0d;
}
.hd-complete-layout {
  display: grid;
  gap: 30px;
}
.hd-section-head-stack {
  align-self: start;
  margin-bottom: 0;
}
.hd-complete-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.hd-complete-card {
  min-width: 0;
}
.hd-complete-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  filter: contrast(1.03) saturate(0.9);
}
.hd-complete-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hd-complete-card h3 {
  margin: 3px 0;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
}
.hd-complete-card p {
  margin: 0;
  color: #66520b;
  font-size: 0.68rem;
}
.hd-scenario-list {
  display: grid;
  gap: 1px;
  background: var(--hd-line);
  border: 1px solid var(--hd-line);
}
.hd-scenario-list article {
  display: grid;
  grid-template-columns: 48px 90px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  background: var(--hd-bg);
}
.hd-scenario-list b {
  color: var(--hd-yellow);
  font-size: 2.5rem;
  line-height: 1;
}
.hd-scenario-list h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
}
.hd-scenario-list p {
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}
.hd-entry {
  background:
    linear-gradient(135deg, transparent 0 49.9%, #222116 49.9% 50.1%, transparent 50.1%),
    var(--hd-surface);
}
.hd-entry-layout {
  display: grid;
  gap: 36px;
}
.hd-entry-copy > p:last-child {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--hd-sub);
}
.hd-entry-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hd-line);
  list-style: none;
}
.hd-entry-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hd-line);
}
.hd-entry-list > li > span {
  color: var(--hd-yellow);
  font-size: 1.3rem;
  font-weight: 700;
}
.hd-entry-list h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 900;
}
.hd-entry-list p {
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.82rem;
}
.hd-about-layout {
  display: grid;
  gap: 40px;
}
.hd-about-copy > p:not(.hd-kicker) {
  max-width: 66ch;
  margin: 22px 0 0;
  color: var(--hd-sub);
  line-height: 2;
}
.hd-facts {
  align-self: end;
  border-top: 6px solid var(--hd-yellow);
  background: var(--hd-surface);
  padding: 22px;
}
.hd-facts h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 900;
}
.hd-facts dl {
  margin: 0;
}
.hd-facts dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--hd-line);
}
.hd-facts dt {
  color: var(--hd-muted);
  font-size: 0.78rem;
}
.hd-facts dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}
.hd-faq {
  background: var(--hd-surface);
}
.hd-faq-list {
  border-top: 1px solid var(--hd-line);
}
.hd-faq-list details {
  border-bottom: 1px solid var(--hd-line);
}
.hd-faq-list summary {
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  cursor: pointer;
  list-style: none;
}
.hd-faq-list summary::-webkit-details-marker {
  display: none;
}
.hd-faq-list summary span {
  color: var(--hd-yellow);
  font-size: 0.85rem;
  font-weight: 700;
}
.hd-faq-list summary :is(h2, h3) {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 900;
  line-height: 1.5;
}
.hd-faq-list summary i {
  position: relative;
  width: 18px;
  height: 18px;
}
.hd-faq-list summary i:before,
.hd-faq-list summary i:after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: var(--hd-yellow);
  transition: transform 0.22s var(--hd-ease);
}
.hd-faq-list summary i:after {
  transform: rotate(90deg);
}
.hd-faq-list details[open] summary i:after {
  transform: rotate(0);
}
.hd-faq-list details > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--hd-ease);
}
.hd-faq-list details[open] > div {
  grid-template-rows: 1fr;
}
.hd-faq-list details > div p {
  min-height: 0;
  overflow: hidden;
}
.hd-faq-list details p {
  max-width: 70ch;
  margin: 0 0 22px 48px;
  color: var(--hd-muted);
  font-size: 0.88rem;
  line-height: 1.85;
}
.hd-faq-more {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
}
.hd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--hd-yellow) !important;
  font-weight: 900;
}
.hd-faq-more p {
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.78rem;
}
.hd-download {
  padding: 54px 0;
  scroll-margin-top: 132px;
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow);
}
.hd-download-grid {
  display: grid;
  gap: 32px;
}
.hd-download-title > p {
  margin: 0 0 10px;
  font-family: var(--hd-font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.hd-download-title h2 {
  max-width: 13ch;
}
.hd-download-title > span {
  display: block;
  max-width: 54ch;
  margin-top: 18px;
  color: #5d4b0d;
  font-size: 0.88rem;
  line-height: 1.8;
}
.hd-download-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #907014;
  border-left: 1px solid #907014;
}
.hd-download-meta > div {
  padding: 12px;
  border-right: 1px solid #907014;
  border-bottom: 1px solid #907014;
}
.hd-download-meta h3 {
  margin: 0 0 4px;
  color: #5d4b0d;
  font-size: 0.7rem;
  font-weight: 700;
}
.hd-download-meta b {
  font-size: 0.9rem;
  line-height: 1.2;
}
.hd-download-actions {
  display: grid;
  gap: 8px;
}
.hd-download-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  background: var(--hd-dark-on-yellow);
  color: var(--hd-ink);
  font-size: 0.9rem;
  transition: transform 0.18s var(--hd-ease);
}
.hd-download-actions a:nth-child(2) {
  box-shadow: inset 0 0 0 2px var(--hd-dark-on-yellow);
  background: transparent;
  color: var(--hd-dark-on-yellow);
}
.hd-download-actions p {
  margin: 4px 0 0;
  color: #5d4b0d;
  font-size: 0.72rem;
}
.hd-mobile-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 9px max(16px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  border-top: 1px solid #e0aa0b;
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow) !important;
}
.hd-mobile-dock span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hd-mobile-dock b,
.hd-mobile-dock strong {
  font-size: 0.85rem;
  font-weight: 900;
}
.hd-mobile-dock small {
  margin-top: 2px;
  font-size: 0.66rem;
  font-weight: 700;
}
.hd-mobile-dock strong {
  padding: 9px 12px;
  background: var(--hd-dark-on-yellow);
  color: var(--hd-ink);
}
.hd-footer {
  padding: 76px 0 calc(92px + env(safe-area-inset-bottom));
  background: #080805;
}
.hd-footer-statement {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--hd-line);
}
.hd-footer-statement > p {
  margin: 0 0 14px;
  color: var(--hd-muted);
  font-family: var(--hd-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hd-footer-statement h2 {
  margin: 0 0 26px;
  font-size: clamp(3.2rem, 15vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.88;
}
.hd-footer-statement h2 span {
  color: var(--hd-yellow);
}
.hd-footer-bottom {
  display: grid;
  gap: 34px;
  padding-top: 34px;
}
.hd-footer-brand p {
  max-width: 38ch;
  margin: 14px 0 0;
  color: var(--hd-muted);
  font-size: 0.78rem;
  line-height: 1.75;
}
.hd-footer h3 {
  margin: 0 0 10px;
  color: var(--hd-yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.hd-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.hd-footer-links h3 {
  flex: 0 0 100%;
}
.hd-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--hd-sub);
  font-size: 0.8rem;
}
.hd-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--hd-muted);
  font-size: 0.7rem;
  line-height: 1.6;
}
.hd-footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hd-legal-main {
  padding: 56px 0 80px;
}
.hd-legal-article {
  display: grid;
  gap: 42px;
}
.hd-legal-header {
  position: relative;
  padding: 38px 0 34px;
  border-bottom: 1px solid var(--hd-line);
}
.hd-legal-header:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 28%;
  height: 5px;
  background: var(--hd-yellow);
}
.hd-legal-header h1 {
  max-width: 15ch;
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 12vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.98;
}
.hd-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hd-muted);
  font-size: 0.78rem;
}
.hd-crumb a {
  color: var(--hd-yellow);
}
.hd-legal-body {
  min-width: 0;
}
.hd-legal-updated {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 5px 9px;
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow);
  font-family: var(--hd-font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.hd-legal-intro {
  max-width: 72ch;
  margin: 0 0 38px;
  color: var(--hd-sub);
  font-size: 1.02rem;
  line-height: 2;
}
.hd-legal-section {
  max-width: 78ch;
  margin: 0 0 34px;
  padding-top: 25px;
  border-top: 1px solid var(--hd-line);
}
.hd-legal-section h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hd-legal-section h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 900;
}
.hd-legal-section p,
.hd-legal-section li {
  color: var(--hd-sub);
  font-size: 0.9rem;
  line-height: 1.9;
}
.hd-legal-section ul,
.hd-legal-section ol {
  padding-left: 1.25rem;
}
.hd-legal-section a,
.hd-legal-intro a {
  color: var(--hd-yellow);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hd-back {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  background: var(--hd-yellow);
  color: var(--hd-dark-on-yellow) !important;
  font-weight: 900;
}
.hd-legal-body > .hd-faq-list {
  max-width: 78ch;
}
@media (min-width: 640px) {
  .hd-shell {
    width: min(100% - 56px, 1240px);
  }
  .hd-actions {
    width: fit-content;
    flex-direction: row;
  }
  .hd-btn {
    min-width: 202px;
  }
  .hd-poster-rail {
    grid-auto-columns: 180px;
    justify-content: center;
  }
  .hd-section,
  .hd-hero {
    padding-block: 96px;
  }
  .hd-section-head {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
    align-items: end;
    margin-bottom: 46px;
  }
  .hd-hot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .hd-fork-row {
    grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    padding: 26px;
  }
  .hd-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hd-ai-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .hd-ai-card p {
    display: block;
  }
  .hd-track {
    grid-auto-columns: minmax(390px, 46vw);
  }
  .hd-complete-card h3 {
    font-size: 1rem;
  }
  .hd-scenario-list article {
    grid-template-columns: 70px 130px minmax(0, 1fr);
    padding: 24px;
  }
  .hd-download-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hd-download-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hd-download-actions p {
    grid-column: 1 / -1;
  }
  .hd-footer-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .hd-footer-brand {
    grid-column: 1 / -1;
  }
  .hd-legal-main {
    padding-block: 80px 110px;
  }
}
@media (min-width: 900px) {
  .hd-header-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    grid-template-areas: "left brand right cta";
    gap: 18px;
    min-height: 78px;
  }
  .hd-brand {
    justify-self: center;
  }
  .hd-nav {
    overflow: visible;
  }
  .hd-nav-left {
    justify-content: flex-end;
  }
  .hd-nav-right {
    justify-content: flex-start;
    border-top: 0;
  }
  .hd-nav a {
    padding-inline: 10px;
  }
  .hd-header-cta {
    padding-inline: 18px;
  }
  .hd-hero {
    min-height: calc(100vh - 106px);
    display: grid;
    align-items: center;
  }
  .hd-hero-grid {
    grid-template-columns: minmax(0, 0.58fr) minmax(430px, 1.35fr) minmax(0, 0.58fr);
    grid-template-areas: "left copy right";
    gap: clamp(18px, 3vw, 46px);
  }
  .hd-poster-rail {
    display: flex;
    overflow: visible;
    flex-direction: column;
    gap: 14px;
    padding: 0;
  }
  .hd-poster-rail-left {
    transform: translateY(-24px);
  }
  .hd-poster-rail-right {
    transform: translateY(22px);
  }
  .hd-poster-rail-left .hd-rail-poster:nth-child(2) {
    margin-left: 28px;
  }
  .hd-poster-rail-right .hd-rail-poster:nth-child(2) {
    margin-left: -24px;
  }
  .hd-poster-rail-right .hd-rail-poster:nth-child(3) {
    margin-left: 18px;
  }
  .hd-rail-poster {
    width: clamp(130px, 14vw, 174px);
  }
  .hd-hero-copy h1 {
    font-size: clamp(4.6rem, 8vw, 7.5rem);
  }
  .hd-hot-grid {
    gap: 12px;
  }
  .hd-fork-row {
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
    padding: 32px 46px;
  }
  .hd-fork-covers figure {
    max-width: 200px;
  }
  .hd-fork-covers {
    justify-content: end;
    grid-template-columns: repeat(2, minmax(150px, 200px)) auto;
  }
  .hd-fork-covers .hd-route-arrow {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    transform: translate(-50%);
  }
  .hd-fork-covers .is-new {
    grid-column: 2;
    grid-row: 1;
  }
  .hd-fork-covers figure:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .hd-genre-row {
    grid-template-columns: 60px minmax(150px, 0.8fr) 1.5fr 130px 24px;
    min-height: 86px;
    padding-inline: 14px;
  }
  .hd-genre-row h3 {
    font-size: 1.2rem;
  }
  .hd-genre-row p,
  .hd-genre-row b {
    font-size: 0.82rem;
  }
  .hd-track {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .hd-complete-layout {
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    align-items: end;
  }
  .hd-entry-layout,
  .hd-about-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 80px;
    align-items: start;
  }
  .hd-download-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.85fr) minmax(260px, 0.72fr);
    align-items: center;
  }
  .hd-download-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hd-download-actions {
    grid-template-columns: 1fr;
  }
  .hd-mobile-dock {
    display: none;
  }
  .hd-footer {
    padding-bottom: 48px;
  }
  .hd-footer-bottom {
    grid-template-columns: minmax(280px, 1.15fr) minmax(220px, 0.6fr) minmax(320px, 1fr);
  }
  .hd-footer-brand {
    grid-column: auto;
  }
  .hd-legal-article {
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 76px;
    align-items: start;
  }
  .hd-legal-header {
    position: sticky;
    top: 126px;
  }
}
@media (min-width: 1120px) {
  .hd-nav {
    gap: 10px;
  }
  .hd-nav a {
    font-size: 0.86rem;
  }
  .hd-hot-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .hd-poster-info h3 {
    font-size: 0.84rem;
  }
  .hd-fork-list {
    gap: 0;
  }
  .hd-fork-row + .hd-fork-row {
    border-top: 1px solid var(--hd-line);
  }
  .hd-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hd-track-item {
    grid-template-columns: 58px 82px minmax(0, 1fr);
  }
}
@media (hover: hover) and (pointer: fine) {
  .hd-nav a:hover:after {
    transform: scaleX(1);
  }
  .hd-header-cta:hover span,
  .hd-btn:hover span,
  .hd-text-link:hover span {
    transform: translate(3px, 3px);
  }
  .hd-btn:hover,
  .hd-download-actions a:hover {
    transform: translateY(-3px);
  }
  .hd-btn-outline:hover {
    background: var(--hd-ink);
    color: var(--hd-bg);
  }
  .hd-poster-card:hover img {
    transform: scale(1.045);
    opacity: 0.82;
  }
  .hd-genre-row:hover {
    background: var(--hd-yellow);
    color: var(--hd-dark-on-yellow);
  }
  .hd-genre-row:hover > span,
  .hd-genre-row:hover p,
  .hd-genre-row:hover b,
  .hd-genre-row:hover i {
    color: var(--hd-dark-on-yellow);
  }
  .hd-footer-links a:hover,
  .hd-footer-legal a:hover {
    color: var(--hd-yellow);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hd-page *,
  .hd-page *:before,
  .hd-page *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
