/* mods4claude — "potting shed" theme.
   Warm paper and ink with a sprout-green accent; a soft retro serif (Fraunces, SOFT/WONK axes)
   for headlines; classic pinstriped window chrome as the signature; surface diagrams show
   where a mod draws in Claude Code. */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f0eee6;
  --paper-2: #e8e5d9;
  --card: #faf9f5;
  --ink: #141413;
  --ink-2: #3d3d3a;
  --muted: #6b6a62;
  --line: #d8d4c5;
  --line-strong: #141413;
  --frame: #141413;
  --sprout: #b4dc8e;
  --sprout-2: #9fcf75;
  --sprout-soft: #e4f1d4;
  --sprout-ink: #15240e;
  --moss: #2f6a2a;
  --butter: #f3dc8c;
  --ok: #2f6a2a;
  --warn: #8a5a00;
  --bad: #b2402f;
  --screen: #1c1c1a;
  --screen-ink: #e9e6da;
  --screen-dim: #9c998d;
  --pop: 3px 3px 0 var(--line-strong);
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius: 14px;
  --sl-h: 30px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #1e1d1b;
    --paper-2: #252421;
    --card: #2a2926;
    --ink: #edeae0;
    --ink-2: #cfccc1;
    --muted: #a7a398;
    --line: #3d3b36;
    --line-strong: #0b0b0a;
    --frame: #8d897d;
    --sprout-2: #c4e6a3;
    --sprout-soft: #2c3825;
    --moss: #b9e094;
    --butter: #e9cf72;
    --ok: #9fd27a;
    --warn: #e6b34d;
    --bad: #f08a76;
    --screen: #121211;
    --pop: 3px 3px 0 #000;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #1e1d1b;
  --paper-2: #252421;
  --card: #2a2926;
  --ink: #edeae0;
  --ink-2: #cfccc1;
  --muted: #a7a398;
  --line: #3d3b36;
  --line-strong: #0b0b0a;
  --frame: #8d897d;
  --sprout-2: #c4e6a3;
  --sprout-soft: #2c3825;
  --moss: #b9e094;
  --butter: #e9cf72;
  --ok: #9fd27a;
  --warn: #e6b34d;
  --bad: #f08a76;
  --screen: #121211;
  --pop: 3px 3px 0 #000;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  padding-bottom: var(--sl-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--moss);
  text-decoration-color: color-mix(in srgb, var(--moss) 45%, transparent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection {
  background: var(--sprout);
  color: var(--sprout-ink);
}
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 500;
}
h1 {
  font: 500 clamp(1.9rem, 3.6vw, 2.75rem) / 1.08 var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 0, 'opsz' 96;
  letter-spacing: -0.015em;
}
h2 {
  font: 500 1.35rem/1.2 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 36;
}
h3 {
  font: 600 1rem/1.3 var(--sans);
}
code,
kbd {
  font-family: var(--mono);
  font-size: 0.86em;
}
p code,
li code,
dd > code:not(.chip) {
  background: var(--paper-2);
  border-radius: 5px;
  padding: 0.08em 0.38em;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(720px, 100% - 32px);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.nowrap {
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--card);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus {
  left: 8px;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.78rem/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin: 0 0 18px;
  padding: 6px 12px 6px 10px;
  border: 1px dashed var(--muted);
  border-radius: 999px;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sprout-2);
  box-shadow: 0 0 0 3px var(--sprout-soft);
}

