@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-950: #020617;
  --cyan-200: #a5f3fc;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --pink-400: #f472b6;

  --gradient-orb: linear-gradient(to bottom right, var(--cyan-300), var(--violet-400), var(--pink-400));
  --gradient-button: linear-gradient(to right, var(--cyan-400), var(--violet-500));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #04070f;
  color: #e5e7eb;
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input {
  margin: 0;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
  text-align: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  flex-shrink: 0;
}

canvas {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.noscript {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 1;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--slate-300);
}

kbd {
  display: inline-flex;
  height: 1.5rem;
  min-width: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  padding: 0 0.375rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-200);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes orb {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.08);
    filter: brightness(1.25);
  }
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-strong {
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.86), rgba(8, 12, 26, 0.9));
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate-200);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.glass-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.glass-btn:active {
  transform: scale(0.95);
}

.glass-btn[data-active="true"] {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.15);
  color: #cffafe;
  box-shadow: 0 0 24px -6px rgba(34, 211, 238, 0.6);
}

.button-primary {
  display: inline-flex;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--gradient-button);
  color: var(--slate-950);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  box-shadow:
    0 10px 15px -3px rgba(6, 182, 212, 0.2),
    0 4px 6px -4px rgba(6, 182, 212, 0.2);
  transition:
    filter 0.15s,
    transform 0.15s;
}

.button-primary:hover {
  filter: brightness(1.1);
}

.button-primary:active {
  transform: scale(0.95);
}

.gradient-text {
  background: linear-gradient(90deg, #67e8f9 0%, #a78bfa 55%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.thin-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.thin-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.thin-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.thin-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.thin-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.dot {
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c);
}

.dot--xs {
  width: 0.5rem;
  height: 0.5rem;
  box-shadow: 0 0 8px var(--c);
}

.dot--sm {
  width: 0.625rem;
  height: 0.625rem;
  box-shadow: 0 0 10px var(--c);
}

.dot--md {
  width: 0.75rem;
  height: 0.75rem;
  box-shadow: 0 0 10px var(--c);
}

.orb {
  position: relative;
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
}

.orb span {
  position: absolute;
  border-radius: 50%;
}

.orb__glow {
  inset: 0;
  background: var(--gradient-orb);
  filter: blur(24px);
  opacity: 0.7;
  animation: orb 6s ease-in-out infinite;
}

.orb__ring {
  inset: 4px;
  background: var(--gradient-orb);
}

.orb__dark {
  inset: 16px;
  background: rgba(2, 6, 23, 0.85);
}

.orb__core {
  inset: 28px;
  background: #fff;
}

.app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--slate-200);
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(56, 189, 248, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(168, 85, 247, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(244, 63, 94, 0.05), transparent 60%),
    linear-gradient(180deg, #060a16 0%, #04070f 100%);
}

.splash {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: fade-in 0.35s ease-out both;
}

.splash__text {
  text-align: center;
}

.splash__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.splash__label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--slate-400);
}

.map {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.map__canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  pointer-events: none;
  will-change: transform;
}

.tooltip__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
}

.tooltip__body {
  min-width: 0;
}

.tooltip__title,
.tooltip__meta {
  display: flex;
  align-items: center;
}

.tooltip__title {
  gap: 0.5rem;
}

.tooltip__domain {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.tooltip__rank,
.tooltip__meta {
  font-size: 11px;
  color: var(--slate-400);
}

.tooltip__meta {
  gap: 0.375rem;
}

.tooltip__sep {
  color: var(--slate-600);
}

.topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  pointer-events: none;
}

.topbar__brand {
  display: none;
  height: 3rem;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  border-radius: 1rem;
  padding: 0 1rem;
  line-height: 1.25;
  pointer-events: auto;
}

.topbar__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.topbar__stats {
  font-size: 11px;
  color: var(--slate-400);
}

.topbar__search {
  min-width: 0;
  flex: 1;
  pointer-events: auto;
}

.topbar__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
}

.topbar__links,
.topbar__about {
  height: 3rem;
  width: 3rem;
}

.topbar__links-label {
  display: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.search {
  position: relative;
  width: 100%;
}

.search__box {
  display: flex;
  height: 3rem;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0 1rem;
  transition: all 0.2s;
}

.search__box--open {
  border-bottom-color: transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.search__icon {
  color: var(--slate-400);
}

.search__input {
  width: 100%;
  height: 100%;
  background: transparent;
  font-size: 15px;
  color: #fff;
}

.search__input::placeholder {
  color: var(--slate-500);
}

.search__input:focus {
  outline: none;
}

.search__clear {
  border-radius: 0.5rem;
  padding: 0.25rem;
  color: var(--slate-400);
  transition:
    background-color 0.15s,
    color 0.15s;
}

.search__clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.search__kbd {
  display: none;
}

.search__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 40;
  overflow: hidden;
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  animation: fade-in 0.35s ease-out both;
}

.search__empty {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--slate-400);
}

.search__list {
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.375rem 0;
}

.search__row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  transition: background-color 0.15s;
}

