@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-500.7975c1ef7c.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-600.3a1de7711d.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-700.c38570d224.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/ss3-400.0f73f35e08.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/ss3-600.14527d193b.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2eadc;
  --ink: #1b1712;
  --muted: #5c5449;
  --faint: #8a8173;
  --rule: #cbbda6;
  --felt: #173628;
  --felt-deep: #10261c;
  --cream: #f2eadc;
  --gilt: #e8c36a;
  --gold: #173628;
  --gold-soft: #d9e6d8;
  --warn: #7a3224;
  --warn-soft: #f0d8d0;
  --hit: #fffdf8;
  --shadow: 0 0 0 transparent;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --seek-h: 3.55rem;
  --az-h: 2.3rem;
  --header-h: calc(var(--seek-h) + var(--az-h));
  color-scheme: light;
  background-color: #f2eadc;
}

:root[data-theme="light"] {
  color-scheme: light;
  background-color: #f2eadc;
}

:root[data-theme="dark"] {
  --paper: #14110e;
  --ink: #ece4d6;
  --muted: #b4aa9b;
  --faint: #8a8174;
  --rule: #3a342c;
  --felt: #173628;
  --felt-deep: #10261c;
  --cream: #f2eadc;
  --gilt: #e8c36a;
  --gold: #8fbc8f;
  --gold-soft: #1c2c20;
  --warn: #e09a86;
  --warn-soft: #2a1a16;
  --hit: #1c1814;
  color-scheme: dark;
  background-color: #14110e;
}

