html {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0d14;
}

body {
  margin: 0;
  color: #edf6ff;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 167, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 78% 12%, rgba(255, 79, 184, 0.12), transparent 28rem),
    #0a0d14;
}

a {
  color: #79ddff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.seo-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.seo-nav,
.seo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(237, 246, 255, 0.62);
  font-size: 0.9rem;
}

.seo-nav {
  margin-bottom: 48px;
}

.seo-nav a,
.seo-footer a {
  font-weight: 800;
}

.seo-content {
  display: grid;
  gap: 22px;
}

.seo-content h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.seo-content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: 0;
}

.seo-content p {
  max-width: 68ch;
  margin: 0;
  color: rgba(237, 246, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.seo-content code {
  padding: 0.1em 0.28em;
  border: 1px solid rgba(121, 221, 255, 0.22);
  border-radius: 5px;
  color: #ffffff;
  background: rgba(121, 221, 255, 0.08);
}

.seo-card {
  padding: 18px;
  border: 1px solid rgba(237, 246, 255, 0.13);
  border-radius: 8px;
  background: rgba(10, 16, 26, 0.64);
}

.seo-muted,
.seo-empty {
  color: rgba(237, 246, 255, 0.58) !important;
}

.ranking-table-wrap {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ranking-table th,
.ranking-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(237, 246, 255, 0.1);
  text-align: left;
  white-space: nowrap;
}

.ranking-table th {
  color: rgba(237, 246, 255, 0.56);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ranking-table td:last-child,
.ranking-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ranking-country {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ranking-flag {
  flex: 0 0 auto;
  width: 32px;
  height: 24px;
  border: 1px solid rgba(237, 246, 255, 0.18);
  border-radius: 3px;
  background: rgba(237, 246, 255, 0.06);
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.seo-footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 246, 255, 0.1);
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 640px) {
  .seo-shell {
    width: min(100% - 20px, 920px);
    padding-top: 18px;
  }

  .seo-nav {
    margin-bottom: 34px;
  }

  .seo-card {
    padding: 14px;
  }
}
