/* $SUPLOG band (home page) + guard UI — host-agnostic; the mirror host is set in build.py.
   Palette taken from the site's own home-page tokens:
   background #fcfcfc, text #202020, secondary #646464, muted #767676,
   accent #656ef9 / #4e58f9, hairlines #eaeaea / #e0e0e0. */

.suplogBand {
  --sl-bg: #fcfcfc;
  --sl-text: #202020;
  --sl-secondary: #646464;
  --sl-muted: #767676;
  --sl-accent: #656ef9;
  --sl-accent-strong: #4e58f9;
  --sl-line: #eaeaea;
  --sl-line-strong: #e0e0e0;
  --sl-surface: #ffffff;
  box-sizing: border-box;
  max-width: 896px;
  margin: 0 auto;
  padding: 64px 32px 96px;
  background: var(--sl-bg);
  color: var(--sl-text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.suplogBand * { box-sizing: border-box; }

.suplogBand__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 1px solid var(--sl-line);
  border-radius: 20px;
  color: var(--sl-secondary);
  background: var(--sl-surface);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .04em;
}

.suplogBand__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.02em;
}

.suplogBand__lede {
  margin: 14px 0 0;
  max-width: 640px;
  color: var(--sl-secondary);
  font-size: 15px;
  line-height: 24px;
}

.suplogBand__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.suplogCard {
  padding: 16px 18px;
  border: 1px solid var(--sl-line);
  border-radius: 14px;
  background: var(--sl-surface);
}

.suplogCard h3 {
  margin: 0 0 8px;
  color: var(--sl-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.suplogCard p {
  margin: 0;
  color: var(--sl-secondary);
  font-size: 13px;
  line-height: 21px;
}

.suplogCard strong { color: var(--sl-text); font-weight: 500; }

.suplogBand a { color: var(--sl-accent-strong); text-decoration: none; }
.suplogBand a:hover { text-decoration: underline; }

.suplogToken {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--sl-line);
  border-radius: 14px;
  background: var(--sl-surface);
}

.suplogToken__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.suplogToken__label {
  color: var(--sl-muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.suplogToken__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--sl-line-strong);
  border-radius: 20px;
  font-size: 12px;
  line-height: 18px;
  color: var(--sl-secondary);
}

.suplogToken__chip--soon::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #d9a13b;
}

.suplogToken__chip--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2fbf71;
}

.suplogToken__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.suplogToken__addr {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed var(--sl-line-strong);
  border-radius: 10px;
  background: #fafafa;
  color: var(--sl-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 20px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.suplogToken__addr--pending { color: var(--sl-muted); }

.suplogToken__copy {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--sl-accent-strong);
  border-radius: 10px;
  background: var(--sl-accent);
  color: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
}

.suplogToken__copy:hover { background: var(--sl-accent-strong); }

.suplogToken__copy[aria-disabled="true"],
.suplogToken__copy[aria-disabled="true"]:hover {
  background: #f5f5f5;
  border-color: var(--sl-line-strong);
  color: var(--sl-muted);
  cursor: not-allowed;
}

.suplogToken__explorer {
  flex: 0 0 auto;
  font-size: 13px;
}

.suplogToken__note {
  margin: 12px 0 0;
  color: var(--sl-muted);
  font-size: 12px;
  line-height: 20px;
}

.suplogBand__fine {
  margin: 20px 0 0;
  color: var(--sl-muted);
  font-size: 12px;
  line-height: 20px;
}

/* the band is injected statically after #root and moved above the footer once the
   app has hydrated; hidden on client-side navigations away from the home route */
.suplogBand[hidden] { display: none !important; }

@media (max-width: 760px) {
  .suplogBand { padding: 48px 20px 72px; }
  .suplogBand__title { font-size: 24px; }
  .suplogBand__cards { grid-template-columns: minmax(0, 1fr); }
  .suplogToken__copy { width: 100%; }
  .suplogToken__addr { flex: 0 0 auto; width: 100%; }
}

/* links that must not exist on this mirror: the build points social/vendor anchors at
   /vendor/hidden (a local 204) and this rule is what removes them from the rendered page —
   it applies to the hydrated DOM too, so there is no visible flash. */
a[href^="/vendor/hidden"] { display: none !important; }

/* marker used by the guard when it removes a link but keeps the sentence readable */
.suplogStripped { display: none !important; }