.search__row:hover,
.search__row--active {
  background: rgba(255, 255, 255, 0.05);
}

.search__row--active {
  background: rgba(255, 255, 255, 0.1);
}

.search__flag {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.search__orb {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(255, 255, 255, 0.53) 0%,
    var(--c) 45%,
    color-mix(in srgb, var(--c) 33%, transparent) 100%
  );
  box-shadow: 0 0 16px -2px var(--c);
}

.search__text {
  min-width: 0;
  flex: 1;
}

.search__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #fff;
}

.search__match {
  color: var(--cyan-300);
}

.search__sub {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-400);
}

.search__sep {
  color: var(--slate-600);
}

.search__badge {
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.375rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--slate-300);
}

.search__stats {
  text-align: right;
}

.search__rank {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--slate-200);
}

.search__visits {
  font-size: 11px;
  color: var(--slate-500);
}

.corner {
  position: absolute;
  bottom: 0.75rem;
  z-index: 20;
  pointer-events: none;
}

.corner > * {
  pointer-events: auto;
}

.corner--left {
  left: 0.75rem;
}

.corner--right {
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.corner__minimap {
  display: none;
}

.app--selected .corner {
  display: none;
}

.legend {
  display: flex;
  width: auto;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
}

.legend--open {
  width: 16rem;
}

.legend__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  transition: background-color 0.15s;
}

.legend__toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.legend__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.legend__icon {
  color: var(--cyan-300);
}

.legend__badge {
  margin-left: 0.25rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.2);
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--cyan-200);
}

.legend__chevron {
  color: var(--slate-400);
  transition: transform 0.3s;
}

.legend--open .legend__chevron {
  transform: rotate(180deg);
}

.legend__body {
  animation: fade-in 0.35s ease-out both;
}

.legend__list {
  max-height: 38vh;
  overflow-y: auto;
  padding: 0 0.375rem 0.375rem;
}

.legend__row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.625rem;
  overflow: hidden;
  border-radius: 0.75rem;
  padding: 0.375rem 0.5rem;
  transition:
    background-color 0.15s,
    opacity 0.15s;
}

.legend__row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.legend__row--active,
.legend__row--active:hover {
  background: rgba(255, 255, 255, 0.1);
}

.legend__row--dimmed {
  opacity: 0.45;
}

.legend__flag {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.legend__name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--slate-200);
  transition: color 0.15s;
}

.legend__row:hover .legend__name {
  color: #fff;
}

.legend__count {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--slate-400);
}

.legend__clear {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.375rem;
}

.legend__clear button {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--cyan-200);
  transition: background-color 0.15s;
}

.legend__clear button:hover {
  background: rgba(34, 211, 238, 0.1);
}

.zoom {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
}

.zoom__button {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--slate-200);
  transition:
    background-color 0.15s,
    color 0.15s,
    transform 0.15s;
}

.zoom__button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.zoom__button:active {
  transform: scale(0.9);
}

.zoom__divider {
  height: 1px;
  margin: 0 0.5rem;
  background: rgba(255, 255, 255, 0.1);
}

.minimap {
  overflow: hidden;
  border-radius: 1rem;
}

.minimap__canvas {
  display: block;
  cursor: crosshair;
}

.hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  z-index: 10;
  display: none;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.7s;
}

.hint--hidden {
  opacity: 0;
}

.hint__pill {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-300);
}

.chip-slot {
  position: absolute;
  top: 4.5rem;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

.highlight-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #fff;
  pointer-events: auto;
}

.highlight-chip__hint {
  color: var(--slate-400);
}

.panel-slot {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 30;
  pointer-events: none;
}

.panel {
  display: flex;
  width: 100%;
  max-height: 62dvh;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  pointer-events: auto;
  animation: slide-up 0.4s var(--ease-out) both;
}

.panel__header {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.25rem 1rem;
}

.panel__glow {
  position: absolute;
  top: -4rem;
  right: -2.5rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: var(--c);
  filter: blur(64px);
  opacity: 0.4;
  pointer-events: none;
}

.panel__heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.panel__avatar {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 40%, transparent));
  box-shadow: 0 10px 30px -10px var(--c);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.panel__title {
  min-width: 0;
  flex: 1;
  padding-top: 0.125rem;
}

.panel__title h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
}

.panel__country {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.125rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--slate-300);
  transition: color 0.15s;
}

.panel__country:hover {
  color: #fff;
}

.panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.125rem 0.5rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-200);
}

.chip--real {
  border-color: transparent;
  background: rgba(52, 211, 153, 0.15);
  color: #a7f3d0;
}

.chip--simulated {
  border-color: transparent;
  background: rgba(148, 163, 184, 0.15);
  color: var(--slate-300);
}

.panel__close,
.about__close {
  border-radius: 0.75rem;
  padding: 0.5rem;
  color: var(--slate-400);
  transition:
    background-color 0.15s,
    color 0.15s;
}

.panel__close:hover,
.about__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.panel__close {
  margin: -0.25rem -0.25rem 0 0;
}

.panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.25rem 1.25rem;
}

