:root {
  --vx-blue: #08aeea;
  --vx-blue-deep: #0b7fb5;
  --vx-ink: #0d1015;
  --vx-page: #f5f6f8;
  --vx-text: #14171d;
  --vx-copy: #4a5160;
  --vx-muted: #7c8494;
  --vx-panel: #ffffff;
  --vx-panel-2: #f1f3f7;
  --vx-line: #e2e6ee;
  --vx-line-soft: #eef1f6;
  --vx-ok: #16a34a;
  --vx-warn: #d97706;
  --vx-danger: #dc2626;
  --vx-analysis: #7c3aed;
  --vx-radius: 10px;
  --vx-radius-lg: 16px;
  --vx-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .18);
  --vx-shadow-lift: 0 2px 4px rgba(16, 24, 40, .05), 0 24px 48px -20px rgba(16, 24, 40, .28);
  --vx-glow: 0 0 0 4px rgba(8, 174, 234, .16);
  --vx-ease: cubic-bezier(.22, .68, 0, 1);
  --vx-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --vx-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

:root[data-theme="dark"] {
  --vx-page: #0b0e13;
  --vx-text: #f2f4f8;
  --vx-copy: #b9c0cd;
  --vx-muted: #838d9e;
  --vx-panel: #12161d;
  --vx-panel-2: #171c25;
  --vx-line: #232a36;
  --vx-line-soft: #1b212b;
  --vx-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 16px 40px -16px rgba(0, 0, 0, .7);
  --vx-shadow-lift: 0 2px 6px rgba(0, 0, 0, .55), 0 28px 56px -24px rgba(0, 0, 0, .85);
}

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

html { scroll-behavior: smooth; }

body.vx {
  margin: 0;
  min-height: 100vh;
  background: var(--vx-page);
  color: var(--vx-text);
  font-family: var(--vx-font);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.022em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code { font-family: var(--vx-mono); font-size: .86em; }

::selection { background: rgba(8, 174, 234, .28); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--vx-line); border: 3px solid transparent; background-clip: content-box; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--vx-muted); background-clip: content-box; }

:focus-visible { outline: 0; box-shadow: var(--vx-glow); border-radius: 6px; }

@keyframes vx-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes vx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vx-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
@keyframes vx-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes vx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.vx-reveal { opacity: 0; }
.vx-reveal.is-in { animation: vx-rise .62s var(--vx-ease) forwards; }
.vx-reveal.is-in[data-delay="1"] { animation-delay: .07s; }
.vx-reveal.is-in[data-delay="2"] { animation-delay: .14s; }
.vx-reveal.is-in[data-delay="3"] { animation-delay: .21s; }
.vx-reveal.is-in[data-delay="4"] { animation-delay: .28s; }
.vx-reveal.is-in[data-delay="5"] { animation-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vx-reveal, .vx-reveal.is-in { opacity: 1; animation: none; }
  * { transition-duration: .01ms !important; }
}

.vx-icon { width: 18px; height: 18px; stroke-width: 2; flex: 0 0 auto; }
.vx-icon--sm { width: 15px; height: 15px; }
.vx-icon--lg { width: 22px; height: 22px; }

.vx-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }

.vx-sidebar {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 12px 22px;
  background: var(--vx-panel);
  border-right: 1px solid var(--vx-line);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}