/* ---- Top bar ---------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 1.3rem/1 var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 48;
  letter-spacing: -0.01em;
}
.logo em {
  font-style: italic;
  color: var(--moss);
  font-weight: 500;
  margin: 0 1px;
}
.logo-mark {
  flex: none;
  display: block;
}
.logo-mark .pot {
  fill: var(--ink);
}
.logo-mark .leaf {
  fill: var(--sprout-2);
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover {
  background: var(--paper-2);
}
.nav a[aria-current='page'] {
  background: var(--sprout-soft);
}
.nav a.nav-cta {
  margin-left: 6px;
  background: var(--ink);
  color: var(--paper);
}
.nav a.nav-cta:hover {
  background: var(--ink-2);
}
.nav-toggle,
.theme-toggle {
  font: inherit;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.theme-toggle {
  margin-left: 6px;
  padding: 6px 10px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
}
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav.open {
    display: flex;
  }
  .nav a.nav-cta,
  .theme-toggle {
    margin-left: 0;
    text-align: center;
  }
}

/* ---- Buttons & inputs ------------------------------------------------- */
.btn,
.search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 0.95rem/1 var(--sans);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--frame);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover,
.search button:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--pop);
}
.btn:active,
.search button:active {
  transform: none;
  box-shadow: none;
}
.btn-primary,
.search button {
  background: var(--sprout);
  color: var(--sprout-ink);
}
.btn-danger {
  color: var(--bad);
}
.btn-sm {
  padding: 7px 12px;
  font-size: 0.85rem;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search input[type='search'] {
  flex: 1 1 260px;
  min-width: 0;
  font: 400 1rem/1.2 var(--sans);
  padding: 14px 20px;
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--frame);
  border-radius: 999px;
}
.search input[type='search']::placeholder {
  color: var(--muted);
}
.search input[type='search']:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--sprout-soft), var(--pop);
}
.search-kbd {
  display: none;
}
.search select,
.form select,
.form input,
.form textarea {
  font: 400 1rem/1.35 var(--sans);
  padding: 11px 14px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
}
.form input:focus,
.form textarea:focus,
.form select:focus,
.search select:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px var(--sprout-soft);
}
.search select {
  width: auto;
  padding: 13px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--frame);
}
.check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
}
.check input {
  width: auto;
  accent-color: var(--moss);
}

/* ---- Hero ------------------------------------------------------------- */
.hero {
  padding: clamp(36px, 7vw, 88px) 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.display {
  font: 400 clamp(2.6rem, 6.4vw, 4.9rem) / 0.98 var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.display-sm {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
}
.swash {
  position: relative;
  white-space: nowrap;
  font-style: italic;
  font-weight: 350;
}
.swash svg {
  position: absolute;
  left: -2%;
  bottom: -0.1em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
  z-index: -1;
}
.swash path {
  fill: none;
  stroke: var(--sprout);
  stroke-width: 9;
  stroke-linecap: round;
}
.hero-copy {
  position: relative;
  z-index: 0;
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 0.95rem;
}

/* ---- Retro window chrome (signature) --------------------------------- */
.win {
  background: var(--card);
  border: 1.5px solid var(--frame);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--line-strong);
  overflow: hidden;
  min-width: 0;
}
.win-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border-bottom: 1.5px solid var(--frame);
  background: repeating-linear-gradient(to bottom, transparent 0 2px, var(--ink) 2px 3px) center 5px / calc(100% - 16px) 15px no-repeat,
    var(--card);
}
.win-box {
  position: absolute;
  left: 12px;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--frame);
  background: var(--card);
  box-shadow: 0 0 0 3px var(--card);
}
.win-title {
  font: 600 0.78rem/1 var(--mono);
  padding: 0 10px;
  background: var(--card);
  color: var(--ink);
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-body {
  padding: 20px 22px;
}
.win-body > h2:first-child {
  font-size: 1.3rem;
}
.hero-demo .win {
  transform: rotate(0.8deg);
}
.term {
  background: var(--screen);
  color: var(--screen-ink);
  font: 400 12.5px/1.65 var(--mono);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  min-height: 310px;
}
.term-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.term-main p,
.term-pane p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-user {
  color: #fff;
}
.t-claude::first-letter {
  color: var(--sprout);
}
.t-dim {
  color: var(--screen-dim);
}
.t-band,
.t-status,
.t-prompt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-band {
  margin-top: auto;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(180, 220, 142, 0.12);
  outline: 1px dashed var(--sprout);
}
.t-prompt {
  margin-top: 6px;
  padding: 8px;
  border: 1px solid #45443f;
  border-radius: 6px;
}
.t-status {
  margin-top: 6px;
  padding: 2px 8px;
  color: var(--screen-dim);
  outline: 1px dashed var(--sprout);
  border-radius: 4px;
}
.term-pane {
  border-left: 1px solid #33322e;
  padding: 16px 12px;
  background: rgba(180, 220, 142, 0.07);
  outline: 1px dashed var(--sprout);
  outline-offset: -6px;
  min-width: 0;
}
.t-pane-title {
  color: #fff;
  margin: 6px 0 8px !important;
}
.t-wrap {
  white-space: normal !important;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
}
.t-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sprout);
  color: var(--sprout-ink);
  border-radius: 3px;
  padding: 1px 5px;
  margin-right: 4px;
}
.caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--sprout);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (max-width: 520px) {
  .term {
    grid-template-columns: 1fr;
  }
  .term-pane {
    display: none;
  }
}

