:root {
  --ink: #080914;
  --text: #202033;
  --muted: #727083;
  --line: rgba(221, 218, 232, 0.76);
  --paper: #ffffff;
  --soft: #f7f5fb;
  --deep: #050711;
  --navy: #101225;
  --blue: #4d5fff;
  --violet: #8c5cff;
  --purple: #c44dff;
  --pink: #ff5c97;
  --cyan: #55e7ff;
  --shadow: 0 24px 70px rgba(10, 10, 24, 0.12);
}

* { box-sizing: border-box; }

html {
  min-width: 0;
  scroll-behavior: smooth;
  background: #fff;
}

body.site-data {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.site-data::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 92, 151, 0.07), transparent 25%),
    linear-gradient(240deg, rgba(77, 95, 255, 0.07), transparent 30%),
    #fff;
}

body.site-data > .page,
body.site-data > .mobile-export-sheet { display: none !important; }

body.site-data a { color: inherit; text-decoration: none; }
body.site-data img { display: block; max-width: 100%; }
body.site-data button,
body.site-data input { font: inherit; }

.data-site {
  position: relative;
  z-index: 1;
}

.data-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(5, 7, 17, 0.64);
  backdrop-filter: blur(22px);
}

.data-nav {
  width: min(1180px, calc(100% - 48px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.data-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.data-brand > img {
  width: 148px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.data-brand-sqa {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.data-sqa-mark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  line-height: 1;
}

.data-sqa-mark .letters {
  color: #7c69ff;
  font-size: 30px;
  font-weight: 700;
}

.data-sqa-mark .plus {
  position: relative;
  top: -2px;
  margin-left: 1px;
  color: #ff5c97;
  font-size: 26px;
  font-weight: 600;
}

.data-brand-sqa small {
  max-width: 118px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.data-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.data-nav-links a { transition: color 180ms ease, transform 180ms ease; }
.data-nav-links a:hover { color: #ff8db8; transform: translateY(-1px); }

.data-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 12px 28px rgba(196, 77, 255, 0.24);
}

.data-hero {
  position: relative;
  min-height: 660px;
  padding: 154px 0 92px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(5, 7, 17, 0.99) 0%, rgba(14, 16, 34, 0.97) 52%, rgba(39, 22, 66, 0.96) 100%),
    var(--deep);
}

.data-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.20));
  opacity: 0.42;
  animation: dataGrid 18s linear infinite;
}

.data-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 23%;
  height: 42%;
  background: linear-gradient(102deg, transparent 8%, rgba(85, 231, 255, 0.10) 38%, rgba(255, 92, 151, 0.16) 54%, transparent 75%);
  transform: rotate(-8deg);
  animation: dataBeam 8s ease-in-out infinite;
}

.data-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: end;
}

