/* 91PORN传媒官方网站样式 - 91porns.monster */
:root {
  --primary: #ff6600;
  --primary-dark: #e55a00;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --border: #2a2a2a;
  --gradient: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 12px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-link:hover { text-decoration: none; }
.logo-img { width: 48px; height: 48px; border-radius: 10px; }
.logo-text { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }
.logo-text span { color: var(--primary); }

.nav-main { display: flex; gap: 8px; align-items: center; }
.nav-main a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(255,102,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,102,0,0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.page-header .breadcrumb { color: var(--text-muted); font-size: 0.9rem; }
.page-header .breadcrumb a { color: var(--text-secondary); }

.page-body { padding: 48px 0 80px; }

.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--text-primary); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--primary); }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin-left: 24px; margin-bottom: 16px; }

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.8;
}

.error-page h1 { font-size: 1.8rem; margin: 16px 0; }
.error-page p { color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; }

.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }

.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 15px; overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100%; }
  .menu-toggle { display: block; flex-shrink: 0; }
  .header-inner { padding: 10px 16px; gap: 8px; }
  .logo-link { min-width: 0; flex: 1; overflow: hidden; }
  .logo-img { width: 40px; height: 40px; flex-shrink: 0; }
  .logo-text { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-main.open { display: flex; }
  .nav-main a { width: 100%; text-align: center; padding: 12px; font-size: 0.92rem; }
  .container { padding: 0 16px; width: 100%; max-width: 100%; }
  .footer-brand p { overflow-wrap: break-word; word-break: break-word; }
  .page-header { padding: 32px 0 24px; }
  .page-header h1 { font-size: 1.6rem; }
  .page-body { padding: 32px 0 56px; }
  .legal-content h2 { font-size: 1.15rem; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 36px 0 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .error-code { font-size: 5rem; }
}

/* ===== 首页专属排版 ===== */
.page-home { background: #080808; }
.hp-main { overflow-x: hidden; }

.hp-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.hp-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: hp-pulse 2s ease infinite;
}

@keyframes hp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hp-section-head { margin-bottom: 40px; }
.hp-section-head h2 { font-size: 1.85rem; font-weight: 800; line-height: 1.25; }
.hp-section-head-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}
.hp-section-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; max-width: 420px; }

.hp-masthead {
  position: relative;
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hp-masthead-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255,102,0,0.07) 0%, transparent 42%),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px);
  pointer-events: none;
}

.hp-masthead-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-width: 0;
}

.hp-masthead-copy {
  min-width: 0;
}

.hp-masthead-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hp-masthead-copy h1 span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0;
}

.hp-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hp-masthead-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hp-text-link {
  color: var(--text-secondary) !important;
  font-size: 0.92rem;
  text-decoration: none !important;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hp-text-link:hover { color: var(--primary) !important; border-color: var(--primary); }

.hp-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 480px;
}

.hp-stats > div {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  background: rgba(20,20,20,0.6);
}
.hp-stats > div:last-child { border-right: none; }
.hp-stats dt { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.hp-stats dd { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }

.hp-collage {
  position: relative;
  height: 420px;
  min-width: 0;
}

.hp-collage-main {
  position: absolute;
  right: 20px;
  top: 10px;
  width: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid #2a2a2a;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  transform: rotate(2deg);
  z-index: 2;
}
.hp-collage-main img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.hp-collage-sub {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #333;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.hp-collage-sub img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.hp-collage-a { left: 0; top: 60px; width: 130px; transform: rotate(-8deg); z-index: 3; }
.hp-collage-b { left: 70px; bottom: 0; width: 120px; transform: rotate(6deg); z-index: 1; opacity: 0.88; }

.hp-modules { padding: 72px 0; background: #0a0a0a; }

.hp-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 14px;
}

.hp-bento-item {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s;
}
.hp-bento-item:hover { border-color: rgba(255,102,0,0.45); }

.hp-bento-item img {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 90px;
  border-radius: 12px;
  border: 1px solid #333;
  opacity: 0.92;
}

.hp-bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
}
.hp-bento-wide .hp-bento-text { max-width: 58%; }
.hp-bento-wide img { position: static; width: 120px; opacity: 1; }

.hp-bento-tall { grid-row: span 2; }
.hp-bento-tall img { width: 110px; }

.hp-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.hp-bento-item h3 { font-size: 1.05rem; font-weight: 700; }
.hp-bento-item p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; max-width: 90%; }

