:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: rgba(13, 27, 46, 0.78);
  --panel-solid: #0e1c2f;
  --panel-2: #11233a;
  --line: rgba(156, 181, 212, 0.14);
  --line-strong: rgba(156, 181, 212, 0.24);
  --text: #f7fbff;
  --muted: #8fa4bd;
  --muted-2: #627993;
  --accent: #37e7c4;
  --accent-2: #4aa8ff;
  --accent-soft: rgba(55, 231, 196, 0.12);
  --danger: #ff718b;
  --gold: #f4c961;
  --silver: #bac8d8;
  --bronze: #c78a61;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(45, 133, 255, 0.10), transparent 32rem),
    linear-gradient(180deg, #07111f 0%, #081321 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

button, input, select {
  font: inherit;
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  width: 420px;
  height: 420px;
  background: var(--accent-2);
  right: -170px;
  top: 150px;
}

.ambient-two {
  width: 360px;
  height: 360px;
  background: var(--accent);
  left: -180px;
  top: 620px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), #1fa7d8);
  color: #03201c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 30px rgba(55, 231, 196, 0.2);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.beta-pill {
  margin-left: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(55, 231, 196, 0.35);
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.update-badge, .dataset-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(55, 231, 196, 0.08);
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  padding-top: 76px;
  padding-bottom: 70px;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.hero h1,
.section-heading h2,
.methodology h2,
.about-card h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  max-width: 760px;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), #6db9ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  color: #b4c3d4;
  font-size: 18px;
  max-width: 670px;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #03241f;
  box-shadow: 0 10px 35px rgba(55, 231, 196, 0.15);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-strong);
}

.beta-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 12px;
}

.info-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent);
  border: 1px solid rgba(55, 231, 196, 0.35);
  font-size: 11px;
  font-weight: 900;
}

.hero-panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
    var(--panel);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(55, 231, 196, 0.08);
  filter: blur(55px);
  top: -100px;
  right: -80px;
}

.panel-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 850;
}

.score-orbit {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
}

.score-ring {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) 0 86%, rgba(255,255,255,0.08) 86% 100%);
  box-shadow: inset 0 0 35px rgba(55, 231, 196, 0.08);
}

.score-ring-inner {
  width: 111px;
  height: 111px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: #091728;
  border: 1px solid var(--line);
}

.score-ring-inner span {
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.score-ring-inner small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}

.hero-top-label {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}

.hero-top-name {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.hero-top-handle {
  color: var(--accent);
  font-size: 13px;
  margin-top: 4px;
}

.panel-divider {
  height: 1px;
  background: var(--line);
  margin: 27px 0 23px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.panel-grid > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-value {
  font-weight: 850;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.panel-label {
  color: var(--muted);
  font-size: 10px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 102px;
}

.stat-card {
  border-radius: 17px;
  padding: 18px 19px;
  border: 1px solid var(--line);
  background: rgba(12, 26, 44, 0.54);
  display: flex;
  flex-direction: column;
  min-height: 118px;
}

.stat-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.stat-card strong {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin-top: 7px;
}

.stat-card strong.stat-date {
  font-size: 19px;
  line-height: 1.25;
  margin-top: 11px;
}

.stat-card small {
  color: var(--muted-2);
  font-size: 10px;
  margin-top: auto;
}

.ranking-section {
  scroll-margin-top: 96px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 26px;
}

.section-heading h2,
.methodology h2,
.about-card h2 {
  font-size: clamp(31px, 4vw, 45px);
  line-height: 1.02;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dataset-label {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  border-radius: 999px;
  padding: 8px 11px;
  flex-shrink: 0;
}

.top-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

.podium-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  padding: 17px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.podium-card:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 231, 196, 0.28);
  background: linear-gradient(150deg, rgba(55,231,196,0.055), rgba(255,255,255,0.018));
}

.podium-rank {
  font-size: 18px;
  font-weight: 950;
  width: 24px;
}

.podium-rank.rank-1 { color: var(--gold); }
.podium-rank.rank-2 { color: var(--silver); }
.podium-rank.rank-3 { color: var(--bronze); }

.avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit: cover;
  background: #172a43;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.podium-avatar {
  width: 48px;
  height: 48px;
}

.creator-main {
  min-width: 0;
}

.creator-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.creator-name {
  font-weight: 780;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verified-mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent-2);
  color: white;
  font-size: 9px;
  font-weight: 950;
  flex-shrink: 0;
}

