/* Business Ideas by Pablo — editorial directory (inspired by agentusecases layout, own brand) */

:root {
  color-scheme: light;
  --bg: #fff;
  --panel: #f6f6f6;
  --line: #d4d4d4;
  --text: #000;
  --muted: #525252;
  --faint: #6b6b6b;
  --icon: #3a3a3a;
  --accent: #000;
  --signal: #0b63ce;
  --signal-panel: #eef4fb;
  --danger: #d1242f;
  --hatch: #ececec;
  --wash: #0000000a;
  --wash-strong: #00000014;
  --raise: #ececec;
  --sponsor-bar: calc(2.75rem + env(safe-area-inset-bottom, 0px));
  --font-sans: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sidebar-w: 17.5rem;
  --frame-max: 68rem;
  --r: 0.5rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --panel: #0d0d0d;
  --line: #262626;
  --text: #fff;
  --muted: #a3a3a3;
  --faint: #858585;
  --icon: #858585;
  --accent: #fff;
  --signal: #5aabff;
  --signal-panel: #060d15;
  --danger: #ff6b6b;
  --hatch: #1c1c1c;
  --wash: #ffffff0d;
  --wash-strong: #ffffff1a;
  --raise: #1c1c1c;
}

@media (min-width: 640px) {
  :root { --sponsor-bar: calc(3.25rem + env(safe-area-inset-bottom, 0px)); }
}

html[data-sponsor-hidden] { --sponsor-bar: 0px; }
html[data-sponsor-hidden] [data-sponsor-bar] { display: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-bottom: var(--sponsor-bar);
  height: 100%;
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(-45deg, transparent 0 5px, var(--hatch) 5px 6px);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-inline: 6px;
  padding-bottom: var(--sponsor-bar);
  min-height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--text); color: var(--bg); }
.faint { color: var(--faint); }
.mono { font-family: var(--font-mono); }

.sponsor-scroll {
  flex: auto;
  min-height: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
}
.frame {
  max-width: var(--frame-max);
  margin-inline: auto;
  min-height: calc(100dvh - var(--sponsor-bar));
  background: var(--bg);
  border-inline: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 64rem) {
  .frame { grid-template-columns: var(--sidebar-w) 1fr; }
}
.frame.frame-solo { grid-template-columns: 1fr; }
.frame.frame-solo .sidebar[hidden] { display: none !important; }
.sponsor-page { padding-top: 1.5rem; }
.sponsor-page .theme-inline { margin-left: auto; }

