/* siteapp8 — VipNhatHub
   Font Awesome 6 Free faces.
   The shared /static/siteapp/fontawesome pack is rebuilt by the mirroring
   pipeline: its css keeps class names but loses the @font-face rules, and its
   rebuilt webfonts drop glyphs in browsers. Ship this theme's own FA webfonts
   and register the faces so every solid/regular glyph renders. */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url('/static/siteapp8/fonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/static/siteapp8/fonts/fa-regular-400.woff2') format('woff2');
}

/* Weight rules the mirrored FA css lost: without them .fa-solid matches the
   400 regular face and solid-only glyphs turn into tofu boxes. */
.fa-solid, .fas { font-weight: 900; }
.fa-regular, .far { font-weight: 400; }

/* siteapp8 — VipNhatHub
   Visual language probed from nhatvip.spot: near-black espresso canvas (#0c0402/#2d1304),
   warm amber/gold gradients (#ffb96e -> #ffe9a4), caramel borders (#784e03/#cfb689),
   soft #ffe5b7 tinted panels, Montserrat-style rounded typography. */

:root {
  --vh-bg: #0c0402;
  --vh-bg-soft: #2d1304;
  --vh-panel: #190c02;
  --vh-panel-2: #0e0705;
  --vh-card: linear-gradient(160deg, #2d1304 0%, #190c02 100%);
  --vh-line: #784e03;
  --vh-line-soft: #2d1304;
  --vh-text: #ffe5b7;
  --vh-text-strong: #fff7e8;
  --vh-muted: #cfb689;
  --vh-faint: #a68a5b;
  --vh-gold: #ffb96e;
  --vh-gold-2: #ffe9a4;
  --vh-gold-3: #cfb689;
  --vh-gold-grad: linear-gradient(180deg, #ffe9a4 0%, #ffb96e 55%, #e8934d 100%);
  --vh-gold-grad-h: linear-gradient(90deg, #ffb96e 0%, #ffe9a4 100%);
  --vh-on-gold: #2d1304;
  --vh-danger: #d55658;
  --vh-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --vh-radius: 14px;
  --vh-radius-sm: 10px;
}

html[data-theme="light"] {
  --vh-bg: #fff7ea;
  --vh-bg-soft: #ffedd7;
  --vh-panel: #ffffff;
  --vh-panel-2: #fff4e2;
  --vh-card: linear-gradient(160deg, #ffffff 0%, #fff4e2 100%);
  --vh-line: #e3b888;
  --vh-line-soft: #f3ddc0;
  --vh-text: #453800;
  --vh-text-strong: #2d1304;
  --vh-muted: #7a6233;
  --vh-faint: #99804f;
  --vh-gold: #e8934d;
  --vh-gold-2: #c9772f;
  --vh-gold-3: #a86418;
  --vh-gold-grad: linear-gradient(180deg, #ffd1b5 0%, #ffb96e 55%, #e8934d 100%);
  --vh-gold-grad-h: linear-gradient(90deg, #ffb96e 0%, #ffedd7 100%);
  --vh-on-gold: #2d1304;
  --vh-danger: #c23e40;
  --vh-shadow: 0 10px 26px rgba(120, 78, 3, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 420px at 50% -160px, rgba(255, 185, 110, 0.14), transparent 62%),
    var(--vh-bg);
  color: var(--vh-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 92px;
}
html[data-theme="light"] body {
  background:
    radial-gradient(1100px 420px at 50% -160px, rgba(255, 185, 110, 0.35), transparent 62%),
    var(--vh-bg);
}
a { color: var(--vh-gold); text-decoration: none; }
a:hover { color: var(--vh-gold-2); }
img { max-width: 100%; }
.vh-skip { position: absolute; left: -9999px; }
.vh-skip:focus { left: 8px; top: 8px; z-index: 300; background: var(--vh-gold); color: var(--vh-on-gold); padding: 8px 12px; border-radius: 8px; }
.vh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.vh-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(12, 4, 2, 0.92);
  border-bottom: 1px solid var(--vh-line);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .vh-header { background: rgba(255, 247, 234, 0.94); }
.vh-header-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 14px; }
.vh-logo { display: inline-flex; align-items: center; gap: 10px; }
.vh-logo-gem {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vh-gold-grad); color: var(--vh-on-gold);
  font-size: 18px; box-shadow: 0 0 22px rgba(255, 185, 110, 0.45);
}
.vh-logo-txt {
  font-size: 21px; font-weight: 800; letter-spacing: 0.4px;
  background: var(--vh-gold-grad-h);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.vh-burger {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--vh-line); background: var(--vh-panel);
  color: var(--vh-gold); font-size: 18px; cursor: pointer;
}
.vh-catbar { border-top: 1px solid var(--vh-line-soft); background: var(--vh-panel-2); }
.vh-catbar-in { display: flex; align-items: center; gap: 4px; overflow-x: auto; list-style: none; margin: 0; padding: 0 16px; min-height: 46px; }
.vh-catbar-in::-webkit-scrollbar { display: none; }
.vh-catbar a {
  display: inline-flex; align-items: center; padding: 7px 14px; margin: 5px 0;
  border-radius: 999px; color: var(--vh-muted); font-weight: 700; font-size: 14px;
  border: 1px solid transparent; white-space: nowrap;
}
.vh-catbar a:hover { color: var(--vh-gold-2); border-color: var(--vh-line); }
.vh-catbar a.is-active {
  color: var(--vh-on-gold); background: var(--vh-gold-grad); border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 185, 110, 0.35);
}
.vh-mode { background: none; border: 0; padding: 4px 8px; margin-left: 6px; cursor: pointer; }
.vh-mode-track {
  display: inline-flex; align-items: center; width: 54px; height: 26px; padding: 3px;
  border-radius: 999px; border: 1px solid var(--vh-line); background: var(--vh-panel);
  transition: background 0.25s ease;
}
.vh-mode-knob {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--vh-gold-grad); color: var(--vh-on-gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
  transition: transform 0.25s ease;
}
html[data-theme="light"] .vh-mode-knob { transform: translateX(28px); }

html[data-theme="light"] .vh-logo-txt {
  background: linear-gradient(90deg, #b96a12 0%, #8a4c04 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
html[data-theme="light"] .vh-hero-h1-dot {
  background: linear-gradient(90deg, #b96a12 0%, #8a4c04 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
html[data-theme="dark"] .vh-mode-knob i { color: #2d1304; }

/* ---------- buttons ---------- */
.vh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 12px; font-weight: 800; font-size: 15px;
  border: 1px solid var(--vh-line); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.vh-btn:hover { transform: translateY(-1px); }
.vh-btn-gold {
  background: var(--vh-gold-grad); color: var(--vh-on-gold); border-color: transparent;
  box-shadow: 0 8px 22px rgba(255, 185, 110, 0.32);
}
.vh-btn-gold:hover { filter: brightness(1.06); color: var(--vh-on-gold); }
.vh-btn-ghost { background: var(--vh-panel); color: var(--vh-text); }
.vh-btn-ghost:hover { color: var(--vh-gold-2); border-color: var(--vh-gold); }
.vh-btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- hero ---------- */
.vh-hero-panel {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px;
  background: var(--vh-card); border: 1px solid var(--vh-line);
  border-radius: 20px; padding: 30px; margin: 22px 0 8px; position: relative; overflow: hidden;
}
.vh-hero-panel::before {
  content: ""; position: absolute; inset: -80px auto auto -60px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 185, 110, 0.18), transparent 70%); pointer-events: none;
}
.vh-hero-h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.25; color: var(--vh-text-strong); }
.vh-hero-h1-dot { background: var(--vh-gold-grad-h); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.vh-hero-sub { margin: 0 0 18px; color: var(--vh-muted); max-width: 46ch; }
.vh-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.vh-trust { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; color: var(--vh-gold-3); font-size: 13.5px; font-weight: 700; }
.vh-trust i { margin-right: 6px; color: var(--vh-gold); }
.vh-socials { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.vh-socials a, .vh-discover a {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--vh-line); background: var(--vh-panel-2); color: var(--vh-gold);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.vh-socials a:hover, .vh-discover a:hover { background: var(--vh-gold); color: var(--vh-on-gold); transform: translateY(-2px); }
.vh-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vh-hero-cap { margin: 10px 2px 0; color: var(--vh-gold-3); font-size: 13px; font-weight: 700; }
.vh-hero-cap i { margin-right: 6px; color: var(--vh-gold); }

/* hero tile card */
.vh-hero {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--vh-panel-2); border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius); padding: 14px 10px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.vh-hero:hover { transform: translateY(-3px); border-color: var(--vh-gold); box-shadow: var(--vh-shadow); }
.vh-hero-ic {
  width: 62px; height: 62px; border-radius: 14px; overflow: hidden; flex: 0 0 auto;
  border: 1px solid var(--vh-line); background: var(--vh-bg-soft);
}
.vh-hero-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vh-hero-name { color: var(--vh-text-strong); font-weight: 700; font-size: 13px; line-height: 1.35; }
.vh-hero-stars { color: var(--vh-gold); font-size: 12.5px; font-weight: 800; }
.vh-hero-stars i { margin-right: 4px; }

/* ---------- sections ---------- */
.vh-sec { margin: 26px 0; }
.vh-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.vh-sec-title { margin: 0; font-size: 20px; color: var(--vh-text-strong); }
.vh-sec-title i { color: var(--vh-gold); margin-right: 8px; }
.vh-sec-count {
  color: var(--vh-on-gold); background: var(--vh-gold-grad); border-radius: 999px;
  font-size: 12px; font-weight: 800; padding: 3px 11px;
}
.vh-more { margin-left: auto; font-weight: 700; font-size: 14px; }
.vh-crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--vh-faint); font-size: 13.5px; margin: 18px 0 4px; }
.vh-crumb i { font-size: 10px; }
.vh-crumb a { color: var(--vh-muted); }
.vh-crumb a:hover { color: var(--vh-gold-2); }
.vh-all-link { text-align: center; margin-top: 16px; }

/* ---------- list rows ---------- */
.vh-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vh-card-link, .vh-tile-link, .vh-card-row-reset { color: inherit; }
.vh-card-link {
  display: flex; align-items: center; gap: 13px;
  background: var(--vh-card); border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius); padding: 12px 14px; height: 100%;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
}
.vh-card-link:hover { transform: translateY(-2px); border-color: var(--vh-gold); box-shadow: var(--vh-shadow); color: inherit; }
.vh-card-ic {
  width: 58px; height: 58px; border-radius: 13px; overflow: hidden; flex: 0 0 auto;
  border: 1px solid var(--vh-line); background: var(--vh-bg-soft);
}
.vh-card-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vh-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vh-card-name { color: var(--vh-text-strong); font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.vh-card-ver { color: var(--vh-gold-3); font-size: 12.5px; font-weight: 700; }
.vh-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.vh-stars { color: var(--vh-gold); font-size: 11.5px; letter-spacing: 1.5px; }
.vh-score { color: var(--vh-muted); font-size: 12.5px; font-weight: 800; }
.vh-card-go {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vh-gold-grad); color: var(--vh-on-gold); font-size: 14px;
}

/* ---------- tiles ---------- */
.vh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.vh-tile-link {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center; padding: 18px 12px 14px; height: 100%; color: inherit;
  background: var(--vh-card); border: 1px solid var(--vh-line); border-radius: var(--vh-radius);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.vh-tile-link:hover { transform: translateY(-3px); border-color: var(--vh-gold); box-shadow: var(--vh-shadow); color: inherit; }
.vh-tile-badge {
  position: absolute; top: 10px; right: 10px;
  color: var(--vh-on-gold); background: var(--vh-gold-grad);
  font-size: 10px; font-weight: 800; letter-spacing: 0.6px; border-radius: 999px; padding: 3px 8px;
}
.vh-tile-ic {
  width: 64px; height: 64px; border-radius: 15px; overflow: hidden;
  border: 1px solid var(--vh-line); background: var(--vh-bg-soft);
}
.vh-tile-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vh-tile-name { color: var(--vh-text-strong); font-weight: 700; font-size: 13.5px; line-height: 1.35; }
.vh-tile-meta { display: flex; align-items: center; gap: 7px; }

/* ---------- detail page ---------- */
.vh-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; margin-top: 12px; }
.vh-article { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vh-headcard {
  background: var(--vh-card); border: 1px solid var(--vh-line); border-radius: 18px; padding: 24px;
}
.vh-headcard-ic {
  display: inline-block; width: 96px; height: 96px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--vh-line); background: var(--vh-bg-soft); margin-bottom: 14px;
  box-shadow: 0 0 26px rgba(255, 185, 110, 0.25);
}
.vh-headcard-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vh-h1 { margin: 0 0 10px; font-size: 26px; line-height: 1.3; color: var(--vh-text-strong); }
.vh-h2 { margin: 22px 0 10px; font-size: 19px; color: var(--vh-text-strong); }
.vh-h2 i { color: var(--vh-gold); margin-right: 8px; }
.vh-headcard-sub { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vh-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--vh-line); color: var(--vh-gold-2);
  border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 800;
}
.vh-pill i { color: var(--vh-gold); }
.vh-pill-gold { background: var(--vh-gold-grad); color: var(--vh-on-gold); border-color: transparent; }
.vh-pill-gold i { color: var(--vh-on-gold); }
.vh-pill-link:hover { border-color: var(--vh-gold); }
.vh-headcard-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px;
}
.vh-headcard-facts > div {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--vh-panel-2); border: 1px solid var(--vh-line-soft);
  border-radius: var(--vh-radius-sm); padding: 9px 12px;
}
.vh-headcard-facts i { color: var(--vh-gold); font-size: 12px; margin-bottom: 3px; }
.vh-headcard-facts b { color: var(--vh-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; }
.vh-headcard-facts span { color: var(--vh-text-strong); font-weight: 700; font-size: 13.5px; }
.vh-headcard-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.vh-discover {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  background: var(--vh-panel-2); border: 1px solid var(--vh-line-soft);
  border-radius: var(--vh-radius); padding: 12px 16px;
}
.vh-discover-label { color: var(--vh-muted); font-size: 13px; font-weight: 700; margin-right: 2px; }
.vh-discover a { font-size: 13px; font-weight: 700; width: auto; padding: 0 14px; height: 34px; border-radius: 999px; }
.vh-discover a i { font-size: 13px; }

.vh-contentcard, .vh-downloadcard, .vh-commentcard {
  background: var(--vh-card); border: 1px solid var(--vh-line); border-radius: 18px; padding: 24px;
}

/* TOC */
.vh-toc {
  background: var(--vh-panel-2); border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius); padding: 16px 18px; margin-bottom: 8px;
}
.vh-toc-list, .vh-toc-sub { list-style: none; margin: 0; padding: 0; }
.vh-toc-item > a { display: block; padding: 5px 0; font-weight: 700; color: var(--vh-gold-2); }
.vh-toc-item > a::before { content: "// "; color: var(--vh-gold); font-weight: 800; }
.vh-toc-sub { padding-left: 20px; border-left: 1px dashed var(--vh-line); margin: 2px 0 6px 8px; }
.vh-toc-sub a { display: block; padding: 3px 0; color: var(--vh-muted); font-size: 14px; }
.vh-toc a:hover { color: var(--vh-gold); }
.vh-toc-item { border-bottom: 1px dashed var(--vh-line-soft); padding-bottom: 4px; }
.vh-toc-item:last-child { border-bottom: 0; }

/* reader */
.vh-reader p { color: var(--vh-text); margin: 0 0 13px; }
.vh-reader .vh-lead { font-size: 17px; color: var(--vh-text-strong); font-weight: 600; }
.vh-reader h2 { font-size: 19px; color: var(--vh-gold-2); margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 1px dashed var(--vh-line); }
.vh-reader h3 { font-size: 16.5px; color: var(--vh-gold); margin: 18px 0 8px; }
.vh-reader ul, .vh-reader ol { margin: 0 0 14px; padding-left: 22px; color: var(--vh-text); }
.vh-reader li { margin-bottom: 6px; }
.vh-reader li::marker { color: var(--vh-gold); font-weight: 800; }
.vh-faq {
  background: var(--vh-panel-2); border: 1px solid var(--vh-line-soft);
  border-radius: var(--vh-radius-sm); padding: 12px 16px; margin-bottom: 10px;
}
.vh-faq summary { cursor: pointer; font-weight: 700; color: var(--vh-gold-2); }
.vh-faq summary::marker { color: var(--vh-gold); }
.vh-faq p { margin: 8px 0 0; color: var(--vh-text); }

/* download */
.vh-dl-note { color: var(--vh-muted); margin: 0 0 14px; }
.vh-dl-btn { width: 100%; max-width: 420px; font-size: 17px; padding: 15px 26px; }
.vh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.vh-steps > div { background: var(--vh-panel-2); border: 1px solid var(--vh-line-soft); border-radius: var(--vh-radius-sm); padding: 12px 14px; }
.vh-steps b { display: flex; align-items: center; gap: 8px; color: var(--vh-text-strong); margin-bottom: 5px; }
.vh-steps b span {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vh-gold-grad); color: var(--vh-on-gold); font-size: 12px;
}
.vh-steps p { margin: 0; color: var(--vh-muted); font-size: 13.5px; }