.panel__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.stat {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem 0.75rem;
}

.stat__label {
  font-size: 11px;
  color: var(--slate-400);
}

.stat__value {
  margin-top: 0.125rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.share {
  margin-top: 1rem;
}

.share__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-400);
}

.share__value {
  font-weight: 600;
  color: var(--slate-200);
}

.share__track {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.share__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c), #fff);
  box-shadow: 0 0 12px var(--c);
  transition: width 0.7s;
}

.panel__note {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--slate-400);
}

.neighbours {
  margin-top: 1.25rem;
}

.neighbours__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.neighbours__header h3 {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.neighbours__header span {
  font-size: 11px;
  color: var(--slate-500);
}

.neighbours ul > li + li {
  margin-top: 0.25rem;
}

.neighbour {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.75rem;
  padding: 0.375rem 0.5rem;
  transition: background-color 0.15s;
}

.neighbour:hover {
  background: rgba(255, 255, 255, 0.05);
}

.neighbour__domain {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--slate-200);
  transition: color 0.15s;
}

.neighbour:hover .neighbour__domain {
  color: #fff;
}

.neighbour__flag {
  font-size: 0.75rem;
  line-height: 1rem;
}

.neighbour__rank {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--slate-500);
}

.neighbour__arrow {
  color: var(--slate-500);
  opacity: 0;
  transition: opacity 0.15s;
}

.neighbour:hover .neighbour__arrow {
  opacity: 1;
}

.panel__footer {
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
}

.panel__center,
.panel__visit {
  flex: 1;
  height: 2.5rem;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.panel__center {
  font-weight: 500;
}

.about {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.about__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 0.35s ease-out both;
}

.about__dialog {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  max-width: 42rem;
  max-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  animation: pop 0.3s var(--ease-out) both;
}

.about__header {
  position: relative;
  padding: 1.5rem 1.5rem 1.25rem;
}

.about__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.about__glow--cyan {
  top: -6rem;
  left: -5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(34, 211, 238, 0.2);
}

.about__glow--violet {
  top: -5rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  background: rgba(139, 92, 246, 0.2);
}

.about__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.about__heading {
  position: relative;
  padding-right: 2.5rem;
}

.about__heading h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.about__heading p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--slate-400);
}

.about__intro {
  position: relative;
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.625;
  color: var(--slate-300);
}

.about__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.5rem 1.5rem;
}

.about__figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.figure {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  text-align: center;
}

.figure__value {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.figure__label {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-400);
}

.about__section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.about__how {
  display: grid;
  gap: 0.75rem;
}

.how {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}

.how__visual {
  display: flex;
  height: 2rem;
  align-items: center;
}

.how__title {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.how__desc {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--slate-400);
}

.how__sizes {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
}

.how__sizes span {
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 12px #67e8f9;
}

.how__colors {
  display: flex;
  gap: 0.375rem;
}

.how__colors span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}

.how__graph {
  color: var(--slate-300);
}

.about__top {
  display: grid;
  gap: 0.375rem;
}

.top-site {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.75rem;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}

.top-site:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
}

.top-site__index {
  width: 1.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  color: var(--slate-500);
}

.top-site__domain {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #fff;
}

.top-site__flag {
  font-size: 0.75rem;
  line-height: 1rem;
}

.top-site__visits {
  font-size: 0.75rem;
  line-height: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--slate-400);
}

.about__note {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--slate-400);
}

.about__shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--slate-300);
}

.shortcut {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.75rem;
}

.shortcut__keys {
  display: flex;
  gap: 0.25rem;
}

.shortcut span {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-300);
}

.about__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.about__original {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--slate-400);
  transition: color 0.15s;
}

.about__original:hover {
  color: #fff;
}

.about__explore {
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .topbar {
    padding: 1rem;
  }

  .topbar__brand {
    display: flex;
  }

  .topbar__search {
    max-width: 36rem;
    margin-right: auto;
    margin-left: auto;
  }

  .topbar__links {
    width: auto;
    padding: 0 1rem;
  }

  .search__kbd {
    display: inline-flex;
  }

  .corner {
    bottom: 1rem;
  }

  .corner--left {
    left: 1rem;
  }

  .corner--right {
    right: 1rem;
  }

  .app--selected .corner {
    display: block;
  }

  .app--selected .corner--right {
    display: flex;
  }

  .hint {
    display: block;
  }

  .chip-slot {
    display: none;
  }

  .panel-slot {
    top: 5rem;
    right: 1rem;
    bottom: auto;
    left: auto;
  }

  .panel {
    width: 360px;
    max-height: calc(100dvh - 7rem);
    animation-name: slide-left;
    animation-duration: 0.45s;
  }

  .about {
    padding: 2rem;
  }

  .about__header {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .about__body {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .about__how {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__top {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__shortcuts {
    grid-template-columns: repeat(4, 1fr);
  }

  .about__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (min-width: 768px) {
  .corner__minimap {
    display: block;
  }
}

@media (min-width: 1024px) {
  .topbar__links-label {
    display: inline;
  }
}
