:root {
  --ml-bg: #f6f5f2;
  --ml-paper: #ffffff;
  --ml-ink: #242522;
  --ml-muted: #696d68;
  --ml-line: #e5e5df;
  --ml-accent: #bd4d26;
  --ml-on-accent: #fff;
  --ml-accent-bg: #fbede5;
  --ml-conclusion: #f5f4f0;
  --ml-chip-bg: #fafaf8;
  --ml-wrong: #b91c1c;
  --ml-wrong-bg: #fbecee;
  --ml-over: #c2410c;
  --ml-over-bg: #fff0e4;
  --ml-under: #1d4edb;
  --ml-under-bg: #eaf1fc;
  --ml-outdated: #6b21a8;
  --ml-outdated-bg: #f1eafb;
  --ml-green: #27724d;
  --ml-radius: 14px;
}

[data-theme="dark"] {
  --ml-bg: #171816;
  --ml-paper: #20221f;
  --ml-ink: #ecece6;
  --ml-muted: #a1a59d;
  --ml-line: #323530;
  --ml-accent: #e06b42;
  --ml-on-accent: #171816;
  --ml-accent-bg: #3b241c;
  --ml-conclusion: #292b26;
  --ml-chip-bg: #272924;
  --ml-wrong: #f87171;
  --ml-wrong-bg: #3b1c1f;
  --ml-over: #fb923c;
  --ml-over-bg: #3a2417;
  --ml-under: #60a5fa;
  --ml-under-bg: #1a2a42;
  --ml-outdated: #c084fc;
  --ml-outdated-bg: #2e1f3d;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ml-bg);
  color: var(--ml-ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ml-accent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ml-accent); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
p + p { margin-top: 10px; }

.ml-muted { color: var(--ml-muted); }
.ml-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--ml-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ml-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.ml-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ml-paper);
  border-bottom: 1px solid var(--ml-line);
}
.ml-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 12px;
}
.ml-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ml-ink);
}
.ml-brand-text { display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; }
.ml-brand-text b { font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.075em; white-space: nowrap; }
.ml-brand-text small { font-size: 13px; color: var(--ml-muted); white-space: nowrap; }

.ml-nav { display: flex; gap: 4px; }
.ml-nav a {
  text-decoration: none;
  color: var(--ml-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 14px;
  white-space: nowrap;
}
.ml-nav a:hover, .ml-nav a.is-active {
  color: var(--ml-accent);
  font-weight: 600;
}

.ml-header-actions { display: flex; align-items: center; gap: 8px; }
.ml-mini-search input {
  border: 1px solid var(--ml-line);
  background: var(--ml-paper);
  border-radius: 9px;
  padding: 6px 12px;
  font-size: 13px;
  width: 190px;
}
.ml-me-link {
  text-decoration: none;
  color: var(--ml-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--ml-line);
  white-space: nowrap;
}
.ml-me-link:hover, .ml-me-link.is-active {
  color: var(--ml-accent);
  background: var(--ml-accent-bg);
  border-color: transparent;
  font-weight: 600;
}
.ml-icon-btn {
  border: 1px solid var(--ml-line);
  background: var(--ml-paper);
  border-radius: 9px;
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
}
.ml-mobile-search { display: none; }

.ml-main { padding-top: 28px; padding-bottom: 64px; }
.ml-main-embed { padding: 18px 16px 40px; max-width: 780px; margin: 0 auto; }
.ml-embed { background: var(--ml-paper); }

.ml-lead { margin-top: 12px; font-size: 17px; color: var(--ml-muted); max-width: 720px; }

.ml-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.ml-tab {
  white-space: nowrap;
  text-decoration: none;
  font-size: 14px;
  color: var(--ml-muted);
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  padding: 7px 14px;
  border-radius: 999px;
}
.ml-tab.is-active {
  background: var(--ml-ink);
  color: var(--ml-paper);
  border-color: var(--ml-ink);
  font-weight: 600;
}

.ml-home-domains {
  gap: 24px;
  margin-bottom: 22px;
  padding: 0 4px;
  border-bottom: 1px solid var(--ml-line);
}
.ml-mobile-only-domains { display: none; }
.ml-home-domains .ml-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 9px 0;
  background: transparent;
}
.ml-home-domains .ml-tab.is-active { border-color: var(--ml-accent); color: var(--ml-ink); }
.ml-feed-col { min-width: 0; }
.ml-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ml-line);
  padding: 0 0 10px;
}
.ml-feed-head h1 { font-size: 23px; line-height: 1.25; }
.ml-feed-kicker { font-size: 13px; }
.ml-feed-sort { display: flex; gap: 16px; font-size: 13px; }
.ml-feed-sort a { padding: 8px 0; color: var(--ml-muted); text-decoration: none; }
.ml-feed-kicker, .ml-feed-sort a[aria-current] { color: var(--ml-ink); font-weight: 700; }
.ml-feed-col .ml-card:first-child .ml-card-title { font-size: clamp(22px, 2.8vw, 28px); }
.ml-verdict-menu { position: relative; font-size: 13px; }
.ml-verdict-menu summary {
  color: var(--ml-muted);
  cursor: pointer;
  padding: 8px 4px;
}
.ml-verdict-filter {
  position: absolute;
  right: 0;
  z-index: 5;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--ml-line);
  border-radius: 8px;
  background: var(--ml-paper);
  box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
}
.ml-verdict-filter > a {
  display: block;
  border-radius: 5px;
  padding: 7px 10px;
  color: var(--ml-ink);
  text-decoration: none;
}
.ml-verdict-filter a:hover, .ml-verdict-filter a[aria-current] { background: var(--ml-conclusion); }
.ml-verdict-filter a[aria-current] { font-weight: 700; }

