:root {
  --hp-bg: #101010;
  --hp-shell: #151515;
  --hp-panel: #1b1b1b;
  --hp-panel-2: #202020;
  --hp-line: #2e2e2e;
  --hp-line-soft: rgba(255, 255, 255, 0.08);
  --hp-text: #ecf0f1;
  --hp-muted: #a8a8a8;
  --hp-soft: #777;
  --hp-gold: #d08309;
  --hp-gold-2: #f39c12;
  --hp-red: #e62117;
  --hp-radius: 4px;
  --hp-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--hp-bg);
  color: var(--hp-text);
  letter-spacing: 0;
  color-scheme: dark;
}

body.hp-site {
  margin: 0;
  min-width: 320px;
  background: var(--hp-bg);
  color: var(--hp-text);
  font: 14px/1.35 Tahoma, "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

body.hp-site a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

body.hp-site a:hover {
  color: var(--hp-gold-2);
}

body.hp-site img {
  display: block;
  max-width: 100%;
}

body.hp-site button,
body.hp-site input,
body.hp-site textarea {
  font: inherit;
}

ul,
ol,
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.hide,
.hp-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hp-skip:focus {
  left: 10px;
  top: 10px;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 8px 12px;
  background: var(--hp-gold);
  color: #101010;
  font-weight: 700;
}

.hp-shell {
  width: min(1930px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--hp-shell);
  box-shadow: 0 0 0 1px #0b0b0b;
}

.hp-top-links {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 10px;
  color: #bababa;
  background: #0b0b0b;
  border-bottom: 1px solid #1f1f1f;
  font-size: 13px;
}

.hp-top-links span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-top-links .hp-ad-contact {
  margin-right: 54px;
  color: #ff2f7d;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 47, 125, 0.62);
}

.hp-top-links .hp-ad-contact:hover {
  color: #00f0ff;
}

.hp-header {
  background: #000;
  border-bottom: 1px solid var(--hp-line);
}

.hp-header-main {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(160px, 300px) minmax(420px, 780px) 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 10px;
}

.hp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 160px;
  max-width: 300px;
  min-height: 48px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.hp-logo img {
  width: auto;
  max-width: 300px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.hp-search {
  display: flex;
  width: min(820px, calc(100% + 216px));
  max-width: 820px;
  margin: 0 0 0 240px;
  border: 1px solid #383838;
  background: #101010;
}

.hp-search input,
.hp-page-search input {
  min-width: 0;
  flex: 1 1 auto;
  height: 42px;
  border: 0;
  padding: 0 12px;
  outline: 0;
  color: #fff;
  background: #101010;
}

.hp-search button,
.hp-page-search button,
.hp-form button,
.hp-button {
  min-width: 74px;
  border: 0;
  padding: 0 16px;
  color: #101010;
  background: var(--hp-gold);
  font-weight: 700;
  cursor: pointer;
}

.hp-search button:hover,
.hp-page-search button:hover,
.hp-form button:hover,
.hp-button:hover {
  background: var(--hp-gold-2);
  color: #101010;
}

.hp-nav {
  display: grid;
  gap: 4px;
  padding: 0 10px 10px;
  background: #000;
}

.hp-home-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 118px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #3a3a3a;
  background: #202020;
  color: #f2f2f2;
  font-weight: 700;
}

.hp-nav-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 3px;
}

.hp-nav-primary,
.hp-nav-child {
  height: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid #363636;
  color: #ededed;
  background: #1c1c1c;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-nav-primary {
  border-color: #ffb31a;
  background: linear-gradient(135deg, #7a4b00 0%, #d18400 48%, #3a2400 100%);
  color: #fff6d6;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 244, 196, 0.38), 0 0 10px rgba(243, 156, 18, 0.22);
}

.hp-nav-primary:hover {
  border-color: #ff4d6d;
  background: linear-gradient(135deg, #6d1020 0%, #b51f36 52%, #2a050b 100%);
  color: #ffffff;
}

.hp-nav-child:hover {
  border-color: #555555;
  background: #303030;
  color: #ffffff;
}

.hp-main {
  min-height: 60vh;
  padding: 10px;
}

.hp-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}

.hp-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  aspect-ratio: 484 / 46;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  background: #1b1b1b;
  color: var(--hp-gold-2);
  font-weight: 800;
}