/* ---- Surface diagrams ------------------------------------------------- */
.surface {
  flex: none;
  display: block;
}
.surface-frame {
  fill: var(--card);
  stroke: var(--ink);
  stroke-width: 1.4;
}
.surface-line {
  fill: var(--line);
}
.surface-prompt {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1;
}
.surface-hi {
  fill: var(--sprout-2);
  stroke: var(--ink);
  stroke-width: 0.8;
}
.surface-stroke {
  fill: none;
  stroke: var(--moss);
  stroke-width: 2;
  stroke-linecap: round;
}
.surface-glyph {
  font: 700 10px/1 var(--mono);
  fill: var(--moss);
  stroke: none;
}
.surface-cut {
  fill: var(--card);
  stroke: none;
}

/* ---- Sections --------------------------------------------------------- */
.section {
  margin: 64px 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72;
}
.section-head p {
  margin: 0;
}
.section-head a {
  font-weight: 500;
}

.cat-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.cat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s;
}
.cat:hover {
  border-color: var(--frame);
  transform: translate(-2px, -2px);
  box-shadow: var(--pop);
}
.cat-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cat-text strong {
  font: 500 1.08rem/1.2 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
}
.cat-count {
  margin-left: auto;
  font: 500 0.78rem/1 var(--mono);
  color: var(--muted);
  background: var(--paper-2);
  padding: 4px 8px;
  border-radius: 999px;
}

