/* Sneaker History Archive — entry page. Matches the site kit. */
.sha-entry{
  --ink:#211d18; --cream:#faf7f1; --red:#FF2247; --line:#d8d0c2; --muted:#8a8071; --tan:#c7bfb2;
  --serif: var(--serif, 'Newsreader', Georgia, serif);
  --mono: var(--mono, 'IBM Plex Mono', ui-monospace, monospace);
  max-width:1080px; margin:0 auto; padding:32px 24px 80px;
  font-family: var(--serif);
}
.sha-entry a{ color:inherit; }
.sha-eyebrow{ font-family:var(--mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.sha-stripe{ display:block; width:60px; height:4px; background:var(--red); border-radius:2px; margin-bottom:18px; }

.sha-crumb{ font-family:var(--mono); font-size:12px; letter-spacing:.06em; color:var(--muted); text-transform:uppercase; margin-bottom:18px; }

.sha-hero{ background:var(--ink); color:var(--cream); border-radius:12px; padding:46px 40px; margin-bottom:34px; }
.sha-hero .sha-eyebrow{ color:#c7bfb2; }
.sha-h1{ font-family:var(--serif); font-weight:600; font-size:46px; line-height:1.04; margin:0 0 14px; color:var(--cream); }
.sha-dek{ font-family:var(--mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:#c7bfb2; margin:0; }
.sha-crumb a, .sha-hero .sha-eyebrow a{ color:inherit; text-decoration:none; }
.sha-crumb a:hover, .sha-hero .sha-eyebrow a:hover{ text-decoration:underline; }
.sha-brandbar{ margin:0 0 30px; }
.sha-brandbar-intro{ font-size:18px; line-height:1.55; color:var(--ink); margin:0 0 14px; max-width:64ch; }
.sha-brandbar-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; }
.sha-added-by{ font-family:var(--mono); font-size:12px; letter-spacing:.04em; color:var(--muted); }
.sha-added-by a{ color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line); }
.sha-added-by a:hover{ border-color:var(--ink); }
.sha-brandbar-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.sha-pill{ display:inline-flex; align-items:center; justify-content:center; line-height:1; font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; padding:9px 14px 7px; border-radius:8px; background:var(--ink); color:var(--cream)!important; text-decoration:none; border:1px solid var(--ink); }
.sha-pill:hover{ background:var(--red); border-color:var(--red); }
.sha-pill-ghost{ background:transparent; color:var(--ink)!important; }
.sha-pill-ghost:hover{ background:var(--ink); color:var(--cream)!important; }
/* Brand bar inside the dark hero box */
.sha-hero .sha-brandbar{ margin:22px 0 0; }
.sha-hero .sha-brandbar-intro{ color:var(--cream); font-size:16px; line-height:1.5; max-width:62ch; margin:0 0 14px; }
.sha-hero .sha-added-by{ color:var(--tan); }
.sha-hero .sha-added-by a{ color:var(--cream); border-bottom-color:rgba(250,247,241,.35); }
.sha-hero .sha-added-by a:hover{ border-color:var(--cream); }
.sha-hero .sha-pill{ background:var(--cream); color:var(--ink)!important; border-color:var(--cream); }
.sha-hero .sha-pill:hover{ background:var(--red); color:var(--cream)!important; border-color:var(--red); }
.sha-hero .sha-pill-ghost{ background:transparent; color:var(--cream)!important; border-color:rgba(250,247,241,.4); }
.sha-hero .sha-pill-ghost:hover{ background:var(--cream); color:var(--ink)!important; border-color:var(--cream); }
/* Hide Google auto-ads injected into the colorway reading column (backstop to the JS removal). */
.sha-entry .google-auto-placed{ display:none !important; }

.sha-grid{ display:grid; grid-template-columns: 1.4fr 1fr; gap:34px; align-items:start; }

/* gallery / cold start */
.sha-photo-lead{ aspect-ratio: 4/3; border-radius:12px; overflow:hidden; }
.sha-coldstart{ background:
  repeating-linear-gradient(45deg, #f1ece2 0 18px, #ece6da 18px 36px);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center; text-align:center; }
.sha-coldstart-inner p{ color:var(--muted); margin:6px 0 16px; font-size:16px; }
.sha-coldstart-label{ font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.sha-btn{ display:inline-block; background:var(--ink); color:var(--cream)!important; text-decoration:none; font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; padding:11px 20px; border-radius:8px; }
.sha-gallery-note{ font-family:var(--mono); font-size:11px; letter-spacing:.04em; color:var(--muted); margin-top:12px; }

/* metadata panel */
.sha-meta{ border:1px solid var(--line); border-radius:12px; padding:22px 24px; background:#fffdf8; }
.sha-meta-head{ font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.sha-meta dl{ margin:0 0 4px; display:grid; grid-template-columns: 96px 1fr; gap:9px 14px; }
.sha-meta dt{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.sha-meta dd{ margin:0; font-size:16px; color:var(--ink); }

/* marketplace */
.sha-market{ margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.sha-market-row{ display:flex; gap:10px; flex-wrap:wrap; }
.sha-market-btn{ flex:1; min-width:84px; text-align:center; text-decoration:none; border:1px solid var(--ink); border-radius:8px; padding:13px 8px 9px; font-family:var(--mono); font-size:14.5px; letter-spacing:.04em; color:var(--ink); }
.sha-market-btn:hover{ background:var(--ink); color:var(--cream); }
.sha-market-note{ font-family:var(--mono); font-size:10px; letter-spacing:.03em; color:var(--muted); margin:12px 0 0; }

/* history */
.sha-history{ margin-top:44px; }
.sha-prose{ font-size:19px; line-height:1.6; color:#2c2720; max-width:680px; }

/* related */
.sha-related{ margin-top:48px; }
.sha-related-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap:14px; margin-top:8px; }
.sha-related-card{ text-decoration:none; }
.sha-related-thumb{ display:block; aspect-ratio:1/1; border-radius:10px; border:1px solid var(--line);
  background: repeating-linear-gradient(45deg, #f1ece2 0 14px, #ece6da 14px 28px); margin-bottom:8px; }
.sha-related-name{ font-size:15px; color:var(--ink); }

/* comments */
.sha-comments{ margin-top:48px; padding-top:28px; border-top:1px solid var(--line); }

@media (max-width:760px){
  .sha-grid{ grid-template-columns: 1fr; gap:24px; }
  .sha-hero{ padding:34px 24px; }
  .sha-h1{ font-size:34px; }
  .sha-entry{ padding:20px 16px 64px; }
}

/* ===== Browse ===== */
.sha-browse{
  --ink:#211d18; --cream:#faf7f1; --red:#FF2247; --line:#d8d0c2; --muted:#8a8071;
  --serif: var(--serif, 'Newsreader', Georgia, serif);
  --mono: var(--mono, 'IBM Plex Mono', ui-monospace, monospace);
  max-width:1180px; margin:0 auto; padding:32px 24px 80px; font-family:var(--serif);
}
.sha-browse a{ color:inherit; }
.sha-browse .sha-eyebrow{ font-family:var(--mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.sha-browse .sha-stripe{ display:block; width:60px; height:4px; background:var(--red); border-radius:2px; margin-bottom:18px; }
.sha-browse-head{ background:var(--ink); color:var(--cream); border-radius:12px; padding:42px 40px; margin-bottom:26px; }
.sha-browse-head .sha-eyebrow{ color:#c7bfb2; }
.sha-h1-dark{ font-family:var(--serif); font-weight:600; font-size:40px; line-height:1.05; margin:0 0 12px; color:var(--cream); }
.sha-browse-sub{ font-size:17px; color:#e8e2d6; margin:0; max-width:560px; }

.sha-browse-bar{ display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:22px; }
.sha-search{ display:flex; gap:8px; }
.sha-search input{ border:1px solid var(--line); border-radius:8px; padding:9px 14px; font-family:var(--serif); font-size:15px; min-width:240px; background:#fffdf8; }
.sha-search button{ border:1px solid var(--ink); background:var(--ink); color:var(--cream); border-radius:8px; padding:9px 16px; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.sha-sort{ display:flex; align-items:center; gap:6px; font-family:var(--mono); font-size:12px; }
.sha-sort-label{ color:var(--muted); text-transform:uppercase; letter-spacing:.1em; margin-right:4px; }
.sha-sort-opt{ padding:6px 10px; border-radius:6px; text-decoration:none; color:var(--ink); letter-spacing:.04em; }
.sha-sort-opt.is-active{ background:var(--ink); color:var(--cream); }

.sha-browse-body{ display:grid; grid-template-columns:220px 1fr; gap:30px; align-items:start; }
.sha-facets{ font-family:var(--mono); }
.sha-facet{ margin-bottom:22px; }
.sha-facet-head{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.sha-facet ul{ list-style:none; margin:0; padding:0; }
.sha-facet li{ margin:2px 0; }
.sha-facet-opt{ display:flex; align-items:center; gap:8px; text-decoration:none; color:var(--ink); font-size:13px; padding:5px 6px; border-radius:6px; }
.sha-facet-opt:hover{ background:#f1ece2; }
.sha-facet-opt.is-active{ color:var(--red); font-weight:600; }
.sha-facet-box{ width:15px; height:15px; border:1px solid var(--line); border-radius:3px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; color:var(--red); }
.sha-facet-count{ margin-left:auto; color:var(--muted); font-size:11px; }

.sha-card-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(180px,1fr)); gap:18px; }
.sha-card{ text-decoration:none; display:block; }
.sha-card-thumb{ display:block; aspect-ratio:4/3; border-radius:10px; border:1px solid var(--line);
  background:repeating-linear-gradient(45deg, #f1ece2 0 16px, #ece6da 16px 32px); margin-bottom:10px; }
.sha-card-brand{ display:block; font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.sha-card-name{ display:block; font-size:16px; color:var(--ink); margin:2px 0; line-height:1.25; }
.sha-card-votes{ font-family:var(--mono); font-size:11px; color:var(--muted); }

.sha-pagination{ margin-top:30px; font-family:var(--mono); font-size:13px; display:flex; gap:6px; flex-wrap:wrap; }
.sha-pagination .page-numbers{ padding:7px 12px; border:1px solid var(--line); border-radius:7px; text-decoration:none; color:var(--ink); }
.sha-pagination .current{ background:var(--ink); color:var(--cream); border-color:var(--ink); }

.sha-empty{ padding:40px; text-align:center; border:1px dashed var(--line); border-radius:12px; color:var(--muted); }
.sha-canhelp{ margin-top:40px; padding:26px 28px; border:1px solid var(--line); border-radius:12px; background:#fffdf8; }
.sha-canhelp p{ margin:4px 0 16px; font-size:16px; color:#2c2720; }

@media (max-width:820px){
  .sha-browse-body{ grid-template-columns:1fr; }
  .sha-h1-dark{ font-size:30px; }
  /* Collapse filters behind a toggle so the sneakers show right away */
  .sha-facets-toggle{ display:flex; }
  .sha-facets{ display:none; }
  .sha-facets.is-open{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px 18px; margin-bottom:8px; }
}

/* ===== Gallery + voting ===== */
.sha-photo-lead{ position:relative; margin:0; aspect-ratio:4/3; border-radius:12px; overflow:hidden; border:1px solid var(--line); cursor:zoom-in; }
.sha-photo-lead img{ width:100%; height:100%; object-fit:cover; display:block; }
.sha-thumbs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:10px; margin-top:12px; }
.sha-thumb{ position:relative; margin:0; aspect-ratio:1/1; border-radius:10px; overflow:hidden; border:1px solid var(--line); cursor:zoom-in; }
.sha-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.sha-top-badge{ position:absolute; top:10px; left:10px; font-family:var(--mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:#fff; background:var(--red); padding:3px 8px; border-radius:100px; }
.sha-credit{ position:absolute; left:8px; bottom:8px; font-family:var(--mono); font-size:10px; letter-spacing:.04em; color:#fff; background:rgba(33,29,24,.7); padding:3px 8px; border-radius:100px; }
.sha-credit-link{ color:inherit; text-decoration:none; }
.sha-credit-link:hover{ text-decoration:underline; }
/* Verification: verified badge + community style-code submission (v0.93.50) */
.sha-verified{ color:#0f7d72; font-weight:700; }
.sha-sku-ask{ margin-top:16px; padding-top:14px; border-top:1px solid #e6dfd2; }
.sha-sku-ask-note{ font-size:13px; color:#6b6459; margin:4px 0 10px; }
.sha-sku-form{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.sha-sku-form input[type=text]{ flex:1; min-width:150px; padding:7px 10px; border:1px solid #d8d0c2; border-radius:6px; font-size:14px; }
.sha-sku-form .sha-check{ font-size:12px; color:#6b6459; }
.sha-sku-msg{ width:100%; margin:6px 0 0; font-size:13px; color:#0f7d72; }
.sha-vote-wrap{ position:absolute; right:8px; bottom:8px; }
.sha-vote{ font-family:var(--mono); font-size:12px; border:1px solid rgba(255,255,255,.6); background:rgba(33,29,24,.72); color:#fff; border-radius:100px; padding:4px 10px; cursor:pointer; display:inline-flex; gap:4px; align-items:center; }
.sha-vote.is-voted{ background:var(--red); border-color:var(--red); }
.sha-gallery-foot{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; flex-wrap:wrap; }
.sha-btn-sm{ padding:8px 16px; font-size:11px; }

/* ===== Lightbox ===== */
.sha-lightbox{ position:fixed; inset:0; background:rgba(20,17,14,.93); z-index:99999; display:none; align-items:center; justify-content:center; }
.sha-lightbox.is-open{ display:flex; }
.sha-lb-img{ max-width:90vw; max-height:88vh; object-fit:contain; border-radius:6px; }
.sha-lb-close,.sha-lb-prev,.sha-lb-next{ position:absolute; background:none; border:0; color:#fff; cursor:pointer; font-size:40px; line-height:1; padding:10px 16px; opacity:.8; }
.sha-lb-close{ top:14px; right:18px; font-size:34px; }
.sha-lb-prev{ left:8px; top:50%; transform:translateY(-50%); }
.sha-lb-next{ right:8px; top:50%; transform:translateY(-50%); }
.sha-lb-close:hover,.sha-lb-prev:hover,.sha-lb-next:hover{ opacity:1; }

/* ===== Submit a pair ===== */
.sha-submit{
  --ink:#211d18; --cream:#faf7f1; --red:#FF2247; --line:#d8d0c2; --muted:#8a8071; --tan:#c7bfb2;
  --serif: var(--serif, 'Newsreader', Georgia, serif);
  --mono: var(--mono, 'IBM Plex Mono', ui-monospace, monospace);
  max-width:880px; margin:0 auto; padding:32px 24px 80px; font-family:var(--serif);
}
.sha-submit .sha-h1-dark{ font-family:var(--serif); font-weight:600; font-size:40px; line-height:1.05; margin:0 0 12px; color:var(--ink); }
.sha-submit .sha-browse-sub{ color:var(--muted); font-size:17px; margin:0; max-width:60ch; }
.sha-submit .sha-browse-head{ margin-bottom:28px; }

.sha-notice{ border-radius:10px; padding:16px 18px; margin-bottom:26px; font-size:15px; line-height:1.5; }
.sha-notice-good{ background:#eef6ee; border:1px solid #cfe6cf; color:#234b23; }
.sha-notice-bad{ background:#fdeef0; border:1px solid #f3c9d0; color:#7a1b29; }

.sha-submit-gate{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:30px; }
.sha-submit-gate p{ font-size:17px; color:var(--ink); margin:0 0 18px; max-width:56ch; }
.sha-acct-actions{ display:flex; flex-wrap:wrap; gap:10px; margin:0 0 4px; }
.sha-acct-actions .sha-btn{ margin:0; }
.sha-btn-ghost{ background:none!important; color:var(--ink)!important; border:1px solid var(--ink); margin-left:8px; }
.sha-btn-red{ background:var(--red)!important; }
.sha-btn-red:hover{ filter:brightness(.94); }

.sha-form{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:28px; }
.sha-form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px 20px; }
.sha-field{ display:flex; flex-direction:column; gap:6px; }
.sha-field-full{ grid-column:1 / -1; margin-top:18px; }
.sha-field label{ font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.sha-req{ color:var(--red); }
.sha-opt{ color:var(--tan); text-transform:none; letter-spacing:0; }
.sha-field input[type=text], .sha-field input[type=email], .sha-field input[type=password], .sha-field input[type=number], .sha-field input[type=search], .sha-field input[type=url], .sha-field input[type=file], .sha-field select, .sha-field textarea{
  font-family:var(--serif); font-size:16px; line-height:1.4; color:var(--ink); background:var(--cream);
  border:1px solid var(--line); border-radius:8px; padding:10px 12px; width:100%;
  box-sizing:border-box; height:auto; min-height:0; vertical-align:middle; margin:0;
}
.sha-field input[type=text], .sha-field input[type=email], .sha-field input[type=password], .sha-field input[type=number], .sha-field input[type=search], .sha-field input[type=url], .sha-field select:not([multiple]){ height:44px; }
.sha-field textarea{ height:auto; }
.sha-field select[multiple]{ padding:6px; height:auto; line-height:1.5; }
.sha-field input[type=file]{ height:auto; line-height:1.5; }
.sha-field input:focus, .sha-field select:focus, .sha-field textarea:focus{ outline:none; border-color:var(--ink); }
.sha-hint{ font-size:13px; color:var(--muted); }
.sha-check{ display:flex; gap:12px; align-items:flex-start; margin:24px 0 0; font-size:15px; color:var(--ink); line-height:1.45; }
.sha-check input{ margin-top:3px; }
.sha-form-foot{ display:flex; align-items:center; gap:16px; margin-top:24px; flex-wrap:wrap; }
.sha-btn-sm{ padding:8px 14px; }

@media (max-width:640px){
  .sha-form-grid{ grid-template-columns:1fr; }
  .sha-submit .sha-h1-dark{ font-size:32px; }
}

/* ===== Account (register + login) ===== */
.sha-acct-cols{ display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
.sha-acct-h2{ font-family:var(--serif); font-size:22px; color:var(--ink); margin:0 0 14px; }
.sha-account .sha-form-grid{ grid-template-columns:1fr; }
.sha-acct-col .sha-field{ margin-bottom:14px; }
.sha-acct-col.is-active .sha-form{ border-color:var(--ink); }
.sha-acct-col a{ color:var(--ink); }
@media (max-width:720px){ .sha-acct-cols{ grid-template-columns:1fr; } }
/* Honeypot: visually and physically removed for real users, still in the DOM for bots. */
.sha-hp{ position:absolute !important; left:-9999px !important; top:auto; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }

/* verified badges */
.sha-badge{ display:inline-block; font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; padding:2px 7px; border-radius:20px; vertical-align:middle; margin-left:4px; }
.sha-badge-official{ background:var(--red); color:#fff; }
.sha-badge-verified{ background:#e6f4ea; color:#1c6b34; border:1px solid #b8e0c4; }

/* ===== Badge framework variants ===== */
.sha-badge-mod{ background:#2b2440; color:#fff; }
.sha-badge-tier{ background:var(--ink); color:var(--cream); }
.sha-badge-top10{ background:#caa53d; color:#211d18; }
.sha-badge-top100{ background:#e8dcc0; color:#5b4f36; border:1px solid #d6c79f; }
.sha-badge-heritage{ background:transparent; color:var(--muted); border:1px dashed var(--tan); }

/* ===== Account panels ===== */
.sha-acct-panel{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:24px; margin-top:18px; }
.sha-progress{ font-size:17px; color:var(--ink); margin:0; }
.sha-heritage-form .sha-check{ margin:10px 0 0; }

/* ===== Leaderboard ===== */
.sha-lb-list{ list-style:none; margin:0; padding:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; }
.sha-lb-row{ display:flex; align-items:center; gap:16px; padding:14px 18px; border-bottom:1px solid var(--line); }
.sha-lb-row:last-child{ border-bottom:0; }
.sha-lb-row.is-me{ background:#fff7f8; }
.sha-lb-rank{ font-family:var(--mono); font-size:14px; color:var(--muted); width:34px; text-align:center; flex:0 0 auto; }
.sha-lb-medal{ font-weight:700; color:var(--ink); }
.sha-lb-medal-1{ color:#caa53d; }
.sha-lb-medal-2{ color:#9aa0a6; }
.sha-lb-medal-3{ color:#b07a45; }
.sha-lb-handle{ flex:1 1 auto; min-width:0; font-size:17px; color:var(--ink); display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; }
.sha-lb-id{ display:flex; flex-direction:column; flex:0 0 auto; }
.sha-lb-name{ font-size:17px; line-height:1.15; color:var(--ink); }
.sha-lb-badges{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; }
.sha-lb-badges .sha-badge{ margin-left:0; }
.sha-lb-row{ align-items:center; }
.sha-avatar-link{ display:inline-block; line-height:0; }
.sha-avatar-link:hover{ opacity:.85; }
.sha-lb-count{ font-family:var(--mono); font-size:14px; color:var(--ink); flex:0 0 auto; }
.sha-lb-unit{ color:var(--muted); }

/* ===== Ownership module ===== */
.sha-own{ border:1px solid var(--line); border-radius:10px; padding:16px; margin-bottom:20px; background:#fff; }
.sha-own-row{ display:flex; gap:8px; }
.sha-own-btn{ flex:1; font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; padding:9px 6px; border:1px solid var(--line); background:var(--cream); color:var(--ink); border-radius:8px; cursor:pointer; }
.sha-own-btn:hover{ border-color:var(--ink); }
.sha-own-btn.is-active{ background:var(--ink); color:var(--cream); border-color:var(--ink); }
.sha-own-counts{ font-family:var(--mono); font-size:12px; color:var(--muted); margin:12px 0 0; text-align:center; }
.sha-own-counts span{ color:var(--ink); font-weight:600; }

/* ===== Collection profile ===== */
.sha-profile-sec{ margin-top:34px; }
.sha-profile-sec .sha-eyebrow{ margin-bottom:14px; }
.sha-profile-photos a{ display:block; }
.sha-profile-photos img{ width:100%; height:100%; object-fit:cover; }
.sha-lb-handle a{ color:var(--ink); text-decoration:none; }
.sha-lb-handle a:hover{ text-decoration:underline; }

/* ===== Badge system v0.9.0: editorial tags ===== */
.sha-badge{
  display:inline-flex; align-items:center; gap:5px; vertical-align:middle;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.07em; text-transform:uppercase; line-height:1;
  padding:4px 9px; border-radius:4px; border-left:3px solid; margin:2px 0 2px 5px; white-space:nowrap;
}
.sha-badge-i{ flex:0 0 auto; }
.sha-badge-t{ display:inline-block; }
.sha-badge-official{ background:#fde7ea; color:#a3122a; border-left-color:#FF2247; }
.sha-badge-verified{ background:#e7f2ea; color:#1c5e34; border-left-color:#1c7a3e; }
.sha-badge-mod{ background:#ece9f1; color:#3a2f57; border-left-color:#534ab7; }
.sha-badge-top10{ background:#f7eecd; color:#6b551a; border-left-color:#caa53d; }
.sha-badge-top100{ background:#f3ecd9; color:#6b5d37; border-left-color:#cdb87f; }
.sha-badge-tier{ background:#efece6; color:#3a342c; border-left-color:#211d18; }
.sha-badge-tier-hi{ background:#211d18; color:#faf7f1; border-left-color:#caa53d; }
.sha-badge-heritage{ background:#f1ede6; color:#7a7064; border-left:3px dashed #c7bfb2; }

/* ===== Badge system v0.10.0: bolder solid fills + tier hues ===== */
.sha-badge{ border-left:0; }
.sha-badge-official{ background:#FF2247; color:#fff; }
.sha-badge-verified{ background:#1c9a52; color:#fff; }
.sha-badge-mod{ background:#5b4ad0; color:#fff; }
.sha-badge-top10{ background:#e7a91b; color:#3a2c08; }
.sha-badge-top100{ background:#b07a3c; color:#fff; }
.sha-badge-founding{ background:#2f6db5; color:#fff; }
.sha-badge-early{ background:#cfe0f2; color:#1f4a78; }
.sha-badge-tier-contributor{ background:#5f7d86; color:#fff; }
.sha-badge-tier-collector{ background:#1d9e75; color:#fff; }
.sha-badge-tier-curator{ background:#378add; color:#fff; }
.sha-badge-tier-archivist{ background:#7f77dd; color:#fff; }
.sha-badge-tier-historian{ background:#ba7517; color:#fff; }
.sha-badge-tier-legend{ background:#211d18; color:#fde35a; }
.sha-badge-lead{ background:#d85a30; color:#fff; }
.sha-badge-first{ background:#3b8a2e; color:#fff; }
.sha-badge-complete{ background:#0f6e56; color:#fff; }
.sha-badge-heritage{ background:#fff; color:#6f6557; border:1px dashed #b8ae9a; }

/* ===== Avatars + bio (v0.11.0) ===== */
.sha-avatar{ border-radius:50%; object-fit:cover; display:block; background:#ece6da; }
.sha-profile-head{ display:flex; gap:22px; align-items:flex-start; }
.sha-profile-av{ text-align:center; }
.sha-profile-av .sha-avatar{ width:96px; height:96px; border:3px solid var(--red); }
.sha-av-upload{ margin-top:8px; }
.sha-av-upload-btn{ display:inline-flex; align-items:center; justify-content:center; line-height:1; cursor:pointer; font-family:var(--mono); font-size:10px; letter-spacing:.05em; text-transform:uppercase; color:inherit; opacity:.8; border:1px solid currentColor; border-radius:6px; padding:6px 11px 4px; }
.sha-av-upload-btn:hover{ opacity:1; }
.sha-av-upload-btn input{ position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.sha-profile-id{ flex:1; min-width:0; }
.sha-profile-bio{ font-size:16px; line-height:1.5; color:#4a443c; margin:12px 0 0; max-width:56ch; }
.sha-profile-edit{ display:flex; gap:20px; align-items:flex-start; }
.sha-profile-edit-av .sha-avatar{ width:84px; height:84px; border:2px solid var(--line); }
.sha-profile-form{ flex:1; min-width:0; }
.sha-profile-form .sha-field{ margin-bottom:18px; }
.sha-lb-av{ flex:0 0 auto; }
.sha-lb-av .sha-avatar{ width:36px; height:36px; }
@media (max-width:640px){ .sha-profile-head{ gap:14px; } .sha-profile-av .sha-avatar{ width:72px; height:72px; } }

/* ===== Badge directory (v0.12.0) ===== */
.sha-badge-row{ display:flex; align-items:baseline; gap:14px; padding:9px 0; border-bottom:1px solid #efe9dd; }
.sha-badge-row:last-child{ border-bottom:0; }
.sha-badge-row .sha-badge{ margin-left:0; flex:0 0 auto; align-self:center; }
.sha-badge-desc{ font-size:15px; line-height:1.4; color:#4a443c; }
.sha-soon{ opacity:.72; }
.sha-suggest-form .sha-field{ margin-bottom:12px; }

/* ===== Help me ID this (v0.13.0) ===== */
.sha-id-thumb{ display:block; width:100%; aspect-ratio:1/1; background:#ece6da center/cover no-repeat; border-radius:8px 8px 0 0; }
.sha-id-card{ position:relative; }
.sha-id-status{ display:inline-block; font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; padding:2px 8px; border-radius:20px; }
.sha-id-open{ background:#f7eecd; color:#6b551a; }
.sha-id-solved{ background:#e7f2ea; color:#1c5e34; }
.sha-id-card .sha-id-status{ position:absolute; top:10px; right:10px; }
.sha-id-single .sha-prose{ font-size:16px; line-height:1.6; }
.sha-id-mark{ margin-top:18px; }
.sha-id-single .sha-hero .sha-id-status{ vertical-align:middle; }

/* ===== Metered email wall (v0.16.0) ===== */
.sha-wall{ position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:20px;
  background:rgba(20,17,14,.72); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  font-family:var(--serif,'Newsreader',Georgia,serif); }
.sha-wall[hidden]{ display:none; }
.sha-wall-card{ background:#faf7f1; border:1px solid #d8d0c2; border-radius:14px; max-width:460px; width:100%; padding:32px 30px; text-align:left; box-shadow:0 24px 60px rgba(0,0,0,.35); }
.sha-wall-card .sha-stripe{ display:block; width:54px; height:4px; background:#FF2247; border-radius:2px; margin-bottom:16px; }
.sha-wall-card .sha-eyebrow{ font-family:var(--mono,'IBM Plex Mono',monospace); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:#8a8071; margin-bottom:8px; }
.sha-wall-h{ font-family:var(--serif,'Newsreader',Georgia,serif); font-size:28px; font-weight:600; color:#211d18; margin:0 0 10px; line-height:1.1; }
.sha-wall-p{ font-size:16px; line-height:1.5; color:#4a443c; margin:0 0 18px; }
.sha-wall-form{ display:flex; gap:8px; flex-wrap:wrap; }
.sha-wall-form input{ flex:1; min-width:180px; font-family:var(--serif,serif); font-size:16px; color:#211d18; background:#fff; border:1px solid #d8d0c2; border-radius:8px; padding:11px 13px; }
.sha-wall-form input:focus{ outline:none; border-color:#211d18; }
.sha-wall-msg{ font-size:13px; color:#a3122a; margin:10px 0 0; min-height:1px; }
.sha-wall-alt{ font-size:13px; color:#8a8071; margin:16px 0 0; }
.sha-wall-alt a{ color:#211d18; }
@media (max-width:480px){ .sha-wall-h{ font-size:23px; } }

/* ===== Report button (v0.17.0) ===== */
.sha-report{ position:absolute; top:8px; left:8px; width:26px; height:26px; border:0; border-radius:50%; cursor:pointer;
  background:rgba(20,17,14,.55); color:#fff; font-size:13px; line-height:1; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .15s; }
.sha-photo:hover .sha-report{ opacity:.85; }
.sha-report:hover{ opacity:1; background:rgba(255,34,71,.9); }
.sha-report.is-reported{ background:#1c7a3e; opacity:1; cursor:default; }

/* ===== Recruiter badge + referral link (v0.19.0) ===== */
.sha-badge-recruiter{ background:#0e6b6b; color:#fff; }
.sha-ref-link{ width:100%; font-family:var(--mono); font-size:13px; color:#211d18; background:var(--cream); border:1px solid var(--line); border-radius:8px; padding:10px 12px; }
.sha-ref-link:focus{ outline:none; border-color:var(--ink); }

/* ===== Polish pass (v0.20.0) ===== */
/* Pills: center icon + text properly */
.sha-badge{ display:inline-flex; align-items:center; gap:6px; vertical-align:middle; line-height:1; padding:5px 10px 4px; }
.sha-badge-i{ display:block; flex:0 0 auto; width:12px; height:12px; }
.sha-badge-t{ display:block; line-height:1; padding-top:1px; }

/* Avatars: rounded square instead of circle */
.sha-avatar{ border-radius:14px; }
.sha-profile-av .sha-avatar{ border-radius:18px; }
.sha-profile-edit-av .sha-avatar{ border-radius:14px; }
.sha-lb-av .sha-avatar{ border-radius:8px; }

/* Facets: cap long lists (Models) so the page doesn't run forever */
.sha-facet ul.sha-facet-scroll{ max-height:228px; overflow-y:auto; padding-right:6px; margin-right:-4px; }
.sha-facet ul.sha-facet-scroll::-webkit-scrollbar{ width:8px; }
.sha-facet ul.sha-facet-scroll::-webkit-scrollbar-thumb{ background:#dcd4c5; border-radius:4px; }
.sha-facet-head{ display:flex; align-items:baseline; justify-content:space-between; }
.sha-facet-total{ font-family:var(--mono); font-size:10px; letter-spacing:.06em; color:var(--tan); }

/* Comments: styled to match the kit */
.sha-comments-wrap{ margin-top:4px; max-width:640px; }
.sha-comment-list{ list-style:none; margin:0 0 26px; padding:0; }
.sha-comment-list .comment{ list-style:none; }
.sha-comment-list .comment-body{ border-top:1px solid var(--line); padding:16px 0; }
.sha-comment-list .comment-author .fn{ font-family:var(--mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--ink); font-style:normal; }
.sha-comment-list .comment-author .says{ display:none; }
.sha-comment-list .comment-meta{ font-family:var(--mono); font-size:10px; letter-spacing:.06em; color:var(--muted); }
.sha-comment-list .comment-meta a{ color:var(--muted); text-decoration:none; }
.sha-comment-list .comment-content{ font-size:16px; line-height:1.55; color:#3a342c; margin-top:6px; }
.sha-comment-list .avatar{ border-radius:10px; }
.sha-comment-as{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:0 0 12px; }
.sha-comment-as strong{ color:var(--ink); }
.sha-comments textarea, .sha-comment-text{ width:100%; font-family:var(--serif); font-size:16px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px 14px; box-sizing:border-box; }
.sha-comments textarea:focus, .sha-comment-text:focus{ outline:none; border-color:var(--ink); }
.sha-comments input[type=text], .sha-comments input[type=email], .sha-comments input[type=url]{ font-family:var(--serif); font-size:16px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:8px; padding:10px 12px; }
.sha-comments .comment-form-comment label{ display:none; }
.sha-comments .form-submit{ margin:14px 0 0; }
.sha-comments input[type=submit]{ border:0; }
.sha-comments .comment-form-cookies-consent{ font-size:13px; color:var(--muted); }

/* ===== Badges page redesign (v0.21.0) ===== */
.sha-bd-hero{ background:#211d18; color:#faf7f1; border-radius:14px; padding:46px 42px; margin-bottom:30px; }
.sha-bd-hero .sha-eyebrow{ color:#c7bfb2; }
.sha-bd-hero .sha-stripe{ background:var(--red); }
.sha-bd-h1{ font-family:var(--serif); font-weight:600; font-size:42px; line-height:1.04; color:#faf7f1; margin:0 0 16px; max-width:16ch; }
.sha-bd-lede{ font-size:18px; line-height:1.55; color:#d8d0c2; max-width:58ch; margin:0 0 24px; }
.sha-bd-cta{ display:flex; gap:10px; flex-wrap:wrap; }
.sha-bd-cta .sha-btn-ghost{ color:#faf7f1!important; border-color:#5b5249; }

.sha-bd-mine{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px 22px; margin-bottom:32px; }
.sha-bd-mine-row{ display:flex; flex-wrap:wrap; gap:7px; margin-top:8px; }
.sha-bd-mine-row .sha-badge{ margin-left:0; }

.sha-bd-group{ margin-bottom:36px; }
.sha-bd-gh{ font-family:var(--serif); font-size:25px; font-weight:600; color:var(--ink); margin:0 0 4px; }
.sha-bd-gintro{ font-size:15px; color:var(--muted); margin:0 0 16px; max-width:62ch; line-height:1.5; }
.sha-bd-gintro a{ color:var(--ink); }
.sha-bd-row{ display:flex; align-items:center; gap:16px; padding:13px 0; border-top:1px solid #efe9dd; }
.sha-bd-group .sha-bd-row:first-of-type{ border-top:0; }
.sha-bd-row .sha-badge{ margin-left:0; flex:0 0 auto; min-width:118px; justify-content:flex-start; }
.sha-bd-text{ display:flex; flex-direction:column; gap:2px; }
.sha-bd-name{ font-family:var(--serif); font-size:17px; color:var(--ink); }
.sha-bd-desc{ font-size:14px; color:#6f6557; line-height:1.45; }

.sha-bd-ladder{ display:flex; flex-wrap:wrap; gap:10px; }
.sha-bd-rung{ display:flex; flex-direction:column; align-items:center; gap:9px; background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px 14px 12px; min-width:92px; flex:1 1 92px; }
.sha-bd-rung .sha-badge{ margin-left:0; }
.sha-bd-rung-n{ font-family:var(--mono); font-size:13px; color:var(--ink); font-weight:600; }
.sha-bd-suggest{ margin-top:8px; }
@media (max-width:560px){ .sha-bd-h1{ font-size:32px; } .sha-bd-row .sha-badge{ min-width:0; } }

/* ===== Pins + collection sort (v0.22.0) ===== */
.sha-pin-btn{ display:inline-flex; align-items:center; gap:6px; margin-top:12px; padding:7px 14px; font-family:var(--mono); font-size:11px; letter-spacing:.07em; text-transform:uppercase; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:8px; cursor:pointer; transition:border-color .15s, background .15s; }
.sha-pin-btn:hover{ border-color:var(--ink); }
.sha-pin-btn.is-active{ background:#fbeec9; border-color:#e3c75a; color:#7a5b00; }
.sha-pin-ico{ font-size:14px; line-height:1; color:#e0a200; }

.sha-sec-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.sha-sort{ display:inline-flex; align-items:center; gap:4px; font-family:var(--mono); font-size:11px; letter-spacing:.05em; }
.sha-sort-label{ color:var(--muted); text-transform:uppercase; margin-right:4px; }
.sha-sort-opt{ color:var(--muted); text-decoration:none; padding:3px 9px; border-radius:6px; border:1px solid transparent; }
.sha-sort-opt:hover{ color:var(--ink); }
.sha-sort-opt.is-active{ color:var(--ink); background:#fff; border-color:var(--line); }
.sha-profile-pinned .sha-eyebrow::before{ content:"\2605"; color:#e0a200; margin-right:6px; }

/* ===== Archive sub-navigation (v0.24.0) ===== */
.sha-subnav{
  --ink:#211d18; --cream:#faf7f1; --red:#FF2247; --line:#d8d0c2; --muted:#8a8071; --tan:#c7bfb2;
  --serif: var(--serif, 'Newsreader', Georgia, serif);
  --mono: var(--mono, 'IBM Plex Mono', ui-monospace, monospace);
  background:var(--ink); border-bottom:1px solid rgba(250,247,241,.10); margin-bottom:30px; }
.sha-subnav-in{ max-width:1120px; margin:0 auto; padding:13px 24px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.sha-subnav-brand{ font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--cream); text-decoration:none; font-weight:600; white-space:nowrap; display:inline-flex; align-items:center; line-height:1; padding-top:6.5px; padding-bottom:3.5px; }
.sha-subnav-links{ display:flex; gap:2px; flex-wrap:nowrap; flex:1; }
.sha-subnav-a{ font-family:var(--mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:var(--tan); text-decoration:none; padding:5px 8px; border-radius:6px; border:1px solid transparent; white-space:nowrap; }
.sha-subnav-a:hover{ color:var(--cream); background:rgba(250,247,241,.14); }
.sha-subnav-a.is-active{ color:var(--cream); background:rgba(250,247,241,.18); border-color:rgba(250,247,241,.25); }
.sha-subnav-acct{ display:flex; gap:5px; align-items:center; }
.sha-subnav-acct a{ font-family:var(--mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:var(--tan); text-decoration:none; padding:5px 11px; border-radius:6px; }
.sha-subnav-acct a:hover{ color:var(--cream); }
.sha-subnav-cta{ background:var(--red)!important; color:#fff!important; }
.sha-subnav-search{ display:flex; align-items:center; gap:6px; background:rgba(250,247,241,.08); border:1px solid rgba(250,247,241,.18); border-radius:8px; padding:0 9px; height:30px; }
.sha-subnav-search:focus-within{ border-color:rgba(250,247,241,.45); }
.sha-subnav-search-ico{ width:14px; height:14px; color:var(--tan); flex:0 0 auto; }
.sha-subnav-search-in{ background:transparent; border:0; outline:0; color:var(--cream); font-family:var(--mono); font-size:12px; letter-spacing:.02em; width:96px; height:30px; line-height:30px; padding:0; margin:0; }
.sha-subnav-search-in::placeholder{ color:var(--tan); opacity:1; }
.sha-subnav-more{ position:relative; flex:0 0 auto; }
.sha-subnav-more>summary{ list-style:none; cursor:pointer; gap:5px; }
.sha-subnav-more>summary::-webkit-details-marker{ display:none; }
.sha-subnav-more>summary::marker{ content:""; }
.sha-subnav-more[open]>summary{ color:var(--cream); background:rgba(250,247,241,.14); }
.sha-subnav-more-caret{ font-size:9px; line-height:1; }
.sha-subnav-more[open] .sha-subnav-more-caret{ transform:rotate(180deg); }
.sha-subnav-more-menu{ position:absolute; top:calc(100% + 8px); left:0; z-index:60; min-width:186px; display:flex; flex-direction:column; gap:2px; background:var(--ink); border:1px solid rgba(250,247,241,.18); border-radius:10px; padding:6px; box-shadow:0 12px 30px rgba(0,0,0,.38); }
.sha-subnav-more-menu .sha-subnav-a{ width:100%; }
@media(max-width:660px){ .sha-subnav-in{ padding:11px 16px; gap:10px; } .sha-subnav-links{ order:3; flex-basis:100%; flex-wrap:wrap; } .sha-subnav-search{ order:4; flex-basis:100%; } .sha-subnav-search-in{ flex:1; width:auto; } }

/* ===== Front-end edit panel (v0.27.0) ===== */
.sha-edit-panel{ border:1px solid var(--line); border-radius:12px; margin-bottom:30px; background:#fff; }
.sha-edit-panel>summary{ cursor:pointer; list-style:none; padding:14px 20px; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); display:flex; align-items:center; gap:8px; }
.sha-edit-panel>summary::-webkit-details-marker{ display:none; }
.sha-edit-pencil{ color:var(--red); font-size:15px; }
.sha-edit-body{ padding:6px 20px 22px; border-top:1px solid var(--line); }
.sha-edit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px 18px; }
.sha-edit-form .sha-field label{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:5px; }
.sha-edit-form .sha-field input{ width:100%; box-sizing:border-box; font-family:var(--serif); font-size:15px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:8px; padding:9px 11px; }
.sha-edit-form .sha-field input:focus{ outline:none; border-color:var(--ink); }
.sha-edit-photos{ margin-top:22px; }
.sha-edit-photo-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; }
.sha-edit-photo img{ width:80px; height:80px; object-fit:cover; border-radius:8px; display:block; margin-bottom:6px; }
.sha-edit-remove{ font-family:var(--mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--red); background:none; border:1px solid var(--line); border-radius:6px; padding:4px 9px; cursor:pointer; }
.sha-edit-remove:hover{ border-color:var(--red); }
@media(max-width:560px){ .sha-edit-grid{ grid-template-columns:1fr; } }

/* ===== Badges page: card grid (v0.28.0) — fixes misalignment + blank space ===== */
.sha-bd-group{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:42px; }
.sha-bd-group > .sha-bd-gh{ flex:0 0 100%; margin:0; }
.sha-bd-group > .sha-bd-gintro{ flex:0 0 100%; margin:0 0 6px; }
.sha-bd-group > .sha-bd-ladder{ flex:0 0 100%; }
.sha-bd-row{ flex:1 1 320px; box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start; gap:9px; padding:16px 18px; border:1px solid var(--line); border-radius:11px; background:#fff; }
.sha-bd-group .sha-bd-row:first-of-type{ border-top:1px solid var(--line); }
.sha-bd-row .sha-badge{ margin-left:0; min-width:0; }
.sha-bd-text{ display:flex; flex-direction:column; gap:3px; }
.sha-bd-name{ font-size:17px; }
.sha-bd-desc{ font-size:13.5px; line-height:1.5; }
@media(max-width:640px){ .sha-bd-row{ flex:1 1 100%; } }

/* ===== Community Cosign (v0.29.0) ===== */
.sha-badge-cosign{ background:#0f7d72; color:#fff; }
.sha-cosign{ display:flex; align-items:center; gap:14px; margin-top:14px; }
.sha-cosign-btn{ display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); font-size:11px; letter-spacing:.07em; text-transform:uppercase; line-height:1; color:#fff; background:var(--red); border:0; border-radius:8px; padding:9px 15px; cursor:pointer; transition:background .15s; }
.sha-cosign-btn.is-active{ background:#0f7d72; }
.sha-cosign-mark{ font-size:13px; line-height:1; }
.sha-cosign-count{ font-family:var(--mono); font-size:12px; letter-spacing:.04em; color:#c7bfb2; }
.sha-cosign-count strong{ color:#fff; }

/* Sub-nav: vertically center link text inside its pill (fixes the Account chip) */
.sha-subnav-a, .sha-subnav-acct a{ display:inline-flex; align-items:center; line-height:1; }

/* ===== Browse cards show the lead photo (v0.30.1) ===== */
.sha-card-thumb{ background-size:cover; background-position:center; }
.sha-card.has-photo .sha-card-thumb{ background-color:#e8e2d6; }

/* ===== Tier ladder: rungs hug their badge so labels never overflow (v0.30.2) ===== */
.sha-bd-ladder{ align-items:stretch; }
.sha-bd-rung{ flex:0 0 auto; min-width:0; padding:14px 16px 12px; }
.sha-bd-rung .sha-badge{ white-space:nowrap; }

/* ===== Edit form: retail + description (v0.31.0) ===== */
.sha-edit-form > .sha-field{ margin-top:14px; }
.sha-edit-form > .sha-field label{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:5px; }
.sha-edit-form textarea{ width:100%; box-sizing:border-box; font-family:var(--serif); font-size:15px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:8px; padding:11px 13px; line-height:1.55; }
.sha-edit-form textarea:focus{ outline:none; border-color:var(--ink); }

/* ===== Founder's note on the archive page (v0.35.0) ===== */
.sha-archive-intro{ max-width:760px; margin:0 0 30px; padding:22px 26px; background:#fff; border:1px solid var(--line); border-left:3px solid var(--red); border-radius:12px; }
.sha-archive-intro p{ font-family:var(--serif); font-size:17px; line-height:1.62; color:#3a342c; margin:0; }
.sha-archive-intro-sig{ margin-top:12px!important; font-family:var(--serif); font-style:italic; font-size:16px; color:var(--ink); }
.sha-archive-intro-sig::before{ content:"- "; color:var(--tan); font-style:normal; }

/* ===== Photo rotate + related-card thumbnails (v0.36.0) ===== */
.sha-related-thumb{ background-size:cover; background-position:center; }
.sha-edit-rotate{ font-family:var(--mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink); background:none; border:1px solid var(--line); border-radius:6px; padding:4px 9px; cursor:pointer; margin-right:6px; }
.sha-edit-rotate:hover{ border-color:var(--ink); }
.sha-edit-photo form{ display:inline; }

/* ===== Founder note full width + upvote on browse cards (v0.39.0) ===== */
.sha-archive-intro{ max-width:none; }
.sha-archive-intro p + p{ margin-top:12px; }
.sha-card-link{ text-decoration:none; display:block; color:inherit; }
.sha-card .sha-vote{ font-family:var(--mono); font-size:11px; color:var(--muted); background:none; border:0; padding:4px 0 0; cursor:pointer; display:inline-flex; align-items:center; gap:5px; }
.sha-card .sha-vote:hover{ color:var(--ink); }
.sha-card .sha-vote.is-voted{ color:var(--red); }

/* AI: Write it for me (v0.42.0) */
.sha-ai-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:10px; }
.sha-ai-write{ white-space:nowrap; }
.sha-ai-write[disabled]{ opacity:.6; cursor:default; }
.sha-ai-status{ font-family:var(--mono); font-size:12px; color:var(--muted); }
.sha-ai-status.is-work{ color:var(--ink); }
.sha-ai-status.is-good{ color:#0f7d72; }
.sha-ai-status.is-bad{ color:var(--red); }

/* Gallery thumbnails: show the uploader credit at top-left so it clears the bottom-right upvote (v0.93.42) */
.sha-thumb .sha-credit{ left:6px; top:6px; bottom:auto; max-width:calc(100% - 12px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sha-thumb .sha-vote-wrap{ right:6px; bottom:6px; }

/* ===== Mobile Browse improvements (v0.47.0) ===== */
/* Filters toggle button: hidden on desktop, shown on mobile via the 820px block above */
.sha-facets-toggle{ display:none; width:100%; align-items:center; justify-content:space-between; gap:8px;
  font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; font-weight:600;
  background:var(--ink); color:var(--cream); border:0; border-radius:8px; padding:13px 16px; cursor:pointer; margin-bottom:16px; }
.sha-facets-toggle .sha-facets-toggle-ico{ font-size:16px; line-height:1; }

/* Sort options as uppercase pills; active = red */
.sha-sort{ flex-wrap:wrap; }
.sha-sort-opt{ text-transform:uppercase; letter-spacing:.07em; padding:6px 12px; border-radius:100px; border:1px solid var(--line); color:var(--muted); }
.sha-sort-opt:hover{ color:var(--ink); border-color:var(--muted); background:transparent; }
.sha-sort-opt.is-active{ color:#fff; background:var(--red); border-color:var(--red); }

@media (max-width:640px){
  /* Search + sort stack and go full width */
  .sha-browse-bar{ gap:14px; }
  .sha-search{ width:100%; }
  .sha-search input{ min-width:0; flex:1; }
  .sha-sort{ width:100%; }
}

/* Sub-nav on mobile: three primary items wrap cleanly; overflow stays visible
   so the "More" dropdown isn't clipped. */
@media (max-width:660px){
  .sha-subnav-links{ order:3; flex-basis:100%; flex-wrap:wrap; overflow:visible; gap:6px 4px; }
  .sha-subnav-a{ white-space:nowrap; flex:0 0 auto; }
  .sha-subnav-more-menu{ left:0; right:auto; min-width:200px; }
}

/* Related stories (blog results under archive search) v0.49.0 */
.sha-stories{ margin-top:34px; padding-top:22px; border-top:1px solid var(--line); }
.sha-stories-list{ list-style:none; margin:10px 0 0; padding:0; }
.sha-stories-list li{ padding:8px 0; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:14px; align-items:baseline; flex-wrap:wrap; }
.sha-stories-list a{ font-size:17px; color:var(--ink); text-decoration:none; }
.sha-stories-list a:hover{ color:var(--red); }
.sha-stories-date{ font-family:var(--mono); font-size:11px; color:var(--muted); white-space:nowrap; }

/* Internal links inside descriptions + rotating footer promo (v0.50.0) */
.sha-prose a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--red); text-underline-offset:2px; }
.sha-prose a:hover{ color:var(--red); }

.sha-promo{ display:block; margin-top:46px; padding-top:30px; border-top:1px solid var(--line); }
.sha-promo-card{ display:flex; gap:18px; align-items:center; text-decoration:none; background:#fffdf8; border:1px solid var(--line); border-radius:12px; padding:20px 22px; max-width:560px; }
a.sha-promo-card:hover{ border-color:var(--ink); }
.sha-promo-book .sha-card-book{ flex:0 0 auto; margin:0; }
.sha-promo-book .sha-book-cover{ width:80px; height:auto; border-radius:4px; box-shadow:0 3px 12px rgba(0,0,0,.18); display:block; }
.sha-promo-eyebrow{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:6px; }
.sha-promo-body h4{ font-family:var(--serif); font-weight:600; font-size:21px; margin:0 0 6px; color:var(--ink); }
.sha-promo-body p{ font-size:15px; color:#2c2720; margin:0 0 10px; line-height:1.4; }
.sha-promo-stories{ max-width:560px; }
.sha-promo-stories ul{ list-style:none; margin:10px 0 0; padding:0; }
.sha-promo-stories li{ padding:8px 0; border-bottom:1px solid var(--line); }
.sha-promo-stories a{ color:var(--ink); text-decoration:none; font-size:16px; }
.sha-promo-stories a:hover{ color:var(--red); }

/* Reference / more info link (v0.51.0) */
.sha-source-link{ margin-top:18px; font-family:var(--mono); font-size:13px; }
.sha-source-link a{ color:var(--red); text-decoration:none; }
.sha-source-link a:hover{ text-decoration:underline; }

/* Footer promo: cap the book cover and tighten on mobile (v0.52.0) */
.sha-promo .sha-book-cover{ max-width:80px !important; height:auto !important; }
@media (max-width:600px){
  .sha-promo{ margin-top:32px; padding-top:22px; }
  .sha-promo-card{ gap:14px; padding:14px 16px; border-radius:10px; align-items:flex-start; }
  .sha-promo .sha-book-cover{ max-width:58px !important; }
  .sha-promo-eyebrow{ margin-bottom:4px; }
  .sha-promo-body h4{ font-size:17px; margin-bottom:4px; }
  .sha-promo-body p{ font-size:13.5px; line-height:1.35; margin-bottom:8px; }
  .sha-promo-stories li{ padding:7px 0; }
  .sha-promo-stories a{ font-size:15px; }
}

/* Form example placeholders read clearly as examples, not real values */
.sha-field input::placeholder,
.sha-field textarea::placeholder,
.sha-form input::placeholder,
.sha-form textarea::placeholder{ color:#b7ad9d; opacity:1; font-style:italic; }
.sha-field input::-webkit-input-placeholder,
.sha-form input::-webkit-input-placeholder{ color:#b7ad9d; font-style:italic; }

/* Collector profile: show more photos button */
.sha-photos-more{ margin:18px auto 0; display:block; }

/* Profile header sits on the dark ink block: keep bio + stats legible */
.sha-profile-bio{ color:#d8d0c2; }
.sha-submit.sha-profile .sha-browse-sub{ color:#e8e2d6; }

/* Profile header is dark: quiet the heritage tags and give Legend a visible edge */
.sha-profile-head .sha-badge-heritage{ background:rgba(250,247,241,.07); color:#cfc7b8; border:1px solid rgba(250,247,241,.22); }
.sha-profile-head .sha-badge-tier-legend{ background:#2c2620; border:1px solid rgba(253,227,90,.55); }

/* Profile username readable on the dark header */
.sha-submit.sha-profile .sha-h1-dark{ color:var(--cream); }

/* Contextual add-photo on a colorway page */
.sha-addphoto{ margin-top:0; min-width:0; }
.sha-addphoto-row{ display:flex; flex-wrap:nowrap; gap:12px; align-items:flex-start; margin-top:14px; }
.sha-addphoto-row a.sha-addphoto-different{ align-self:flex-start; font-size:11px; letter-spacing:.05em; white-space:nowrap; padding:10px 12px; border:1px solid transparent; box-sizing:border-box; line-height:normal; }
.sha-addphoto-row .sha-addphoto > summary{ font-size:11px; letter-spacing:.05em; padding:10px 12px; white-space:nowrap; }
@media (max-width:560px){ .sha-addphoto-row{ flex-wrap:wrap; } .sha-addphoto-row .sha-addphoto > summary, .sha-addphoto-different{ white-space:normal; } }
.sha-addphoto > summary{ cursor:pointer; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); border:1px dashed var(--line); border-radius:8px; padding:10px 14px; display:inline-block; list-style:none; }
.sha-addphoto > summary::-webkit-details-marker{ display:none; }
.sha-addphoto[open] > summary{ margin-bottom:12px; }
.sha-addphoto-form{ display:flex; flex-direction:column; gap:10px; max-width:420px; }
.sha-addphoto-form input[type=file]{ font-size:14px; }
.sha-addphoto-cta{ margin-top:14px; color:var(--muted); font-size:14px; }

/* Tester feedback widget */
.sha-fb{ position:fixed; left:18px; bottom:18px; z-index:9990; font-family:var(--mono); }
.sha-fb-toggle{ background:var(--ink); color:var(--cream); border:0; border-radius:24px; padding:11px 18px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; box-shadow:0 6px 20px rgba(0,0,0,.18); }
.sha-fb-panel{ position:absolute; left:0; bottom:52px; width:300px; max-width:78vw; background:var(--cream); border:1px solid var(--line); border-radius:12px; padding:16px; box-shadow:0 12px 32px rgba(0,0,0,.2); }
.sha-fb-head{ font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink); margin-bottom:8px; }
.sha-fb-panel textarea{ width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:8px; padding:10px; font-family:inherit; font-size:14px; margin-bottom:10px; resize:vertical; }
.sha-fb-thanks{ position:fixed; left:18px; bottom:18px; z-index:9991; background:#1c7a3e; color:#fff; border-radius:10px; padding:12px 16px; font-family:var(--mono); font-size:13px; box-shadow:0 8px 24px rgba(0,0,0,.2); }
.sha-fb-thanks.is-bad{ background:#b3261e; }
@media (max-width:600px){ .sha-fb{ left:12px; bottom:12px; } }

/* Theme "From the network" module embedded on archive pages */
.sha-network-embed{ margin:32px 0; }

/* Profile rank pill + eyebrow row */
.sha-eyebrow-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.sha-eyebrow-row .sha-eyebrow{ margin-bottom:0; }
.sha-rank-pill{ display:inline-flex; align-items:center; gap:6px; background:#FDE35A; color:#211d18; font-family:var(--mono); font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:5px 11px; border-radius:999px; }
.sha-rank-pill .sha-rank-ico{ font-size:12px; line-height:1; }
/* Mobile: collapse badges past the first 3 behind a "+N more" toggle */
.sha-badge-more{ display:inline-flex; align-items:center; margin-left:6px; background:rgba(250,247,241,.12); color:#cfc7b8; border:1px solid rgba(250,247,241,.28); border-radius:999px; font-family:var(--mono); font-size:11px; letter-spacing:.04em; padding:4px 10px; cursor:pointer; vertical-align:middle; }

/* SH Discord Checklist (gated easter-egg feed) */
.sha-dcl-grid{ list-style:none; margin:24px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; }
.sha-dcl-card{ margin:0; }
.sha-dcl-inner{ display:flex; align-items:center; gap:14px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--cream); text-decoration:none; color:var(--ink); }
.sha-dcl-card.has-link .sha-dcl-inner{ transition:border-color .15s, transform .15s; }
.sha-dcl-card.has-link .sha-dcl-inner:hover{ border-color:var(--ink); transform:translateY(-1px); }
.sha-dcl-rank{ font-family:var(--mono); font-size:12px; color:var(--muted); min-width:30px; }
.sha-dcl-thumb{ width:64px; height:64px; flex:0 0 64px; border-radius:8px; background:#ece7dd center/cover no-repeat; }
.sha-dcl-body{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.sha-dcl-name{ font-family:var(--serif); font-size:15px; line-height:1.25; }
.sha-dcl-owners{ font-family:var(--mono); font-size:12px; color:var(--muted); }
.sha-dcl-owners strong{ color:var(--red); }


/* Community (self-claimed heritage) badges: colored outline instead of a filled earned look */
.sha-badge-heritage{ background:transparent !important; color:#1d8e7d !important; border:1px solid #1d8e7d !important; border-left:1px solid #1d8e7d !important; }
.sha-badge-heritage .sha-badge-i{ color:#1d8e7d !important; }
.sha-profile-head .sha-badge-heritage{ background:transparent !important; color:#63d3bf !important; border-color:#63d3bf !important; }
.sha-profile-head .sha-badge-heritage .sha-badge-i{ color:#63d3bf !important; }

/* Editor photo management: set-lead control + lead marker */
.sha-edit-photo{ position:relative; }
.sha-edit-photo.is-lead{ outline:2px solid var(--red); outline-offset:1px; border-radius:6px; }
.sha-edit-lead-tag{ position:absolute; top:-8px; left:-6px; background:var(--red); color:#fff; font-family:var(--mono); font-size:9px; letter-spacing:.06em; text-transform:uppercase; padding:2px 6px; border-radius:999px; z-index:2; }
.sha-edit-lead{ background:transparent; border:1px solid var(--line); color:var(--ink); font-family:var(--mono); font-size:10px; text-transform:uppercase; letter-spacing:.04em; padding:3px 7px; border-radius:5px; cursor:pointer; margin-top:4px; }
.sha-edit-lead:hover{ border-color:var(--ink); }

/* Where-to-buy marketplace icons */
.sha-market-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.sha-market-ico{ width:18px; height:18px; border-radius:4px; flex:0 0 18px; object-fit:contain; }

/* Display name + @handle */
.sha-profile-handle{ font-family:var(--mono); font-size:13px; letter-spacing:.04em; color:#cfc7b8; margin:3px 0 0; }
.sha-handle-inline{ font-family:var(--mono); font-size:12px; color:var(--muted); margin:0 2px; }
.sha-lb-at{ display:block; font-family:var(--mono); font-size:11px; color:var(--muted); margin-top:2px; }

/* Profile header: name on its own line, handle under it, badges in their own block */
.sha-profile-head .sha-profile-name{ margin:0 0 2px; }
.sha-profile-badges{ display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 16px; }
.sha-profile-badges:empty{ display:none; margin:0; }

/* Profile stats line: separate it from the bio so it stands out */
.sha-profile-head .sha-browse-sub{ margin-top:16px; padding-top:14px; border-top:1px solid rgba(250,247,241,.13); color:#e3ddd1; }
.sha-profile-head .sha-browse-sub strong{ color:#fff; }

/* ---------- Subnav "?" help trigger ---------- */
.sha-subnav-help{ display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; padding:0; border-radius:50%; border:1px solid rgba(250,247,241,.4); background:transparent; color:#faf7f1; font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:13px; line-height:1; cursor:pointer; margin-right:4px; transition:background .15s,border-color .15s; }
.sha-subnav-help:hover{ background:rgba(250,247,241,.14); border-color:#faf7f1; }

/* ---------- One-time welcome modal ---------- */
body.sha-intro-on{ overflow:hidden; }
.sha-intro{ position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(17,14,11,.72); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); animation:shaIntroFade .2s ease; }
.sha-intro[hidden]{ display:none; }
@keyframes shaIntroFade{ from{ opacity:0 } to{ opacity:1 } }
.sha-intro-card{ position:relative; width:100%; max-width:520px; max-height:90vh; overflow-y:auto; background:#211d18; color:#faf7f1; border-radius:16px; padding:38px 34px 30px; box-shadow:0 30px 80px rgba(0,0,0,.5); animation:shaIntroPop .25s cubic-bezier(.2,.8,.3,1); }
@keyframes shaIntroPop{ from{ transform:translateY(14px) scale(.98); opacity:0 } to{ transform:none; opacity:1 } }
.sha-intro-x{ position:absolute; top:14px; right:16px; width:34px; height:34px; border:0; background:transparent; color:#c7bfb2; font-size:26px; line-height:1; cursor:pointer; border-radius:8px; transition:background .15s,color .15s; }
.sha-intro-x:hover{ background:rgba(250,247,241,.1); color:#faf7f1; }
.sha-intro-eyebrow{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:#c7bfb2; margin-bottom:8px; text-align:center; }
.sha-intro-title{ font-family:'Newsreader', Georgia, serif; font-weight:600; font-size:30px; line-height:1.08; margin:0 0 12px; color:#fdfbf7; text-align:center; }
.sha-intro-lead{ font-size:15.5px; line-height:1.5; color:#e3ddd1; margin:0 0 22px; text-align:center; }
.sha-intro-rows{ list-style:none; margin:0 0 26px; padding:0; }
.sha-intro-row{ display:flex; gap:15px; align-items:flex-start; padding:13px 0; border-top:1px solid rgba(250,247,241,.1); }
.sha-intro-row:first-child{ border-top:0; padding-top:0; }
.sha-intro-ico{ flex:0 0 34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:9px; background:rgba(29,142,125,.16); color:#63d3bf; font-size:16px; font-weight:600; margin-top:1px; }
.sha-intro-ico-ol{ background:transparent; border:1.5px solid #63d3bf; font-size:11px; }
.sha-intro-txt{ display:flex; flex-direction:column; gap:3px; }
.sha-intro-txt strong{ font-size:15.5px; color:#faf7f1; font-weight:600; }
.sha-intro-txt span{ font-size:14px; line-height:1.45; color:#c7bfb2; }
.sha-intro-actions{ display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; }
.sha-intro-actions .sha-btn{ background:#FF2247; border:0; cursor:pointer; color:#fff!important; }
.sha-intro-link{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#63d3bf; text-decoration:none; }
.sha-intro-link:hover{ text-decoration:underline; }
@media (max-width:560px){
  .sha-intro-card{ padding:30px 22px 24px; border-radius:14px; }
  .sha-intro-title{ font-size:25px; }
}

/* Account: "How the archive works" re-open link */
.sha-submit-gate p.sha-acct-help{ margin:24px 0 0; }
.sha-linkbtn{ background:none; border:0; padding:0; cursor:pointer; font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:#8a8071; text-decoration:underline; text-underline-offset:3px; }
.sha-linkbtn:hover{ color:#211d18; }

/* Optically center all-caps text inside the Account pill (caps have no descenders) */
.sha-subnav-acct a.sha-subnav-cta{ padding-top:7px; padding-bottom:4px; }

/* Nudge the subnav link rows down to optically align with the bold brand + Account pill */
.sha-subnav-a{ padding-top:6.5px; padding-bottom:3.5px; }
.sha-subnav-acct a:not(.sha-subnav-cta){ padding-top:6.5px; padding-bottom:3.5px; }

/* Same optical nudge for the own/had/want + pin pills (all-caps sit high) */
.sha-own-btn{ padding-top:11px; padding-bottom:7px; }
.sha-pin-btn{ padding-top:9px; padding-bottom:5px; }

/* Discord checklist: larger page title */
.sha-browse-head h1.sha-dcl-h1{ font-size:50px; line-height:1.03; max-width:780px; color:#faf7f1; }
@media (max-width:600px){ .sha-browse-head h1.sha-dcl-h1{ font-size:33px; } }

/* Global: any title inside the dark header card must be cream (fixes dark-on-dark on .sha-submit pages) */
.sha-browse-head .sha-h1-dark{ color:#faf7f1; }

/* ---------- Stats dashboard ---------- */
.sha-stats .sha-stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:0 0 30px; }
.sha-stat{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:22px 20px; }
.sha-stat-label{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.sha-stat-value{ font-family:var(--serif); font-weight:600; font-size:42px; line-height:1; color:var(--ink); margin:12px 0 6px; }
.sha-stat-sub{ font-family:var(--mono); font-size:11px; color:var(--muted); }
.sha-stat-section{ margin:0 0 32px; }
.sha-stat-section .sha-eyebrow{ margin-bottom:14px; }
.sha-chart-wrap{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px; height:300px; }
.sha-stat-table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:12px; background:#fff; }
.sha-stat-table{ width:100%; border-collapse:collapse; font-family:var(--mono); font-size:13px; }
.sha-stat-table th{ text-align:left; color:var(--muted); font-weight:600; font-size:11px; letter-spacing:.08em; text-transform:uppercase; padding:11px 14px; border-bottom:1px solid var(--line); }
.sha-stat-table td{ padding:10px 14px; border-bottom:1px solid #efe9df; color:var(--ink); }
.sha-stat-table tr:last-child td{ border-bottom:0; }
@media(max-width:760px){ .sha-stats .sha-stat-grid{ grid-template-columns:repeat(2,1fr); } .sha-chart-wrap{ height:240px; } }
.sha-stat-feed{ font-family:var(--mono); font-size:12px; color:var(--muted); background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px 14px; margin:0 0 26px; word-break:break-all; }
.sha-stat-feed code{ color:var(--ink); }
.sha-field-hint{ font-family:var(--mono); font-size:11px; color:var(--muted); margin:6px 0 0; }
