:root {
  --bg: #f6f7f8;
  --panel: #ffffff;
  --panel-soft: #f0f2f4;
  --line: #d4d8de;
  --line-strong: #aeb5bf;
  --text: #2f343b;
  --muted: #727983;
  --blue: #5d6673;
  --blue-dark: #2f343b;
  --pink: #f3dddd;
  --pink-text: #93434a;
  --mint: #edf3f0;
  --shadow: 0 18px 54px rgba(37, 43, 51, 0.09);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(34, 39, 46, 0.06), transparent 78px),
    linear-gradient(270deg, rgba(34, 39, 46, 0.06), transparent 78px),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(47, 52, 59, 0.12);
}

.page-shell {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 8px 0 18px;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 0 18px;
}

.avatar-ring {
  width: 118px;
  height: 118px;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dfe3e8, #8e97a3);
  box-shadow: var(--shadow);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e4e7eb;
}

h1 {
  margin: 4px 0 0;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1;
  color: #2f343b;
  letter-spacing: 0;
}

.tg-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f0f2f4;
  color: var(--blue);
  font-weight: 800;
}

.tg-pill .icon,
.tg-pill b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 11px;
}

.tag-panel,
.text-card,
.compact-card,
.payment,
.contact-card,
.action-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.tag-panel {
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #4f5865;
  font-size: 14px;
  font-weight: 700;
  max-width: 100%;
}

.tag-dot {
  width: 16px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #b9c0c8);
}

.notice {
  margin: 14px 0 0;
  color: #4d5662;
  font-size: 14px;
  line-height: 1.7;
}

.action-grid,
.service-grid,
.price-grid,
.plan-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

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

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

.action-card {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 100px;
  padding: 18px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  overflow-wrap: anywhere;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.service-link {
  min-height: 112px;
}

.big-icon {
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}

.action-card strong {
  margin-top: 10px;
  color: #303741;
  font-size: 18px;
  text-align: center;
}

.action-card small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

.text-card,
.compact-card,
.payment,
.contact-card {
  padding: 18px 16px;
}

h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
  color: #303741;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.text-card p {
  margin: 8px 0;
  font-size: 15px;
}

.alert,
.warning {
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--pink);
  color: var(--pink-text);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.price-list {
  display: grid;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 28px;
  border-bottom: 1px dashed #d7dbe0;
  font-size: 14px;
}

.price-row b {
  font-weight: 500;
}

.vpn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  margin: 2px 0 16px;
  padding: 12px 18px;
  border-radius: 18px;
  background: #eef0f2;
  color: #4f5865;
  text-align: center;
  line-height: 1.7;
}

.payment {
  margin-bottom: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
}

.section-title span {
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef0f2;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.method-list,
.tip-list,
.payment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.method {
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid #c5cad1;
  border-radius: 999px;
  background: #f3f5f6;
  color: #303741;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.method:nth-child(2) {
  background: var(--mint);
}

.payment-meta {
  justify-content: space-between;
  margin: 18px 0 12px;
  color: #424a55;
  font-size: 14px;
  line-height: 1.7;
}

.tip {
  color: #66707c;
  font-size: 13px;
}

.contact-card {
  display: grid;
  justify-items: center;
  margin-bottom: 18px;
  text-align: center;
}

.contact-card h2 {
  margin-bottom: 6px;
  border: 0;
  padding: 0;
}

.contact-card p {
  margin: 5px 0;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #f0f2f4;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

footer {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  color: #69727d;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 760px) {
  body {
    background: var(--bg);
  }

  .page-shell {
    width: min(100% - 14px, 900px);
    padding-top: 8px;
  }

  .action-grid,
  .service-grid,
  .price-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .tag-panel,
  .text-card,
  .compact-card,
  .payment,
  .contact-card,
  .action-card {
    border-radius: 18px;
  }

  .avatar-ring {
    width: 98px;
    height: 98px;
  }

  h1 {
    font-size: 32px;
  }

  .tag-panel {
    padding: 14px 12px;
    margin-bottom: 14px;
  }

  .tags {
    gap: 8px;
  }

  .tag {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 13px;
  }

  .action-grid,
  .service-grid {
    gap: 12px;
    margin-bottom: 14px;
  }

  .action-card {
    min-height: 92px;
    padding: 15px 12px;
  }

  .service-link {
    min-height: 98px;
  }

  .big-icon {
    font-size: 28px;
  }

  .payment,
  .contact-card {
    padding: 15px 12px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .method-list,
  .tip-list,
  .payment-meta {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .method {
    display: block;
    width: 100%;
    text-align: center;
  }

  .warning {
    padding: 10px 12px;
    line-height: 1.7;
  }

  footer {
    width: min(100% - 14px, 900px);
  }
}

@media (min-width: 520px) and (max-width: 760px) {
  .action-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