/* ---- Cards ------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.mod-card {
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s;
}
.mod-card:hover {
  border-color: var(--frame);
  transform: translate(-2px, -2px);
  box-shadow: var(--pop);
}
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}
.mod-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.mod-card-head > div {
  min-width: 0;
}
.mod-name {
  font: 500 1.12rem/1.2 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
  margin: 0;
  overflow-wrap: anywhere;
}
.mod-repo {
  margin: 2px 0 0;
  font: 400 0.76rem/1.3 var(--mono);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mod-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.93rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.mod-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.stars {
  font-family: var(--mono);
  color: var(--ink);
}
.tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}
.mod-card-foot .tags {
  margin-left: auto;
}
.tag,
.chip {
  font: 500 0.72rem/1 var(--mono);
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.chip {
  border-radius: 6px;
}
a.tag {
  position: relative;
  z-index: 2;
}
a.tag:hover {
  background: var(--sprout-soft);
}
.badge {
  font: 600 0.72rem/1 var(--mono);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.badge-ok {
  color: var(--ok);
  background: var(--sprout-soft);
}
.badge-warn {
  color: var(--warn);
}
.badge-bad {
  color: var(--bad);
}
.origin-badge {
  font: 500 0.68rem/1 var(--mono);
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px dashed var(--muted);
  color: var(--muted);
}
.origin-badge.origin-community {
  border-style: solid;
  border-color: var(--moss);
  color: var(--moss);
  background: var(--sprout-soft);
}

/* ---- Posts ------------------------------------------------------------ */
.post-grid {
  columns: 3 300px;
  column-gap: 16px;
}
.post-grid-2 {
  columns: 2 280px;
}
.post-card {
  break-inside: avoid;
  margin-bottom: 16px;
}
.post-head {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.post-head > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 1rem/1 var(--display);
  background: var(--sprout-soft);
  color: var(--moss);
  border: 1px solid var(--line);
}
.post-name {
  font-size: 0.93rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-handle {
  font-size: 0.8rem;
  color: var(--muted);
}
.post-text {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}
.post-foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.post-foot a {
  margin-left: auto;
}

/* ---- Sponsors --------------------------------------------------------- */
.sponsor {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.sponsor::before {
  content: '';
  position: absolute;
  inset: 10px auto 10px 10px;
  width: 4px;
  border-radius: 4px;
  background: var(--butter);
}
.sponsor-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 16px 26px;
  color: var(--ink);
  text-decoration: none;
}
.sponsor-link:hover .sponsor-title {
  text-decoration: underline;
  text-decoration-color: var(--sprout-2);
  text-decoration-thickness: 2px;
}
.sponsor-label {
  position: absolute;
  top: 12px;
  right: 14px;
  font: 500 0.66rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.sponsor-title {
  font: 500 1.1rem/1.25 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
  padding-right: 90px;
}
.sponsor-tagline {
  color: var(--ink-2);
  font-size: 0.93rem;
}
.sponsor-by {
  font: 500 0.74rem/1 var(--mono);
  color: var(--muted);
  margin-top: 4px;
}
.sponsor-banner .sponsor-link {
  padding: 20px 22px 20px 30px;
}
.sponsor-empty {
  background: transparent;
  border-style: dashed;
}
.sponsor-empty::before {
  background: var(--line);
}
.sponsor-side {
  margin-bottom: 12px;
}
.sponsor-side .sponsor-title {
  padding-right: 0;
  margin-top: 16px;
}
.sponsor-card {
  display: flex;
}
.sponsor-card .sponsor-link {
  flex: 1;
}

/* ---- Browse ----------------------------------------------------------- */
.browse {
  padding-top: 32px;
}
.browse-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 32px;
}
.browse .browse-head {
  padding-top: 0;
}
.browse-head h1 {
  margin: 0;
  overflow-wrap: anywhere;
}
.search-browse {
  margin: 18px 0 28px;
}
.browse-grid {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 84px;
}
.filters ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.filters a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.filters a .muted {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.74rem;
}
.filters a:hover {
  background: var(--paper-2);
}
.filters a[aria-current='true'] {
  background: var(--sprout-soft);
  font-weight: 600;
}
.filters-h {
  font: 500 0.74rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 10px;
}
.filters-cta {
  margin: 0 0 20px;
  padding: 14px;
  border: 1px dashed var(--muted);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.filters-cta p {
  margin: 0 0 10px;
}
@media (max-width: 860px) {
  .browse-grid {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
  }
  .filters ul {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 8px;
  }
  .filters li {
    flex: none;
  }
  .filters a {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .filters a .muted,
  .filters-ads,
  .filters-cta,
  .filters-h {
    display: none;
  }
}
.empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--card);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0;
  gap: 12px;
}
.pagination a {
  font-weight: 600;
}
.tabs {
  display: inline-flex;
  gap: 4px;
  margin: 16px 0 24px;
  padding: 4px;
  background: var(--paper-2);
  border-radius: 999px;
}
.tabs a {
  padding: 7px 16px;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
}
.tabs a[aria-current='page'] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

/* ---- Mod page --------------------------------------------------------- */
.mod-page {
  padding-top: 28px;
}
.crumbs {
  font: 400 0.8rem/1.4 var(--mono);
  color: var(--muted);
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.mod-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 920px) {
  .mod-layout {
    grid-template-columns: 1fr;
  }
}
.mod-hero {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
}
.mod-hero p {
  margin: 0 0 8px;
}
.mod-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  overflow-wrap: anywhere;
  margin-bottom: 6px;
}
@media (max-width: 520px) {
  .mod-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}
