/* Medicated TV Platform — Legals dialog + standalone page (v1.9.0)
 * Module owner: legals agent. Only this module edits this file.
 * Class prefix: mtvl- (BUILD-BRIEF §3.4). Scoped under .mtvl-* everywhere —
 * the theme CSS is hostile (lots of !important on button/h2/etc.), so every
 * property this module relies on is set explicitly here.
 *
 * Fallback tokens: the no-JS standalone page (/?mtv_legals=1, inc/legals.php)
 * loads ONLY this file — not assets/tokens.css — so the handful of colours
 * used below are also defined here, copied verbatim from tokens.css. On a
 * normal page tokens.css loads first and these are simply redundant
 * (identical values, harmless); on the standalone page they're what makes
 * it render correctly at all.
 *
 * v2.1 (4 Oct 2026, helper L): neon-space panel (glow rim, gradient bar), the
 * identity card (.mtvl-id), "The short version" (.mtvl-short), jump chips
 * (.mtvl-jump), sub-headings (.mtvl-h), the who-we-share-with table (.mtvl-tbl,
 * stacked cards under 560px), "Open all" (.mtvl-all), phone sizes and print.
 */
:root {
  /* Hardcoded fallbacks (suffixed -fb so nothing below is self-referential —
   * `--x: var(--y, var(--x))` is a cycle and resolves to nothing in CSS).
   * Copied verbatim from assets/tokens.css. */
  --mtvl-void-fb: #05030d;
  --mtvl-purple-fb: #b026ff;
  --mtvl-magenta-fb: #ff2bd6;
  --mtvl-cyan-fb: #22e6ff;
  --mtvl-gold-fb: #f5c542;
  --mtvl-danger-fb: #ff5c7a;
  --mtvl-text-fb: #f4f2ff;
  --mtvl-muted-fb: #b9b4d6;
  --mtvl-dim-fb: #8a85a8;
  --mtvl-card-fb: rgba(16, 10, 34, 0.94);
  --mtvl-line-fb: rgba(255, 255, 255, 0.14);
  --mtvl-radius-fb: 14px;
  --mtvl-radius-sm-fb: 9px;
  --mtvl-font-body-fb: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mtvl-font-head-fb: Oswald, Inter, system-ui, sans-serif;
  --mtvl-z-modal-fb: 9500;

  /* Real values used everywhere below: the shared token when tokens.css has
   * loaded (normal site pages), else the fallback above (standalone page). */
  --mtvl-void: var(--mtv-void, var(--mtvl-void-fb));
  --mtvl-purple: var(--mtv-purple, var(--mtvl-purple-fb));
  --mtvl-magenta: var(--mtv-magenta, var(--mtvl-magenta-fb));
  --mtvl-cyan: var(--mtv-cyan, var(--mtvl-cyan-fb));
  --mtvl-gold: var(--mtv-gold, var(--mtvl-gold-fb));
  --mtvl-danger: var(--mtv-danger, var(--mtvl-danger-fb));
  --mtvl-text: var(--mtv-text, var(--mtvl-text-fb));
  --mtvl-muted: var(--mtv-muted, var(--mtvl-muted-fb));
  --mtvl-dim: var(--mtv-dim, var(--mtvl-dim-fb));
  --mtvl-card: var(--mtv-card-solid, var(--mtvl-card-fb));
  --mtvl-line: var(--mtv-line, var(--mtvl-line-fb));
  --mtvl-radius: var(--mtv-radius, var(--mtvl-radius-fb));
  --mtvl-radius-sm: var(--mtv-radius-sm, var(--mtvl-radius-sm-fb));
  --mtvl-font-body: var(--mtv-font-body, var(--mtvl-font-body-fb));
  --mtvl-font-head: var(--mtv-font-head, var(--mtvl-font-head-fb));
  --mtvl-z-modal: var(--mtv-z-modal, var(--mtvl-z-modal-fb));
}

/* ---------------------------------------------------------------- overlay */
.mtvl-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--mtvl-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(3, 1, 10, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.18s ease;
  box-sizing: border-box;
}
.mtvl-overlay[hidden] { display: none; }
.mtvl-overlay.mtvl-in { opacity: 1; }
html.mtvl-open { overflow: hidden; }