/* comments */
.vh-commentform label { display: block; font-size: 13px; font-weight: 700; color: var(--vh-muted); margin-bottom: 12px; }
.vh-commentform input, .vh-commentform textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 13px;
  background: var(--vh-panel-2); color: var(--vh-text-strong);
  border: 1px solid var(--vh-line); border-radius: var(--vh-radius-sm);
  font: inherit; font-size: 14.5px;
}
.vh-commentform input:focus, .vh-commentform textarea:focus { outline: none; border-color: var(--vh-gold); box-shadow: 0 0 0 3px rgba(255, 185, 110, 0.18); }
.vh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.vh-success { margin: 12px 0 0; color: var(--vh-gold); font-weight: 800; }

/* rail */
.vh-rail { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 128px; }
.vh-railbox { background: var(--vh-card); border: 1px solid var(--vh-line); border-radius: 18px; padding: 18px; }
.vh-railbox-title { margin: 0 0 12px; font-size: 16px; color: var(--vh-text-strong); }
.vh-railbox-title i { color: var(--vh-gold); margin-right: 8px; }
.vh-railbox-list { display: flex; flex-direction: column; gap: 10px; }
.vh-railbox-list .vh-card-ic { width: 48px; height: 48px; border-radius: 11px; }
.vh-railbox-list .vh-card-link { padding: 10px 12px; border-radius: var(--vh-radius-sm); }
.vh-railbox-list .vh-card-go { display: none; }