.hp-filmstrip {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hp-film-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 20px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #1a1a1a;
}
.hp-film-track::-webkit-scrollbar { height: 6px; }
.hp-film-track::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

.hp-film-slide {
  flex: 0 0 168px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  transition: transform 0.2s;
}
.hp-film-slide:hover { transform: translateY(-6px); }
.hp-film-slide img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.hp-film-slide figcaption {
  padding: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.hp-download { padding: 72px 0; background: #0a0a0a; }

.hp-download-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.hp-download-intro h2 { font-size: 1.85rem; font-weight: 800; margin-bottom: 14px; }
.hp-download-intro > p { color: var(--text-secondary); margin-bottom: 28px; }

.hp-keyword-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-keyword-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px dashed #333;
  padding: 5px 12px;
  border-radius: 4px;
}

.hp-timeline {
  list-style: none;
  border-left: 2px solid var(--border);
  margin-left: 18px;
  padding-left: 32px;
}

.hp-timeline li { position: relative; padding-bottom: 36px; }
.hp-timeline li:last-child { padding-bottom: 0; }

.hp-timeline-marker {
  position: absolute;
  left: -49px;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.hp-timeline h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hp-timeline p { color: var(--text-secondary); font-size: 0.92rem; }

.hp-guide {
  padding: 72px 0;
  background: #080808;
  border-top: 1px solid var(--border);
}

.hp-guide-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.hp-toc { position: sticky; top: 100px; }
.hp-toc h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }

.hp-toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--border);
}

.hp-toc nav a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.hp-toc nav a:hover {
  color: var(--primary) !important;
  border-left-color: var(--primary);
}

.hp-article section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #1a1a1a;
}
.hp-article section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.hp-article h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hp-article p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-align: justify;
  line-height: 1.85;
}

.hp-callout {
  margin-top: 20px;
  padding: 18px 22px;
  background: rgba(255,102,0,0.06);
  border: 1px solid rgba(255,102,0,0.2);
  border-radius: 10px;
}
.hp-callout p { margin: 0; font-size: 0.92rem; }

.hp-faq {
  padding: 72px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
}

.hp-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hp-faq-card {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  transition: border-color 0.2s;
}
.hp-faq-card:hover { border-color: rgba(255,102,0,0.35); }

.hp-faq-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.hp-faq-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; margin: 0; }

.hp-bar {
  padding: 28px 0;
  background: linear-gradient(90deg, rgba(255,102,0,0.12) 0%, rgba(255,102,0,0.03) 50%, transparent 100%);
  border-top: 1px solid rgba(255,102,0,0.15);
}

.hp-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hp-bar-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.hp-bar-text { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }

