/* PTC Ngẫu Nhiên – CSS lá số (chỉ trong #ptc-ngaunhien-wrap, không ảnh hưởng plugin khác) */
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-bar { display: block; width: 120px; height: 11px; border-radius: 0; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-gap { display: block; width: 16px; height: 11px; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-hao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 16px;
  margin: 4px auto;
  position: relative;
}
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-mark { font-size: 14px; font-weight: 700; color: #cc0000; line-height: 1; flex-shrink: 0; width: 16px; text-align: center; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-yang .lh-hcv-mark { position: absolute; margin-left: 140px; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-yin .lh-hcv-bar { width: 52px; margin: 0; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-static .lh-hcv-bar { background: #1a56c4; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-dong .lh-hcv-bar { background: #cc0000; }

#ptc-ngaunhien-wrap .nn-board-stage .lh-board-hvl,
#ptc-ngaunhien-wrap .nn-board-stage .lh-board-hcv {
  position: relative;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f9f2e6 !important;
  color: #222;
  padding: 20px 20px 20px 55px;
  border: none;
  width: 800px;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.45;
  overflow: hidden !important;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
#ptc-ngaunhien-wrap .nn-board-stage .lh-board-hvl:has(.hvl-master-dual) {
  width: 1000px !important;
  max-width: none;
}
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-page-title { font-size: 20px; font-weight: 700; letter-spacing: .06em; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-h1 { margin: 0; font-size: 22px; color: #8b0000; line-height: 1.3; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-sub { font-size: 13px; color: #666; margin-top: 2px; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-head-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-mh-cn { font-size: 22px; color: #8b0000; font-weight: 700; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-meta { font-size: 28px; font-weight: 700; line-height: 1.6; margin-bottom: 10px; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-meta-row { margin-bottom: 2px; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-k { color: #555; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-viec { color: #6a1b9a; font-weight: 600; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-capture-brand {
  text-align: center;
  font-size: 13px;
  color: #8b0000;
  font-weight: 600;
  margin-top: 8px;
  padding: 8px;
  border-top: 2px solid #8b0000;
}
#ptc-ngaunhien-wrap .nn-board-stage .lh-board-hvl * { box-sizing: border-box; }

#ptc-ngaunhien-wrap .nn-board-stage .hvl-watermark {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  border-radius: 50%;
  border: 1px solid rgba(180, 160, 120, 0.08);
  background: radial-gradient(circle, rgba(200, 180, 140, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#ptc-ngaunhien-wrap .nn-board-stage .lh-board-hvl > *:not(.hvl-watermark) { position: relative; z-index: 1; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
  margin-bottom: 10px;
  gap: 12px;
}
#ptc-ngaunhien-wrap .nn-board-stage .hvl-top-title { font-size: 22px; font-weight: 700; letter-spacing: .04em; flex: 1 1 auto; min-width: 0; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-top-img { flex-shrink: 0; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-meta { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-meta > div { margin-bottom: 3px; word-break: break-word; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-k { color: #444; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-v { color: #111; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-viec { color: #9c27b0; font-weight: 600; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-pair {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0 0 12px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 8px 4px;
  background: rgba(255,255,255,0.35);
  overflow: visible;
  min-width: 560px;
  flex-wrap: nowrap;
}
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-dual .hvl-hex-col { flex: 1 1 0; min-width: 220px; max-width: 50%; padding: 0 10px; text-align: center; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-board-nn .hvl-name-chinh,
#ptc-ngaunhien-wrap .nn-board-stage .hvl-board-nn .hvl-name-bien { color: #6a1b9a; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-vsep { width: 1px; background: #bbb; flex-shrink: 0; align-self: stretch; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-lbl { font-size: 14px; font-weight: 700; color: #666; letter-spacing: .04em; margin-bottom: 4px; text-transform: uppercase; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.25; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-lines { display: flex; flex-direction: column; align-items: center; gap: 1px; margin: 0 auto 6px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-ho { font-weight: bold;  font-size: 16px; color: #333; margin-top: 2px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-tagline { font-size: 14px; color: #444; margin-top: 6px; line-height: 1.35; font-weight: 600; text-transform: uppercase; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-tinh-col .hvl-hex-name { color: #999; font-size: 18px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hex-note { font-size: 14px; color: #888; margin-top: 4px; font-style: italic; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-section-title { font-size: 15px; font-weight: 700; color: #8b0000; text-align: center; margin: 8px 0 6px; letter-spacing: .03em; line-height: 1.35; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-sec-dual { font-weight: 400; color: #666; font-size: 14px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-table-wrap { width: 100%; overflow: visible !important; margin-bottom: 10px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-master {
  width: 100%;
  min-width: 0;
  max-width: 100% !important;
  border-collapse: collapse;
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  table-layout: auto;
}
#ptc-ngaunhien-wrap .nn-board-stage .hvl-master-dual {
  min-width: 0 !important;
  width: 100% !important;
  table-layout: auto !important;
}
#ptc-ngaunhien-wrap .nn-board-stage .hvl-master th,
#ptc-ngaunhien-wrap .nn-board-stage .hvl-master td {
  border: 1px solid #bbb;
  padding: 4px 4px;
  text-align: center;
  vertical-align: middle;
  overflow: visible;
  line-height: 1.3;
  white-space: nowrap;
}
#ptc-ngaunhien-wrap .nn-board-stage .hvl-master thead th { background: #f0f0f0; font-weight: 600; font-size: 15px; white-space: nowrap; padding: 7px 5px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-th-mid,
#ptc-ngaunhien-wrap .nn-board-stage .hvl-td-mid { width: 12px !important; min-width: 12px; max-width: 12px; padding: 0 !important; border-left: 2px solid #888 !important; border-right: 2px solid #888 !important; background: #e0e0e0; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-row-dong { background: #fff5f5; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-hl { color: #cc0000 !important; font-weight: 700; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-badge-the,
#ptc-ngaunhien-wrap .nn-board-stage .hvl-badge-ung { font-size: 14px; font-weight: 700; color: #cc0000; white-space: nowrap; display: inline-block; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-kmark { font-weight: 700; color: #cc0000; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-phuc { font-size: 14px; color: #444; line-height: 1.2; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-td-hao { padding: 4px 2px !important; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-lucthu { font-size: 15px; white-space: nowrap; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs {
  width: 100%;
  min-width: 0;
  max-width: 100% !important;
  border-collapse: collapse;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  table-layout: auto;
}
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs-merged { min-width: 0 !important; width: 100% !important; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs th,
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs td { border: 1px solid #bbb; padding: 4px 3px; text-align: center; vertical-align: middle; overflow: visible; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs thead th { background: #f0f0f0; font-weight: 600; font-size: 15px; white-space: nowrap; padding: 7px 4px; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs-gap-th,
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs-gap-td { width: 12px !important; min-width: 12px; max-width: 12px; padding: 0 !important; background: #e0e0e0; border-left: 2px solid #888 !important; border-right: 2px solid #888 !important; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs-hao { text-align: center !important; font-size: 15px; white-space: nowrap; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-vs-sat { font-size: 13px; line-height: 1.4; }
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-star { font-size: 13px; margin: 0 1px; display: inline-block; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-legend,
#ptc-ngaunhien-wrap .nn-board-stage .lh-hcv-legend { font-size: 12px; color: #000; padding: 6px 8px; background: rgba(255,255,255,0.45); border: 1px solid #ccc; margin-top: 6px; line-height: 1.45; }
#ptc-ngaunhien-wrap .nn-board-stage .hvl-foot { margin-top: 12px; padding-top: 10px; border-top: 2px solid #8b0000; font-size: 15px; color: #666; text-align: center; }

/* Vùng chụp ảnh — nằm trong wrap, có class nn-board-stage */
#ptc-ngaunhien-wrap #ptc-ngaunhien-capture-mount {
  position: fixed;
  left: -12000px;
  top: 0;
  width: max-content;
  min-width: 1024px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  overflow: visible;
  background: #f9f2e6 !important;
}

