:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: #161b22;
  --panel-2: #20262f;
  --text: #f4f6f8;
  --muted: #9ba5b1;
  --line: #303844;
  --accent: #f0b429;
  --accent-2: #27ae91;
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; background: #252b33; color: transparent; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(13,17,23,.94); backdrop-filter: blur(16px); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { color: var(--accent); font-size: 22px; font-weight: 800; }
.main-nav { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 14px; }
.main-nav a:hover, .main-nav .active { color: var(--text); }
.hero { min-height: 520px; display: grid; grid-template-columns: minmax(260px, 390px) minmax(0, 1fr); align-items: center; gap: clamp(34px, 7vw, 96px); padding-top: 56px; padding-bottom: 72px; }
.hero-poster { aspect-ratio: 2 / 3; max-height: 480px; overflow: hidden; border-radius: 6px; box-shadow: 0 28px 70px rgba(0,0,0,.42); }
.hero-poster img { height: 100%; object-fit: cover; }
.eyebrow { margin: 0 0 10px; color: var(--accent-2); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 760px; overflow-wrap: anywhere; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; }
.hero-text { max-width: 700px; margin: 24px 0 0; color: #c4cbd3; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.primary-button { padding: 13px 22px; border-radius: 5px; background: var(--accent); color: #18130a; font-weight: 800; }
.text-link { color: #c7ced6; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.content-section { padding-top: 36px; padding-bottom: 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); }
.section-heading > a { color: var(--accent); font-size: 14px; }
.poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.poster-card { min-width: 0; }
.poster-card img { aspect-ratio: 2 / 3; object-fit: cover; border-radius: 5px; transition: transform .2s ease, filter .2s ease; }
.poster-card:hover img { transform: translateY(-4px); filter: brightness(1.08); }
.poster-card strong { display: block; margin-top: 12px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.poster-card span { display: -webkit-box; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.feature-band { padding: 64px 0; background: #e9edf0; color: #15191e; }
.section-heading.light .eyebrow { color: #177e68; }
.section-heading.light > a { color: #8b5b00; }
.wide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wide-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 18px; min-height: 150px; padding: 14px; border: 1px solid #cfd5da; background: #fff; }
.wide-card img { height: 122px; object-fit: cover; }
.wide-card strong { font-size: 17px; }
.wide-card p { margin: 10px 0 0; color: #66717c; font-size: 13px; line-height: 1.65; }
.update-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.update-list > a { display: grid; grid-template-columns: 38px 64px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 104px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.update-list > a:nth-child(odd) { border-right: 1px solid var(--line); }
.update-list > a > span { color: var(--accent); font-weight: 800; }
.update-list img { width: 64px; height: 76px; object-fit: cover; }
.update-list strong { font-size: 15px; }
.update-list p { margin: 7px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
@media (max-width: 980px) { .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; }
  .main-nav { gap: 16px; }
  .hero { min-height: 0; grid-template-columns: 110px minmax(0, 1fr); align-items: start; gap: 20px; padding: 34px 0 48px; }
  .hero-poster { max-height: none; }
  .hero h1 { font-size: 29px; }
  .hero-text { display: -webkit-box; margin-top: 14px; overflow: hidden; font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 20px; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .wide-grid, .update-list { grid-template-columns: 1fr; }
  .update-list > a:nth-child(odd) { border-right: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 26px 0; }
}