/* missing */
.vh-missing {
  text-align: center; background: var(--vh-card); border: 1px solid var(--vh-line);
  border-radius: 18px; padding: 44px 24px; margin: 24px 0;
}
.vh-missing-icon { font-size: 34px; color: var(--vh-gold); }
.vh-missing .vh-h1 { margin: 10px 0 6px; }
.vh-missing p { color: var(--vh-muted); margin: 0 0 18px; }

/* ---------- footer ---------- */
.vh-footer { border-top: 1px solid var(--vh-line); background: var(--vh-panel-2); margin-top: 30px; padding: 26px 0 20px; }
.vh-footer-note { color: var(--vh-muted); font-size: 13.5px; max-width: 62ch; margin: 10px 0 14px; }
.vh-footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; font-size: 13.5px; font-weight: 700; }
.vh-footer-copy { color: var(--vh-faint); font-size: 12.5px; border-top: 1px dashed var(--vh-line-soft); margin-top: 18px; padding-top: 14px; }

/* ---------- floating login/register ---------- */
.vh-fab {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 120;
  display: flex; gap: 12px; padding: 8px;
  background: rgba(12, 4, 2, 0.88); border: 1px solid var(--vh-line); border-radius: 999px;
  box-shadow: var(--vh-shadow); backdrop-filter: blur(8px);
}
html[data-theme="light"] .vh-fab { background: rgba(255, 247, 234, 0.92); }
.vh-fab a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: 14px;
}
.vh-fab-login { background: var(--vh-panel); color: var(--vh-gold-2); border: 1px solid var(--vh-line); }
.vh-fab-register { background: var(--vh-gold-grad); color: var(--vh-on-gold); border: 1px solid transparent; }
.vh-fab-login:hover { color: var(--vh-gold); border-color: var(--vh-gold); }
.vh-fab-register:hover { filter: brightness(1.06); color: var(--vh-on-gold); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .vh-hero-panel { grid-template-columns: 1fr; }
  .vh-detail { grid-template-columns: 1fr; }
  .vh-rail { position: static; }
}