.creator-handle {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.podium-score {
  text-align: right;
}

.podium-score strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.podium-score small {
  color: var(--muted);
  font-size: 9px;
}

.ranking-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(9, 22, 38, 0.72);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.toolbar {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.search-box {
  min-height: 44px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 13px;
  background: rgba(255,255,255,0.025);
}

.search-box:focus-within {
  border-color: rgba(55, 231, 196, 0.42);
}

.search-icon {
  color: var(--muted);
  font-size: 19px;
  transform: rotate(-15deg);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.search-box input::placeholder {
  color: #617993;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px 0 12px;
  color: var(--muted);
  font-size: 10px;
  background: rgba(255,255,255,0.025);
}

.select-wrap select {
  color: var(--text);
  border: 0;
  outline: 0;
  background: #0c1b2e;
  font-size: 12px;
  font-weight: 700;
}

.verified-toggle {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.verified-toggle input {
  display: none;
}

.toggle-ui {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #263a50;
  position: relative;
  transition: background 0.2s ease;
}

.toggle-ui::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #9aaec2;
  transition: transform 0.2s ease, background 0.2s ease;
}

.verified-toggle input:checked + .toggle-ui {
  background: rgba(55, 231, 196, 0.26);
}

.verified-toggle input:checked + .toggle-ui::after {
  transform: translateX(12px);
  background: var(--accent);
}

.category-scroller {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}

.category-scroller::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.18s ease;
}

.category-chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.category-chip.active {
  color: #03241f;
  background: var(--accent);
  border-color: var(--accent);
}

.category-chip span {
  opacity: 0.66;
  margin-left: 4px;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 15px;
  color: var(--muted);
  font-size: 10px;
  border-bottom: 1px solid var(--line);
}

.results-hint {
  color: var(--muted-2);
}

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

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.ranking-table th {
  padding: 11px 15px;
  color: var(--muted-2);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 850;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
}

.ranking-table th.numeric,
.ranking-table td.numeric {
  text-align: right;
}

.ranking-table td {
  padding: 11px 15px;
  border-bottom: 1px solid rgba(156, 181, 212, 0.075);
  font-size: 12px;
}

.ranking-table tbody tr {
  cursor: pointer;
  transition: background 0.15s ease;
}

.ranking-table tbody tr:hover {
  background: rgba(55, 231, 196, 0.032);
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.rank-col {
  width: 54px;
}

.rank-number {
  color: var(--muted);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.table-creator {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  padding: 0 8px;
  color: #a9bacd;
  font-size: 9px;
  white-space: nowrap;
}

.numeric-value {
  font-variant-numeric: tabular-nums;
  color: #d7e2ee;
  white-space: nowrap;
}

.muted-value {
  color: var(--muted-2);
}

.engagement-good {
  color: var(--accent);
}

.score-cell {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 84px;
}

.score-bar {
  width: 39px;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
}

.score-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.score-number {
  min-width: 28px;
  color: var(--text);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.empty-state {
  padding: 55px 20px !important;
  text-align: center !important;
  color: var(--muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.load-more-wrap[hidden] {
  display: none;
}

.methodology {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 65px;
  align-items: start;
  padding-top: 110px;
  padding-bottom: 110px;
  scroll-margin-top: 84px;
}

.methodology-copy {
  position: sticky;
  top: 120px;
}

.methodology-copy > p {
  color: var(--muted);
  max-width: 480px;
  margin: 20px 0 0;
  font-size: 14px;
}

.methodology-note {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  color: #b4c4d5 !important;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.method-card {
  min-height: 170px;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 20px;
  background: rgba(12, 25, 43, 0.58);
}

.method-card-muted {
  opacity: 0.62;
  border-style: dashed;
}

.method-icon {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.method-card h3 {
  font-size: 17px;
  margin: 26px 0 7px;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.about-section {
  padding-bottom: 110px;
  scroll-margin-top: 90px;
}

.about-card {
  min-height: 220px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(55,231,196,0.055), transparent 42%),
    rgba(12, 25, 43, 0.72);
  padding: 34px;
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 45px;
  align-items: center;
}

.about-card p {
  color: var(--muted);
  margin: 0;
  max-width: 580px;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(1, 7, 14, 0.64);
  backdrop-filter: blur(3px);
}

.creator-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(470px, 100%);
  z-index: 80;
  background: #0a1728;
  border-left: 1px solid var(--line-strong);
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.4);
  transform: translateX(102%);
  transition: transform 0.26s ease;
  overflow-y: auto;
}

.creator-drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  right: 17px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.drawer-content {
  padding: 30px;
}

.drawer-profile {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-right: 44px;
}

.drawer-avatar {
  width: 68px;
  height: 68px;
}

.drawer-profile h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.drawer-handle {
  color: var(--accent);
  font-size: 12px;
  margin-top: 5px;
}

.drawer-rankline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.drawer-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 9px;
  color: var(--muted);
  background: rgba(255,255,255,0.025);
  font-size: 10px;
}

.drawer-pill.accent {
  color: #03241f;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 850;
}

.drawer-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 25px;
}

.drawer-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  padding: 13px;
}

.drawer-stat span {
  color: var(--muted);
  font-size: 9px;
}

.drawer-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
}

.component-section {
  margin-top: 28px;
}

.component-section h4 {
  font-size: 13px;
  margin: 0 0 15px;
}

.component-row {
  display: grid;
  grid-template-columns: 88px 1fr 33px;
  gap: 9px;
  align-items: center;
  margin-bottom: 11px;
  font-size: 10px;
}

.component-row > span:first-child {
  color: var(--muted);
}

.component-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.065);
  overflow: hidden;
}

