:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --paper: #ffffff;
  --ink: #0b0b0c;
  --muted: #66645e;
  --line: #dedbd2;
  --line-strong: #bdb8aa;
  --soft: #edeae3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 245, 241, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  border-radius: 9px;
  object-fit: cover;
}

.brand span span {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 650;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, var(--ink) 47% 53%, transparent 53%),
    linear-gradient(var(--ink), var(--ink));
  background-size: 100% 100%, 14px 2px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.main-nav a,
.nav-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
  white-space: nowrap;
}

.main-nav a:hover,
.nav-button:hover {
  background: var(--ink);
  color: #fff;
}

.mobile-menu-button {
  display: none;
}

.submit-button,
.primary-action,
.secondary-action,
.danger-button,
.ghost-button,
.icon-button {
  border-radius: 999px;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.submit-button,
.primary-action {
  background: var(--ink);
  color: #fff;
}

.secondary-action,
.ghost-button {
  background: transparent;
  color: var(--ink);
}

.danger-button {
  border-color: #6f1b1b;
  background: #6f1b1b;
  color: #fff;
}

.danger-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.icon-button {
  width: 40px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
}

.submit-button:hover,
.primary-action:hover,
.secondary-action:hover,
.danger-button:hover,
.ghost-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

#app,
.admin-shell {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 18px;
  align-items: stretch;
  padding: 38px 0 20px;
}

.hero-copy,
.hero-panel,
.signal-card,
.toolbar,
.filters,
.vpn-card,
.guides article,
.editor-panel,
.table-panel,
.submit-card,
.admin-head {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -22%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 18px, rgba(0, 0, 0, 0.04) 19px 20px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(36px, 5.4vw, 70px);
  line-height: 1.04;
  font-weight: 850;
}

.subtitle {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 24px);
}

.wheat {
  position: absolute;
  display: block;
  width: 30px;
  height: 54px;
  margin: 0;
  background:
    radial-gradient(ellipse at 65% 12%, var(--ink) 0 5px, transparent 6px),
    radial-gradient(ellipse at 35% 28%, var(--ink) 0 5px, transparent 6px),
    radial-gradient(ellipse at 65% 44%, var(--ink) 0 5px, transparent 6px),
    linear-gradient(68deg, transparent 48%, var(--ink) 49% 52%, transparent 53%);
}

.wheat-left {
  left: -42px;
  top: 12px;
}

.wheat-right {
  right: 0;
  bottom: -54px;
  transform: scaleX(-1);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-panel {
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  padding: 18px;
}

.hero-panel > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 22px;
}

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

.hero-panel strong {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0 34px;
}

.signal-card {
  border-radius: var(--radius);
  min-height: 180px;
  padding: 20px;
}

.signal-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.signal-card span {
  display: block;
  margin-bottom: 18px;
  font-weight: 780;
}

.signal-card p {
  color: var(--muted);
  line-height: 1.65;
}

.toolbar {
  border-radius: var(--radius);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: end;
  padding: 22px;
}

.toolbar h2,
.section-heading :is(h2, h1.seo-guides-title),
.admin-head h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px 8px 16px;
}

.search-box span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.filters {
  border-radius: var(--radius);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
  padding: 12px;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  min-height: 38px;
  padding: 0 14px;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.vpn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 42px;
}

.vpn-card {
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 18px;
}

.vpn-card.top-ranked {
  grid-column: span 2;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.rank {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.vpn-card h3 {
  margin: 6px 0 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.score-ring {
  width: 82px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: conic-gradient(var(--ink) var(--score-deg), var(--soft) 0);
  position: relative;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--paper);
}

.score-ring span {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 820;
}

.meta-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.meta-line div,
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
  min-width: 0;
}

.meta-line span,
.metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}

.meta-line strong,
.metric strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.metric-bar {
  height: 4px;
  margin-top: 8px;
  background: var(--soft);
}

.metric-bar i {
  display: block;
  height: 100%;
  background: var(--ink);
}

.comment {
  color: var(--muted);
  flex: 1;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.card-actions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.card-actions a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.guides {
  padding: 0 0 64px;
}

.section-heading {
  margin-bottom: 12px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.guides article {
  border-radius: var(--radius);
  padding: 22px;
}

.guides article span {
  display: block;
  color: var(--muted);
  margin-bottom: 42px;
  font-weight: 760;
}

.guides h3 {
  font-size: 22px;
}

.guides p {
  color: var(--muted);
  line-height: 1.65;
}

.submit-dialog {
  width: min(720px, calc(100% - 32px));
  border: 0;
  padding: 0;
  background: transparent;
}

.submit-dialog::backdrop {
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
}

.submit-card {
  border-radius: var(--radius);
  padding: 22px;
}

.dialog-head,
.dialog-actions,
.editor-title,
.editor-actions,
.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  color: var(--muted);
  font-size: 13px;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 12px;
}

input:focus,
textarea:focus {
  border-color: var(--ink);
}

.wide {
  grid-column: 1 / -1;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

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

.choice-field,
.rating-field {
  color: var(--muted);
  display: grid;
  gap: 0;
  font-size: 13px;
}

.choice-field legend,
.rating-field legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-group label {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 850;
}

.choice-group input {
  display: inline-block;
  width: auto;
  margin: 0;
  accent-color: var(--ink);
}

.star-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}

.star-rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating-input label {
  color: #d5d5d5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #f3b441;
}

.star-rating-input label:hover {
  transform: translateY(-1px);
}

#submit-status {
  color: var(--muted);
}

.admin-shell {
  padding: 32px 0 64px;
}

.admin-head {
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 12px;
}

.admin-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.editor-panel,
.table-panel {
  border-radius: var(--radius);
  padding: 18px;
}

.admin-search {
  width: 100%;
  margin-bottom: 12px;
}

.admin-table-wrap {
  max-height: 720px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table tr {
  cursor: pointer;
}

.admin-table tr:hover,
.admin-table tr.selected {
  background: var(--soft);
}

@media (max-width: 1100px) {
  .signals,
  .vpn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px;
  }

  .signals,
  .vpn-grid,
  .guide-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .signal-card.large,
  .vpn-card.top-ranked {
    grid-column: auto;
  }

  .toolbar,
  .admin-head,
  .dialog-head,
  .dialog-actions,
  .editor-title,
  .editor-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .meta-line,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wheat {
    width: 26px;
    height: 44px;
    margin: 0 2px;
  }
}

/* JBANG refined product pass */
:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #050505;
  --accent: #43946c;
  --muted: #6d6d6d;
  --line: #e5e5e5;
  --line-strong: #d0d0d0;
  --soft: #f6f8f6;
  --shadow: none;
}

body {
  background: var(--bg);
}