@media (max-width: 785px) {
  .vh-burger { display: inline-flex; align-items: center; justify-content: center; }
  .vh-catbar { display: none; border-top: 0; }
  .vh-catbar.is-open { display: block; }
  .vh-catbar-in { flex-direction: column; align-items: stretch; padding: 10px 16px 14px; gap: 2px; min-height: 0; }
  .vh-catbar a { margin: 2px 0; justify-content: center; }
  .vh-mode { margin-left: 0; width: 100%; display: flex; justify-content: center; padding: 8px 0 2px; }
  .vh-hero-h1 { font-size: 24px; }
  .vh-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .vh-list { grid-template-columns: 1fr; }
  .vh-headcard-facts { grid-template-columns: repeat(2, 1fr); }
  .vh-steps { grid-template-columns: 1fr; }
  .vh-form-grid { grid-template-columns: 1fr; }
  .vh-contentcard, .vh-downloadcard, .vh-commentcard, .vh-headcard { padding: 18px 16px; }
  .vh-tiles { grid-template-columns: repeat(2, 1fr); }
  .vh-h1 { font-size: 21px; }
  .vh-fab a { padding: 9px 16px; font-size: 13px; }
  body { padding-bottom: 104px; }
}

@media (max-width: 420px) {
  .vh-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .vh-headcard-facts { grid-template-columns: 1fr 1fr; }
  .vh-tiles { grid-template-columns: 1fr 1fr; }
}

