/*! Gyre Index (gyre-index 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/gyre-index */
/* Gyre Index. Every rule is scoped to .gyr so the gem drops into any page. Size the element; the gyroscope fills it. */
.gyr {
  --gyr-bg: #0b0c10;
  --gyr-ink: #eef0f5;
  --gyr-mute: rgba(238, 240, 245, 0.62);
  --gyr-line: rgba(255, 255, 255, 0.09);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  padding: clamp(18px, 4vw, 52px);
  background: radial-gradient(70% 80% at 30% 50%, rgba(140, 160, 255, 0.07), transparent 70%), var(--gyr-bg);
  color: var(--gyr-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.gyr, .gyr *, .gyr *::before, .gyr *::after { box-sizing: border-box; }
.gyr-stage { position: relative; width: 100%; height: 100%; min-height: 0; }
.gyr-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gyr-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.gyr-hub p { margin: 0; }
.gyr-big {
  font-size: clamp(30px, 4.6vw, 60px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.gyr-small {
  margin-top: 8px !important;
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--gyr-mute);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.gyr-legend {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gyr-line);
}
.gyr-legend li { margin: 0; border-bottom: 1px solid var(--gyr-line); }
.gyr-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto 3.2em;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gyr-ink);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}
.gyr-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.gyr-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gyr-val, .gyr-pct { font-variant-numeric: tabular-nums; color: var(--gyr-mute); text-align: right; }
.gyr-row:hover { background: rgba(255, 255, 255, 0.05); }
.gyr-row[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 16%, transparent); }
.gyr-row[aria-pressed="true"] .gyr-pct { color: var(--gyr-ink); }
.gyr-row:focus-visible { outline: 2px solid var(--c); outline-offset: -2px; }
.gyr-narrow {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
}
.gyr-narrow .gyr-row { padding: 8px 6px; font-size: 14px; }
.gyr-narrow .gyr-big { font-size: 30px; }
@media (prefers-reduced-motion: reduce) {
  .gyr-row { transition: none; }
}
