.pyro-suite {
  padding-top: 1rem;
}

.pyro-plugin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pyro-plugin {
  --plugin-accent: var(--green);
  position: relative;
  min-height: 300px;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(
      circle at 85% 20%,
      color-mix(in srgb, var(--plugin-accent) 18%, transparent),
      transparent 12rem
    ),
    rgba(var(--surface-rgb), 0.55);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.pyro-plugin::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  bottom: -3.5rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid color-mix(in srgb, var(--plugin-accent) 36%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5rem color-mix(in srgb, var(--plugin-accent) 5%, transparent),
    0 0 0 3rem color-mix(in srgb, var(--plugin-accent) 3%, transparent);
}

.pyro-plugin:hover,
.pyro-plugin:focus-visible {
  z-index: 1;
  background-color: color-mix(
    in srgb,
    var(--plugin-accent) 7%,
    var(--surface)
  );
  outline: 1px solid var(--plugin-accent);
  outline-offset: -1px;
}

.pyro-plugin.farming {
  --plugin-accent: var(--amber);
}

.pyro-plugin.fishing {
  --plugin-accent: var(--blue);
}

.pyro-plugin.mining {
  --plugin-accent: var(--violet);
}

.pyro-plugin.welcomes {
  --plugin-accent: var(--green);
}

.pyro-orbit {
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 3rem;
  display: grid;
  place-items: center;
  color: var(--plugin-accent);
  border: 1px solid color-mix(in srgb, var(--plugin-accent) 45%, transparent);
  border-radius: 50%;
  font: 0.68rem "DM Mono", monospace;
}

.pyro-plugin small {
  margin-bottom: 0.7rem;
  color: var(--plugin-accent);
  font: 0.62rem "DM Mono", monospace;
  letter-spacing: 0.18em;
}

.pyro-plugin h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.pyro-plugin p {
  max-width: 410px;
  color: var(--muted);
  line-height: 1.65;
}

.pyro-plugin > strong {
  margin-top: auto;
  color: var(--plugin-accent);
  font: 0.72rem "DM Mono", monospace;
}

.collection-pulse {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.collection-pulse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1rem;
}

.collection-path-panel,
.collection-insights article {
  background: rgba(var(--surface-rgb), 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.collection-path-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.pulse-panel-heading {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.pulse-panel-heading small,
.collection-insights small {
  display: block;
  color: var(--meta);
  font: 0.58rem "DM Mono", monospace;
  letter-spacing: 0.12em;
}

.pulse-panel-heading strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.pulse-panel-heading > span {
  color: var(--muted);
  font-size: 0.75rem;
}

.collection-path-bars {
  display: grid;
  gap: 1.2rem;
}

.collection-path-row {
  --path-color: var(--accent);
}

.collection-path-row[data-path="farming"] {
  --path-color: var(--amber);
}

.collection-path-row[data-path="fishing"] {
  --path-color: var(--blue);
}

.collection-path-row[data-path="mining"] {
  --path-color: var(--violet);
}

.collection-path-row[data-path="welcomes"] {
  --path-color: var(--green);
}

.collection-path-row > div:first-child {
  margin-bottom: 0.45rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.collection-path-row strong {
  font-size: 0.82rem;
}

.collection-path-row > div:first-child span {
  color: var(--path-color);
  font: 0.68rem "DM Mono", monospace;
}

.collection-path-track {
  height: 12px;
  overflow: hidden;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.collection-path-track span {
  width: var(--path-size);
  height: 100%;
  display: block;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--path-color) 62%, transparent),
    var(--path-color)
  );
  border-radius: inherit;
}

.collection-path-panel > p {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: var(--meta);
  font-size: 0.68rem;
  line-height: 1.65;
}

.collection-insights {
  display: grid;
  gap: 1rem;
}

.collection-insights article {
  min-height: 132px;
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  align-content: center;
}

.pulse-icon {
  grid-row: 1 / 4;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--amber);
  background: color-mix(in srgb, currentColor 10%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 6px;
}

.pulse-icon.fishing {
  color: var(--blue);
}

.pulse-icon.mining {
  color: var(--violet);
}

.collection-insights strong {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.collection-insights p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .pyro-plugin-grid {
    grid-template-columns: 1fr;
  }

  .collection-pulse-grid {
    grid-template-columns: 1fr;
  }

  .pulse-panel-heading {
    align-items: start;
    flex-direction: column;
  }

  .collection-path-row > div:first-child {
    align-items: start;
    flex-direction: column;
    gap: 0.25rem;
  }
}