.ml-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 4px 9px;
  white-space: nowrap;
}
.ml-tag-wrong { color: var(--ml-wrong); background: var(--ml-wrong-bg); }
.ml-tag-over { color: var(--ml-over); background: var(--ml-over-bg); }
.ml-tag-under { color: var(--ml-under); background: var(--ml-under-bg); }
.ml-tag-outdated { color: var(--ml-outdated); background: var(--ml-outdated-bg); }

.ml-layout-cols {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(230px, 1fr);
  gap: 32px;
  align-items: start;
}

.ml-card-list, .ml-layout-cols > .ml-feed-col {
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  padding-inline: clamp(16px, 2.5vw, 26px);
}
.ml-layout-cols > .ml-feed-col { padding-block: 14px; }
.ml-feed-col .ml-card-list { padding: 0; border: 0; border-radius: 0; }
.ml-card { padding: 18px 0; }
.ml-card + .ml-card { border-top: 1px solid var(--ml-line); }
.ml-card { position: relative; }
.ml-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ml-muted);
  margin-bottom: 10px;
}
.ml-claim-label { font-size: 11px; color: var(--ml-muted); font-weight: 600; letter-spacing: 0.05em; }
.ml-card-title { font-size: clamp(19px, 2.4vw, 25px); line-height: 1.4; margin: 3px 0 8px; letter-spacing: -.025em; }
.ml-card-title a { color: var(--ml-ink); text-decoration: none; }
.ml-card-title a:hover { color: var(--ml-accent); }
.ml-card-title a::after { position: absolute; content: ""; inset: 0; }
.ml-card-foot a, .ml-card-foot button { position: relative; }
.ml-claim-cover { margin: 0 0 10px; }
.ml-claim-cover img {
  display: block;
  width: 100%;
  height: clamp(104px, 20vw, 220px);
  object-fit: cover;
  object-position: center 28%;
  border-radius: 9px;
  background: var(--ml-conclusion);
}
.ml-claim-cover figcaption { margin-top: 4px; color: var(--ml-muted); font-size: 12px; }
.ml-card .ml-claim-cover img { height: clamp(106px, 17vw, 205px); }
.ml-detail-context .ml-claim-cover { margin-bottom: 16px; }
.ml-card-preview, .ml-preview-actions { max-width: 760px; margin-inline: auto; }
.ml-preview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
}
.ml-preview-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.ml-fact {
  border-left: 3px solid var(--ml-accent);
  padding-left: 11px;
  font-size: 15px;
  font-weight: 600;
  margin: 9px 0 11px;
}
.ml-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ml-chip {
  font-size: 12px;
  border: 1px solid var(--ml-line);
  border-radius: 5px;
  padding: 2px 8px;
  color: var(--ml-muted);
  background: var(--ml-chip-bg);
  text-decoration: none;
}
.ml-chip.is-active { background: var(--ml-accent-bg); color: var(--ml-accent); border-color: var(--ml-accent); }
.ml-highlight-pill {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--ml-accent) 28%, transparent);
  border-radius: 5px;
  padding: 2px 8px;
  color: var(--ml-accent);
  background: var(--ml-accent-bg);
}
.ml-prevalence-line { margin-top: 10px; font-size: 12px; color: var(--ml-muted); }

