/* VALORANT Aim Trainer — UI styles (Valorant-inspired dark theme, Thai-first typography) */

:root {
  --vt-bg: #0f1923;
  --vt-bg-2: #15222e;
  --vt-bg-3: #1c2b38;
  --vt-bg-4: #263848;
  --vt-bg-5: #30475a;
  --vt-panel: rgba(21, 34, 46, 0.86);
  --vt-accent: #ff4655;
  --vt-accent-hi: #ff6170;
  --vt-accent-lo: #c9303e;
  --vt-text: #ece8e1;
  --vt-muted: #96a2ac;
  --vt-dim: #64727d;
  --vt-line: rgba(236, 232, 225, 0.12);
  --vt-line-2: rgba(236, 232, 225, 0.24);
  --vt-teal: #2fe0b5;
  --vt-gold: #f6cf57;
  --vt-shield: #a9dcff;
  --vt-warn: #ffb547;
  --vt-blue: #6fb6ff;
  --vt-font: 'Kanit', 'Prompt', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --vt-cut: 12px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--vt-bg);
  color: var(--vt-text);
  font-family: var(--vt-font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
.vt-selectable,
.vt-selectable * {
  -webkit-user-select: text;
  user-select: text;
}

button,
input,
select { font-family: inherit; }

/* Cursor is hidden while actually playing (HUD up, no menu on top). */
body.vt-playing,
body.vt-playing * { cursor: none !important; }

#app {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #0b1218;
  touch-action: none;
}

#app canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

#ui-root {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  pointer-events: none; /* only screens re-enable the pointer */
}

.vt-mono { font-variant-numeric: tabular-nums; }
.vt-muted { color: var(--vt-muted); }

/* ------------------------------------------------------------------ boot / noscript */

.vt-boot,
.vt-noscript {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: var(--vt-bg);
  color: var(--vt-text);
  font-family: var(--vt-font);
}

.vt-boot-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.vt-boot-title span { color: var(--vt-accent); }

.vt-boot-text {
  color: var(--vt-muted);
  font-size: 15px;
  max-width: 560px;
}

.vt-boot-bar {
  width: 220px;
  height: 3px;
  overflow: hidden;
  background: var(--vt-line);
}

.vt-boot-bar::after {
  content: '';
  display: block;
  width: 35%;
  height: 100%;
  background: var(--vt-accent);
  animation: vt-indet 1.1s ease-in-out infinite;
}

.vt-boot.is-error .vt-boot-bar { display: none; }
.vt-boot.is-error .vt-boot-text { color: #ffb3ba; }

/* ------------------------------------------------------------------ shared atoms */

.vt-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vt-accent);
}

.vt-h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vt-h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vt-text);
}

.vt-h3:first-child { margin-top: 0; }

.vt-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.vt-section-head .vt-h3 { margin: 0; }
.vt-section-head .vt-muted { font-size: 12px; }

.vt-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--vt-muted);
  border: 1px solid var(--vt-line-2);
}

.vt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vt-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 1px 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--vt-text);
  background: rgba(236, 232, 225, 0.07);
  border-left: 2px solid var(--vt-line-2);
}

.vt-chip.is-danger { border-left-color: var(--vt-accent); background: rgba(255, 70, 85, 0.12); }
.vt-chip.is-safe { border-left-color: var(--vt-teal); background: rgba(47, 224, 181, 0.10); }
.vt-chip.is-warn { border-left-color: var(--vt-warn); background: rgba(255, 181, 71, 0.10); }

.vt-pill {
  display: inline-block;
  min-width: 64px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  color: var(--vt-bg);
  background: var(--vt-muted);
}

.vt-pill.d-easy { background: var(--vt-teal); }
.vt-pill.d-normal { background: var(--vt-blue); }
.vt-pill.d-hard { background: var(--vt-warn); }
.vt-pill.d-radiant { background: var(--vt-accent); color: #fff; }

.vt-grade-mini {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-weight: 700;
  font-size: 14px;
  color: var(--vt-bg);
  background: var(--vt-muted);
}

.g-S { --g: var(--vt-gold); }
.g-A { --g: var(--vt-teal); }
.g-B { --g: var(--vt-blue); }
.g-C { --g: var(--vt-warn); }
.g-D { --g: #9aa3ab; }
.g-x { --g: var(--vt-dim); }
.vt-grade-mini[class*='g-'] { background: var(--g); }

.vt-empty {
  padding: 18px 14px;
  font-size: 14px;
  color: var(--vt-muted);
  text-align: center;
  border: 1px dashed var(--vt-line-2);
}

kbd,
.vt-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  font-family: var(--vt-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vt-text);
  background: var(--vt-bg-3);
  border: 1px solid var(--vt-line-2);
  border-bottom-width: 3px;
}

/* ------------------------------------------------------------------ buttons */

.vt-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vt-text);
  background: var(--vt-bg-4);
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--vt-cut)) 0, 100% var(--vt-cut), 100% 100%, var(--vt-cut) 100%, 0 calc(100% - var(--vt-cut)));
  transition: background-color 0.15s, color 0.15s, transform 0.08s, opacity 0.15s;
}

.vt-btn:hover { background: var(--vt-bg-5); }
.vt-btn:active { transform: translateY(1px); }
.vt-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--vt-text); }
.vt-btn:disabled { cursor: default; opacity: 0.6; transform: none; }

.vt-btn small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.vt-btn kbd {
  height: 22px;
  min-width: 0;
  padding: 0 7px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.25);
  border-bottom-width: 1px;
}

.vt-btn-primary { background: var(--vt-accent); color: #fff; }
.vt-btn-primary:hover { background: var(--vt-accent-hi); }
.vt-btn-primary:disabled:hover { background: var(--vt-accent); }

.vt-btn-ghost {
  background: rgba(236, 232, 225, 0.04);
  box-shadow: inset 0 0 0 1px var(--vt-line-2);
}

.vt-btn-ghost:hover { background: rgba(236, 232, 225, 0.10); }
.vt-btn-sm { min-height: 34px; padding: 0 16px; font-size: 14px; --vt-cut: 8px; }
.vt-btn-lg { min-height: 52px; padding: 0 30px; font-size: 18px; }
.vt-btn-block { width: 100%; justify-content: space-between; }

/* Cool-down bar while the browser still refuses a new pointer lock. */
.vt-btn.is-cooling::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: currentColor;
  opacity: 0.8;
  animation: vt-fill var(--cool-ms, 1000ms) linear forwards;
}