.mod-description {
  font: 400 1.25rem/1.5 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
  max-width: 64ch;
  overflow-wrap: anywhere;
  margin: 0 0 28px;
}
.mod-main > .win {
  margin-bottom: 24px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 0 0 20px;
}
.panel h2 {
  font-size: 1.3rem;
}
.panel.ok {
  border-color: var(--ok);
  background: var(--sprout-soft);
}
.panel.bad {
  border-color: var(--bad);
  color: var(--bad);
}
.panel.warn {
  border-color: var(--warn);
}
.copyline {
  display: flex;
  align-items: stretch;
  background: var(--screen);
  color: var(--screen-ink);
  border-radius: 10px;
  margin: 8px 0;
  overflow: hidden;
}
.copyline code {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.82rem;
}
.copyline code::before {
  content: '› ';
  color: var(--sprout);
}
.copy-btn {
  font: 600 0.74rem/1 var(--mono);
  background: rgba(255, 255, 255, 0.07);
  color: var(--screen-ink);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  cursor: pointer;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.copy-btn.copied {
  background: var(--sprout);
  color: var(--sprout-ink);
}
.actions {
  margin: 16px 0 0;
}
.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px 20px;
  margin: 0;
}
.facts dt {
  font: 500 0.74rem/2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .facts {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .facts dd {
    margin-bottom: 12px;
  }
}
.reach {
  font-family: var(--mono);
  font-size: 0.85rem;
}
.origin {
  background: repeating-linear-gradient(-45deg, transparent 0 10px, color-mix(in srgb, var(--sprout-soft) 70%, transparent) 10px 11px), var(--card);
}

/* ---- Install explainer & submit CTA ---------------------------------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .how {
    grid-template-columns: 1fr;
  }
}
.how-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 14px;
}
.how-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.how-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--frame);
  background: var(--sprout);
  color: var(--sprout-ink);
  font: 600 0.9rem/1 var(--mono);
}
.how-steps h3 {
  margin: 4px 0 2px;
  font-size: 0.95rem;
}
.submit-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--sprout);
  color: var(--sprout-ink);
  border: 1.5px solid #141413;
  box-shadow: 6px 6px 0 #141413;
}
.submit-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 96;
  margin: 0;
}
.submit-cta p {
  margin: 0;
  max-width: 46ch;
}
.submit-cta a:not(.btn) {
  color: inherit;
}
.submit-cta .btn {
  align-self: flex-start;
  background: #141413;
  color: #f0eee6;
  border-color: #141413;
}

/* ---- Forms ------------------------------------------------------------ */
.form {
  display: grid;
  gap: 18px;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}
.form label.check {
  display: flex;
}
.form-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-2col .span-2 {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .form-2col {
    grid-template-columns: 1fr;
  }
}
.form-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.form-inline input,
.form-inline select {
  width: auto;
  flex: 1 1 160px;
}
.inline-form {
  display: inline;
}
.checklist-box {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.checklist-box li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
}
.checklist-box li::before {
  content: '✓';
  color: var(--moss);
  font-weight: 700;
}

/* ---- Sponsor page ----------------------------------------------------- */
.sponsor-hero {
  padding: 48px 0 28px;
  max-width: 820px;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 860px) {
  .slot-grid {
    grid-template-columns: 1fr;
  }
}
.slot {
  margin: 0;
  position: relative;
}
.slot h2 {
  font-size: 1.35rem;
}
.price {
  font: 400 2.2rem/1 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 96;
  margin: 6px 0 12px;
}
.booking {
  border: 1.5px solid var(--frame);
  box-shadow: 6px 6px 0 var(--line-strong);
}

/* ---- Prose / legal ---------------------------------------------------- */
.prose,
.legal {
  padding: 36px 0 56px;
  max-width: 70ch;
  overflow-wrap: anywhere;
}
.legal h2,
.prose h2 {
  margin-top: 2em;
}
.legal h3 {
  margin-top: 1.5em;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}
.legal th,
.legal td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 8px 10px 8px 0;
  vertical-align: top;
}