/* Dark only when chosen (or no-js + OS dark). Never flash dark over a saved light theme. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #14110e;
    --ink: #ece4d6;
    --muted: #b4aa9b;
    --faint: #8a8174;
    --rule: #3a342c;
    --felt: #173628;
    --felt-deep: #10261c;
    --cream: #f2eadc;
    --gilt: #e8c36a;
    --gold: #8fbc8f;
    --gold-soft: #1c2c20;
    --warn: #e09a86;
    --warn-soft: #2a1a16;
    --hit: #1c1814;
    color-scheme: dark;
    background-color: #14110e;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
  background-color: var(--paper);
  color-scheme: inherit;
}

html,
body {
  background: var(--paper);
  background-color: var(--paper);
}

::view-transition-old(root),
::view-transition-new(root),
::view-transition-group(root) {
  background: var(--paper);
  background-color: var(--paper);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.35'/></svg>");
  mix-blend-mode: multiply;
}

:root[data-theme="dark"] body::before {
  opacity: 0.18;
  mix-blend-mode: overlay;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) body::before {
    opacity: 0.18;
    mix-blend-mode: overlay;
  }
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--gold);
}

.wrap {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: calc(3rem + var(--safe-bottom));
}

.folio {
  --ink: var(--cream);
  --muted: #d5c7a8;
  --gold: var(--gilt);
  color: var(--cream);
  background: var(--felt);
  background-color: var(--felt);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.06), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.28'/></svg>");
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.18);
}

.folio-inner {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(0.22rem + var(--safe-top)) 0 0.15rem;
}

.folio-run {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.folio-run .cr {
  display: none;
}

.folio-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.55rem;
}

.canlander {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gilt);
  text-decoration: none;
  white-space: nowrap;
}

.canlander:hover,
.canlander:focus-visible {
  color: var(--cream);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.45rem;
  font-size: 0.86rem;
}

.controls button {
  appearance: none;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  padding: 0.2rem 0.1rem;
  min-height: 32px;
  cursor: pointer;
}

.controls button[aria-pressed="true"] {
  color: var(--cream);
  box-shadow: inset 0 -1.5px 0 var(--gilt);
}

.folio-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.18rem;
}

.folio-book {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.35rem;
  color: var(--cream);
}

.folio-book .ribbon {
  fill: var(--gilt);
}

.wordmark,
.wordmark a {
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
  color: var(--cream);
  margin: 0;
}

.wordmark span {
  color: var(--gilt);
  font-style: italic;
  font-weight: 500;
}

.folio-copy {
  min-width: 0;
}

.folio-tag {
  margin: 0.12rem 0 0;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--gilt);
}

.folio-count {
  display: none;
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}

.pips {
  display: flex;
  gap: 0.28rem;
  margin-left: auto;
}

.pip {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.pip.w { background: #f0ead6; }
.pip.u { background: #0e68ab; }
.pip.b { background: #1a120c; }
.pip.r { background: #d3202a; }
.pip.g { background: #00733e; }

.toc {
  display: none;
}

.folio-rules {
  display: none;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(242, 234, 220, 0.28);
  border-bottom: 1px solid rgba(242, 234, 220, 0.16);
  height: 3px;
}

.folio-stitch {
  height: 5px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 7px,
      rgba(242, 234, 220, 0.38) 7px 12px,
      transparent 12px 19px
    );
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.pip-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 3px;
}

.pip-band i {
  display: block;
}

.pip-band .w { background: #f0ead6; }
.pip-band .u { background: #0e68ab; }
.pip-band .b { background: #150b00; }
.pip-band .r { background: #d3202a; }
.pip-band .g { background: #00733e; }

.seek {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 0.25rem 0 0.4rem;
  margin: 0 -0.15rem;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
  background: var(--paper);
  background-color: var(--paper);
  box-shadow: 0 1px 0 var(--rule), 0 12px 0 var(--paper);
}

.seek label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.seek input {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  padding: 0.7rem 0 0.55rem;
  outline: none;
}

.seek input:focus {
  border-bottom-color: var(--gold);
}

.seek input::placeholder {
  color: var(--faint);
}

.hits {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.hits:empty,
.hits[hidden] {
  display: none;
}

.hits a,
.row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.12rem;
  min-height: 56px;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  text-align: left;
}

.blurb {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.cols {
  display: none;
}

.hits a[aria-selected="true"],
.hits a:focus-visible {
  background: var(--gold-soft);
  box-shadow: inset 3px 0 0 var(--gold);
}

.n-pri,
.primary,
html[data-lang="de"] .n-de,
html[data-lang="en"] .n-en {
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.n-alt,
.secondary,
html[data-lang="de"] .n-en,
html[data-lang="en"] .n-de {
  color: var(--muted);
  font-size: 0.95rem;
}

html[data-lang="de"] .pair {
  display: flex;
  flex-direction: column;
}

html[data-lang="en"] .pair {
  display: flex;
  flex-direction: column;
}

html[data-lang="en"] .pair .n-en {
  order: 0;
}

html[data-lang="en"] .pair .n-de {
  order: 1;
}

.kicker,
.teil-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.teil-kicker {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
}

.teil-label {
  font-family: "Fraunces", serif;
  letter-spacing: 0.12em;
}

.sec-num {
  color: var(--gold);
  margin-right: 0.4rem;
  font-variant-numeric: tabular-nums;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 34rem;
}

.lede h1 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lede p {
  margin: 0;
  color: var(--muted);
}

.group,
.letter {
  scroll-margin-top: calc(var(--seek-h) + 0.4rem);
}

.group {
  margin: 1.7rem 0 0;
}

.group h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.filters {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin: 0.55rem 0 0.25rem;
  padding: 0.1rem 0 0.35rem;
}

.filters button {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 4.8rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
  cursor: pointer;
}

.az {
  position: sticky;
  top: var(--seek-h);
  z-index: 6;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.1rem 0.15rem;
  margin: 0 -0.15rem 0.55rem;
  padding: 0.2rem 0.15rem 0.35rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--paper);
  background-color: var(--paper);
  box-shadow: 0 1px 0 var(--rule);
  transition: transform 0.18s ease, opacity 0.18s ease, height 0.18s ease, margin 0.18s ease, padding 0.18s ease;
}

.az::-webkit-scrollbar {
  display: none;
}

.az a {
  min-width: 1.75rem;
  min-height: 1.75rem;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
}

.az a:hover,
.az a:focus-visible,
.az a.is-on {
  color: var(--gold);
}

.totop {
  position: fixed;
  right: max(0.8rem, var(--safe-bottom));
  bottom: max(0.8rem, var(--safe-bottom));
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}

.totop.is-on {
  opacity: 1;
  pointer-events: auto;
}

.filters button[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.letter {
  position: sticky;
  top: var(--header-h);
  z-index: 3;
  margin: 1.2rem 0 0;
  padding: 0.15rem 0;
  background: var(--paper);
  background-color: var(--paper);
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  color: var(--gold);
  scroll-margin-top: calc(var(--header-h) + 0.25rem);
  transition: top 0.18s ease, scroll-margin-top 0.18s ease;
}

.note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.entry-head {
  padding: 1.15rem 0 0.4rem;
}

.entry-head .names {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.entry-head .names .n-de,
.entry-head .names .n-en {
  margin: 0.15rem 0 0;
}

html[data-lang="de"] .entry-head .n-de,
html[data-lang="en"] .entry-head .n-en {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 8vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  order: 0;
}

html[data-lang="de"] .entry-head .n-en,
html[data-lang="en"] .entry-head .n-de {
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 400;
  order: 1;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.unverified {
  margin: 0.35rem 0 0;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.explain {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  max-width: 38rem;
}

.explain p {
  margin: 0 0 0.7rem;
}

html[data-lang="de"] .t-en,
html[data-lang="en"] .t-de {
  display: none;
}

.panel {
  margin: 1.4rem 0 0;
}

.panel h2 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.cardlink {
  display: block;
  min-height: 56px;
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.credit {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.anim-slot {
  margin: 1.2rem 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 0.8rem;
}

.anim-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.replay {
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.anim-frame {
  margin-top: 0.5rem;
  width: 100%;
  aspect-ratio: 5 / 4;
}

.anim-frame svg {
  width: 100%;
  height: 100%;
  display: block;
}

.anim-caption {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 4.6em;
}

.foot {
  margin-top: 2.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  color: var(--faint);
  font-size: 0.86rem;
}

.foot a {
  color: var(--muted);
}

body.is-seeking .page,
body.is-seeking .foot {
  display: none;
}

@media (max-width: 879px) {
  .seek label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .seek input {
    font-size: 1.12rem;
    padding: 0.48rem 0 0.42rem;
  }

  .seek {
    padding-top: 0.15rem;
    padding-bottom: 0.3rem;
  }

  :root {
    --seek-h: 3.2rem;
    --az-h: 1.95rem;
  }

  html.az-away {
    --az-h: 0px;
  }

  .az {
    padding: 0.08rem 0.15rem 0.18rem;
    margin-bottom: 0.25rem;
  }

  .az a {
    min-width: 1.55rem;
    min-height: 1.55rem;
    font-size: 0.76rem;
  }

  .az.is-away {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
  }

  .anim-caption {
    font-size: 1.02rem;
    min-height: 4.8em;
  }

  .replay {
    min-height: 48px;
    padding: 0.45rem 1rem;
  }
}

@media (min-width: 880px) {
  html {
    font-size: 18px;
  }

  .wrap {
    width: min(1400px, calc(100% - 4rem));
  }

  .folio-inner {
    width: min(1400px, calc(100% - 4rem));
    padding-top: calc(0.28rem + var(--safe-top));
    padding-bottom: 0.18rem;
  }

  .folio-rules {
    display: block;
  }

  .folio-run {
    font-size: 0.8rem;
  }

  .folio-run .cr {
    display: inline;
  }

  .folio-book {
    width: 2.45rem;
    height: 1.75rem;
  }

  .wordmark,
  .wordmark a {
    font-size: 1.55rem;
  }

  .folio-count {
    display: block;
  }

  .toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.85rem;
    margin-top: 0.22rem;
    font-size: 0.88rem;
  }

  .toc a {
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 0.01em;
  }

  .toc a:hover,
  .toc a:focus-visible,
  .toc a.is-on {
    color: var(--gilt);
    box-shadow: inset 0 -1.5px 0 var(--gilt);
  }

  .toc .n {
    color: var(--gilt);
    margin-right: 0.2rem;
  }

  .row {
    position: relative;
  }

  .row::before {
    content: "¶";
    position: absolute;
    left: -1.15rem;
    top: 0.55rem;
    color: var(--gold);
    font-family: "Fraunces", serif;
    opacity: 0;
    pointer-events: none;
  }

  .row:hover::before,
  .row:focus-visible::before {
    opacity: 0.7;
  }

  :root {
    --seek-h: 4.15rem;
    --az-h: 2.4rem;
  }

  .anim-slot {
    display: grid;
    grid-template-columns: minmax(15rem, 1fr) minmax(18rem, 1.15fr);
    grid-template-areas:
      "tool tool"
      ". frame"
      ". cap"
      ". nav";
    column-gap: 1.2rem;
    row-gap: 0.35rem;
    align-items: start;
  }

  .anim-toolbar {
    grid-area: tool;
  }

  .anim-caption {
    grid-area: cap;
    margin-top: 0.15rem;
    min-height: 4.6em;
  }

  .anim-nav {
    grid-area: nav;
    justify-self: start;
    margin-top: 0.1rem;
  }

  .anim-frame {
    grid-area: frame;
    margin-top: 0;
    max-height: 280px;
    aspect-ratio: 5 / 4;
  }
}

@media (min-width: 1100px) {
  .cols {
    display: grid;
    grid-template-columns: minmax(11rem, 0.8fr) minmax(11rem, 0.8fr) minmax(18rem, 2.2fr);
    gap: 0 1.25rem;
    margin: 0.35rem 0 0.15rem;
    color: var(--faint);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hits a,
  .row {
    display: grid;
    grid-template-columns: minmax(11rem, 0.8fr) minmax(11rem, 0.8fr) minmax(18rem, 2.2fr);
    align-items: baseline;
    column-gap: 1.25rem;
    min-height: 52px;
    padding: 0.5rem 0;
  }

  .hits a .n-pri,
  .row .n-pri {
    grid-column: 1;
    font-size: 1.12rem;
  }

  .hits a .n-alt,
  .row .n-alt {
    grid-column: 2;
    font-size: 1rem;
  }

  .hits a .blurb,
  .row .blurb {
    grid-column: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.marks {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.common-meter {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  padding: 0.1rem 0.12rem;
  vertical-align: middle;
}

.common-meter i {
  display: block;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--rule);
}

.common-meter[data-band="rare"] i:nth-child(-n + 1),
.common-meter[data-band="uncommon"] i:nth-child(-n + 2),
.common-meter[data-band="common"] i {
  background: var(--gold);
}

.watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  margin: -6px -4px -6px 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0;
  cursor: pointer;
}

.watch-note {
  margin: 1rem 0 0;
  padding: 0.7rem 0.85rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-soft);
  max-width: 38rem;
}

.watch-note strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.watch-note p {
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
}

.play-ex {
  margin: 0.85rem 0 0;
  max-width: 38rem;
}

.play-ex strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.play-ex p {
  margin: 0.25rem 0 0;
  font-size: 1rem;
}

.watch-pop {
  position: fixed;
  z-index: 20;
  box-sizing: border-box;
  width: min(20rem, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 0.65rem 0.8rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 10px 28px rgba(27, 23, 18, 0.16);
  font-size: 0.92rem;
}

.watch-pop strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.watch-pop p {
  margin: 0;
}

.common-line {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.meter-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.7rem;
  margin: 0.15rem 0 0.35rem;
  color: var(--faint);
  font-size: 0.82rem;
}

@media (max-width: 879px) {
  .hits .common-meter {
    display: none;
  }

  .row .common-meter {
    display: inline-flex;
    gap: 0.1rem;
    padding: 0;
    margin-left: 0.2rem;
  }

  .row .common-meter i {
    width: 0.28rem;
    height: 0.28rem;
  }
}

.backrow {
  margin: 0.6rem 0 0;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.back::before {
  content: "← ";
}

.back:hover,
.back:focus-visible {
  color: var(--ink);
}

.lex-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
}

.sort {
  display: flex;
  gap: 0.35rem;
}

.sort button {
  min-height: 44px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}

.sort button[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.cardpeek {
  position: relative;
}

.cardlink {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-height: 56px;
  padding: 0.7rem 0;
  border: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.card-pop {
  position: fixed;
  z-index: 22;
  width: 244px;
  padding: 0.4rem 0.4rem 0.55rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 12px 32px rgba(27, 23, 18, 0.18);
}

.card-pop-close {
  display: none;
}

@media (hover: none), (pointer: coarse) {
  .card-pop-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: var(--paper);
    color: var(--ink);
    font: 600 1.25rem/1 "Source Sans 3", sans-serif;
    cursor: pointer;
  }
}

.card-pop img {
  display: block;
  width: 244px;
  height: auto;
  background: var(--gold-soft);
}

.card-pop .credit {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.anim-modes,
.anim-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.anim-modes button,
.anim-nav button {
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.anim-modes button[aria-pressed="true"],
.anim-nav .replay {
  border-color: var(--ink);
}

.anim-pos {
  min-width: 2.6rem;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.anim-slot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.anim-frame .is-hot {
  filter: drop-shadow(0 0 5px var(--gold));
}

.anim-frame .is-hot rect {
  stroke: var(--gold);
  stroke-width: 2.4;
}

.impressum {
  max-width: 36rem;
  margin: 1.2rem 0 0;
}

.impressum h1 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.impressum .lead {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.impressum h2 {
  margin: 1.2rem 0 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.impressum p {
  margin: 0.2rem 0 0;
}

.legal-links {
  margin-top: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