/* ------------------------------------------------------------------ form controls */

.vt-input {
  min-width: 0;
  padding: 7px 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--vt-text);
  background: rgba(8, 14, 20, 0.65);
  border: 1px solid var(--vt-line-2);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s;
}

.vt-input:hover { border-color: rgba(236, 232, 225, 0.4); }
.vt-input:focus { border-color: var(--vt-accent); }

.vt-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --p: 50%;
}

.vt-range:focus { outline: none; }

.vt-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(to right, var(--vt-accent) 0 var(--p), rgba(236, 232, 225, 0.18) var(--p) 100%);
}

.vt-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 20px;
  margin-top: -8px;
  border: 0;
  background: var(--vt-text);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.vt-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--vt-accent); }

.vt-range::-moz-range-track { height: 4px; background: rgba(236, 232, 225, 0.18); border: 0; }
.vt-range::-moz-range-progress { height: 4px; background: var(--vt-accent); }

.vt-range::-moz-range-thumb {
  width: 12px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: var(--vt-text);
}

.vt-field { margin-bottom: 16px; }
.vt-field-tight { margin-bottom: 10px; }

.vt-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.vt-label { font-size: 14.5px; font-weight: 600; }
.vt-label-sm { font-size: 13px; font-weight: 500; color: var(--vt-muted); }
.vt-field-head .vt-muted { font-size: 12px; }

.vt-val {
  min-width: 42px;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  color: var(--vt-text);
  font-variant-numeric: tabular-nums;
}

.vt-help {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--vt-muted);
}

.vt-help b { color: var(--vt-text); font-weight: 500; }

.vt-sens-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.vt-input-sens { width: 112px; font-size: 20px; font-weight: 600; }

.vt-dpi-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.vt-input-dpi { width: 90px; font-size: 14px; padding: 5px 8px; }

.vt-calc {
  font-size: 13px;
  color: var(--vt-muted);
  font-variant-numeric: tabular-nums;
}

.vt-calc b { color: var(--vt-text); font-weight: 600; }
.vt-calc-sep { margin: 0 8px; opacity: 0.6; }

.vt-toggles { display: flex; flex-direction: column; gap: 2px; }

.vt-toggles-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  margin-bottom: 0;
}

.vt-field-head .vt-btn-sm { min-height: 28px; padding: 0 12px; font-size: 13px; }

/* segmented choice (minimum approach distance 3 / 5 / 8 / 12 m) */
.vt-seg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.vt-seg-btn {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  padding: 6px 8px;
  color: var(--vt-muted);
  background: rgba(8, 14, 20, 0.55);
  border: 1px solid var(--vt-line-2);
  border-radius: 0;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.vt-seg-btn b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vt-seg-btn small { font-size: 12px; }
.vt-seg-btn:hover { color: var(--vt-text); border-color: rgba(236, 232, 225, 0.4); }
.vt-seg-btn:focus-visible { outline: 2px solid var(--vt-text); outline-offset: 1px; }

.vt-seg-btn.is-active {
  color: var(--vt-text);
  background: rgba(255, 70, 85, 0.16);
  border-color: var(--vt-accent);
  box-shadow: inset 0 -2px 0 var(--vt-accent);
}

.vt-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  cursor: pointer;
}

.vt-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vt-switch-track {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 22px;
  background: rgba(236, 232, 225, 0.16);
  transition: background-color 0.15s;
}

.vt-switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--vt-text);
  transition: transform 0.15s;
}

.vt-switch input:checked + .vt-switch-track { background: var(--vt-accent); }
.vt-switch input:checked + .vt-switch-track::after { transform: translateX(18px); }
.vt-switch input:focus-visible + .vt-switch-track { box-shadow: 0 0 0 2px var(--vt-text); }
.vt-switch.is-disabled { cursor: default; opacity: 0.5; }

.vt-switch-text { display: flex; flex-direction: column; min-width: 0; }
.vt-switch-text b { font-size: 14.5px; font-weight: 600; }
.vt-switch-text small { font-size: 12.5px; color: var(--vt-muted); }

/* ------------------------------------------------------------------ screens layer */

.vt-screens {
  position: absolute;
  inset: 0;
  z-index: 30;
}

.vt-screen {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  animation: vt-fade-in 0.18s ease-out;
}

.vt-screen ::-webkit-scrollbar { width: 8px; height: 8px; }
.vt-screen ::-webkit-scrollbar-track { background: transparent; }
.vt-screen ::-webkit-scrollbar-thumb { background: rgba(236, 232, 225, 0.18); }
.vt-screen ::-webkit-scrollbar-thumb:hover { background: rgba(236, 232, 225, 0.3); }
.vt-screen,
.vt-screen * { scrollbar-color: rgba(236, 232, 225, 0.2) transparent; scrollbar-width: thin; }

/* ------------------------------------------------------------------ menu */

.vt-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px clamp(16px, 3vw, 44px) 12px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(255, 70, 85, 0.17), transparent 62%),
    radial-gradient(900px 520px at -8% 112%, rgba(47, 224, 181, 0.06), transparent 60%),
    repeating-linear-gradient(135deg, rgba(236, 232, 225, 0.018) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #0f1923 0%, #0b131b 100%);
}

.vt-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.vt-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }

.vt-brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--vt-accent);
}

.vt-brand-mark svg { display: block; width: 100%; height: 100%; }

.vt-title {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.vt-title span { color: var(--vt-accent); }

.vt-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--vt-muted);
}

.vt-header-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.vt-menu-main {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 20px;
}

.vt-menu-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
}

.vt-panel {
  background: var(--vt-panel);
  border: 1px solid var(--vt-line);
}

