:root {
  --paper: #f0e7d7;
  --paper-deep: #e3d5bf;
  --ink: #1c2928;
  --ink-soft: #4a5855;
  --teal: #225b57;
  --teal-dark: #173d3b;
  --cinnabar: #9c3428;
  --gold: #9b7a40;
  --line: rgba(28, 41, 40, 0.18);
  --shadow: rgba(42, 31, 18, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: #d8c9b3;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", STSong, serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  width: 100%;
  min-width: 320px;
  background-color: var(--paper);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M0 12h160M0 57h160M0 112h160M18 0v160M73 0v160M128 0v160' stroke='%23866f4c' stroke-opacity='.06' stroke-width='1'/%3E%3Ccircle cx='30' cy='34' r='1.5' fill='%23866f4c' fill-opacity='.08'/%3E%3Ccircle cx='118' cy='93' r='1' fill='%23866f4c' fill-opacity='.08'/%3E%3C/svg%3E");
  background-color: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 14px 14px 22px;
}

.hero,
.section,
.legal-inner {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(244, 237, 224, 0.84);
  box-shadow: 0 10px 26px var(--shadow);
}

.hero {
  min-height: 420px;
  padding: 28px 20px 20px;
  overflow: hidden;
  border-color: rgba(34, 91, 87, 0.22);
}

.hero::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(156, 52, 40, 0.42);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.recharge-entry {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(156, 52, 40, 0.56);
  padding: 9px 13px;
  background: rgba(255, 252, 245, 0.68);
  color: var(--cinnabar);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(42, 31, 18, 0.08);
}

.seal {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(156, 52, 40, 0.65);
  color: var(--cinnabar);
  font-size: 18px;
  line-height: 1;
}

.eyebrow,
.section-kicker,
.role {
  margin: 0;
  color: var(--cinnabar);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 21px;
  line-height: 1.28;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
  overflow-wrap: anywhere;
  word-break: break-all;
}

p span {
  display: block;
}

.hero-copy {
  max-width: 24em;
  margin-bottom: 18px;
  color: #2d403d;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-meta span {
  border: 1px solid rgba(34, 91, 87, 0.24);
  padding: 6px 9px;
  background: rgba(255, 252, 245, 0.48);
  color: var(--teal-dark);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  line-height: 1;
}

.section {
  margin-top: 14px;
  padding: 18px 16px;
}

.section-kicker {
  margin-bottom: 6px;
}

.intro {
  border-left: 3px solid rgba(34, 91, 87, 0.72);
}

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

.feature-list li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 3px;
  color: var(--teal-dark);
  font-size: 16px;
}

.feature-list span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.notice-list {
  display: grid;
  gap: 9px;
}

.notice-card {
  border-top: 1px solid rgba(28, 41, 40, 0.14);
  padding: 10px 0 0;
}

.notice-card h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.notice-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.notice-type {
  margin-bottom: 3px;
  color: var(--cinnabar);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.section-head {
  display: block;
  margin-bottom: 14px;
}

.section-head h2,
.section-head p {
  margin-bottom: 0;
}

.section-head > p {
  max-width: 12em;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

.character-grid {
  display: grid;
  gap: 12px;
}

.character-card {
  overflow: hidden;
  border: 1px solid rgba(28, 41, 40, 0.16);
  background: #efe4d0;
}

.character-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid rgba(28, 41, 40, 0.16);
  background-color: #dfd1bc;
}

.character-copy {
  padding: 12px 13px 14px;
}

.character-copy p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
}

.recharge-shell {
  max-width: 760px;
}

.recharge-hero {
  min-height: 310px;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(156, 52, 40, 0.35);
  color: var(--cinnabar);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  text-decoration: none;
}

.recharge-form {
  display: grid;
  gap: 0;
}

.recharge-panel h2 {
  margin-bottom: 12px;
}