.ml-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
}
.ml-read-more { text-decoration: none; font-weight: 600; }
.ml-bookmark-btn, .ml-quiet-btn {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 13px;
  min-height: 40px;
  color: var(--ml-muted);
}
.ml-bookmark-btn:hover, .ml-quiet-btn:hover { color: var(--ml-accent); }
.ml-bookmark-btn.is-saved {
  border-color: var(--ml-accent);
  color: var(--ml-accent);
  background: var(--ml-accent-bg);
}

.ml-side-col { display: grid; gap: 16px; border-left: 1px solid var(--ml-line); padding-left: 22px; }
.ml-side-box {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--ml-line);
}
.ml-side-box:last-child { border-bottom: 0; padding-bottom: 4px; }
.ml-side-col .ml-side-quiz {
  padding: 14px 16px;
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  background: var(--ml-paper);
}
.ml-side-quiz .ml-side-head { margin-bottom: 10px; }
.ml-side-quiz h2 { font-size: 14px; color: var(--ml-ink); }
.ml-side-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--ml-muted);
}
.ml-side-box h4 { margin-bottom: 8px; font-size: 16px; line-height: 1.45; }
.ml-side-box p { font-size: 13px; color: var(--ml-muted); margin-bottom: 12px; }
.ml-side-box .ml-quiz-opt { padding: 9px 11px; font-size: 13px; min-height: 38px; }
.ml-side-box .ml-quiz-result { margin-top: 10px; padding: 11px 12px; font-size: 13px; }
.ml-side-box .ml-quiz-result .ml-btn { margin-top: 8px; min-height: 34px; padding: 6px 12px; font-size: 12px; }
.ml-side-domains { list-style: none; padding: 0; margin: 0; }
.ml-side-domains li a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--ml-line);
  text-decoration: none;
  color: var(--ml-ink);
  font-size: 14px;
}
.ml-side-domains li:last-child a { border-bottom: 0; }

.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--ml-line);
  background: var(--ml-paper);
  color: var(--ml-ink);
  border-radius: 9px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  min-height: 40px;
}
.ml-btn-primary {
  background: var(--ml-accent);
  border-color: var(--ml-accent);
  color: var(--ml-on-accent);
}

.ml-detail {
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  padding: clamp(16px, 3.8vw, 38px);
  max-width: 760px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}
.ml-embed .ml-detail { border: 0; padding: 0; }
.ml-preview-banner {
  background: var(--ml-over-bg);
  color: var(--ml-over);
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.ml-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
  border-bottom: 1px solid var(--ml-line);
  padding-bottom: 5px;
  font-size: 13px;
  color: var(--ml-muted);
  margin: 8px 0 15px;
}
.ml-detail-meta a { color: inherit; }
.ml-read-meta { color: var(--ml-muted); font-size: 12px; }
.ml-detail-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ml-detail-title { font-size: clamp(24px, 4vw, 36px); line-height: 1.32; margin: 8px 0 16px; letter-spacing: -.025em; }
.ml-detail-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.ml-detail-actions svg { display: none; }
.ml-sec { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ml-line); }
.ml-sec-title { font-size: 20px; line-height: 1.4; margin-bottom: 14px; letter-spacing: -.015em; }
.ml-sec-prose { font-size: 16.5px; line-height: 1.86; }
.ml-correct-box {
  background: var(--ml-conclusion);
  border-left: 4px solid var(--ml-accent);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}