/* ——— Sidebar ——— */
.sidebar {
  padding: 1.25rem 1rem 2rem;
  border-bottom: 1px dashed var(--line);
}
@media (min-width: 64rem) {
  .sidebar {
    position: sticky;
    top: 0;
    height: calc(100dvh - var(--sponsor-bar));
    overflow-y: auto;
    border-bottom: none;
    border-right: 1px dashed var(--line);
    padding: 2.5rem 1.75rem 2rem;
  }
}
.scroll-quiet { scrollbar-width: none; }
.scroll-quiet::-webkit-scrollbar { display: none; }

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.brand-mark-lg { width: 3.5rem; height: 3.5rem; display: none; }
@media (min-width: 64rem) {
  .brand-mark { display: none; }
  .brand-mark-lg { display: block; margin-bottom: 0; }
  .sidebar-brand-stack { display: flex; flex-direction: column; gap: 0.75rem; }
  .sidebar-brand-stack .brand { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.theme-btn {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 0.375rem;
  background: transparent; color: var(--muted); cursor: pointer;
  flex-shrink: 0;
}
.theme-btn:hover { border-color: var(--faint); color: var(--text); }
.theme-icon { width: 1rem; height: 1rem; display: none; }
:root[data-theme="light"] .theme-icon-light { display: block; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }

.tagline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
  max-width: 22rem;
}
.tagline-extra { display: none; }
@media (min-width: 64rem) { .tagline-extra { display: inline; } }

.sidebar-ctas {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}
@media (min-width: 64rem) {
  .sidebar-ctas { margin-top: 1.25rem; flex-direction: column; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-accent {
  background: var(--accent);
  color: var(--bg);
  border-color: transparent;
}
.btn-accent:hover { opacity: 0.9; }
.btn-outline { background: var(--bg); }
.btn-outline:hover { background: var(--wash); }
.btn-sm {
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
}
.btn-ghost {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--wash); }

.promo-card {
  margin-top: 0.85rem;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 0.7rem 0.75rem;
  background: var(--wash);
}
.promo-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.2rem;
}
.promo-title {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.promo-body {
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 0.55rem;
}
.promo-card .btn { width: 100%; justify-content: center; }

.sponsor-card {
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.7rem 0.75rem;
  background: var(--bg);
}
.sponsor-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.25rem;
}
.sponsor-card .title {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.sponsor-card a { color: var(--signal); font-size: 0.75rem; }

.side-section {
  margin-top: 1.35rem;
}
.side-section h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.cat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.15rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-radius: 0.25rem;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.cat-item:hover { background: var(--wash); color: var(--text); text-decoration: none; }
.cat-item.active { color: var(--text); background: var(--wash-strong); }
.mark-edge {
  width: 18px; height: 18px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px #00000038;
  font-family: var(--font-mono);
  font-size: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 500;
}
.cat-item .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.side-nav {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.8125rem;
}
.side-nav a { color: var(--muted); }
.side-nav a:hover, .side-nav a.active { color: var(--text); }

.sidebar-foot {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  line-height: 1.6;
}
.sidebar-foot a { color: var(--muted); }

/* ——— Main ——— */
.main {
  min-width: 0;
  padding: 1.25rem 1rem 3rem;
}
@media (min-width: 40rem) {
  .main { padding: 1.5rem 1.5rem 4rem; }
}
@media (min-width: 64rem) {
  .main { padding: 2rem 1.75rem 5rem; }
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}
.search-wrap {
  flex: 1;
  min-width: 12rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.45rem 0.65rem;
  background: var(--bg);
  color: var(--faint);
}
.search-wrap:focus-within { border-color: var(--faint); }
.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  min-width: 0;
}
.search-wrap input::placeholder { color: var(--faint); }
.search-wrap svg { flex-shrink: 0; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.pill:hover { color: var(--text); background: var(--wash); }
.pill.active {
  background: var(--accent);
  color: var(--bg);
  border-color: transparent;
}
.pill .n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

/* Idea del día / new callout */
.new-banner {
  background: var(--signal-panel);
  border: 1px solid color-mix(in oklab, var(--signal) 22%, transparent);
  border-radius: var(--r);
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}
.new-banner .left {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.new-banner .left em {
  font-style: normal;
  color: var(--signal);
  font-weight: 600;
}
.new-banner .right {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.featured-callout {
  background: var(--signal-panel);
  border: 1px solid color-mix(in oklab, var(--signal) 22%, transparent);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  margin: 0.75rem 0 1rem;
}
.featured-callout .eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.35rem;
}
.featured-callout h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.featured-callout p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-callout .actions {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Idea rows */
.idea-list { display: flex; flex-direction: column; }
.idea-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: start;
}
@media (min-width: 40rem) {
  .idea-row {
    grid-template-columns: 2.5rem 1fr auto;
    gap: 1rem;
  }
}
.idea-row:hover { background: var(--wash); }
.idea-row:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.375rem;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  box-shadow: inset 0 0 0 1px #00000028;
  flex-shrink: 0;
}

.idea-body h3 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.idea-body .summary {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.idea-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: center;
}
.idea-meta .dot::before { content: "·"; margin-right: 0.35rem; color: var(--line); }
.idea-meta .new-flag { color: var(--signal); }
.idea-meta .tag-link {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  padding: 0;
}
.idea-meta .tag-link:hover { color: var(--signal); text-decoration: underline; }

.idea-actions {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
}
@media (min-width: 40rem) {
  .idea-actions { display: flex; }
}
.idea-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
@media (min-width: 40rem) {
  .idea-actions-inline { display: none; }
}

.empty {
  padding: 2rem 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Newsletter + FAQ */
.newsletter {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.newsletter p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.form-row input[type="email"] {
  flex: 1;
  min-width: 12rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  font-size: 0.875rem;
  outline: none;
}
.form-row input:focus { border-color: var(--text); }
.form-msg {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.form-msg.ok { color: var(--signal); }
.form-msg.err { color: var(--danger); }

.faq {
  margin-top: 1.75rem;
}
.faq h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}
.faq summary {
  font-size: 0.8125rem;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Detail */
.detail-back { margin-bottom: 1rem; }
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--text);
  border-radius: var(--r);
  background: var(--panel);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 var(--wash-strong);
}
.btn-back:hover {
  background: var(--wash-strong);
  text-decoration: none;
}
.btn-back-icon {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
}
.detail-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.75rem;
}
.detail-card .body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 42rem;
}

.detail-card .lede {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 0 1.25rem;
}
.detail-section {
  max-width: 42rem;
  margin: 0 0 1.35rem;
}
.detail-section h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.detail-section p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.detail-steps {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
  max-width: 42rem;
}
.detail-steps li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 0.55rem;
}
.detail-steps li::marker {
  color: var(--signal);
  font-weight: 600;
}
.money-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1.5rem;
  margin: 0 0 0.35rem;
}
@media (min-width: 52rem) {
  .money-split { grid-template-columns: 1.15fr 0.95fr; align-items: start; }
}
.money-col h2 {
  margin: 0 0 0.35rem;
}
.cost-intro {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 0.85rem;
  max-width: 42rem;
}
.cost-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cost-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
}
@media (min-width: 40rem) {
  .cost-grid { grid-template-columns: 1fr 1fr; }
}
.cost-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 2px);
  background: var(--panel);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
}
.cost-card-mejor {
  border-color: color-mix(in oklab, var(--signal) 28%, var(--line));
  background: color-mix(in oklab, var(--signal-panel) 55%, var(--panel));
}
.earn-card {
  border: 1px solid color-mix(in oklab, #059669 28%, var(--line));
  border-radius: calc(var(--r) + 2px);
  background: color-mix(in oklab, #059669 8%, var(--panel));
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}
.earn-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
}
.earn-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}
.cost-range-compact {
  max-width: none;
}
.cost-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--faint);
}
.cost-card .cost-value,
.cost-card strong.cost-value {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.cost-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--faint);
  line-height: 1.4;
  margin-top: 0.15rem;
}
.cost-range {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r);
  background: var(--signal-panel);
  border: 1px solid color-mix(in oklab, var(--signal) 22%, transparent);
  margin: 0 0 0.65rem;
  max-width: 42rem;
}
.cost-range-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.cost-range strong {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.02em;
}
.cost-note {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 42rem;
}
.cost-tip {
  font-weight: 600;
  color: var(--text);
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1rem;
}
.kit-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 42rem;
  padding: 1.1rem 1.15rem;
  border-radius: calc(var(--r) + 2px);
  border: 1px solid color-mix(in oklab, var(--signal) 28%, var(--line));
  background: linear-gradient(135deg, var(--signal-panel), var(--panel));
  margin: 0 0 0.5rem;
}
.kit-cta-text {
  flex: 1 1 14rem;
  min-width: 0;
}
.kit-cta-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin-bottom: 0.35rem;
}
.kit-cta-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.kit-cta-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.kit-cta-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge-today, .badge-new {
  color: var(--signal);
  border-color: color-mix(in oklab, var(--signal) 40%, transparent);
  background: var(--signal-panel);
}
.badge-kit {
  color: var(--text);
  background: var(--panel);
}