.field-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  color: var(--teal-dark);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(28, 41, 40, 0.2);
  border-radius: 0;
  padding: 9px 10px;
  background: rgba(255, 252, 245, 0.58);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: rgba(34, 91, 87, 0.62);
  box-shadow: 0 0 0 2px rgba(34, 91, 87, 0.1);
}

.field-note {
  margin: 10px 0 0;
  color: rgba(74, 88, 85, 0.86);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  line-height: 1.65;
}

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

.package-card,
.confirm-button {
  border-radius: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

.package-card {
  min-height: 74px;
  border: 1px solid rgba(28, 41, 40, 0.16);
  padding: 10px;
  background: rgba(255, 252, 245, 0.48);
  color: var(--ink);
  text-align: left;
}

.package-card .points,
.package-card .price {
  display: block;
}

.package-card .points {
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.package-card .price {
  margin-top: 8px;
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 700;
}

.package-card.is-selected {
  border-color: rgba(156, 52, 40, 0.62);
  background: rgba(156, 52, 40, 0.08);
  box-shadow: inset 0 0 0 1px rgba(156, 52, 40, 0.22);
}

.fixed-pay-method {
  margin-bottom: 0;
  border: 1px solid rgba(28, 41, 40, 0.16);
  padding: 10px 12px;
  background: rgba(255, 252, 245, 0.48);
  color: var(--teal-dark);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(28, 41, 40, 0.16);
}

.summary-list div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(28, 41, 40, 0.12);
  padding: 8px 0;
}

.summary-list dt,
.summary-list dd {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.summary-list dt {
  color: rgba(28, 41, 40, 0.62);
}

.summary-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.summary-list .summary-total dd {
  color: var(--cinnabar);
  font-size: 17px;
}

.confirm-button {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid rgba(34, 91, 87, 0.52);
  background: var(--teal-dark);
  color: #fff7e8;
  font-size: 14px;
  font-weight: 700;
}

.result-message {
  min-height: 1.8em;
  margin: 10px 0 0;
  color: var(--cinnabar);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.legal {
  padding: 0 14px 20px;
}

.legal-inner {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 20px 16px 18px;
  border-color: rgba(28, 41, 40, 0.12);
  background: #1a1618;
  color: #d8c2cf;
  text-align: center;
}

.health-advice,
.record-line,
.company-line,
.concept-note {
  margin-bottom: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.health-advice {
  color: #b689a5;
  font-size: 12px;
  line-height: 1.8;
}

.record-line {
  margin-top: 14px;
  color: #f4e8c6;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", STSong, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 0 8px rgba(244, 232, 198, 0.34);
}

.company-line {
  margin-top: 11px;
  color: #b689a5;
  font-size: 14px;
  line-height: 1.6;
}

.concept-note {
  width: fit-content;
  margin: 16px auto 0;
  border-top: 1px solid rgba(182, 137, 165, 0.35);
  padding-top: 10px;
  color: rgba(216, 194, 207, 0.76);
  font-size: 11px;
  line-height: 1.6;
}

@media (min-width: 700px) {
  .site-shell {
    padding: 22px 22px 28px;
  }

  .hero {
    min-height: 360px;
    padding: 34px 34px 26px;
  }

  .recharge-entry {
    top: 28px;
    right: 30px;
    padding: 11px 16px;
    font-size: 15px;
  }

  .recharge-hero {
    min-height: 300px;
  }

  h1 {
    font-size: 36px;
  }

  .section {
    margin-top: 16px;
    padding: 24px;
  }

  .section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
  }

  .section-head > p {
    margin-top: 0;
    text-align: right;
  }

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-list li {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 14px;
  }

  .notice-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
  }

  .notice-card {
    padding-top: 12px;
  }

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

  .field-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

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

  .summary-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
  }

  .summary-list .summary-total {
    grid-column: 1 / -1;
  }

  .legal {
    padding: 0 22px 24px;
  }

  .legal-inner {
    padding: 24px;
  }
}

@media (max-width: 380px) {
  .site-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 19px;
  }

  .record-line {
    font-size: 15px;
  }
}