.vx-brand {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 8px; min-height: 48px; flex-shrink: 0; line-height: 1;
  color: var(--vx-text); border-radius: 12px;
  transition: background .2s var(--vx-ease);
}
.vx-brand:hover { background: transparent; }
.vx-brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px;
  background: linear-gradient(140deg, var(--vx-blue), var(--vx-blue-deep));
  color: #fff; box-shadow: 0 6px 18px -6px rgba(8, 174, 234, .65);
}
.vx-brand__mark .vx-icon { width: 21px; height: 21px; }
.vx-brand__text { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.vx-brand__name { font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.vx-brand__tagline { color: var(--vx-muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.vx-sidebar > .vx-brand { margin-bottom: 12px; }
.vx-footer .vx-brand { color: #fff; }
#features, #checks { scroll-margin-top: 88px; }

.vx-sidebar__heading { margin: 18px 10px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vx-muted); }

.vx-sidebar a {
  display: flex; align-items: center; gap: 10px;
  min-height: 38px; padding: 0 10px;
  border-radius: var(--vx-radius);
  color: var(--vx-copy); font-weight: 600; font-size: 13.5px;
  transition: background .18s var(--vx-ease), color .18s var(--vx-ease), transform .18s var(--vx-ease);
}
.vx-sidebar a:not(.vx-brand):hover { background: var(--vx-panel-2); color: var(--vx-text); transform: translateX(2px); }
.vx-sidebar a[aria-current="page"] { background: rgba(8, 174, 234, .12); color: var(--vx-blue); font-weight: 700; }
.vx-sidebar a[aria-current="page"]::before { content: ""; width: 3px; height: 18px; border-radius: 99px; background: var(--vx-blue); margin-left: -10px; }
.vx-sidebar__sub { padding-left: 26px !important; font-size: 13px; }

/* One entry per network, foldable, with the instances inside. */
.vx-sidebar__group > summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 38px; padding: 0 10px; margin-bottom: 2px;
  border-radius: var(--vx-radius);
  color: var(--vx-copy); font-weight: 600; font-size: 13.5px;
  cursor: pointer; list-style: none;
  transition: background .18s var(--vx-ease), color .18s var(--vx-ease);
}
.vx-sidebar__group > summary:hover { background: var(--vx-panel-2); color: var(--vx-text); }
.vx-sidebar__group > summary::-webkit-details-marker { display: none; }
.vx-sidebar__chevron { color: var(--vx-muted); transition: transform .18s var(--vx-ease); }
.vx-sidebar__group[open] .vx-sidebar__chevron { transform: rotate(90deg); }

/* The status light: a fixed circle, so it is centred no matter what sits next to it. */
.vx-sidebar__dot {
  flex: 0 0 auto; display: block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--vx-ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vx-ok) 15%, transparent);
  animation: vx-pulse 1.8s ease-in-out infinite;
}
.vx-sidebar__dot--off { background: color-mix(in srgb, var(--vx-muted) 55%, transparent); box-shadow: none; animation: none; }
.vx-sidebar__group > summary .vx-sidebar__dot { margin-left: auto; }
.vx-sidebar a .vx-sidebar__dot { margin-left: auto; }
.vx-sidebar__group:not([open]) > a { display: none; }

.vx-main { min-width: 0; display: flex; flex-direction: column; }

.vx-topbar {
  display: flex; align-items: center; gap: 12px;
  min-height: 66px; padding: 0 22px;
  background: color-mix(in srgb, var(--vx-panel) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--vx-line);
  position: sticky; top: 0; z-index: 20;
}
.vx-search { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 440px; position: relative; }
.vx-search .vx-icon { position: absolute; left: 12px; color: var(--vx-muted); pointer-events: none; }
.vx-search .vx-input { padding-left: 38px; }

.vx-content { display: flex; flex-direction: column; gap: 18px; padding: 22px; animation: vx-fade .4s var(--vx-ease); }

.vx-tabs {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 5px;
  background: var(--vx-panel); border: 1px solid var(--vx-line); border-radius: var(--vx-radius-lg);
  box-shadow: var(--vx-shadow); width: fit-content;
}
.vx-tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 16px; border: 0; border-radius: 11px;
  background: transparent; color: var(--vx-muted);
  font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background .2s var(--vx-ease), color .2s var(--vx-ease), transform .2s var(--vx-ease);
}
.vx-tabs [role="tab"]:hover { background: var(--vx-panel-2); color: var(--vx-text); }
.vx-tabs [role="tab"][aria-selected="true"] { background: var(--vx-text); color: var(--vx-page); font-weight: 700; }
:root[data-theme="dark"] .vx-tabs [role="tab"][aria-selected="true"] { background: var(--vx-blue); color: #fff; }
.vx-tabs__count { padding: 1px 7px; border-radius: 99px; background: color-mix(in srgb, currentColor 18%, transparent); font-size: 11px; font-weight: 700; }

.vx-tabpanel { display: flex; flex-direction: column; gap: 16px; }
.vx-tabpanel[hidden] { display: none; }
.vx-tabpanel:not([hidden]) { animation: vx-rise .4s var(--vx-ease); }

.vx-card {
  padding: 20px;
  background: var(--vx-panel);
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius-lg);
  box-shadow: var(--vx-shadow);
  transition: box-shadow .28s var(--vx-ease), transform .28s var(--vx-ease), border-color .28s var(--vx-ease);
}
.vx-card--hover:hover { transform: translateY(-3px); box-shadow: var(--vx-shadow-lift); border-color: color-mix(in srgb, var(--vx-blue) 40%, var(--vx-line)); }
.vx-card__title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--vx-muted); }
.vx-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