.component-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.component-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.drawer-disclaimer {
  color: var(--muted-2);
  font-size: 10px;
  margin: 21px 0;
  line-height: 1.6;
}

.tiktok-link {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 100;
  border: 1px solid var(--line);
  background: #10243a;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 11px;
}

.skeleton-row td {
  height: 65px;
}

.skeleton {
  display: block;
  height: 12px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.085), rgba(255,255,255,0.04));
  background-size: 220% 100%;
  animation: skeleton 1.3s infinite linear;
}

@keyframes skeleton {
  to { background-position: -220% 0; }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .update-badge {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 42px;
    padding-top: 60px;
  }

  .hero-panel {
    max-width: 650px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 82px;
  }

  .top-three {
    grid-template-columns: 1fr;
  }

  .methodology {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .methodology-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 66px;
  }

  .beta-pill {
    display: none;
  }

  .update-badge {
    font-size: 10px;
  }

  .hero {
    padding-top: 43px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    padding: 21px;
  }

  .score-orbit {
    gap: 17px;
  }

  .score-ring {
    width: 112px;
    height: 112px;
  }

  .score-ring-inner {
    width: 91px;
    height: 91px;
  }

  .score-ring-inner span {
    font-size: 31px;
  }

  .hero-top-name {
    font-size: 19px;
  }

  .panel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    min-height: 110px;
    padding: 15px;
  }

  .stat-card strong {
    font-size: 23px;
  }

  .section-heading {
    display: block;
  }

  .dataset-label {
    margin-top: 16px;
    width: fit-content;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .select-wrap {
    justify-content: space-between;
  }

  .verified-toggle {
    justify-content: center;
  }

  .results-hint {
    display: none;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 22px 0;
  }

  .drawer-content {
    padding: 24px 19px;
  }
}

/* === InfluRank DEV City + pagination v2 === */
.toolbar {
  flex-wrap: wrap;
}

.search-box {
  min-width: 280px;
}

.city-select-wrap select {
  max-width: 170px;
}

.creator-city {
  margin-top: 3px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.ranking-table {
  min-width: 1080px;
}

.city-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 150px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(74, 168, 255, 0.24);
  background: rgba(74, 168, 255, 0.07);
  color: #b9d9ff;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.geo-pill {
  border-color: rgba(74, 168, 255, 0.28);
  color: #b9d9ff;
  background: rgba(74, 168, 255, 0.07);
}

.geo-section {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(74, 168, 255, 0.035);
}