/* Sponsor page */
.sponsor-page {
  max-width: 26rem;
  margin: 0 auto;
  padding-top: 0.5rem;
}
.sponsor-page .mono-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.75rem;
}
.sponsor-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.sponsor-page .lead {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.sponsor-page h2 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin: 1.5rem 0 0.65rem;
}
.media-kit {
  display: grid;
  gap: 0.5rem;
}
.stat {
  background: var(--panel);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
}
.stat span {
  display: block;
  font-size: 11px;
  color: var(--faint);
  margin-bottom: 0.25rem;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.slots { display: grid; gap: 0.5rem; }
.slot-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
}
.slot-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.slot-card p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}
.sponsor-look {
  background: var(--signal-panel);
  border-radius: var(--r);
  padding: 0.85rem;
  border: 1px solid color-mix(in oklab, var(--signal) 20%, transparent);
  font-size: 0.8125rem;
}
.sponsor-look .demo-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.45rem 0.65rem;
  margin-top: 0.5rem;
}
.sponsor-look .demo-bar a { color: var(--signal); font-weight: 500; }

.sponsor-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}
.sponsor-chrome .brand-name { font-size: 17px; }
.sponsor-chrome .all-count {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Sponsor bar */
.sponsor-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  height: var(--sponsor-bar);
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.55rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(-45deg, transparent 0 5px, var(--hatch) 5px 6px);
  border-top: 1px solid var(--line);
  /* Keep visible on all viewports; only html[data-sponsor-hidden] may hide */
}
html[data-sponsor-hidden] [data-sponsor-bar] {
  display: none !important;
}
@media (max-width: 39.999rem) {
  .sponsor-bar {
    gap: 0.35rem;
    padding-inline: 0.4rem;
  }
  .sponsor-bar-label {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  .sponsor-slot {
    font-size: 0.75rem;
  }
  .sponsor-dismiss {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.1rem;
  }
}
.sponsor-bar-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
  flex-shrink: 0;
}
.sponsor-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12px calc(100% - 12px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px calc(100% - 12px), transparent);
}
.sponsor-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: sponsor-marquee 28s linear infinite;
  align-items: center;
  height: 100%;
  will-change: transform;
}
.sponsor-half {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.sponsor-sep {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  color: var(--faint);
  font-size: 0.75rem;
  user-select: none;
}
.sponsor-marquee:hover .sponsor-track { animation-play-state: paused; }
@keyframes sponsor-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.sponsor-slot {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
  padding: 0 0.15rem;
}
.sponsor-slot:hover { color: var(--signal); text-decoration: none; }
.sponsor-dismiss {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 0.45rem;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}
.sponsor-dismiss:hover {
  background: var(--wash-strong);
  border-color: var(--text);
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-track { animation: none; }
}


/* Sponsor page — extended */
.sponsor-page {
  max-width: 28rem;
}
.sponsor-copy {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.sponsor-copy a { color: var(--signal); }
.sponsor-fine {
  font-size: 0.75rem;
  color: var(--faint);
  line-height: 1.45;
  margin-top: 0.65rem;
}
.sponsor-fine strong { color: var(--muted); font-weight: 600; }
.look-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.demo-brand {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.25rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  flex-shrink: 0;
}
.demo-email {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.65rem 0.75rem;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
}
.demo-email-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.25rem;
}
.pricing-slots .slot-card {
  position: relative;
}
.slot-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.35rem;
}
.slot-card .price {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.slot-card .price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-right: 0.15rem;
}
.featured-slot {
  border-color: color-mix(in oklab, var(--signal) 35%, var(--line));
  background: var(--signal-panel);
}
.sponsor-steps {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}
.sponsor-steps strong { color: var(--text); font-weight: 600; }
.sponsor-form-block .form-title {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--text) !important;
  margin: 0 0 0.35rem !important;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