/* ---- Admin ------------------------------------------------------------ */
.admin {
  padding-bottom: 48px;
}
.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table th,
.table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.actions-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status {
  font: 600 0.72rem/1 var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
}
.status-active {
  color: var(--ok);
}
.status-paid_pending_review,
.status-requested {
  color: var(--warn);
}
.status-refunded,
.status-rejected {
  color: var(--bad);
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li::before {
  content: '✗ ';
  color: var(--bad);
  font-family: var(--mono);
}
.checklist li[data-ok='true']::before {
  content: '✓ ';
  color: var(--ok);
}

/* ---- Footer, notice, status line ------------------------------------- */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 48px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-grid nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
}
.footer-grid nav a:hover {
  color: var(--moss);
  text-decoration: underline;
}
.footer-h {
  font: 500 0.72rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
}
.footer-logo {
  margin-top: 0;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

.notice {
  position: fixed;
  left: 16px;
  bottom: calc(var(--sl-h) + 14px);
  max-width: min(420px, calc(100% - 32px));
  background: var(--card);
  border: 1.5px solid var(--frame);
  box-shadow: var(--pop);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  z-index: 30;
}
.notice[hidden] {
  display: none;
}
.notice p {
  margin: 0;
}
.notice-close {
  font: 600 0.85rem/1 var(--sans);
  border: 1.5px solid #141413;
  background: var(--sprout);
  color: var(--sprout-ink);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.statusline {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--sl-h);
  display: flex;
  align-items: stretch;
  background: var(--screen);
  color: var(--screen-ink);
  font: 500 11.5px/var(--sl-h) var(--mono);
  z-index: 25;
  overflow: hidden;
  white-space: nowrap;
}
.sl-seg {
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.sl-brand {
  background: var(--sprout);
  color: var(--sprout-ink);
  font-weight: 600;
}
.sl-right {
  margin-left: auto;
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--screen-dim);
}
@media (max-width: 600px) {
  .sl-hide-sm {
    display: none;
  }
}

/* Grid children must be allowed to shrink below their content width on phones. */
.how > *,
.browse-grid > *,
.mod-layout > *,
.hero-grid > * {
  min-width: 0;
}
main > .narrow:not(.prose) {
  padding-top: 36px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-demo .win {
    transform: none;
  }
}

.panel .filters-h {
  font: 500 0.74rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---- Votes ------------------------------------------------------------ */
.mod-hero-text {
  flex: 1;
  min-width: 0;
}
.vote {
  flex: none;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: var(--card);
  border: 1.5px solid var(--frame);
  border-radius: 999px;
  box-shadow: var(--pop);
}
.vote form {
  margin: 0;
}
.vote.busy {
  opacity: 0.6;
}
.vote-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.95rem/1 var(--mono);
  cursor: pointer;
}
.vote-btn:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.vote-up[aria-pressed='true'] {
  background: var(--sprout);
  color: var(--sprout-ink);
}
.vote-down[aria-pressed='true'] {
  background: var(--paper-2);
  color: var(--bad);
}
.vote-score {
  font: 600 1.05rem/1 var(--display);
  min-width: 2ch;
  text-align: center;
}
@media (max-width: 520px) {
  .vote {
    flex-direction: row;
    align-self: flex-start;
  }
}
.score {
  font-family: var(--mono);
  color: var(--moss);
}

/* ---- Notable makers --------------------------------------------------- */
.maker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.02em;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--butter);
  color: #2a2208;
  border: 1px solid var(--frame);
  margin-bottom: 6px;
}
.maker-badge.maker-official {
  background: var(--sprout);
  color: var(--sprout-ink);
}
.mod-card.is-notable {
  border-color: var(--frame);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--butter) 35%, transparent) 0 70px, transparent 71px),
    var(--card);
}
.mod-card.is-official {
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--sprout) 45%, transparent) 0 70px, transparent 71px),
    var(--card);
}
.notable-section .section-head h2 span {
  color: var(--moss);
}

/* ---- Maker card ------------------------------------------------------- */
.maker-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.maker-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--frame);
  background: var(--sprout-soft);
  object-fit: cover;
  image-rendering: auto;
}
.maker-name {
  margin: 0;
  font: 500 1.15rem/1.2 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
}
.maker-head p {
  margin: 0;
}
.maker-why {
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--butter);
  color: #2a2208;
  font: 500 0.8rem/1.3 var(--mono);
}
.maker-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 8px 0 0;
}
.maker-notable {
  border: 1.5px solid var(--frame);
  box-shadow: var(--pop);
}
.mod-side .copyline code {
  font-size: 0.7rem;
}
@media (max-width: 640px) {
  .mod-description {
    font-size: 1.05rem;
  }
}

/* ---- Ad CTAs (open spots) -------------------------------------------- */
.btn-lg {
  padding: 15px 24px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}
