:root {
  --bg: #0b0b0b;
  --text: #eaeaea;
  --muted: #aaa;
  --quiet: #777;
  --line: #1f1f1f;
  --card-bg: #0e0e0e;
  --link: #9ad1ff;
  --placeholder-border: #2a2a2a;

  --toolbar-bg: #101010;
  --toolbar-border: #2d2d2d;

  --wire-blue-border: rgba(0, 217, 255, 0.60);
  --wire-blue-glow: rgba(0, 217, 255, 0.12);
  --wire-purple-border: rgba(255, 61, 242, 0.60);
  --wire-purple-glow: rgba(255, 61, 242, 0.12);
  --wire-red-border: rgba(255, 72, 72, 0.68);
  --wire-red-glow: rgba(255, 72, 72, 0.13);
  --wire-gold-border: rgba(255, 199, 87, 0.70);
  --wire-gold-glow: rgba(255, 199, 87, 0.13);
  --wire-green-border: rgba(60, 210, 120, 0.66);
  --wire-green-glow: rgba(60, 210, 120, 0.12);
  --wire-orange-border: rgba(255, 143, 55, 0.70);
  --wire-orange-glow: rgba(255, 143, 55, 0.13);
  --wire-cyan-border: rgba(76, 225, 232, 0.66);
  --wire-cyan-glow: rgba(76, 225, 232, 0.12);
  --wire-brown-border: rgba(183, 128, 82, 0.72);
  --wire-brown-glow: rgba(183, 128, 82, 0.13);
  --wire-slate-border: rgba(145, 158, 171, 0.68);
  --wire-slate-glow: rgba(145, 158, 171, 0.12);
  --wire-pink-border: rgba(255, 112, 177, 0.68);
  --wire-pink-glow: rgba(255, 112, 177, 0.12);
  --wire-lime-border: rgba(175, 235, 65, 0.68);
  --wire-lime-glow: rgba(175, 235, 65, 0.12);
  --wire-silver-border: rgba(205, 211, 218, 0.72);
  --wire-silver-glow: rgba(205, 211, 218, 0.12);

  --promotion-border: rgba(255, 199, 87, 0.65);
  --promotion-glow: rgba(255, 199, 87, 0.12);
}

body.light {
  --bg: #f7f7f4;
  --text: #151515;
  --muted: #555;
  --quiet: #777;
  --line: #dddddd;
  --card-bg: #ffffff;
  --link: #005f99;
  --placeholder-border: #c9c9c9;

  --toolbar-bg: #ffffff;
  --toolbar-border: #cfcfcf;

  --wire-blue-border: rgba(0, 143, 179, 0.68);
  --wire-blue-glow: rgba(0, 143, 179, 0.12);
  --wire-purple-border: rgba(190, 48, 180, 0.68);
  --wire-purple-glow: rgba(190, 48, 180, 0.12);
  --wire-red-border: rgba(190, 44, 44, 0.68);
  --wire-red-glow: rgba(190, 44, 44, 0.10);
  --wire-gold-border: rgba(180, 126, 0, 0.70);
  --wire-gold-glow: rgba(180, 126, 0, 0.10);
  --wire-green-border: rgba(28, 142, 76, 0.68);
  --wire-green-glow: rgba(28, 142, 76, 0.10);
  --wire-orange-border: rgba(190, 88, 0, 0.70);
  --wire-orange-glow: rgba(190, 88, 0, 0.10);
  --wire-cyan-border: rgba(0, 139, 150, 0.68);
  --wire-cyan-glow: rgba(0, 139, 150, 0.10);
  --wire-brown-border: rgba(130, 82, 45, 0.70);
  --wire-brown-glow: rgba(130, 82, 45, 0.10);
  --wire-slate-border: rgba(89, 105, 120, 0.68);
  --wire-slate-glow: rgba(89, 105, 120, 0.10);
  --wire-pink-border: rgba(188, 54, 117, 0.68);
  --wire-pink-glow: rgba(188, 54, 117, 0.10);
  --wire-lime-border: rgba(104, 150, 0, 0.70);
  --wire-lime-glow: rgba(104, 150, 0, 0.10);
  --wire-silver-border: rgba(115, 124, 134, 0.68);
  --wire-silver-glow: rgba(115, 124, 134, 0.10);

  --promotion-border: rgba(180, 126, 0, 0.65);
  --promotion-glow: rgba(180, 126, 0, 0.10);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 18px;
}

/* HEADER */