.vx-grid { display: grid; gap: 16px; }
.vx-grid--kpi { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.vx-grid--two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.vx-grid--three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.vx-kpi__value { margin: 6px 0 2px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vx-kpi__hint { color: var(--vx-muted); font-size: 12.5px; font-weight: 500; }

.vx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vx-table th { padding: 10px 12px; text-align: left; color: var(--vx-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-bottom: 1px solid var(--vx-line); }
.vx-table td { padding: 12px; border-bottom: 1px solid var(--vx-line-soft); vertical-align: middle; }
.vx-table tbody tr { transition: background .16s var(--vx-ease); }
.vx-table tbody tr:hover { background: var(--vx-panel-2); }
.vx-table tbody tr:last-child td { border-bottom: 0; }
.vx-table a { font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .18s var(--vx-ease), color .18s var(--vx-ease); }
.vx-table a:hover { color: var(--vx-blue); border-color: currentColor; }

.vx-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 99px;
  background: var(--vx-panel-2); border: 1px solid var(--vx-line);
  color: var(--vx-copy); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.vx-badge--analysis { color: var(--vx-analysis); border-color: color-mix(in srgb, var(--vx-analysis) 38%, transparent); background: color-mix(in srgb, var(--vx-analysis) 12%, transparent); }
.vx-badge--ok { color: var(--vx-ok); border-color: color-mix(in srgb, var(--vx-ok) 32%, transparent); background: color-mix(in srgb, var(--vx-ok) 12%, transparent); }
.vx-badge--warn { color: var(--vx-warn); border-color: color-mix(in srgb, var(--vx-warn) 32%, transparent); background: color-mix(in srgb, var(--vx-warn) 12%, transparent); }
.vx-badge--danger { color: var(--vx-danger); border-color: color-mix(in srgb, var(--vx-danger) 32%, transparent); background: color-mix(in srgb, var(--vx-danger) 12%, transparent); }
.vx-badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: vx-pulse 1.8s ease-in-out infinite; }

.vx-input, .vx-select {
  min-height: 40px; padding: 0 12px; width: 100%;
  background: var(--vx-panel); color: var(--vx-text);
  border: 1px solid var(--vx-line); border-radius: var(--vx-radius);
  font: inherit; font-weight: 500;
  transition: border-color .18s var(--vx-ease), box-shadow .18s var(--vx-ease);
}
.vx-input::placeholder { color: var(--vx-muted); }
.vx-input:focus, .vx-select:focus { outline: 0; border-color: var(--vx-blue); box-shadow: var(--vx-glow); }

.vx-field { display: flex; flex-direction: column; gap: 6px; }
.vx-field > span { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--vx-muted); }

.vx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  background: var(--vx-panel); color: var(--vx-text);
  border: 1px solid var(--vx-line); border-radius: var(--vx-radius);
  font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: transform .18s var(--vx-ease), box-shadow .18s var(--vx-ease), background .18s var(--vx-ease), border-color .18s var(--vx-ease);
}
.vx-btn:hover { background: color-mix(in srgb, var(--vx-blue) 10%, var(--vx-panel)); border-color: color-mix(in srgb, var(--vx-blue) 45%, var(--vx-line)); transform: translateY(-1px); }
.vx-btn:active { transform: translateY(0); }
.vx-btn--primary {
  background: linear-gradient(140deg, var(--vx-blue), var(--vx-blue-deep));
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 24px -12px rgba(8, 174, 234, .9);
}
.vx-btn--primary:hover {
  background: linear-gradient(140deg, #20baf1, #0994cc);
  border-color: transparent; color: #fff;
  box-shadow: 0 16px 32px -14px rgba(8, 174, 234, 1);
}
.vx-btn--ghost { background: transparent; border-color: transparent; color: var(--vx-copy); }
.vx-btn--ghost:hover { background: color-mix(in srgb, var(--vx-blue) 10%, var(--vx-panel)); color: var(--vx-text); }
.vx-btn--sm { min-height: 32px; padding: 0 12px; font-size: 12.5px; }
.vx-btn--danger { color: var(--vx-danger); border-color: color-mix(in srgb, var(--vx-danger) 40%, transparent); }
.vx-btn--danger:hover { background: color-mix(in srgb, var(--vx-danger) 14%, transparent); border-color: color-mix(in srgb, var(--vx-danger) 60%, transparent); }
.vx-btn--icon { width: 40px; padding: 0; }

.vx-hero {
  position: relative; overflow: hidden;
  padding: 92px 24px 78px; text-align: center;
  background:
    radial-gradient(58% 62% at 50% -6%, rgba(8, 174, 234, .22), transparent 62%),
    radial-gradient(40% 50% at 88% 8%, rgba(124, 58, 237, .14), transparent 60%);
}
.vx-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--vx-line), transparent); }
.vx-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 8px; border-radius: 99px;
  background: var(--vx-panel); border: 1px solid var(--vx-line);
  color: var(--vx-copy); font-size: 12.5px; font-weight: 600;
  box-shadow: var(--vx-shadow);
}
.vx-hero h1 { margin: 22px auto 0; max-width: 820px; font-size: clamp(32px, 5.2vw, 54px); letter-spacing: -.035em; }
.vx-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--vx-blue), var(--vx-analysis)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vx-hero p { margin: 18px auto 0; max-width: 620px; color: var(--vx-copy); font-size: 16.5px; }
.vx-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }

.vx-marquee { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--vx-line); border-top: 1px solid var(--vx-line); border-bottom: 1px solid var(--vx-line); }
.vx-marquee div { padding: 18px 12px; background: var(--vx-panel); text-align: center; }
.vx-marquee strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.vx-marquee span { color: var(--vx-muted); font-size: 12px; font-weight: 600; }

.vx-section { padding: 66px 24px; }
.vx-section--tight { padding: 44px 24px; }
.vx-section__head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.vx-section__head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.vx-section__head p { margin-top: 12px; color: var(--vx-copy); font-size: 15.5px; }

.vx-feature { display: flex; flex-direction: column; gap: 12px; }
.vx-feature__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--vx-blue) 14%, transparent); color: var(--vx-blue); }
.vx-feature__icon--analysis { background: color-mix(in srgb, var(--vx-analysis) 14%, transparent); color: var(--vx-analysis); }
.vx-feature h3 { font-size: 16.5px; }
.vx-feature p { color: var(--vx-copy); font-size: 14px; }

.vx-price { display: flex; flex-direction: column; gap: 14px; position: relative; }
.vx-price--featured { border-color: color-mix(in srgb, var(--vx-blue) 55%, var(--vx-line)); box-shadow: var(--vx-shadow-lift); }
.vx-price__amount { font-size: 34px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vx-price__amount small { font-size: 14px; font-weight: 500; color: var(--vx-muted); }
.vx-price ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vx-price li { display: flex; align-items: flex-start; gap: 9px; color: var(--vx-copy); font-size: 13.5px; }
.vx-price li .vx-icon { color: var(--vx-ok); margin-top: 2px; }

.vx-footer { padding: 30px 24px; background: var(--vx-ink); color: rgba(255, 255, 255, .72); font-size: 13px; }
.vx-footer a:hover { color: #fff; }
.vx-footer__grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center; }
.vx-footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
:root[data-theme="dark"] .vx-footer { background: #05070a; border-top: 1px solid var(--vx-line); }

.vx-player { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.vx-skin {
  position: relative; min-height: 340px; overflow: hidden;
  border: 1px solid var(--vx-line); border-radius: var(--vx-radius-lg);
  background: radial-gradient(120% 80% at 50% 0%, var(--vx-panel-2), var(--vx-panel));
  box-shadow: var(--vx-shadow);
}
.vx-skin canvas { display: block; width: 100%; height: 340px; }
.vx-skin__hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--vx-muted); font-weight: 600; text-align: center; }
.vx-skin__tag { position: absolute; left: 14px; bottom: 12px; }

.vx-detect { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--vx-line-soft); font-size: 13.5px; }
.vx-detect:last-child { border-bottom: 0; }
.vx-detect__time { margin-left: auto; color: var(--vx-muted); font-size: 12px; white-space: nowrap; }
.vx-detect code { color: var(--vx-copy); background: var(--vx-panel-2); padding: 2px 6px; border-radius: 6px; }