@media (min-width: 28rem) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.form-grid input,
.form-grid select {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.5rem 0.65rem;
  background: var(--bg);
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  width: 100%;
}
.form-grid input:focus,
.form-grid select:focus { border-color: var(--text); }
.media-kit {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 28rem) {
  .media-kit { grid-template-columns: 1fr 1fr; }
}
.stat strong {
  font-size: clamp(1.05rem, 3vw, 1.35rem);
}

/* ——— Home v3: search + sort + pills ——— */
.toolbar { margin-bottom: 0.85rem; }
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.55rem;
}
.search-wrap { background: var(--panel); }
.search-kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  color: var(--faint);
  background: var(--bg);
  flex-shrink: 0;
}
.sort-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.sort-btn {
  border: none;
  background: transparent;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.sort-btn:hover { color: var(--text); background: var(--wash); }
.sort-btn.active {
  background: var(--raise);
  color: var(--text);
}
.pill {
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.01em;
}

/* ——— Trending grid ——— */
.trending {
  margin: 0.25rem 0 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--line);
}
.trending-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.55rem;
}
.trending-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 40rem) {
  .trending-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 56rem) {
  .trending-grid { grid-template-columns: 1fr 1fr 1fr; }
}
/* Mobile: horizontal carousel so the idea list starts right below */
@media (max-width: 39.999rem) {
  .trending {
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
  }
  .trending-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.25rem;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
    scrollbar-width: none; /* Firefox */
  }
  .trending-grid::-webkit-scrollbar { display: none; }
  .trending-card {
    flex: 0 0 min(78vw, 17.5rem);
    width: min(78vw, 17.5rem);
    max-width: 17.5rem;
    min-height: 7rem;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}
.trending-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 6.5rem;
}
.trending-votes {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.trending-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}
.trending-card .btn { align-self: flex-start; }


/* ——— Idea rows (agentusecases-style) ——— */
.idea-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  padding: 1rem 0.15rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: start;
}
@media (min-width: 40rem) {
  .idea-row {
    grid-template-columns: 2.5rem 1fr auto auto;
    gap: 1rem;
  }
}
.idea-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.idea-body .summary {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.idea-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  align-items: center;
}
.idea-meta .meta-badge {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 0.15rem;
  display: inline-block;
  flex-shrink: 0;
}
.idea-meta .meta-src {
  font-weight: 600;
  color: var(--text);
  font-size: 0.75rem;
}
.idea-meta .dot::before { content: "·"; margin-right: 0.15rem; color: var(--line); }

