:root {
  color-scheme: light;
  --paper: #faf9f5;
  --white: #fff;
  --ink: #182f34;
  --muted: #496064;
  --jade: #125b53;
  --line: #e1e7e3;
  --red: #a23d32;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
html:has(dialog[open]) { overflow: hidden }
body { margin: 0; font-size: 1rem; line-height: 1.6 }
h1, h2, h3, p { margin: 0 }
button, input, select { font: inherit; color: inherit }
button, select, summary { cursor: pointer }
button:disabled { cursor: default }
a { text-decoration: none; color: inherit }
:focus-visible { outline: 3px solid #bf5943; outline-offset: 4px }
[hidden] { display: none !important }
.screen-reader, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip:focus { display: block; text-align: center; padding: 9px }
.wrap { width: min(1192px, calc(100% - 80px)); margin-inline: auto }
.section { scroll-margin-top: 88px; margin-top: clamp(48px, 6vw, 88px) }

.header { position: sticky; top: 0; z-index: 2; background: #faf9f5f5; border-bottom: 1px solid #183f3610; backdrop-filter: blur(16px) }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px }
.header-inner { min-height: 68px }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; white-space: nowrap }
.seal { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 11px; color: white; background: var(--jade); font: 750 1.33rem/1 "KaiTi", "Songti SC", var(--sans) }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 38px); font-weight: 650; color: var(--muted); font-size: .94rem }
nav a { padding-block: 6px; border-bottom: 2px solid transparent }
nav a:hover, nav a[aria-current] { color: var(--jade); border-color: #539287 }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: 9px 17px; border: 1px solid transparent; border-radius: 11px; font-size: .93rem; font-weight: 750; white-space: nowrap; transition: background .18s, border-color .18s }
.button-small { min-height: 38px; padding: 6px 13px; font-size: .85rem }
.button-primary { background: var(--jade); color: white }
.button-primary:hover { background: #104a44 }
.button-glass { border-color: #8eb5ad9c; background: #f5fffbba; color: #1e514d }
.button-glass:hover { background: #f6fffd }
.button-subtle { color: var(--jade); border-color: #cfddd6; background: #f1f6f3 }
.button-subtle:hover { background: #e6f0ec }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #d9eff0 }
.hero::before { position: absolute; z-index: -2; inset: 0 max(0px, calc((100vw - 1700px)/2)) 0 auto; width: min(80vw, 1200px); content: ""; background: url("assets/changan-sky.webp") center 34% / cover no-repeat }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #dceff1 4%, #dceff1ee 18%, #dceff15c 39%, transparent 62%), linear-gradient(0deg, #dceff166, transparent 20%) }
.hero-inner { display: flex; align-items: center; min-height: clamp(430px, 36.5vw, 550px); padding-block: 48px }
.hero-copy { max-width: 510px }
.hero-type { color: #265a57; font-weight: 720; letter-spacing: .16em; font-size: .9rem; margin-bottom: 4px }
.hero h1 { font: 900 clamp(4.2rem, 7.45vw, 7.1rem)/1.08 "KaiTi", "Songti SC", var(--sans); letter-spacing: -.065em; color: #133a42; white-space: nowrap; text-shadow: 0 4px 22px #f3fffeb0 }
.hero h1 span { color: var(--jade) }
.hero-description { margin-top: 14px; color: #284f55; font-weight: 550; font-size: clamp(1.05rem, 1.45vw, 1.2rem) }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 24px }
.hero-actions .button { min-height: 48px; min-width: 123px }

.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px }
h2 { font-size: clamp(1.75rem, 2.65vw, 2.5rem); line-height: 1.18; font-weight: 820; letter-spacing: -.045em }
.section-note { margin-top: 12px; color: var(--muted); font-size: .88rem }
.welfare-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(115px, 1fr)); gap: 12px }
.feature, .welfare-tile { text-align: left; border: 1px solid transparent; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; transition: transform .2s, border-color .2s }
.feature:hover, .welfare-tile:hover { transform: translateY(-3px); border-color: #79a99d }
.feature { border-radius: 19px; padding: clamp(19px, 2.4vw, 31px); justify-content: center }
.welfare-feature { grid-row: span 2; min-height: 251px; background: linear-gradient(90deg, #fff2e6f2, #fff2e6bd 31%, #fff2e636 63%, transparent), url("assets/welfare-gift.webp") center 52% / cover no-repeat, #f9e3ce; border-color: #f3d9c5; color: #5b3025 }
.feature-title { font-size: clamp(1.75rem, 3vw, 2.55rem); font-weight: 820; letter-spacing: -.045em; line-height: 1.13 }
.feature-description { margin-top: 9px; font-size: .95rem; max-width: 30ch }
.feature-action { margin-top: 22px; padding: 6px 10px; border: 1px solid #bb8a6961; border-radius: 100px; font-size: .85rem; font-weight: 730; color: #723e2b; background: #fffaf2d6 }
.welfare-tile { border-radius: 16px; padding: clamp(16px, 2vw, 23px); justify-content: center; gap: 5px; color: #174e48; isolation: isolate }
.welfare-tile::after { content: ""; position: absolute; z-index: -1; width: 115px; height: 115px; top: -24px; right: -38px; border-radius: 22px; transform: rotate(34deg); border: 14px double #4d94781b }
.tile-title { font-size: clamp(1.05rem, 1.65vw, 1.35rem); font-weight: 780; line-height: 1.3 }
.tile-meta { font-size: .91rem; color: #416962 }
.recharge-tile { background: #e4f2ec; border-color: #d3e8de }
.cumulative-tile { background: #f7ecd9; border-color: #eadcc4; color: #67491e }
.cumulative-tile .tile-meta { color: #695632 }
.cumulative-tile::after { border-color: #b1833d2b }
.sign-tile { grid-column: 2 / -1; background: #e8eef9; border-color: #dae4f3; color: #29456e }
.sign-tile .tile-meta { color: #49627d }
.sign-tile::after { border-color: #587dab23 }

.activity-showcase { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); gap: 14px }
#activity-feature { display: flex }
.activity-feature { width: 100%; min-height: 287px; color: white; justify-content: end; background: linear-gradient(90deg, #101e43ba, #101e4347 57%, transparent), linear-gradient(0deg, #10204184, transparent 42%), url("assets/activity-stars.webp") center 49% / cover no-repeat, #223862 }
.feature-kicker { display: inline-flex; margin-bottom: 11px; padding: 3px 9px; border-radius: 100px; color: #f0f7ff; font-size: .82rem; font-weight: 730; background: #294773e8; border: 1px solid #bed3f15c }
.activity-feature .feature-description { color: #e4eefb }
.activity-shortlist { display: flex; flex-direction: column; justify-content: space-between; padding: 5px 16px; border-radius: 16px; border: 1px solid var(--line); background: white }
.activity-entry { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; width: 100%; min-height: 53px; padding: 7px 4px; border: 0; border-bottom: 1px solid #edf0ec; background: transparent }
.activity-entry:last-child { border-bottom: 0 }
.activity-entry:hover { color: var(--jade); background: #f7fbf9 }
.tag { display: inline-flex; white-space: nowrap; gap: 6px; padding: 3px 7px; border-radius: 6px; color: #256155; background: #e9f3ee; font-size: .77rem; font-weight: 730 }
.activity-name { font-weight: 700 }
.activity-gate { font-size: .88rem; color: var(--muted) }
#download { margin-bottom: clamp(42px, 6vw, 82px) }
.download { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: clamp(20px, 4vw, 42px); background: #e9f2ed; border: 1px solid #dce9e3; border-radius: 17px }
.download h2 { font-size: clamp(1.4rem, 2.25vw, 1.9rem) }
#download-note { margin-top: 6px; color: var(--muted); font-size: .9rem }
.download-actions { display: flex; gap: 8px; flex-wrap: wrap }
.download-actions button { background: #f3f8f5; color: #536965; border-color: #d0dfd7 }
footer { border-top: 1px solid var(--line); padding: 19px 0; background: #f7f7f2; font-size: .9rem; color: var(--muted) }
footer .brand { font-size: 1rem; color: var(--ink) }
footer .seal { width: 27px; font-size: .95rem }

dialog { padding: 0; width: min(760px, calc(100% - 38px)); max-width: none; max-height: min(80vh, 780px); color: var(--ink); background: white; border: 0; border-radius: 19px; box-shadow: 0 20px 100px #10262855; overflow: hidden }
dialog[open] { display: flex; flex-direction: column }
dialog::backdrop { background: #11282d8f; backdrop-filter: blur(4px) }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px clamp(16px, 3vw, 24px); border-bottom: 1px solid var(--line) }
.dialog-header h2 { font-size: 1.45rem }
.dialog-body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 15px clamp(14px, 3vw, 24px) 23px }
.welfare-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 11px; background: #edf3ef }
.welfare-tabs button { border: 1px solid transparent; border-radius: 8px; padding: 7px 2px; color: var(--muted); background: transparent; font-size: .92rem; font-weight: 670; white-space: nowrap }
.welfare-tabs [aria-selected="true"] { background: white; color: var(--jade); border-color: #cedfd5 }
.reward-panel { padding-top: 15px }
.panel-note, .panel-heading p, .note { color: var(--muted); font-size: .91rem }
.panel-note, .panel-heading { margin-bottom: 11px }
.panel-heading h3, .reward-row > h3 { margin-bottom: 5px }
.reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px }
.reward-card { min-width: 0; border: 1px solid #e2ebe5; border-radius: 16px; background: linear-gradient(145deg, #f5faf7, #fff); padding: 18px }
.card-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px; margin-bottom: 12px }
.card-header h3 { font-size: 1rem }
.card-header .code { color: var(--jade); font: 750 1.12rem Consolas, monospace; letter-spacing: .045em }
.card-header small { color: #95603e; font-size: .85rem; font-weight: 700; padding: 4px 9px; border-radius: 20px; background: #fbf0df }
.item small { color: var(--muted); font-size: .79rem }
.copy { border: 1px solid #cddfd5; border-radius: 6px; padding: 3px 8px; color: var(--jade); background: white; font-size: .84rem; white-space: nowrap }
.copy:hover { background: #e7f1ec }
.items { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px }
.item { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 9px; padding: 7px 10px; border-radius: 9px; background: #fff; font-size: .91rem }
.item span:first-child { min-width: 0; overflow-wrap: anywhere }
.item small { display: block }
.amount { font-weight: 750; color: #315d54; white-space: nowrap; font-variant-numeric: tabular-nums }
.reward-row + .reward-row, .disclosure { margin-top: 15px }
.reward-choices { display: flex; gap: 8px; overflow-x: auto; padding: 3px 2px 12px; scrollbar-color: #c5d8cc transparent; scrollbar-width: thin }
.reward-choice { flex: 0 0 auto; min-width: 78px; min-height: 42px; padding: 8px 13px; border: 1px solid #dce8e1; border-radius: 11px; background: #f5f9f6; color: var(--muted); font-weight: 700 }
.reward-choice:hover { border-color: #85b5a8 }
.reward-choice[aria-pressed="true"] { color: #fff; background: var(--jade); border-color: var(--jade) }
.selected-reward { max-width: 460px }
.sign-common { margin-bottom: 12px }
.sign-common .items { margin-top: 5px }
.disclosure summary { color: var(--jade); padding-block: 5px; font-weight: 700 }
.disclosure .reward-grid { margin-top: 8px }
.activity-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px }
.filters { display: flex; flex-wrap: wrap; gap: 4px }
.filter { padding: 4px 9px; border: 1px solid transparent; border-radius: 7px; background: #eef4f0; color: var(--muted); font-size: .87rem }
.filter[aria-pressed="true"] { color: white; background: var(--jade); font-weight: 720 }
.search input { width: 180px; min-height: 35px; padding: 5px 9px; font-size: .9rem; border: 1px solid #cedcd4; border-radius: 7px; background: white }
.activity-grid { display: grid }
.activity-card { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; gap: 2px 9px; padding: 10px 3px; border-bottom: 1px solid var(--line) }
.activity-card h3 { font-size: 1rem }
.activity-card p { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere }
.more { margin-top: 10px }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px) }
  .hero-inner { min-height: 430px }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 28px) }
  .section { margin-top: 41px; scroll-margin-top: 72px }
  .header-inner { min-height: 55px; gap: 7px }
  .brand { gap: 6px; font-size: .99rem }
  .seal { width: 27px; font-size: 1rem; border-radius: 8px }
  nav { gap: 8px; font-size: .79rem }
  .home-link { display: none }
  .header .button { min-height: 35px; padding-inline: 7px; font-size: .8rem }
  .hero::before { width: 100%; inset: 0 0 auto; height: 77%; background-position: 56% 29% }
  .hero::after { background: linear-gradient(0deg, #e6f3ef 8%, #e6f3ef 27%, #e6f3efe0 36%, #e6f3ef00 58%) }
  .hero-inner { justify-content: center; align-items: end; text-align: center; min-height: 464px; padding-block: 0 24px }
  .hero-type { font-size: .83rem; margin-bottom: 5px }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 5rem) }
  .hero-description { font-size: .99rem; margin-top: 6px }
  .hero-actions { justify-content: center; margin-top: 15px }
  .hero-actions .button { min-width: 100px; min-height: 42px; padding-inline: 11px }
  .section-heading { margin-bottom: 13px }
  .welfare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 8px }
  .welfare-feature { grid-row: auto; grid-column: 1 / -1; min-height: 190px }
  .welfare-tile { min-height: 82px }
  .tile-meta { font-size: .84rem }
  .sign-tile { grid-column: 1 / -1 }
  .activity-showcase { grid-template-columns: 1fr; gap: 8px }
  .activity-feature { min-height: 214px }
  .activity-shortlist { padding: 3px 10px }
  #download { margin-bottom: 32px }
  .footer-inner { gap: 8px; font-size: .78rem }
  dialog { width: 100%; max-height: 87dvh; margin: auto 0 0; border-radius: 18px 18px 0 0 }
  .welfare-tabs button { font-size: .83rem }
  .reward-grid { grid-template-columns: 1fr }
  .search, .search input { width: 100% }
}
@media (max-width: 350px) { .header .brand .seal { display: none } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } .button, .feature, .welfare-tile { transition: none } .feature:hover, .welfare-tile:hover { transform: none } }
