:root {
  --bg: #0b1017;
  --surface: #141c28;
  --surface-2: #1c2738;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #0369a1;
  color-scheme: dark;
  --success: #22c55e;

  --c-white: #f8fafc;
  --c-yellow: #facc15;
  --c-green: #22c55e;
  --c-blue: #3b82f6;
  --c-red: #ef4444;
  --c-orange: #f97316;
  --c-gray: #334155;
  --c-plastic: #0a0e14;

  --radius: 14px;
  --cubie-size: 52px;
  --cubie-half: calc(var(--cubie-size) / 2);
  --cubie-step: 54px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.08), transparent 45%), var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.09), transparent);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0 1.4rem;
  margin-bottom: 1.5rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

h1 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.subtitle {
  color: var(--muted);
  max-width: 68ch;
  font-size: 0.94rem;
}

.progress-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  text-align: right;
  min-width: 140px;
}

.progress-box__label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.progress-box__count {
  font-size: 1.25rem;
  color: var(--success);
}

.main-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.small-muted {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.small-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* Step Navigation */
.step-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.step-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.48rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  background: var(--surface-2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.step-nav__item:hover {
  border-color: var(--accent);
}

.step-nav__item.is-done {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
}

.step-nav__badge {
  font-size: 0.72rem;
  color: var(--muted);
  flex-shrink: 0;
}

/* Notation Sidebar */
.card-head-inline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.hint {
  font-size: 0.74rem;
  color: var(--accent);
}

.notation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
  margin-bottom: 0.85rem;
}

.notation-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  padding: 0.42rem 0.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.notation-btn:hover,
.notation-btn.is-active {
  background: var(--accent-strong);
  border-color: var(--accent);
  color: #fff;
}

.notation-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem;
}

.notation-diagram {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.notation-desc {
  font-size: 0.82rem;
  color: var(--text);
}

/* 3D & 2D Studio Card */
.studio-card {
  margin-bottom: 1.75rem;
  border-color: rgba(56, 189, 248, 0.28);
}

.studio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.view-tabs {
  display: inline-flex;
  background: var(--surface-2);
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  gap: 0.25rem;
}

.view-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}

.view-tab.is-active {
  background: var(--accent-strong);
  color: #fff;
}

.studio-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 0.9rem;
}

.studio-grid[data-mode="3d"] .net-wrap {
  display: none;
}

.studio-grid[data-mode="2d"] {
  grid-template-columns: 1fr;
}

.studio-grid[data-mode="2d"] .viewport-3d-wrap {
  display: none;
}

.viewport-3d-wrap {
  background: radial-gradient(circle at 50% 35%, #1e293b 0%, #090d14 75%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.viewport-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.viewport-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.camera-btns {
  display: flex;
  gap: 0.3rem;
}

.mini-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}

.mini-btn:hover {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.16);
}

/* CSS 3D Scene & Cube */
.scene-3d {
  width: 100%;
  height: 265px;
  display: grid;
  place-items: center;
  perspective: 820px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  overflow: hidden;
  outline: none;
}

.scene-3d:active {
  cursor: grabbing;
}

.cube-3d {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(-34deg);
}

.cube-pivot,
.cube-rest {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.cubie {
  position: absolute;
  width: var(--cubie-size);
  height: var(--cubie-size);
  left: calc(var(--cubie-half) * -1);
  top: calc(var(--cubie-half) * -1);
  transform-style: preserve-3d;
}

.cubie-face {
  position: absolute;
  inset: 0;
  background: var(--c-plastic);
  border: 2px solid #070a0f;
  border-radius: 7px;
  backface-visibility: hidden;
  display: grid;
  place-items: center;
  padding: 3px;
}

.cubie-face--U { transform: rotateX(90deg) translateZ(var(--cubie-half)); }
.cubie-face--D { transform: rotateX(-90deg) translateZ(var(--cubie-half)); }
.cubie-face--F { transform: translateZ(var(--cubie-half)); }
.cubie-face--B { transform: rotateY(180deg) translateZ(var(--cubie-half)); }
.cubie-face--R { transform: rotateY(90deg) translateZ(var(--cubie-half)); }
.cubie-face--L { transform: rotateY(-90deg) translateZ(var(--cubie-half)); }

.cubie-sticker {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.8);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.viewport-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.74rem;
  color: var(--muted);
}

.legend-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.legend-inline span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.dot--W { background: var(--c-white); }
.dot--Y { background: var(--c-yellow); }
.dot--G { background: var(--c-green); }
.dot--B { background: var(--c-blue); }
.dot--R { background: var(--c-red); }
.dot--O { background: var(--c-orange); }

.speed-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.speed-control select,
.preset-select {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  font: inherit;
  font-size: 0.76rem;
}

.preset-select {
  width: 100%;
  padding: 0.48rem 0.65rem;
  font-size: 0.84rem;
}

.studio-side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.net-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.net-head {
  margin-bottom: 0.5rem;
}

.cube-net {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 70px));
  grid-template-rows: repeat(3, auto);
  gap: 6px;
  justify-content: center;
}

.net-face {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);
  aspect-ratio: 1;
  gap: 2px;
  background: #090d14;
  padding: 3px;
  border-radius: 5px;
}

.net-face__label {
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.78);
}

