:root {
  color-scheme: dark;
  --ink: #0a0a0a;
  --panel: #0e0e0e;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.28);
  --paper: #fdfdfd;
  --muted: rgba(255, 255, 255, 0.62);
  --sand: #b59a63;
  --sand-light: #cdb27a;
  --slate: #7f9bb5;
  --ok: #7be2a1;
}

* {
  box-sizing: border-box;
}

::selection {
  background: rgba(181, 154, 99, 0.45);
  color: #fff;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(181, 154, 99, 0.6) var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: rgba(181, 154, 99, 0.5);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(181, 154, 99, 0.8);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Clash Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid #3de8ff;
  outline-offset: 2px;
}

a {
  color: inherit;
}

.mono,
.top,
.status,
.chip,
.group-title,
.tab,
.copy,
.pill-link,
.count,
.steps li::before,
.foot-line {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand:hover {
  color: var(--sand-light);
}

.top-sep {
  color: var(--line-strong);
}

.top-here {
  color: var(--muted);
}

/* Page */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.7);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.status-dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sand);
}

.title {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.title-slate {
  color: var(--slate);
}

.title-sand {
  color: var(--sand);
}

.lede {
  max-width: 34rem;
  margin: 1.5rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  line-height: 1.45;
}

/* Installer tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tab {
  min-height: 44px;
  padding: 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.tab[aria-expanded='true'] {
  border-color: var(--sand);
  background: var(--sand);
  color: #0a0a0a;
}

.tab[aria-expanded='true']:hover {
  border-color: var(--sand-light);
  background: var(--sand-light);
}

/* Cards */
.card {
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
}

.card-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0.75rem 0;
  padding-left: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0.2rem;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(181, 154, 99, 0.7);
  border-radius: 50%;
  color: var(--sand);
  font-size: 0.7rem;
  line-height: 1;
}