.site-header {
  padding: 22px clamp(28px, 4.5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  font-size: 24px;
  gap: 8px;
}

.brand span span {
  color: var(--accent);
  font-weight: 850;
}

.main-nav {
  border-color: var(--line);
  background: #fff;
}

.main-nav a:hover,
.nav-button:hover,
.filter-chip.active,
.filter-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.submit-button,
.primary-action {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.secondary-action,
.ghost-button {
  background: #fff;
}

#app,
.admin-shell {
  width: min(1480px, calc(100% - 96px));
}

.hero {
  min-height: 430px;
  display: block;
  padding: 44px 0 18px;
}

.hero-copy {
  align-items: center;
  min-height: 390px;
  padding: 54px clamp(24px, 7vw, 120px);
  text-align: center;
}

.hero-copy::after {
  display: none;
}

h1 {
  max-width: 980px;
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 1.05;
}

.subtitle {
  margin-left: auto;
  margin-right: auto;
  color: var(--accent);
  font-weight: 650;
}

.hero-actions {
  justify-content: center;
}

.wheat,
.hero-panel {
  display: none;
}

.hero-copy,
.signal-card,
.toolbar,
.filters,
.vpn-card,
.guides article,
.editor-panel,
.table-panel,
.submit-card,
.admin-head,
.login-panel {
  border-color: var(--line);
  background: #fff;
}

.signals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 0 28px;
}

.signal-card,
.signal-card.large {
  grid-column: auto;
  grid-row: auto;
  min-height: 124px;
  padding: 16px;
}

.signal-card span {
  margin-bottom: 10px;
  font-size: 14px;
}

.signal-card p {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.toolbar {
  align-items: center;
  margin-top: 8px;
}

.vpn-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.vpn-card {
  height: 426px;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
}

.vpn-card.top-ranked {
  grid-column: auto;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 8px;
}

.rank-badge,
.recommend-badge {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  background: var(--ink);
  color: #fff;
}

.recommend-badge {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.card-head {
  gap: 12px;
  min-height: 58px;
  margin-bottom: 12px;
}

.vpn-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 22px;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.score-ring {
  display: none;
}

.score-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  height: 58px;
  background: var(--soft);
}

.score-box span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.score-box strong {
  font-size: 24px;
  line-height: 1;
}

.meta-line {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.meta-line div,
.metric {
  padding: 8px;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.metric-bar i {
  background: var(--accent);
}

.review-block {
  min-height: 82px;
  margin-top: auto;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.review-title {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.review-meta,
.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.comment-meta {
  margin-bottom: 0;
}

.comment {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.detail-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.card-actions a {
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  font-weight: 800;
}

.card-actions .official-link {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.card-actions .channel-link {
  border-color: var(--accent);
  color: var(--accent);
}

.card-actions a:hover,
.card-actions .channel-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

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

.guides article span {
  color: var(--accent);
  margin-bottom: 28px;
}

.detail-body {
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-wrap;
}

.login-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 520px;
  margin: 80px auto;
  padding: 26px;
}

.login-panel h1 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
}

.login-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.article-admin {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 1280px) {
  .vpn-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  #app,
  .admin-shell {
    width: min(100% - 64px, 1080px);
  }

  .signals,
  .vpn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-admin {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #app,
  .admin-shell {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 18px 18px;
  }

  .brand {
    font-size: 21px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    min-height: 340px;
    padding: 28px;
  }

  h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .signals,
  .vpn-grid,
  .guide-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .signal-card,
  .signal-card.large {
    min-height: 96px;
    padding: 14px;
  }

  .signal-card p {
    -webkit-line-clamp: 2;
  }

  .vpn-card {
    height: 426px;
  }

  .card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Review queue + final visual tuning */
body {
  background:
    linear-gradient(90deg, rgba(67, 148, 108, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(67, 148, 108, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.012) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.012) 1px, transparent 1px),
    radial-gradient(circle at 20% 12%, rgba(67, 148, 108, 0.035), transparent 28%),
    #fff;
  background-size:
    96px 96px,
    96px 96px,
    24px 24px,
    24px 24px,
    auto;
}

.site-header {
  grid-template-columns: 1fr auto auto;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.main-nav {
  gap: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.main-nav a {
  border-radius: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  padding: 0;
}

.main-nav a:hover {
  background: transparent;
  color: var(--accent);
}

.submit-button {
  min-height: 46px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 850;
}

.hero-copy {
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 360px;
}

.hero-copy .eyebrow {
  color: var(--accent);
}

.subtitle {
  color: var(--ink);
}

.rank-badge,
.recommend-badge,
.score-box {
  display: none;
}

.card-head {
  align-items: flex-start;
  min-height: 78px;
}

.title-block {
  min-width: 0;
}

.rank-score {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 4px;
  color: var(--accent);
  font-weight: 950;
  line-height: 1.1;
}

.rank-score span {
  color: var(--accent);
  font-size: 20px;
}

.rank-score strong {
  display: grid;
  justify-items: end;
  color: var(--accent);
  white-space: nowrap;
}

.rank-score em {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.rank-score b {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 0.9;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  min-height: 24px;
}

.tag-row span {
  border: 1px solid #ffc400;
  border-radius: 999px;
  background: #fff5d6;
  color: #5f2a00;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 0 11px 0 9px;
  font-size: 12px;
  font-weight: 900;
}

.tag-row span::before {
  content: "";
  border: 4px solid #ffe2a3;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  background: #ffb800;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.review-block {
  height: 104px;
  min-height: 104px;
  margin-top: 0;
  padding: 4px 0 0;
}

.review-head {
  min-height: 22px;
}

.comment {
  min-height: 58px;
}

.card-actions {
  margin-top: auto;
}

.card-actions a,
.card-actions span {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 8px;
  font-size: 13px;
}

.card-actions .social-link {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
}

.card-actions .social-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.card-actions .disabled-link,
.card-actions .disabled-link:hover {
  border-color: #dedede;
  background: #f3f3f3;
  color: #aaa;
  cursor: not-allowed;
}

.search-box {
  min-height: 48px;
}

.search-box span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  line-height: 30px;
}

.search-box input {
  height: 30px;
  margin-top: 0;
  padding: 0;
  line-height: 30px;
}

.meta-line span,
.meta-line strong {
  white-space: nowrap;
}

.meta-line strong {
  overflow-wrap: normal;
  font-size: 12px;
}

.guide-body {
  color: var(--muted);
  line-height: 1.68;
}

.plain-guide-body {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.guide-body p,
.guide-body ul,
.guide-body ol,
.guide-body blockquote,
.guide-body pre {
  margin: 0 0 12px;
}

.guide-body a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-body code,
.guide-body pre {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.guide-body code {
  padding: 1px 5px;
}

.guide-body pre {
  overflow: auto;
  padding: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 44px 0 56px;
  text-align: center;
}

.footer-brand {
  justify-content: center;
  font-size: 24px;
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
}

.site-footer small {
  color: var(--muted);
}

.footer-channel-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.footer-channel-link:hover {
  color: var(--accent);
}

.pending-admin {
  margin-top: 12px;
}

.ranking-section {
  padding: 0 0 28px;
}

.inline-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.inline-heading span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.compact-grid {
  padding-bottom: 0;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0 36px;
}

.full-ranking-shell {
  scroll-margin-top: 92px;
}

.signal-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.signal-card .signal-title span {
  margin-bottom: 0;
}

.signal-title b {
  border: 1px solid rgba(67, 148, 108, 0.28);
  border-radius: 999px;
  background: rgba(67, 148, 108, 0.08);
  color: var(--accent);
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.share-row {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
}

.share-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.share-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.share-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.page-home .ranking-page,
body.page-ranking .home-page,
body.page-ranking .public-guides,
body.page-guides .home-page,
body.page-guides .ranking-page {
  display: none !important;
}

body.page-ranking .full-ranking-shell,
body.page-guides .public-guides {
  padding-top: 64px;
}

.stable-more {
  padding-bottom: 0;
}

.read-more-link {
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 4px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

.read-more-link:hover {
  background: var(--ink);
  color: #fff;
}

.pending-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.pending-head h2 {
  margin: 0;
}

#pending-count {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

.admin-table small {
  color: var(--muted);
  font-size: 11px;
}

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.mini-button.approve {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.mini-button.reject {
  border-color: #6f1b1b;
  color: #6f1b1b;
}

.submission-duplicate-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #f0c36d;
  background: #fff8e5;
  color: #7a4b00;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.duplicate-submission-row {
  background: linear-gradient(90deg, rgba(255, 248, 229, 0.7), rgba(255, 255, 255, 0));
}

.submission-compare-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: min(780px, calc(100vh - 32px));
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.submission-compare-dialog::backdrop {
  background: rgba(0, 0, 0, 0.32);
}

.submission-compare-panel {
  display: flex;
  flex-direction: column;
  max-height: min(780px, calc(100vh - 32px));
}

.submission-compare-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.submission-compare-head h3 {
  margin: 2px 0 0;
  font-size: 24px;
}

.submission-compare-note {
  margin: 0;
  padding: 14px 24px;
  color: var(--muted);
  line-height: 1.7;
  background: #fafaf8;
  border-bottom: 1px solid var(--line);
}

.submission-compare-table-wrap {
  overflow: auto;
  padding: 0 24px;
}

.submission-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

.submission-compare-table th,
.submission-compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

.submission-compare-table thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
}

.submission-compare-table tbody th {
  width: 150px;
  color: #151515;
}

.compare-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #151515;
  white-space: nowrap;
}

.compare-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.submission-compare-table tr.can-fill td:nth-child(3) {
  background: #f0fdf4;
}

.submission-compare-table tr.different td:nth-child(3) {
  background: #fff8e5;
}

.submission-compare-table tr.same td:nth-child(3) {
  color: var(--muted);
}

.submission-select-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 24px 0;
}

.submission-compare-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
}

/* Latest layout and routing polish */
:root {
  --radius: 12px;
}

.hero-actions .primary-action,
.hero-actions .secondary-action,
.page-home .load-more-wrap .secondary-action,
.page-home .load-more-wrap .primary-action {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 900;
}

.page-home .card-actions a,
.page-home .card-actions span {
  min-height: 38px;
  font-size: 14px;
}

.load-more-wrap {
  padding: 18px 0 40px;
}

.guides .load-more-wrap {
  padding-top: 18px;
}

.vpn-card {
  border-radius: 14px;
  height: 446px;
}

.guides article,
.toolbar,
.filters,
.signal-card,
.editor-panel,
.table-panel,
.submit-card,
.login-panel,
.admin-head,
.article-detail-card {
  border-radius: 14px;
}

.vpn-card h3 {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: clamp(25px, 2.4vw, 30px);
  line-height: 1.12;
}

.rank-score.no-score,
.rank-score.no-score span,
.rank-score.no-score strong,
.rank-score.no-score em,
.rank-score.no-score b {
  color: #a4a4a4;
}

.card-actions .official-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.share-row {
  align-items: center;
}

.share-row span,
.share-row a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 14px;
}

.compact-meta small,
.article-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

body.page-home .ranking-page,
body.page-home .article-page,
body.page-ranking .home-page,
body.page-ranking .public-guides,
body.page-ranking .article-page,
body.page-guides .home-page,
body.page-guides .ranking-page,
body.page-guides .article-page,
body.page-article .home-page,
body.page-article .ranking-page,
body.page-article .public-guides {
  display: none !important;
}

body.page-article .article-page {
  display: block;
  padding: 64px 0;
}

.article-detail-card {
  border: 1px solid var(--line);
  background: #fff;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
}

.article-detail-card h1 {
  font-size: clamp(34px, 4.8vw, 60px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.article-body {
  font-size: 16px;
}

.feature-field {
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 14px;
}

.feature-field legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  padding: 0 6px;
}

.feature-field label {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 800;
}

.feature-field input {
  width: auto;
  margin: 0;
}

@media (max-width: 760px) {
  .main-nav {
    justify-content: center;
  }

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

  .card-head {
    min-height: 88px;
  }

  .rank-score span {
    font-size: 17px;
  }

  .rank-score strong {
    font-size: 13px;
  }

  .pending-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .vpn-card {
    height: auto;
    min-height: 446px;
    overflow: visible;
  }

  .card-head {
    min-height: auto;
  }

  .rank-score b {
    font-size: 42px;
  }

  .meta-line,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .share-row {
    gap: 7px;
  }
}

/* 2026-05-17 ranking logic and mobile polish */
h1 {
  font-size: clamp(46px, 6vw, 88px);
}

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

.recommended-card .rank-score:not(.no-score),
.recommended-card .rank-score:not(.no-score) span,
.recommended-card .rank-score:not(.no-score) strong,
.recommended-card .rank-score:not(.no-score) em,
.recommended-card .rank-score:not(.no-score) b {
  color: var(--accent);
}

.rank-score.no-score,
.rank-score.no-score span,
.rank-score.no-score strong,
.rank-score.no-score em,
.rank-score.no-score b {
  color: #a4a4a4;
}

.tag-row .tag-recommend {
  border-color: #ffc400;
  background: linear-gradient(180deg, #fff8dc, #ffe7a8);
  color: #5f2a00;
}

.tag-row .tag-stable {
  border-color: #7bcdf5;
  background: linear-gradient(180deg, #e9f8ff, #cdefff);
  color: #075985;
}

.tag-row .tag-stable::before {
  border-color: #bfe9ff;
  background: #1ba6e8;
}

.tag-row .tag-custom {
  border-color: #d9c7ff;
  background: linear-gradient(180deg, #fbf7ff, #eee2ff);
  color: #5b21b6;
}

.tag-row .tag-custom::before {
  border-color: #eadcff;
  background: #9b6dff;
}

.guide-grid article > span:first-child {
  border: 1px solid rgba(67, 148, 108, 0.22);
  border-radius: 999px;
  background: rgba(67, 148, 108, 0.08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  margin-bottom: 24px;
  padding: 0 12px;
}

.guides article .share-row span {
  margin-bottom: 0;
}

.drag-handle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  cursor: grab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  font-weight: 900;
}

.admin-table tr[draggable="true"] {
  cursor: grab;
}

.admin-table tr.dragging {
  opacity: 0.45;
}

.admin-table tr.drag-over {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

@media (max-width: 760px) {
  #app,
  .admin-shell {
    width: calc(100% - 24px);
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 16px;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .main-nav {
    flex: 1 1 auto;
    grid-column: auto;
    justify-content: center;
    gap: 14px;
    order: 2;
    overflow-x: visible;
  }

  .main-nav a {
    font-size: 14px;
    line-height: 34px;
  }

  .submit-button {
    min-height: 34px;
    order: 2;
    padding: 0 14px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

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

  .signal-card,
  .signal-card.large {
    min-height: 118px;
  }

  .vpn-grid {
    width: 100%;
    gap: 12px;
  }

  .vpn-card {
    width: 100%;
  }
}

/* 2026-05-17 production polish */
#monitor-summary {
  color: var(--ink);
  font-size: clamp(17px, 1.45vw, 25px);
  font-weight: 950;
  letter-spacing: 0;
}

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

.signal-card.large {
  grid-column: auto;
  grid-row: auto;
}

.recommended-card .rank-score:not(.no-score),
.recommended-card .rank-score:not(.no-score) span,
.recommended-card .rank-score:not(.no-score) strong,
.recommended-card .rank-score:not(.no-score) em,
.recommended-card .rank-score:not(.no-score) b {
  color: var(--accent);
}

.share-row {
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.share-row span,
.share-row a {
  flex: 0 0 auto;
  margin-bottom: 0;
  line-height: 1;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  #app,
  .admin-shell {
    width: min(100% - 20px, 100%);
    max-width: calc(100vw - 20px);
  }

  .site-header {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 10px;
  }

  .brand {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    font-size: 22px;
  }

  .main-nav {
    display: contents;
  }

  .main-nav a,
  .submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 2px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .main-nav a {
    color: var(--ink);
  }

  .main-nav a:hover {
    background: transparent;
    color: var(--accent);
  }

  .submit-button {
    padding: 0 8px;
  }

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

  .full-ranking-shell,
  .ranking-section,
  .guides,
  .vpn-grid {
    max-width: 100%;
    overflow-x: hidden;
  }

  .vpn-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .vpn-card {
    width: min(100%, 430px);
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .card-head,
  .title-block,
  .meta-line div,
  .metric {
    min-width: 0;
  }

  .rank-score {
    min-width: 86px;
  }

  .share-row {
    gap: 5px;
  }

  .share-row a {
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }
}

/* 2026-05-17 share, keyword config, and logo polish */
.hero-copy::before {
  content: "";
  position: absolute;
  left: -18%;
  top: -40%;
  z-index: 0;
  width: min(820px, 72vw);
  height: min(560px, 54vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(67, 148, 108, 0.16) 0%, rgba(67, 148, 108, 0.08) 36%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

#monitor-summary {
  color: var(--ink);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 500;
}

.monitor-number {
  color: var(--accent);
  font-weight: 650;
}

.rank-score em,
.recommended-card .rank-score:not(.no-score) em,
.stable-card .rank-score:not(.no-score) em {
  color: var(--ink);
}

.tag-row span::before,
.tag-row .tag-stable::before,
.tag-row .tag-custom::before {
  border-width: 3px;
  border-style: solid;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.share-row {
  border-top: 0;
  padding-top: 0;
}

.share-row .share-icon {
  border-color: var(--line);
  border-radius: 50%;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
}

.share-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-icon:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-admin {
  margin-top: 12px;
}

#filter-config-status {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.keyword-field textarea {
  min-height: 92px;
}

@media (max-width: 760px) {
  .main-nav a,
  .submit-button {
    font-size: 16px;
  }

  .brand {
    font-size: 21px;
  }

  .share-row .share-icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }
}

/* 2026-05-17 final visual alignment */
body.page-home {
  position: relative;
}

body.page-home::before {
  content: "";
  position: fixed;
  left: -220px;
  top: 58px;
  z-index: 0;
  width: min(900px, 86vw);
  height: min(620px, 70vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(67, 148, 108, 0.18) 0%, rgba(67, 148, 108, 0.095) 36%, rgba(67, 148, 108, 0.035) 58%, transparent 76%);
  filter: blur(18px);
  pointer-events: none;
}

.site-header,
#app,
.admin-shell {
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  display: none;
}

#monitor-summary .monitor-number,
.hero-copy #monitor-summary .monitor-number {
  color: var(--accent) !important;
  font-weight: 650;
}

.admin-shell .dialog-actions,
.admin-shell .editor-actions,
.admin-head-actions {
  gap: 12px;
  margin-top: 18px;
  padding-top: 8px;
}

.login-panel .dialog-actions {
  margin-top: 22px;
}

.guide-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-home .guide-grid article .guide-body {
  display: -webkit-box;
  min-height: 0;
  max-height: calc(1.68em * 2);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-home .guide-grid article h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.guide-grid article .share-row,
.article-detail-card .share-row {
  justify-content: flex-start;
  align-self: stretch;
  margin-left: 0;
  margin-right: 0;
}

.guide-grid article .share-row {
  margin-top: 14px;
}

@media (max-width: 760px) {
  body.page-home::before {
    left: -140px;
    top: 72px;
    width: 430px;
    height: 360px;
    background: radial-gradient(circle, rgba(67, 148, 108, 0.22) 0%, rgba(67, 148, 108, 0.1) 44%, transparent 78%);
    filter: blur(14px);
  }

  #monitor-summary .monitor-number,
  .hero-copy #monitor-summary .monitor-number {
    color: var(--accent) !important;
  }
}

/* 2026-05-17 editor and SEO settings */
.brand {
  gap: 8px;
}

.brand-main {
  color: var(--ink);
}

.brand-suffix {
  color: var(--accent);
  font-weight: 850;
}

.footer-brand .brand-logo {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 8px;
}

.site-settings-admin {
  margin: 12px 0;
}

#site-settings-status {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.rich-editor-field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.rich-editor {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.rich-toolbar {
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  background: var(--soft);
}

.rich-toolbar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
}

.rich-toolbar button:hover {
  border-color: var(--ink);
}

.rich-surface,
.rich-source {
  width: 100%;
  min-height: 260px;
  border: 0;
  outline: 0;
  padding: 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.rich-surface:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
}

.rich-surface h2,
.rich-surface h3,
.rich-surface h4 {
  margin: 14px 0 8px;
}

.rich-surface p,
.rich-surface ul,
.rich-surface ol,
.rich-surface blockquote,
.rich-surface figure {
  margin: 0 0 12px;
}

.rich-surface blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--muted);
}

.rich-surface img,
.article-body img {
  display: block;
  max-width: 100%;
  border-radius: 14px;
  margin: 12px 0;
}

.rich-source {
  display: none;
  min-height: 260px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.rich-editor.source-mode .rich-surface {
  display: none;
}

.rich-editor.source-mode .rich-source {
  display: block;
}

.article-detail-layout {
  display: block;
}

.article-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
  position: sticky;
  top: 96px;
}

.article-aside h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-link {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 7px;
  padding: 13px;
}

.related-link:hover {
  border-color: var(--accent);
}

.related-link strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-link span {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 920px) {
  .article-detail-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

/* 2026-05-17 empty state centering */
.vpn-card.empty-card {
  align-items: center;
  justify-content: center;
  min-height: 360px;
  text-align: center;
}

.vpn-card.empty-card h3 {
  max-width: 100%;
  margin: 0 0 10px;
  overflow: visible;
  white-space: normal;
  text-align: center;
}

.vpn-card.empty-card .comment {
  height: auto;
  min-height: 0;
  margin: 0;
  color: var(--muted);
  text-align: center;
  -webkit-line-clamp: unset;
}

/* 2026-05-17 Quill editor and compact admin config */
.guide-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
}

.guide-card-actions .read-more-link {
  flex: 0 0 auto;
  margin-top: 0;
  min-height: 36px;
}

.guide-card-actions .share-row {
  align-self: center;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: auto;
  margin: 0 0 0 auto;
  padding: 0;
  min-height: 36px;
}

.vpn-card.empty-card {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  height: 360px;
}

.vpn-card.empty-card .comment {
  flex: 0 0 auto;
}

.admin-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}

.admin-config-grid .site-settings-admin,
.admin-config-grid .filter-admin {
  margin: 0;
}

.compact-config-panel {
  height: 100%;
  padding: 16px;
}

.compact-config-panel .editor-title {
  margin-bottom: 10px;
}

.compact-config-panel .editor-actions {
  margin-top: 12px;
  padding-top: 0;
}

.compact-config-panel textarea {
  min-height: 74px;
}

.compact-config-panel .keyword-field textarea {
  min-height: 82px;
}

.keyword-field {
  display: grid;
  grid-template-columns: minmax(128px, 0.35fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.rich-editor {
  overflow: visible;
}

.rich-editor .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  background: var(--soft);
}

.rich-editor .ql-container.ql-snow {
  border: 0;
  border-radius: 0 0 14px 14px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
}

.rich-editor .ql-editor {
  min-height: 320px;
  line-height: 1.75;
}

.rich-editor .ql-editor.ql-blank::before {
  color: var(--muted);
  font-style: normal;
}

.html-source-details {
  border-top: 1px solid var(--line);
  background: #fff;
}

.html-source-details summary {
  cursor: pointer;
  color: var(--muted);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 850;
}

.html-source-details .rich-source {
  display: block;
  min-height: 160px;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

@media (max-width: 1100px) {
  .admin-config-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .guide-card-actions {
    gap: 10px;
  }

  .keyword-field {
    grid-template-columns: 1fr;
  }

  .guide-card-actions .share-row .share-icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .vpn-card.empty-card {
    height: 320px;
  }
}

/* 2026-05-17 local social/comment/runaway update */
.hero .subtitle {
  display: none;
}

.signals {
  border: 1px solid var(--line);
  border-radius: 20px;
  display: block;
  margin: 10px 0 34px;
  padding: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(circle at 0% 0%, rgba(67, 148, 108, 0.1), transparent 32%),
    #fff;
}

.signals-header {
  display: flex;
  justify-content: center;
  gap: 0;
  align-items: center;
  margin-bottom: 16px;
  text-align: center;
}

.signals-header .eyebrow {
  display: none;
}

.signals-header :is(h2, h1.seo-signals-title) {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.engagement-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
}

.engage-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.engage-button b {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.engage-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tag-row .tag-runaway {
  border-color: #fdba74;
  background: linear-gradient(180deg, #fff7ed, #fed7aa);
  color: #9a3412;
}

.tag-row .tag-runaway::before {
  border-color: #ffedd5;
  background: #f97316;
}

.runaway-card,
.runaway-card .metric-bar i {
  color: #8b8b8b;
}

.runaway-card .rank-score,
.runaway-card .rank-score span,
.runaway-card .rank-score strong,
.runaway-card .rank-score em,
.runaway-card .rank-score b,
.runaway-card .metric strong {
  color: #a4a4a4;
}

.runaway-card .metric-bar i {
  background: #b8b8b8;
}

.community-comment {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfbfb;
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  padding: 8px;
}

.community-comment span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
}

.community-comment p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-comment button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  justify-self: start;
  padding: 0;
  font-size: 12px;
  font-weight: 850;
}

.comment-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 0;
  max-height: 260px;
  margin-bottom: 14px;
  overflow: auto;
  background: #fff;
}

.comment-item {
  border-bottom: 1px solid var(--line);
  padding: 12px;
}

.comment-item:last-child {
  border-bottom: 0;
}

.comment-item time,
.muted-text {
  color: var(--muted);
  font-size: 12px;
}

.comment-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
  color: #d2d2d2;
  line-height: 1;
}

.comment-rating .star-icon {
  width: 14px;
  height: 14px;
}

.comment-rating .rating-star.active {
  color: #f3b441;
}

.comment-item p {
  margin: 6px 0 0;
  line-height: 1.6;
}

.comment-admin {
  margin-top: 12px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 18;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

body:not(.page-ranking) .back-to-top {
  display: none;
}

.page-guides .guide-grid article .guide-body,
.page-home .guide-grid article .guide-body {
  display: -webkit-box;
  min-height: 0;
  max-height: calc(1.68em * 2);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-guides .guide-grid article h3,
.page-home .guide-grid article h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 920px) {
  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signals-header {
    align-items: center;
    flex-direction: column;
  }

  .signals-header :is(h2, h1.seo-signals-title) {
    text-align: center;
  }
}

/* Keep the new community controls from clipping the card footer. */
.vpn-card {
  height: 512px;
}

.page-home .compact-grid .vpn-card {
  height: 512px;
}

@media (max-width: 760px) {
  .vpn-card {
    height: auto;
    min-height: 512px;
  }
}

/* Compact review management */
.comment-admin-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.comment-admin-tools .search-box {
  flex: 1 1 320px;
}

.mini-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  min-height: 34px;
  padding: 0 13px;
  font-weight: 850;
}

.mini-filter.active,
.mini-filter:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.compact-comment-text,
.airport-review-item textarea {
  min-height: 64px;
  margin: 0;
  resize: vertical;
  font-size: 13px;
  line-height: 1.55;
}

.admin-table select,
.inline-review-actions select {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  min-height: 34px;
  padding: 0 10px;
  font-weight: 800;
}

.airport-review-panel {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
}

.airport-review-panel[hidden] {
  display: none;
}

.airport-review-panel summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 900;
}

.airport-review-panel summary b {
  color: var(--accent);
  font-size: 13px;
}

.airport-review-panel > p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.airport-review-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
  padding: 12px 14px 14px;
}

.airport-review-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  display: grid;
  gap: 8px;
  padding: 10px;
}

.inline-review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comment-save-status {
  display: block;
  min-height: 14px;
  color: var(--muted);
  font-size: 11px;
}

.rank-score span {
  font-size: clamp(26px, 2.7vw, 36px);
}

.vpn-card .rank-score span {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 0.9;
}

.vpn-card .rank-score b {
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.05;
}

@media (max-width: 760px) {
  .comment-admin-tools,
  .inline-review-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .vpn-card .rank-score span {
    font-size: 34px;
  }

  .vpn-card .rank-score b {
    font-size: 17px;
  }
}

/* Methodology hero layout refresh */
.signals {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: stretch;
  border-radius: clamp(24px, 4vw, 42px);
  margin: 20px 0 42px;
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 154, 60, 0.18), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(67, 148, 108, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 249, 0.9));
}

.signals::before {
  content: "";
  position: absolute;
  left: -18%;
  top: -18%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 176, 87, 0.22);
  filter: blur(46px);
  pointer-events: none;
}

.signals::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 72%);
  pointer-events: none;
}

.signals-header,
.signal-grid {
  position: relative;
  z-index: 1;
}

.signals-header {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  margin: 0;
}

.method-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 22px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.82);
  color: #505050;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 3px;
}

.signals-header :is(h2, h1.seo-signals-title) {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(52px, 6.5vw, 104px);
  font-weight: 950;
  line-height: 0.94;
  text-align: left;
}

.method-copy {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.75;
}

.method-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: clamp(28px, 5vw, 70px);
}