/* Algorithm Step-by-step Player */
.algo-player {
  background: var(--surface-2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.algo-player__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.algo-player__eyebrow {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
}

.algo-player h3 {
  font-size: 0.98rem;
  color: var(--text);
}

.algo-player__step {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.algo-player__tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: #0d131d;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  min-height: 44px;
  align-items: center;
}

.player-token {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

.player-token.is-done {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

.player-token.is-current {
  background: var(--accent-strong);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.algo-player__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.studio-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.move-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.history-box {
  margin-top: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.history-box code {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Section Divider & Layer Tabs */
.section-divider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.section-divider h2 {
  font-size: 1.2rem;
}

.layer-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.tab.is-active {
  background: var(--accent-strong);
  border-color: var(--accent);
  color: #fff;
}

/* Steps List */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.step-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.step-layer-pill {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.step-card h3 {
  font-size: 1.2rem;
}

.done-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  background: var(--surface-2);
  padding: 0.38rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.done-toggle input {
  accent-color: var(--success);
  width: 1rem;
  height: 1rem;
}

.step-body {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 1.2rem;
  align-items: start;
}

.step-goal {
  color: var(--text);
  margin-bottom: 0.65rem;
  font-size: 0.94rem;
}

.step-tips {
  margin: 0.4rem 0 0.95rem 1.15rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.step-tips li {
  margin-bottom: 0.28rem;
}

.algo-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.algo-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.algo-box__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.algo-box__label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
}

.algo-box__actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.algo-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.move-token {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.25rem 0.52rem;
  border-radius: 6px;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
  cursor: pointer;
}

.move-token:hover {
  background: var(--accent-strong);
  color: #fff;
}

.visual-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.visual-box__caption {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Mini 3x3 face diagram */
.mini-face {
  display: grid;
  grid-template-columns: repeat(3, 32px);
  grid-template-rows: repeat(3, 32px);
  gap: 4px;
  background: #090d14;
  padding: 6px;
  border-radius: 8px;
  border: 2px solid #263248;
}

.sticker {
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.sticker--W { background: var(--c-white); }
.sticker--Y { background: var(--c-yellow); }
.sticker--G { background: var(--c-green); }
.sticker--B { background: var(--c-blue); }
.sticker--R { background: var(--c-red); }
.sticker--O { background: var(--c-orange); }
.sticker--X { background: var(--c-gray); }

.btn {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.42rem 0.75rem;
  font: inherit;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn:hover {
  border-color: var(--accent);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--accent-strong);
  border-color: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: #0369a1;
}

.btn--secondary {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 980px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .step-body {
    grid-template-columns: 1fr;
  }
}

/* Keyboard, small screens and reduced motion */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 10; padding: 0.8rem; background: var(--surface); color: var(--text); }
.skip-link:focus { top: 1rem; }
.btn--ghost { background: transparent; }
.view-tabs, .camera-btns { flex-wrap: wrap; }
.mini-btn { min-height: 28px; }
.main-layout > *, .studio-grid > *, .step-body > * { min-width: 0; }
.preset-select { width: 100%; min-width: 0; }
.cubie-sticker, .net-face__label, .letter-sticker { color: #000; text-shadow: none; }
.letter-sticker { display: grid; place-items: center; font-size: 0.65rem; font-weight: 800; }
.history-box { overflow-wrap: anywhere; }
@media (min-width: 981px) and (max-width: 1250px) {
  .studio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner, .studio-bottom, .algo-player__head { flex-wrap: wrap; }
  .view-tabs { border-radius: 12px; }
  .card { padding: 0.8rem; }
  .net-wrap { padding: 0.6rem; }
  .algo-player__controls { display: flex; flex-wrap: wrap; }
  .algo-player__controls .btn { flex: 1 1 42%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

.goal-net { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; width: 100%; max-width: 220px; margin: 0 auto; }
.goal-face { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; aspect-ratio: 1; }
.goal-face .sticker { display: grid; place-items: center; color: #000; font-size: 0.55rem; font-weight: 800; }
.goal-face .sticker--X { color: #fff; }
.training-button { margin-top: 1rem; margin-bottom: 0.4rem; }
.session-controls { margin-top: 1rem; padding: 0.8rem; border: 1px solid var(--border); border-radius: 8px; }
.cube-text { margin-top: 0.7rem; font-size: 0.8rem; }
.cube-text pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.static-algorithm { margin: 0.5rem 0; }
.static-algorithm code { display: block; overflow-wrap: anywhere; }
html:not(.js) #studioSection, html:not(.js) #notationPreview, html:not(.js) .layer-tabs,
html:not(.js) .header-right, html:not(.js) .done-toggle { display: none; }
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .sidebar, #studioSection, .header-right, .layer-tabs, .skip-link, .done-toggle,
  .algo-box__actions, .training-button { display: none !important; }
  .main-layout, .step-body { display: block; }
  .container { max-width: none; padding: 0; }
  .step-card, .card, .algo-box { background: #fff; color: #111; border: 1px solid #aaa; box-shadow: none; }
  .step-card { break-inside: avoid; margin: 1rem 0; }
  .step-tips, .step-goal, .small-muted, .visual-box__caption, .algo-box__label, .subtitle { color: #222; }
  .move-token, .step-layer-pill { background: #fff; color: #111; border-color: #888; }
  .visual-box { background: #fff; width: 220px; margin: 0.6rem auto; }
  .sticker { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

.js .notation-fallback { display: none; }
.notation-fallback dt { font-weight: 700; margin-top: 0.5rem; }
.notation-fallback dd { color: var(--muted); }