.data-eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.data-hero h1 {
  max-width: 760px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(50px, 5.2vw, 72px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
}

.data-hero h1 span {
  display: block;
  margin-top: 11px;
  background: linear-gradient(90deg, #fff 0%, #ffe0ec 30%, #d8dfff 64%, #8deeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.data-hero-copy {
  max-width: 680px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.85;
}

.data-switcher {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.data-switcher a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.data-switcher a:hover,
.data-switcher a.is-current {
  transform: translateY(-2px);
  border-color: rgba(255, 92, 151, 0.52);
  background: linear-gradient(90deg, rgba(255, 92, 151, 0.26), rgba(77, 95, 255, 0.24));
}

.hero-data-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.30);
}

.hero-data-label {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.hero-data-year {
  margin-top: 10px;
  color: #ff79ad;
  font-size: 76px;
  line-height: 0.94;
  font-weight: 900;
}

.hero-data-stats {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-data-stat strong {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.hero-data-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  line-height: 1.42;
}

.data-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 118px;
}

.data-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  gap: 48px;
  align-items: end;
}

.data-kicker {
  color: var(--purple);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.data-intro h2 {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.data-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.data-controls {
  position: sticky;
  top: 86px;
  z-index: 30;
  margin-top: 42px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 52px rgba(10, 10, 24, 0.10);
  backdrop-filter: blur(18px);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.data-search {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(221, 218, 232, 0.92);
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.data-search:focus {
  border-color: rgba(196, 77, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(196, 77, 255, 0.10);
}

.filter-set {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-set::-webkit-scrollbar { display: none; }

.filter-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(221, 218, 232, 0.94);
  border-radius: 8px;
  background: #fff;
  color: #625e71;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-chip:hover { transform: translateY(-1px); border-color: rgba(196, 77, 255, 0.36); }
.filter-chip.is-active { color: #fff; border-color: transparent; background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue)); }

.results-meta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.results-meta strong { color: var(--ink); font-size: 20px; }

.data-results { margin-top: 18px; }

.topup-table-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.topup-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.topup-table th {
  padding: 17px 16px;
  background: #101225;
  color: rgba(255, 255, 255, 0.66);
  text-align: left;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 1px;
}

.topup-table th:nth-child(1) { width: 10%; }
.topup-table th:nth-child(2) { width: 10%; }
.topup-table th:nth-child(3) { width: 25%; }
.topup-table th:nth-child(4) { width: 20%; }
.topup-table th:nth-child(5) { width: 25%; }
.topup-table th:nth-child(6) { width: 10%; }

.topup-table td {
  padding: 17px 16px;
  border-top: 1px solid rgba(235, 231, 244, 0.84);
  color: #5f5b70;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.58;
}

.topup-table tbody tr { transition: background 180ms ease, transform 180ms ease; }
.topup-table tbody tr:hover { background: #fbf9ff; }

.country-code,
.rank-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.country-code { color: #7053dd; background: #f2edff; }
.rank-pill { color: #fff; background: linear-gradient(135deg, var(--pink), var(--purple)); }

.result-school strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.result-school span {
  display: block;
  margin-top: 3px;
  color: #9994a7;
  font-size: 11px;
  line-height: 1.4;
}

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

.ranking-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.ranking-group-header {
  min-height: 78px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: #101225;
}

.ranking-group-header strong { display: block; font-size: 19px; }
.ranking-group-header span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.50); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }

.ranking-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #ff91ba;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.ranking-list { margin: 0; padding: 8px 20px; list-style: none; }

.ranking-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(235, 231, 244, 0.84);
}

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

.ranking-rank {
  display: inline-flex;
  width: 56px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(196, 77, 255, 0.18);
}

.ranking-school strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.38; }
.ranking-school span { display: block; margin-top: 3px; color: #9994a7; font-size: 11px; line-height: 1.4; }

.empty-state {
  padding: 68px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  color: var(--muted);
}

.empty-state strong { display: block; color: var(--ink); font-size: 22px; }
.empty-state span { display: block; margin-top: 10px; font-size: 14px; }

.data-note-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.data-note {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
}

.data-note h3 { margin: 0; color: var(--ink); font-size: 18px; }
.data-note ol { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.data-note li { margin-top: 9px; font-size: 13px; line-height: 1.7; }

.data-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 104px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(125deg, #080914, #201633 62%, #303fa6);
  box-shadow: 0 30px 88px rgba(10, 10, 24, 0.22);
}

.data-cta h2 { margin: 8px 0 0; font-size: clamp(29px, 3.6vw, 46px); line-height: 1.12; }
.data-cta p { max-width: 720px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.66); font-size: 15px; line-height: 1.76; }

.data-qr-set { display: flex; gap: 12px; }
.data-qr {
  width: 116px;
  padding: 9px;
  border-radius: 8px;
  background: #fff;
  color: #5d586b;
  text-align: center;
}

.data-qr img { width: 98px; height: 98px; object-fit: cover; border-radius: 4px; }
.data-qr.wechat img { object-position: top; }
.data-qr span { display: block; margin-top: 7px; font-size: 10px; font-weight: 850; }

.data-footer {
  color: rgba(255, 255, 255, 0.52);
  background: #050711;
}

.data-footer-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.2px;
}

.reveal-data {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal-data.is-visible { opacity: 1; transform: translateY(0); }

@keyframes dataGrid { to { background-position: 64px 64px; } }
@keyframes dataBeam { 0%, 100% { transform: translateX(-2%) rotate(-8deg); opacity: 0.66; } 50% { transform: translateX(8%) rotate(-8deg); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .data-hero::before,
  .data-hero::after { animation: none !important; }
  .reveal-data { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
  .data-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-data-panel { max-width: 520px; }
  .data-intro { grid-template-columns: 1fr; gap: 20px; }
  .ranking-groups { grid-template-columns: 1fr; }
  .topup-table th:nth-child(1),
  .topup-table td:nth-child(1) { display: none; }
  .topup-table th:nth-child(2) { width: 12%; }
  .topup-table th:nth-child(3) { width: 28%; }
  .topup-table th:nth-child(4) { width: 20%; }
  .topup-table th:nth-child(5) { width: 28%; }
  .topup-table th:nth-child(6) { width: 12%; }
}

@media (max-width: 760px) {
  .data-nav { width: calc(100% - 32px); height: 66px; }
  .data-brand > img { width: 124px; }
  .data-brand-sqa small { display: none; }
  .data-sqa-mark .letters { font-size: 25px; }
  .data-sqa-mark .plus { top: -2px; font-size: 22px; }
  .data-nav-links a:not(.data-nav-action) { display: none; }
  .data-hero { min-height: 0; padding: 128px 0 72px; }
  .data-hero-inner,
  .data-main,
  .data-cta,
  .data-footer-inner { width: calc(100% - 32px); }
  .data-hero h1 { font-size: clamp(44px, 13.5vw, 66px); }
  .data-hero-copy { font-size: 16px; line-height: 1.76; }
  .data-main { padding-top: 72px; padding-bottom: 84px; }
  .data-controls { top: 74px; }
  .search-row { grid-template-columns: 1fr; }
  .filter-set { padding-bottom: 2px; }
  .topup-table-shell { border: 0; box-shadow: none; background: transparent; overflow: visible; }
  .topup-table,
  .topup-table tbody,
  .topup-table tr,
  .topup-table td { display: block; width: 100%; }
  .topup-table thead { display: none; }
  .topup-table tbody { display: grid; gap: 12px; }
  .topup-table tbody tr {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 52px rgba(10, 10, 24, 0.08);
  }
  .topup-table td,
  .topup-table td:nth-child(1) { display: block; padding: 0; border: 0; }
  .topup-table td + td { margin-top: 13px; }
  .topup-table td::before {
    display: block;
    margin-bottom: 5px;
    color: #a09aaa;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
  }
  .topup-table td:nth-child(1)::before { content: "国家 / 地区"; }
  .topup-table td:nth-child(2)::before { content: "2027 QS"; }
  .topup-table td:nth-child(3)::before { content: "院校"; }
  .topup-table td:nth-child(4)::before { content: "学术要求（GU）"; }
  .topup-table td:nth-child(5)::before { content: "语言要求"; }
  .topup-table td:nth-child(6)::before { content: "续本时长"; }
  .data-note-grid { grid-template-columns: 1fr; }
  .data-cta { grid-template-columns: 1fr; padding: 26px; }
  .data-qr-set { justify-content: flex-start; }
  .data-footer-inner { min-height: 112px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

@media (max-width: 460px) {
  .data-brand { gap: 10px; }
  .data-brand > img { width: 112px; }
  .data-brand-sqa { padding-left: 10px; }
  .data-nav-action { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .data-eyebrow { font-size: 10px; letter-spacing: 1.3px; }
  .data-hero h1 { font-size: 45px; }
  .hero-data-year { font-size: 62px; }
  .hero-data-panel { padding: 22px; }
  .hero-data-stats { grid-template-columns: 1fr 1fr; }
  .data-intro h2 { font-size: 36px; }
  .data-controls { margin-left: -4px; margin-right: -4px; padding: 10px; }
  .results-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .ranking-list { padding-left: 16px; padding-right: 16px; }
  .ranking-group-header { padding-left: 16px; padding-right: 16px; }
  .ranking-item { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; }
  .ranking-rank { width: 50px; }
  .data-qr { width: 106px; }
  .data-qr img { width: 88px; height: 88px; }
}
