/*
 * destination-w3d.css — styling for the W3-D landing destination hooks.
 * Scoped entirely under .w3d-* / #w3d* so it can NEVER collide with the
 * Netscape chrome, the marquee, or any easter-egg styles. Injected elements
 * are additive and self-contained.
 */

.w3d-hidden { display: none !important; }

/* Floating streak / today / challenge badge — bottom-left, out of the way of
   the mobile dock (which lives bottom-full-width < 760px). */
.w3d-badge {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 13, 23, 0.92);
  border: 1px solid #2a2f52;
  color: #e8ecff;
  font: 600 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  max-width: calc(100vw - 24px);
  overflow: hidden;
  white-space: nowrap;
}
.w3d-badge-challenge {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 700;
}
.w3d-badge-challenge:hover { text-decoration: underline; }
.w3d-badge-sep {
  width: 1px;
  height: 12px;
  background: #2a2f52;
}
.w3d-badge-streak { color: #f472b6; }
.w3d-badge-today { color: #9aa3c7; }
.w3d-badge-streak:empty,
.w3d-badge-today:empty { display: none; }

/* Hide the badge under the mobile-dock breakpoint so it never overlaps the
   4-button dock (canon). */
@media (max-width: 760px) {
  .w3d-badge { bottom: 76px; }
}

/* Optional trending ticker container (only styled if the page opts in with a
   #w3dTicker element). We do NOT define/override the canonical marquee. */
#w3dTicker {
  color: #c8d0f0;
  font: 600 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Paste bar (only styled if the page opts in with a #w3dPasteBar element). */
.w3d-paste {
  display: flex;
  gap: 8px;
  max-width: 520px;
}
.w3d-paste-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2a2f52;
  background: #151831;
  color: #e8ecff;
  font: 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.w3d-paste-input::placeholder { color: #6b73a0; }
.w3d-paste-go {
  flex: none;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  background: #22d3ee;
  color: #0b0d17;
  font-weight: 700;
  cursor: pointer;
}
.w3d-paste-go:hover { filter: brightness(1.05); }