@media (max-width: 1024px) {
  .hp-section-head-row { grid-template-columns: 1fr; gap: 12px; }
  .hp-bento { grid-template-columns: repeat(2, 1fr); }
  .hp-bento-wide { grid-column: span 2; }
  .hp-bento-tall { grid-row: span 1; }
  .hp-download-layout { grid-template-columns: 1fr; gap: 36px; }
  .hp-guide-layout { grid-template-columns: 1fr; }
  .hp-toc { position: static; margin-bottom: 8px; }
  .hp-toc nav { flex-direction: row; flex-wrap: wrap; border-left: none; gap: 8px; }
  .hp-toc nav a { border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; margin-left: 0; }
  .hp-faq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hp-masthead { padding: 28px 0 40px; overflow: hidden; }
  .hp-masthead-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    min-width: 0;
  }
  .hp-masthead-copy {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .hp-masthead-copy h1 {
    font-size: 1.65rem;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-masthead-copy h1 span {
    font-size: 0.58em;
    margin-top: 4px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-all;
    text-transform: none;
  }
  .hp-lead {
    font-size: 0.92rem;
    max-width: 100%;
    margin-bottom: 20px;
    line-height: 1.75;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-masthead-actions { margin-bottom: 24px; }
  .hp-text-link { font-size: 0.88rem; display: inline-block; max-width: 100%; }

  .hp-collage {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 8px;
    align-items: end;
    height: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .hp-collage-main,
  .hp-collage-sub {
    position: static;
    transform: none;
    opacity: 1;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }
  .hp-collage-main { order: 2; border-radius: 18px; }
  .hp-collage-a { order: 1; }
  .hp-collage-b { order: 3; }

  .hp-stats {
    flex-direction: row;
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  .hp-stats > div {
    padding: 10px 6px;
    border-right: 1px solid var(--border);
    border-bottom: none;
    text-align: center;
    min-width: 0;
    flex: 1;
  }
  .hp-stats > div:last-child { border-right: none; }
  .hp-stats dt { font-size: 0.62rem; letter-spacing: 0; }
  .hp-stats dd {
    font-size: 0.78rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hp-modules,
  .hp-filmstrip,
  .hp-download,
  .hp-guide,
  .hp-faq { padding: 48px 0; }

  .hp-section-head { margin-bottom: 28px; min-width: 0; }
  .hp-section-head h2 {
    font-size: 1.35rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-section-desc {
    max-width: 100%;
    font-size: 0.88rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hp-bento { grid-template-columns: 1fr; gap: 12px; min-width: 0; }
  .hp-bento-wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 18px;
  }
  .hp-bento-wide .hp-bento-text { max-width: 100%; }
  .hp-bento-wide img {
    align-self: center;
    width: 100%;
    max-width: 140px;
    margin-top: 8px;
  }
  .hp-bento-item {
    padding: 18px;
    min-height: auto;
    min-width: 0;
    overflow: hidden;
  }
  .hp-bento-item img {
    position: static;
    width: 100%;
    max-width: 110px;
    margin-top: 10px;
    align-self: flex-end;
    opacity: 1;
  }
  .hp-bento-item h3 {
    font-size: 1rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-bento-item p {
    max-width: 100%;
    font-size: 0.86rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hp-film-track {
    padding: 4px 16px 16px;
    gap: 12px;
    scroll-padding-left: 16px;
  }
  .hp-film-slide { flex: 0 0 132px; }

  .hp-download-layout { gap: 28px; }
  .hp-download-intro h2 {
    font-size: 1.35rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-timeline {
    margin-left: 14px;
    padding-left: 28px;
  }
  .hp-timeline-marker {
    left: -43px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .hp-timeline li { padding-bottom: 28px; }
  .hp-timeline h3 {
    font-size: 1rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-timeline p {
    font-size: 0.88rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hp-toc h2 { font-size: 1.1rem; margin-bottom: 14px; }
  .hp-toc nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hp-toc nav::-webkit-scrollbar { display: none; }
  .hp-toc nav a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .hp-guide-layout {
    min-width: 0;
    gap: 20px;
  }

  .hp-toc {
    min-width: 0;
    width: 100%;
  }

  .hp-article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hp-article section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .hp-article h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  .hp-article p {
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  .hp-callout {
    padding: 14px 16px;
    margin-top: 16px;
    box-sizing: border-box;
    max-width: 100%;
  }
  .hp-callout p {
    font-size: 0.86rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hp-faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .hp-faq-card { padding: 18px; }
  .hp-faq-card h3 {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hp-faq-card p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hp-bar { padding: 24px 0; overflow: hidden; }
  .hp-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
  }
  .hp-bar-label { letter-spacing: 0.1em; }
  .hp-bar-text {
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hp-article { padding: 16px 14px; }
  .hp-callout { padding: 12px 14px; }
  .hp-masthead-copy h1 { font-size: 1.45rem; }
  .hp-eyebrow { font-size: 0.58rem; }
  .hp-lead { font-size: 0.88rem; }
  .hp-collage { gap: 6px; }
  .hp-collage-main { border-radius: 12px; }
  .hp-collage-sub { border-radius: 8px; }
  .hp-stats > div { padding: 8px 4px; }
  .hp-stats dd { font-size: 0.72rem; }
  .hp-section-head h2 { font-size: 1.22rem; }
  .hp-keyword-list li { font-size: 0.72rem; padding: 4px 8px; }
  .hp-film-slide { flex: 0 0 118px; }
  .hp-film-slide figcaption { font-size: 0.75rem; padding: 8px; }
}