.method-stats div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 18px;
}

.method-stats span,
.signal-card .signal-title span {
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 900;
}

.method-stats b {
  display: block;
  margin: 10px 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.method-stats small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 14px;
}

.signal-card,
.signal-card.large {
  border-radius: 18px;
  min-height: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07);
}

.signal-card .signal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.signal-card .signal-title b {
  color: var(--ink);
  font-size: 24px;
}

.signal-card p {
  -webkit-line-clamp: 2;
}

.review-block {
  min-height: 64px;
  margin-top: 0;
}

.review-head {
  margin-bottom: 3px;
}

.review-meta {
  margin-bottom: 3px;
}

.card-actions {
  margin-top: 10px;
}

.vpn-card,
.page-home .compact-grid .vpn-card {
  height: 486px;
}

.rank-score span {
  font-size: clamp(18px, 1.8vw, 24px) !important;
}

.vpn-card .rank-score span {
  font-size: clamp(30px, 3.2vw, 44px) !important;
  line-height: 0.9;
}

.vpn-card .rank-score b {
  color: var(--ink) !important;
  font-size: clamp(26px, 2.7vw, 36px) !important;
  line-height: 1.05;
}

@media (max-width: 760px) {
  .vpn-card .rank-score span {
    font-size: 34px !important;
  }

  .vpn-card .rank-score b {
    font-size: 17px !important;
  }
}