.vt-menu-right {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* map card */
.vt-mapcard {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 10px 12px;
  background: linear-gradient(100deg, rgba(255, 70, 85, 0.10), rgba(21, 34, 46, 0.9) 45%);
  border: 1px solid var(--vt-line);
  border-left: 3px solid var(--vt-accent);
}

.vt-mapcard-art {
  position: relative;
  flex: 0 0 auto;
  width: 124px;
  height: 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 40%, rgba(214, 184, 140, 0.35), transparent 65%),
    linear-gradient(135deg, #3a3326, #1b2530);
  border: 1px solid var(--vt-line);
}

.vt-mapcard-img {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

.vt-mapcard-site {
  position: absolute;
  right: 6px;
  bottom: 2px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--vt-accent);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.vt-mapcard-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.vt-mapcard-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.vt-mapcard-sub { font-size: 13px; color: var(--vt-muted); }
.vt-mapcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* map picker inside the map card (settings.map) */
.vt-map-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.vt-map-row-head { margin-top: 0; flex-wrap: nowrap; }
.vt-map-row-head .vt-mapcard-status { flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-map-seg { flex: 1 1 100%; min-width: 0; }
/* map buttons: name on top, route / start below; never wrap inside a word (fixes the broken two-column labels) */
.vt-map-seg .vt-seg-btn { flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; padding: 4px 6px; min-width: 0; }
.vt-map-seg .vt-seg-btn b { font-size: 14px; line-height: 1.15; white-space: nowrap; }
.vt-map-seg .vt-seg-btn small { font-size: 11px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.vt-mapcard-status {
  position: relative;
  flex: 1 1 120px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--vt-muted);
}
.vt-mapcard-status:empty { display: none; }
.vt-mapcard-status.is-ready { color: #6fe3a5; }
.vt-mapcard-status.is-error { color: var(--vt-accent); }
.vt-mapcard-status.is-loading { padding-bottom: 5px; color: var(--vt-text); }
.vt-mapcard-status.is-loading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--p, 0%);
  height: 2px;
  background: var(--vt-accent);
  transition: width 0.2s;
}

/* difficulty */
.vt-section { display: flex; flex-direction: column; }

.vt-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vt-diff {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 10px 10px 9px;
  text-align: left;
  color: var(--vt-text);
  background: var(--vt-bg-2);
  border: 1px solid var(--vt-line);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.08s;
  --d: var(--vt-muted);
}

.vt-diff.d-easy { --d: var(--vt-teal); }
.vt-diff.d-normal { --d: var(--vt-blue); }
.vt-diff.d-hard { --d: var(--vt-warn); }
.vt-diff.d-radiant { --d: var(--vt-accent); }

.vt-diff::before {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: var(--d);
  opacity: 0.35;
  transition: opacity 0.15s;
}

.vt-diff:hover { background: var(--vt-bg-3); }
.vt-diff:focus-visible { outline: 2px solid var(--vt-text); outline-offset: 2px; }

.vt-diff.is-active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--d) 18%, transparent), rgba(21, 34, 46, 0.95));
  border-color: var(--d);
}

.vt-diff.is-active::before { opacity: 1; }

.vt-diff-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vt-diff-th { font-size: 13px; color: var(--vt-muted); margin-top: -2px; }

.vt-diff-tag {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 0 6px;
}

.vt-diff-tag.is-danger { color: #ffd0d4; background: rgba(255, 70, 85, 0.22); }
.vt-diff-tag.is-safe { color: #c5fff0; background: rgba(47, 224, 181, 0.18); }

.vt-diff-best {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--vt-muted);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.vt-diff-best b { color: var(--vt-gold); font-weight: 600; }

.vt-diff-detail {
  margin-top: 8px;
  padding: 10px 12px 12px;
  background: rgba(21, 34, 46, 0.7);
  border: 1px solid var(--vt-line);
  min-height: 104px;
}

.vt-diff-detail-head { display: flex; align-items: baseline; gap: 8px; }
.vt-diff-detail-head b { font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; }
.vt-diff-detail-head span { font-size: 13px; color: var(--vt-muted); }

.vt-diff-desc {
  margin: 2px 0 8px;
  font-size: 13.5px;
  color: #cfd6db;
}

/* start */
.vt-start-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 2px;
}

.vt-start {
  width: 100%;
  min-height: 66px;
  justify-content: space-between;
  padding: 0 28px;
  --vt-cut: 18px;
  box-shadow: 0 10px 30px -12px rgba(255, 70, 85, 0.6);
}

.vt-start-main { font-size: 26px; font-weight: 700; letter-spacing: 0.02em; }
.vt-start-sub { font-size: 14px; font-weight: 600; letter-spacing: 0.32em; opacity: 0.85; }
.vt-start.is-busy { opacity: 0.75; }

.vt-start-hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--vt-muted);
}

/* tabs */
.vt-tabs {
  display: flex;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--vt-line);
}

.vt-tab {
  position: relative;
  flex: 1 1 0;
  min-height: 46px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--vt-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}

.vt-tab:hover { color: var(--vt-text); background: rgba(236, 232, 225, 0.04); }
.vt-tab:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--vt-line-2); }

.vt-tab.is-active { color: var(--vt-text); }

.vt-tab.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  background: var(--vt-accent);
}

.vt-tabpanels {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.vt-tabpanel { padding: 16px 18px 18px; }

/* crosshair editor */
.vt-xh-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.vt-xh-preview {
  position: relative;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--vt-line);
}

.vt-xh-preview.is-sand {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 40%),
    repeating-linear-gradient(0deg, rgba(120, 90, 50, 0.12) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, #d9c7a4 0%, #c4ab80 55%, #8f8b80 55.5%, #9c978b 100%);
}

.vt-xh-preview.is-dark {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, #2c3d4b, #16212b);
}

.vt-xh-preview .vt-xh {
  position: absolute;
  left: 50%;
  top: 47px; /* centre of the 94px content box */
}

.vt-xh-preview.is-zoom .vt-xh {
  transform: scale(3);
  transform-origin: 0 0;
}

.vt-xh-preview-tag {
  position: absolute;
  left: 6px;
  top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(15, 25, 35, 0.75);
}

.vt-xh-preview.is-dark .vt-xh-preview-tag { color: var(--vt-muted); }

.vt-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.vt-swatch {
  width: 28px;
  height: 28px;
  padding: 0;
  background: var(--c);
  border: 2px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 1px var(--vt-line-2);
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.12s;
}

.vt-swatch:hover { transform: translateY(-1px); }
.vt-swatch:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--vt-text); }
.vt-swatch.is-active { box-shadow: 0 0 0 2px var(--vt-text); }

.vt-color-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 0 8px 0 2px;
  height: 30px;
  font-size: 12.5px;
  color: var(--vt-muted);
  border: 1px solid var(--vt-line-2);
  cursor: pointer;
}