.hp-banner img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hp-banners--section {
  margin: 10px 0 12px;
}

.hp-iconbar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid var(--hp-line);
  background: #111;
}

.hp-icon {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #eee;
  text-align: center;
}

.hp-icon span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: var(--hp-radius);
  background: #222;
  color: var(--hp-gold-2);
  font-weight: 800;
}

.hp-icon span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-icon em {
  max-width: 100%;
  overflow: hidden;
  color: #ddd;
  font-style: normal;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-notice {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  background: #1b1b1b;
  color: #ddd;
}

.hp-notice-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 10px;
}

.hp-notice-track span:first-child {
  color: var(--hp-gold-2);
  font-weight: 800;
}

.hp-section,
.hp-detail,
.hp-card {
  margin-bottom: 12px;
  border: 1px solid var(--hp-line);
  background: var(--hp-panel);
  box-shadow: var(--hp-shadow);
}

.hp-section-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-bottom: 1px solid var(--hp-line);
  background: #111;
}

.hp-section-head h1,
.hp-section-head h2 {
  min-width: 0;
  color: var(--hp-gold-2);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.hp-section-head h1 a,
.hp-section-head h2 a {
  color: inherit;
}

.hp-section-head > a,
.hp-more {
  margin-left: auto;
  color: #bbb;
  font-size: 13px;
  white-space: nowrap;
}

.hp-section-head--cats {
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.hp-section-tags {
  flex: 1 1 360px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  overflow: visible;
}

.hp-section-tags a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #3a3a3a;
  background: #202020;
  color: #ddd;
  font-size: 13px;
  flex: 0 0 auto;
}

.hp-section-tags a:hover {
  border-color: var(--hp-gold);
}

.hp-video-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.hp-home-video-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hp-video-item {
  min-width: 0;
}

.hp-video-card {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 22px;
  gap: 6px;
  padding: 6px;
  border: 1px solid #2a2a2a;
  background: #111;
}

.hp-video-card:hover {
  border-color: rgba(208, 131, 9, 0.68);
}

.hp-video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
}

.hp-video-thumb img,
.hp-video-thumb video,
.hp-video-thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--hp-gold-2);
  background: #1f1f1f;
  font-weight: 900;
}

.hp-play-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 2px;
  color: #101010;
  background: rgba(208, 131, 9, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.hp-video-title {
  min-width: 0;
  min-height: 36px;
  color: #eee;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.hp-video-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hp-video-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--hp-muted);
  font-size: 12px;
}

.hp-video-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-view-count {
  font-style: normal;
}

.hp-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--hp-line);
  background: #1b1b1b;
}

.hp-tags-cloud--top {
  margin-top: -2px;
}

.hp-tags-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 13px;
  border: 1px solid #484848;
  border-radius: 999px;
  background: #111;
  color: #f0f0f0;
  font-weight: 700;
}

.hp-tags-cloud a:hover {
  border-color: #737373;
  background: #242424;
  color: #fff;
}

.hp-tags-cloud--large {
  margin: 0;
  border: 0;
}

.hp-friend-links {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--hp-line);
  background: #1b1b1b;
}

.hp-friend-links h2 {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  color: #ff4f8b;
  font-size: 15px;
  font-weight: 800;
}

.hp-friend-links-list {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-friend-links-list a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #3a3a3a;
  background: #111;
  color: #7ee7ff;
  font-weight: 700;
}

.hp-friend-links-list a:hover {
  border-color: #25d7ff;
  color: #ffd15c;
}

.hp-category-desc {
  padding: 10px;
  border-bottom: 1px solid var(--hp-line);
  color: var(--hp-muted);
}

.hp-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  color: var(--hp-muted);
  font-size: 13px;
}

.hp-crumb a:hover {
  color: var(--hp-gold-2);
}

.hp-detail {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.hp-detail-head {
  order: 1;
  padding: 14px 12px 10px;
  border-bottom: 1px solid var(--hp-line);
  background: #111;
}

.hp-detail-head h1 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.hp-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
  color: var(--hp-muted);
  font-size: 13px;
}

.hp-detail-meta a {
  color: var(--hp-gold-2);
}