.ml-correct-box h2 { font-size: 13px; letter-spacing: 0.08em; color: var(--ml-accent); font-weight: 700; margin-bottom: 8px; }
.ml-fact-big { font-size: 18px; font-weight: 700; line-height: 1.55; color: var(--ml-ink); }
.ml-correct-prose {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ml-line);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ml-ink);
}
.ml-correct-prose p + p { margin-top: 12px; }
.ml-explanation, .ml-cause-chips { margin-bottom: 14px; }
.ml-lead-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ml-muted);
  margin-bottom: 18px;
}
.ml-prose-item { margin-top: 22px; }
.ml-prose-item:first-child { margin-top: 0; }
.ml-prose-heading {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  padding-left: 11px;
  border-left: 3px solid var(--ml-accent);
  color: var(--ml-ink);
}
.ml-prose-body p { margin: 0; color: var(--ml-ink); }
.ml-prose-body p + p { margin-top: 13px; }
.ml-block-title { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.ml-reason, .ml-case {
  border-top: 1px solid var(--ml-line);
  padding-top: 12px;
  margin-top: 12px;
}
.ml-reason h4, .ml-case h4 { margin-bottom: 6px; font-size: 16px; }
.ml-cite-ref { font-size: 12px; font-weight: 600; text-decoration: none; }
.ml-callout {
  border-left: 4px solid var(--ml-accent);
  background: var(--ml-accent-bg);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
}
.ml-callout b { display: block; margin-bottom: 6px; }
.ml-scope-box {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px dashed var(--ml-line);
  font-size: 15.5px;
  line-height: 1.8;
}
.ml-scope-box p + p { margin-top: 10px; }
.ml-scope-box small { display: block; margin-top: 10px; }

.ml-viz {
  border: 1px solid var(--ml-line);
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
}
.ml-viz-head { margin-bottom: 12px; }
.ml-viz-head h3 { font-size: 16px; }
.ml-stages { display: grid; list-style: none; overflow-x: auto; padding: 5px 0; margin: 12px 0 4px; }
.ml-stage { position: relative; text-align: center; font-size: 12px; color: var(--ml-muted); padding: 0 2px; }
.ml-stage::before {
  content: "";
  position: absolute;
  top: 6px;
  inset-inline: 0;
  height: 2px;
  background: var(--ml-line);
}
.ml-stage:first-child::before { inset-inline-start: 50%; }
.ml-stage:last-child::before { inset-inline-end: 50%; }
.ml-stage i {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ml-line);
  margin: 0 auto 6px;
}
.ml-stage.is-done { color: var(--ml-accent); font-weight: 600; }
.ml-stage.is-done i { background: var(--ml-accent); }
.ml-stage.is-current i { box-shadow: 0 0 0 4px var(--ml-accent-bg); }
.ml-stage small { display: block; font-size: 11px; }
.ml-viz-note { font-size: 14px; line-height: 1.75; color: var(--ml-muted); margin-top: 10px; }
.ml-viz-note p + p { margin-top: 8px; }

.ml-flow-lanes { display: grid; gap: 12px; margin-top: 10px; }
.ml-flow-lane {
  border: 1px solid var(--ml-line);
  border-radius: 10px;
  padding: 13px 15px;
  background: var(--ml-chip-bg);
}
.ml-flow-lane.is-wrong {
  border-color: color-mix(in srgb, var(--ml-wrong) 30%, var(--ml-line));
  background: color-mix(in srgb, var(--ml-wrong-bg) 55%, var(--ml-paper));
}
.ml-flow-lane.is-correct {
  border-color: color-mix(in srgb, var(--ml-green) 36%, var(--ml-line));
  background: color-mix(in srgb, var(--ml-green) 7%, var(--ml-paper));
}
.ml-flow-lane.is-info {
  border-color: color-mix(in srgb, var(--ml-under) 32%, var(--ml-line));
  background: color-mix(in srgb, var(--ml-under-bg) 55%, var(--ml-paper));
}
.ml-flow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ml-flow-badge span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}
.ml-flow-lane.is-wrong .ml-flow-badge { color: var(--ml-wrong); }
.ml-flow-lane.is-wrong .ml-flow-badge span { background: var(--ml-wrong); color: #fff; }
.ml-flow-lane.is-correct .ml-flow-badge { color: var(--ml-green); }
.ml-flow-lane.is-correct .ml-flow-badge span { background: var(--ml-green); color: #fff; }
.ml-flow-lane.is-info .ml-flow-badge { color: var(--ml-under); }
.ml-flow-lane.is-info .ml-flow-badge span { background: var(--ml-under); color: #fff; }
.ml-flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ml-flow-step {
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ml-ink);
}
.ml-flow-arrow {
  color: var(--ml-muted);
  font-weight: 700;
  font-size: 15px;
}
.ml-flow-note {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ml-muted);
}

.ml-inline-figure { margin: 16px 0; }
.ml-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--ml-conclusion);
}
.ml-inline-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ml-muted);
}