.vt-color {
  width: 26px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vt-color::-webkit-color-swatch-wrapper { padding: 0; }
.vt-color::-webkit-color-swatch { border: 1px solid rgba(0, 0, 0, 0.5); }
.vt-color::-moz-color-swatch { border: 1px solid rgba(0, 0, 0, 0.5); }

/* stats tab */
.vt-bests { display: flex; flex-direction: column; gap: 4px; }

.vt-best-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(236, 232, 225, 0.04);
}

.vt-best-row.is-empty .vt-best-time { color: var(--vt-dim); }
.vt-best-th { font-size: 13.5px; color: var(--vt-muted); }
.vt-best-time { font-size: 18px; font-weight: 600; color: var(--vt-gold); }

/* tables */
.vt-table-wrap {
  overflow: auto;
  border: 1px solid var(--vt-line);
}

.vt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.vt-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--vt-muted);
  background: #18252f;
  border-bottom: 1px solid var(--vt-line);
  white-space: nowrap;
}

.vt-table td {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(236, 232, 225, 0.06);
  white-space: nowrap;
}

.vt-table tbody tr:nth-child(even) td { background: rgba(236, 232, 225, 0.025); }
.vt-table tbody tr:last-child td { border-bottom: 0; }
.vt-table-compact { font-size: 13px; }
.vt-table-compact td { padding: 5px 8px; }
.vt-table-compact th { padding: 6px 8px; }

.vt-table tr.is-cleared .vt-outcome-cell { color: var(--vt-teal); }
.vt-table tr.is-died .vt-outcome-cell { color: var(--vt-accent); }
.vt-table tr.is-quit .vt-outcome-cell { color: var(--vt-muted); }

/* controls tab */
.vt-ctrls { display: flex; flex-direction: column; gap: 6px; }

.vt-ctrl-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.vt-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.vt-key-sep { color: var(--vt-dim); margin: 0 2px; }
.vt-ctrl-text { font-size: 14px; color: #cfd6db; }

.vt-tips {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 13.5px;
  color: #cfd6db;
}

.vt-tips li { margin: 4px 0; }
.vt-tips li::marker { color: var(--vt-accent); }

/* footer disclaimer */
.vt-disclaimer {
  flex: 0 0 auto;
  max-width: 1040px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: var(--vt-dim);
}

.vt-disclaimer p { margin: 0; }
.vt-footer-links { margin-bottom: 4px !important; }
.vt-footer-links a { color: var(--vt-text); text-decoration: underline; text-underline-offset: 2px; opacity: 0.8; }
.vt-footer-links a:hover { opacity: 1; color: var(--vt-accent); }
.vt-disclaimer-th { margin-top: 2px !important; color: var(--vt-muted); }

/* ------------------------------------------------------------------ loading */

.vt-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(900px 480px at 50% 120%, rgba(255, 70, 85, 0.14), transparent 65%),
    repeating-linear-gradient(135deg, rgba(236, 232, 225, 0.02) 0 2px, transparent 2px 14px),
    var(--vt-bg);
}

.vt-loading-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(560px, 100%);
}

.vt-loading-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.vt-loading-title span { color: var(--vt-accent); font-size: 0.62em; letter-spacing: 0.02em; }
.vt-loading-text { font-size: 16px; color: var(--vt-text); min-height: 1.45em; }

.vt-progress {
  position: relative;
  height: 6px;
  overflow: hidden;
  background: rgba(236, 232, 225, 0.12);
}

.vt-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--vt-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s ease-out;
}

.vt-progress.is-indeterminate .vt-progress-fill {
  width: 35%;
  right: auto;
  transition: none;
  animation: vt-indet 1.1s ease-in-out infinite;
}

.vt-loading-pct { font-size: 13px; color: var(--vt-muted); text-align: right; min-height: 1.4em; }

.vt-loading-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  font-size: 14px;
  color: #cfd6db;
  background: rgba(21, 34, 46, 0.8);
  border-left: 3px solid var(--vt-accent);
}

.vt-tip-tag {
  flex: 0 0 auto;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--vt-accent);
}

/* ------------------------------------------------------------------ click to play */

.vt-ctp {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 18, 0.55);
  cursor: pointer;
  outline: none;
}

.vt-ctp-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 44px;
  text-align: center;
  background: rgba(15, 25, 35, 0.88);
  border: 1px solid var(--vt-line-2);
  border-top: 3px solid var(--vt-accent);
}

.vt-ctp-ico {
  width: 48px;
  height: 48px;
  color: var(--vt-text);
  animation: vt-bob 1.6s ease-in-out infinite;
}

.vt-ctp-ico svg { display: block; width: 100%; height: 100%; }
.vt-ctp-title { font-size: 30px; font-weight: 700; letter-spacing: 0.02em; }
.vt-ctp-sub { font-size: 14px; color: var(--vt-muted); }
.vt-ctp-wait { display: none; font-size: 30px; font-weight: 700; color: var(--vt-muted); }
.vt-ctp.is-cooling { cursor: progress; }
.vt-ctp.is-cooling .vt-ctp-title { display: none; }
.vt-ctp.is-cooling .vt-ctp-wait { display: block; }
.vt-ctp:hover .vt-ctp-box { border-color: rgba(236, 232, 225, 0.4); }
.vt-ctp-msg {
  max-width: 420px;
  margin-top: 6px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--vt-text);
  background: rgba(255, 70, 85, 0.14);
  border-left: 3px solid var(--vt-accent, #ff4655);
  text-align: left;
}
.vt-ctp-msg[hidden], .vt-ctp-menu[hidden] { display: none; }
.vt-ctp-menu {
  margin-top: 10px;
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--vt-muted);
  background: transparent;
  border: 1px solid rgba(236, 232, 225, 0.25);
  cursor: pointer;
}
.vt-ctp-menu:hover { color: var(--vt-text); border-color: rgba(236, 232, 225, 0.6); }

/* ------------------------------------------------------------------ pause */

.vt-pause {
  display: flex;
  align-items: flex-start; /* panel centres via auto margins, so a short window scrolls instead of clipping */
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(8, 13, 18, 0.72);
}

.vt-pause-panel {
  margin: auto 0;
  width: min(380px, 100%);
  padding: 22px 22px 20px;
  background: rgba(15, 25, 35, 0.96);
  border: 1px solid var(--vt-line-2);
  border-top: 3px solid var(--vt-accent);
}