.hp-player-card {
  order: 2;
  width: min(860px, calc(100% - 20px));
  margin: 10px auto;
  border: 1px solid #303030;
  background: #000;
}

.hp-player-aspect {
  aspect-ratio: 16 / 9;
  min-height: 180px;
  background: #000;
}

.hp-player-aspect > div,
.hp-player-aspect .dplayer,
.hp-player-aspect iframe,
.hp-player-aspect video {
  width: 100%;
  height: 100%;
}

.hp-detail-play-player,
.hp-detail-play-stage,
.hp-detail-play-stage #mse {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: #000;
}

.hp-detail-play-stage {
  position: relative;
  overflow: hidden;
}

.hp-detail-play-stage .xgplayer,
.hp-detail-play-stage .xgplayer video {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  background: #000;
}

.hp-detail-play-stage video {
  object-fit: contain;
}

.hp-detail-play-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--hp-gold-2);
  background: #000;
  font-weight: 800;
}

.hp-player-empty {
  display: grid;
  place-items: center;
  color: var(--hp-muted);
}

.hp-player-empty img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hp-card {
  margin: 10px;
  padding: 12px;
  box-shadow: none;
}

.hp-content-links {
  order: 4;
}

.hp-content-body {
  order: 5;
  color: #ddd;
  line-height: 1.8;
}

.hp-content-body p {
  margin: 0 0 12px;
}

.hp-content-body img,
.hp-detail-cover img {
  max-width: 100%;
  height: auto;
  margin: 10px auto;
}

.hp-content-links {
  overflow-wrap: anywhere;
}

.content-keywords,
.archive-keywords {
  order: 3;
  margin-top: 0;
}

.archive-combined-tags {
  overflow: hidden;
}

.archive-combined-tags .tag-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  max-height: 30px;
  overflow: hidden;
}

.archive-combined-tags .tag-list a {
  flex: 0 0 auto;
}

.hp-content-links a {
  color: var(--hp-gold-2);
}

.hp-prevnext {
  order: 6;
  display: grid;
  gap: 8px;
  margin: 10px;
  padding: 10px 12px;
  border: 1px solid var(--hp-line);
  background: #111;
  color: #ddd;
}

.hp-list {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.hp-list-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  border: 1px solid #2a2a2a;
  background: #111;
}

.hp-list-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  color: var(--hp-gold-2);
  font-size: 26px;
  font-weight: 900;
}

.hp-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-list-card h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.hp-list-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 8px;
  color: var(--hp-muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hp-list--grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.hp-poster-card {
  padding: 6px;
  border: 1px solid #2a2a2a;
  background: #111;
}

.hp-poster-thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  color: var(--hp-gold-2);
  font-size: 24px;
  font-weight: 900;
}

.hp-poster-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-poster-card h2 {
  min-height: 36px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.3;
}

.hp-page-search {
  display: flex;
  margin: 10px;
  border: 1px solid #383838;
  background: #101010;
}

.hp-page-search button {
  min-height: 42px;
}

.hp-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px 12px;
}

.hp-pagination a {
  min-width: 38px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #3a3a3a;
  background: #111;
  color: #ddd;
}

.hp-pagination a.is-current,
.hp-pagination a:hover {
  border-color: var(--hp-gold);
  background: var(--hp-gold);
  color: #101010;
}

.hp-empty {
  padding: 18px;
  color: var(--hp-muted);
}

li.hp-empty {
  grid-column: 1 / -1;
}

.hp-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 12px;
}

.hp-form-section {
  max-width: 760px;
}

.hp-form {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.hp-form label {
  display: grid;
  gap: 6px;
  color: #ddd;
}

.hp-form input,
.hp-form textarea {
  width: 100%;
  border: 1px solid #383838;
  padding: 10px 12px;
  outline: 0;
  color: #fff;
  background: #101010;
}

.hp-form input:focus,
.hp-form textarea:focus {
  border-color: var(--hp-gold);
}

.hp-form button {
  width: fit-content;
  min-height: 38px;
}

.hp-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hp-contact-grid p {
  margin: 0;
  padding: 10px;
  border: 1px solid #303030;
  background: #111;
}

.hp-contact-grid strong {
  display: block;
  color: var(--hp-gold-2);
}

.hp-contact-grid span {
  color: #ddd;
}

.hp-footer {
  padding: 18px 10px 22px;
  border-top: 1px solid var(--hp-line);
  background: #0b0b0b;
  color: var(--hp-muted);
  text-align: center;
}

.hp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.hp-warning {
  margin-top: 8px;
  color: #b87070;
  font-size: 12px;
}

.hp-backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d18400 0%, #ffb31a 100%);
  color: #111111;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 198, 79, 0.35);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.hp-backtop:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff4d6d 0%, #b51f36 100%);
  color: #ffffff;
}

