:root {
  --bg: #eaeae8;
  --ink: #141414;
  --accent: #141414;
  --sans: "Helvetica Neue", Helvetica, Inter, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --soft: color-mix(in srgb, var(--ink) 55%, var(--bg));
  --surface: color-mix(in srgb, var(--bg) 88%, var(--ink) 0%);
  --glass: color-mix(in srgb, var(--bg) 82%, transparent);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
body[data-hub] { overflow: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.mono { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Film grain like the original */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.09;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .grain { opacity: 0.1; mix-blend-mode: screen; filter: invert(1); }

/* Loading */
.loading {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-content: center; gap: 28px; justify-items: center;
  transition: opacity .6s ease;
}
.loading.out { opacity: 0; pointer-events: none; }
.loading-title { margin: 0; font-size: clamp(28px, 5vw, 56px); font-weight: 500; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .28em; padding: 0 24px; text-align: center; }
.lw { overflow: hidden; display: inline-block; padding-bottom: .08em; }
.lwi { display: inline-block; transform: translateY(110%); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes rise { to { transform: none; } }
.loading-bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loading-bar span { display: block; height: 100%; width: 30%; background: var(--ink); animation: bar 1s ease-in-out infinite; }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(400%); } }

/* Stage */
.stage { position: fixed; inset: 0; }
.graph { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }

/* Header */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: clamp(20px, 4vw, 44px) clamp(20px, 5vw, 64px) 0;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand { max-width: 460px; text-shadow: 0 0 14px var(--bg), 0 0 4px var(--bg); }
.title { margin: 0; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; font-weight: 500; letter-spacing: -0.025em; }
.tagline { margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--soft); max-width: 40ch; }
.meta { margin: 14px 0 0; color: var(--soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 6px; border: 1px solid var(--accent); color: var(--accent); border-radius: 3px; line-height: 1.4;
}
.badge.warn { border-color: currentColor; color: var(--soft); }

.tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.btn {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn:hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.btn.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.search { position: relative; }
.search-input {
  font: 14px var(--sans); color: var(--ink); width: 220px; height: 34px; padding: 0 30px 0 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--glass);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); outline: none;
}
.search-input::placeholder { color: var(--soft); }
.search-input:focus { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.search-input::-webkit-search-cancel-button { display: none; }
.search kbd { position: absolute; right: 8px; top: 8px; font-size: 10px; padding: 1px 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--soft); pointer-events: none; }
.search-input:focus + kbd { display: none; }
.search-results {
  position: absolute; top: 40px; right: 0; width: 320px; margin: 0; padding: 4px; list-style: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.25); display: none;
}
.search-results.show { display: block; }
.search-results li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 10px; border-radius: 5px; cursor: pointer; }
.search-results li[aria-selected="true"] { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.search-results .sr-term { font-size: 14px; }
.search-results .sr-sec { font-size: 9.5px; color: var(--soft); text-align: right; }
.search-results .empty { color: var(--soft); cursor: default; }

.switcher { position: relative; }
.switcher summary {
  list-style: none; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px;
  display: inline-flex; align-items: center; cursor: pointer; background: var(--glass);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.switcher summary::-webkit-details-marker { display: none; }
.switcher summary::after { content: "▾"; margin-left: 6px; font-size: 9px; }
.switcher-menu {
  position: absolute; right: 0; top: 40px; min-width: 240px; padding: 6px; display: grid;
  max-height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 40px -12px rgba(0,0,0,.25);
}
.switcher-menu a { padding: 8px 10px; border-radius: 5px; text-decoration: none; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.switcher-menu a.mono { font-size: 10.5px; color: var(--soft); border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 4px; }
.switcher-cat { margin: 8px 10px 2px; font-size: 9.5px; color: var(--soft); opacity: .75; }
.switcher-menu a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.switcher-menu a.current { color: var(--accent); }

/* Legend */
.legend {
  text-shadow: 0 0 10px var(--bg), 0 0 3px var(--bg);
  position: fixed; left: clamp(20px, 5vw, 64px); bottom: clamp(20px, 4vw, 40px); z-index: 10;
  display: grid; gap: 2px; max-width: 280px;
}
.legend-item {
  display: flex; justify-content: space-between; gap: 18px; text-align: left; padding: 4px 0;
  color: var(--soft); font-size: 10.5px; transition: color .15s;
}
.legend-item:hover, .legend-item.active { color: var(--ink); }
.legend-item.active .legend-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.legend-count { opacity: .6; }
.legend-head { margin: 10px 0 2px; font-size: 9.5px; color: var(--soft); opacity: .7; }
.legend-head:first-child { margin-top: 0; }

/* Crossover fields */
.from { color: var(--accent); font-size: 10px; margin: 12px 0 0; display: block; }
.ex {
  display: block; margin: 14px 0 0; padding: 10px 12px; border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent); border-radius: 0 6px 6px 0;
  font-size: 14.5px; line-height: 1.45; font-style: italic; color: color-mix(in srgb, var(--ink) 80%, var(--bg));
}
.ex::before { content: "Usage  "; font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.facets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.facet {
  font-size: 10px; padding: 4px 8px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent); transition: background .15s;
}
.facet:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.panel-cross { margin-top: 20px; }
.panel-cross h3 { margin: 0; font-weight: 500; font-size: 10.5px; color: var(--soft); }

/* Card schema v2 blocks (docs/CARD.md) */
.native { margin: 6px 0 0; font-size: 20px; line-height: 1.2; color: var(--soft); }
.index-entry .native { margin: 0; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.tag { font-size: 9.5px; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); }
.index-entry .tags { margin: 4px 0 6px; }
.counterpart { margin: 14px 0 0; font-size: 15px; }
.counterpart .mono { color: var(--soft); font-size: 10px; }
.index-entry .counterpart { font-size: 14px; margin-top: 8px; }
.panel-block { margin-top: 20px; }
.pattern-body { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; line-height: 1.45; }
.pattern-body dt { font-size: 10px; color: var(--accent); padding-top: 3px; }
.pattern-body dd { margin: 0; font-size: 15px; }
.pattern-forces { margin: 0; padding-left: 16px; display: grid; gap: 3px; }
.pattern-related { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.index-entry .pattern { margin-top: 10px; }
.index-entry .pattern-body dd { font-size: 14px; }
.panel-block h3 { margin: 0 0 10px; font-weight: 500; font-size: 10.5px; color: var(--soft); }
.senses { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.index-entry .senses { margin-top: 10px; gap: 8px; }
.sense { padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.45; }
.sense-context { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 10px; margin-bottom: 3px; }
.sense-def { display: block; font-size: 15px; }
.index-entry .sense-def { font-size: 14px; }
.sense-context .rating { margin-left: 0; }
.sense .ex { font-size: 13.5px; margin-top: 6px; }
.sense-link { display: inline-block; margin-top: 4px; font-size: 9.5px; color: var(--soft); text-decoration: none; }
.sense-link:hover { color: var(--accent); }
.habitats { display: flex; flex-wrap: wrap; gap: 6px; }
.habitat { font-size: 12.5px; padding: 3px 9px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.confidence { margin: 0 0 10px; display: grid; gap: 3px; font-size: 13.5px; line-height: 1.45; }
.confidence .mono { font-size: 10px; }
.confidence-high .mono { color: var(--soft); }
.confidence-medium .mono { color: #b7791f; }
.confidence-low .mono { color: #c2410c; }
.confidence-note { color: color-mix(in srgb, var(--ink) 75%, var(--bg)); }
.sources { display: grid; gap: 8px; }
.source {
  display: grid; gap: 3px; align-content: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.source:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.source-host { font-size: 9.5px; color: var(--accent); text-transform: none; }
.source-title { font-size: 14px; line-height: 1.35; }
.source-quote { font-size: 13px; line-height: 1.45; font-style: italic; color: var(--soft); }
.index-trust { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: var(--soft); }
.index-trust .mono { font-size: 9.5px; }
.index-about .sources { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.index-about .panel-block h3 { border-bottom: 0; padding-bottom: 0; font-size: 10.5px; font-weight: 500; color: var(--soft); }
.index-entry .from { margin: 2px 0 6px; }
.index-entry .ex { font-size: 13.5px; margin-top: 8px; }
.index-def { display: block; }

.hint { position: fixed; right: clamp(20px, 5vw, 64px); bottom: clamp(20px, 4vw, 40px); margin: 0; color: var(--soft); font-size: 10px; z-index: 5; transition: opacity .3s; }
body:has(.panel.open) .hint { opacity: 0; }

/* Term panel */
.panel {
  position: fixed; z-index: 20; right: clamp(16px, 3vw, 40px); top: 150px; bottom: clamp(16px, 3vw, 40px);
  width: min(400px, calc(100vw - 32px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.3);
  opacity: 0; transform: translateX(16px); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; max-height: max-content;
}
.panel.open { opacity: 1; transform: none; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-section { color: var(--soft); font-size: 10.5px; text-align: left; }
.panel-section:hover { color: var(--accent); }
.close { font-size: 22px; line-height: 1; width: 28px; height: 28px; border-radius: 6px; color: var(--soft); }
.close:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.rating {
  display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 9.5px; padding: 2px 6px; border-radius: 3px;
  letter-spacing: .08em; line-height: 1.4; border: 1px solid currentColor; font-weight: 500;
}
.rating-nsfw { color: #c2410c; }
.rating-red { color: #fff; background: #c81e1e; border-color: #c81e1e; }
.index-entry .rating { margin-left: 0; }
.variants { opacity: .8; }
.panel-term { margin: 10px 0 0; font-size: 34px; line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; }
.aka { color: var(--soft); font-size: 10.5px; margin: 10px 0 0; text-transform: none; letter-spacing: .02em; }
.panel-def { font-size: 18px; line-height: 1.5; margin: 18px 0 0; }
.ref {
  display: inline; text-align: left; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s;
}
.ref:hover { color: var(--accent); text-decoration-color: var(--accent); }
.panel-links { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.panel-links h3 { margin: 0 0 10px; font-weight: 500; font-size: 10.5px; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.panel-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.panel-nav button { color: var(--soft); font-size: 10px; max-width: 48%; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-nav button:last-child { text-align: right; }
.panel-nav button:hover { color: var(--ink); }

/* Index view */
.index { position: fixed; inset: 0; z-index: 8; overflow-y: auto; background: var(--bg); padding: 190px clamp(20px, 5vw, 64px) 80px; }
.index-inner { max-width: 1200px; }
.index-head { display: none; }
.index-section { margin-bottom: 56px; }
.index-section h3 { margin: 0 0 6px; font-size: 11px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.index-blurb { color: var(--soft); margin: 10px 0 18px; font-size: 14px; }
.index-section dl { margin: 0; columns: 2 380px; column-gap: 56px; }
.index-entry { scroll-margin-top: 260px; scroll-margin-bottom: 40px; break-inside: avoid; padding: 12px 0; border-radius: 6px; transition: background .4s; }
.index-entry.flash { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.index-entry dt { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.index-term { font-size: 17px; font-weight: 600; text-align: left; }
.index-term:hover { color: var(--accent); }
.index-entry .aka { margin: 0; }
.index-entry dd { margin: 4px 0 0; line-height: 1.5; font-size: 15px; color: color-mix(in srgb, var(--ink) 85%, var(--bg)); }
.index-foot { color: var(--soft); }
body.indexing .legend, body.indexing .hint, body.indexing .panel { display: none; }
body.indexing .top { background: linear-gradient(var(--bg) 75%, transparent); padding-bottom: 24px; }

/* Adult gate */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); padding: 24px; }
.gate-card { max-width: 460px; }
.gate-kicker { color: var(--accent); }
.gate h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin: 12px 0; line-height: 1.1; }
.gate p { color: var(--soft); line-height: 1.55; }
.gate-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.gate .btn { height: 42px; padding: 0 18px; }

/* Quiz */
.quiz { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.quiz-card { width: min(560px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px 28px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.5); }
.quiz-head { display: flex; justify-content: space-between; align-items: center; color: var(--accent); }
.quiz h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 14px 0 18px; }
.quiz p { line-height: 1.55; }
.quiz .native { margin: -10px 0 12px; color: var(--soft); font-size: 18px; }
.quiz-def { font-size: 17px; }
.quiz-runner { color: var(--soft); }
.quiz-runner .mono { font-size: 10px; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option { text-align: left; font-size: 15.5px; line-height: 1.4; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; transition: border-color .15s, background .15s; }
.quiz-option:hover, .quiz-option:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.quiz .btn { height: 42px; padding: 0 18px; }

.fatal { padding: 40px; font-family: var(--mono); }

/* Hub */
.hub { max-width: 1320px; margin: 0 auto; padding: clamp(28px, 6vw, 80px) clamp(20px, 5vw, 64px) 60px; position: relative; z-index: 1; }
.hub-head { margin-bottom: clamp(32px, 5vw, 64px); }
.hub-head .title { font-size: clamp(44px, 8vw, 96px); }
.hub-head .tagline { font-size: 18px; max-width: 46ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 460px; overflow: hidden;
  text-decoration: none; background: var(--bg); color: var(--ink); border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.card-graph { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-body {
  position: relative; margin-top: auto; padding: 22px 24px 24px;
  background: linear-gradient(transparent, var(--bg) 38%);
  padding-top: 90px;
}
.card h2 { margin: 8px 0 8px; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.card p { margin: 0; color: color-mix(in srgb, var(--ink) 62%, var(--bg)); line-height: 1.45; font-size: 14.5px; }
.card-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: color-mix(in srgb, var(--ink) 60%, var(--bg)); font-size: 10px; }
.card .badge { font-size: 9px; }
.card-sections { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 9.5px; color: color-mix(in srgb, var(--ink) 50%, var(--bg)); }
.hub-cat { margin-bottom: 48px; }
.hub-cat-title { font-size: 11px; font-weight: 600; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--soft); }
.hub-foot { margin-top: 56px; color: var(--soft); font-size: 10px; }

/* Mobile */
@media (max-width: 760px) {
  .top { flex-direction: column; gap: 14px; padding-top: 18px; }
  .title { font-size: 30px; }
  .tagline { font-size: 13.5px; margin-top: 8px; }
  .meta { margin-top: 8px; }
  .tools { justify-content: flex-start; }
  .search-input { width: 170px; }
  .search-results { left: 0; right: auto; width: min(320px, calc(100vw - 40px)); }
  .switcher-menu { left: 0; right: auto; }
  .legend, .hint { display: none; }
  .panel {
    top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; max-height: 52vh;
    transform: translateY(20px); padding: 18px 18px 16px;
  }
  .rating {
  display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 9.5px; padding: 2px 6px; border-radius: 3px;
  letter-spacing: .08em; line-height: 1.4; border: 1px solid currentColor; font-weight: 500;
}
.rating-nsfw { color: #c2410c; }
.rating-red { color: #fff; background: #c81e1e; border-color: #c81e1e; }
.index-entry .rating { margin-left: 0; }
.variants { opacity: .8; }
.panel-term { font-size: 28px; }
  .panel-def { font-size: 16px; }
  .index { padding-top: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  .lwi { animation: none; transform: none; }
  .loading-bar span { animation: none; }
}

/* Atlas */
.open-link { margin-top: 16px; align-self: flex-start; }
.hub-links { margin: 18px 0 0; }
.search-results { max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; }
.search-results .sr-head { color: var(--soft); font-size: 9.5px; cursor: default; padding: 6px 10px 4px; }