.ml-bar-group { margin: 12px 0; }
.ml-bar-label { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.ml-bar-row { display: grid; grid-template-columns: 72px 1fr 48px; gap: 8px; align-items: center; font-size: 12px; margin: 4px 0; }
.ml-track { height: 9px; background: var(--ml-line); border-radius: 5px; overflow: hidden; }
.ml-track i { display: block; height: 100%; border-radius: 5px; }

.ml-ring-wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ml-evidence-list { padding-left: 20px; }
.ml-evidence-list li { margin-bottom: 14px; font-size: 14px; line-height: 1.7; }
.ml-evidence-list li[id] { scroll-margin-top: 80px; }
.ml-ev-head { margin-bottom: 4px; }
.ml-ev-key { font-weight: 700; color: var(--ml-accent); margin-right: 4px; }
.ml-audit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--ml-muted);
  margin-bottom: 18px;
}

.ml-quiz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ml-quiz-card, .ml-inline-quiz {
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  padding: 20px;
}
.ml-quiz-options { display: grid; gap: 8px; margin-top: 12px; }
.ml-quiz-opt {
  text-align: left;
  border: 1px solid var(--ml-line);
  background: var(--ml-paper);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 44px;
}
.ml-quiz-opt:hover:not(:disabled) { border-color: var(--ml-accent); background: var(--ml-accent-bg); }
.ml-quiz-opt.is-correct { border-color: var(--ml-green); background: rgba(39, 114, 77, 0.12); font-weight: 600; }
.ml-quiz-opt.is-wrong { border-color: var(--ml-wrong); background: var(--ml-wrong-bg); }
.ml-quiz-result { margin-top: 14px; padding: 14px; border-radius: 10px; background: color-mix(in srgb, var(--ml-bg) 70%, var(--ml-paper)); font-size: 14px; }

.ml-matrix-footer {
  border-bottom: 1px solid var(--ml-line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.ml-matrix-label { font-size: 12px; color: var(--ml-muted); margin-bottom: 10px; }
.ml-matrix-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ml-matrix-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ml-line);
  background: var(--ml-paper);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
}
.ml-matrix-pill small { color: var(--ml-muted); font-size: 11px; }

.ml-matrix-end {
  margin-top: 22px;
  border: 1px solid var(--ml-line);
  border-radius: 12px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--ml-bg) 60%, var(--ml-paper));
}
.ml-matrix-end-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ml-muted); margin-bottom: 8px; }
.ml-dismiss-matrix { border: 0; background: none; color: var(--ml-muted); font-size: 12px; }
.ml-matrix-end-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }

.ml-correction-details { margin-top: 18px; border: 1px solid var(--ml-line); border-radius: 10px; padding: 12px 14px; }
.ml-correction-details summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.ml-correction-form { display: grid; gap: 10px; margin-top: 12px; }
.ml-correction-form textarea, .ml-correction-form input {
  width: 100%;
  border: 1px solid var(--ml-line);
  background: var(--ml-bg);
  border-radius: 8px;
  padding: 9px 11px;
}

.ml-submission-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.ml-field { display: grid; gap: 6px; }
.ml-field label { font-size: 14px; color: var(--ml-ink); }
.ml-req { color: var(--ml-wrong); }
.ml-submission-form input,
.ml-submission-form select,
.ml-submission-form textarea {
  width: 100%;
  border: 1px solid var(--ml-line);
  background: var(--ml-bg);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 15px;
}
.ml-submit-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.ml-form-msg { font-size: 14px; font-weight: 600; }
.ml-form-msg.is-ok { color: var(--ml-green); }
.ml-form-msg.is-err { color: var(--ml-wrong); }
.ml-submit-note { font-size: 13px; line-height: 1.7; }

.ml-history-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: start; }
.ml-history-item, .ml-diff-block {
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.ml-diff-old { background: var(--ml-wrong-bg); padding: 10px; border-radius: 8px; margin: 8px 0; font-size: 14px; }
.ml-diff-new { background: rgba(39, 114, 77, 0.1); padding: 10px; border-radius: 8px; font-size: 14px; }

.ml-me-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
.ml-me-panel {
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.ml-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.ml-link-btn { border: 0; background: none; color: var(--ml-accent); font-size: 13px; padding: 2px 0; }
.ml-me-sync-badge { font-size: 12px; font-weight: 600; color: var(--ml-green); }
.ml-me-account-guest { display: grid; gap: 10px; justify-items: start; }
.ml-me-account-guest p { font-size: 13.5px; line-height: 1.65; }
.ml-me-account-user { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ml-me-account-user p { font-size: 13px; margin-top: 2px; }
.ml-me-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ml-line);
}
.ml-me-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.ml-me-row-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ml-me-row-main a { color: var(--ml-ink); text-decoration: none; font-weight: 600; line-height: 1.5; }
.ml-me-row-main a:hover { color: var(--ml-accent); }
.ml-me-remove-btn { flex-shrink: 0; color: var(--ml-muted); font-size: 12.5px; }
.ml-me-remove-btn:hover { color: var(--ml-wrong); }
.ml-me-dismissed-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.ml-matrix-mine-card {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ml-line);
  background: var(--ml-bg);
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
}
.ml-matrix-mine-info { flex: 1; }
.ml-matrix-mine-info p { font-size: 12px; color: var(--ml-muted); margin-top: 3px; }