/* ---------- v2 additions: language pill, description box, tag row, facts box ---------- */
.vh-lang-item { display: inline-flex; align-items: center; margin-left: auto; }
.vh-lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--vh-line); border-radius: 999px; background: var(--vh-panel);
}
.vh-catbar .vh-lang a {
  padding: 5px 13px; margin: 0; border-radius: 999px; border: 1px solid transparent;
  color: var(--vh-muted); font-size: 12.5px; font-weight: 800; line-height: 1.2;
}
.vh-catbar .vh-lang a:hover { color: var(--vh-gold-2); border-color: transparent; }
.vh-catbar .vh-lang a.is-active {
  background: var(--vh-gold-grad); color: var(--vh-on-gold);
  box-shadow: 0 4px 14px rgba(255, 185, 110, 0.3);
}

.vh-descbox {
  background: var(--vh-panel-2); border: 1px solid var(--vh-line-soft);
  border-left: 3px solid var(--vh-gold); border-radius: var(--vh-radius-sm);
  padding: 14px 16px;
}
.vh-descbox p { margin: 0; color: var(--vh-text); font-size: 14.5px; line-height: 1.65; }

.vh-tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-tag {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--vh-line); background: var(--vh-panel);
  color: var(--vh-muted); font-size: 13px; font-weight: 700;
}
.vh-tag:hover { color: var(--vh-gold-2); border-color: var(--vh-gold); }
.vh-tag.is-active {
  background: var(--vh-gold-grad); color: var(--vh-on-gold); border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 185, 110, 0.3);
}