.mtvl-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: min(88vh, 860px);
  display: flex;
  flex-direction: column;
  /* v2.1 (helper L): neon-space glass — deep gradient, glow rim, soft inner light */
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(176, 38, 255, 0.22), transparent 55%),
    radial-gradient(90% 50% at 100% 0%, rgba(34, 230, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(22, 12, 46, 0.98), rgba(9, 5, 22, 0.98));
  border: 1px solid rgba(176, 38, 255, 0.38);
  border-radius: 18px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 42px rgba(176, 38, 255, 0.28),
    0 0 90px rgba(255, 43, 214, 0.10);
  color: var(--mtvl-text);
  font-family: var(--mtvl-font-body);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
  outline: none;
  overflow: hidden;
}
.mtvl-panel::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mtvl-cyan), var(--mtvl-purple) 45%, var(--mtvl-magenta));
  box-shadow: 0 0 14px rgba(176, 38, 255, 0.8);
  pointer-events: none;
}
.mtvl-overlay.mtvl-in .mtvl-panel { transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .mtvl-overlay, .mtvl-panel { transition: none; }
}

.mtvl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 14px 20px;
  border-bottom: 1px solid rgba(176, 38, 255, 0.28);
  background: linear-gradient(180deg, rgba(176, 38, 255, 0.10), rgba(176, 38, 255, 0));
  flex: 0 0 auto;
}
.mtvl-head__txt { min-width: 0; flex: 1 1 auto; }
.mtvl-head__sub {
  margin: 3px 0 0;
  font-family: var(--mtvl-font-head);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mtvl-cyan);
  text-shadow: 0 0 10px rgba(34, 230, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mtvl-all {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 230, 255, 0.45);
  background: rgba(34, 230, 255, 0.08);
  color: var(--mtvl-text);
  font: 600 12px/1 var(--mtvl-font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.mtvl-all:hover { background: rgba(34, 230, 255, 0.16); box-shadow: 0 0 14px rgba(34, 230, 255, 0.35); }
.mtvl-all:focus-visible { outline: 2px solid var(--mtvl-cyan); outline-offset: 2px; }
.mtvl-all[aria-pressed="true"] { border-color: rgba(255, 43, 214, 0.55); background: rgba(255, 43, 214, 0.12); }
.mtvl-panel h2.mtvl-title, h2.mtvl-title {
  font-family: var(--mtv-font-head, Oswald, Inter, sans-serif) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 0 18px rgba(176, 38, 255, 0.65), 0 0 2px rgba(255, 255, 255, 0.35) !important;
  letter-spacing: .06em !important;
  text-transform: uppercase;
  line-height: 1.05 !important;
}
.mtvl-title {
  margin: 0;
  font-family: var(--mtvl-font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 22px;
  color: #fff;
}
.mtvl-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border: 1px solid var(--mtvl-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mtvl-text);
  cursor: pointer;
}
.mtvl-close:hover { background: rgba(255, 255, 255, 0.1); }
.mtvl-close:focus-visible { outline: 2px solid var(--mtvl-cyan); outline-offset: 2px; }

.mtvl-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 18px 24px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 38, 255, 0.55) transparent;
}
.mtvl-scroll::-webkit-scrollbar { width: 8px; }
.mtvl-scroll::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--mtvl-purple), var(--mtvl-magenta)); border-radius: 8px; }
.mtvl-root { min-width: 0; }

