/* ==========================================================================
   BeMySupporter — design system
   Mobile-first. Base styles target 375px; breakpoints add up from there.
   ========================================================================== */

:root {
  /* Brand */
  --green: #1d9e75;
  --green-dark: #0f6e56;
  --green-light: #e1f5ee;
  --green-tint: #f4fbf8;

  /* Ink */
  --ink: #12241f;
  --ink-2: #3b4a45;
  --ink-3: #6e807a;
  --ink-4: #97a6a1;

  /* Surfaces */
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-2: #f2f7f5;
  --line: #e4ebe8;
  --line-strong: #d2ded9;

  /* Status */
  --danger: #c0492f;
  --danger-bg: #fdf1ee;
  --warn: #a86a1f;
  --warn-bg: #fdf6e9;
  --info: #2a6f97;
  --info-bg: #eef6fb;

  /* Shape */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 60, 48, 0.06);
  --shadow: 0 2px 8px rgba(15, 60, 48, 0.07);
  --shadow-lg: 0 12px 32px rgba(15, 60, 48, 0.12);
  --shadow-pop: 0 20px 48px rgba(15, 60, 48, 0.18);

  /* Rhythm */
  --gutter: 16px;
  --max: 1160px;
  --nav-h: 60px;
  --tap: 44px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ reset -- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
h4 { font-size: 0.95rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--green-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

small { font-size: 0.8125rem; }

code,
kbd,
pre {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--green-light);
  color: var(--green-dark);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-mid {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page {
  padding-block: 24px 56px;
  min-height: 60vh;
}

.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.stack-lg > * + * { margin-top: 28px; }

.row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.row-between {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.row-wrap { flex-wrap: wrap; }
.row-top { align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--ink-3); }
.dim { color: var(--ink-4); }
.tiny { font-size: 0.78rem; line-height: 1.5; }
.strong { font-weight: 600; color: var(--ink); }
.nowrap { white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; }
.hide { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  flex: 0 0 auto;
}

.nav-search {
  display: none;
  flex: 1 1 auto;
  max-width: 380px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
}
.nav-link[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-light);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  width: var(--tap);
  height: var(--tap);
  border: 0;
  background: transparent;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 18px;
  flex: 0 0 auto;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

.badge-dot {
  position: absolute;
  top: 7px;
  right: 6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  border: 2px solid var(--surface);
  box-sizing: content-box;
}

.avatar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--green-light);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  flex: 0 0 auto;
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile drawer */
.nav-toggle { display: grid; }

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 55;
  background: var(--surface);
  padding: 16px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s var(--ease);
  visibility: hidden;
}
.drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--tap);
  padding: 12px 14px;
  border-radius: var(--r);
  color: var(--ink);
  font-weight: 500;
  border: 1px solid transparent;
}
.drawer-link:hover { background: var(--surface-2); text-decoration: none; }
.drawer-link[aria-current="page"] {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
}
.drawer-section {
  margin: 20px 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding-inline: 14px;
}

/* Dropdown menu (desktop account) */
.menu-wrap { position: relative; }

.menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 70;
  display: none;
}
.menu[data-open="true"] { display: block; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 0.9rem;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.menu-item:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.menu-head {
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.menu-sep { height: 1px; background: var(--line); margin: 6px 0; }

/* --------------------------------------------------------------- buttons -- */

.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  --btn-bd: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 11px 20px;
  border-radius: var(--r);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: filter 0.15s var(--ease), transform 0.08s var(--ease), box-shadow 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.btn:hover { filter: brightness(0.95); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn-primary { box-shadow: 0 1px 2px rgba(15, 110, 86, 0.28); }

.btn-secondary {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn-secondary:hover { --btn-bg: var(--surface-2); filter: none; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-2);
  --btn-bd: transparent;
}
.btn-ghost:hover { --btn-bg: var(--surface-2); filter: none; }

.btn-soft {
  --btn-bg: var(--green-light);
  --btn-fg: var(--green-dark);
  --btn-bd: transparent;
}

.btn-danger {
  --btn-bg: var(--danger);
  --btn-fg: #fff;
  --btn-bd: var(--danger);
}

.btn-danger-soft {
  --btn-bg: var(--danger-bg);
  --btn-fg: var(--danger);
  --btn-bd: transparent;
}

.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 0.85rem; border-radius: var(--r-sm); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; border-radius: var(--r-lg); }

.btn-google {
  --btn-bg: #fff;
  --btn-fg: #1f2937;
  --btn-bd: var(--line-strong);
  font-weight: 600;
}
.btn-google:hover { --btn-bg: #f8fafb; filter: none; }
.btn-google svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn[data-loading="true"] { color: transparent !important; position: relative; pointer-events: none; }
.btn[data-loading="true"]::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  color: var(--btn-fg);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- cards -- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
}
.card-pad-lg { padding: 24px; }
.card-flush { padding: 0; overflow: hidden; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.card-head h2,
.card-head h3 { margin: 0; }

.panel {
  background: var(--green-tint);
  border: 1px solid var(--green-light);
  border-radius: var(--r-lg);
  padding: 16px;
}

.section { margin-block: 36px; }
.section:first-of-type { margin-top: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head h2 { margin: 0; }
.section-head a { font-size: 0.875rem; font-weight: 600; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 6px;
}

/* ----------------------------------------------------------------- forms -- */

.field { margin-bottom: 16px; }

.label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.label .req { color: var(--danger); }
.label-hint {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 2px;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 11px 14px;
  font: inherit;
  font-size: 1rem; /* 16px stops iOS zoom-on-focus */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  appearance: none;
}
.input:hover,
.select:hover,
.textarea:hover { border-color: var(--ink-4); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.16);
}
.input::placeholder,
.textarea::placeholder { color: var(--ink-4); }
.input:disabled,
.select:disabled,
.textarea:disabled {
  background: var(--surface-2);
  color: var(--ink-3);
  cursor: not-allowed;
}
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: var(--danger); }

.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236e807a' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 38px;
}

.input-group { display: flex; }
.input-group .select {
  flex: 0 0 auto;
  width: auto;
  min-width: 108px;
  border-radius: var(--r) 0 0 var(--r);
  border-right: 0;
}
.input-group .input {
  flex: 1 1 auto;
  border-radius: 0 var(--r) var(--r) 0;
  min-width: 0;
}

.input-affix {
  position: relative;
}
.input-affix .affix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-weight: 600;
  pointer-events: none;
}
.input-affix .input { padding-left: 32px; }

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--danger);
  font-weight: 500;
}
.field-ok {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--green-dark);
  font-weight: 600;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 4px 0;
  min-height: var(--tap);
  align-content: center;
}
.check input[type="checkbox"],
.check input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--green);
  flex: 0 0 auto;
  cursor: pointer;
}
.check span { font-size: 0.9rem; }

.radio-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.radio-card:hover { border-color: var(--green); }
.radio-card input { margin-top: 2px; accent-color: var(--green); width: 20px; height: 20px; flex: 0 0 auto; }
.radio-card:has(input:checked) {
  border-color: var(--green);
  background: var(--green-tint);
  box-shadow: 0 0 0 1px var(--green);
}
.radio-card strong { display: block; color: var(--ink); margin-bottom: 2px; }

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.form-actions .btn { flex: 1 1 160px; }

fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; font-weight: 700; color: var(--ink); }

/* Honeypot: visually gone, still fillable by naive bots. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ---------------------------------------------------------------- tables -- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--green-tint); }
.table td.num,
.table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- badges --- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--ink-2);
}
.badge-good { background: var(--green-light); color: var(--green-dark); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: var(--surface-2); color: var(--ink-3); }

.pill-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.pill-row::-webkit-scrollbar { display: none; }

.pill {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  scroll-snap-align: start;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.pill:hover { border-color: var(--green); color: var(--green-dark); text-decoration: none; }
.pill[aria-current="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ----------------------------------------------------------------- grids -- */