.vt-pause-title { margin: 2px 0 2px; font-size: 32px; font-weight: 700; }
.vt-pause-note { margin: 0 0 18px; font-size: 13.5px; color: var(--vt-muted); }
.vt-pause-actions { display: flex; flex-direction: column; gap: 8px; }

.vt-pause-vm {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--vt-line);
}

/* gun-skin picker (menu tab "ปืน" + compact strip on the pause screen) */
.vt-vm-help { margin: 0 0 12px; }

.vt-vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.vt-vm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  min-width: 0;
  padding: 6px 6px 8px;
  text-align: left;
  color: var(--vt-text);
  background: var(--vt-bg-2);
  border: 1px solid var(--vt-line);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.08s;
}

.vt-vm-card:hover { background: var(--vt-bg-3); }
.vt-vm-card:focus-visible { outline: 2px solid var(--vt-text); outline-offset: 2px; }

.vt-vm-card.is-active {
  background: linear-gradient(180deg, rgba(255, 70, 85, 0.16), rgba(21, 34, 46, 0.95));
  border-color: var(--vt-accent);
}

.vt-vm-card.is-active::before {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: var(--vt-accent);
}

.vt-vm-card:disabled { opacity: 0.45; cursor: not-allowed; }

.vt-vm-art {
  position: relative;
  display: block;
  height: 84px;
  margin-bottom: 5px;
  overflow: hidden;
  background: radial-gradient(120% 95% at 28% 18%, #3d5468 0%, #1c2a37 55%, #111b24 100%);
}

.vt-vm-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.vt-vm-3d-ico {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vt-muted);
}

.vt-vm-3d-ico svg { width: 64%; height: auto; }
.vt-vm-card.is-active .vt-vm-3d-ico { color: var(--vt-text); }

.vt-vm-name {
  padding: 0 2px;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vt-vm-sub {
  padding: 0 2px;
  overflow: hidden;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--vt-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vt-vm-status { margin-top: 10px; }

.vt-vm-grid.is-compact {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 6px;
}

.vt-vm-grid.is-compact .vt-vm-card { padding: 4px 4px 5px; }
.vt-vm-grid.is-compact .vt-vm-art { height: 44px; margin-bottom: 3px; }
.vt-vm-grid.is-compact .vt-vm-name { font-size: 12px; }
.vt-pause-vm .vt-vm-status { margin-top: 6px; }

/* ------------------------------------------------------------------ results */

.vt-results {
  display: flex;
  justify-content: center;
  padding: 18px clamp(16px, 2.5vw, 36px);
  overflow-y: auto;
  background:
    radial-gradient(1000px 420px at 50% -10%, var(--res-glow, rgba(255, 70, 85, 0.18)), transparent 65%),
    rgba(12, 20, 28, 0.97);
  --res: var(--vt-accent);
}

.vt-results.is-cleared { --res: var(--vt-teal); --res-glow: rgba(47, 224, 181, 0.16); }
.vt-results.is-died { --res: var(--vt-accent); --res-glow: rgba(255, 70, 85, 0.2); }
.vt-results.is-quit { --res: var(--vt-muted); --res-glow: rgba(150, 162, 172, 0.12); }

.vt-results-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(1200px, 100%);
  height: 100%;
  min-height: 560px;
}

.vt-results-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vt-line);
}

.vt-results-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--res);
}

.vt-results-title {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--vt-text);
  text-shadow: 0 0 30px color-mix(in srgb, var(--res) 45%, transparent);
}

.vt-results-meta { margin-top: 4px; font-size: 14px; color: var(--vt-muted); }

.vt-hero-time { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.vt-hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--vt-muted);
}

.vt-hero-value {
  font-size: clamp(44px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.vt-newbest { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--vt-gold); }

.vt-newbest-badge {
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--vt-bg);
  background: var(--vt-gold);
  animation: vt-glow 1.4s ease-in-out infinite;
}

.vt-bestline { font-size: 14px; color: var(--vt-muted); }
.vt-bestline b { color: var(--vt-text); font-weight: 600; }
.vt-bestdiff { margin-left: 8px; color: #ff9aa3; }
.vt-bestnote { font-size: 12.5px; color: var(--vt-dim); }

.vt-grade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  color: var(--g);
  background: color-mix(in srgb, var(--g) 12%, rgba(15, 25, 35, 0.9));
  border: 2px solid var(--g);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.vt-grade-letter { font-size: 64px; font-weight: 700; line-height: 0.95; }
.vt-grade-label { font-size: 12px; letter-spacing: 0.1em; color: var(--vt-muted); }
.vt-grade-score { font-size: 12px; font-weight: 600; color: var(--vt-text); font-variant-numeric: tabular-nums; }

.vt-tiles {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  flex: 0 0 auto;
}

.vt-tile {
  min-width: 0;
  padding: 9px 11px 10px;
  background: rgba(28, 43, 56, 0.75);
  border: 1px solid var(--vt-line);
  border-top: 2px solid var(--vt-line-2);
}

.vt-tile.is-key { border-top-color: var(--res); }
.vt-tile.is-hurt { border-top-color: var(--vt-accent); }

.vt-tile-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--vt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vt-tile-value {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vt-tile-sub {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--vt-dim);
}

.vt-results-targets {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 140px;
}

.vt-results-targets .vt-table-wrap,
.vt-results-targets .vt-empty { flex: 1 1 auto; min-height: 0; }

.vt-results-table tr.is-alive td { color: var(--vt-dim); }
.vt-results-table tr.is-fastest td { background: rgba(246, 207, 87, 0.08); }
.vt-results-table tr.is-fastest td:nth-child(5) { color: var(--vt-gold); font-weight: 600; }

.vt-agent { display: flex; align-items: center; gap: 8px; font-weight: 500; }

.vt-agent-ico {
  width: 26px;
  height: 26px;
  object-fit: cover;
  background: var(--vt-bg-3);
  border: 1px solid var(--vt-line);
}

.vt-hs-ico { display: inline-block; width: 20px; height: 20px; color: var(--vt-gold); vertical-align: middle; }
.vt-hs-ico svg { display: block; width: 100%; height: 100%; }

.vt-results-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.vt-results-hint { margin-left: auto; font-size: 12.5px; color: var(--vt-dim); }

/* ------------------------------------------------------------------ online leaderboard */

.vt-results-lb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  flex: 0 0 auto;
  padding: 10px 14px;
  background: var(--vt-bg-2);
  border: 1px solid var(--vt-line);
  border-left: 3px solid var(--vt-gold);
}
.vt-lb-title { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vt-gold); }
.vt-lb-input {
  width: 220px;
  min-height: 38px;
  padding: 0 12px;
  font: inherit;
  font-size: 15px;
  color: var(--vt-text);
  background: var(--vt-bg);
  border: 1px solid var(--vt-line-2);
  outline: none;
  user-select: text;
}
.vt-lb-input:focus { border-color: var(--vt-gold); }
.vt-lb-submit { min-height: 38px; padding: 0 18px; font-size: 15px; --vt-cut: 8px; }
.vt-lb-status { font-size: 14px; color: var(--vt-muted); }
.vt-lb-status.is-ok { color: var(--vt-teal); }
.vt-lb-status.is-err { color: var(--vt-accent); }

