:root {
  color-scheme: light;
  --page: #f3f3f1; --surface: #ffffff; --surface-2: #edeeec; --surface-3: #dfe1de;
  --ink: #14151a; --muted: #6b6e76; --line: rgba(20,21,26,.10); --line-strong: rgba(20,21,26,.20);
  --accent: #2f5bff; --accent-ink: #ffffff; --danger: #c23a4b;
  --shadow: 0 20px 55px rgba(20,21,26,.10); --header: rgba(255,255,255,.82); --header-ink: #14151a; --header-line: rgba(20,21,26,.08);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0a0b0e; --surface: #141519; --surface-2: #1b1d22; --surface-3: #24262c;
  --ink: #f2f3f5; --muted: #9a9da6; --line: rgba(242,243,245,.10); --line-strong: rgba(242,243,245,.20);
  --accent: #5b7dff; --accent-ink: #ffffff; --danger: #ff7c8a;
  --shadow: 0 26px 70px rgba(0,0,0,.5); --header: rgba(10,11,14,.78); --header-ink: #f2f3f5; --header-line: rgba(242,243,245,.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --page: #0a0b0e; --surface: #141519; --surface-2: #1b1d22; --surface-3: #24262c;
    --ink: #f2f3f5; --muted: #9a9da6; --line: rgba(242,243,245,.10); --line-strong: rgba(242,243,245,.20);
    --accent: #5b7dff; --accent-ink: #ffffff; --danger: #ff7c8a;
    --shadow: 0 26px 70px rgba(0,0,0,.5); --header: rgba(10,11,14,.78); --header-ink: #f2f3f5; --header-line: rgba(242,243,245,.08);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); scroll-behavior: smooth; }
body { background: var(--page); color: var(--ink); font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; margin: 0; min-width: 320px; transition: background-color .25s ease, color .25s ease; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { clip: rect(0,0,0,0); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.skip-link { background: var(--accent); color: var(--accent-ink); font-weight: 800; left: 16px; padding: 10px 14px; position: fixed; top: -60px; z-index: 100; }
.skip-link:focus { top: 14px; }

.site-header { align-items: center; backdrop-filter: blur(18px) saturate(130%); background: var(--header); border-bottom: 1px solid var(--header-line); color: var(--header-ink); display: flex; height: 54px; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1320px) / 2)); position: sticky; top: 0; width: 100%; z-index: 20; }
.brand { align-items: center; display: flex; font-size: 14px; font-weight: 800; gap: 9px; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { border-radius: 50%; box-shadow: 0 0 0 1px var(--line); display: block; height: 28px; object-fit: cover; width: 28px; }
.brand-name em { color: var(--accent); font-style: italic; }
.header-actions { align-items: center; display: flex; gap: 16px; }
.help-button, .theme-button { background: transparent; border: 0; color: var(--muted); font-size: 12px; font-weight: 700; padding: 8px 0; text-decoration: none; }
.help-button:hover, .theme-button:hover { color: var(--ink); }
.theme-button { align-items: center; display: flex; gap: 6px; }
.theme-button > span:first-child { font-size: 15px; line-height: 1; }
.account-menu-wrap { position: relative; }
.header-account-button { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; color: var(--ink); display: flex; font-size: 11px; font-weight: 800; gap: 7px; min-height: 34px; padding: 6px 9px; }
.header-account-button:hover,.header-account-button[aria-expanded="true"] { border-color: var(--line-strong); }
.discord-symbol-small { background: #5865f2; border-radius: 5px; height: 20px; object-fit: contain; padding: 5px 4px; width: 24px; }
.account-chevron { color: var(--muted); font-size: 10px; transition: transform .15s ease; }
.header-account-count { display: none; }
.header-account-button[aria-expanded="true"] .account-chevron { transform: rotate(180deg); }
.header-account-menu { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-width: calc(100vw - 28px); padding: 14px; position: absolute; right: 0; top: calc(100% + 10px); width: 330px; z-index: 60; }
.account-menu-heading { display: grid; gap: 3px; margin-bottom: 12px; }
.account-menu-heading strong { font-size: 13px; }
.account-menu-heading small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.header-account-list { display: grid; gap: 5px; max-height: min(360px,60vh); overflow-y: auto; }
.header-account-option { align-items: center; background: var(--surface-2); border-radius: 9px; cursor: pointer; display: grid; gap: 9px; grid-template-columns: 18px 36px 1fr; padding: 8px; }
.header-account-option input { accent-color: var(--accent); height: 16px; margin: 0; width: 16px; }
.header-account-option img,.header-account-option .account-avatar-missing { border-radius: 8px; height: 36px; object-fit: cover; width: 36px; }
.header-account-option span { min-width: 0; }
.header-account-option strong,.header-account-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-account-option strong { font-size: 12px; }
.header-account-option small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.account-menu-connect { align-items: center; background: #5865f2; border-radius: 9px; color: white; display: flex; font-size: 12px; font-weight: 800; gap: 9px; justify-content: center; margin-top: 10px; padding: 10px 12px; text-decoration: none; }
.account-menu-connect img { height: 16px; width: 21px; }

.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; margin: 0 0 12px; text-transform: uppercase; }
.eyebrow.ink { color: var(--accent); }

.access-gate { margin: clamp(70px,10vh,130px) auto 120px; padding: 24px 20px; text-align: center; width: min(760px,calc(100% - 32px)); }
.gate-orbit { display: grid; height: 92px; margin: 0 auto 30px; place-items: center; position: relative; width: 92px; }
.gate-orbit::before,.gate-orbit::after { border: 1px solid color-mix(in srgb,var(--ink) 18%,transparent); border-radius: 50%; content: ""; inset: -12px; position: absolute; }
.gate-orbit::after { border-color: color-mix(in srgb,var(--ink) 8%,transparent); inset: -28px; }
.gate-orbit img { border-radius: 50%; box-shadow: 0 18px 50px rgba(0,0,0,.18); height: 72px; object-fit: cover; width: 72px; }
.access-gate h1 { font-size: clamp(42px,7vw,76px); letter-spacing: -.055em; line-height: .94; margin: 12px auto 18px; max-width: 700px; }
.access-gate > p:not(.eyebrow):not(.gate-note) { color: var(--muted); font-size: clamp(16px,2vw,19px); line-height: 1.55; margin: 0 auto 28px; max-width: 570px; }
.gate-button { align-items: center; display: inline-flex; gap: 10px; margin: 0 auto; min-height: 54px; padding-inline: 24px; width: fit-content; }
.gate-button img { height: 22px; width: 22px; }
.gate-apply-link { align-items: center; color: var(--ink); display: inline-flex; font-weight: 750; gap: 8px; text-underline-offset: 5px; }
.gate-note { color: var(--muted); font-size: 12px; margin-top: 22px; }
.gate-note span { color: #5865f2; font-size: 8px; vertical-align: 2px; }

.application-shell { margin: 0 auto; max-width: 1320px; padding: 22px 24px 60px; }
.application-head { align-items: center; display: flex; gap: 14px; justify-content: space-between; margin-bottom: 18px; }
.application-head h2 { font-size: clamp(19px,2.2vw,24px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 0; }
.date-badge { color: var(--muted); flex: none; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 700; }
.date-picker { flex: none; position: relative; }
.date-trigger { align-items: center; background: transparent; border: 0; border-radius: 6px; display: flex; gap: 5px; padding: 4px 5px; min-height: 44px; margin-block: -12px; }
.date-trigger:hover { color: var(--ink); }
.date-trigger[aria-expanded="true"] { color: var(--ink); }
.date-chevron { font-size: 11px; transition: transform .15s ease; }
.date-trigger[aria-expanded="true"] .date-chevron { transform: rotate(180deg); }
.date-menu { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: min(360px, 70vh); max-width: calc(100vw - 28px); overflow: hidden; padding: 6px; position: absolute; right: 0; top: calc(100% + 10px); width: 270px; z-index: 40; }
.date-menu-list { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.date-menu-row { align-items: center; background: transparent; border: 0; border-radius: 8px; color: var(--ink); display: flex; font-size: 12px; justify-content: space-between; gap: 10px; min-height: 44px; padding: 9px 10px; text-align: left; width: 100%; }
.date-menu-row:hover { background: var(--surface-2); }
.date-menu-row.is-current { font-weight: 600; }
.date-menu-row.is-current { background: var(--surface-2); color: var(--accent); }
.date-menu-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date-menu-row small { color: var(--muted); flex: none; font-weight: 600; }
.date-menu-message { color: var(--muted); font-size: 12px; margin: 8px 4px; text-align: center; }
.date-menu-message.is-error { color: var(--danger); }
.date-menu-message button { background: transparent; border: 0; color: var(--accent); font-weight: 800; padding: 0; }
.date-menu-more { background: transparent; border: 0; border-top: 1px solid var(--line); color: var(--accent); font-size: 12px; font-weight: 800; margin-top: 4px; padding: 10px 6px 4px; width: 100%; }
.date-menu-more:disabled { color: var(--muted); }
.discovery-layout { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0,1fr) 260px; }
.campaigns-pane { min-width: 0; }

.toolbar { display: grid; gap: 10px; margin-bottom: 12px; position: sticky; top: 54px; padding: 10px 0; background: var(--page); z-index: 10; }
.filter-row { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; }
.filter-group { display: flex; gap: 4px; }
.filter { background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); flex: none; font-size: 13px; font-weight: 700; padding: 8px 10px 7px; transition: color .2s ease,border-color .2s ease; }
.filter:hover { color: var(--ink); }
.filter.active { border-color: var(--accent); color: var(--ink); }
.filter span { opacity: .6; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 100px; color: var(--muted); flex: none; font-size: 11px; font-weight: 700; padding: 6px 11px; transition: background .2s ease,border-color .2s ease,color .2s ease; }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--page); }
.toolbar-actions { align-items: center; display: flex; gap: 10px; }
.search { flex: 1; min-width: 0; }
.search input { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); outline: none; padding: 10px 13px; width: 100%; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent); }
.select-all-button { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); flex: none; font-size: 12px; font-weight: 800; padding: 10px 14px; transition: background .2s ease,border-color .2s ease; }
.select-all-button:hover { border-color: var(--line-strong); }
.select-all-button.is-all { background: var(--ink); border-color: var(--ink); color: var(--page); }
.results-meta { color: var(--muted); font-size: 12px; margin: 0 2px; }

