/* ==========================================================================
   DuyNam Construction — landing page styles (v4 "Vision" variant)
   Design language: camera / computer-vision HUD — deliberately single dark
   theme (a night-vision viewfinder does not have a "light mode"; committing
   to one world is the point, per v1's console and v3's blueprint before it).
   Structure differs from all three earlier variants: corner-bracket "frame"
   motif borrowed from a camera viewfinder repeats through every section —
   section labels read as [ 01 ], feature tiles are framed viewfinder tiles,
   the flow section is a signal-processing pipeline (CAMERA → AI → NGƯỜI →
   DASHBOARD), roles are access-clearance badges with a permission meter,
   reliability reads as a HUD system-status panel. Accent is a detection-box
   lime-green — distinct from v1/v2's safety-orange and v3's blueprint-cyan.
   Typography: Arial system stack throughout (by request) — no @font-face,
   no webfont fetch, no subsetting. HUD/label text keeps a monospace stack
   (Courier New) so tabular numerals in the clock and detection tags still
   line up; Arial itself has no monospace counterpart.
   ========================================================================== */

/* ---------------------------------------------------------------------
   Tokens — deliberately single-theme (dark). No prefers-color-scheme
   branch, no [data-theme] override: this design commits to one world,
   so every color is still declared explicitly rather than inherited.
   --------------------------------------------------------------------- */
:root {
  --bg: #0a0d0b;
  --bg-alt: #0e1310;
  --surface: #121714;
  --surface-raised: #171d19;
  --ink: #edf2ee;
  --ink-dim: #a6b3aa;
  --ink-faint: #8b998f; /* AA 6.6:1 on --bg */
  --line: #202823;
  --line-strong: #34413a;

  --accent: #c6ff4d;
  --accent-strong: #9fe62e;
  --accent-ink: #10210a;
  --accent-wash: rgba(198, 255, 77, 0.1);

  --ok: #34d399;
  --warn: #f2b33d;
  --crit: #f2685c;

  --radius: 2px;
  --edge: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1240px;

  --font-display: Arial, Helvetica, "Segoe UI", sans-serif;
  --font-body: Arial, Helvetica, "Segoe UI", sans-serif;
  --font-mono: "Courier New", Courier, monospace;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: center top;
  background-attachment: fixed;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

.lede {
  color: var(--ink-dim);
  font-size: 1.08rem;
  max-width: 56ch;
}

em {
  font-style: normal;
  color: var(--accent);
}

.mono {
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------------------
   Reveal-on-scroll — mirrors v1–v3's pattern; skipped for reduced motion.
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------
   Viewfinder frame — the repeating structural device. Two diagonal
   corner brackets (top-left + bottom-right), like a camera targeting
   box. Applied to module tiles, badges, and diagnostics rows.
   --------------------------------------------------------------------- */
.frame {
  position: relative;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--line-strong);
  border-left: 2px solid var(--line-strong);
}
.frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
}
.frame--accent::before,
.frame--accent::after {
  border-color: var(--accent);
}

/* ---------------------------------------------------------------------
   Topbar — brand + live REC-style indicator with a real running clock.
   --------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 13, 11, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Keep anchor targets clear of the sticky topbar when smooth-scrolled to. */
section[id] {
  scroll-margin-top: 5rem;
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 11px;
  height: 11px;
  background: var(--accent);
  flex-shrink: 0;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

.rec {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--accent);
}

