﻿:root {
  --bg: #edf2fb;
  --surface: #ffffff;
  --surface-soft: #f6f9fe;
  --text: #0e1a2b;
  --muted: #5d6a7d;
  --line: rgba(14, 26, 43, 0.12);
  --primary: #2456d4;
  --primary-dark: #163a93;
  --accent: #c67920;
  --warning: #d0661f;
  --free: #1a7a55;
  --shadow-sm: 0 10px 26px rgba(16, 32, 51, 0.08);
  --shadow-md: 0 22px 52px rgba(16, 32, 51, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --tap-size: 44px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei UI", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(36, 86, 212, 0.16), transparent 32%),
    radial-gradient(circle at 86% 0%, rgba(198, 121, 32, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(36, 86, 212, 0.08) 0, rgba(36, 86, 212, 0) 280px),
    var(--bg);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: -20vh -10vw auto auto;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 86, 212, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(237, 242, 251, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.05);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-height: var(--tap-size);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 22px rgba(36, 86, 212, 0.24);
}

.brand-name {
  font-size: 17px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  min-height: var(--tap-size);
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

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

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

.btn {
  min-height: var(--tap-size);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 720;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 28px rgba(36, 86, 212, 0.24);
}

.btn-ghost {
  color: var(--primary);
  background: #fff;
  border-color: rgba(36, 86, 212, 0.2);
}

.btn-line {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.hero {
  position: relative;
  padding: clamp(34px, 5vw, 68px) 0 12px;
}

.tag {
  margin: 0 0 10px;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(36, 86, 212, 0.16);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 760;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.hero-sub {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.hero-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-facts {
  max-width: 740px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.hero-facts strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.hero-facts span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.block {
  margin-top: 40px;
  scroll-margin-top: 88px;
}

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

.block h2,
.policy-page-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.block-head a {
  min-height: var(--tap-size);
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 720;
  white-space: nowrap;
}

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 254, 0.98));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 86, 212, 0.22);
  box-shadow: var(--shadow-md);
}

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

.quick-links a {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
  text-decoration: none;
  font-weight: 720;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 86, 212, 0.24);
  background: rgba(242, 246, 255, 0.96);
  box-shadow: 0 10px 20px rgba(36, 86, 212, 0.1);
}

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

.card-link {
  color: inherit;
  text-decoration: none;
}

.country-card {
  display: grid;
  min-height: 220px;
  gap: 10px;
  overflow: hidden;
  animation: card-rise 0.38s ease both;
  animation-delay: calc(var(--card-index, 0) * 45ms);
}

.country-card::before {
  content: "";
  height: 5px;
  margin: -18px -18px 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.country-card-top,
.detail-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

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

.detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(36, 86, 212, 0.16);
  border-radius: 999px;
  background: rgba(241, 245, 255, 0.9);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 720;
}

.country-card h3,
.card h3,
.policy-detail-pane h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.country-card p,
.card p,
.policy-detail-pane p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.country-card strong,
.policy-detail-pane strong {
  color: var(--text);
}

.card-more {
  margin-top: auto;
  color: var(--primary);
  font-size: 13px;
  font-weight: 760;
}

.status-pill {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.status-pill.need {
  color: #8a4f12;
  background: rgba(208, 102, 31, 0.12);
  border: 1px solid rgba(208, 102, 31, 0.18);
}

.status-pill.free {
  color: var(--free);
  background: rgba(26, 122, 85, 0.12);
  border: 1px solid rgba(26, 122, 85, 0.18);
}

.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: start;
}

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

.form-card label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 680;
}

.form-card .check-label,
.form-card button {
  grid-column: 1 / -1;
}

.form-card input,
.form-card select,
.policy-tools input,
.policy-tools select,
.tool-actions input,
.tool-actions select,
textarea {
  min-height: var(--tap-size);
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  color: var(--text);
  background: linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.form-card input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-right: 8px;
}

.check-label {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.range-value {
  color: var(--primary);
  font-weight: 760;
}

input[type="range"] {
  accent-color: var(--primary);
  padding-left: 0;
  padding-right: 0;
}

.tip-card {
  position: sticky;
  top: 86px;
}

.tip-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.tip-muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tip-card #evalRate,
.tip-card #evalLevel {
  color: var(--text);
  font-weight: 760;
}

.tip-card #evalRate {
  padding: 12px 14px;
  border: 1px solid rgba(36, 86, 212, 0.16);
  border-radius: 16px;
  color: var(--primary-dark);
  background: #f1f5ff;
}