.ml-dialog { border: 0; border-radius: 16px; padding: 0; max-width: 400px; width: 92%; background: var(--ml-paper); color: var(--ml-ink); }
.ml-dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.ml-dialog-box { display: grid; gap: 12px; padding: 22px; }
.ml-dialog-box input { width: 100%; border: 1px solid var(--ml-line); background: var(--ml-bg); border-radius: 8px; padding: 10px; margin-top: 4px; }
.ml-code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }

.ml-search-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ml-search-form input { flex: 1; min-width: 200px; border: 1px solid var(--ml-line); background: var(--ml-paper); border-radius: 9px; padding: 9px 12px; }
.ml-search-form select { border: 1px solid var(--ml-line); background: var(--ml-paper); border-radius: 9px; padding: 9px 12px; }

.ml-page-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ml-line);
}
.ml-page-head h1 { font-size: clamp(24px, 3.6vw, 32px); line-height: 1.3; margin-bottom: 8px; }
.ml-page-head h1:only-child { margin-bottom: 0; }
.ml-page-head p { color: var(--ml-muted); max-width: 720px; }
.ml-page-head p + p { margin-top: 12px; }
.ml-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ml-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.ml-domain-card {
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  padding: 16px 18px;
}
.ml-domain-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.ml-domain-card-head h2 { font-size: 18px; }
.ml-domain-card-head h2 a { color: var(--ml-ink); text-decoration: none; }
.ml-domain-card-head h2 a:hover { color: var(--ml-accent); }
.ml-domain-card-head small { color: var(--ml-muted); font-size: 12px; }
.ml-domain-card p { font-size: 13px; margin-bottom: 10px; }
.ml-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 0 8px;
  font-size: 13px;
  color: var(--ml-muted);
}
.ml-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.ml-policy-grid .ml-side-box {
  border: 1px solid var(--ml-line);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--ml-chip-bg);
}
.ml-badge-current {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ml-green);
  background: color-mix(in srgb, var(--ml-green) 14%, transparent);
}

.ml-empty {
  text-align: center;
  background: var(--ml-paper);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  padding: 42px 20px;
}
.ml-tablewrap { overflow-x: auto; margin: 10px 0 0; }
.ml-tablewrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.65; }
.ml-tablewrap th, .ml-tablewrap td { border-bottom: 1px solid var(--ml-line); padding: 11px 13px; text-align: left; vertical-align: top; }
.ml-tablewrap tr:last-child td { border-bottom: 0; }
.ml-tablewrap th {
  background: var(--ml-conclusion);
  color: var(--ml-ink);
  font-weight: 700;
  font-size: 13.5px;
}
.ml-table-block.is-compare-3col th:nth-child(2) { color: var(--ml-accent); }
.ml-table-block.is-compare-3col th:nth-child(3) { color: var(--ml-green); }
.ml-tablewrap td.ml-col-dim {
  font-weight: 700;
  color: var(--ml-muted);
  white-space: nowrap;
  background: var(--ml-chip-bg);
}

.ml-footer { border-top: 1px solid var(--ml-line); padding: 28px 0 40px; font-size: 13px; color: var(--ml-muted); }
.ml-footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ml-footer-links { display: flex; gap: 16px; }
.ml-mobile-tabbar { display: none; }
.ml-toast {
  position: fixed;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ml-ink);
  color: var(--ml-paper);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 60;
}
.ml-toast.is-show { opacity: 1; }