.comment-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.comment-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .signals {
    grid-template-columns: 1fr;
  }

  .signals-header :is(h2, h1.seo-signals-title) {
    font-size: clamp(46px, 12vw, 84px);
  }

  .method-stats {
    padding-top: 28px;
  }
}

@media (max-width: 760px) {
  .signals {
    gap: 22px;
    padding: 24px;
  }

  .method-pill {
    min-height: 38px;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .signals-header :is(h2, h1.seo-signals-title) {
    font-size: clamp(42px, 14vw, 72px);
    line-height: 0.98;
  }

  .method-copy {
    font-size: 16px;
  }

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

  .vpn-card,
  .page-home .compact-grid .vpn-card {
    height: auto;
    min-height: 470px;
  }
}

/* Final methodology tuning: keep the hero editorial, but readable. */
.signals.home-page {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: center;
  min-height: 0;
  margin: 18px 0 42px;
  padding: clamp(24px, 4vw, 46px);
  background:
    radial-gradient(circle at 4% 12%, rgba(255, 164, 74, 0.18), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(67, 148, 108, 0.09), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 249, 0.92));
}

.signals.home-page::before {
  left: -10%;
  top: -26%;
  width: 44%;
  background: rgba(255, 177, 94, 0.2);
  filter: blur(58px);
}

.signals.home-page .signals-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  justify-content: center;
  min-width: 0;
  text-align: left;
}

.signals.home-page .method-pill {
  min-height: 36px;
  margin-bottom: 16px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 2px;
}

.signals.home-page .signals-header :is(h2, h1.seo-signals-title) {
  max-width: 440px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.14;
  letter-spacing: 0;
  text-align: left;
  text-wrap: balance;
  white-space: pre-line;
}

.signals.home-page .method-copy {
  max-width: 430px;
  margin-top: 16px;
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.68;
}

.signals.home-page .method-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 430px;
  margin-top: 24px;
  padding-top: 0;
}

.signals.home-page .method-stats div {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.signals.home-page .method-stats b {
  margin: 8px 0;
  font-size: clamp(26px, 2.4vw, 36px);
}

.signals.home-page .method-stats small {
  display: block;
  font-size: 12px;
}

.signals.home-page .signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 12px;
}

.signals.home-page .signal-card,
.signals.home-page .signal-card.large {
  border-radius: 16px;
  min-height: 124px;
  padding: 17px 18px;
}

.signals.home-page .signal-card .signal-title {
  margin-bottom: 8px;
}

.signals.home-page .signal-card .signal-title b {
  font-size: 20px;
}

.signals.home-page .signal-card p {
  color: #646464;
  font-size: 13.5px;
  line-height: 1.62;
  -webkit-line-clamp: 2;
}

@media (max-width: 980px) {
  .signals.home-page {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .signals.home-page .signals-header {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .signals.home-page .signals-header :is(h2, h1.seo-signals-title),
  .signals.home-page .method-copy {
    max-width: 720px;
    text-align: center;
  }

  .signals.home-page .signals-header :is(h2, h1.seo-signals-title) {
    font-size: clamp(28px, 6.4vw, 42px);
  }

  .signals.home-page .method-stats {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .signals.home-page {
    border-radius: 24px;
    gap: 18px;
    margin-top: 12px;
    padding: 20px;
  }

  .signals.home-page::before {
    left: -34%;
    top: -12%;
    width: 96%;
  }

  .signals.home-page .method-pill {
    min-height: 34px;
    padding: 0 13px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .signals.home-page .signals-header :is(h2, h1.seo-signals-title) {
    font-size: clamp(26px, 7.8vw, 34px);
    line-height: 1.12;
  }

  .signals.home-page .method-copy {
    margin-top: 12px;
    font-size: 14px;
  }

  .signals.home-page .method-stats {
    grid-template-columns: 1fr;
  }

  .signals.home-page .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .signals.home-page .method-stats {
    margin-top: 16px;
  }

  .signals.home-page .signal-card,
  .signals.home-page .signal-card.large {
    min-height: 118px;
    padding: 12px;
  }

  .signals.home-page .signal-card .signal-title {
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 7px;
  }

  .signals.home-page .signal-card .signal-title b {
    font-size: 15px;
    line-height: 1.2;
  }

  .signals.home-page .signal-card .signal-title span {
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 13px;
    line-height: 1.15;
  }

  .signals.home-page .signal-card p {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .signals.home-page {
    padding: 16px;
  }

  .signals.home-page .signal-grid {
    gap: 8px;
  }

  .signals.home-page .signal-card,
  .signals.home-page .signal-card.large {
    min-height: 112px;
    padding: 10px;
  }

  .signals.home-page .signal-card .signal-title b {
    font-size: 14px;
  }

  .signals.home-page .signal-card .signal-title span {
    font-size: 12px;
    padding: 2px 6px;
  }

  .signals.home-page .signal-card p {
    font-size: 11.5px;
  }
}

/* Card density cleanup */
@media (min-width: 761px) {
  .vpn-card,
  .page-home .compact-grid .vpn-card {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
}

.review-block {
  height: auto;
  min-height: 0;
  padding-top: 0;
}

.review-head {
  min-height: 0;
}

.comment {
  min-height: 0;
}

.engagement-row {
  gap: 12px;
  margin-top: 7px;
}

.engage-button {
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 0;
  padding: 0;
  color: #707070;
  font-size: 12px;
  font-weight: 760;
}

.engage-button b {
  color: var(--accent);
  font-size: 12px;
}

.engage-button:hover {
  background: transparent;
  color: var(--accent);
}

/* Article editor modes */
.rich-editor {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.editor-mode-tabs {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: var(--soft);
}

.editor-mode-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  min-height: 32px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 850;
}

.editor-mode-tab.active,
.editor-mode-tab:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.editor-pane {
  height: 460px;
  overflow: hidden;
  background: #fff;
}

.editor-pane[hidden] {
  display: none;
}

.rich-editor .ql-toolbar.ql-snow {
  border-radius: 0;
}

.rich-editor .ql-container.ql-snow {
  height: 416px;
  overflow: hidden;
}

.rich-editor .ql-editor {
  height: 416px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.rich-source {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 460px;
  max-height: 460px;
  min-height: 460px;
  border: 0;
  border-radius: 0;
  outline: 0;
  resize: none;
  overflow: auto;
  padding: 16px;
  background: #101010;
  color: #f7f7f7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
}

.html-preview-content {
  box-sizing: border-box;
  height: 460px;
  overflow: auto;
  padding: 18px;
  overflow-wrap: anywhere;
}

.html-preview-content > *:first-child {
  margin-top: 0;
}

/* Imported article compatibility */
.article-body,
.html-preview-content {
  color: #232323;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: 0;
}

.article-body *,
.html-preview-content * {
  box-sizing: border-box;
  max-width: 100%;
}

.article-body h1,
.html-preview-content h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.25;
}

.article-body h2,
.html-preview-content h2 {
  margin: 32px 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.32;
}

.article-body h3,
.html-preview-content h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.38;
}

.article-body h4,
.html-preview-content h4 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.article-body p,
.html-preview-content p {
  margin: 0 0 16px;
}

.article-body ul,
.article-body ol,
.html-preview-content ul,
.html-preview-content ol {
  margin: 0 0 18px 1.35em;
  padding: 0;
}

.article-body li,
.html-preview-content li {
  margin: 5px 0;
  padding-left: 2px;
}

.article-body blockquote,
.html-preview-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 20px 0;
  padding: 10px 16px;
  background: #f7faf8;
  color: #444;
}

.article-body pre,
.html-preview-content pre {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0;
  overflow: auto;
  padding: 14px;
  background: #111;
  color: #f7f7f7;
  font-size: 13px;
  line-height: 1.65;
}

.article-body code,
.html-preview-content code {
  border-radius: 6px;
  background: #f2f4f3;
  padding: 2px 5px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.article-body pre code,
.html-preview-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.article-body table,
.html-preview-content table {
  display: block;
  width: 100%;
  margin: 18px 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14px;
}

.article-body th,
.article-body td,
.html-preview-content th,
.html-preview-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.article-body th,
.html-preview-content th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 850;
}

.article-body hr,
.html-preview-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.article-body img,
.html-preview-content img {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 18px 0;
  border-radius: 14px;
}

.article-body figure,
.html-preview-content figure {
  margin: 20px 0;
}

.article-body figcaption,
.html-preview-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.article-body a,
.html-preview-content a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body mark,
.html-preview-content mark {
  border-radius: 4px;
  background: #fff0bc;
  padding: 0 3px;
}

/* Keep airport card actions aligned at the bottom. */
.vpn-grid {
  align-items: stretch;
}

.vpn-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-actions {
  margin-top: auto !important;
  padding-top: 12px;
}

.vpn-card .card-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.vpn-card .card-actions a,
.vpn-card .card-actions span {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
}

.card-actions .detail-link {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
}

.card-actions .detail-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

body.page-home .vpn-detail-page,
body.page-ranking .vpn-detail-page,
body.page-guides .vpn-detail-page,
body.page-article .vpn-detail-page,
body.page-vpn .home-page,
body.page-vpn .ranking-page,
body.page-vpn .public-guides,
body.page-vpn .article-page {
  display: none !important;
}

body.page-vpn .vpn-detail-page {
  display: block;
  padding: 52px 0 76px;
}

.vpn-detail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 184, 0, 0.12), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(67, 148, 108, 0.12), transparent 32%),
    #fff;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.05);
}

.vpn-detail-top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.vpn-detail-top-actions .read-more-link {
  -webkit-appearance: none;
  appearance: none;
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  box-shadow: none;
  opacity: 1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: normal;
}

.vpn-detail-top-actions .read-more-link:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}

