/* BrokerBuilt: trading-card set on clean white */
:root {
  --paper: #ffffff;
  --soft: #f6f5f0;
  --hair: #e6e3d9;
  --ink: #111111;
  --ink-2: #57544c;
  --sun: #ffc824;
  --blue: #3f7bff;
  --tomato: #ff5b3a;
  --mint: #18b57a;
  --bad: #d92d20;
  --bw: 2.5px;
  --r: 16px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 7px 7px 0 var(--ink);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--blue); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.025em; margin: 0 0 .45em; text-wrap: balance; font-stretch: 118%; font-weight: 850; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.center { text-align: center; justify-content: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); border: var(--bw) solid var(--ink); padding: 8px 12px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 780px; }

/* kicker labels */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin: 0 0 16px; }
.kicker-tag { background: var(--ink); color: var(--paper); padding: 5px 8px; border-radius: 6px; letter-spacing: .08em; }

/* ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; font: 500 12px/1 var(--mono); white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 40px; padding: 10px 0; animation: tick 70s linear infinite; }
.ticker-track > * { color: #cfcac0; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.ticker b { color: var(--sun); font-weight: 500; }
.ticker i { color: var(--mint); font-style: normal; }
.ticker a:hover { color: #fff; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: var(--bw) solid var(--ink); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 850; font-stretch: 120%; font-size: 1.25rem; letter-spacing: -.03em; text-decoration: none; }
.mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav > a:not(.btn) { color: var(--ink); padding: 8px 10px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.nav > a:not(.btn):hover { background: var(--soft); }
@media (max-width: 600px) { .nav > a:not(.btn) { display: none; } .brand span { font-size: 1.08rem; } .header-row { height: 62px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: var(--bw) solid var(--ink); font: 750 15px/1 var(--font); font-stretch: 108%; cursor: pointer; text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: 14px; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-lg { min-height: 58px; font-size: 17px; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--sun), 4px 4px 0 var(--bw) var(--ink); }
.btn-ink:hover { box-shadow: 5px 5px 0 var(--sun), 5px 5px 0 var(--bw) var(--ink); }
.btn-ink.btn-sm { box-shadow: 3px 3px 0 var(--sun), 3px 3px 0 var(--bw) var(--ink); }
.btn-sun { background: var(--sun); }
.btn-white { background: var(--paper); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.linklike { background: none; border: 0; color: var(--ink); font: inherit; padding: 0; cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; }
.icon-btn { background: var(--paper); border: var(--bw) solid var(--ink); color: var(--ink); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-weight: 700; }
.icon-btn:hover { background: var(--soft); }
/* legacy names used by admin */
.btn-up { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--paper); }
.btn-amber { background: var(--sun); }

