/* 各页面专用样式（外壳和通用组件在 site.css） */

/* =================== 首页 =================== */
/* 首屏：浅色流体丝绸 + 答疑滚动栏 */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 32px 0 48px; margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + 32px); }
@supports (overflow: clip) { .hero { overflow: clip; } }
.hero__bg { /* 画布出来之前、或不支持 WebGL 时的静态底 */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 80% 30%, #e2e9f7, transparent 70%),
    radial-gradient(60% 50% at 30% 90%, rgba(178, 194, 232, .35), transparent 70%),
    var(--bg);
}
.hero__silk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.hero__silk.is-ready { opacity: 1; }
.hero__grid { display: grid; gap: 36px; align-items: start; }
.hero__copy { display: grid; gap: 20px; justify-items: start; padding-top: 8px; }
.hero__copy .lead { max-width: 26em; }
.hero__cta { margin-top: 8px; }
@media (min-width: 960px) {
  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 32px; }
  .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
  .hero__copy { padding-top: 0; }
}
.btn--glass { background: rgba(255, 255, 255, .6); }

/* 答疑滚动栏 */
.qa-wrap { display: grid; gap: 10px; min-width: 0; }
.qa {
  position: relative; overflow: hidden;
  height: min(58vh, 480px); min-height: 360px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
}
@media (min-width: 960px) { .qa { height: calc(100vh - var(--nav-h) - 110px); height: calc(100svh - var(--nav-h) - 110px); min-height: 480px; max-height: 780px; } }
.qa--static { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.qa__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; } /* 两列各按自己的高度，-50% 才正好是一份 */
@media (min-width: 960px) { .qa__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.qa__col { display: grid; align-content: start; }
.qa__run, .qa__copy { display: grid; gap: 14px; padding-bottom: 14px; } /* 两份一模一样，-50% 正好是一份 */
.qa--static .qa__run { padding-top: 24px; padding-bottom: 40px; }
.motion .qa:not(.qa--static) .qa__col { animation: qa-up 40s linear infinite; will-change: transform; }
.motion .qa:not(.qa--static) .qa__col--down { animation-name: qa-down; }
.qa.is-held .qa__col, .qa.is-off .qa__col { animation-play-state: paused !important; }
@media (hover: hover) and (pointer: fine) { .qa:hover .qa__col { animation-play-state: paused !important; } }
@keyframes qa-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes qa-down { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }

.qa-card {
  position: relative; display: grid; gap: 8px;
  padding: 14px 14px 10px; border-radius: 20px;
  background: #fff; /* 手机上用不透明白卡：毛玻璃压在一直在动的画布上，每帧都要重算模糊 */
  box-shadow: 0 1px 2px rgba(20, 40, 90, .05), 0 10px 28px rgba(20, 40, 90, .07);
}
@media (hover: hover) and (pointer: fine) and (min-width: 960px) {
  .qa-card { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
  .qa-card:hover { box-shadow: 0 1px 2px rgba(20, 40, 90, .05), 0 14px 34px rgba(20, 40, 90, .12); }
}
.qa-card__tag { display: flex; gap: 4px; align-items: baseline; font-size: 12px; line-height: 1.4; color: var(--ink-3); margin: 0; }
.qa-card__tag b { color: var(--blue-ink); font-weight: 650; }
.qa-card__msgs { display: grid; gap: 6px; max-height: 300px; overflow: hidden; }
.qa-card__msgs.is-clipped {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.qa-card__open {
  justify-self: end; border: 0; background: none; padding: 2px 0;
  font-size: 12.5px; font-weight: 600; color: var(--blue-ink);
}
.qa-card__open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* 整张卡都能点 */
.qa-card__open:focus-visible { outline: none; }
.qa-card:has(.qa-card__open:focus-visible) { box-shadow: 0 0 0 3px rgba(36, 84, 252, .35); }

.bub { margin: 0; max-width: 86%; padding: 7px 11px; border-radius: 16px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.bub--s { justify-self: start; background: #eef1f6; color: var(--ink); border-bottom-left-radius: 6px; }
.bub--t { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bub--img { width: 86%; padding: 4px; }
.bub__img { display: block; width: 100%; height: auto; max-height: 190px; object-fit: cover; border-radius: 12px; background: #e6eaf2; }
.bub__text { display: block; }
.bub__quote {
  display: block; margin: 0 0 4px; padding: 4px 8px; border-radius: 8px;
  font-size: 12px; line-height: 1.45; background: rgba(29, 29, 31, .06); color: var(--ink-3);
}
.bub--t .bub__quote { background: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .86); }
.qa-note { color: var(--ink-3); }


/* 完整对话弹层 */
.qa-sheet .sheet__head .qa-card__tag { font-size: 13px; margin: 0; }
.qa-sheet__msgs { display: grid; gap: 8px; }
.qa-sheet .bub { max-width: 84%; font-size: 15px; }
.qa-sheet .bub--img { width: 84%; }
.qa-sheet .bub__img { max-height: 60vh; object-fit: contain; }
.qa-sheet .qa-note { margin-top: 18px; }
@media (min-width: 768px) { .sheet.qa-sheet { width: min(560px, calc(100vw - 48px)); max-height: 86vh; } }

/* =================== 查询器（首页、院校数据页共用） =================== */
.finder-sec { padding-top: 56px; }
@media (min-width: 1024px) { .finder-sec { padding-top: 88px; } }
.finder { padding: 16px; scroll-margin-top: calc(var(--nav-h) + 12px); }
@media (min-width: 768px) { .finder { padding: 24px 28px; } }
.finder__top { margin-bottom: 14px; }
.finder__foot { color: var(--ink-3); margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.finder__q { margin-bottom: 14px; }
.finder__grid { display: grid; gap: 16px; }
.finder__out.is-empty { display: none; }
@media (min-width: 1024px) {
  .finder__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .finder__out { position: sticky; top: calc(var(--nav-h) + 16px); }
  .finder__out.is-empty { display: block; }
}
.finder-more { margin-top: 20px; }
.fstep { padding: 6px 0 10px; }
.fstep__q { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.fstep__hint { margin-top: 12px; }
.fstep--done { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fstep--done + .fstep:not(.fstep--done) { padding-top: 16px; }
.fstep__t { flex: none; width: 2.6em; font-size: 12.5px; color: var(--ink-3); }
.fstep__v { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.fstep__edit { flex: none; display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; color: var(--blue-ink); font-size: 14px; font-weight: 600; padding: 6px 0; }
.fopts { display: grid; gap: 8px; }
.fopt {
  display: grid; gap: 2px; text-align: left; width: 100%;
  padding: 12px 14px; border: 0; border-radius: var(--r-mid);
  background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--t-release) var(--ease-spring), background-color .2s ease;
  touch-action: manipulation;
}
.fopt:active { transform: scale(.98); transition: transform var(--t-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { button.fopt:hover { background: #e8eef9; } }
.fopt__name { font-size: 15px; font-weight: 600; line-height: 1.4; }
.fopt__meta { font-size: 12.5px; color: var(--ink-3); }
.fopt__meta b { color: var(--blue-ink); }
.fopt--off { opacity: .6; background: transparent; }
.fres { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--bg); }
@media (min-width: 768px) { .fres { padding: 22px; } }
.fres__where { color: var(--ink-3); }
.fres__dir { font-weight: 600; margin-top: -6px; }
.fres__code { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fres__num { font-size: clamp(3rem, 13vw, 4.25rem); font-weight: 750; line-height: 1; letter-spacing: -.02em; color: var(--blue); }
.fres__name { font-size: 18px; font-weight: 600; }
.fres__sub { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.fres__note { margin-top: -2px; }
.fres__links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 4px; }
.fres-empty { min-height: 300px; border-radius: 18px; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: var(--ink-3); font-size: 14px; padding: 24px; }
.fres-empty__num { font-size: 56px; font-weight: 750; line-height: 1; color: var(--blue-200); letter-spacing: -.02em; }
.codegrid { display: grid; gap: 12px; }
@media (min-width: 600px) { .codegrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .codegrid { grid-template-columns: repeat(4, 1fr); } }
.code-tile { display: grid; gap: 4px; align-content: start; padding: 20px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--t-release) var(--ease-spring); }
.code-tile:active { transform: scale(.98); transition: transform var(--t-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .code-tile:hover { transform: translateY(-2px); } .code-tile:hover .arr { transform: translateX(4px); } }
.code-tile--811 { background: var(--blue); color: #fff; box-shadow: none; }
.code-tile__num { font-size: 40px; font-weight: 750; line-height: 1.05; letter-spacing: -.02em; }
.code-tile--844 .code-tile__num { color: var(--blue); }
.code-tile__name { font-weight: 650; }
.code-tile__paper, .code-tile__cols { font-size: 13px; line-height: 1.5; opacity: .76; }
.code-tile__go { margin-top: 8px; font-size: 14px; font-weight: 600; }
.code-tile--844 .code-tile__go { color: var(--blue-ink); }
.code-tile .arr { display: inline-block; transition: transform 200ms ease; }

/* =================== 首页：我们提供什么、联系 =================== */
.offer { display: grid; gap: 28px; }
.offer__head { display: grid; gap: 14px; align-content: start; }
@media (min-width: 1024px) {
  .offer { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .offer__head { position: sticky; top: calc(var(--nav-h) + 40px); }
}
.offer__list { display: grid; gap: 14px; }
.offer__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 22px 18px; border-radius: var(--r-card); background: var(--bg); }
@media (min-width: 768px) { .offer__item { padding: 28px 28px; gap: 20px; } }
.offer__n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.offer__d { color: var(--ink-2); margin-top: 6px; font-size: 15.5px; line-height: 1.65; }
.offer__who { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.tl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.tl__step { display: grid; gap: 2px; align-content: start; padding: 10px; border-radius: 12px; font-size: 12px; line-height: 1.45; color: var(--ink-2); background: var(--blue-100); position: relative; }
.tl__step b { font-size: 16px; color: var(--ink); }
.tl__step--1 { background: var(--blue-200); }
.tl__step--2 { background: var(--blue); color: rgba(255, 255, 255, .86); }
.tl__step--2 b { color: #fff; }
.tl__step .ph-tag { justify-self: start; margin-top: 6px; white-space: normal; line-height: 1.35; padding: 2px 6px; font-size: 11px; }
.offer__samples { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; max-width: 420px; }
.paper { margin: 0; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(22, 40, 110, .08), 0 12px 30px rgba(22, 40, 110, .12); }
.paper img { width: 100%; height: auto; }
.exams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 16px; max-width: 420px; }
.exams div { display: grid; justify-items: center; padding: 10px 4px; border-radius: 12px; background: var(--surface); }
.exams b { font-size: 26px; line-height: 1.1; color: var(--blue); font-weight: 700; }
.exams span { font-size: 12px; color: var(--ink-3); }

.contact { display: grid; gap: 24px; }
.contact__copy { display: grid; gap: 14px; align-content: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 48px; } }
.contact__nums { display: grid; gap: 12px; }
@media (min-width: 600px) { .contact__nums { grid-template-columns: 1fr 1fr; } }
.contact__num { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact__big { font-size: clamp(26px, 7.4vw, 32px); font-weight: 700; letter-spacing: .01em; line-height: 1.25; }

/* =================== 商店 =================== */
.shop-remember { min-height: 1.5em; }
.shelf-sec { padding: 16px 0 0; }
@media (min-width: 1024px) { .shelf-sec { padding-top: 28px; } }
.shelf-title { font-size: clamp(1.5rem, 4.4vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.help-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 20px 0 72px; }
.help-card > div { display: grid; gap: 4px; }

/* =================== 班型详情、单项详情 =================== */
.pd { display: grid; grid-template-areas: "gal" "buy" "body"; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 0 56px; }
@media (min-width: 1024px) {
  .pd { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "gal buy" "body buy"; gap: 36px 56px; padding-top: 40px; }
  .pd__buy { align-self: start; position: sticky; top: calc(var(--nav-h) + 20px); }
}
.pd__gal { grid-area: gal; min-width: 0; }
.pd__buy { grid-area: buy; }
.pd__body { grid-area: body; min-width: 0; }
.gal { position: relative; border-radius: var(--r-card); overflow: hidden; background: #e6ebf4; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 16px; }
.gal__slide img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.gal__slide .type-art { border-radius: 14px; }
@media (min-width: 768px) and (max-width: 1023px) { .gal__slide { aspect-ratio: 16 / 9; } }
.gal__dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .7); }
.gal__dots button { width: 18px; height: 18px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.gal__dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(29, 29, 31, .25); transition: background-color .2s ease; }
.gal__dots button[aria-current="true"]::before { background: var(--ink); }
.gal__cap { margin-top: 8px; }
.buy { display: grid; }
.buy__eyebrow { color: var(--ink-3); }
.buy__name { font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.buy__name .chip { font-size: 13px; }
.buy__tagline { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.buy__price { font-size: 36px; line-height: 1.15; margin-top: 14px; }
.buy__label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 18px 0 8px; }
.buy__note { margin-top: 8px; }
.buy__inv { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-input); background: var(--fill); font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.buy__inv.is-on { background: var(--blue-soft); color: var(--blue-ink); }
.buy .btn--block { margin-top: 18px; min-height: 50px; font-size: 17px; }
.buy__compare { text-align: center; margin-top: 14px; font-size: 14.5px; }
.addon { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 13px 14px; border-radius: var(--r-mid); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease; }
.addon input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.addon.is-on { box-shadow: inset 0 0 0 2px var(--blue); background: var(--blue-soft); color: var(--blue-ink); }
.addon span { flex: 1; }
.blk { padding: 32px 0; border-top: 1px solid var(--line); }
.blk:first-child { border-top: 0; padding-top: 8px; }
@media (min-width: 1024px) { .blk { padding: 44px 0; } }
.blk__title { font-size: clamp(1.45rem, 4.2vw, 2rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 16px; }
.pages { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); }
.pages::-webkit-scrollbar { display: none; }
.pages > * { flex: none; width: 62%; max-width: 250px; scroll-snap-align: start; }
@media (min-width: 1024px) { .pages { margin: 0; padding: 4px 2px 16px; } }
.pages .paper-ph { border-radius: 6px; box-shadow: 0 1px 2px rgba(22, 40, 110, .08), 0 12px 30px rgba(22, 40, 110, .12); }
.ticks li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks .ic { color: var(--blue); margin-top: 2px; }
.ticks .grow { flex: 1; }
.has-group + .has-group { margin-top: 22px; }
.has-group__h { font-size: 13px; font-weight: 650; color: var(--ink-3); letter-spacing: .04em; margin-bottom: 8px; }
.up-list li { align-items: baseline; flex-wrap: wrap; }

/* =================== 班型对比 =================== */
.cmp { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.cmp-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cmp-row > div { padding: 10px 4px 12px; text-align: center; font-size: 14px; display: grid; place-items: center; }
.cmp-label { grid-column: 1 / -1; text-align: left !important; place-items: start !important; padding: 14px 16px 0 !important; font-weight: 600; font-size: 15px !important; }
.cmp-label small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.cmp-head { position: sticky; top: var(--nav-h); z-index: 5; border-top: 0; border-radius: var(--r-card) var(--r-card) 0 0; background: rgba(253, 253, 254, .92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.cmp-head > div { padding: 14px 4px 12px; gap: 0; }
.cmp-head b { font-size: 15px; }
.cmp-head small { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cmp-head .cmp-label { display: none; }
.cmp .yes { color: var(--blue); }
.cmp .no { color: var(--ink-4); }
.cmp-text { font-weight: 650; font-variant-numeric: tabular-nums; }
.cmp-refund > div:not(.cmp-label) { font-size: 12px; line-height: 1.5; text-align: left; place-items: start; padding: 10px 6px 14px; color: var(--ink-2); }
.cmp-foot > div { padding: 16px 4px 18px; gap: 6px; }
.cmp-foot b { font-size: 16px; }
@media (min-width: 768px) {
  .cmp-row { grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); }
  .cmp-label { grid-column: auto; padding: 14px 20px !important; align-self: center; }
  .cmp-head .cmp-label { display: block; }
  .cmp-row > div { padding: 14px 8px; }
  .cmp-refund > div:not(.cmp-label) { font-size: 13px; padding: 14px 10px; }
}
.common-list { display: grid; gap: 0 32px; }
@media (min-width: 768px) { .common-list { grid-template-columns: 1fr 1fr; } .common-list li:nth-child(2) { border-top: 1px solid var(--line); } }

/* =================== 确认订单、付款、登录 =================== */
.od { display: grid; gap: 14px; padding: 8px 0 32px; }
@media (min-width: 1024px) { .od { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-top: 16px; } .od-side { position: sticky; top: calc(var(--nav-h) + 20px); } }
.od-main { display: grid; gap: 14px; align-content: start; }
.od-card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.od-card__h .h4 small { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.prod { display: flex; gap: 14px; align-items: flex-start; }
.prod__img { width: 76px; height: 76px; flex: none; border-radius: 12px; overflow: hidden; background: var(--fill); display: grid; place-items: center; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__img .type-art b { font-size: 12px; }
.prod__img .type-art span { display: none; }
.prod__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.prod__price { font-weight: 650; }
.inv-hint { font-size: 13px; margin-top: 8px; color: var(--ink-3); }
.inv-hint.is-ok { color: var(--blue-ink); }
.inv-hint.is-bad { color: var(--danger); }
.addrs { display: grid; gap: 10px; }
.addr { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-mid); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; font-size: 14.5px; line-height: 1.55; }
.addr input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.addr.is-on { box-shadow: inset 0 0 0 2px var(--blue); background: var(--blue-soft); }
.addr-form { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.sumline { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.sumline--total { font-size: 21px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.od-side .btn { margin-top: 16px; }
.od-side__note { margin-top: 12px; }
@media (max-width: 1023px) { .od-side .btn, .od-side__note { display: none; } body[data-page="order"] .buybar { transform: none; } }
.pay { max-width: 420px; margin: 0 auto; padding: 32px 0 48px; text-align: center; display: grid; justify-items: center; }
.pay__amt { font-size: 48px; line-height: 1.15; margin: 4px 0; }
.pay__qr { width: 220px; margin: 22px auto 12px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.pay .btn { margin-top: 22px; }
.lg { max-width: 420px; margin: 0 auto; padding: 36px 0 56px; }
.lg__method { margin: 24px 0 18px; display: grid; gap: 12px; }
.lg__method .input:disabled { background: var(--fill); color: var(--ink-3); }
.lg__row { display: flex; gap: 10px; }
.lg__row .input { flex: 1; min-width: 0; }
.lg__row .btn { flex: none; }
.lg .btn--block { margin-top: 18px; min-height: 50px; }

/* =================== 我的 =================== */
.me { padding: 20px 0 56px; }
.me-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.me-tabs { position: sticky; top: var(--nav-h); z-index: 20; padding: 8px 0 12px; background: var(--bg); }
.me-tabs .seg { width: 100%; display: grid; }
.oc { cursor: pointer; padding: 18px; }
@media (min-width: 768px) { .oc { padding: 22px 24px; } }
.oc + .oc { margin-top: 12px; }
.oc__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.oc__name { font-weight: 650; font-size: 16px; }
.oc__amt { margin-top: 6px; font-size: 18px; }
.status { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--fill); color: var(--ink-2); white-space: nowrap; flex: none; }
.status--blue { background: var(--blue-soft); color: var(--blue-ink); }
.status--warn { background: #fff3c4; color: #6b5300; }
.oc__more { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14.5px; display: grid; gap: 12px; cursor: default; }
.oc__chev { transition: transform .25s var(--ease-out); color: var(--ink-3); }
.oc.is-open .oc__chev { transform: rotate(180deg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.steps span { text-align: center; font-size: 12px; padding: 7px 0; border-radius: 8px; background: var(--fill); color: var(--ink-3); }
.steps span.on { background: var(--blue-soft); color: var(--blue-ink); font-weight: 650; }
.copyline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.copyline:last-child { border-bottom: 0; }
.copyline__txt { min-width: 0; overflow-wrap: anywhere; }
.poster { margin-top: 12px; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; max-width: 280px; display: grid; place-items: center; text-align: center; gap: 10px; padding: 24px; background: linear-gradient(160deg, var(--blue) 0%, #1a3fd0 70%, #13308f 100%); color: #fff; }
.poster b { font-size: 22px; line-height: 1.3; }
.poster .qr { width: 110px; border-radius: 10px; overflow: hidden; background: #fff; }
.poster .ph-tag { white-space: normal; }
.addr-card { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.addr-card + .addr-card { margin-top: 12px; }

/* =================== 院校数据 =================== */
.school section[id] { scroll-margin-top: calc(var(--nav-h) + 56px); }
.sum { margin: 18px 0 14px; }
.chart { padding: 16px 12px 12px; }
@media (min-width: 768px) { .chart { padding: 24px; } }
.chart svg { max-width: 100%; height: auto; display: block; overflow: visible; }
.chart text, .urow svg text, .range text { font-family: var(--font); fill: var(--ink-3); }
.chart .val { fill: var(--ink); font-weight: 600; }
.chart__cap { margin-top: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.legend i.bar { border-radius: 3px; }
.units { margin-top: 10px; }
.urow { display: grid; grid-template-columns: minmax(0, 1fr) 92px auto 16px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.urow--head { cursor: default; font-size: 12px; color: var(--ink-3); padding: 6px 0; }
.urow__name { font-size: 15px; font-weight: 600; line-height: 1.4; }
.urow__meta { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.urow > svg { width: 92px; height: 30px; }
.urow__n { text-align: right; font-size: 14px; white-space: nowrap; min-width: 56px; }
.urow__n small { display: block; font-size: 11px; color: var(--ink-3); }
.urow.is-hl { background: linear-gradient(90deg, var(--blue-soft), transparent 80%); border-radius: 10px; }
.urow__more { grid-column: 1 / -1; display: none; cursor: default; min-width: 0; }
.urow.is-open .urow__more { display: block; }
.urow.is-open .urow__chev { transform: rotate(180deg); }
.urow__chev { color: var(--ink-3); transition: transform .25s var(--ease-out); }
.urow__card { min-width: 0; margin-top: 4px; padding: 16px; border-radius: 18px; background: var(--bg); display: grid; gap: 14px; }
@media (min-width: 768px) { .urow__card { padding: 22px; } }
.urow__card svg { display: block; overflow: visible; }
.urow__h { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.yrs { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; background: var(--surface); border-radius: 12px; padding: 8px 0; }
.yrs b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.yrs span { font-size: 11px; color: var(--ink-3); }
.range svg { width: 100%; height: 40px; display: block; }
.filter { margin-bottom: 14px; }
.grp + .grp { margin-top: 22px; }
.grp__h { font-size: 13px; font-weight: 650; color: var(--ink-3); margin-bottom: 8px; }
.trow { background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 14px; cursor: pointer; }
.trow + .trow { margin-top: 8px; }
.trow__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.trow__name { font-size: 15px; font-weight: 600; line-height: 1.4; }
.trow__nums { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.trow__nums b { color: var(--ink); font-size: 16px; margin-right: 3px; font-variant-numeric: tabular-nums; }
.trow__more, .tmore { display: none; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.trow__more { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.trow.is-open .trow__more { display: grid; gap: 4px; }
.tv-table { display: none; }
@media (min-width: 1024px) { .tv-cards { display: none; } .tv-table { display: block; } }
.tbl tr[data-row] { cursor: pointer; }
.tbl tr[data-row]:hover td { background: #f7f9fd; }
.tbl tr.is-open td { background: var(--blue-soft); }
.tbl tr.more-row td { padding: 0; border-bottom: 0; }
.tbl tr.is-open + tr.more-row td { padding: 14px 18px 18px; border-bottom: 1px solid var(--line); }
.tbl tr.is-open + tr.more-row .tmore { display: grid; gap: 4px; }
.tbl .c1 { min-width: 300px; }
.tbl .c1 b { font-weight: 600; }
.codecards { display: grid; gap: 14px; }
@media (min-width: 768px) { .codecards { grid-template-columns: 1fr 1fr; } }
.codecards .card { display: grid; gap: 10px; align-content: start; }
.codecards .dots { font-size: 14px; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts .row { margin-top: 6px; gap: 8px 18px; }

/* =================== 免费资料、阅读页、法律页 =================== */
.fblk { padding: 32px 0; border-top: 1px solid var(--line); }
.fblk:first-of-type { border-top: 0; padding-top: 12px; }
.fblk__head { display: grid; gap: 4px; margin-bottom: 16px; }
.jd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 1024px) { .jd-grid { grid-template-columns: repeat(4, 1fr); } }
.jd-card { display: grid; gap: 6px; align-content: start; padding: 18px; }
.jd-card .num { font-size: 34px; font-weight: 750; color: var(--blue); line-height: 1.1; }
.flist li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.flist li:first-child { border-top: 1px solid var(--line); }
.flist__t { font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.flist__acts { display: flex; gap: 16px; flex: none; font-size: 14.5px; }
@media (max-width: 599px) { .flist li { flex-direction: column; align-items: flex-start; gap: 6px; } }
.rd { padding-top: 28px; padding-bottom: 56px; }
.rd__type { color: var(--blue-ink); font-weight: 600; }
.rd__title { font-size: clamp(1.7rem, 6vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-top: 6px; }
.rd__meta { margin-top: 10px; }
.prose { font-size: 16.5px; line-height: 1.85; color: var(--ink); }
.prose h2 { font-size: 20px; line-height: 1.4; margin: 32px 0 10px; font-weight: 700; }
.prose h2 small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 10px; }
.prose .dots { gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 10px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink-3); font-weight: 600; font-size: 13px; }
.rd__draft { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-input); background: #fff8dc; color: #5a4a00; font-size: 13.5px; line-height: 1.6; }
.pg-count { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 5; width: fit-content; margin: 0 auto 12px; padding: 4px 14px; border-radius: var(--r-pill); background: rgba(29, 29, 31, .78); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.pgs { display: grid; gap: 14px; }
.pgs img { width: 100%; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(22, 40, 110, .1), 0 10px 26px rgba(22, 40, 110, .08); cursor: zoom-in; }
.rd__tools { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 18px 0 20px; }
.a4 { background: #fff; box-shadow: 0 1px 3px rgba(22, 40, 110, .1), 0 10px 26px rgba(22, 40, 110, .08); padding: 18px; margin-top: 16px; border-radius: 4px; }
.a4__scroll { overflow-x: auto; }
.a4 .tbl { font-size: 12px; min-width: 760px; }
.a4 .tbl th, .a4 .tbl td { padding: 7px 8px; }
.endlinks { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.zoom { position: fixed; inset: 0; z-index: 65; background: rgba(10, 14, 28, .92); overflow: auto; display: none; cursor: zoom-out; }
.zoom.is-open { display: block; }
.zoom img { width: 200%; max-width: none; margin: 0 auto; background: #fff; }
@media (min-width: 1024px) { .zoom img { width: 140%; } }
.legal { padding-top: 28px; padding-bottom: 56px; }
.legal__toc { margin: 20px 0 8px; padding: 18px 20px; }
.legal__toc ol { padding-left: 20px; list-style: decimal; display: grid; gap: 4px; font-size: 15px; }
.legal__toc a { color: var(--blue-ink); }
.legal section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal--sheet .prose h2 { margin-top: 22px; font-size: 17px; }
.legal--sheet .prose { font-size: 15px; }
@media print {
  .a4 { box-shadow: none; padding: 0; margin: 0; page-break-after: always; }
  .a4 .tbl { min-width: 0; font-size: 9.5pt; }
  .rd__tools, .endlinks, .rd__copy { display: none !important; }
}

/* =================== 后台 =================== */
.ad-head { background: var(--surface); box-shadow: inset 0 -1px 0 var(--line); }
.ad-head .wrap { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ad-tabs { padding: 20px 0 14px; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tools .input { min-height: 38px; padding: 8px 12px; width: 240px; font-size: 14px; }
.admin-page .tbl td { white-space: nowrap; }
.admin-page .tbl td.wrap-ok { white-space: normal; min-width: 200px; }
.acts { display: flex; gap: 14px; }
.acts button { border: 0; background: none; padding: 0; color: var(--blue-ink); font-size: 13.5px; font-weight: 600; }
.sw { display: inline-block; width: 38px; height: 22px; border-radius: var(--r-pill); background: #d4d8e2; position: relative; vertical-align: middle; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.sw.on { background: var(--blue); }
.sw.on::after { left: 18px; }
.admin-page main { padding-bottom: 56px; }

/* =================== 演示页 =================== */
.demo { padding-top: 32px; padding-bottom: 56px; display: grid; gap: 16px; }
.demo .rows > li { align-items: center; }
.legal__ol { padding-left: 20px; list-style: decimal; display: grid; gap: 6px; }
.legal--sheet { padding: 0; }
.legal--sheet .rd__draft { margin-top: 0; }

/* 图表点按提示 */
.chart, .lc { position: relative; }
.chart__plot { margin-top: 12px; }
.chart__tip { position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; display: grid; gap: 1px; padding: 6px 10px; border-radius: 10px; background: rgba(29, 29, 31, .92); color: #fff; font-size: 12px; line-height: 1.35; white-space: nowrap; box-shadow: 0 6px 18px rgba(10, 16, 34, .2); }
.chart__tip b { font-size: 15px; font-weight: 700; }
.chart__tip span { color: rgba(255, 255, 255, .78); }
.hbar { cursor: pointer; outline: none; }
.hbar:focus-visible .hbar__mark { fill: #5f80f0; }
.lc-hit { cursor: pointer; }
.yrs-tbl { font-size: 13px; }
.yrs-tbl th, .yrs-tbl td { padding: 8px 6px; }
.yrs-tbl th:first-child, .yrs-tbl td:first-child { padding-left: 12px; }
@media (min-width: 768px) { .only-m { display: none !important; } }
@media (max-width: 767px) { .only-d { display: none !important; } }
.urow__card { grid-template-columns: minmax(0, 1fr); }
.urow__card > * { min-width: 0; }
.addr-card .link { flex: none; white-space: nowrap; }