.vh-factsbox {
  background: var(--vh-card); border: 1px solid var(--vh-line);
  border-radius: 18px; padding: 16px;
}
.vh-factsbox .vh-headcard-facts { margin-bottom: 0; }

/* ---------- v2 download action + delay zone (shared partials, themed) ---------- */
.app-dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 22px; border-radius: 12px; font: inherit; font-weight: 800; font-size: 15px;
  background: var(--vh-gold-grad); color: var(--vh-on-gold); border: 0;
  cursor: pointer; box-shadow: 0 8px 22px rgba(255, 185, 110, 0.32);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.app-dl-btn:hover { transform: translateY(-1px); filter: brightness(1.06); color: var(--vh-on-gold); }

.app-dl-zone { display: flex; flex-direction: column; gap: 16px; }
.app-dl-progress { display: flex; flex-direction: column; gap: 8px; color: var(--vh-muted); font-size: 13.5px; font-weight: 700; }
.app-dl-bar {
  display: block; height: 10px; border-radius: 999px; overflow: hidden;
  background: var(--vh-panel-2); border: 1px solid var(--vh-line-soft);
}
.app-dl-bar b { display: block; height: 100%; width: 0; background: var(--vh-gold-grad-h); }
.app-dl-final {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  align-self: flex-start; padding: 15px 30px; border-radius: 12px;
  background: var(--vh-gold-grad); color: var(--vh-on-gold);
  font-weight: 800; font-size: 17px; box-shadow: 0 10px 26px rgba(255, 185, 110, 0.35);
}
.app-dl-final:hover { color: var(--vh-on-gold); filter: brightness(1.06); }
.app-dl-install {
  background: var(--vh-panel-2); border: 1px solid var(--vh-line-soft);
  border-radius: var(--vh-radius-sm); padding: 14px 16px;
}
.app-dl-install b { color: var(--vh-text-strong); font-size: 15px; }
.app-dl-install ol { margin: 8px 0 0; padding-left: 20px; color: var(--vh-muted); font-size: 14px; }
.app-dl-install li { margin-bottom: 4px; }
.app-dl-install li::marker { color: var(--vh-gold); font-weight: 800; }