.grid-listings {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 359px) {
  .grid-listings { grid-template-columns: 1fr; }
}

.grid-creators {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }

/* --------------------------------------------------------- listing cards -- */

.lcard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.lcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.lcard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--green-light), #d3ece3);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.lcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lcard-emoji { font-size: 2.6rem; line-height: 1; opacity: 0.85; }

.lcard-body {
  padding: 11px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.lcard-handle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  position: relative;
  z-index: 2;
}
.lcard-handle:hover { text-decoration: underline; }

.lcard-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}

.lcard-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.lcard-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lcard-price .from {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 3px;
}

/* Whole-card click target sitting under the interactive bits. */
.lcard-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lcard-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 2;
}
.lcard-tags .badge {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

.heart {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--ink-3);
  transition: transform 0.15s var(--ease), background 0.15s var(--ease);
  backdrop-filter: blur(4px);
}
.heart:hover { transform: scale(1.08); }
.heart:active { transform: scale(0.94); }
.heart[aria-pressed="true"] { color: #e0483a; }
.heart[aria-pressed="true"] .heart-on { display: inline; }
.heart[aria-pressed="true"] .heart-off { display: none; }
.heart .heart-on { display: none; }

.soldout-veil {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: 1;
  pointer-events: none;
}

/* -------------------------------------------------------- creator cards --- */

.ccard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.ccard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.ccard-banner {
  height: 68px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  position: relative;
}
.ccard-banner img { width: 100%; height: 100%; object-fit: cover; }

.ccard-body {
  padding: 0 14px 16px;
  text-align: center;
  margin-top: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1 1 auto;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--green-light);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 34px; height: 34px; border-width: 2px; font-size: 0.8rem; }
.avatar-lg { width: 92px; height: 92px; border-width: 4px; font-size: 1.9rem; }

.ccard-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 6px;
}
.ccard-handle { font-size: 0.8rem; color: var(--ink-3); }
.ccard-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 0.76rem;
  color: var(--ink-3);
  margin: 6px 0 10px;
}
.ccard .btn { width: 100%; margin-top: auto; }

/* ------------------------------------------------------------------ hero -- */

.hero {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(29, 158, 117, 0.14), transparent 60%),
    radial-gradient(100% 80% at 96% 8%, rgba(15, 110, 86, 0.1), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: 40px 36px;
}