.header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 26px;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.header-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-logo {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.header-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.toolbar-pill {
  min-height: 25px;
  padding: 2px 8px;
  border: 1.5px solid var(--toolbar-border);
  border-radius: 999px;
  background: var(--toolbar-bg);
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
}

.toolbar-button {
  cursor: pointer;
  font-family: inherit;
}

.toolbar-button:hover {
  border-color: var(--link);
  color: var(--link);
  box-shadow: 0 0 8px rgba(154, 209, 255, 0.18);
}

.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.wire-freshness {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
}

.wire-freshness-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wire-freshness-item strong {
  color: var(--text);
  font-weight: 650;
}

.curated {
  font-size: 12px;
  color: var(--quiet);
  margin-top: 4px;
}

/* SHARED MODULES */

.module {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.module-title {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 6px;
}

.module-content {
  width: 100%;
}

/* PROMOTION ENGINE */

.promotion-shell {
  width: 100%;
}

.promotion-module {
  width: 100%;
}

.promotion-inner {
  width: 100%;
  text-align: center !important;
}

.promotion-box {
  width: 100%;
  min-height: 90px;
  border: 1px solid var(--promotion-border);
  box-shadow: 0 0 12px var(--promotion-glow);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--quiet);
  font-size: 13px;
  box-sizing: border-box;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center !important;
}

.promotion-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promotion-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 728px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.promotion-image {
  display: block;
  max-width: 728px;
  width: 100%;
  height: auto;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 8px;
}

.promotion-credit {
  width: 100%;
  margin: 8px auto 0 !important;
  text-align: center !important;
  font-size: 11px;
  color: var(--quiet);
}

.promotion-credit a {
  color: var(--link);
}

/* WIRE CARDS */

.wire-card {
  border-top: 1px solid var(--line);
}

.wire-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wire-card-meta {
  font-size: 11px;
  color: var(--quiet);
  margin-top: 2px;
}

.wire-card-body {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-bg);
  overflow: hidden;
}

.wire-card.wire-blue .wire-card-body {
  border-color: var(--wire-blue-border);
  box-shadow: 0 0 10px var(--wire-blue-glow);
}
.wire-card.wire-purple .wire-card-body {
  border-color: var(--wire-purple-border);
  box-shadow: 0 0 10px var(--wire-purple-glow);
}
.wire-card.wire-red .wire-card-body {
  border-color: var(--wire-red-border);
  box-shadow: 0 0 10px var(--wire-red-glow);
}
.wire-card.wire-gold .wire-card-body {
  border-color: var(--wire-gold-border);
  box-shadow: 0 0 10px var(--wire-gold-glow);
}
.wire-card.wire-green .wire-card-body {
  border-color: var(--wire-green-border);
  box-shadow: 0 0 10px var(--wire-green-glow);
}
.wire-card.wire-orange .wire-card-body {
  border-color: var(--wire-orange-border);
  box-shadow: 0 0 10px var(--wire-orange-glow);
}
.wire-card.wire-cyan .wire-card-body {
  border-color: var(--wire-cyan-border);
  box-shadow: 0 0 10px var(--wire-cyan-glow);
}
.wire-card.wire-brown .wire-card-body {
  border-color: var(--wire-brown-border);
  box-shadow: 0 0 10px var(--wire-brown-glow);
}
.wire-card.wire-slate .wire-card-body {
  border-color: var(--wire-slate-border);
  box-shadow: 0 0 10px var(--wire-slate-glow);
}
.wire-card.wire-pink .wire-card-body {
  border-color: var(--wire-pink-border);
  box-shadow: 0 0 10px var(--wire-pink-glow);
}
.wire-card.wire-lime .wire-card-body {
  border-color: var(--wire-lime-border);
  box-shadow: 0 0 10px var(--wire-lime-glow);
}
.wire-card.wire-silver .wire-card-body {
  border-color: var(--wire-silver-border);
  box-shadow: 0 0 10px var(--wire-silver-glow);
}