/* ---------- v2 landing (中转页) ---------- */
.vh-landing {
  max-width: 820px; margin: 14px auto 26px; display: flex; flex-direction: column; gap: 16px;
  background: var(--vh-card); border: 1px solid var(--vh-line); border-radius: 20px; padding: 26px;
}
.vh-landing-head { display: flex; gap: 18px; align-items: flex-start; }
.vh-landing-icon {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--vh-line); background: var(--vh-bg-soft);
  box-shadow: 0 0 22px rgba(255, 185, 110, 0.22);
}
.vh-landing-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vh-landing-id { min-width: 0; }
.vh-landing-id .vh-h1 { font-size: 23px; margin-bottom: 8px; }
.vh-landing-id .vh-headcard-sub { margin-bottom: 8px; }
.vh-landing-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--vh-muted); }
.vh-landing-back:hover { color: var(--vh-gold-2); }
.vh-landing-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vh-landing-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 10px; border-radius: 12px; font-weight: 800; font-size: 15px;
  border: 1px solid var(--vh-line); background: var(--vh-panel); color: var(--vh-text);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.vh-landing-btn:hover { transform: translateY(-1px); }
.vh-landing-btn.is-download, .vh-landing-btn.is-register {
  background: var(--vh-gold-grad); color: var(--vh-on-gold); border-color: transparent;
  box-shadow: 0 8px 22px rgba(255, 185, 110, 0.3);
}
.vh-landing-btn.is-download:hover, .vh-landing-btn.is-register:hover { color: var(--vh-on-gold); filter: brightness(1.06); }
.vh-landing-btn.is-login:hover { color: var(--vh-gold-2); border-color: var(--vh-gold); }

.vh-missing-num {
  display: block; margin-top: 8px; font-size: 34px; font-weight: 800; letter-spacing: 2px;
  background: var(--vh-gold-grad-h); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- v2 additions: responsive ---------- */
@media (max-width: 785px) {
  .vh-lang-item { margin: 8px 0 2px; justify-content: center; width: 100%; display: flex; }
  .vh-lang { justify-content: center; }
  .vh-landing { padding: 18px 16px; border-radius: 16px; }
  .vh-landing-head { gap: 14px; }
  .vh-landing-icon { width: 68px; height: 68px; border-radius: 15px; }
  .vh-landing-id .vh-h1 { font-size: 19px; }
  .vh-landing-actions { grid-template-columns: 1fr; }
  .app-dl-final { align-self: stretch; text-align: center; justify-content: center; font-size: 16px; }
}