.hero h1 {
  font-size: clamp(1.85rem, 7.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  max-width: 18ch;
}
.hero .lede {
  font-size: 1.0125rem;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { flex: 1 1 auto; min-width: 150px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: 0.82rem;
  color: var(--ink-3);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }

.grad-text {
  background: linear-gradient(100deg, var(--green), var(--green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--green-dark);
}

/* -------------------------------------------------------------- profile --- */

.profile-banner {
  height: 132px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  position: relative;
  overflow: hidden;
}
.profile-banner img { width: 100%; height: 100%; object-fit: cover; }

.profile-head {
  margin-top: -46px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-stats {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.profile-stats b { color: var(--ink); font-weight: 700; }

/* ------------------------------------------------------------- listing pg -- */

.gallery { display: grid; gap: 10px; }

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light), #d3ece3);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .lcard-emoji { font-size: 4rem; }

.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumb {
  width: 62px;
  height: 62px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.gallery-thumb[aria-current="true"] { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.buybox { position: relative; }

.price-tag {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.1;
}

.fee-note {
  font-size: 0.8rem;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------- metrics -- */

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 16px;
}
.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.metric-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.metric-sub { font-size: 0.78rem; color: var(--ink-4); margin-top: 2px; }

.metric-hero {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-color: transparent;
  color: #fff;
}
.metric-hero .metric-label { color: rgba(255, 255, 255, 0.8); }
.metric-hero .metric-value { color: #fff; }
.metric-hero .metric-sub { color: rgba(255, 255, 255, 0.85); }

.progress {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  transition: width 0.4s var(--ease);
}
.progress-on-dark { background: rgba(255, 255, 255, 0.28); }
.progress-on-dark .progress-bar { background: #fff; }

/* --------------------------------------------------------------- notices -- */

.notice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 15px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.885rem;
  line-height: 1.55;
}
.notice-icon { flex: 0 0 auto; font-size: 1rem; line-height: 1.4; }
.notice strong { color: inherit; }
.notice-good { background: var(--green-tint); border-color: var(--green-light); color: var(--green-dark); }
.notice-warn { background: var(--warn-bg); border-color: #f0e0bd; color: var(--warn); }
.notice-bad { background: var(--danger-bg); border-color: #f6dcd4; color: var(--danger); }
.notice-info { background: var(--info-bg); border-color: #d5e7f2; color: var(--info); }
.notice a { color: inherit; text-decoration: underline; font-weight: 600; }

.notice-bar {
  background: var(--warn-bg);
  border-bottom: 1px solid #f0e0bd;
  color: var(--warn);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
}

/* ---------------------------------------------------------------- toasts -- */

.toast-host {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 420px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 15px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: 0.885rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: var(--shadow-pop);
  animation: toast-in 0.24s var(--ease);
}
.toast[data-leaving="true"] { animation: toast-out 0.2s var(--ease) forwards; }
.toast-success { background: var(--green-dark); }
.toast-error { background: #9e3826; }
.toast-info { background: #24506b; }
.toast-close {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 6px;
  margin-left: auto;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px) scale(0.98); }
}

/* ---------------------------------------------------------------- modals -- */

.modal-host {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 40, 33, 0.5);
  backdrop-filter: blur(3px);
  padding: 0;
}
.modal-host[data-open="true"] { display: flex; }

.modal {
  background: var(--surface);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  animation: sheet-up 0.26s var(--ease);
  -webkit-overflow-scrolling: touch;
}

@keyframes sheet-up {
  from { transform: translateY(28px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.modal-head h2 { margin: 0; font-size: 1.15rem; }

.modal-grip {
  width: 40px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  margin: 0 auto 14px;
}

/* ------------------------------------------------------------- skeletons -- */

.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, #e9f0ed 37%, var(--surface-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
  border-radius: var(--r-sm);
}
.skeleton-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.skeleton-media { aspect-ratio: 1 / 1; }
.skeleton-line { height: 11px; margin: 9px 12px; }
.skeleton-line.short { width: 45%; }

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* --------------------------------------------------------------- empties -- */

.empty {
  text-align: center;
  padding: 44px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.empty-emoji { font-size: 2.4rem; margin-bottom: 10px; line-height: 1; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--ink-3); max-width: 38ch; margin-inline: auto; }
.empty .btn { margin-top: 18px; }

/* ----------------------------------------------------------------- steps -- */

.steps {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.steps::-webkit-scrollbar { display: none; }

.step {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.step-n {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--line-strong);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  flex: 0 0 auto;
}
.step[data-state="current"] { background: var(--green); color: #fff; }
.step[data-state="current"] .step-n { background: rgba(255, 255, 255, 0.28); }
.step[data-state="done"] { background: var(--green-light); color: var(--green-dark); }
.step[data-state="done"] .step-n { background: var(--green); }

/* ------------------------------------------------------------ dash layout -- */

.dash {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.side-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.side-nav::-webkit-scrollbar { display: none; }

.side-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  color: var(--ink-3);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  min-height: 42px;
}
.side-link:hover { color: var(--ink); text-decoration: none; background: var(--surface-2); }
.side-link[aria-current="page"] {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

/* -------------------------------------------------------------- sale feed -- */

.feed { display: flex; flex-direction: column; }

.feed-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.feed-item:last-child { border-bottom: 0; }

.feed-emoji {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--green-light);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.feed-amount {
  font-weight: 800;
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --------------------------------------------------------------- footer --- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 32px 40px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 10px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink-2); font-size: 0.875rem; }
.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-4);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* --------------------------------------------------------------- meters --- */

.meter-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.tier-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

.tier-opt {
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.tier-opt:hover { border-color: var(--green); }
.tier-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tier-opt:has(input:checked) {
  border-color: var(--green);
  background: var(--green-tint);
  box-shadow: 0 0 0 1px var(--green);
}
.tier-mb { font-weight: 800; color: var(--ink); font-size: 0.95rem; }
.tier-fee { font-size: 0.76rem; color: var(--ink-3); }

.cost-table { width: 100%; font-size: 0.9rem; }
.cost-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.cost-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.cost-table tr:last-child td {
  border-bottom: 0;
  padding-top: 12px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink);
}

.variant-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
}
.variant-row .input { min-height: 40px; font-size: 0.9rem; }

.dropzone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 26px 18px;
  text-align: center;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.dropzone:hover,
.dropzone[data-drag="true"] { border-color: var(--green); background: var(--green-tint); }
.dropzone-emoji { font-size: 1.9rem; margin-bottom: 6px; }

.photo-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
}
.photo-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--danger);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------ breakpoints -- */

@media (min-width: 480px) {
  .grid-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-creators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .variant-row { grid-template-columns: 2fr 1fr 1fr auto; align-items: center; }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  body { font-size: 15.5px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .grid-listings { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-actions .btn { flex: 0 0 auto; }
  .modal-host { align-items: center; padding: 20px; }
  .modal { border-radius: var(--r-xl); padding: 24px; }
  .modal-grip { display: none; }
  .hero { padding-block: 64px 56px; }
  .profile-banner { height: 190px; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-search { display: block; }
  .nav-toggle { display: none; }
  .drawer { display: none; }
  .grid-listings { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-creators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .listing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
  .buybox { position: sticky; top: calc(var(--nav-h) + 20px); }
  .dash { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .side-nav {
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding-right: 12px;
    padding-bottom: 0;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
  }
  .side-link {
    border-radius: var(--r-sm);
    border-bottom: 0;
    border-left: 2px solid transparent;
    width: 100%;
  }
  .side-link[aria-current="page"] {
    border-bottom-color: transparent;
    border-left-color: var(--green);
    background: var(--green-light);
  }
  .hero h1 { font-size: 3.4rem; }
  .hero .lede { font-size: 1.1rem; }
  .grid-creators { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .grid-listings { gap: 22px; }
}

/* ------------------------------------------------------------ long copy -- */

/* Legal and editorial pages, where the markup is plain headings and text. */
.prose { max-width: 68ch; }
.prose h1 { margin-bottom: 6px; }
.prose h2 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.prose h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  color: var(--ink-2);
}
.prose p,
.prose li { color: var(--ink-2); line-height: 1.72; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); }

/* ---------------------------------------------------------------- chart -- */

/*
 * A bare CSS bar chart. Deliberately not a charting library: the whole point
 * of this build is that it runs on shared hosting with no build step, and one
 * dimension of data does not justify shipping a dependency.
 */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 160px;
  padding-top: 8px;
}
.chart-col {
  flex: 1 1 0;
  min-width: 3px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.chart-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  transition: opacity 0.15s var(--ease);
}
.chart-col:hover .chart-bar { opacity: 0.72; }

/* -------------------------------------------------------------- choices -- */

/* Radio card, used where two options each need their own extra input. */
.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.choice:hover { border-color: var(--ink-4); }
.choice:has(input:checked) {
  border-color: var(--green);
  background: var(--green-tint);
}
.choice:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.choice input { margin-top: 3px; flex: 0 0 auto; }
.choice > span { flex: 1 1 auto; min-width: 0; }
.choice-title {
  display: block;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink);
}

/* An unread notification, marked with a bar rather than a colour wash so it
   still reads as unread to someone who cannot distinguish the tint. */
.card-unread {
  border-left: 3px solid var(--green);
  background: var(--green-tint);
}

/* A button that has to sit inside body text without looking like a button. */
.btn-plain {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.btn-plain:hover { color: var(--green-dark); }

/* -------------------------------------------------------------- printing -- */

@media print {
  .nav, .footer, .toast-host, .drawer, .heart, .btn { display: none !important; }
  body { background: #fff; }
}