.geo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.geo-section-head h4 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.geo-confidence {
  color: #9fc9f7;
  font-size: 10px;
  font-weight: 700;
}

.geo-primary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.geo-primary-grid > div {
  min-height: 62px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}

.geo-primary-grid span {
  display: block;
  color: var(--muted-2);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.geo-primary-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 14px;
}

.geo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.geo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(74, 168, 255, 0.22);
  color: #b9d9ff;
  background: rgba(74, 168, 255, 0.055);
  font-size: 10px;
  font-weight: 700;
}

.geo-chip small {
  color: var(--muted);
  font-size: 9px;
}

.geo-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.pagination {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
}

.pagination-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
}

.page-size-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-size-select select {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  padding: 0 8px;
  color: var(--text);
  background: #0c1b2e;
  font-size: 11px;
  font-weight: 750;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-height: 34px;
}

.page-button {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,0.025);
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.page-button:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--line-strong);
}

.page-button.active {
  color: #03241f;
  background: var(--accent);
  border-color: var(--accent);
}

.page-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.page-arrow {
  font-size: 19px;
  line-height: 1;
}

.page-ellipsis {
  min-width: 18px;
  color: var(--muted-2);
  text-align: center;
}

@media (max-width: 720px) {
  .toolbar-right {
    grid-template-columns: 1fr 1fr;
  }

  .city-select-wrap {
    grid-column: 1 / -1;
  }

  .city-select-wrap select {
    max-width: 220px;
  }

  .pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-meta,
  .pagination-buttons {
    justify-content: space-between;
  }

  .pagination-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .geo-primary-grid {
    grid-template-columns: 1fr;
  }
}

/* KtoWybija full-wordmark logo swap */
.brand-with-full-logo {
  gap: 12px;
}

.brand-logo-full {
  display: block;
  width: 250px;
  height: auto;
  max-width: 48vw;
  filter: drop-shadow(0 10px 28px rgba(77, 130, 255, 0.18));
}

.footer-logo-full {
  width: 220px;
  max-width: 60vw;
  filter: none;
}

.footer-brand-with-full-logo {
  gap: 0;
}

@media (max-width: 980px) {
  .brand-logo-full {
    width: 212px;
  }

  .nav {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .brand-logo-full {
    width: 172px;
    max-width: 54vw;
  }

  .footer-logo-full {
    width: 168px;
  }

  .beta-pill {
    margin-left: 0;
  }
}

/* KtoWybija — prosty moduł B2B */
.brands-section { padding-top: 34px; padding-bottom: 34px; }
.brands-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  padding: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(55, 231, 196, 0.10), transparent 28rem),
    linear-gradient(145deg, rgba(16, 34, 57, 0.96), rgba(9, 23, 39, 0.96));
  box-shadow: var(--shadow);
}
.brands-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.brands-copy > p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.brands-points { display: grid; gap: 12px; margin: 28px 0; }
.brands-points div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 16, 29, 0.34);
}
.brands-points span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 900;
}
.brands-points strong { font-size: 14px; }
.brands-beta-note {
  padding-top: 4px;
  color: var(--muted-2) !important;
  font-size: 13px !important;
}
.brands-form {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.72);
}
.form-heading { margin-bottom: 22px; }
.form-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.form-heading h3 { margin: 0 0 7px; font-size: 24px; letter-spacing: -0.03em; }
.form-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.form-field { display: grid; gap: 7px; margin-top: 15px; }
.form-field > span { color: #c9d6e5; font-size: 12px; font-weight: 750; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  background: #0a1829;
  color: var(--text);
  padding: 12px 13px;
}
.form-field textarea { min-height: 102px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #5f7690; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(55, 231, 196, 0.58);
  box-shadow: 0 0 0 3px rgba(55, 231, 196, 0.08);
}
.brands-submit { width: 100%; margin-top: 18px; border: 0; cursor: pointer; }
.form-note {
  display: block;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 900px) {
  .brands-card { grid-template-columns: 1fr; gap: 34px; padding: 34px; }
}
@media (max-width: 640px) {
  .brands-section { padding-top: 18px; }
  .brands-card { padding: 24px 18px; border-radius: 22px; }
  .brands-form { padding: 20px 16px; }
}