/* ------------------------------------------------------------ body / copy */
.mtvl-content, .mtvl-shortcode { font-family: var(--mtvl-font-body); color: var(--mtvl-text); }
.mtvl-lede {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mtvl-muted);
}
.mtvl-updated-top {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--mtvl-dim);
  font-family: var(--mtvl-font-head);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mtvl-section {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  margin: 0 0 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(14, 8, 32, 0.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 22px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  scroll-margin-top: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.mtvl-section:hover { border-color: rgba(176, 38, 255, 0.4); }
.mtvl-section[open] {
  border-color: rgba(176, 38, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 0 1px rgba(176, 38, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 26px rgba(176, 38, 255, 0.16);
}
.mtvl-summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  font-family: var(--mtvl-font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--mtvl-text);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.mtvl-section[open] > .mtvl-summary {
  background: linear-gradient(90deg, rgba(176, 38, 255, 0.20), rgba(176, 38, 255, 0.02) 70%);
  color: #fff;
}
.mtvl-summary::-webkit-details-marker { display: none; }
.mtvl-summary::marker { content: ''; }
.mtvl-summary::before {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--mtvl-cyan);
  border-bottom: 2px solid var(--mtvl-cyan);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.mtvl-section[open] > .mtvl-summary::before { transform: rotate(45deg); }
.mtvl-summary:focus-visible { outline: 2px solid var(--mtvl-cyan); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .mtvl-summary::before { transition: none; }
}

.mtvl-body { padding: 12px 16px 16px; font-size: 14px; line-height: 1.62; color: #e4e0f7; overflow-wrap: anywhere; }
.mtvl-body p { margin: 0 0 12px; }
.mtvl-body ul { margin: 0 0 12px; padding-left: 20px; }
.mtvl-body li { margin: 0 0 7px; }
.mtvl-body li::marker { color: var(--mtvl-cyan); }
.mtvl-body strong { color: #fff; }
.mtvl-content a { color: var(--mtvl-cyan); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(34, 230, 255, 0.45); }
.mtvl-content a:hover { color: #fff; text-decoration-color: var(--mtvl-magenta); }
.mtvl-content a:focus-visible { outline: 2px solid var(--mtvl-cyan); outline-offset: 2px; border-radius: 3px; }
/* the theme shrinks <em>/<i> — keep menu paths ("Profile → Manage billing") the same size as the sentence */
.mtvl-content em, .mtvl-content i { font-size: inherit !important; font-family: inherit !important; letter-spacing: inherit !important; text-transform: none !important; font-style: italic; color: #fff; }

/* ---------------------------------------------- v2.1 (helper L): new blocks */
/* who runs it — identity card */
.mtvl-id {
  position: relative;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 230, 255, 0.35);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(34, 230, 255, 0.14), transparent 55%),
    linear-gradient(135deg, rgba(34, 230, 255, 0.08), rgba(176, 38, 255, 0.10));
  box-shadow: 0 0 22px rgba(34, 230, 255, 0.12), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.mtvl-id__name {
  margin: 0 0 10px !important;
  font-family: var(--mtvl-font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.35;
}
.mtvl-id__abn { color: var(--mtvl-cyan); font-weight: 600; white-space: nowrap; }
.mtvl-id__list { margin: 0; display: grid; gap: 6px; }
.mtvl-id__list > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.mtvl-id__list dt {
  font-family: var(--mtvl-font-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mtvl-dim);
}
.mtvl-id__list dd { margin: 0; font-size: 13.5px; color: var(--mtvl-text); overflow-wrap: anywhere; }

/* the short version */
.mtvl-short {
  margin: 0 0 14px;
  padding: 14px 16px 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 43, 214, 0.38);
  border-left: 3px solid var(--mtvl-magenta);
  background: linear-gradient(135deg, rgba(255, 43, 214, 0.12), rgba(176, 38, 255, 0.08) 60%, rgba(14, 8, 32, 0.4));
  box-shadow: 0 0 24px rgba(255, 43, 214, 0.12);
}
.mtvl-short__k {
  margin: 0 0 8px !important;
  font-family: var(--mtvl-font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8cec;
  text-shadow: 0 0 10px rgba(255, 43, 214, 0.55);
}
.mtvl-short ul { margin: 0 0 8px; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: #ece8ff; }
.mtvl-short li { margin: 0 0 7px; }
.mtvl-short li::marker { color: var(--mtvl-magenta); }
.mtvl-short strong { color: #fff; }

/* jump chips */
.mtvl-jump { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.mtvl-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(176, 38, 255, 0.45);
  background: linear-gradient(180deg, rgba(176, 38, 255, 0.20), rgba(176, 38, 255, 0.08));
  color: #fff !important;
  font: 600 12.5px/1 var(--mtvl-font-body);
  text-decoration: none !important;
  white-space: nowrap;
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.mtvl-jump a:hover { border-color: var(--mtvl-cyan); box-shadow: 0 0 14px rgba(34, 230, 255, 0.35); background: rgba(34, 230, 255, 0.12); }

/* sub-headings inside a section */
.mtvl-body .mtvl-h {
  margin: 18px 0 8px !important;
  padding: 0 0 0 10px !important;
  border-left: 3px solid var(--mtvl-cyan) !important;
  font-family: var(--mtvl-font-head) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  color: #fff !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  background: none !important;
}
.mtvl-body .mtvl-h:first-child { margin-top: 4px !important; }

/* who we share with — a real table on wide screens, stacked cards on phones */
.mtvl-tbl { width: 100%; border-collapse: separate; border-spacing: 0; margin: 4px 0 12px; font-size: 13px; line-height: 1.45; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 10px; overflow: hidden; }
.mtvl-tbl th, .mtvl-tbl td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.07); overflow-wrap: anywhere; }
.mtvl-tbl thead th { background: rgba(176, 38, 255, 0.22); color: #fff; font-family: var(--mtvl-font-head); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mtvl-tbl tbody th { color: #fff; font-weight: 600; width: 30%; }
.mtvl-tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.mtvl-tbl tbody tr:last-child th, .mtvl-tbl tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .mtvl-tbl, .mtvl-tbl tbody, .mtvl-tbl tr, .mtvl-tbl th, .mtvl-tbl td { display: block; width: auto; }
  .mtvl-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mtvl-tbl { border: 0; overflow: visible; }
  .mtvl-tbl tbody tr { margin: 0 0 8px; padding: 9px 11px; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
  .mtvl-tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.03); }
  .mtvl-tbl tbody th { width: auto; padding: 0 0 4px; border: 0; font-size: 13.5px; color: var(--mtvl-cyan); }
  .mtvl-tbl td { padding: 2px 0; border: 0; }
  .mtvl-tbl td::before { content: attr(data-label) ': '; color: var(--mtvl-dim); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; }
}

.mtvl-note {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--mtvl-muted);
}
.mtvl-sign, .mtvl-foot {
  font-family: var(--mtvl-font-head);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mtvl-dim);
}
.mtvl-foot { margin: 16px 0 0 !important; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); line-height: 1.6; text-align: center; }
.mtvl-content a.mtvl-cta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 4px 0;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mtvl-gold), #ffd977);
  color: #1a0f00 !important;
  font: 700 12.5px/1 var(--mtvl-font-body);
  text-decoration: none;
  box-shadow: 0 0 16px rgba(245, 197, 66, 0.35);
}
.mtvl-content a.mtvl-cta:hover { color: #1a0f00 !important; box-shadow: 0 0 22px rgba(245, 197, 66, 0.6); }

.mtvl-oneline {
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.18), rgba(176, 38, 255, 0.06));
  border: 1px solid rgba(176, 38, 255, 0.38);
  border-left: 3px solid var(--mtvl-purple);
  border-radius: var(--mtvl-radius-sm);
  padding: 10px 12px;
  margin: 0 0 14px !important;
  font-size: 13.5px;
  box-shadow: 0 0 18px rgba(176, 38, 255, 0.10);
}

.mtvl-sources-label {
  font-family: var(--mtvl-font-head);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mtvl-dim);
  margin: 4px 0 8px !important;
}
.mtvl-sources { padding-left: 18px; }
.mtvl-sources li { font-size: 12.5px; color: var(--mtvl-muted); }

.mtvl-flag {
  display: inline-block;
  font-family: var(--mtvl-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--mtvl-void);
  background: var(--mtvl-gold);
  border-radius: 999px;
  padding: 3px 8px;
  vertical-align: middle;
  white-space: nowrap;
}
.mtvl-decision {
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.4);
  border-radius: var(--mtvl-radius-sm);
  padding: 10px 12px;
  margin: 0 0 12px !important;
}
.mtvl-option {
  border: 1px dashed var(--mtvl-line);
  border-radius: var(--mtvl-radius-sm);
  padding: 10px 12px;
  margin: 0 0 10px;
}
.mtvl-option-label {
  margin: 0 0 6px !important;
  font-family: var(--mtvl-font-head);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mtvl-gold);
}
.mtvl-option p:last-child { margin-bottom: 0 !important; font-style: italic; color: var(--mtvl-muted); }