.idea-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 2.75rem;
  padding-top: 0.1rem;
}
.vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.15rem;
  font: inherit;
}
.vote-btn:hover { color: var(--text); }
.vote-btn.voted { color: var(--signal); }
.vote-tri {
  font-size: 0.7rem;
  line-height: 1;
}
.vote-n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: inherit;
}
.save-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 10px;
  font-weight: 600;
  min-width: 2.75rem;
  -webkit-tap-highlight-color: transparent;
}
.save-btn:hover { color: var(--text); }
.save-btn.saved { color: var(--signal); }
.save-icon { display: block; }
.idea-side {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.idea-actions {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  align-self: center;
}
@media (min-width: 40rem) {
  .idea-actions { display: flex; }
  .idea-actions-inline { display: none; }
}
.idea-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}


/* ——— Email session chip ——— */
.session-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  max-width: 100%;
}
.session-chip[hidden] { display: none !important; }
.session-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #16a34a;
  flex: 0 0 auto;
}
.session-email {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}
.session-clear {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.1rem 0.2rem;
}
.session-clear:hover { color: var(--text); }

.modal-confirm {
  margin-top: 0.25rem;
}
.modal-confirm-text {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}
.modal-confirm-text strong {
  font-weight: 600;
  word-break: break-all;
}

/* ——— Daily idea modal ——— */
html[data-modal-open] { overflow: hidden; }
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #00000066;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay[hidden] { display: none !important; }
.modal-card {
  position: relative;
  width: min(28rem, 100%);
  background: var(--bg);
  color: var(--text);
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px #00000033;
  padding: 1.5rem 1.5rem 1.25rem;
}
.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}
.modal-close:hover {
  background: var(--wash-strong);
  border-color: var(--text);
  color: var(--text);
}
.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.65rem;
  padding-right: 1.5rem;
}
.modal-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}
.modal-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
#daily-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.65rem 0.85rem;
  background: var(--panel);
  font-size: 0.9375rem;
  outline: none;
  margin-bottom: 0.75rem;
  color: var(--text);
}
#daily-form input[type="email"]:focus { border-color: var(--text); background: var(--bg); }
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.modal-actions .btn-accent {
  padding: 0.6rem 1rem;
}
.modal-notnow {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem;
}
.modal-notnow:hover { color: var(--text); text-decoration: underline; }
.modal-foot {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--faint);
}
.modal-foot a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ——— Home stats strip ——— */
.home-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.home-stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.home-stat-n {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--text);
}
.home-stat-l {
  font-size: 0.75rem;
  color: var(--faint);
  font-weight: 500;
}


/* ——— Mobile nav + bottom filter sheet ——— */
.sidebar-backdrop { display: none; }
.mobile-nav { display: none; }
.sidebar-close { display: none; }
.sheet-handle { display: none; }
.sheet-head { display: none; }
.mobile-chip-panels { display: none; }
.mobile-filter-summary { display: none; }
.theme-btn-mobile { display: none; }
.filter-badge { display: none; }