.campaign-grid { display: grid; gap: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.campaign-card { animation: card-in .3s both cubic-bezier(.2,.7,.2,1); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; overflow: hidden; padding: 0; position: relative; text-align: left; transition: border-color .2s ease,transform .2s ease,box-shadow .2s ease; }
.campaign-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.campaign-card:active { transform: translateY(-1px) scale(.995); }
.campaign-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.card-media { aspect-ratio: 4 / 3; background: var(--surface-3); position: relative; }
.card-media > img { height: 100%; inset: 0; object-fit: contain; position: absolute; width: 100%; }
.card-media > .media-fallback { align-items: center; color: var(--muted); display: flex; font-size: 22px; font-weight: 800; height: 100%; justify-content: center; width: 100%; }
.card-media > .media-fallback.recovery { flex-direction: column; font-size: 11px; gap: 4px; letter-spacing: .01em; text-align: center; }
.card-media > .media-fallback.recovery b { color: var(--ink); }
.card-media > .media-fallback.recovery small { color: var(--danger); font-size: 9px; text-transform: uppercase; }
.info-button, .select-indicator { align-items: center; backdrop-filter: blur(6px); background: rgba(20,21,26,.42); border: 0; border-radius: 50%; color: #fff; display: flex; font-size: 11px; font-weight: 800; height: 24px; justify-content: center; position: absolute; top: 8px; transition: transform .15s ease,background .2s ease; width: 24px; }
.info-button { left: 8px; }
.info-button::after { content: ""; inset: -10px; position: absolute; }
.info-button:hover { background: rgba(20,21,26,.6); transform: scale(1.06); }
.select-indicator { background: rgba(255,255,255,.85); border: 1.5px solid rgba(20,21,26,.3); color: transparent; right: 8px; }
.is-selected .select-indicator { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 10px 11px 11px; }
.campaign-card h3 { font-size: 13px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0; overflow-wrap: anywhere; text-wrap: pretty; }
.brand-name { color: var(--muted); font-size: 11px; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.tag { background: var(--surface-2); border-radius: 5px; color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .05em; padding: 4px 6px; text-transform: uppercase; }
.tag.primary { background: color-mix(in srgb,var(--accent) 16%,var(--surface-2)); color: var(--accent); }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.loading-grid { display: grid; gap: 12px; grid-template-columns: repeat(3,1fr); }
.loading-grid div { animation: pulse 1.25s infinite alternate; background: var(--surface); border-radius: 10px; height: 220px; }
.loading-grid div:nth-child(2n) { animation-delay: .18s; }
@keyframes pulse { to { opacity: .38; } }

.shortlist-panel { background: transparent; border-left: 1px solid var(--line); padding-left: 18px; position: sticky; top: 128px; }
.shortlist-heading { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 2px 0 16px; }
.shortlist-heading h3 { font-size: 15px; margin: 0 0 5px; }
.shortlist-heading p { color: var(--muted); font-size: 11px; margin: 0; }
.shortlist-heading > strong { align-items: center; background: var(--accent); border-radius: 6px; color: var(--accent-ink); display: flex; font-size: 12px; height: 25px; justify-content: center; min-width: 25px; }
.side-selection-list { max-height: 320px; min-height: 180px; overflow-y: auto; padding: 8px 0; }
.side-selection-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 10px; grid-template-columns: 34px 1fr auto; padding: 9px 0; }
.side-selection-media { align-items: center; background: var(--surface-3); border-radius: 8px; color: var(--muted); display: flex; font-size: 10px; font-weight: 800; height: 34px; justify-content: center; overflow: hidden; position: relative; width: 34px; }
.side-selection-media img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.side-selection-item b { display: block; font-size: 12px; line-height: 1.3; }
.side-selection-item span:not(.side-selection-media) { display: grid; gap: 1px; }
.side-selection-item small { color: var(--muted); font-size: 10px; }
.side-selection-item button { background: transparent; border: 0; color: var(--muted); font-size: 15px; padding: 4px 6px; }
.shortlist-empty { align-items: center; color: var(--muted); display: flex; flex-direction: column; gap: 7px; justify-content: center; min-height: 160px; text-align: center; }
.shortlist-empty > span { align-items: center; background: var(--surface-2); border-radius: 10px; display: flex; font-size: 20px; height: 44px; justify-content: center; width: 44px; }
.shortlist-empty b { color: var(--ink); font-size: 12px; }
.shortlist-empty small { font-size: 10px; }
.shortlist-panel > .button { border-radius: 9px; width: 100%; }
.shortlist-panel > .button:disabled { background: var(--surface-2); color: var(--muted); cursor: default; }
.shortlist-notes { color: var(--muted); display: grid; font-size: 10px; gap: 5px; padding: 14px 20px 20px; text-align: center; }
.empty-state, .error-state { align-items: center; display: flex; flex-direction: column; gap: 10px; justify-content: center; min-height: 360px; padding: 60px 20px; text-align: center; }
.empty-state span, .error-state p { color: var(--muted); }
.error-state h2 { font-size: clamp(28px,4.5vw,44px); letter-spacing: -.04em; margin: 0; max-width: 620px; }

.site-footer { align-items: center; border-top: 1px solid var(--line); display: grid; font-size: 12px; grid-template-columns: 1fr auto 1fr; margin: 0 auto; max-width: 1320px; padding: 30px 24px 40px; }
.site-footer span { font-weight: 800; }
.site-footer p { color: var(--muted); margin: 0; }
.site-footer a { justify-self: end; }

.selection-bar { align-items: center; backdrop-filter: blur(18px) saturate(130%); background: rgba(15,16,20,.92); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; bottom: max(14px,env(safe-area-inset-bottom)); box-shadow: 0 16px 60px rgba(0,0,0,.3); color: #fff; display: none; gap: 28px; justify-content: space-between; left: 50%; max-width: 620px; padding: 11px 11px 11px 18px; position: fixed; transform: translateX(-50%); width: calc(100% - 28px); z-index: 30; }
.selection-bar div { display: grid; }
.selection-bar strong { font-size: 13px; }
.selection-bar span { color: #a7a9b2; font-size: 11px; }
.button { border: 0; border-radius: 10px; font-weight: 800; padding: 12px 18px; transition: filter .2s ease,transform .2s ease; }
.button:hover { filter: brightness(1.08); }
.button:active { transform: translateY(1px) scale(.99); }
.button.dark { background: var(--ink); color: var(--page); }
.button.light { background: var(--accent); color: var(--accent-ink); }
.button.discord { background: #5865f2; color: white; padding: 11px 15px; text-decoration: none; }
.button.wide { width: 100%; }

dialog { background: transparent; border: 0; color: var(--ink); padding: 0; }
dialog::backdrop { backdrop-filter: blur(10px); background: rgba(3,4,6,.72); }
.sheet { height: 100%; margin: 0 0 0 auto; max-height: none; max-width: 620px; width: 100%; }
.sheet-panel { background: var(--surface); height: 100%; overflow-y: auto; padding: 54px 40px 40px; position: relative; }
.close-button { align-items: center; background: var(--surface-2); border: 0; border-radius: 50%; color: var(--ink); display: flex; font-size: 19px; height: 36px; justify-content: center; line-height: 1; position: absolute; right: 20px; top: 18px; width: 36px; }
.sheet h2, .help-modal h2 { font-size: clamp(26px,4vw,36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 12px; text-wrap: balance; }
.sheet-intro { color: var(--muted); line-height: 1.55; margin-bottom: 26px; }
.review-collapse { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.review-collapse > summary { align-items: center; cursor: pointer; display: flex; font-size: 13px; font-weight: 800; justify-content: space-between; list-style: none; min-height: 48px; }
.review-collapse > summary::-webkit-details-marker { display: none; }
.review-collapse > summary small { color: var(--muted); font-size: 11px; font-weight: 700; }
.review-collapse > summary small::after { content: "  ⌄"; }
.review-collapse[open] > summary small::after { content: "  ⌃"; }
.review-list { display: grid; gap: 0; padding-bottom: 8px; }
.review-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: 40px 1fr auto; padding: 11px 0; }
.review-media { align-items: center; background: var(--surface-3); border-radius: 8px; color: var(--muted); display: flex; font-size: 10px; font-weight: 800; height: 40px; justify-content: center; overflow: hidden; position: relative; width: 40px; }
.review-media img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.review-copy strong { display: block; font-size: 13px; margin-bottom: 2px; }
.review-copy small { color: var(--muted); display: block; margin-bottom: 4px; }
.review-copy button { background: transparent; border: 0; color: var(--accent); font-size: 11px; font-weight: 800; padding: 0; }
.priority-toggle { background: var(--surface-2); border-radius: 9px; display: flex; padding: 3px; }
.priority-toggle button { background: transparent; border: 0; border-radius: 7px; color: var(--muted); font-size: 10px; font-weight: 800; padding: 7px 9px; }
.priority-toggle button.active { background: var(--ink); color: var(--page); }
.field-block { border-top: 1px solid var(--line); padding-top: 26px; }
.discord-gate { align-items: center; background: color-mix(in srgb,#5865f2 10%,var(--surface)); border: 1px solid color-mix(in srgb,#5865f2 28%,transparent); border-radius: 14px; display: grid; gap: 13px; grid-template-columns: auto 1fr auto; margin: 26px 0 20px; padding: 15px; }
.discord-gate strong { display: block; font-size: 14px; }
.discord-gate p { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 3px 0 0; }
.discord-icon { align-items: center; background: #5865f2; border-radius: 10px; display: flex; height: 42px; justify-content: center; width: 42px; }
.discord-icon img { height: 18px; width: 24px; }
.creator-identity { align-items: center; background: var(--surface-2); border-radius: 12px; display: flex; gap: 12px; margin: 24px 0 16px; padding: 12px; }
.creator-identity img { background: var(--surface-3); border-radius: 10px; height: 42px; object-fit: cover; width: 42px; }
.creator-identity small, .creator-identity strong { display: block; }
.creator-identity small { color: var(--muted); font-size: 10px; }
.creator-identity strong { font-size: 14px; }
.field-heading { display: flex; font-size: 13px; font-weight: 800; justify-content: space-between; margin-bottom: 11px; }
.field-heading span { color: var(--ink); font-weight: 800; }
.field-heading small { color: var(--muted); font-weight: 500; }
.accounts-list { display: grid; gap: 12px; padding-bottom: 24px; }
.account-card { background: var(--page); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.account-card-head { align-items: center; cursor: pointer; display: grid; gap: 11px; grid-template-columns: 42px 1fr auto; list-style: none; padding: 12px; }
.account-card-head::-webkit-details-marker { display: none; }
.account-card-head strong, .account-card-head small { display: block; }
.account-card-head strong { font-size: 13px; }
.account-card-head small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.account-card-count { align-items: center; color: var(--muted); display: flex; font-size: 11px; font-weight: 800; gap: 8px; }
.account-card-count b { font-size: 10px; transition: transform .15s ease; }
.account-card[open] .account-card-count b { transform: rotate(180deg); }
.submission-status { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 12px; color: var(--muted); font-size: 12px; line-height: 1.45; margin: 0 0 10px; padding: 10px 12px; }
.account-card-actions { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 8px 12px 4px; }
.account-card-actions span { color: var(--muted); font-size: 10px; font-weight: 700; }
.account-card-actions button { background: transparent; border: 0; color: var(--accent); font-size: 11px; font-weight: 800; padding: 7px; }
.account-avatar { align-items: center; background: var(--surface-3); border-radius: 10px; color: var(--danger); display: flex; font-size: 11px; font-weight: 800; height: 42px; justify-content: center; overflow: hidden; width: 42px; }
.account-avatar img { height: 100%; object-fit: cover; width: 100%; }
.account-campaigns { border-top: 1px solid var(--line); display: grid; gap: 1px; max-height: 250px; overflow-y: auto; padding: 6px; }
.account-campaign { align-items: center; border-radius: 8px; color: var(--muted); cursor: pointer; display: grid; font-size: 12px; gap: 9px; grid-template-columns: 18px 1fr; line-height: 1.35; padding: 9px; }
.account-campaign:hover, .account-campaign.active { background: var(--surface-2); color: var(--ink); }
.account-campaign input { accent-color: var(--accent); height: 16px; margin: 0; width: 16px; }
.handle-row { align-items: center; background: var(--page); border: 1px solid var(--line); border-radius: 10px; display: flex; margin-bottom: 9px; overflow: hidden; }
.handle-row > span { color: var(--muted); font-weight: 800; padding-left: 15px; }
.handle-row input { background: transparent; border: 0; color: var(--ink); flex: 1; min-width: 0; outline: 0; padding: 14px 9px; }
.remove-handle { background: transparent; border: 0; color: var(--muted); font-size: 18px; padding: 10px 14px; }
.text-button { background: transparent; border: 0; color: var(--accent); font-size: 13px; font-weight: 800; padding: 8px 0 22px; }
.terms-row { align-items: flex-start; display: flex; font-size: 13px; gap: 11px; line-height: 1.5; margin: 4px 0 18px; }
.terms-row input { accent-color: var(--accent); height: 18px; margin-top: 1px; width: 18px; }
.form-error { color: var(--danger); font-size: 12px; min-height: 18px; }
.fine-print, .fallback-link { color: var(--muted); display: block; font-size: 11px; line-height: 1.5; text-align: center; }
.fallback-link { margin-top: 13px; }
.success { align-items: center; display: flex; flex-direction: column; justify-content: center; min-height: 75vh; text-align: center; }
.success p:not(.eyebrow) { color: var(--muted); line-height: 1.6; max-width: 420px; }
.success-orbit { align-items: center; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; height: 100px; justify-content: center; margin-bottom: 32px; width: 100px; }
.success-orbit span { align-items: center; background: var(--accent); border-radius: 50%; color: var(--accent-ink); display: flex; font-weight: 900; height: 48px; justify-content: center; width: 48px; }
.brief-hero { margin-bottom: 26px; }
.brief-brand { align-items: center; display: flex; gap: 12px; margin-bottom: 24px; }
.brief-brand .brand-avatar { align-items: center; background: var(--surface-3); border-radius: 12px; color: var(--ink); display: flex; font-size: 15px; font-weight: 800; height: 54px; justify-content: center; overflow: hidden; position: relative; width: 54px; }
.brief-brand .brand-avatar img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.brief-brand small, .brief-brand strong { display: block; }
.brief-brand small { color: var(--muted); margin-top: 3px; }
.brief-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.brief-section { border-top: 1px solid var(--line); padding: 22px 0; }
.brief-section h3 { font-size: 14px; margin: 0 0 9px; }
.brief-section p, .brief-section li { color: var(--muted); font-size: 14px; line-height: 1.65; }
.brief-section ul { margin: 0; padding-left: 20px; }
.brief-empty { color: var(--muted); font-style: italic; }
.help-modal { max-width: 480px; width: calc(100% - 32px); }
.help-modal form { background: var(--surface); border-radius: 18px; padding: 50px 34px 30px; position: relative; }
.help-steps { display: grid; gap: 18px; margin: 26px 0; }
.help-steps p { display: grid; grid-template-columns: 34px 1fr; margin: 0; }
.help-steps p > span { align-items: center; background: var(--surface-2); border-radius: 50%; display: flex; font-size: 12px; font-weight: 800; grid-row: 1 / 3; height: 28px; justify-content: center; width: 28px; }
.help-steps b { font-size: 14px; }
.help-steps small { color: var(--muted); line-height: 1.45; margin-top: 3px; }

@media (max-width: 1020px) {
  .discovery-layout { grid-template-columns: 1fr; }
  .shortlist-panel { position: static; }
}
@media (max-width: 760px) {
  .site-header { height: 50px; padding: 0 16px; }
  .theme-button #themeLabel { display: none; }
  .application-shell { padding: 16px 14px 90px; }
  .application-head h2 { font-size: 18px; }
  .toolbar { top: 50px; }
  .filter-row { gap: 8px 14px; }
  .toolbar-actions { flex-wrap: nowrap; }
  .select-all-button { order: 0; width: auto; }
  .campaign-grid, .loading-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .loading-grid div { height: 170px; }
  .shortlist-panel { display: none; }
  .selection-bar { display: flex; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}
@media (max-width: 540px) {
  .access-gate { margin-top: 58px; padding-inline: 4px; }
  .access-gate h1 { font-size: clamp(40px,13vw,58px); }
  .gate-orbit { margin-bottom: 24px; }
  .header-actions { gap: 10px; }
  .header-account-button { padding-inline: 7px; }
  .header-account-button #headerAccountLabel { display: none; }
  .header-account-count { align-items: center; background: var(--ink); border-radius: 50%; color: var(--page); display: inline-flex; font-size: 9px; height: 16px; justify-content: center; width: 16px; }
  .header-account-menu { position: fixed; right: 14px; top: 62px; width: calc(100vw - 28px); }
  .brand-mark { height: 24px; width: 24px; }
  .card-body { padding: 8px 9px 9px; }
  .campaign-card h3 { font-size: 12px; }
  .sheet { height: min(92dvh,820px); margin: auto 0 0; max-width: none; width: 100%; }
  .sheet-panel { border-radius: 20px 20px 0 0; padding: 48px 16px max(26px,env(safe-area-inset-bottom)); }
  .discord-gate { grid-template-columns: auto 1fr; }
  .discord-gate .button { grid-column: 1 / -1; text-align: center; }
  .field-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .account-card-head { grid-template-columns: 38px 1fr auto; }
  .account-avatar { height: 38px; width: 38px; }
  .selection-bar span { display: none; }
  .help-modal { margin-bottom: 0; width: 100%; }
  .help-modal form { border-radius: 20px 20px 0 0; padding: 48px 18px max(26px,env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
