.wgrnn-firehose {
  position: relative;
  min-height: calc(100vh - 96px);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 61, 0.16), transparent 36%),
    radial-gradient(circle at top right, rgba(79, 209, 197, 0.14), transparent 28%),
    linear-gradient(180deg, #05060a 0%, #091018 56%, #030407 100%);
  color: #f4efe7;
  overflow: hidden;
}

.wgrnn-firehose__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.wgrnn-firehose__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.wgrnn-firehose__dock {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  max-width: min(640px, calc(100vw - 36px));
}

.wgrnn-firehose__mini-legend {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: min(860px, calc(100vw - 36px));
}

.wgrnn-firehose__mini-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(5, 9, 14, 0.66);
  border: 1px solid rgba(244, 239, 231, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.wgrnn-firehose__mini-status,
.wgrnn-firehose__mini-item,
.wgrnn-firehose__mini-hide {
  color: rgba(244, 239, 231, 0.76);
  font: 600 11px/1.2 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__mini-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wgrnn-firehose__mini-item b {
  color: rgba(244, 239, 231, 0.48);
  font-weight: 600;
}

.wgrnn-firehose__mini-hide {
  border: 0;
  border-left: 1px solid rgba(244, 239, 231, 0.14);
  padding: 0 0 0 10px;
  background: transparent;
  cursor: pointer;
}

.wgrnn-firehose__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.04) 0%, rgba(5, 6, 10, 0.22) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(140, 255, 171, 0.032) 0,
      rgba(140, 255, 171, 0.032) 1px,
      transparent 1px,
      transparent 84px
    );
  pointer-events: none;
}

.wgrnn-firehose__hero,
.wgrnn-firehose__focus,
.wgrnn-firehose__legend-panel,
.wgrnn-firehose__chains,
.wgrnn-firehose__panel,
.wgrnn-firehose__timeline {
  backdrop-filter: blur(20px);
  background: rgba(7, 12, 18, 0.72);
  border: 1px solid rgba(244, 239, 231, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
}

.wgrnn-firehose__backdrop {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: rgba(1, 2, 5, 0.26);
  opacity: 0;
  transition: opacity 160ms ease;
}

.wgrnn-firehose__backdrop.is-open {
  opacity: 1;
}

.wgrnn-firehose__sidebar,
.wgrnn-firehose__drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: min(420px, calc(100vw - 24px));
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
  overflow-y: auto;
  background: rgba(4, 8, 13, 0.88);
  backdrop-filter: blur(26px);
  border-right: 1px solid rgba(244, 239, 231, 0.1);
  box-shadow: 24px 0 64px rgba(0, 0, 0, 0.34);
  transform: translateX(-108%);
  transition: transform 180ms ease;
}

.wgrnn-firehose__sidebar {
  left: 0;
}

.wgrnn-firehose__drawer {
  left: 0;
}

.wgrnn-firehose__sidebar.is-open,
.wgrnn-firehose__drawer.is-open {
  transform: translateX(0);
}

.wgrnn-firehose__sidebar-section {
  display: grid;
  gap: 12px;
}

.wgrnn-firehose__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wgrnn-firehose__hero {
  border-radius: 20px;
  padding: 18px;
}

.wgrnn-firehose__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font: 600 11px/1.2 "IBM Plex Sans", "Segoe UI", sans-serif;
  color: #8ac6bc;
}

.wgrnn-firehose__eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6a3d, #f6d860);
  box-shadow: 0 0 18px rgba(255, 106, 61, 0.45);
}

.wgrnn-firehose__headline {
  margin: 12px 0 8px;
  max-width: 11ch;
  font: 700 clamp(24px, 3vw, 40px)/0.96 "IBM Plex Sans", "Segoe UI", sans-serif;
  letter-spacing: -0.05em;
}