.risk-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.risk-list li {
  margin: 4px 0;
}

#evalBreakdown {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

#evalBreakdown li {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  line-height: 1.68;
}

#evalBreakdown strong {
  color: var(--text);
}

.countdown-box {
  padding: 16px;
}

.tool-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

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

.count-result {
  margin-top: 14px;
}

.count-summary {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f7fbff;
  display: grid;
  gap: 6px;
}

.count-summary strong {
  color: var(--text);
  font-size: 16px;
}

.count-summary span {
  color: var(--muted);
  line-height: 1.7;
}

.count-summary.low {
  border-color: rgba(26, 122, 85, 0.2);
  background: rgba(26, 122, 85, 0.06);
}

.count-summary.medium {
  border-color: rgba(198, 121, 32, 0.22);
  background: rgba(198, 121, 32, 0.08);
}

.count-summary.high {
  border-color: rgba(208, 102, 31, 0.22);
  background: rgba(208, 102, 31, 0.08);
}

.timeline {
  position: relative;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.timeline-step:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 86, 212, 0.2);
  box-shadow: var(--shadow-sm);
}

.timeline-step time {
  color: var(--primary);
  font-weight: 780;
  white-space: nowrap;
}

.timeline-step strong,
.timeline-step span {
  display: block;
}

.timeline-step span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.65;
}

.timeline-step.strong {
  border-color: rgba(36, 86, 212, 0.24);
  background: #f3f7ff;
}

.timeline-step.danger {
  border-color: rgba(208, 102, 31, 0.26);
  background: rgba(208, 102, 31, 0.07);
}