.rec__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .rec__dot {
    animation: none;
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.clock {
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  padding: clamp(2.6rem, 6vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-top: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.hero h1 {
  margin-bottom: 1.1rem;
}

.hero__lede {
  color: var(--ink-dim);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 1.8rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- viewfinder hero visual --- */
.viewfinder {
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.vf-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
}
.vf-corner--tl {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.vf-corner--tr {
  top: 10px;
  right: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}
.vf-corner--bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.vf-corner--br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.vf-osd {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.vf-osd--tl {
  top: 14px;
  left: 40px;
  color: var(--ink);
}
.vf-osd--tr {
  top: 14px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
}
.vf-osd--bl {
  bottom: 14px;
  left: 40px;
}

.vf-osd__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .vf-osd__dot {
    animation: none;
  }
}

.vf-scene {
  position: absolute;
  inset: 0;
  padding: 42px 26px;
}
.vf-scene svg {
  width: 100%;
  height: 100%;
}

.vf-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 46%;
  background: linear-gradient(
    to bottom,
    rgba(198, 255, 77, 0) 0%,
    rgba(198, 255, 77, 0.06) 50%,
    rgba(198, 255, 77, 0) 100%
  );
  animation: scan 6s linear infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes scan {
  0% {
    transform: translateY(-60%);
  }
  100% {
    transform: translateY(220%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vf-scanline {
    animation: none;
    display: none;
  }
}

.vf-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.6rem;
  background: rgba(10, 13, 11, 0.82);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  white-space: nowrap;
}
.vf-tag__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.vf-tag--person {
  left: 11%;
  top: 63%;
}
.vf-tag--progress {
  left: 48%;
  top: 15%;
}
.vf-tag--security {
  right: 5%;
  top: 45%;
}

/* ---------------------------------------------------------------------
   Section head — bracket-tag label repeats the viewfinder motif as
   text: [ 01 ] reads like a framed target index, not a generic eyebrow.
   --------------------------------------------------------------------- */
section {
  padding: clamp(2.6rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head__num {
  color: var(--ink-faint);
}

/* ---------------------------------------------------------------------
   Problem — alert log: three unresolved rows, severity dot + bracket
   tag, closed by a resolution line pointing at the modules below.
   --------------------------------------------------------------------- */
.alertlog {
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 1.6rem;
}

.alertlog__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.alertlog__row:last-of-type {
  border-bottom: none;
}

.alertlog__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.alertlog__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warn);
  flex-shrink: 0;
}

.alertlog__row p {
  margin: 0;
  color: var(--ink-dim);
}

.alertlog__resolve {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--accent);
  background: var(--accent-wash);
}

/* ---------------------------------------------------------------------
   Modules — viewfinder tile grid. Core vision modules (01-03) get an
   accent frame; supporting modules (04-05) get a neutral frame — a
   color-only distinction, not a size trick (keeps every tile equal
   weight, unlike v2's spanned bento tile).
   --------------------------------------------------------------------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.8rem;
}

.tile {
  background: var(--surface);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.tile__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.tile__code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
}
.tile--core .tile__code {
  border-color: var(--accent);
  color: var(--accent);
}

.tile h3 {
  margin-bottom: 0.55rem;
}

.tile p {
  color: var(--ink-dim);
  font-size: 0.94rem;
  margin-bottom: 1rem;
  max-width: none;
}

.tile__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.tile__list li {
  padding-left: 1rem;
  position: relative;
}
.tile__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.tile--note {
  background: var(--bg-alt);
}
.tile--note p {
  margin-bottom: 0;
  color: var(--ink-dim);
}

/* ---------------------------------------------------------------------
   Pipeline — signal-chain flow: CAMERA → AI → NGƯỜI → DASHBOARD.
   --------------------------------------------------------------------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2rem;
  position: relative;
}

.pipeline__connector {
  position: absolute;
  top: 11px;
  left: calc(12.5% + 6px);
  right: calc(12.5% + 6px);
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0,
    var(--line-strong) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 0;
}

.pipeline__node {
  position: relative;
  z-index: 1;
  padding-right: 1.4rem;
}

.pipeline__marker {
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  background: var(--bg);
  margin-bottom: 0.9rem;
}

.pipeline__step {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}

.pipeline__node h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.pipeline__node p {
  font-size: 0.88rem;
  color: var(--ink-dim);
  max-width: none;
}

/* ---------------------------------------------------------------------
   Roles — access-clearance badges with a permission meter.
   --------------------------------------------------------------------- */
.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.badge {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.badge__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.badge__letter {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.badge__name {
  font-size: 1.02rem;
}
.badge__role-en {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.badge__meter-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.badge__meter-label span:last-child {
  color: var(--accent);
}

.badge__meter {
  height: 4px;
  background: var(--line);
  margin-bottom: 1.1rem;
}
.badge__fill {
  height: 100%;
  background: var(--accent);
}

.badge__desc {
  color: var(--ink-dim);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  max-width: none;
}

.badge ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}
.badge ul li {
  padding-left: 1rem;
  position: relative;
}
.badge ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------------------------------------------------------------------
   Diagnostics — HUD system-status panel for the reliability section.
   --------------------------------------------------------------------- */
.diagnostics {
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 1.8rem;
}

.diagnostics__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.2rem;
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.diagnostics__row:last-child {
  border-bottom: none;
}

.diagnostics__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ok);
}

.diagnostics__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .diagnostics__dot {
    animation: none;
  }
}

.diagnostics__row h3 {
  margin-bottom: 0.35rem;
}
.diagnostics__row p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.94rem;
  max-width: 60ch;
}

/* ---------------------------------------------------------------------
   CTA + footer
   --------------------------------------------------------------------- */
.cta {
  border-top: 1px solid var(--line);
}

.cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}

.cta__panel h2 {
  margin-bottom: 0.5rem;
}
.cta__panel p {
  margin: 0;
  color: var(--ink-dim);
}
/* ---------------------------------------------------------------------
   Contact links — explicit email/phone chips (icon + labeled channel +
   value), used in the hero and the closing CTA panel.
   --------------------------------------------------------------------- */
.contact-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-link__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contact-link__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contact-link__value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: inherit;
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.footer__mark {
  width: 9px;
  height: 9px;
  background: var(--accent);
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .viewfinder {
    aspect-ratio: 16 / 10;
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .pipeline__connector {
    display: none;
  }
  .badges {
    grid-template-columns: 1fr;
  }
  .alertlog__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .module-grid {
    grid-template-columns: 1fr;
  }
  .pipeline {
    grid-template-columns: 1fr;
  }
  .diagnostics__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .topbar__right .clock-label {
    display: none;
  }
  .cta__panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .vf-tag {
    font-size: 0.56rem;
    padding: 0.24rem 0.45rem;
    white-space: normal;
    max-width: 42%;
    line-height: 1.35;
  }
  .vf-tag--progress {
    left: auto;
    right: 4%;
    top: 12%;
  }
  .vf-tag--security {
    right: 4%;
    top: 40%;
  }
  .vf-osd {
    font-size: 0.58rem;
  }
  .vf-osd--tl,
  .vf-osd--bl {
    left: 34px;
  }
}