.vt-lb-diffs { display: flex; flex-wrap: wrap; gap: 6px; }
/* r29 leaderboard board pickers (level / targets / difficulty) */
.vt-lb-pickers { display: grid; gap: 8px; margin: 10px 0 6px; }
.vt-lb-pick { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 10px; }
.vt-lb-pick-label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vt-muted); }
.vt-lb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-lb-chip {
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: var(--vt-muted);
  font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 3px; cursor: pointer; white-space: nowrap;
}
.vt-lb-chip:hover { color: var(--vt-text); border-color: rgba(255, 255, 255, 0.3); }
.vt-lb-chip.is-active { color: var(--vt-text); border-color: var(--vt-accent); background: rgba(255, 70, 85, 0.16); }
@media (max-width: 560px) { .vt-lb-pick { grid-template-columns: 1fr; gap: 4px; } }
.vt-lb-pill { border: 0; cursor: pointer; font: inherit; font-size: 13px; opacity: 0.45; }
.vt-lb-pill.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--vt-text); }
.vt-lb-refresh { min-height: 30px; padding: 0 12px; font-size: 13px; --vt-cut: 6px; }
.vt-lb-name-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vt-lb-name-cell span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.vt-lb-flag { width: 20px; height: 15px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); }
.vt-lb-rank { color: var(--vt-muted); }
.vt-lb-pending { font-style: normal; font-size: 11.5px; color: var(--vt-warn); border: 1px solid currentColor; padding: 0 5px; flex: 0 0 auto; }
.vt-lb-score { color: var(--vt-gold); font-weight: 600; }
.vt-lb-table tr.is-me td { background: rgba(47, 224, 181, 0.12); }
.vt-lb-table tr.vt-lb-gap td { text-align: center; color: var(--vt-dim); padding: 2px; }
.vt-lb-total { margin-top: 6px; font-size: 12.5px; }

/* ------------------------------------------------------------------ countdown */

.vt-countdown {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 15vh; /* keep the crosshair at the centre clear */
  pointer-events: none;
}

.vt-cd-num {
  font-size: clamp(110px, 15vh, 170px);
  font-weight: 700;
  line-height: 1;
  color: var(--vt-text);
  text-shadow: 0 0 40px rgba(255, 70, 85, 0.55), 0 4px 12px rgba(0, 0, 0, 0.8);
}

.vt-cd-num.is-on { animation: vt-cd 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

.vt-cd-sub {
  margin-top: 6px;
  padding: 4px 14px;
  font-size: 15px;
  color: var(--vt-text);
  background: rgba(15, 25, 35, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ------------------------------------------------------------------ HUD */

.vt-hud {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.vt-hud * { pointer-events: none; }

.vt-flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(255, 40, 50, 0) 42%, rgba(255, 40, 50, 0.55) 100%);
}

.vt-flash.is-on { animation: vt-fade-out 0.5s ease-out forwards; }

.vt-lowhp {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(ellipse at center, rgba(160, 0, 12, 0) 55%, rgba(160, 0, 12, 0.4) 100%);
}

.vt-lowhp.is-on { opacity: 1; animation: vt-pulse 1.4s ease-in-out infinite; }

/* top-left */
.vt-tl {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.vt-minimap {
  padding: 3px;
  background: rgba(15, 25, 35, 0.35);
  border: 1px solid rgba(236, 232, 225, 0.16);
}

.vt-minimap-canvas { display: block; }

.vt-fps {
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--vt-teal);
  background: rgba(15, 25, 35, 0.6);
}

.vt-fps.is-bad { color: var(--vt-warn); }

/* top-centre */
.vt-topbar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 3px;
}

.vt-topbar-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 150px;
  padding: 5px 16px 6px;
  background: rgba(15, 25, 35, 0.62);
}

.vt-remain {
  align-items: flex-end;
  text-align: right;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  border-bottom: 2px solid var(--vt-accent);
}

.vt-diffbox {
  align-items: flex-start;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  border-bottom: 2px solid var(--vt-line-2);
}

.vt-topbar-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--vt-muted);
}

.vt-remain-val {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.vt-remain.is-clear .vt-remain-val { color: var(--vt-teal); }

.vt-pips { display: flex; gap: 3px; margin-top: 4px; }

.vt-pips i {
  display: block;
  width: 7px;
  height: 11px;
  background: var(--vt-accent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  transform: skewX(-14deg);
  transition: background-color 0.2s, opacity 0.2s;
}

.vt-pips i.is-down { background: rgba(236, 232, 225, 0.22); }

.vt-timerbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 2px 18px 6px;
  background: rgba(15, 25, 35, 0.78);
  border-bottom: 2px solid var(--vt-text);
}

.vt-timer {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vt-timer span { display: inline-block; text-align: center; }
.vt-timer .d { width: 0.6em; }
.vt-timer .s { width: 0.3em; }

.vt-timer-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--vt-muted);
}

.vt-diffbadge {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vt-diffbadge.d-easy { color: var(--vt-teal); }
.vt-diffbadge.d-normal { color: var(--vt-blue); }
.vt-diffbadge.d-hard { color: var(--vt-warn); }
.vt-diffbadge.d-radiant { color: var(--vt-accent); }

/* bottom-left vitals */
.vt-vitals {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 10px 48px 10px 16px;
  background: linear-gradient(90deg, rgba(15, 25, 35, 0.72) 0%, rgba(15, 25, 35, 0.45) 70%, rgba(15, 25, 35, 0) 100%);
}

.vt-shield,
.vt-hp { display: flex; flex-direction: column; gap: 5px; }

.vt-shield-top,
.vt-hp-top { display: flex; align-items: center; gap: 6px; }

.vt-ico { display: inline-block; flex: 0 0 auto; }
.vt-ico svg { display: block; width: 100%; height: 100%; }
.vt-ico-shield { width: 20px; height: 20px; color: var(--vt-shield); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)); }