.timeline-step.soft {
  background: #fbfdff;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq details[open] {
  border-color: rgba(36, 86, 212, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.faq summary {
  min-height: 32px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1.45;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.policy-main {
  margin-top: 30px;
}

.policy-page-head {
  align-items: center;
}

.policy-tools {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  scroll-margin-top: 86px;
}

.policy-meta {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.policy-detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.policy-country-list {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 108px);
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.country-item {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  text-align: left;
  cursor: pointer;
  text-wrap: balance;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.country-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(36, 86, 212, 0.09);
}

.country-item.active {
  border-color: rgba(36, 86, 212, 0.4);
  background: #eef4ff;
  box-shadow: inset 4px 0 0 var(--primary), 0 10px 20px rgba(36, 86, 212, 0.1);
}

.country-item strong {
  display: block;
  font-size: 15px;
}

.country-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  vertical-align: -2px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(16, 38, 60, 0.1);
  margin-right: 8px;
}

.policy-detail-pane {
  padding: clamp(18px, 3vw, 26px);
}

.policy-detail-pane h4 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}

.detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.detail-summary p {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7faff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.detail-summary p:hover {
  border-color: rgba(36, 86, 212, 0.22);
  background: #eff5ff;
}

.detail-summary strong,
.detail-summary span {
  display: block;
}

.detail-summary span {
  margin-top: 6px;
}

.official-links {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.official-links li {
  margin: 0;
}

.official-links a {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.official-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 86, 212, 0.22);
  background: #f4f7ff;
  box-shadow: var(--shadow-sm);
}

.official-links strong {
  color: var(--text);
  font-size: 14px;
}

.official-links span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.footer {
  margin-top: 56px;
  margin-bottom: 26px;
  color: var(--muted);
}

.mobile-quickbar {
  display: none;
}

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

textarea {
  min-height: 320px;
  resize: vertical;
  line-height: 1.65;
}

textarea#adminJson {
  font-family: Consolas, "SFMono-Regular", "Cascadia Mono", monospace;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 0.8, 0.24, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn:focus-visible,
.brand:focus-visible,
.nav a:focus-visible,
.quick-links a:focus-visible,
.card-link:focus-visible,
.country-item:focus-visible,
.official-links a:focus-visible,
.mobile-quickbar a:focus-visible,
.policy-tools input:focus-visible,
.policy-tools select:focus-visible,
.tool-actions input:focus-visible,
.tool-actions select:focus-visible,
.form-card input:focus-visible,
.form-card select:focus-visible,
.faq summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 86, 212, 0.28);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .apply-grid,
  .policy-detail-layout {
    grid-template-columns: 1fr;
  }

  .tip-card,
  .policy-country-list {
    position: static;
    max-height: none;
  }

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

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

  .tool-actions .btn,
  .countdown-actions .btn {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .hero::after {
    opacity: 0.42;
    width: 62%;
    height: 190px;
  }

  .nav {
    display: none;
  }

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

  .form-card {
    grid-template-columns: 1fr;
  }

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

  .policy-tools {
    grid-template-columns: 1fr 1fr;
  }

  .policy-tools .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 620px) {
  :root {
    --radius: 10px;
    --radius-lg: 16px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .has-mobile-quickbar {
    padding-bottom: 78px;
  }

  .topbar-inner {
    height: 62px;
    gap: 10px;
  }

  .brand-name {
    font-size: 16px;
  }

  .top-actions {
    display: none;
  }

  .hero {
    padding-top: 26px;
    padding-bottom: 4px;
  }

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

  .hero h1 {
    font-size: 32px;
    line-height: 1.16;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.72;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-facts div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
  }

  .hero-facts strong,
  .hero-facts span {
    margin: 0;
  }

  .block {
    margin-top: 34px;
  }

  .block-head {
    align-items: start;
    gap: 10px;
  }

  .block-head a {
    min-height: 36px;
    font-size: 14px;
  }

  .card-grid,
  .quick-links,
  .policy-country-list,
  .detail-summary,
  .tool-actions,
  .countdown-actions,
  .policy-tools {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
  }

  .quick-links {
    padding: 10px;
    gap: 8px;
  }

  .quick-links a {
    min-height: 46px;
    padding: 10px;
  }

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

  .country-card::before {
    margin: -16px -16px 4px;
  }

  .country-card-top,
  .detail-title-row {
    align-items: start;
    gap: 8px;
  }

  .country-card h3,
  .card h3,
  .policy-detail-pane h3 {
    font-size: 18px;
  }

  .country-card p,
  .card p,
  .policy-detail-pane p,
  .tip-muted {
    font-size: 14px;
    line-height: 1.72;
  }

  .apply-grid {
    gap: 14px;
  }

  .form-card input,
  .form-card select,
  .policy-tools input,
  .policy-tools select,
  .tool-actions input,
  .tool-actions select,
  .btn,
  textarea {
    min-height: 46px;
  }

  .policy-main {
    margin-top: 24px;
  }

  .policy-country-list {
    padding: 10px;
    scroll-margin-top: 78px;
  }

  .policy-detail-pane {
    padding: 16px;
    scroll-margin-top: 78px;
  }

  .detail-summary p {
    min-height: auto;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline-step time {
    font-size: 13px;
  }

  .mobile-quickbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.16);
    backdrop-filter: blur(14px);
  }

  .mobile-quickbar a {
    min-height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 760;
  }

  .mobile-quickbar a:active {
    background: #eef4ff;
    transform: scale(0.97);
  }
}

@media (hover: none) {
  .card:hover,
  .btn:hover,
  .quick-links a:hover,
  .country-item:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .btn:active,
  .quick-links a:active,
  .country-item:active,
  .card-link:active {
    transform: scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