@media (max-width: 63.999rem) {
  .frame { display: block; }
  .frame.frame-solo .sidebar[hidden] { display: none !important; }

  .desktop-only-block { display: none !important; }

  .mobile-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px dashed var(--line);
  }
  .mobile-nav .brand-mobile {
    min-width: 0;
    flex: 1;
  }
  .mobile-nav .brand-name {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-nav .brand-mark { width: 1.5rem; height: 1.5rem; }

  .theme-btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.6rem;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid var(--text);
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
  }
  .nav-menu-btn:hover { opacity: 0.92; }
  .nav-menu-btn svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
  .filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--accent, #0b63ce);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
  }

  .mobile-filter-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
    align-items: center;
  }
  .chip-active, .chip-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 1.9rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--wash-strong, var(--panel));
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
  }
  .chip-clear {
    border-style: dashed;
    color: var(--muted);
    background: transparent;
  }

  /* Bottom sheet */
  .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--sponsor-bar);
    top: auto;
    width: 100%;
    max-height: min(88vh, 40rem);
    z-index: 70;
    margin: 0;
    padding: 0.35rem 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    border: 1px solid var(--line);
    border-bottom: none;
    border-radius: 1.1rem 1.1rem 0 0;
    box-shadow: 0 -12px 40px #00000033;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1), visibility 0.28s;
  }
  html[data-sidebar-open] .sidebar:not([hidden]) {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .sheet-handle {
    display: flex;
    justify-content: center;
    padding: 0.45rem 0 0.15rem;
  }
  .sheet-handle span {
    width: 2.5rem;
    height: 0.28rem;
    border-radius: 999px;
    background: var(--line);
  }
  .sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.15rem 0 0.85rem;
  }
  .sheet-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .sheet-title {
    margin: 0.15rem 0 0;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.02em;
  }

  .mobile-chip-panels { display: block; }
  .chip-panel { margin-bottom: 1rem; }
  .chip-panel-title {
    margin: 0 0 0.55rem;
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--muted);
  }
  .chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.15rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--panel);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
  }
  .chip.active {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
  }
  .chip-n {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.7;
  }
  .chip.active .chip-n { opacity: 0.85; }

  .sheet-actions {
    display: flex;
    gap: 0.55rem;
    margin: 0.4rem 0 0.2rem;
    position: sticky;
    bottom: 0;
    padding-top: 0.5rem;
    background: linear-gradient(to top, var(--bg) 70%, transparent);
  }
  .sheet-actions .btn { flex: 1; justify-content: center; }

  .sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.55rem;
    min-width: 2.55rem;
    padding: 0.4rem 0.75rem;
    border: 1.5px solid var(--text);
    border-radius: var(--r);
    background: var(--panel);
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
  }
  .sidebar-close:hover {
    background: var(--wash-strong);
  }
  .sidebar-close-x {
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    bottom: var(--sponsor-bar);
    z-index: 65;
    background: #00000066;
    border: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s;
  }
  html[data-sidebar-open] .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  html[data-sidebar-open] { overflow: hidden; }
  html[data-sidebar-open] .sponsor-scroll { overflow: hidden; }
  .search-kbd { display: none; }
}

@media (min-width: 64rem) {
  html[data-sidebar-open] { overflow: auto; }
  .mobile-chip-panels,
  .sheet-handle,
  .sheet-head { display: none !important; }
}


/* sponsor-page-compact */
.sponsor-page-compact {
  padding-top: 1rem;
  max-width: min(64rem, 100%);
  margin-inline: auto;
}
.sponsor-page-compact h1 {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  margin: 0.35rem 0 0.4rem;
  line-height: 1.2;
}
.sponsor-page-compact .lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 40rem;
}
.sponsor-page-compact .pricing-slots {
  margin: 0 0 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: stretch;
}
@media (min-width: 40rem) {
  .sponsor-page-compact .pricing-slots {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 56rem) {
  .sponsor-page-compact .pricing-slots {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.sponsor-page-compact .pricing-slots .slot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem 1.05rem 1.05rem;
}
.sponsor-page-compact .pricing-slots .slot-card .btn-pay {
  margin-top: auto;
}
.sponsor-page-compact .pricing-slots .featured-slot {
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--signal) 25%, transparent);
}
.sponsor-page-compact .sponsor-fine {
  margin: 0 0 0.85rem;
}
.sponsor-page-compact .sponsor-steps {
  margin: 0.85rem 0 1rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
  list-style: decimal;
}
.sponsor-page-compact .sponsor-steps li {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}
.sponsor-page-compact .sponsor-steps strong {
  color: var(--text);
  font-weight: 600;
}
.sponsor-terms {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.sponsor-terms-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: var(--text);
}
.sponsor-terms ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
}
.sponsor-terms li {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}
.sponsor-terms strong { color: var(--text); }
.sponsor-page-compact .sponsor-form-block {
  margin-top: 0.5rem;
  padding: 1rem 1rem 1.1rem;
}
.sponsor-page-compact .sponsor-form-block .form-title {
  margin-bottom: 0.65rem;
  font-size: 1rem;
}
.sponsor-page-compact .slot-card p {
  font-size: 0.8rem;
  margin: 0.35rem 0 0;
  flex: 1;
}
.sponsor-page-compact .slot-card h3 {
  font-size: 0.95rem;
  margin: 0.15rem 0;
}


/* Stripe pay CTAs + success */
.slot-card .btn-pay {
  display: inline-flex;
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
.sponsor-paid-banner {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r);
  border: 1px solid color-mix(in oklab, var(--signal) 40%, var(--line));
  background: var(--signal-panel);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.4;
}
.sponsor-mailto {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.sponsor-mailto a { color: var(--signal); }


/* Guía maestra (miembros, enlace secreto) */
.guide-card .guide-related { font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0 1.25rem; }
.guide-card .guide-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.guide-section h2 { margin-top: 1.5rem; }