.vt-shield-val {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--vt-shield);
  font-variant-numeric: tabular-nums;
}

.vt-hp-val {
  font-size: 48px;
  font-weight: 600;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.vt-hp-label {
  align-self: flex-end;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--vt-muted);
}

.vt-bar {
  position: relative;
  height: 5px;
  overflow: hidden;
  background: rgba(236, 232, 225, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.vt-bar-shield { width: 64px; }
.vt-bar-hp { width: 190px; }

.vt-bar-fill {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: 0 50%;
  transition: transform 0.18s ease-out;
}

.vt-bar-shield .vt-bar-fill { background: var(--vt-shield); }
.vt-bar-hp .vt-bar-fill { background: var(--vt-text); }

.vt-vitals.no-shield .vt-shield { opacity: 0.45; }
.vt-vitals.is-low .vt-hp-val { color: #ff7a85; }
.vt-vitals.is-low .vt-bar-hp .vt-bar-fill { background: var(--vt-accent); }
.vt-vitals.is-dead .vt-hp-val { color: var(--vt-accent); }

/* bottom-right ammo */
.vt-ammo {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 16px 10px 48px;
  background: linear-gradient(270deg, rgba(15, 25, 35, 0.72) 0%, rgba(15, 25, 35, 0.45) 70%, rgba(15, 25, 35, 0) 100%);
}

.vt-ammo-nums { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.vt-ammo-cur { font-size: 48px; font-weight: 600; line-height: 0.95; }
/* infinite magazine (no reloading): a single ∞ in place of "25 / 50" */
.vt-ammo-inf {
  font-family: 'Segoe UI', var(--vt-font);
  font-size: 46px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.vt-ammo-weapon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--vt-muted);
}

.vt-ico-gun { width: 58px; height: 18px; color: var(--vt-text); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)); }

/* centre: crosshair, hitmarker, damage direction */
.vt-center {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}

.vt-xh {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}

.vt-xh i {
  position: absolute;
  display: block;
}

.vt-xh-outline {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.6;
}

.vt-hitmarker {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform-origin: 0 0;
  --hm-gap: 7px;
  --hm-len: 7px;
  --hm-w: 2px;
  --hm-color: #ffffff;
}

.vt-hitmarker i {
  position: absolute;
  left: calc(var(--hm-w) / -2);
  top: 0;
  width: var(--hm-w);
  height: var(--hm-len);
  background: var(--hm-color);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 0;
  transform: rotate(var(--r)) translateY(var(--hm-gap));
}

.vt-hitmarker i:nth-child(1) { --r: 45deg; }
.vt-hitmarker i:nth-child(2) { --r: 135deg; }
.vt-hitmarker i:nth-child(3) { --r: 225deg; }
.vt-hitmarker i:nth-child(4) { --r: 315deg; }

.vt-hitmarker.is-head { --hm-color: #ffd84d; --hm-len: 8px; }

.vt-hitmarker.is-kill {
  --hm-color: var(--vt-accent);
  --hm-gap: 9px;
  --hm-len: 12px;
  --hm-w: 3px;
}

.vt-hitmarker.is-on { animation: vt-hm 0.28s ease-out forwards; }
.vt-hitmarker.is-head.is-on { animation-duration: 0.36s; }
.vt-hitmarker.is-kill.is-on { animation: vt-hm-kill 0.6s ease-out forwards; }

.vt-dmg-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.vt-dmgind {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  height: 300px;
  animation: vt-dmg 1.5s ease-out forwards;
}

.vt-dmgind svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(255, 40, 50, 0.85));
}

/* killfeed */
.vt-killfeed {
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.vt-kf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 10px;
  font-size: 14px;
  background: rgba(15, 25, 35, 0.74);
  border-left: 3px solid var(--vt-teal);
  border-right: 3px solid var(--vt-accent);
  animation: vt-kf-in 0.2s ease-out;
  transition: opacity 0.4s, transform 0.4s;
}

.vt-kf-item.is-out { opacity: 0; transform: translateX(16px); }
.vt-kf-you { font-weight: 600; color: var(--vt-teal); }
.vt-kf-weapon { display: inline-block; width: 52px; height: 16px; color: var(--vt-text); }
.vt-kf-weapon svg,
.vt-kf-hs svg { display: block; width: 100%; height: 100%; }
.vt-kf-hs { display: inline-block; width: 18px; height: 18px; color: var(--vt-gold); }
.vt-kf-victim { font-weight: 600; color: #ff8a94; }

.vt-kf-callout {
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--vt-muted);
  background: rgba(236, 232, 225, 0.08);
}

/* kill banner */
.vt-killbanner {
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
}

.vt-kb-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.vt-kb-inner.is-on { animation: vt-kb 1.7s ease-out forwards; }

.vt-kb-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--vt-accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.vt-kb-ico svg { width: 24px; height: 24px; }

.vt-kb-text { display: flex; flex-direction: column; line-height: 1.1; }
.vt-kb-label { font-size: 12px; letter-spacing: 0.14em; color: var(--vt-muted); }
.vt-kb-name { font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.vt-kb-hs { display: none; width: 26px; height: 26px; color: var(--vt-gold); }
.vt-kb-hs svg { display: block; width: 100%; height: 100%; }
.vt-kb-inner.is-hs .vt-kb-hs { display: block; }
.vt-kb-inner.is-hs .vt-kb-ico { background: var(--vt-gold); color: var(--vt-bg); }

/* ------------------------------------------------------------------ keyframes */

@keyframes vt-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vt-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vt-fill { from { width: 0; } to { width: 100%; } }

@keyframes vt-indet {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(310%); }
}

@keyframes vt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes vt-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes vt-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 207, 87, 0.0); }
  50% { box-shadow: 0 0 18px 2px rgba(246, 207, 87, 0.55); }
}

@keyframes vt-cd {
  0% { opacity: 0; transform: scale(1.7); }
  22% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(0.96); }
  100% { opacity: 0.25; transform: scale(0.9); }
}