.vx-skeleton { height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--vx-panel-2), var(--vx-line), var(--vx-panel-2)); background-size: 200% 100%; animation: vx-shimmer 1.4s linear infinite; }

.vx-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 20px; color: var(--vx-muted); text-align: center; }
.vx-empty .vx-icon { width: 30px; height: 30px; opacity: .5; }

.vx-toast { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--vx-panel); border: 1px solid var(--vx-line); border-radius: var(--vx-radius); box-shadow: var(--vx-shadow-lift); animation: vx-rise .4s var(--vx-ease); }

.vx-float { animation: vx-float 6s ease-in-out infinite; }

.vx-checkgroup { border: 1px solid var(--vx-line); border-radius: var(--vx-radius); margin-bottom: 10px; overflow: hidden; }
.vx-checksection { margin-bottom: 24px; }
.vx-checksection__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.vx-checkgroup > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; background: color-mix(in srgb, var(--vx-panel) 88%, var(--vx-text) 12%); }
.vx-checkgroup > summary:hover { background: color-mix(in srgb, var(--vx-panel) 82%, var(--vx-text) 18%); }
.vx-checkgroup > summary::-webkit-details-marker { display: none; }
.vx-checkgroup__chevron { color: var(--vx-muted); transition: transform .18s var(--vx-ease); }
.vx-checkgroup[open] .vx-checkgroup__chevron { transform: rotate(90deg); }
.vx-checkrow { border-top: 1px solid var(--vx-line); padding: 12px 14px; }
/* A class with a display rule beats the hidden attribute, so say it once, loudly. */
[hidden] { display: none !important; }
.vx-checkrow__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.vx-checkrow__head:hover { color: var(--vx-accent, var(--vx-blue)); }
.vx-checkrow__chevron { margin-left: auto; color: var(--vx-muted); transition: transform .18s var(--vx-ease); }
.vx-checkrow__head[aria-expanded="true"] .vx-checkrow__chevron { transform: rotate(90deg); }
.vx-checkrow__head[aria-expanded="true"] { margin-bottom: 2px; }
.vx-checkform { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.vx-checkform__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.vx-checkform__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.vx-checkform__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vx-punish { display: flex; flex-direction: column; gap: 8px; }
.vx-punish__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vx-punish__row .vx-input, .vx-punish__row .vx-select { padding: 8px 10px; font-size: 13px; }
.vx-punish__sep { color: var(--vx-muted); font-weight: 700; }
.vx-choice { border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.vx-choice--wide { grid-column: 1 / -1; }
.vx-choice__label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--vx-muted); }
.vx-choice__item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.vx-choice__item input { accent-color: var(--vx-accent); }
.vx-mitigation { display: grid; grid-template-columns: minmax(180px, 1fr) 90px 90px; gap: 8px; align-items: center; }
.vx-mitigation .vx-input { padding: 8px 10px; font-size: 13px; }
.vx-input--number { font-family: var(--vx-mono); }
.vx-field em { font-style: normal; color: var(--vx-muted); }