@media (max-width: 860px) {
  .ml-nav, .ml-mini-search, .ml-me-link { display: none; }
  .ml-mobile-only-domains { display: flex; }
  .ml-mobile-search { display: grid; padding: 0 8px; color: var(--ml-ink); text-decoration: none; font-size: 13px; }
  .ml-layout-cols, .ml-quiz-grid, .ml-history-grid, .ml-me-grid, .ml-policy-grid, .ml-domain-grid { grid-template-columns: 1fr; }
  .ml-flow-step { font-size: 13px; padding: 6px 10px; }
  .ml-container { padding-inline: 16px; }
  .ml-main { padding-top: 14px; padding-bottom: 32px; }
  .ml-home-domains { margin-bottom: 10px; gap: 16px; }
  .ml-feed-head h1 { font-size: 19px; }
  .ml-side-col { border-left: 0; padding-left: 0; }
  .ml-detail { border: 0; padding-inline: 0; }
  .ml-detail .ml-viz { padding: 12px; }
  .ml-sec-prose { font-size: 16px; line-height: 1.82; }
  .ml-card .ml-claim-cover img { height: 110px; }
  .ml-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .ml-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    justify-content: space-around;
    background: var(--ml-paper);
    border-top: 1px solid var(--ml-line);
    padding: 3px 8px calc(3px + env(safe-area-inset-bottom));
  }
  .ml-mobile-tabbar a { display: grid; place-items: center; min-height: 44px; text-decoration: none; font-size: 13px; color: var(--ml-muted); padding: 4px 10px; }
  .ml-mobile-tabbar a.is-active { color: var(--ml-accent); font-weight: 700; }

  :root:not([data-theme="dark"]) .ml-detail-page {
    --ml-bg: var(--ml-paper);
    --ml-conclusion: var(--ml-paper);
    --ml-chip-bg: var(--ml-paper);
    --ml-accent-bg: var(--ml-paper);
    --ml-wrong-bg: var(--ml-paper);
    --ml-over-bg: var(--ml-paper);
    --ml-under-bg: var(--ml-paper);
    --ml-outdated-bg: var(--ml-paper);
  }
  :root:not([data-theme="dark"]) .ml-detail-page .ml-flow-lane.is-correct {
    background: var(--ml-paper);
  }
  .ml-detail-page { background: var(--ml-paper); }
  .ml-detail-page .ml-header { position: static; border-bottom: 0; }
  .ml-detail-kicker .ml-tag { background: none; padding: 0; }
  .ml-detail-page .ml-header-inner { min-height: 54px; gap: 12px; }
  .ml-detail-page .ml-header-actions { flex-shrink: 0; }
  .ml-detail-page .ml-brand { color: var(--ml-muted); }
  .ml-detail-page .ml-brand-text { font-size: 0.75rem; line-height: 1.4; gap: 6px; }
  .ml-detail-page .ml-brand-text b { font-size: 0.875rem; font-weight: 600; letter-spacing: normal; }
  .ml-detail-page .ml-brand-text small { font-size: inherit; }
  .ml-detail-page .ml-detail { padding-block: 0; }
  .ml-detail-title { font-size: clamp(1.625rem, 6.6vw, 2.125rem); margin: 6px 0 2px; }
  .ml-detail-meta {
    flex-wrap: nowrap;
    border: 0;
    padding: 0;
    margin: 0;
    min-height: 32px;
    font-size: 12px;
    line-height: 1.55;
  }
  .ml-detail-crumb { min-width: 0; }
  .ml-read-meta { white-space: nowrap; }
  .ml-word-count, .ml-detail-actions .ml-action-label { display: none; }
  .ml-detail-actions { flex: none; flex-wrap: nowrap; gap: 0; }
  .ml-detail-actions button {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
  }
  .ml-detail-actions svg { display: block; width: 20px; height: 20px; }
  .ml-detail-actions .is-saved svg { fill: currentColor; }
  .ml-detail-context { margin-top: 20px; }
  .ml-detail-context > :last-child { margin-bottom: 0; }
  .ml-detail-page .ml-sec { border-top: 0; padding-top: 0; margin-top: 32px; }
  .ml-correct-box { margin-top: 16px; padding: 0; border: 0; background: transparent; }
  .ml-correct-box h2 { margin-bottom: 5px; letter-spacing: normal; }
  .ml-fact-big { font-size: 1.125rem; line-height: 1.6; }
  .ml-correct-prose { border-top: 0; padding-top: 0; color: var(--ml-muted); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ml-toast { transition: none; }
}