.mtvl-loading, .mtvl-error { color: var(--mtvl-muted); font-size: 13.5px; }
.mtvl-error a { color: var(--mtvl-cyan); }
.mtvl-retry {
  background: none;
  border: none;
  color: var(--mtvl-cyan);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* touch targets */
@media (pointer: coarse) {
  .mtvl-summary { min-height: 44px; }
}

/* phones */
@media (max-width: 560px) {
  .mtvl-overlay { padding: 10px; }
  .mtvl-panel { max-height: 92vh; max-height: 92dvh; border-radius: 16px; }
  .mtvl-head { padding: 14px 12px 12px 16px; }
  .mtvl-scroll { padding: 14px 12px 20px; }
  .mtvl-body { padding: 10px 13px 14px; font-size: 13.75px; }
  .mtvl-summary { padding: 12px 13px; font-size: 14.5px; }
  .mtvl-all { padding: 0 11px; font-size: 11px; }
  .mtvl-jump a { padding: 0 10px; font-size: 12px; }
}
/* narrow phones */
@media (max-width: 380px) {
  .mtvl-overlay { padding: 6px; }
  .mtvl-title { font-size: 19px; }
  .mtvl-head__sub { font-size: 10.5px; letter-spacing: 0.1em; }
  .mtvl-id__list > div { grid-template-columns: 44px minmax(0, 1fr); }
}

/* ----------------------------------------------------- standalone no-JS page */
body.mtvl-standalone {
  margin: 0;
  min-height: 100vh;
  background: var(--mtvl-void);
  background-image:
    radial-gradient(120% 80% at 10% 0%, rgba(176, 38, 255, 0.28), transparent 60%),
    radial-gradient(90% 70% at 100% 30%, rgba(255, 43, 214, 0.16), transparent 60%);
  color: var(--mtvl-text);
  font-family: var(--mtvl-font-body);
}
.mtvl-standalone-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 18px 60px;
  box-sizing: border-box;
}
.mtvl-standalone-title {
  font-family: var(--mtvl-font-head);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: #fff;
  text-shadow: 0 0 22px rgba(176, 38, 255, 0.7);
}
.mtvl-standalone-k {
  margin: 0 0 6px;
  font-family: var(--mtvl-font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--mtvl-magenta);
  text-shadow: 0 0 12px rgba(255, 43, 214, 0.6);
}
.mtvl-standalone-sub {
  margin: 0 0 12px;
  font-family: var(--mtvl-font-head);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mtvl-cyan);
}
.mtvl-standalone-page::before {
  content: '';
  display: block;
  height: 3px;
  margin: 0 0 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mtvl-cyan), var(--mtvl-purple) 45%, var(--mtvl-magenta));
  box-shadow: 0 0 14px rgba(176, 38, 255, 0.8);
}
.mtvl-standalone-back { margin-top: 18px; }
.mtvl-standalone-back a { color: var(--mtvl-cyan); }
@media (max-width: 560px) {
  .mtvl-standalone-page { padding: 22px 14px 48px; }
  .mtvl-standalone-title { font-size: 28px; }
}
/* print: plain, readable, every section open */
@media print {
  body.mtvl-standalone { background: #fff !important; color: #000 !important; }
  .mtvl-standalone-page::before, .mtvl-jump, .mtvl-standalone-back { display: none !important; }
  .mtvl-section, .mtvl-id, .mtvl-short, .mtvl-oneline, .mtvl-note, .mtvl-tbl { background: none !important; box-shadow: none !important; border-color: #999 !important; }
  .mtvl-standalone *, .mtvl-standalone a { color: #000 !important; text-shadow: none !important; }
}
/* No JS at all: every section stays reachable and openable — <details> is
 * native, so this page needs nothing further to be usable. */
