.vms-app {
  --mp: #7c6fd1; --ms: #4f4693; --ok: #4ade80; --bad: #fb7185; --warn: #fde68a;
  --vms-line: rgba(255, 255, 255, .14); --vms-muted: rgba(255, 255, 255, .72);
  position: relative;
  max-width: 780px;
  margin: auto;
  padding: 24px 16px 56px;
  color: #f8fafc;
  font-family: var(--font-body, "DM Sans", sans-serif);
}
.vms-app *, .vms-app *::before, .vms-app *::after { box-sizing: border-box; }
.vms-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.vms-app :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.vms-back { color: #cfc8f7; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vms-shell { margin-top: 16px; }
.vms-loading { padding: 60px 0; text-align: center; color: var(--vms-muted); }
.vms-card {
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--vms-line);
  border-radius: 26px;
  background: radial-gradient(900px 420px at 12% -10%, color-mix(in srgb, var(--mp) 16%, transparent), transparent 62%), rgba(255, 255, 255, .045);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.vms-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--vms-line); }
.vms-title { display: flex; align-items: center; gap: 12px; }
.vms-title strong { display: block; color: #fff; font: 800 18px var(--font-display, "Syne", sans-serif); }
.vms-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--mp) 35%, transparent), color-mix(in srgb, var(--ms) 35%, transparent)); border: 1px solid var(--vms-line); flex-shrink: 0; }
.vms-solo { display: block; margin: 0 0 2px; color: var(--mp); font: 800 12px var(--font-display, "Syne", sans-serif); letter-spacing: .16em; }
.vms-eyebrow { display: block; margin-top: 2px; color: var(--vms-muted); font: 700 11px "DM Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.vms-progress { display: flex; align-items: center; gap: 14px; }
.vms-q-count { color: var(--vms-muted); font-size: 13px; }
.vms-score { color: var(--vms-muted); font-size: 14px; }
.vms-score strong { color: #fff; }
.vms-title--center { justify-content: center; margin-bottom: 4px; }
.vms-hint { margin: 0 0 18px; color: #fff; font: 700 16px var(--font-display, "Syne", sans-serif); }
.vms-board { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; min-height: 44px; align-items: flex-end; }
.vms-word { display: flex; gap: 6px; align-items: flex-end; }
.vms-ch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 38px;
  border-bottom: 3px solid var(--vms-line); color: #fff; font: 700 20px var(--font-display, "Syne", monospace); text-transform: uppercase;
}
.vms-ch.is-revealed { border-bottom-color: var(--mp); }
.vms-ch--sep { border-bottom: none; min-width: 12px; color: var(--vms-muted); }
.vms-wrong { margin: 0 0 16px; }
.vms-wrong-label { display: block; margin-bottom: 6px; color: var(--vms-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vms-wrong-bar { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.vms-wrong-bar b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--mp), var(--ms)); transition: width .25s ease, background .25s ease; }
.vms-wrong-bar.is-low b { background: linear-gradient(90deg, var(--warn), #f59e0b); }
.vms-wrong-bar.is-critical b { background: linear-gradient(90deg, var(--bad), #dc2626); }
@media (prefers-reduced-motion: reduce) { .vms-wrong-bar b { transition: none; } }
.vms-letters { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 8px; max-width: 640px; margin: 0 auto 18px; }
.vms-letter { min-width: 0; min-height: 52px; padding: 0; border-radius: 10px; border: 1px solid var(--vms-line); background: rgba(255, 255, 255, .05); color: #fff; font: 700 15px "DM Sans", sans-serif; cursor: pointer; }
.vms-letter:hover:not(:disabled) { border-color: var(--mp); background: color-mix(in srgb, var(--mp) 18%, rgba(255,255,255,.05)); }
.vms-letter:disabled { opacity: .35; cursor: default; }
.vms-guess-row label { display: block; margin-bottom: 6px; color: var(--vms-muted); font-size: 13px; }
.vms-guess-inline { display: flex; gap: 8px; }
.vms-guess-inline input {
  flex: 1; min-height: 46px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--vms-line);
  font: 500 15px "DM Sans", sans-serif;
}
#vms-root .vms-guess-inline input[type="text"] { background: rgba(255, 255, 255, .06) !important; color: #fff !important; }
.vms-verdict { margin: 0 0 14px; font: 800 18px var(--font-display, "Syne", sans-serif); }
.vms-verdict.is-correct { color: var(--ok); }
.vms-verdict.is-wrong { color: var(--warn); }
.vms-target { margin: 0; color: #fff; font: 700 20px var(--font-display, "Syne", sans-serif); }
.vms-finish { text-align: center; }
.vms-final-score { margin: 10px 0 0; font: 800 56px var(--font-display, "Syne", sans-serif); color: #fff; }
.vms-final-label { margin: 0 0 20px; color: var(--vms-muted); }
.vms-finish-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.vms-primary, .vms-secondary {
  min-height: 48px; padding: 12px 26px; border-radius: 999px; font: 700 15px "DM Sans", sans-serif; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; border: 0;
}
.vms-primary { background: linear-gradient(135deg, var(--mp), var(--ms)); color: #fff; }
.vms-secondary { border: 1px solid var(--vms-line); color: #fff; background: transparent; }
#vms-root button.vms-primary[type="submit"] { background: linear-gradient(135deg, var(--mp), var(--ms)) !important; color: #fff !important; border: 0 !important; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; }
.vms-verdict.is-bonus { color: var(--mp); }
.vms-bonus-intro { text-align: center; }
.vms-bonus-lead { margin: 0 0 18px; color: var(--vms-muted); }
.vms-bonus-outcome { margin: 4px 0 0; color: var(--vms-muted); font-size: 14px; }
.vms-bonus-outcome.is-correct { color: var(--ok); }
.vms-msg { color: var(--warn); font-size: 13.5px; }
@media (max-width: 480px) {
  .vms-ch { min-width: 20px; height: 32px; font-size: 16px; }
  .vms-letters { grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); max-width: none; }
  .vms-letter { min-height: 44px; }
  .vms-final-score { font-size: 44px; }
}
.vms-intro-panel { margin: 0 0 16px; padding: clamp(18px, 4vw, 28px); border-radius: 22px; background: radial-gradient(circle at 12% 0, #fff 0, #f3f0fa 55%, #e5e0f2 100%); color: #25213f; }
.vms-intro-panel .vms-kicker { margin: 0 0 8px; color: #4b4585; font: 800 14px "DM Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.vms-intro-panel h2 { margin: 0 0 10px; color: #1c1838; font: 800 clamp(26px, 5vw, 36px)/1.15 "DM Sans", sans-serif; }
.vms-intro-panel .vms-lead { margin: 0; color: #3a3556; font: 500 17px/1.5 "DM Sans", sans-serif; }
.vms-intro-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.vms-intro-fact { padding: 12px 10px; border-radius: 16px; border-top: 4px solid var(--mp); background: #f6f3fb; color: #25213f; text-align: center; }
.vms-intro-fact strong { display: block; font: 800 20px "DM Sans", sans-serif; }
.vms-intro-fact span { display: block; margin-top: 2px; color: #4a4562; font: 500 14px "DM Sans", sans-serif; }
.vms-intro-note { margin: 0 0 18px; color: var(--vms-muted); font: 500 16px/1.5 "DM Sans", sans-serif; }
.vms-intro .vms-primary { width: 100%; }
@media (max-width: 420px) { .vms-intro-facts { gap: 6px; } .vms-intro-fact strong { font-size: 18px; } .vms-intro-fact span { font-size: 14px; } }
.inside-article:has(>.entry-content>.vms-app){overflow-x:clip}
.inside-article:has(>.entry-content>.vms-app)>.entry-content{max-width:780px;margin-left:auto;margin-right:auto}
.inside-article>.entry-content:has(>.vms-app){position:relative;padding-bottom:4.75rem}
html:has(.vms-app){overflow-x:clip}
.vms-intro-panel { background: radial-gradient(520px 220px at 10% -20%, color-mix(in srgb, var(--mp) 22%, transparent), transparent 70%), rgba(255, 255, 255, .06); border: 1px solid var(--vms-line); color: #f8fafc; }
.vms-intro-panel .vms-kicker { color: color-mix(in srgb, var(--mp) 45%, #fff); }
.vms-intro-panel h2 { color: #fff; }
.vms-intro-panel .vms-lead { color: var(--vms-muted); }
.vms-intro-fact { background: rgba(255, 255, 255, .06); border: 1px solid var(--vms-line); border-top: 4px solid var(--mp); color: #fff; }
.vms-intro-fact span { color: var(--vms-muted); }
.vms-back, .vms-back:hover, .vms-back:focus { text-decoration: none !important; }