.vx-ticketrow { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--vx-line); border-radius: var(--vx-radius); margin-bottom: 8px; text-decoration: none; color: inherit; }
.vx-ticketrow:hover { background: color-mix(in srgb, var(--vx-panel) 90%, var(--vx-text) 10%); }
.vx-ticketrow__ref { font-family: var(--vx-mono); color: var(--vx-muted); font-size: 12px; }
.vx-ticketrow__subject { font-weight: 600; }
.vx-thread { display: flex; flex-direction: column; gap: 14px; }
.vx-msg { border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: 14px; max-width: 82%; background: color-mix(in srgb, var(--vx-panel) 94%, var(--vx-text) 6%); }
.vx-msg--mine { margin-left: auto; }
.vx-msg--staff { border-color: color-mix(in srgb, var(--vx-accent) 45%, var(--vx-line)); }
.vx-msg__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.vx-msg__author { font-weight: 600; }
.vx-msg__meta time { color: var(--vx-muted); font-family: var(--vx-mono); font-size: 12px; }
.vx-msg__body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.vx-msg__image { display: inline-block; margin-top: 10px; }
.vx-msg__image img { max-width: min(380px, 100%); border-radius: 10px; border: 1px solid var(--vx-line); display: block; }
.vx-upload { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px; border: 1px dashed var(--vx-line); border-radius: var(--vx-radius); color: var(--vx-muted); text-align: center; transition: border-color .18s var(--vx-ease), background .18s var(--vx-ease); }
.vx-upload.is-over { border-color: var(--vx-accent); background: color-mix(in srgb, var(--vx-panel) 88%, var(--vx-accent) 12%); }
.vx-upload small { font-size: 11.5px; }
.vx-upload__preview { margin-top: 10px; }
.vx-upload__preview img { max-width: 220px; border-radius: 10px; border: 1px solid var(--vx-line); display: block; }
.vx-link { background: none; border: 0; padding: 0; color: var(--vx-accent); cursor: pointer; font: inherit; text-decoration: underline; }

@media (max-width: 980px) {
  .vx-shell { grid-template-columns: 1fr; }
  .vx-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--vx-line); }
  .vx-player { grid-template-columns: 1fr; }
}

/* Panel header: keep controls aligned and allow search to shrink on small screens. */
.vx-panel-topbar { justify-content: space-between; padding-block: 12px; }
.vx-panel-topbar .vx-search { min-width: 0; max-width: 560px; margin: 0; }
.vx-panel-topbar .vx-search .vx-input { min-width: 0; }
.vx-topbar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.vx-topbar__actions > .vx-badge { min-height: 32px; padding-inline: 12px; }
.vx-topbar__account { max-width: 180px; }
.vx-topbar__account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 680px) {
  .vx-panel-topbar { flex-wrap: wrap; gap: 12px; padding-inline: 16px; }
  .vx-panel-topbar .vx-search { flex-basis: 100%; max-width: none; }
  .vx-topbar__actions { width: 100%; flex-wrap: wrap; }
  .vx-topbar__actions > .vx-badge--live { margin-right: auto; }
  .vx-topbar__account { max-width: 140px; }
}

.vx-ban-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
.vx-ban-heading .vx-card__title { line-height: 1.5; }
.vx-ban-heading__server { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-family: var(--vx-mono); }
.vx-unban-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.vx-unban-action .vx-kpi__hint { font-size: 12px; color: var(--vx-muted); }
.vx-btn:disabled { opacity: .5; cursor: not-allowed; }
.vx-btn:disabled:hover, .vx-btn:disabled:active { transform: none; box-shadow: none; }

.vx-ban-record { padding: 16px 0; border-bottom: 1px solid var(--vx-line-soft); }
.vx-ban-record:last-child { padding-bottom: 0; border-bottom: 0; }
.vx-ban-record__summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.vx-ban-record__reason { min-width: 0; flex: 1 1 180px; color: var(--vx-copy); font-size: 13px; overflow-wrap: anywhere; }
.vx-ban-record__time { margin-left: auto; color: var(--vx-muted); font-size: 12px; }
@media (max-width: 600px) {
  .vx-ban-record__reason { flex-basis: calc(100% - 140px); }
  .vx-ban-record__time { flex-basis: 100%; margin-left: 0; }
}

.vx-totp-form { display: flex; flex-direction: column; gap: 14px; }
.vx-totp-form button { align-self: flex-start; }
.vx-totp-secret { display: block; margin: 14px 0; padding: 12px; background: var(--vx-panel-2); border: 1px solid var(--vx-line); border-radius: 8px; overflow-wrap: anywhere; white-space: pre-wrap; user-select: all; }
.vx-totp-form[hidden] { display: none; }