.improve-airport-button {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: normal;
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
}

.improve-airport-button:hover {
  background: transparent;
  color: var(--ink);
}

.vpn-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.vpn-detail-title {
  min-width: 0;
}

.vpn-detail-title h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 78px);
  letter-spacing: 0;
  line-height: 1.02;
}

.vpn-detail-title .tag-row {
  margin-top: 14px;
}

.vpn-detail-hero .rank-score {
  font-weight: 800;
}

.vpn-detail-hero .rank-score span {
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 0.9;
}

.vpn-detail-hero .rank-score em {
  font-size: 15px;
  font-weight: 900;
}

.vpn-detail-hero .rank-score b {
  color: var(--ink) !important;
  font-size: clamp(26px, 2.7vw, 36px) !important;
  font-weight: 800;
  line-height: 1.05;
}

.rank-score.no-score b,
.runaway-card .rank-score b {
  color: #a4a4a4 !important;
}

.vpn-detail-meta {
  margin-top: 26px;
  gap: 12px;
  margin-bottom: 18px;
}

.vpn-detail-meta div {
  border-radius: 16px;
  min-height: 104px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vpn-detail-meta span {
  font-size: 15px;
  font-weight: 900;
}

.vpn-detail-meta strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.05;
}

.vpn-detail-metrics {
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 0;
}

.vpn-detail-metrics .metric {
  border-radius: 16px;
  min-height: 126px;
  padding: 18px;
}

.vpn-detail-metrics .metric span {
  font-size: 15px;
  font-weight: 900;
}

.vpn-detail-metrics .metric strong {
  color: var(--accent);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
}

.vpn-detail-metrics .metric .metric-empty {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
}

.vpn-detail-metrics .metric-bar {
  border-radius: 999px;
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
}

.vpn-detail-review {
  margin-top: 28px;
}

.vpn-detail-review .section-heading h2 {
  font-size: 22px;
}

.detail-comment-list .comment-item p,
.detail-comment-list .muted-text {
  font-size: 15px;
  line-height: 1.72;
}

.detail-comment-list {
  max-height: none;
  margin: 14px 0 16px;
}

.detail-comment-form {
  display: grid;
  gap: 12px;
}

.detail-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-submit-row span {
  color: var(--muted);
  font-size: 13px;
}

.detail-submit-button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  min-height: 42px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
}

.detail-submit-button:hover {
  background: var(--ink);
  color: #fff;
}

.vpn-detail-share {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding-top: 0;
}

.vpn-detail-share .share-row {
  border-top: 0;
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 0;
}

.vpn-detail-links {
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-top: 24px;
}

.vpn-detail-links-head h2 {
  color: #fff;
  margin: 2px 0 0;
  font-size: 22px;
}

.vpn-detail-links-head .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.vpn-detail-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-resource-link {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  display: grid;
  gap: 3px;
  min-height: 66px;
  padding: 12px 14px;
  text-decoration: none;
}

.detail-resource-link span {
  font-size: 15px;
  font-weight: 950;
}

.detail-resource-link small {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.62;
}

.detail-resource-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.detail-resource-link.disabled-link,
.detail-resource-link.disabled-link:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.16);
  color: #aaa;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .submit-dialog .dialog-head {
    align-items: flex-start;
    flex-direction: row;
  }

  .submit-dialog .dialog-head .icon-button {
    flex: 0 0 40px;
    align-self: flex-start;
  }

  .submit-dialog .submit-card {
    max-height: calc(100dvh - 28px);
    overflow: auto;
  }

  body.page-vpn .vpn-detail-page {
    padding: 22px 0 52px;
  }

  .vpn-detail-card {
    border-radius: 18px;
    padding: 18px;
  }

  .vpn-detail-hero {
    grid-template-columns: 1fr;
  }

  .vpn-detail-hero .rank-score {
    justify-items: start;
  }

  .vpn-detail-hero .rank-score strong {
    justify-items: start;
  }

  .vpn-detail-title h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .vpn-detail-links {
    grid-template-columns: 1fr;
  }

  .vpn-detail-link-grid,
  .vpn-detail-meta {
    grid-template-columns: 1fr;
  }

  .vpn-detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpn-detail-meta div,
  .vpn-detail-metrics .metric {
    min-height: 0;
  }

  .detail-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-submit-button {
    width: 100%;
  }

  .vpn-detail-share {
    align-items: flex-start;
    flex-direction: column;
  }

  .vpn-detail-share .share-row {
    justify-content: flex-start;
  }
}

/* JBANG final surface pass */
:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #050505;
  --accent: #43946c;
  --muted: #666666;
  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.1);
  --soft: #f4f5f4;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
  --radius: 14px;
}

body {
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}