@keyframes vt-hm {
  0% { opacity: 1; transform: scale(1.35); }
  20% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

@keyframes vt-hm-kill {
  0% { opacity: 1; transform: scale(1.6) rotate(0deg); }
  20% { opacity: 1; transform: scale(1) rotate(0deg); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.1); }
}

@keyframes vt-dmg {
  0%, 30% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes vt-kf-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes vt-kb {
  0% { opacity: 0; transform: scale(1.25); }
  10% { opacity: 1; transform: scale(1); }
  75% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.98); }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1180px) {
  .vt-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Short viewports (1280×720 / 1366×768 screens, i.e. ~620–770 px of page under the browser bars): tighter
   menu so the whole left column (map card, difficulty, details, START + hint) fits without scrolling. */
@media (min-width: 1001px) and (max-height: 820px) {
  .vt-menu { gap: 10px; padding-top: 14px; padding-bottom: 8px; }
  .vt-brand-mark { width: 40px; height: 40px; }
  .vt-title { font-size: clamp(24px, 2.3vw, 32px); }
  .vt-subtitle { margin-top: 2px; font-size: 13px; }
  .vt-menu-left { gap: 10px; }
  .vt-mapcard { padding: 8px 10px; }
  .vt-mapcard-art { width: 108px; height: 80px; }
  .vt-mapcard-title { font-size: 20px; }
  .vt-map-row { margin-top: 4px; }
  .vt-diff { padding: 8px 9px 7px; }
  .vt-diff-name { font-size: 16px; }
  .vt-diff-tag,
  .vt-diff-best { margin-top: 3px; }
  .vt-diff-detail { min-height: 0; margin-top: 6px; padding: 8px 11px 9px; }
  .vt-diff-desc { margin-bottom: 6px; }
  .vt-start { min-height: 56px; }
  .vt-start-main { font-size: 23px; }
  .vt-start-wrap { gap: 4px; }
  .vt-tab { min-height: 40px; }
  .vt-tabpanel { padding: 12px 16px 14px; }
}

@media (min-width: 1001px) and (max-height: 690px) {
  .vt-menu { gap: 8px; padding-top: 10px; }
  .vt-brand-mark { width: 34px; height: 34px; }
  .vt-title { font-size: clamp(22px, 2.1vw, 28px); }
  .vt-menu-left { gap: 8px; }
  .vt-mapcard-art { width: 96px; height: 70px; }
  .vt-mapcard-sub { font-size: 12px; }
  .vt-menu-left .vt-section-head { margin-bottom: 5px; }
  .vt-disclaimer { font-size: 10.5px; line-height: 1.4; }
  .vt-diff { padding: 6px 8px 5px; }
  .vt-diff-th { font-size: 12px; }
  .vt-diff-desc { font-size: 13px; margin-bottom: 5px; }
  .vt-start { min-height: 50px; }
  .vt-start-main { font-size: 21px; }
  .vt-start-hint { font-size: 12px; }
}

@media (max-width: 1000px), (max-height: 560px) {
  .vt-menu-main {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .vt-menu-left,
  .vt-tabpanels { overflow: visible; }

  .vt-start-wrap { margin-top: 4px; }
}

@media (max-width: 900px) {
  .vt-results-top { grid-template-columns: minmax(0, 1fr) auto; }
  .vt-results-banner { grid-column: 1 / -1; }
  .vt-header-tags { display: none; }
}

@media (max-width: 720px) {
  .vt-diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-mapcard-art { display: none; }
  .vt-ctrl-row { grid-template-columns: 1fr; gap: 2px; }
  .vt-results-hint { display: none; }
}

@media (max-height: 640px) {
  .vt-results-inner { height: auto; min-height: 0; }
  .vt-results-targets { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vt-screen,
  .vt-ctp-ico,
  .vt-newbest-badge,
  .vt-lowhp.is-on,
  .vt-kf-item { animation: none; }

  .vt-btn,
  .vt-diff,
  .vt-tab,
  .vt-switch-track,
  .vt-switch-track::after,
  .vt-kf-item { transition: none; }
}

/* ------------------------------------------------------------------ dropdown (Valorant settings style) */
.vt-dd { position: relative; }
.vt-dd-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 9px 12px; border: 0; border-radius: 2px; cursor: pointer;
  font: inherit; font-size: 14px; text-align: left;
  color: #ffffff; background: #7b8086;
}
.vt-dd-btn:hover, .vt-dd.is-open .vt-dd-btn { background: #8a8f95; }
.vt-dd-btn:focus-visible { outline: 2px solid var(--vt-text); outline-offset: 1px; }
.vt-dd-chev {
  width: 8px; height: 8px; flex: 0 0 auto; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.vt-dd.is-open .vt-dd-chev { transform: rotate(225deg); margin-top: 4px; }
.vt-dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 2px); z-index: 20;
  display: flex; flex-direction: column;
  background: #1b2228; border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.vt-dd-list[hidden] { display: none; }
.vt-dd-item {
  padding: 12px 14px; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); cursor: pointer;
  font: inherit; font-size: 14px; text-align: left; color: #ffffff; background: transparent;
}
.vt-dd-item:first-child { border-top: 0; }
.vt-dd-item:hover, .vt-dd-item:focus-visible { background: rgba(255, 255, 255, 0.07); outline: none; }
.vt-dd-item.is-active { color: #f1d35e; }
.vt-info {
  display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 4px; vertical-align: 1px;
  border-radius: 50%; font-size: 10px; font-weight: 700; font-style: normal; cursor: help;
  color: #1b2228; background: var(--vt-muted);
}
.vt-hl-dot {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), 0 0 8px var(--c);
}
/* r10: language switch in the menu header */
.vt-lang { display: inline-flex; border: 1px solid rgba(236, 232, 225, 0.25); border-radius: 3px; overflow: hidden; }
.vt-lang-btn { background: transparent; color: rgba(236, 232, 225, 0.7); border: 0; padding: 4px 10px; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; }
.vt-lang-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.vt-lang-btn.is-active { background: #ff4655; color: #fff; }

/* r28: game mode switch (Clear site / Hold) above the map buttons */
.vt-mode-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1 1 100%; min-width: 0; }
.vt-mode-seg .vt-seg-btn { flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 34px; padding: 4px 6px; min-width: 0; }
.vt-mode-seg .vt-seg-btn b { font-size: 14px; line-height: 1.15; white-space: nowrap; }
.vt-mode-seg .vt-seg-btn small { font-size: 11px; line-height: 1.15; white-space: nowrap; }