.hp-backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.anqi-preview-host {
  position: relative;
}

.anqi-preview-layer {
  position: absolute;
  inset: 0;
  display: none;
  background: #000;
}

.anqi-preview-layer.is-active {
  display: block;
}

.anqi-preview-layer video,
.anqi-preview-layer iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .hp-home-link,
  .hp-nav-primary,
  .hp-nav-child {
    flex-basis: 110px;
  }
}

@media (max-width: 860px) {
  .hp-header-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hp-logo {
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .hp-logo img {
    max-width: min(320px, 100%);
  }

  .hp-search {
    width: 100%;
    flex-basis: 100%;
    max-width: none;
    margin: 0;
  }

  .hp-home-link,
  .hp-nav-primary,
  .hp-nav-child {
    min-width: 0;
    padding: 0 4px;
    font-size: 13px;
  }

  .hp-nav-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 40px;
  }

  .hp-nav-primary {
    grid-row: span 2;
    height: auto;
    min-height: 83px;
    align-self: stretch;
  }

  .hp-nav-row .hp-nav-child:nth-of-type(6) {
    grid-column: 2;
  }

  .hp-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hp-banners {
    grid-template-columns: 1fr;
  }

  .hp-banner {
    height: clamp(64px, 18vw, 88px);
    aspect-ratio: auto;
  }

  .hp-top-links {
    justify-content: center;
    flex-wrap: wrap;
    padding: 6px 8px;
  }

  .hp-top-links span {
    flex-basis: 100%;
    text-align: center;
  }

  .hp-header-main,
  .hp-main,
  .hp-nav {
    padding-left: 6px;
    padding-right: 6px;
  }

  .hp-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }

  .hp-video-card {
    padding: 4px;
  }

  .hp-section-head {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hp-section-head h1,
  .hp-section-head h2 {
    font-size: 16px;
  }

  .hp-player-aspect {
    min-height: 150px;
  }

  .hp-detail-play-player,
  .hp-detail-play-stage,
  .hp-detail-play-stage #mse {
    min-height: 150px;
  }

  .hp-list-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
  }

  .hp-list-card h2 {
    font-size: 15px;
  }

  .hp-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hp-nav-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 40px;
  }

  .hp-nav-primary {
    grid-row: span 2;
    height: auto;
    min-height: 83px;
  }

  .hp-nav-row .hp-nav-child:nth-of-type(6) {
    grid-column: 2;
  }

  .hp-home-link,
  .hp-nav-primary,
  .hp-nav-child {
    padding: 0 2px;
    font-size: 11px;
  }

  .hp-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
  }

  .hp-video-card {
    gap: 5px;
    padding: 4px;
  }

  .hp-video-title {
    min-height: 32px;
    font-size: 12px;
    line-height: 1.28;
  }

  .hp-video-meta {
    gap: 4px;
    font-size: 11px;
  }

  .hp-list-card {
    grid-template-columns: 1fr;
  }
}

/* 20260906: clearer breadcrumb trail */
.hp-crumb {
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 179, 26, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.92) 0%, rgba(12, 12, 12, 0.92) 100%);
  color: #a9a9a9;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
}

.hp-crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-crumb a,
.hp-crumb-current {
  display: inline-flex;
  align-items: center;
  max-width: 360px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-crumb a {
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.04);
}

.hp-crumb a:hover {
  color: #111;
  background: var(--hp-gold-2);
}

.hp-crumb-current {
  color: #ffcf68;
  font-weight: 700;
}

.hp-crumb-sep {
  color: rgba(255, 207, 104, 0.45);
}

@media (max-width: 640px) {
  .hp-crumb {
    margin-bottom: 10px;
    padding: 7px 8px;
  }
  .hp-crumb a,
  .hp-crumb-current {
    max-width: 180px;
  }
}