.wgrnn-firehose__subhead {
  margin: 0;
  max-width: 42ch;
  color: rgba(244, 239, 231, 0.78);
  font: 400 14px/1.55 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__button {
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 231, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #f4efe7;
  font: 500 13px/1.2 "IBM Plex Sans", "Segoe UI", sans-serif;
  backdrop-filter: blur(16px);
}

.wgrnn-firehose__button {
  padding: 11px 16px;
  cursor: pointer;
}

.wgrnn-firehose__button:hover {
  border-color: rgba(244, 239, 231, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.wgrnn-firehose__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.wgrnn-firehose__stat {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 239, 231, 0.08);
}

.wgrnn-firehose__stat-label {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 231, 0.54);
  font: 600 10px/1.2 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__stat-value {
  display: block;
  font: 700 22px/1 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__focus,
.wgrnn-firehose__legend-panel,
.wgrnn-firehose__chains,
.wgrnn-firehose__timeline {
  border-radius: 20px;
  padding: 16px;
}

.wgrnn-firehose__panel-title {
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 231, 0.58);
  font: 600 11px/1.2 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__focus {
  display: grid;
  gap: 12px;
}

.wgrnn-firehose__active-type {
  margin: 0 0 8px;
  font: 600 12px/1.3 "IBM Plex Mono", "Fira Code", monospace;
}

.wgrnn-firehose__active-text {
  margin: 0;
  color: rgba(244, 239, 231, 0.88);
  font: 400 14px/1.7 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__chain-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wgrnn-firehose__chain-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 239, 231, 0.08);
}

.wgrnn-firehose__chain-id {
  display: block;
  margin-bottom: 8px;
  color: #f4efe7;
  font: 600 12px/1.2 "IBM Plex Mono", "Fira Code", monospace;
}

.wgrnn-firehose__chain-meta {
  display: grid;
  gap: 4px;
  color: rgba(244, 239, 231, 0.72);
  font: 500 11px/1.3 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.wgrnn-firehose__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 231, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 239, 231, 0.82);
  font: 500 12px/1.2 "IBM Plex Sans", "Segoe UI", sans-serif;
  cursor: pointer;
}

.wgrnn-firehose__legend-item.is-dimmed {
  opacity: 0.46;
}

.wgrnn-firehose__legend-item.is-active {
  border-color: currentColor;
  box-shadow: 0 0 0 1px currentColor inset;
}

.wgrnn-firehose__legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 14px currentColor;
}

.wgrnn-firehose__legend-count {
  color: rgba(244, 239, 231, 0.5);
  font: 600 11px/1 "IBM Plex Mono", "Fira Code", monospace;
}

.wgrnn-firehose__timeline {
  overflow: hidden;
  max-height: none;
}

.wgrnn-firehose__timeline-list {
  display: grid;
  gap: 12px;
  max-height: none;
  overflow: auto;
  padding-right: 4px;
}

.wgrnn-firehose__timeline-item {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 239, 231, 0.08);
}

.wgrnn-firehose__timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font: 600 11px/1.2 "IBM Plex Mono", "Fira Code", monospace;
}

.wgrnn-firehose__timeline-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wgrnn-firehose__timeline-time {
  color: rgba(244, 239, 231, 0.42);
}

.wgrnn-firehose__timeline-loop {
  color: rgba(244, 239, 231, 0.5);
}

.wgrnn-firehose__timeline-text {
  margin: 0;
  color: rgba(244, 239, 231, 0.82);
  font: 400 13px/1.55 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__empty,
.wgrnn-firehose__status {
  color: rgba(244, 239, 231, 0.62);
  font: 500 12px/1.5 "IBM Plex Sans", "Segoe UI", sans-serif;
}

.wgrnn-firehose__status {
  align-self: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 12, 18, 0.48);
  border: 1px solid rgba(244, 239, 231, 0.08);
  backdrop-filter: blur(16px);
}

.wgrnn-firehose__status[data-state="error"] {
  color: #ff9e88;
}

@media (max-width: 960px) {
  .wgrnn-firehose__dock {
    left: 12px;
    right: 12px;
    top: 12px;
    max-width: none;
  }

  .wgrnn-firehose__sidebar,
  .wgrnn-firehose__drawer {
    width: calc(100vw - 16px);
    padding: 14px;
  }

  .wgrnn-firehose__mini-legend {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .wgrnn-firehose__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wgrnn-firehose__headline {
    max-width: none;
  }

  .wgrnn-firehose__timeline {
    max-height: none;
  }
}