.ad-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, transparent 0 12px, color-mix(in srgb, var(--butter) 30%, transparent) 12px 13px),
    var(--card);
  border: 1.5px dashed var(--frame);
}
.ad-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1 1 320px;
}
.ad-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 0.72rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.ad-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sprout-2);
  box-shadow: 0 0 0 3px var(--sprout-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px var(--sprout-soft);
  }
}
.ad-cta-title {
  font: 500 clamp(1.25rem, 2.4vw, 1.7rem) / 1.15 var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72;
}
.ad-cta-sub {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.ad-cta-btn {
  padding: 15px 24px;
  font-size: 1.05rem;
  box-shadow: var(--pop);
}
.ad-cta-side {
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 18px;
}
.ad-cta-side .ad-cta-text {
  flex: none;
}
.ad-cta-side .ad-cta-title {
  font-size: 1.2rem;
}
.ad-cta-side .ad-cta-btn {
  text-align: center;
}
.ad-cta-card {
  flex-direction: column;
  align-items: stretch;
  padding: 18px;
}
.ad-cta-card .ad-cta-text {
  flex: 1;
}
.ad-cta-card .ad-cta-title {
  font-size: 1.2rem;
}

/* ---- Booking flow ----------------------------------------------------- */
.sponsor-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  gap: 10px 28px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.sponsor-facts strong {
  font: 500 1.5rem/1 var(--display);
  color: var(--ink);
  margin-right: 4px;
}
.booking-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
  scroll-margin-top: 80px;
  margin-top: 12px;
}
.booking-flow > .panel {
  grid-column: 1 / -1;
  margin: 0;
}
.booking-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.booking-summary {
  position: sticky;
  top: 84px;
}
@media (max-width: 920px) {
  .booking-flow {
    grid-template-columns: 1fr;
  }
  .booking-summary {
    position: static;
  }
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px 22px 22px;
  margin: 0;
  min-width: 0;
}
.step legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  margin-left: -8px;
  font: 500 1.25rem/1 var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 36;
}
.step-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--frame);
  background: var(--sprout);
  color: var(--sprout-ink);
  font: 600 0.85rem/1 var(--mono);
}
.slot-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 760px) {
  .slot-options {
    grid-template-columns: 1fr;
  }
}
.slot-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: var(--paper);
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}
.slot-option:hover {
  border-color: var(--frame);
}
.slot-option input {
  position: absolute;
  top: 12px;
  right: 12px;
  accent-color: var(--moss);
  width: 18px;
  height: 18px;
}
.slot-option.is-selected,
.slot-option:has(input:checked) {
  border-color: var(--frame);
  background: var(--card);
  box-shadow: var(--pop);
  transform: translate(-1px, -1px);
}
.slot-option-name {
  font: 500 1.1rem/1.2 var(--display);
}
.slot-option-price {
  font: 500 1.5rem/1 var(--display);
}
.slot-option-avail {
  font-family: var(--mono);
  color: var(--moss);
}
.slot-option-avail.is-full {
  color: var(--bad);
}
.placement {
  width: 100%;
  max-width: 160px;
  height: auto;
}
.pl-frame {
  fill: var(--card);
  stroke: var(--ink);
  stroke-width: 1.2;
}
.pl-line {
  fill: var(--line);
}
.pl-hi {
  fill: var(--butter);
  stroke: var(--ink);
  stroke-width: 1;
}
.ad-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 20px;
}
@media (max-width: 760px) {
  .ad-compose {
    grid-template-columns: 1fr;
  }
}
.ad-preview .sponsor {
  margin-bottom: 10px;
}
.summary-lines {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0 0 14px;
  font-size: 0.93rem;
}
.summary-lines dt {
  color: var(--muted);
}
.summary-lines dd {
  margin: 0;
  text-align: right;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  margin: 0 0 14px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.summary-total strong {
  font: 500 2rem/1 var(--display);
}
.booking-summary .checklist-box {
  margin-top: 14px;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.faq dt {
  font-weight: 600;
  margin-top: 14px;
}
.faq dd {
  margin: 4px 0 0;
  color: var(--ink-2);
}

/* ---- Featured videos (hero) ------------------------------------------- */
.featured-win {
  transform: rotate(0.6deg);
}
.featured-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0;
  background: var(--card);
  overflow-x: auto;
}
.featured-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font: 600 0.85rem/1 var(--sans);
  padding: 8px 12px;
  border: 1.5px solid transparent;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.featured-tab:hover {
  color: var(--ink);
}
.featured-tab[aria-selected='true'] {
  background: var(--paper);
  border-color: var(--frame);
  color: var(--ink);
}
.featured-stage {
  border-top: 1.5px solid var(--frame);
  background: var(--paper);
  line-height: 0;
}
.featured-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--paper);
}
.featured-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1.5px solid var(--frame);
  background: var(--card);
}
.featured-caption[hidden] {
  display: none;
}
.featured-caption strong {
  font: 500 1.1rem/1.2 var(--display);
}
.featured-caption p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.featured-note {
  margin: 14px 0 0;
  text-align: right;
}
@media (prefers-reduced-motion: reduce) {
  .featured-win {
    transform: none;
  }
}
.hero-grid:has(.featured-win) {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
@media (max-width: 920px) {
  .hero-grid:has(.featured-win) {
    grid-template-columns: 1fr;
  }
}
.featured-win {
  transform: none;
  border: 1.5px solid var(--frame);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 6px 6px 0 var(--line-strong);
}
.featured-tabs {
  padding: 10px 10px 0;
}
.featured-caption .btn {
  white-space: nowrap;
  flex: none;
}
