/* Campaign discovery extends the existing violet components. */
.creator-entry .login-card h1 { font-size: clamp(25px, 2.4vw, 34px); line-height: 1.35; letter-spacing: -.035em; max-width: 440px; }
.creator-entry .opportunity-browse { width: 100%; min-height: 46px; }
.opportunities-section { margin: 40px 0; scroll-margin-top: 90px; }
.opportunities-heading { display: flex; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.opportunities-heading h2 { font-size: 26px; margin-bottom: 8px; letter-spacing: -.025em; }
.opportunities-heading p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.opportunity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.opportunity-grid > :only-child { width: 100%; max-width: 680px; }
.opportunity-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; }
.opportunity-card h3, .opportunity-card h2 { font-size: 20px; line-height: 1.5; letter-spacing: -.025em; margin: 15px 0 6px; overflow-wrap: anywhere; }
.opportunity-meta { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.opportunity-meta > span:first-child { font-weight: 600; overflow-wrap: anywhere; }
.opportunity-market { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.opportunity-rewards { border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }
.opportunity-rewards > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 8px 0; }
.opportunity-rewards dt { font-size: 12px; color: var(--muted); flex: 0 0 auto; }
.opportunity-rewards dd { margin: 0; text-align: right; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.opportunity-rewards .opportunity-cash { font-size: 23px; color: var(--brand); letter-spacing: -.025em; }
.opportunity-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 8px 0; }
.opportunity-details { margin: 14px 0; border-top: 1px solid var(--line); padding-top: 14px; }
.opportunity-details summary { color: var(--brand); font-size: 13px; font-weight: 600; cursor: pointer; }
.opportunity-conditions { margin: 14px 0 0; }
.opportunity-conditions > div { margin: 12px 0; }
.opportunity-conditions dt { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.opportunity-conditions dd { margin: 0; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.opportunity-footer { margin-top: auto; padding-top: 18px; }
.opportunity-footer .btn { width: 100%; min-height: 44px; }
.opportunity-empty { padding: 28px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); }
.opportunity-empty h3 { font-size: 18px; margin-bottom: 8px; }
.opportunity-empty p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.opportunity-empty .btn { margin-top: 8px; }
.creator-intent { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; margin-bottom: 20px; border: 1px solid var(--violet-200); border-radius: var(--r); background: var(--card); }
.creator-intent strong { color: var(--brand); font-size: 14px; }
.creator-intent p { margin: 5px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.creator-campaigns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 18px; }
.creator-campaigns .opportunity-card { max-width: 680px; }
.opportunity-card.is-selected { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.opportunity-selected { color: var(--brand); font-size: 12px; font-weight: 600; margin: 0 0 10px; }
.opportunity-brief { color: var(--muted); line-height: 1.8; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.opportunity-action { margin-top: auto; padding-top: 16px; }
.opportunity-action .btn { min-height: 44px; width: 100%; }
.catalog-filters { display: grid; grid-template-columns: 1fr 1fr minmax(180px, 1.5fr) 1fr; gap: 14px; margin: 0 0 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); min-width: 0; }
.catalog-filters label { display: grid; gap: 7px; min-width: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.catalog-filters select, .catalog-filters input { width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; }
.catalog-filters :is(select, input):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.catalog-filters:disabled { opacity: .65; }
.catalog-status { min-height: 22px; margin-bottom: 14px; }
.catalog-more { text-align: center; margin-top: 22px; }
.catalog-more .btn { min-height: 44px; }
@media (max-width: 900px) {
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .opportunities-section { margin-block: 28px; }
  .opportunities-heading { display: block; }
  .opportunities-heading h2 { font-size: 23px; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .opportunity-card { padding: 20px; }
  .creator-intent { align-items: stretch; flex-direction: column; gap: 12px; }
  .creator-intent .btn { width: 100%; }
  .catalog-filters { padding: 14px; gap: 12px; }
  .catalog-filters .catalog-search { grid-column: 1 / -1; grid-row: 1; }
}