/* hero */
.hero { padding: 56px 0 40px; overflow: hidden; }
@media (min-width: 960px) { .hero { padding: 84px 0 64px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.hl { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: 1.15rem; color: #34322d; max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.stats { display: flex; flex-wrap: wrap; gap: 0; margin: 34px 0 0; border: var(--bw) solid var(--ink); border-radius: var(--r); width: fit-content; max-width: 100%; overflow: hidden; }
.stats > div { padding: 12px 20px; border-right: var(--bw) solid var(--ink); }
.stats > div:last-child { border-right: 0; }
.stats dt { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.stats dd { margin: 6px 0 0; font-size: 1.6rem; font-weight: 500; line-height: 1; }

.hero-pack { position: relative; height: 430px; max-width: 520px; width: 100%; margin: 0 auto; }
.fan { position: absolute; top: 20px; left: 50%; width: 250px; transition: transform .35s cubic-bezier(.2, .8, .2, 1.2); }
.fan .tcard { pointer-events: none; }
.fan-1 { transform: translateX(-50%) translateX(-120px) rotate(-11deg) translateY(28px); }
.fan-2 { transform: translateX(-50%) translateX(120px) rotate(9deg) translateY(24px); }
.fan-3 { transform: translateX(-50%) rotate(-1.5deg); z-index: 2; }
.hero-pack:hover .fan-1 { transform: translateX(-50%) translateX(-150px) rotate(-15deg) translateY(36px); }
.hero-pack:hover .fan-2 { transform: translateX(-50%) translateX(150px) rotate(13deg) translateY(30px); }
.hero-pack:hover .fan-3 { transform: translateX(-50%) rotate(0deg) translateY(-8px); }
@media (max-width: 600px) {
  .hero-pack { height: 340px; }
  .fan { width: 200px; }
  .fan-1 { transform: translateX(-50%) translateX(-78px) rotate(-11deg) translateY(24px); }
  .fan-2 { transform: translateX(-50%) translateX(78px) rotate(9deg) translateY(20px); }
}

/* sections */
.section { padding: 60px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .kicker { margin-bottom: 10px; }
.count-badge { margin: 0; border: var(--bw) solid var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; background: var(--sun); }

/* toolbar */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.search { flex: 1 1 300px; position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 15px; width: 19px; height: 19px; pointer-events: none; }
.search input { padding-left: 44px; }
.sort { flex: 0 0 auto; }
.input { width: 100%; min-height: 50px; background: var(--paper); border: var(--bw) solid var(--ink); color: var(--ink); border-radius: 12px; padding: 10px 14px; font: 450 16px/1.4 var(--font); transition: box-shadow .12s; }
.input.mono { font-family: var(--mono); font-size: 15px; }
.input::placeholder { color: #9c988c; }
.input:focus { outline: none; box-shadow: var(--shadow); }
select.input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' stroke='%23111' stroke-width='2.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; cursor: pointer; }
textarea.input { resize: vertical; min-height: 120px; }
input[type="file"].input { padding: 9px; }
input[type="file"]::file-selector-button { background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 6px 12px; margin-right: 10px; font: 700 14px var(--font); cursor: pointer; }
.input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 4px 4px 0 var(--bad); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; margin: 0 -4px 22px; scrollbar-width: thin; }
.chip { flex: none; display: inline-flex; gap: 8px; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: var(--bw) solid var(--ink); color: var(--ink); font: 650 14px/1 var(--font); cursor: pointer; text-decoration: none; }
.chip span { font: 500 12px/1 var(--mono); color: var(--ink-2); }
.chip .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--ink)); border: 2px solid var(--ink); }
.chip:hover { background: var(--soft); }
.chip.is-on { background: var(--ink); color: #fff; }
.chip.is-on span { color: #cfcac0; }

/* ===== the trading card ===== */
.grid { display: grid; gap: 26px 22px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; } }
.tcard {
  --c: var(--sun);
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1.3), box-shadow .22s;
}
.grid .tcard:hover { transform: translate(-3px, -5px) rotate(-1.2deg); box-shadow: var(--shadow-lg); }
.grid .tcard:nth-child(even):hover { transform: translate(-3px, -5px) rotate(1.2deg); }
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.tc-band { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; background: var(--c); border-bottom: var(--bw) solid var(--ink); font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.tc-cat { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-no { flex: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 3px 6px; }
.tc-art {
  position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4;
  margin: 10px 10px 0; border: var(--bw) solid var(--ink); border-radius: 12px;
  background:
    radial-gradient(color-mix(in srgb, var(--c) 55%, transparent) 1.3px, transparent 1.6px) 0 0 / 11px 11px,
    color-mix(in srgb, var(--c) 16%, white);
}
.tc-logo { width: 46%; aspect-ratio: 1; height: auto; border-radius: 20%; object-fit: contain; background: var(--paper); border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 6%; }
.tc-logo-fallback { display: grid; place-items: center; font: 900 clamp(1.4rem, 3.4vw, 2.2rem)/1 var(--font); font-stretch: 125%; background: var(--paper); color: var(--ink); }
.tc-player { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 0; z-index: 2; }
.tc-player img { width: 42px; height: 42px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--soft); object-fit: cover; }
.tc-player b { margin-left: -8px; background: var(--ink); color: #fff; font: 500 11px/1 var(--mono); padding: 5px 7px 5px 12px; border-radius: 0 7px 7px 0; }
.sticker { position: absolute; top: 8px; right: 8px; font: 800 11px/1 var(--font); font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 8px; transform: rotate(5deg); z-index: 2; }
.sticker-feat { background: var(--sun); }
.sticker-demo { background: var(--paper); top: auto; bottom: 10px; right: 8px; transform: rotate(-4deg); }
.tc-body { padding: 12px 14px 4px; flex: 1; }
.tc-name { font-size: 1.12rem; font-weight: 850; font-stretch: 115%; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 6px; }
.tc-tag { color: var(--ink-2); font-size: .9rem; line-height: 1.4; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-foot { display: flex; justify-content: space-between; gap: 6px; padding: 8px 12px; border-top: 2px dashed var(--ink); font: 500 10.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.tc-foot span:first-child { color: var(--ink); font-weight: 500; }
@media (max-width: 520px) {
  .tc-body { padding: 10px 10px 2px; }
  .tc-name { font-size: .98rem; }
  .tc-tag { font-size: .8rem; -webkit-line-clamp: 2; }
  .tc-foot span:nth-child(3) { display: none; }
  .tc-player img { width: 34px; height: 34px; }
  .tc-player b { font-size: 10px; }
  .tc-band { font-size: 10px; padding: 8px 9px; }
  .sticker { font-size: 9.5px; padding: 4px 6px; }
}

/* featured: holographic foil rim */
.tcard.is-featured { border-color: transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, conic-gradient(from var(--a, 0deg), #ff5b3a, #ffc824, #18b57a, #1cc4d8, #3f7bff, #a46bff, #ff7cc4, #ff5b3a) border-box; border-width: 3.5px; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.grid .tcard.is-featured:hover { animation: foil 2.4s linear infinite; }
@keyframes foil { to { --a: 360deg; } }

/* blank / placeholder cards */
.tcard-blank .tc-logo-fallback { color: var(--ink-2); }
.tcard-blank { background: var(--paper); }

/* large card on listing page */
.tcard-lg { max-width: 400px; border-radius: 22px; box-shadow: 9px 9px 0 var(--ink); }
.tcard-lg .tc-band { font-size: 13px; padding: 12px 16px; }
.tcard-lg .tc-art { margin: 14px 14px 0; border-radius: 16px; }
.tcard-lg .tc-player img { width: 58px; height: 58px; }
.tcard-lg .tc-player b { font-size: 13px; padding: 7px 9px 7px 14px; }
.tcard-lg .tc-name { font-size: 1.5rem; }
.tcard-lg .tc-tag { font-size: 1rem; -webkit-line-clamp: 4; }
.tcard-lg .tc-body { padding: 16px 18px 6px; }
.tcard-lg .tc-foot { font-size: 12px; padding: 11px 16px; }

/* empty state */
.empty { display: grid; gap: 28px; align-items: center; justify-items: center; text-align: center; padding: 40px 16px; border: var(--bw) dashed var(--ink); border-radius: 22px; background: var(--soft); }
@media (min-width: 760px) { .empty:has(.empty-card) { grid-template-columns: 260px 1fr; text-align: left; justify-items: start; padding: 40px 48px; } }
.empty-card { width: 240px; transform: rotate(-4deg); }
.empty h3 { font-size: 1.6rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps li { position: relative; border: var(--bw) solid var(--ink); border-radius: 18px; padding: 24px 24px 22px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.steps li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--c); border-bottom: var(--bw) solid var(--ink); }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; margin: 8px 0 16px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--c); font: 900 1.5rem/1 var(--font); font-stretch: 125%; }
.steps h3 { font-size: 1.4rem; margin-bottom: .35em; }
.steps p { color: var(--ink-2); margin: 0; }

/* why */
.why { display: grid; gap: 30px; }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; } }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.why-grid li { border: var(--bw) solid var(--ink); border-radius: 16px; padding: 18px; background: color-mix(in srgb, var(--c) 20%, white); display: grid; gap: 4px; }
.why-grid b { font-size: 1.1rem; font-weight: 800; font-stretch: 112%; }
.why-grid span { color: #3c3a34; font-size: .95rem; }

/* donate band */
.band { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg); background-image: radial-gradient(rgba(17, 17, 17, .12) 1.3px, transparent 1.6px); background-size: 12px 12px; }
.band h2 { margin-bottom: 6px; }
.band p { margin: 0; max-width: 52ch; }

/* listing page */
.crumbs { color: var(--ink-2); margin-bottom: 28px; font-family: var(--mono); font-size: 13px; }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 6px; opacity: .6; }
.notice { background: #fff4d1; border: var(--bw) solid var(--ink); padding: 10px 14px; border-radius: 12px; font-size: .92rem; font-weight: 600; }
.listing-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .listing-grid { grid-template-columns: 400px 1fr; gap: 64px; } .listing-front { position: sticky; top: 100px; } }
.listing-front .tcard-lg { margin: 0 auto; transform: rotate(-2deg); }
.card-back { border: var(--bw) solid var(--ink); border-radius: 22px; padding: clamp(20px, 4vw, 36px); background: color-mix(in srgb, var(--c) 9%, white); }
.cb-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .25em; }
.cb-head .kicker { margin-bottom: 14px; }
.cb-head .lede { margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-link { background: var(--paper); }
.chip-link:hover { background: var(--sun); }
.prose { margin-top: 26px; color: #2c2a25; max-width: 66ch; font-size: 1.06rem; }
.stat-table { width: 100%; border-collapse: separate; margin: 22px 0 16px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 14px; overflow: hidden; border-spacing: 0; font-size: .95rem; }
.stat-table th, .stat-table td { text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--ink); vertical-align: middle; }
.stat-table tr:last-child th, .stat-table tr:last-child td { border-bottom: 0; }
.stat-table th { width: 34%; font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); background: var(--soft); border-right: 2px solid var(--ink); }
.holder-inline { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.holder-inline img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; background: var(--soft); }
.related { margin-top: 80px; }
.related .kicker { margin-bottom: 10px; }

/* submit */
.submit-head { max-width: 760px; }
.submit-grid { display: grid; gap: 32px; margin-top: 32px; align-items: start; }
@media (min-width: 980px) { .submit-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } .preview-col { order: 2; position: sticky; top: 96px; } }
.preview-col #card-preview { max-width: 280px; margin-bottom: 18px; }
@media (max-width: 979px) {
  .preview-sticky { display: grid; grid-template-columns: 160px 1fr; gap: 14px 18px; align-items: center; }
  .preview-sticky .kicker { grid-column: 1 / -1; margin: 0; }
  .preview-col #card-preview { max-width: 160px; }
  .preview-col .tcard .tc-tag, .preview-col .tcard .tc-foot { display: none; }
  .preview-col .tcard .tc-name { font-size: .9rem; }
  .preview-col .tcard .tc-band { font-size: 9px; padding: 6px 8px; }
  .preview-col .tc-player img { width: 28px; height: 28px; }
  .preview-col .tc-player b { font-size: 9px; }
}
#card-preview .tcard { transform: rotate(1.5deg); }
.form { display: grid; gap: 22px; }
fieldset { border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--paper); padding: 22px 18px 6px; margin: 0; min-width: 0; }
@media (min-width: 720px) { fieldset { padding: 26px 26px 10px; } }
legend { padding: 0 8px; margin-left: -8px; font-weight: 850; font-stretch: 112%; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 10px; }
.lg-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); font: 900 14px/1 var(--font); }
.field { display: grid; gap: 6px; margin-bottom: 18px; align-content: start; }
.field > span { font-weight: 650; font-size: .95rem; }
.req { color: var(--tomato); font-weight: 800; }
.hint { color: var(--ink-2); font-size: .83rem; }
.two { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.upload { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.upload .field { flex: 1 1 260px; }
.upload-preview { width: 100px; height: 100px; flex: none; border-radius: 20px; border: var(--bw) dashed var(--ink); display: grid; place-items: center; color: var(--ink-2); font-size: 13px; background: var(--soft) center/contain no-repeat; }
.upload-preview.has-img { background-color: #fff; border-style: solid; box-shadow: 3px 3px 0 var(--ink); }
.upload-preview.has-img span { display: none; }
.checks { display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.status { min-height: 1.4em; font-size: .93rem; margin: 12px 0 0; overflow-wrap: anywhere; }
.status-err { color: var(--bad); background: #fff0ee; border: var(--bw) solid var(--bad); padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.status.ok { color: #0d7a52; font-weight: 600; }
.status.err { color: var(--bad); font-weight: 600; }

/* faq */
.faq-title { margin-top: 52px; }
.faq { display: grid; gap: 10px; }
.faq details { border: var(--bw) solid var(--ink); border-radius: 14px; background: var(--paper); }
.faq details[open] { box-shadow: var(--shadow); background: #fffaf0; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 750; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); font: 700 18px/1 var(--mono); background: var(--sun); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #3c3a34; margin: 0; padding: 0 18px 18px; }

.center-block { text-align: center; padding: 30px 0 10px; }
.center-card { width: 220px; margin: 0 auto 32px; transform: rotate(-3deg); }
.center-block .lede { margin: 0 auto; }

/* modal */
.modal { width: min(450px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 20px; padding: 24px; box-shadow: 8px 8px 0 var(--ink); }
.modal::backdrop { background: rgba(17, 17, 17, .45); }
.modal h2 { font-size: 1.7rem; margin-top: -8px; }
.modal-close-row { display: flex; justify-content: flex-end; margin: -6px -6px 0 0; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.presets .chip { font-family: var(--mono); font-weight: 500; }
.manual { margin-top: 16px; border-top: 2px dashed var(--ink); padding-top: 12px; }
.manual summary { cursor: pointer; font-weight: 650; font-size: .92rem; }
.manual p { margin: 10px 0; }
.copy-row { display: flex; gap: 8px; align-items: center; background: var(--soft); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 8px 8px 12px; }
.copy-row code { flex: 1; font-size: 12px; overflow-wrap: anywhere; }

/* footer */
.site-footer { border-top: var(--bw) solid var(--ink); margin-top: 60px; padding: 44px 0 30px; background: var(--soft); }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr; } }
.footer-grid p { margin-top: 12px; max-width: 46ch; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.footer-links a, .footer-links .linklike { color: var(--ink); font-weight: 600; text-decoration: none; font-size: .97rem; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { color: var(--ink-2); margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--hair); line-height: 1.55; }

/* pills (shared with admin) */
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); }
.pill-up { background: #d8f5e8; }
.pill-warn { background: #fff1c2; }
.eyebrow { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
  .tcard, .fan, .btn { transition: none !important; }
  .grid .tcard:hover { transform: none; }
  .grid .tcard.is-featured:hover { animation: none; }
}

/* ===== SEO / content additions ===== */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .55; }
.tldr { margin: 20px 0 0; padding: 12px 16px; background: var(--paper); border: 2px solid var(--ink); border-left: 8px solid var(--c, var(--sun)); border-radius: 12px; font-size: 1rem; }
.facts-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.fact { border: var(--bw) solid var(--ink); border-radius: 16px; padding: 20px; background: var(--paper); }
.fact h3 { font-size: 1.1rem; margin-bottom: .5em; }
.fact p { margin: 0; color: #3c3a34; font-size: .97rem; }
.cat-head { max-width: 800px; margin-bottom: 26px; }
.cat-head h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.cat-more { margin: 56px 0 40px; }
.cat-more h2 { font-size: 1.4rem; }
.cat-more ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cat-more a { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 650; text-decoration: none; }
.cat-more a:hover { background: var(--sun); }
.band-slim { padding: 24px 28px; box-shadow: var(--shadow); }
.band-slim h2 { font-size: 1.5rem; }
.footer-cats { margin-top: 24px; color: var(--ink-2); line-height: 1.9; }
.footer-cats a { color: var(--ink); font-weight: 600; }
.policy { padding-left: 1.2em; display: grid; gap: 10px; color: #2c2a25; }
.policy b { color: var(--ink); }
.more-link { margin-top: 22px; font-weight: 700; }
.related-wrap { padding-top: 0; }
.related { margin-top: 20px; }
.faq summary h3 { font-size: 1.02rem; font-weight: 750; font-stretch: 100%; letter-spacing: 0; line-height: 1.35; margin: 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--soft); border: 1px solid var(--hair); border-radius: 6px; padding: 1px 5px; }

/* ===== verification: seal, certificate, standards ===== */
.tone-ok { --tone: #18b57a; --tone-bg: #dcf6ea; }
.tone-warn { --tone: #b7791f; --tone-bg: #fff1c2; }
.tone-bad { --tone: #d92d20; --tone-bg: #ffe4e0; }
.tone-text-ok { color: #0d7a52; } .tone-text-warn { color: #a3670f; } .tone-text-bad { color: var(--bad); }
.status-pill { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font: 700 12.5px/1 var(--font); padding: 6px 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--tone-bg); }
.status-banner { margin: 16px 0; padding: 12px 16px; border: var(--bw) solid var(--ink); border-left: 10px solid var(--tone); border-radius: 12px; background: var(--tone-bg); font-size: .98rem; }
.notice-ok, .notice-warn, .notice-bad { margin-top: 16px; }
.notice-warn { background: #fff1c2; } .notice-bad { background: #ffe4e0; }
.verified-chip { display: inline-flex; margin-top: 14px; align-items: center; gap: 6px; padding: 7px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #dcf6ea; font-weight: 750; font-size: .9rem; text-decoration: none; box-shadow: 2px 2px 0 var(--ink); }
.verified-chip:hover { background: var(--sun); }
.seal-link { font-weight: 650; }
.table-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px 6px; }
.status-table, .registry { margin-top: 8px; min-width: 560px; }
.status-table thead th, .registry thead th { background: var(--ink); color: #fff; font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; border-right: 0; }
.status-table tbody th { width: 170px; background: var(--paper); }
.status-table td:last-child { white-space: nowrap; font-weight: 650; }
.registry td, .registry th { border-right: 0; }

/* verify hub */
.vh-head { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .vh-head { grid-template-columns: 1fr auto; gap: 48px; } }
.vh-seals { margin: 0; display: flex; align-items: center; gap: 18px; transform: rotate(-3deg); }
.lookup { margin: 34px 0 10px; padding: 22px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--sun); box-shadow: var(--shadow-lg); background-image: radial-gradient(rgba(17,17,17,.1) 1.3px, transparent 1.6px); background-size: 12px 12px; }
.lookup .field { margin: 0; }
.lookup .field > span { font-size: 1.1rem; font-weight: 800; font-stretch: 110%; }
.lookup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lookup-row .input { flex: 1 1 260px; min-height: 54px; font-size: 17px; }
.lookup .hint { color: #3c3a34; }
.lookup-results:empty { display: none; }
.lookup-results { margin-top: 14px; }
.lookup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lookup-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; text-decoration: none; }
.lookup-list a:hover { box-shadow: var(--shadow); }
.lk-name { font-weight: 800; font-stretch: 110%; }
.lk-meta { grid-column: 1; font-size: 12px; color: var(--ink-2); }
.lookup-list .status-pill { grid-row: 1 / span 2; grid-column: 2; }
.lookup .status-banner { margin: 0; background: var(--paper); border-left-color: var(--bad); }
.vh-h2 { margin-top: 60px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.steps-sm li { padding: 20px; }
.steps-sm .step-n { width: 42px; height: 42px; font-size: 1.2rem; margin: 6px 0 12px; }
.steps-sm h3 { font-size: 1.2rem; }
.vh-means { display: grid; gap: 14px; margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.report-form { max-width: 760px; margin-top: 16px; padding: 22px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--soft); gap: 6px; }
.report-form .btn { justify-self: start; }

/* certificate slab */
.cert-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .cert-grid { grid-template-columns: 380px 1fr; gap: 60px; } .slab { position: sticky; top: 96px; } }
.slab { max-width: 380px; margin: 0 auto; width: 100%; padding: 14px; border-radius: 26px; border: var(--bw) solid var(--ink); background: linear-gradient(135deg, #fbfbf8, #eceae2 60%, #f7f6f1); box-shadow: 8px 8px 0 var(--ink), inset 0 0 0 6px rgba(255,255,255,.7); }
.slab-label { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; padding: 12px 14px; border: var(--bw) solid var(--ink); border-radius: 12px; background: var(--paper); border-top: 8px solid var(--tone); }
.sl-main { display: grid; gap: 3px; min-width: 0; }
.sl-brand { font-size: 10px; letter-spacing: .1em; color: var(--ink-2); }
.sl-name { font-weight: 900; font-stretch: 118%; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sl-meta { font-size: 10px; letter-spacing: .06em; color: var(--ink-2); }
.sl-grade { display: grid; justify-items: center; align-content: center; min-width: 74px; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 10px; background: var(--tone-bg); }
.sl-grade .mono { font-size: 9px; letter-spacing: .1em; }
.sl-grade b { font: 900 1.7rem/1 var(--font); color: var(--tone); }
.sl-grade-label { font: 800 11px/1.1 var(--font); text-transform: uppercase; text-align: center; }
.sl-code { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 2px dashed var(--ink); padding-top: 8px; font-size: 12px; }
.barcode { flex: 1; height: 22px; max-width: 170px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.slab-window { margin-top: 14px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.55); border: 2px solid rgba(17,17,17,.18); }
.slab-window .tcard { box-shadow: 3px 3px 0 var(--ink); }
.cert-info h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cert-h2 { margin-top: 36px; font-size: 1.5rem; }
.embed-choices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 14px 0; }
.embed { display: grid; gap: 10px; align-content: start; padding: 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }
.embed-preview { display: grid; place-items: center; min-height: 150px; border-radius: 10px; background: var(--soft); background-image: radial-gradient(rgba(17,17,17,.08) 1.2px, transparent 1.5px); background-size: 10px 10px; }
.embed-code { font-size: 12px; min-height: 0; resize: none; }
.embed .btn { justify-self: start; }
.cert-report { margin-top: 20px; }

/* standards */
.std-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .std-grid { grid-template-columns: 1fr 260px; gap: 64px; } .std-sticky { position: sticky; top: 96px; } }
.std-main { max-width: 800px; }
.std-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.std-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 18px; border: var(--bw) solid var(--ink); border-radius: 16px; background: var(--paper); scroll-margin-top: 100px; }
.std-list li:target { box-shadow: var(--shadow); background: #fffaf0; }
.std-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: var(--bw) solid var(--ink); background: var(--c); font: 900 1.4rem/1 var(--font); font-stretch: 125%; transform: rotate(-4deg); }
.std-list h2 { font-size: 1.3rem; margin: 4px 0 6px; }
.std-list p { margin: 0; color: #3c3a34; }
.std-h2 { margin-top: 56px; font-size: clamp(1.5rem, 3vw, 2rem); }
.std-sticky { display: grid; gap: 14px; justify-items: start; padding: 20px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--soft); }
.std-sticky p { margin: 0; }
@media (max-width: 959px) { .std-sticky { grid-template-columns: auto 1fr; align-items: center; } .std-sticky img:first-child { grid-column: 1 / -1; } }
.std-grid > *, .cert-grid > *, .vh-head > * { min-width: 0; }
.vh-seals img { max-width: 100%; height: auto; }
@media (max-width: 600px) { .vh-seals img + img { width: 96px; } .vh-seals { gap: 12px; } }

/* ===== news / blog ===== */
.news-head { max-width: 760px; margin-bottom: 30px; }
.news-head .small { margin: 0; font-weight: 650; }
.news-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.news-h2 { margin-top: 56px; font-size: clamp(1.5rem, 3vw, 2rem); }
.news-item { position: relative; display: flex; flex-direction: column; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s cubic-bezier(.2,.8,.2,1.3), box-shadow .2s; }
.news-item:hover { transform: translate(-2px, -4px); box-shadow: var(--shadow-lg); }
.news-cover { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-bottom: var(--bw) solid var(--ink); background: var(--soft); }
.news-cover-blank { display: grid; place-items: center; background: radial-gradient(rgba(17,17,17,.14) 1.3px, transparent 1.6px) 0 0 / 11px 11px, var(--sun); }
.news-item:nth-child(3n+2) .news-cover-blank { background-color: #cfe0ff; }
.news-item:nth-child(3n+3) .news-cover-blank { background-color: #ffd9cf; }
.news-cover-blank span { font: 500 12px/1 var(--mono); letter-spacing: .12em; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 7px 10px; transform: rotate(-3deg); }
.news-body { padding: 16px 18px 18px; display: grid; gap: 6px; flex: 1; align-content: start; }
.news-meta { margin: 0; font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.news-title { margin: 0; font-size: 1.25rem; line-height: 1.15; }
.news-desc { margin: 0; color: #3c3a34; font-size: .95rem; }
.news-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 0; }
@media (min-width: 860px) {
  .news-item-lead { flex-direction: row; }
  .news-item-lead .news-cover { width: 54%; aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: var(--bw) solid var(--ink); }
  .news-item-lead .news-body { padding: 30px; align-content: center; }
}
.news-item-lead .news-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.news-item-lead .news-desc { font-size: 1.05rem; }

.post .wrap { max-width: 820px; }
.post-head h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); }
.post-byline { color: var(--ink-2); margin: 10px 0 0; }
.post-cover { margin: 30px 0 0; }
.post-cover img { width: 100%; height: auto; border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); }
.post-body { margin-top: 30px; max-width: none; font-size: 1.1rem; line-height: 1.7; }
.post-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.6em 0 .5em; }
.post-body h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.post-body h4 { font-size: 1.1rem; margin: 1.2em 0 .3em; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.post-body li { margin: .3em 0; }
.post-body ul li::marker { color: var(--tomato); }
.post-body blockquote { margin: 1.4em 0; padding: 14px 20px; border: var(--bw) solid var(--ink); border-left: 10px solid var(--sun); border-radius: 12px; background: #fffaf0; font-size: 1.15rem; font-weight: 550; }
.post-body blockquote p { margin: 0; }
.post-body pre { background: var(--ink); color: #f6f5f0; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: .88rem; }
.post-body pre code { background: none; border: 0; padding: 0; color: inherit; }
.post-body img { border: var(--bw) solid var(--ink); border-radius: 14px; margin: 1em 0; height: auto; }
.post-body hr { border: 0; border-top: 2px dashed var(--ink); margin: 2em 0; }
.post-card { max-width: 280px; margin: 1.6em auto; }
.post-foot { margin-top: 40px; padding-top: 22px; border-top: 2px dashed var(--ink); }
.post-foot .cta-row { margin-top: 16px; }

/* ===== resources: deal tickets ===== */
.res-head { display: grid; gap: 24px; align-items: start; margin-bottom: 30px; }
@media (min-width: 960px) { .res-head { grid-template-columns: 1fr 380px; gap: 48px; } }
.res-head > * { min-width: 0; }
.disclosure { border: var(--bw) solid var(--ink); border-radius: 16px; padding: 16px 18px; background: #fff7d6; box-shadow: var(--shadow); font-size: .93rem; }
.disclosure p { margin: 0; }
.disclosure-t { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px !important; }
.res-section { margin-top: 34px; }
.res-h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.dot-lg { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: var(--bw) solid var(--ink); flex: none; }
.deal-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.deal { position: relative; display: flex; flex-direction: column; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.deal::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--c); border-bottom: var(--bw) solid var(--ink); border-radius: 15px 15px 0 0; }
.deal.is-featured { box-shadow: 6px 6px 0 var(--sun), 6px 6px 0 var(--bw) var(--ink); }
.deal.is-target, .deal:target { outline: 4px solid var(--blue); outline-offset: 3px; }
.deal-top { display: flex; gap: 12px; align-items: center; padding: 22px 18px 6px; }
.deal-logo { width: 56px; height: 56px; border-radius: 14px; border: 2px solid var(--ink); object-fit: contain; background: #fff; flex: none; padding: 4px; }
.deal-logo-fallback { display: grid; place-items: center; background: color-mix(in srgb, var(--c) 30%, white); font: 900 1.1rem/1 var(--font); font-stretch: 120%; padding: 0; }
.deal-head { min-width: 0; }
.deal-name { margin: 0 0 6px; font-size: 1.12rem; line-height: 1.15; }
.deal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.deal-type { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: .04em; padding: 5px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.type-affiliate { background: #ffe1f1; } .type-referral { background: #dbe7ff; } .type-partner { background: #fff1c2; }
.type-free { background: #e8f8ef; } .type-association { background: #efe6ff; } .type-holders { background: var(--ink); color: #fff; } .type-demo { background: var(--soft); }
.deal-perk { margin: 8px 18px 0; font-weight: 850; font-stretch: 112%; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
.deal-desc { margin: 8px 18px 14px; color: #3c3a34; font-size: .94rem; flex: 1; }
.deal-stub { position: relative; border-top: 2px dashed var(--ink); padding: 14px 18px 16px; display: grid; gap: 10px; background: var(--soft); border-radius: 0 0 15px 15px; }
.deal-stub::before, .deal-stub::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: var(--bw) solid var(--ink); }
.deal-stub::before { left: -12px; clip-path: inset(0 0 0 50%); }
.deal-stub::after { right: -12px; clip-path: inset(0 50% 0 0); }
.deal-code { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 2px dashed var(--ink); border-radius: 10px; background: var(--paper); }
.deal-code code { flex: 1; font-size: 1rem; font-weight: 500; letter-spacing: .06em; background: none; border: 0; padding: 0; overflow-wrap: anywhere; }
.deal-code .small { color: var(--ink-2); text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.deal-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.deal-meta { color: var(--ink-2); }
.deal-note { margin: 0; color: var(--ink-2); font-size: .8rem; }
.blank-note { text-align: center; padding: 30px; border: 2px dashed var(--ink); border-radius: 14px; font-weight: 600; margin-top: 24px; }
.res-offer { display: grid; gap: 24px; margin-top: 70px; padding: clamp(20px, 4vw, 34px); border: var(--bw) solid var(--ink); border-radius: 22px; background: color-mix(in srgb, #FF7CC4 14%, white); }
@media (min-width: 960px) { .res-offer { grid-template-columns: 1fr 1.3fr; gap: 40px; } }
.res-offer > * { min-width: 0; }
.res-offer .form { gap: 4px; }
.res-offer .btn { justify-self: start; }
.site-footer .disclaimer a { color: inherit; }

/* ===== nav: wide-only links + mobile menu ===== */
@media (max-width: 1100px) { .nav .nav-wide { display: none; } }
.mnav { display: none; position: relative; }
@media (max-width: 600px) { .mnav { display: block; } }
.mnav summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border: var(--bw) solid var(--ink); border-radius: 10px; display: grid; place-content: center; gap: 4px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.mnav-panel { position: absolute; right: 0; top: 50px; z-index: 30; width: min(260px, calc(100vw - 32px)); display: grid; padding: 8px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); }
.mnav-panel a { padding: 11px 12px; border-radius: 8px; font-weight: 650; text-decoration: none; }
.mnav-panel a:hover { background: var(--soft); }
@media (max-width: 600px) { .nav .btn-sun { display: none; } }

/* ===== newsletter ===== */
.footer-nl { margin-top: 28px; }
.nl-footer { display: grid; gap: 12px 24px; align-items: center; padding: 20px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--sun); box-shadow: var(--shadow); }
@media (min-width: 860px) { .nl-footer { grid-template-columns: auto 1fr auto; } }
.nl-k { margin: 0; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.nl-t { margin: 0; font-weight: 750; font-stretch: 108%; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; min-width: 0; }
.nl-form .input { flex: 1 1 220px; min-height: 48px; }
.nl-box { margin: 26px 0 10px; padding: 22px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--sun); box-shadow: var(--shadow-lg); background-image: radial-gradient(rgba(17,17,17,.1) 1.3px, transparent 1.6px); background-size: 12px 12px; }
.nl-h2 { margin-top: 44px; font-size: 1.6rem; }
.nl-what { margin-bottom: 20px; }

/* ===== sponsor ===== */
.sp-head { display: grid; gap: 26px; align-items: end; }
@media (min-width: 960px) { .sp-head { grid-template-columns: 1fr auto; } }
.sp-head > * { min-width: 0; }
.sp-stats { margin: 0; }
.sp-h2 { margin-top: 54px; font-size: clamp(1.5rem, 3vw, 2rem); }
.sp-packages { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sp-pack { position: relative; padding: 24px 20px 20px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.sp-pack::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--c); border-bottom: var(--bw) solid var(--ink); }
.sp-pack h3 { font-size: 1.3rem; margin-top: 6px; }
.sp-pack p { color: #3c3a34; margin: 0 0 12px; }
.sp-price { display: inline-block; margin: 0 !important; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 8px; background: var(--soft); font-size: 13px; }
.sp-rules { margin-top: 18px; max-width: 820px; }
.sp-rules h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.sp-current { padding-left: 1.2em; }

/* ===== Robinhood Chain page ===== */
.ch-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .ch-grid { grid-template-columns: 1fr 260px; gap: 64px; } .ch-side .std-sticky { position: sticky; top: 96px; } }
.ch-grid > * { min-width: 0; }
.ch-main { max-width: 820px; }
.ch-add { margin: 26px 0 8px; padding: 22px; border: var(--bw) solid var(--ink); border-radius: 18px; background: color-mix(in srgb, #18B57A 18%, white); box-shadow: var(--shadow-lg); }
.ch-add .btn { white-space: normal; text-align: center; }
.ch-h2 { margin-top: 48px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.ch-table td { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ch-table code { background: none; border: 0; padding: 0; font-size: .95rem; overflow-wrap: anywhere; }
.ch-table th { width: 30%; }
.ch-safe { padding-left: 1.2em; display: grid; gap: 8px; }
.ch-sources { margin-top: 30px; }

/* ===== events ===== */
.ev-list { display: grid; gap: 14px; }
.ev { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border: var(--bw) solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.ev:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-lg); }
.ev.is-featured { box-shadow: 6px 6px 0 #18B57A, 6px 6px 0 var(--bw) var(--ink); }
.ev.is-past { background: var(--soft); box-shadow: 2px 2px 0 var(--ink); }
.ev.is-past .ev-date { filter: grayscale(1); }
.ev.is-cancelled .ev-title { text-decoration: line-through; }
.ev-date { display: grid; place-items: center; width: 76px; height: 80px; border: var(--bw) solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--paper); text-align: center; flex: none; }
.ev-mon { width: 100%; padding: 5px 0; background: #18B57A; color: #fff; border-bottom: var(--bw) solid var(--ink); font: 500 12px/1 var(--mono); letter-spacing: .12em; }
.ev-day { font: 900 2rem/1 var(--font); font-stretch: 120%; padding: 6px 0 8px; }
.ev-body { min-width: 0; display: grid; gap: 4px; }
.ev-meta { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ev-title { margin: 0; font-size: 1.2rem; line-height: 1.15; }
.ev-when { margin: 0; font-size: 13px; color: var(--ink-2); }
.ev-host { margin: 0; color: var(--ink-2); }
.ev-past-h { margin-top: 48px; }
.ev-sub .cta-row { margin-top: 12px; }
.ev-page { display: grid; gap: 24px 32px; align-items: start; }
@media (min-width: 960px) { .ev-page { grid-template-columns: 100px minmax(0, 1fr) 280px; } }
.ev-page > * { min-width: 0; }
.ev-page > .ev-date { width: 100px; height: 108px; }
.ev-page > .ev-date .ev-day { font-size: 2.8rem; }
.ev-page h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
.ev-when-lg { margin: 0 0 8px; font-size: 1rem; }
.ev-desc { margin-top: 20px; }
.ev-host-card .tcard { max-width: 280px; }
.type-sponsored { background: var(--sun); }
.ch-side .std-sticky { grid-template-columns: 1fr; }
.ch-side .std-sticky .btn { white-space: normal; }
@media (max-width: 959px) { .ch-side .std-sticky { display: flex; flex-wrap: wrap; } .ch-side .std-sticky p { width: 100%; } }