button,
input,
textarea,
.main-nav a,
.nav-button,
.submit-button,
.primary-action,
.secondary-action,
.ghost-button,
.danger-button,
.icon-button,
.filter-chip,
.card-actions a,
.detail-resource-link,
.read-more-link,
.engage-button,
.mini-button,
.detail-submit-button,
.detail-button,
.share-icon,
.method-pill {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.site-header,
.hero-copy,
.hero-panel,
.signal-card,
.toolbar,
.filters,
.vpn-card,
.guides article,
.editor-panel,
.table-panel,
.submit-card,
.admin-head,
.article-detail-card,
.vpn-detail-card,
.review-block,
.comment-item,
.detail-resource-link,
.card-actions a,
.filter-chip,
.main-nav a,
.nav-button,
.submit-button,
.primary-action,
.secondary-action,
.ghost-button,
.danger-button,
.engage-button,
.detail-submit-button,
.detail-button,
.read-more-link,
.share-icon,
.mini-button,
.method-pill {
  border-radius: 14px;
}

.site-header,
.hero-copy,
.hero-panel,
.signal-card,
.toolbar,
.filters,
.vpn-card,
.guides article,
.editor-panel,
.table-panel,
.submit-card,
.admin-head,
.article-detail-card,
.vpn-detail-card {
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.main-nav a,
.nav-button {
  background: #f4f4f4;
  color: #111;
}

.main-nav a:hover,
.nav-button:hover,
.filter-chip.active,
.filter-chip:hover {
  background: #ededed;
  color: #050505;
}

.submit-button,
.primary-action {
  background: #111;
  color: #fff;
}

.secondary-action,
.ghost-button,
.filter-chip,
.card-actions a,
.detail-resource-link,
.read-more-link,
.engage-button,
.detail-submit-button,
.detail-button,
.share-icon,
.mini-button,
.method-pill {
  background: #f6f6f6;
  color: #111;
}

.danger-button {
  background: #6f1b1b;
  color: #fff;
}

.card-actions a:hover,
.detail-resource-link:hover,
.read-more-link:hover,
.detail-button:hover,
.engage-button:hover,
.mini-button:hover,
.detail-submit-button:hover,
.share-icon:hover {
  background: #ececec;
  color: #111;
}

.submit-button:hover,
.primary-action:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}

.vpn-card,
.signal-card,
.guides article,
.article-detail-card,
.vpn-detail-card {
  overflow: hidden;
}

.vpn-card .rank-score,
.vpn-detail-card .rank-score {
  background: transparent;
}

.meta-line div,
.metric,
.review-block,
.comment-item,
.detail-resource-link {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.filter-chip.active {
  background: #e9ecea;
}

.star-rating-input label,
.comment-rating,
.rating-star,
.star-icon {
  color: #d0d0d0;
}

.rating-star.active,
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #f3b441;
}

.vpn-card .comment,
.vpn-detail-card .comment,
.guide-body,
.plain-guide-body,
.article-detail-card,
.related-link span,
.review-meta,
.meta-line span,
.metric span,
.panel-label {
  color: #6b6b6b;
}

.vpn-card .rank-score b,
.vpn-detail-card .rank-score b,
.vpn-card .rank-score span,
.vpn-detail-card .rank-score span,
.vpn-card h3,
.vpn-detail-card h1 {
  color: #050505;
}

.card-actions,
.engagement-row,
.guide-card-actions,
.vpn-detail-top-actions,
.vpn-detail-share {
  gap: 10px;
}

.card-actions a,
.engage-button,
.detail-submit-button,
.detail-button,
.read-more-link,
.share-icon,
.mini-button,
.filter-chip,
.secondary-action,
.ghost-button,
.method-pill {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.vpn-detail-link-grid .detail-resource-link {
  min-height: 72px;
  padding: 14px 16px;
}

.article-detail-card,
.vpn-detail-card,
.submit-card {
  border-radius: 18px;
}

.detail-resource-link.disabled-link,
.card-actions .disabled-link {
  background: #efefef;
  color: #9a9a9a;
}

.vpn-card.top-ranked,
.signal-card.large {
  grid-column: span 1;
  grid-row: span 1;
}

/* 2026 UI rebuild: unified calm data surface */
:root {
  --bg: #f7f8f6;
  --paper: #ffffff;
  --paper-soft: #f1f4f0;
  --ink: #101211;
  --muted: #68706b;
  --accent: #43946c;
  --accent-soft: #e7f3ec;
  --gold: #c9952c;
  --line: rgba(16, 18, 17, 0.08);
  --line-strong: rgba(16, 18, 17, 0.14);
  --shadow: 0 10px 28px rgba(24, 38, 30, 0.06);
  --shadow-soft: 0 4px 16px rgba(24, 38, 30, 0.045);
  --radius: 18px;
}

body {
  background:
    radial-gradient(circle at 0 8%, rgba(67, 148, 108, 0.11), transparent 28%),
    radial-gradient(circle at 94% 18%, rgba(255, 183, 91, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 48%, #fbfcfa 100%);
  color: var(--ink);
}

#app,
.admin-shell {
  width: min(1360px, calc(100% - 44px));
}

.site-header {
  grid-template-columns: minmax(170px, 1fr) auto auto;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid rgba(16, 18, 17, 0.06);
  background: rgba(250, 252, 249, 0.86);
  box-shadow: 0 6px 20px rgba(24, 38, 30, 0.035);
}

.brand {
  font-size: 18px;
  letter-spacing: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.main-nav {
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

.main-nav a,
.nav-button,
.submit-button,
.primary-action,
.secondary-action,
.ghost-button,
.danger-button,
.icon-button,
.filter-chip,
.card-actions a,
.card-actions span,
.detail-resource-link,
.read-more-link,
.engage-button,
.mini-button,
.detail-submit-button,
.detail-button,
.share-icon,
.method-pill,
.back-to-top {
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.main-nav a,
.nav-button,
.secondary-action,
.ghost-button,
.filter-chip,
.read-more-link,
.engage-button,
.mini-button,
.detail-button,
.share-icon,
.method-pill {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.main-nav a {
  padding: 9px 13px;
  font-size: 15px;
  font-weight: 850;
}

.main-nav a:hover,
.nav-button:hover,
.secondary-action:hover,
.ghost-button:hover,
.filter-chip:hover,
.filter-chip.active,
.read-more-link:hover,
.engage-button:hover,
.mini-button:hover,
.detail-button:hover,
.share-icon:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.submit-button,
.primary-action,
.detail-submit-button {
  background: var(--ink);
  color: #fff;
}

.submit-button:hover,
.primary-action:hover,
.detail-submit-button:hover {
  background: var(--accent);
  color: #fff;
}

.hero {
  min-height: 0;
  display: block;
  padding: clamp(46px, 8vw, 92px) 0 clamp(28px, 5vw, 54px);
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}

.hero-copy::before,
.hero-copy::after {
  display: none;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 18px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(67, 148, 108, 0.09);
  color: var(--ink);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 650;
  text-transform: none;
}

.hero-copy #monitor-summary .monitor-number {
  color: var(--accent);
  font-weight: 850;
}

.hero-copy h1 {
  max-width: 920px;
  margin: 0 auto 28px;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
  white-space: pre-line;
  text-wrap: balance;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
}

.hero-actions .primary-action,
.hero-actions .secondary-action,
.page-home .load-more-wrap .secondary-action,
.page-home .load-more-wrap .primary-action {
  min-height: 50px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 900;
}

.signals.home-page,
.toolbar,
.filters,
.seo-fact-card,
.vpn-card,
.guides article,
.editor-panel,
.table-panel,
.submit-card,
.login-panel,
.admin-head,
.article-detail-card,
.vpn-detail-card,
.methodology-article,
.trust-card {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--shadow) !important;
}

.signals.home-page {
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 0 0, rgba(255, 184, 92, 0.15), transparent 34%),
    rgba(255, 255, 255, 0.92) !important;
}

.signals.home-page .signals-header :is(h2, h1.seo-signals-title) {
  font-size: clamp(28px, 3.2vw, 42px);
}

.signals.home-page .method-copy {
  color: var(--muted);
}

.signal-card,
.metric,
.meta-line div,
.review-block,
.comment-item,
.detail-resource-link,
.methodology-grid div {
  border: 0 !important;
  background: var(--paper-soft) !important;
  box-shadow: none !important;
}

.signal-title b,
.tag-stable {
  border: 0 !important;
  background: #e7f0ff !important;
  color: #3766a7 !important;
}

.tag-recommend {
  background: linear-gradient(135deg, #f3d47b, #c9952c) !important;
  color: #3a2705 !important;
}

.tag-custom {
  background: linear-gradient(135deg, #eee7ff, #f7f2ff) !important;
  color: #59448c !important;
}

.tag-runaway {
  background: linear-gradient(135deg, #ffe4c4, #ffd2a1) !important;
  color: #7d3b00 !important;
}

.vpn-grid {
  gap: 18px;
}

.vpn-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 18px;
}

.vpn-card h3 {
  font-size: clamp(22px, 2vw, 28px);
}

.rank-score span {
  color: var(--ink) !important;
}

.rank-score b,
.metric strong,
.vpn-detail-hero .rank-score b {
  color: var(--ink) !important;
}

.rank-score.no-score,
.rank-score.no-score span,
.rank-score.no-score b,
.rank-score.no-score em {
  color: #a1a7a3 !important;
}

.metric-bar {
  background: rgba(16, 18, 17, 0.08);
}

.metric-bar i {
  background: var(--accent);
}

.card-actions a,
.card-actions span {
  min-height: 42px;
  background: var(--ink);
  color: #fff;
}

.card-actions .detail-link {
  background: var(--accent-soft);
  color: var(--accent);
}

.card-actions .disabled-link {
  background: #e8ebe7;
  color: #99a09a;
}

.card-actions a:hover,
.card-actions .detail-link:hover {
  background: var(--accent);
  color: #fff;
}

.toolbar,
.filters {
  padding: 18px;
}

.filters {
  gap: 10px;
}

.search-box input,
input,
textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.methodology-page {
  display: block;
  padding: clamp(34px, 6vw, 72px) 0 78px;
}

body:not(.page-methodology) .methodology-page,
body:not(.page-trust) .trust-page,
body.page-methodology .home-page,
body.page-methodology .ranking-page,
body.page-methodology .public-guides,
body.page-methodology .article-page,
body.page-methodology .vpn-detail-page,
body.page-trust .home-page,
body.page-trust .ranking-page,
body.page-trust .public-guides,
body.page-trust .article-page,
body.page-trust .vpn-detail-page,
body.page-trust .methodology-page {
  display: none !important;
}

.methodology-article,
.trust-card,
.seo-fact-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px);
}

.ranking-intro {
  margin: clamp(28px, 5vw, 58px) auto 18px;
}

.methodology-hero,
.trust-card {
  max-width: 860px;
}

.methodology-hero h1,
.ranking-intro h1,
.trust-card h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

.methodology-hero p,
.ranking-intro p,
.trust-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.methodology-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.methodology-meta span {
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
}

.methodology-section {
  margin-top: 34px;
}

.methodology-section h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.methodology-table-wrap,
.ranking-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  background: var(--paper-soft);
}

.ranking-table-wrap {
  margin-top: 22px;
}

.methodology-table,
.ranking-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.methodology-table th,
.methodology-table td,
.ranking-table th,
.ranking-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(16, 18, 17, 0.07);
  text-align: left;
  vertical-align: top;
}

.methodology-table th,
.ranking-table th {
  color: var(--muted);
  font-size: 13px;
}

.methodology-table td:nth-child(2),
.ranking-table td:nth-child(3) {
  color: var(--accent);
  font-weight: 950;
}

.ranking-table a {
  color: var(--ink);
  font-weight: 900;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.methodology-grid div {
  border-radius: 16px;
  padding: 18px;
}

.methodology-grid strong {
  display: block;
  margin-bottom: 8px;
}

.methodology-grid span,
.methodology-formula,
.methodology-section details p {
  color: var(--muted);
  line-height: 1.7;
}

.methodology-section details {
  border-radius: 16px;
  background: var(--paper-soft);
  padding: 16px 18px;
  margin-top: 10px;
}

.methodology-section summary {
  cursor: pointer;
  font-weight: 900;
}

.trust-page {
  display: block;
  padding: clamp(34px, 6vw, 72px) 0 78px;
}

.trust-card {
  max-width: 980px;
}

.trust-card details {
  border-radius: 16px;
  background: var(--paper-soft);
  padding: 16px 18px;
  margin-top: 10px;
}

.trust-card summary {
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 900px) {
  #app,
  .admin-shell {
    width: min(100% - 28px, 1360px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    gap: 10px;
  }

  .brand {
    justify-content: flex-start;
    grid-column: 1 / -1;
  }

  .main-nav {
    grid-column: 1 / 2;
    justify-content: space-between;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 12px;
    font-size: 15px;
  }

  .submit-button {
    grid-column: 2 / 3;
    grid-row: 2;
    width: auto;
    min-height: 42px;
    padding: 0 16px;
    font-size: 15px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8vw, 46px);
  }

  .signals.home-page {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  #app,
  .admin-shell {
    width: min(100% - 20px, 1360px);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .signals.home-page .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpn-card {
    padding: 14px;
  }

  .card-head {
    gap: 12px;
  }

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

/* 2026-06-29: merge ranking SEO copy into the real ranking header. */
body.page-ranking .ranking-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  margin: clamp(28px, 5vw, 58px) 0 18px;
  padding: clamp(22px, 4vw, 40px);
}

.ranking-title-block {
  min-width: 0;
}

.ranking-title-block h1 {
  max-width: 860px;
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.ranking-page-summary {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.ranking-meta {
  margin-top: 18px;
}

body.page-ranking .ranking-toolbar .search-box {
  width: 100%;
  margin: 0;
}

/* 2026-06-29: home methodology block is a grouped panel, not an elevated card. */
body.page-home .signals.home-page {
  border: 1px solid rgba(67, 148, 108, 0.12) !important;
  background:
    radial-gradient(circle at 0 0, rgba(255, 184, 92, 0.16), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(67, 148, 108, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
}

body.page-home .signals.home-page .method-stats b,
body.page-home .signals.home-page .signal-card .signal-title b {
  border: 0 !important;
  background: rgba(67, 148, 108, 0.1) !important;
  color: var(--accent) !important;
}

body.page-home .signals.home-page .method-stats b {
  background: transparent !important;
}

@media (max-width: 900px) {
  body.page-ranking .ranking-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  body.page-ranking .ranking-toolbar {
    margin-top: 22px;
    padding: 20px;
  }

  .ranking-title-block h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .ranking-meta span {
    width: 100%;
  }
}

/* 2026-06-29: public cards use one consistent 3-column desktop rhythm. */
@media (min-width: 981px) {
  .vpn-grid,
  .page-home .compact-grid,
  .guide-grid,
  .signals.home-page .signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .signals.home-page .signal-card.large {
    grid-column: auto !important;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .vpn-grid,
  .page-home .compact-grid,
  .guide-grid,
  .signals.home-page .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .vpn-grid,
  .page-home .compact-grid,
  .guide-grid {
    grid-template-columns: 1fr !important;
  }

  .signals.home-page .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 2026-06-29 GEO semantics: keep ul/dl markup visually aligned with old cards. */
.vpn-card-facts {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-line .vpn-card-facts > li {
  min-width: 0;
}

.metric {
  margin: 0;
}

.metric dt {
  margin: 0;
}

.metric dd {
  margin: 0;
}

.tag-icon {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.seo-guide-article .seo-guide-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.guide-related-panel {
  margin-top: 24px;
  border-radius: 20px;
  background: #fff;
  padding: clamp(16px, 2.2vw, 22px);
  box-shadow: 0 8px 22px rgba(15, 23, 18, 0.05);
}

.guide-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.guide-related-heading h2 {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 24px);
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.guide-related-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  border-radius: 16px;
  background: #f6f8f6;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.guide-related-card:hover {
  background: #edf5ef;
}

.guide-related-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.guide-related-card span {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.guide-airport-list {
  margin-top: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(243, 249, 245, 0.92), rgba(255, 255, 255, 0.98));
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: 0 10px 26px rgba(18, 28, 22, 0.06);
}

.guide-airport-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.guide-airport-heading h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
}

.guide-airport-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.guide-airport-items {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.guide-airport-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px 18px;
  box-shadow: 0 6px 16px rgba(15, 23, 18, 0.04);
}

.guide-airport-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guide-airport-rank {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
}

.guide-airport-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.guide-airport-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(20, 90, 60, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.guide-airport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.guide-airport-tags span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f6f4;
  border: 1px solid rgba(20, 90, 60, 0.12);
  color: #2b4136;
  font-size: 12px;
  font-weight: 700;
}

.guide-airport-reason {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.guide-airport-evidence {
  margin: 8px 0 0;
  color: #314137;
  font-size: 13.5px;
  line-height: 1.7;
}

.guide-airport-reason strong,
.guide-airport-evidence strong {
  color: var(--text);
}

.guide-airport-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.guide-airport-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #101513;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.guide-airport-link:hover {
  background: var(--accent);
  color: #fff;
}

.guide-faq-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.guide-faq-item {
  border-radius: 16px;
  background: var(--paper-soft, #f6f8f6);
  padding: clamp(16px, 2.4vw, 22px);
}

.guide-faq-item h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
}

.guide-faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.seo-guide-updated {
  margin: 26px 0 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

/* 2026-06-29 card redesign: editorial report cards, unified across ranking pages. */
.vpn-grid,
.page-home .compact-grid {
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 28px) !important;
}

.vpn-card,
.page-home .compact-grid .vpn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 408px;
  height: auto !important;
  padding: 24px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(67, 148, 108, 0.075), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 252, 251, 0.96)) !important;
  box-shadow:
    0 1px 1px rgba(18, 24, 20, 0.035),
    0 18px 42px rgba(31, 39, 35, 0.07) !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.vpn-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(67, 148, 108, 0.055);
  filter: blur(22px);
  pointer-events: none;
}

.vpn-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 1px rgba(18, 24, 20, 0.035),
    0 22px 50px rgba(31, 39, 35, 0.095) !important;
}

.vpn-card .card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  align-items: start;
  gap: 18px;
  min-height: 82px;
  margin: 0 0 18px;
}

.vpn-card .title-block {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.vpn-card h3 {
  display: block;
  min-height: 32px;
  margin: 0 0 10px;
  overflow: hidden;
  color: #111312;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(24px, 2.1vw, 31px) !important;
  font-weight: 880;
  line-height: 1.08;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vpn-card .rank-score {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: end;
  width: 94px;
  min-width: 94px;
  min-height: 80px;
  padding: 2px 0 0;
  border-radius: 0;
  background: transparent !important;
  color: #111312 !important;
  text-align: right;
  box-shadow: none !important;
}

.vpn-card .rank-score span {
  display: block;
  order: 2;
  margin-top: 7px;
  color: #111312 !important;
  font-size: 30px !important;
  font-weight: 860;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.vpn-card .rank-score strong {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
  color: #111312 !important;
}

.vpn-card .rank-score em {
  max-width: 92px;
  color: rgba(17, 19, 18, 0.52) !important;
  font-size: 10.5px !important;
  font-style: normal;
  font-weight: 760;
  line-height: 1.25;
  text-transform: none;
}

.vpn-card .rank-score b {
  color: #111312 !important;
  font-size: 24px !important;
  font-weight: 820 !important;
  line-height: 1;
}

.recommended-card .rank-score:not(.no-score),
.stable-card .rank-score:not(.no-score) {
  color: #111312 !important;
}

.rank-score.no-score,
.runaway-card .rank-score {
  background: transparent !important;
  box-shadow: none !important;
}

.rank-score.no-score span,
.rank-score.no-score em,
.rank-score.no-score b,
.runaway-card .rank-score span,
.runaway-card .rank-score em,
.runaway-card .rank-score b {
  color: #9a9f9c !important;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 24px;
  margin: 0 0 9px;
}

.tag-row span {
  min-height: 23px;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 820;
  line-height: 23px;
}

.engagement-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 20px;
}

.engagement-row .engage-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(17, 19, 18, 0.54);
  font-size: 12px;
  font-weight: 740;
  line-height: 1.2;
}

.engagement-row .engage-button b {
  color: #111312;
  font-weight: 820;
}

.vpn-card .meta-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.vpn-card .meta-line .vpn-card-facts {
  display: contents;
}

.vpn-card .meta-line li,
.vpn-card .meta-line div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 11px 10px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(244, 247, 245, 0.92) !important;
  box-shadow: none !important;
}

.vpn-card .meta-line span {
  margin: 0 0 6px;
  color: rgba(17, 19, 18, 0.48);
  font-size: 11px !important;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.vpn-card .meta-line strong {
  overflow: hidden;
  color: #111312 !important;
  font-size: 13.5px !important;
  font-weight: 760 !important;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vpn-card .metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0 0 15px;
}

.vpn-card .metric {
  min-width: 0;
  min-height: 80px;
  padding: 12px 11px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(245, 248, 246, 0.94) !important;
  box-shadow: none !important;
}

.vpn-card .metric dt {
  color: rgba(17, 19, 18, 0.52);
  font-size: 11px !important;
  font-weight: 780;
  line-height: 1;
}

.vpn-card .metric dd,
.vpn-card .metric-value {
  margin: 8px 0 9px !important;
  color: #111312 !important;
  font-size: 24px !important;
  font-weight: 820 !important;
  line-height: 1;
}

.vpn-card .metric-empty {
  color: #8b918d !important;
  font-size: 13px !important;
  font-weight: 720 !important;
}

.vpn-card .metric-bar {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 19, 18, 0.075);
}

.vpn-card .metric-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #43946c !important;
}

.vpn-card .review-block {
  display: flex;
  flex-direction: column;
  min-height: 92px;
  margin: 0 0 16px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.vpn-card .review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 7px;
}

.vpn-card .review-title {
  color: #111312;
  font-size: 13px;
  font-weight: 820;
  line-height: 1;
}

.vpn-card .detail-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #43946c;
  font-size: 12px;
  font-weight: 820;
}

.vpn-card .review-meta {
  margin: -1px 0 6px;
  color: rgba(17, 19, 18, 0.44);
  font-size: 11px;
}

.vpn-card .comment {
  display: -webkit-box;
  min-height: 41px;
  margin: 0;
  overflow: hidden;
  color: rgba(17, 19, 18, 0.68);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vpn-card .card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: auto;
}

.vpn-card .card-actions a,
.vpn-card .card-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.vpn-card .card-actions .official-link {
  background: #111312 !important;
  color: #fff !important;
}

.vpn-card .card-actions .detail-link {
  background: rgba(67, 148, 108, 0.11) !important;
  color: #2f7d57 !important;
}

.vpn-card .card-actions .disabled-link {
  background: #edf0ee !important;
  color: #9aa19d !important;
}

.vpn-card .card-actions a:hover {
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .vpn-card,
  .page-home .compact-grid .vpn-card {
    min-height: 0;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .vpn-card .card-head {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 12px;
    min-height: 78px;
  }

  .vpn-card h3 {
    font-size: 23px !important;
  }

  .vpn-card .rank-score {
    width: 84px;
    min-width: 84px;
    min-height: 70px;
  }

  .vpn-card .rank-score span {
    font-size: 26px !important;
  }

  .vpn-card .rank-score b {
    font-size: 22px !important;
  }

  .vpn-card .rank-score em {
    font-size: 10px !important;
  }

  .vpn-card .card-actions a,
  .vpn-card .card-actions span {
    min-height: 44px;
  }
}

/* 2026-06-29 mobile final pass: balanced nav and 2-up airport cards. */
@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px 10px 14px !important;
    border-radius: 0 0 18px 18px;
  }

  .site-header .brand {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    min-width: 0;
    font-size: 17px;
  }

  .main-nav {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .main-nav a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    white-space: nowrap;
  }

  .site-header .submit-button {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
  }

  #app,
  .admin-shell {
    width: min(100% - 16px, 1360px) !important;
  }

  .vpn-grid,
  .page-home .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    justify-items: stretch !important;
    width: 100% !important;
  }

  .vpn-card,
  .page-home .compact-grid .vpn-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 13px !important;
    border-radius: 18px !important;
  }

  .vpn-card::before {
    width: 52px;
    height: 52px;
    top: 10px;
    right: 8px;
    filter: blur(18px);
  }

  .vpn-card .card-head {
    grid-template-columns: minmax(0, 1fr) 52px !important;
    gap: 8px !important;
    min-height: 58px !important;
    margin-bottom: 10px !important;
  }

  .vpn-card h3 {
    min-height: 23px;
    margin-bottom: 6px !important;
    font-size: 18px !important;
    line-height: 1.08 !important;
  }

  .tag-row {
    gap: 4px !important;
    min-height: 18px !important;
    margin-bottom: 5px !important;
  }

  .tag-row span {
    min-height: 18px !important;
    padding: 0 7px !important;
    font-size: 9px !important;
    line-height: 18px !important;
  }

  .engagement-row {
    gap: 6px !important;
    min-height: 16px !important;
  }

  .engagement-row .engage-button {
    font-size: 10.5px !important;
  }

  .vpn-card .rank-score {
    width: 52px !important;
    min-width: 52px !important;
    min-height: 54px !important;
  }

  .vpn-card .rank-score em {
    max-width: 52px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  .vpn-card .rank-score b {
    font-size: 18px !important;
  }

  .vpn-card .rank-score span {
    margin-top: 4px !important;
    font-size: 21px !important;
  }

  .vpn-card .meta-line {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
  }

  .vpn-card .meta-line li,
  .vpn-card .meta-line div {
    min-height: 44px !important;
    padding: 8px !important;
    border-radius: 12px !important;
  }

  .vpn-card .meta-line span,
  .vpn-card .metric dt {
    font-size: 9.5px !important;
  }

  .vpn-card .meta-line strong {
    font-size: 11.5px !important;
  }

  .vpn-card .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 9px !important;
  }

  .vpn-card .metric {
    min-height: 56px !important;
    padding: 8px !important;
    border-radius: 12px !important;
  }

  .vpn-card .metric dd,
  .vpn-card .metric-value {
    margin: 6px 0 7px !important;
    font-size: 18px !important;
  }

  .vpn-card .metric-bar {
    height: 2px !important;
  }

  .vpn-card .review-block {
    min-height: 68px !important;
    margin-bottom: 10px !important;
  }

  .vpn-card .review-title,
  .vpn-card .detail-button {
    font-size: 11px !important;
  }

  .vpn-card .review-meta {
    font-size: 9.5px !important;
  }

  .vpn-card .comment {
    min-height: 34px !important;
    font-size: 11px !important;
    line-height: 1.48 !important;
    -webkit-line-clamp: 2 !important;
  }

  .vpn-card .card-actions {
    gap: 6px !important;
  }

  .vpn-card .card-actions a,
  .vpn-card .card-actions span {
    min-height: 36px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }
}

/* 2026-06-29 mobile hard-lock: collapsed nav and single-column airport cards. */
@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
    padding: 11px 10px 13px !important;
    gap: 9px !important;
    border-bottom: 1px solid rgba(17, 19, 18, 0.08) !important;
    border-radius: 0 0 18px 18px !important;
  }

  .site-header .brand {
    display: inline-flex !important;
    grid-column: 1 / 2 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  .site-header .brand-logo {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    border-radius: 8px !important;
  }

  .mobile-menu-button {
    display: inline-grid !important;
    grid-column: 2 / 3 !important;
    place-items: center !important;
    align-self: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #111312 !important;
    box-shadow: 0 10px 24px rgba(17, 19, 18, 0.12) !important;
    cursor: pointer !important;
  }

  .mobile-menu-button span {
    display: block !important;
    width: 17px !important;
    height: 2px !important;
    margin: 2px 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    transition:
      transform 0.18s ease,
      opacity 0.18s ease !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  .main-nav {
    display: none !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 7px !important;
    gap: 6px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 14px 32px rgba(31, 39, 35, 0.08) !important;
  }

  .mobile-menu-open .main-nav {
    display: grid !important;
  }

  .main-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: rgba(246, 248, 247, 0.96) !important;
    color: #111312 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .site-header .submit-button {
    display: inline-flex !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-height: 41px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
  }

  #app,
  .admin-shell {
    width: calc(100% - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .full-ranking-shell,
  .ranking-section,
  .guides,
  .public-guides,
  .vpn-grid,
  .page-home .compact-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .vpn-grid,
  .page-home .compact-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  .vpn-grid > .vpn-card,
  .page-home .compact-grid > .vpn-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .vpn-card {
    padding: 12px !important;
    border-radius: 17px !important;
    box-shadow:
      0 1px 1px rgba(18, 24, 20, 0.03),
      0 10px 24px rgba(31, 39, 35, 0.055) !important;
  }

  .vpn-card .card-head {
    grid-template-columns: minmax(0, 1fr) 50px !important;
    gap: 7px !important;
    min-height: 55px !important;
    margin-bottom: 8px !important;
  }

  .vpn-card h3 {
    min-height: 21px !important;
    font-size: 17px !important;
  }

  .vpn-card .rank-score {
    width: 50px !important;
    min-width: 50px !important;
    min-height: 52px !important;
  }

  .vpn-card .rank-score span {
    font-size: 20px !important;
  }

  .vpn-card .rank-score b {
    font-size: 16px !important;
  }

  .vpn-card .rank-score em {
    max-width: 50px !important;
    font-size: 7.5px !important;
  }

  .vpn-card .meta-line {
    grid-template-columns: 1fr !important;
  }

  .vpn-card .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 2026-06-29 mobile header icons + clearer card type. */
.vpn-card h3 .title-rank {
  margin-right: 0.28em;
  color: #111312;
  font-weight: 900;
}

.vpn-card h3 .title-name {
  min-width: 0;
}

.vpn-card .rank-score > span {
  display: none !important;
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 42px 42px !important;
    column-gap: 8px !important;
  }

  .site-header .brand {
    grid-column: 1 / 2 !important;
  }

  .site-header .submit-button,
  .mobile-menu-button {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    align-self: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -999px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 24px rgba(17, 19, 18, 0.12) !important;
  }

  .site-header .submit-button {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    position: relative !important;
    background: #43946c !important;
    color: transparent !important;
  }

  .site-header .submit-button::before,
  .site-header .submit-button::after {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    pointer-events: none !important;
  }

  .site-header .submit-button::before {
    width: 17px !important;
    height: 17px !important;
    left: 12px !important;
    top: 14px !important;
    border: 2px solid #fff !important;
    border-radius: 5px !important;
    background: transparent !important;
  }

  .site-header .submit-button::after {
    width: 8px !important;
    height: 8px !important;
    left: 21px !important;
    top: 9px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    transform: rotate(-45deg) !important;
  }

  .mobile-menu-button {
    grid-column: 3 / 4 !important;
    grid-row: 1 !important;
    display: inline-grid !important;
    place-items: center !important;
    background: #111312 !important;
  }

  .mobile-menu-button span {
    grid-area: 1 / 1 !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    transform-origin: center !important;
  }

  .mobile-menu-button span:nth-child(1) {
    transform: translateY(-4px) !important;
  }

  .mobile-menu-button span:nth-child(2) {
    transform: translateY(4px) !important;
  }

  .mobile-menu-button span:nth-child(3) {
    display: none !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(1) {
    transform: rotate(45deg) !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(2) {
    opacity: 1 !important;
    transform: rotate(-45deg) !important;
  }

  .main-nav {
    grid-row: 2 !important;
  }

  .vpn-card {
    padding: 16px !important;
    border-radius: 19px !important;
  }

  .vpn-card .card-head {
    grid-template-columns: minmax(0, 1fr) 72px !important;
    gap: 12px !important;
    min-height: 66px !important;
    margin-bottom: 12px !important;
  }

  .vpn-card h3 {
    display: flex !important;
    align-items: baseline !important;
    min-height: 28px !important;
    margin-bottom: 8px !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
  }

  .vpn-card h3 .title-rank {
    flex: 0 0 auto !important;
  }

  .vpn-card h3 .title-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .tag-row span {
    min-height: 21px !important;
    padding: 0 9px !important;
    font-size: 10.5px !important;
    line-height: 21px !important;
  }

  .engagement-row .engage-button {
    font-size: 12px !important;
  }

  .vpn-card .rank-score {
    width: 72px !important;
    min-width: 72px !important;
    min-height: 58px !important;
  }

  .vpn-card .rank-score strong {
    gap: 5px !important;
  }

  .vpn-card .rank-score em {
    max-width: 72px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .vpn-card .rank-score b {
    font-size: 24px !important;
  }

  .vpn-card .meta-line li,
  .vpn-card .meta-line div {
    min-height: 50px !important;
    padding: 10px !important;
  }

  .vpn-card .meta-line span,
  .vpn-card .metric dt {
    font-size: 11px !important;
  }

  .vpn-card .meta-line strong {
    font-size: 14px !important;
  }

  .vpn-card .metric {
    min-height: 66px !important;
    padding: 10px !important;
  }

  .vpn-card .metric dd,
  .vpn-card .metric-value {
    font-size: 22px !important;
  }

  .vpn-card .review-title,
  .vpn-card .detail-button {
    font-size: 13px !important;
  }

  .vpn-card .review-meta {
    font-size: 11px !important;
  }

  .vpn-card .comment {
    min-height: 42px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .vpn-card .card-actions a,
  .vpn-card .card-actions span {
    min-height: 42px !important;
    font-size: 14px !important;
  }

  .guide-related-panel,
  .guide-airport-list {
    border-radius: 18px !important;
    padding: 15px !important;
  }

  .guide-related-heading {
    display: grid !important;
    gap: 4px !important;
  }

  .guide-related-grid {
    grid-template-columns: 1fr !important;
  }

  .guide-related-card {
    min-height: 92px !important;
  }

  .guide-airport-item {
    padding: 15px !important;
  }

  .guide-airport-name {
    font-size: 17px !important;
  }

  .guide-airport-tags {
    gap: 6px !important;
  }

  .guide-airport-tags span {
    height: 24px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }

  .guide-airport-reason,
  .guide-airport-evidence {
    font-size: 13px !important;
  }

  .guide-airport-link {
    width: 100% !important;
    min-height: 40px !important;
  }
}

/* 2026-06-29: final mobile header action styling, aligned with the white/black editorial UI. */
@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    column-gap: 8px !important;
  }

  .site-header .submit-button,
  .mobile-menu-button {
    width: auto !important;
    min-width: 44px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: #111312 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 38px !important;
    text-indent: 0 !important;
    overflow: visible !important;
    box-shadow: 0 8px 20px rgba(17, 19, 18, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  .site-header .submit-button {
    grid-column: 2 / 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .site-header .submit-button::before,
  .site-header .submit-button::after {
    display: none !important;
    content: none !important;
  }

  .mobile-menu-button {
    grid-column: 3 / 4 !important;
    display: inline-grid !important;
    place-items: center !important;
    padding: 0 !important;
    aspect-ratio: 1 !important;
  }

  .mobile-menu-button span {
    grid-area: 1 / 1 !important;
    display: block !important;
    width: 17px !important;
    height: 1.5px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #111312 !important;
    transform-origin: center !important;
  }

  .mobile-menu-button span:nth-child(1) {
    transform: translateY(-5px) !important;
  }

  .mobile-menu-button span:nth-child(2) {
    transform: translateY(0) !important;
  }

  .mobile-menu-button span:nth-child(3) {
    transform: translateY(5px) !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(1) {
    transform: rotate(45deg) !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(3) {
    transform: rotate(-45deg) !important;
  }
}