.strbox {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.str {
  flex: 1;
  min-width: 0;
  max-height: 6.5rem;
  padding: 0.8rem 1rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  word-break: break-all;
}

.copy {
  align-self: flex-start;
  min-width: 6.5rem;
  min-height: 44px;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: var(--sand);
  color: #0a0a0a;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.copy:hover {
  border-color: var(--sand-light);
  background: var(--sand-light);
}

.copy.done {
  border-color: var(--ok);
  background: var(--ok);
}

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

/* Search */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.search {
  flex: 1;
  min-width: 12rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  font: inherit;
  transition: border-color 0.2s ease;
}

.search::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search:hover,
.search:focus {
  border-color: var(--sand);
}

.count {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Addon list */
.group {
  margin-top: 1.5rem;
}

.group-title {
  margin: 2rem 0 0.75rem;
  color: var(--sand);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.addon-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  align-items: stretch;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.addon-list-plain {
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  margin-top: 0;
}

.addon {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  transition: border-color 0.2s ease;
}

.addon:hover {
  border-color: rgba(181, 154, 99, 0.6);
}

.addon-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1rem 1.5rem;
}

.addon-body .pill-link {
  margin-top: auto;
}

.addon-desc + .pill-link {
  margin-top: 1rem;
}

.shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #060606;
  cursor: zoom-in;
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.shot:hover img {
  transform: scale(1.03);
}

/* Tall screenshots are shown whole instead of cropped. */
.shot-tall img {
  object-fit: contain;
  object-position: center;
}

.addon-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.addon-desc {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.chip {
  margin-left: 0.6rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid rgba(181, 154, 99, 0.8);
  border-radius: 999px;
  color: var(--sand);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.pill-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill-link:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.empty {
  margin: 2.5rem 0 0;
  color: var(--muted);
}

/* Footer */
.foot {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.foot p {
  margin: 0.4rem 0;
}

.foot-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: 1.25rem !important;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.foot-line a:hover {
  color: var(--sand-light);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero .lede {
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.btn-primary {
  border-color: var(--sand);
  background: var(--sand);
  color: #0a0a0a;
}

.btn-primary:hover {
  border-color: var(--sand-light);
  background: var(--sand-light);
  color: #0a0a0a;
}

.stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0 0;
}

.stats div {
  display: flex;
  flex-direction: column-reverse;
}

.stats dt {
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats dd {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-gallery {
  display: grid;
  gap: 0.75rem;
}

.hero-shot {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #060606;
  cursor: zoom-in;
  transition: border-color 0.2s ease;
}

.hero-shot:hover {
  border-color: rgba(181, 154, 99, 0.6);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-row .hero-shot {
  aspect-ratio: 21 / 9;
}

.hero-row .hero-shot img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-cap {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.8);
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

#browse {
  margin-top: 1rem;
}

/* Screenshot viewer */
.lightbox {
  width: min(92vw, 70rem);
  max-height: 92vh;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: #060606;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 58vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-cap {
  margin: 0;
  padding: 0.75rem 1rem;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.85);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .addon-list,
  .addon-list-plain {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top,
  .wrap,
  .foot {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .card {
    padding: 1.25rem;
  }

  .strbox {
    flex-direction: column;
  }

  .copy {
    align-self: stretch;
  }

  .lede {
    font-size: 1.125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Newcomer guidance */
.section-lede {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.5;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.intro-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
}

.intro-card p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.intro-card .pill-link {
  margin-top: auto;
}

.intro-title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.intro-card .intro-hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.copy-note {
  color: var(--muted);
  font-size: 0.875rem;
}

.reveal {
  margin-top: 0.5rem;
}

.reveal summary,
.faq summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  color: var(--sand);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal summary:hover,
.faq summary:hover {
  color: var(--sand-light);
}

.reveal .str {
  display: block;
  margin-top: 0.75rem;
}

.faq {
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem 0 3rem;
}

.faq details {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
}

.faq details p {
  margin: 0;
  padding: 0 1.5rem 1rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 700px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

.faq summary {
  padding: 0 1.5rem;
}

.reveal summary::before,
.faq summary::before {
  content: "+";
  width: 1rem;
  margin-right: 0.5rem;
  color: var(--sand);
  font-size: 1rem;
}

details[open] > summary::before {
  content: "\2212";
}

summary::-webkit-details-marker {
  display: none;
}

/* Import card: a masked field, like a password box */
.import-card {
  margin-top: 0.75rem;
  padding: 1rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--ink);
}

.import-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.import-label {
  color: var(--sand);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.import-sub {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.import-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
}

.import-field {
  flex: 1 1 16rem;
  min-width: 0;
}

.mask {
  display: block;
  min-height: 44px;
  padding: 0 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: rgba(255, 255, 255, 0.45);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  line-height: 42px;
  white-space: nowrap;
  user-select: none;
}

.import-field .str {
  display: block;
  max-height: 7rem;
  margin: 0;
}

.import-actions {
  display: flex;
  gap: 0.5rem;
}

.import-actions .copy {
  align-self: auto;
  min-width: 6rem;
}

.ghost {
  min-width: 6rem;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ghost:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

@media (max-width: 600px) {
  .import-actions {
    width: 100%;
  }

  .import-actions .copy,
  .import-actions .ghost {
    flex: 1;
    min-width: 0;
    padding: 0 0.75rem;
    white-space: nowrap;
  }
}

.pick-label {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.tab::after {
  content: "+";
  margin-left: 0.6rem;
}

.tab[aria-expanded='true']::after {
  content: "-";
}

/* One continuous grid with category filters */
.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.cat {
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cat:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.cat[aria-pressed='true'] {
  border-color: var(--sand);
  background: var(--sand);
  color: #0a0a0a;
}

.addon-cat {
  margin-bottom: 0.25rem;
  color: var(--sand);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Cards without a screenshot are compact */
.addon-plain .addon-body {
  padding: 1rem 1rem 1.5rem;
}

.addon-plain .addon-desc {
  margin-bottom: 1rem;
}

.cat {
  padding: 0 1rem;
  letter-spacing: 0.06em;
}

/* Details panel inside the screenshot viewer */
.lightbox-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.5rem;
}

.lightbox-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lightbox-desc {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox-tip {
  margin: 0;
  color: var(--sand);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.8125rem;
}

.lightbox-info .pill-link {
  margin-top: 0.5rem;
}

/* Must-have scale */
.addon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.25rem;
}

.addon-top .addon-cat {
  margin-bottom: 0;
}

.stars {
  color: var(--sand);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.stars-1,
.stars-2 {
  color: rgba(181, 154, 99, 0.7);
}

.legend {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.lightbox-rating {
  margin: 0;
  color: var(--sand);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: pre;
}

/* 5 stars: the absolute must-have, OlympusMute only */
.wanted {
  color: #ff5a52;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stars.wanted {
  padding: 0.15rem 0.6rem;
  border: 1px solid rgba(255, 90, 82, 0.6);
  border-radius: 999px;
  background: rgba(255, 90, 82, 0.1);
}

.lightbox-rating.is-wanted {
  color: #ff5a52;
}

.addon-top {
  flex-wrap: wrap;
  row-gap: 0.25rem;
}

.addon-cat {
  white-space: nowrap;
}

/* Cards without a screenshot sit in the same grid, so their text fills the space an image would */
.addon-plain .addon-body {
  justify-content: flex-start;
  padding-top: 1.5rem;
}

/* Paired addons: two links on one card */
.addon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.addon-desc + .addon-links {
  margin-top: 1rem;
}

.addon-plain .addon-desc {
  margin-bottom: 1rem;
}

.addon-plain .addon-links {
  margin-top: auto;
}

.lightbox-info .pill-link[hidden] {
  display: none;
}

/* Two links on one row so a pair card is no taller than its neighbours */
.addon-links-pair {
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.addon-links-pair .pill-link {
  padding: 0 0.625rem;
  gap: 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

@media (max-width: 380px) {
  .addon-links-pair {
    flex-wrap: wrap;
  }
}

/* Small labels stay readable on phones */
.addon-cat,
.hero-cap {
  font-size: 0.75rem;
}

.addon-links-pair .pill-link {
  font-size: 0.75rem;
}

#pick-label {
  scroll-margin-top: 1rem;
}
