/* searxNcrawl room: paper surface and cobalt accent of www.searxncrawl.io, the three MCP tools as a
   schematic in monospace, the install command on the dark base bar. Colours from
   searxncrawl-web/public/assets/styles.css (:root tokens). */
.room[data-theme="searxncrawl"] {
  --text: #16161a;
  --text-muted: #55555d;
  --accent: #2333d6;
  --rule: #e4e4df;
  --focus: #3046ff;
  --hover-bg: #ffffff;
  --status-live: #2333d6;
  border-color: #e4e4df;
  background-color: #f8f8f6;
  background-image: radial-gradient(
    ellipse 60% 70% at 100% 0%,
    rgba(48, 70, 255, 0.1),
    transparent 70%
  );
  color: var(--text);
}

.room[data-theme="searxncrawl"]:hover,
.room[data-theme="searxncrawl"]:focus-within {
  border-color: #3046ff;
}

.room[data-theme="searxncrawl"] .schematic {
  width: 100%;
  max-width: 32rem;
  margin: 0;
}

.room[data-theme="searxncrawl"] .schematic-caption {
  margin-bottom: var(--space-3);
  color: #55555d;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room[data-theme="searxncrawl"] .schematic-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.room[data-theme="searxncrawl"] .schematic-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  min-height: 7rem;
  padding: var(--space-2);
  border: 1px solid #e4e4df;
  border-radius: 10px;
  background-color: #ffffff;
  color: #2333d6;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (min-width: 480px) {
  .room[data-theme="searxncrawl"] .schematic-panel {
    padding: var(--space-3);
    font-size: 0.9375rem;
  }
}

.room[data-theme="searxncrawl"] .schematic-tag {
  padding: 0.125rem var(--space-2);
  border: 1px solid #e4e4df;
  border-radius: var(--radius-pill);
  background-color: #f8f8f6;
  color: #55555d;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room[data-theme="searxncrawl"]:hover .schematic-tag,
.room[data-theme="searxncrawl"]:focus-within .schematic-tag {
  border-color: #c7cdff;
  background-color: #eef0ff;
  color: #2333d6;
}

.room[data-theme="searxncrawl"] .schematic-base {
  margin: var(--space-2) 0 0;
  padding: var(--space-2) var(--space-3);
  border-radius: 10px;
  background-color: #16161a;
  color: #f8f8f6;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .room[data-theme="searxncrawl"] .schematic-panel {
    transition:
      transform 300ms,
      border-color 300ms;
  }

  /* The three tools light up one after the other on hover, like a search followed by crawls. */
  .room[data-theme="searxncrawl"]:hover .schematic-panel,
  .room[data-theme="searxncrawl"]:focus-within .schematic-panel {
    border-color: #3046ff;
    transform: translateY(-3px);
  }

  .room[data-theme="searxncrawl"]:hover .schematic-panel:nth-child(2),
  .room[data-theme="searxncrawl"]:focus-within .schematic-panel:nth-child(2) {
    transition-delay: 80ms;
  }

  .room[data-theme="searxncrawl"]:hover .schematic-panel:nth-child(3),
  .room[data-theme="searxncrawl"]:focus-within .schematic-panel:nth-child(3) {
    transition-delay: 160ms;
  }
}