.wire-item {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.wire-item:last-of-type {
  border-bottom: none;
}

.wire-item.is-hidden {
  display: none;
}

.wire-item-source {
  font-size: 11px;
  font-weight: 700;
  color: var(--quiet);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}

.wire-item-title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.wire-item-summary {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.45;
}

.wire-item-meta {
  font-size: 11px;
  color: var(--quiet);
  margin-top: 7px;
}

.wire-show-more {
  width: 100%;
  border: none;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--link);
  padding: 12px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.wire-show-more:hover {
  background: rgba(154, 209, 255, 0.06);
  text-decoration: underline;
}

/* GENERAL */

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.empty-state {
  border: 1px dashed var(--placeholder-border);
  padding: 14px;
  color: var(--quiet);
  font-size: 13px;
  border-radius: 8px;
}

/* FOOTER */

.site-footer {
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-description {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-links {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.footer-links span {
  color: var(--quiet);
  margin: 0 6px;
}

.footer-version {
  font-size: 12px;
  color: var(--quiet);
  margin-bottom: 6px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--quiet);
}

/* PROMOTIONS 2.0 — ACTIVE BANNER REFINEMENT */

.promotion-shell {
  border-top: none;
  padding-top: 0;
}

.promotion-inner {
  user-select: none;
  -webkit-user-select: none;
}

.promotion-link {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  text-decoration: none;
}

.promotion-link:hover {
  text-decoration: none;
}

.promotion-image {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.promotion-empty {
  min-height: 44px;
  color: var(--quiet);
  font-size: 13px;
  text-align: center;
}



/* EBAY MARKETPLACE */
.ebay-wire-image-link { display:block; margin-top:9px; max-width:170px; }
.ebay-wire-image { display:block; width:100%; max-height:150px; object-fit:contain; border:1px solid var(--line); border-radius:7px; background:#fff; }
.ebay-wire-details { margin-top:7px; font-size:12px; color:var(--muted); }
.ebay-wire-image-link,

.ebay-wire-image {

    display: none;

}

/* AFFILIATE DISCLOSURES */
.affiliate-disclosure {
  padding: 11px 14px 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.45;
  color: var(--quiet);
}

.affiliate-disclosure strong {
  color: var(--muted);
}

.site-affiliate-disclosure {
  max-width: 760px;
  margin: 0 auto 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--quiet);
}

.site-affiliate-disclosure strong {
  color: var(--muted);
}


/* PHASE B: VISUAL POLISH */

.header-row {
  row-gap: 10px;
}

.monitoring-status-row {
  margin-top: 10px;
}

.monitoring-chip {
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid var(--toolbar-border);
  border-radius: 999px;
  background: var(--toolbar-bg);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  white-space: nowrap;
}

.monitoring-chip strong {
  color: var(--text);
  font-weight: 700;
}

.monitoring-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32d74b;
  box-shadow: 0 0 7px rgba(50, 215, 75, 0.5);
  flex: 0 0 auto;
}

.subtitle {
  margin-top: 7px;
}

.wire-freshness {
  gap: 5px 24px;
  margin-top: 10px;
}

.module {
  margin-top: 30px;
  padding-top: 18px;
}

.module-title {
  margin-bottom: 8px;
}

.wire-card-meta {
  margin-top: 3px;
  opacity: 0.94;
}

.promotion-shell {
  margin-top: 32px;
  padding-top: 20px;
  margin-bottom: 8px;
}

.promotion-credit {
  margin-top: 10px !important;
}

.toolbar-button,
.promotion-link,
.promotion-image,
.wire-card-body,
.wire-item,
.wire-show-more,
a {
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease,
    background-color 140ms ease, color 140ms ease, opacity 140ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .wire-card-body:hover {
    transform: translateY(-1px);
    filter: brightness(1.015);
  }

  .wire-item:hover {
    background: rgba(154, 209, 255, 0.035);
  }

  .promotion-link:hover .promotion-image {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
  }

  .toolbar-button:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-row {
    gap: 10px;
  }

  .wire-freshness {
    column-gap: 20px;
  }

  .promotion-shell {
    margin-top: 28px;
    padding-top: 18px;
    margin-bottom: 10px;
  }

  .promotion-link {
    width: calc(100% - 12px);
  }

  .promotion-credit {
    margin-top: 11px !important;
  }

  .module {
    margin-top: 28px;
    padding-top: 17px;
  }
}


/* COLLECTOR'S PULSE ARCHIVE */
.collector-pulse-archive-intro {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.collector-pulse-archive-link {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--link);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.collector-pulse-archive-link:hover {
  background: rgba(154, 209, 255, 0.06);
}

.collector-pulse-archive .wire-card {
  margin-top: 30px;
}

.collector-pulse-archive .wire-card:first-of-type {
  margin-top: 24px;
}

.epn-smart-placement {
  margin: 30px 0 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.epn-smart-placement-label {
  margin-bottom: 10px;
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.epn-smart-placement-frame {
  width: 100%;
  max-width: 900px;
  min-height: 220px;
  margin: 0 auto;
  overflow: hidden;
}

.epn-smart-placement .epn-placement {
  display: block;
  width: 100%;
  min-height: 220px;
}

.collector-pulse-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.collector-pulse-pagination a,
.collector-pulse-pagination span {
  font-size: 13px;
}

.collector-pulse-pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--toolbar-border);
  border-radius: 8px;
  background: var(--toolbar-bg);
  font-weight: 650;
}

.collector-pulse-pagination .is-disabled {
  visibility: hidden;
}

.collector-pulse-page-count {
  color: var(--quiet);
  text-align: center;
}

@media (max-width: 640px) {
  .epn-smart-placement-frame,
  .epn-smart-placement .epn-placement {
    min-height: 220px;
  }

  .collector-pulse-pagination {
    gap: 8px;
  }

  .collector-pulse-pagination a {
    padding: 0 10px;
  }

  .collector-pulse-page-count {
    font-size: 11px;
  }
}


.monitoring-status-row{margin-top:8px;}
.monitoring-chip{display:flex;align-items:center;gap:10px;border:none;background:none;padding:0;border-radius:0;box-shadow:none;}
.curated{margin-top:12px;}
