/*
 * 畅学村 — 主样式（v2：按 _ref/pages/*.jpg 取样）
 * #FCFCFC 白底 · #000C18 海军蓝 Hero · 软暖橙 #FA9F57/#F8A048 = 价格/CTA/关键数字 · 数据蓝 #5395C5 · 绿色只用于 ONLINE
 * v2 组件层在文件末尾「v2 visual layer」，覆盖 v1 外形；v1 规则保留作结构基础。
 */

/* 自托管 Noto Sans SC（woff2 放在 assets/fonts/，见 _ref/BUILD-NOTES-v2.md）。local() 优先命中本机已装字体。 */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Noto Sans SC"), local("NotoSansSC-Regular"), url("../fonts/NotoSansSC-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Noto Sans SC Medium"), local("NotoSansSC-Medium"), url("../fonts/NotoSansSC-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Noto Sans SC Bold"), local("NotoSansSC-Bold"), url("../fonts/NotoSansSC-700.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: local("Noto Sans SC Black"), local("NotoSansSC-Black"), url("../fonts/NotoSansSC-900.woff2") format("woff2");
}

:root {
  --navy-950: #00070F;
  --navy-900: #000C18;
  --navy-800: #0C1824;
  --navy-700: #16263A;
  --orange: #FA9F57;
  --orange-2: #F8A048;
  --orange-num: #F59B3D;
  --orange-ink: #B4570C;
  --orange-btn: #F8A048;
  --orange-btn-hover: #F59B3D;
  --orange-soft: #FFF3E8;
  --orange-grad: linear-gradient(180deg, #FCB874 0%, #F8A048 55%, #F59B3D 100%);
  --orange-grad-light: linear-gradient(180deg, #FFEBD6 0%, #FDD2A6 100%);
  --btn-ink: #2B1604;
  --violet: #5395C5;
  --violet-soft: #EAF2F9;
  --green: #1EC87A;
  --green-ink: #0E7A45;
  --bg: #F3F4F8;
  --bg-2: #F0F0F0;
  --bg-warm: #FBF8F4;
  --white: #FCFCFC;
  --ink: #1A1A1A;
  --ink-2: #3A3F4B;
  --muted: #6B7280;
  --line: #E8E8EE;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 4px 18px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.09);
  --header-h: 64px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--orange-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.cxc-main:focus { outline: none; }

.cxc-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cxc-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange-btn);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cxc-skip:focus { top: 12px; }

.cxc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cxc-container--narrow { max-width: 840px; }

@media (min-width: 768px) {
  .cxc-container { padding: 0 32px; }
}

/* ---------- Buttons（主 CTA 实心暖橙胶囊） ---------- */
.cxc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cxc-btn:hover { transform: translateY(-1px); }

.cxc-btn--primary {
  background: var(--orange-btn);
  color: #fff;
  box-shadow: 0 8px 22px rgba(245, 155, 61, 0.38);
}

.cxc-btn--primary:hover { background: var(--orange-btn-hover); box-shadow: 0 10px 26px rgba(245, 155, 61, 0.48); }

.cxc-btn--light {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.cxc-btn--light:hover { background: #FFF4EB; }

.cxc-btn--dark {
  background: var(--navy-900);
  color: #fff;
}

.cxc-btn--dark:hover { background: var(--navy-700); }

.cxc-btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}

.cxc-btn--outline:hover { background: var(--ink); color: #fff; }

.cxc-btn--ghost {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}

.cxc-btn--ghost:hover { border-color: var(--ink); }

.cxc-btn--online {
  background: var(--green);
  color: #062B14;
  box-shadow: 0 8px 22px rgba(30, 200, 122, 0.35);
}

.cxc-btn--online:hover { background: #3BD872; }

.cxc-btn--sm { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.cxc-btn--lg { min-height: 52px; padding: 12px 28px; font-size: 17px; }
.cxc-btn--xl { min-height: 60px; padding: 14px 34px; font-size: 19px; }
.cxc-btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.cxc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 12, 24, 0.92);
  color: #fff;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.2s;
}

.cxc-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }

.cxc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.cxc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex: none;
}

.cxc-logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--orange-2), #F05A00);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(250, 159, 87, 0.4);
}

.cxc-logo__text {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.cxc-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.cxc-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cxc-nav__list a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.cxc-nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.cxc-nav__list a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--orange);
  border-radius: 0;
}

.cxc-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cxc-nav__login {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
}

.cxc-nav__login:hover { color: #fff; }

.cxc-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.cxc-burger__bar,
.cxc-burger__bar::before,
.cxc-burger__bar::after {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

.cxc-burger__bar { top: 21px; }
.cxc-burger__bar::before,
.cxc-burger__bar::after { content: ""; left: 0; }
.cxc-burger__bar::before { top: -7px; }
.cxc-burger__bar::after { top: 7px; }

.cxc-header.is-open .cxc-burger__bar { background: transparent; }
.cxc-header.is-open .cxc-burger__bar::before { transform: translateY(7px) rotate(45deg); }
.cxc-header.is-open .cxc-burger__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter 会成为 fixed 子元素的包含块，移动端菜单面板需要去掉 */
  .cxc-header {
    background: var(--navy-900);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .cxc-burger { display: block; }

  .cxc-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 20px 32px;
    background: var(--navy-900);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .cxc-header.is-open .cxc-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .cxc-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .cxc-nav__list a { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; }
  .cxc-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .cxc-nav__actions { justify-content: space-between; }
  .cxc-nav__actions .cxc-btn { flex: 1; min-height: 52px; font-size: 17px; }
  .cxc-nav-open body { overflow: hidden; }
}

/* ---------- Hero（深海军蓝星空） ---------- */
.cxc-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(83, 149, 197, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 60% at 8% 100%, rgba(250, 159, 87, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.cxc-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    radial-gradient(1px 1px at 22px 34px, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(1px 1px at 118px 82px, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(1.6px 1.6px at 204px 150px, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(1px 1px at 62px 192px, rgba(180, 200, 255, 0.7), transparent 70%),
    radial-gradient(1px 1px at 262px 44px, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(1.3px 1.3px at 160px 12px, rgba(255, 220, 180, 0.6), transparent 70%),
    radial-gradient(1px 1px at 290px 200px, rgba(255, 255, 255, 0.5), transparent 70%);
  background-size: 310px 230px;
}

.cxc-hero__inner {
  position: relative;
  z-index: 3;
}

.cxc-hero--home .cxc-hero__inner,
.cxc-hero--teachers .cxc-hero__inner { pointer-events: none; }

.cxc-hero--home .cxc-hero__inner > *,
.cxc-hero--teachers .cxc-hero__inner > * { pointer-events: auto; }

.cxc-hero--home {
  display: flex;
  align-items: center;
  min-height: min(820px, calc(100vh - var(--header-h)));
  padding: 28px 0 72px;
}

.cxc-hero__copy { max-width: 660px; }

.cxc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cxc-tags li {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 700;
}

.cxc-hero__title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.cxc-hero__title--xl { font-size: clamp(42px, 7vw, 92px); }
.cxc-hero__title--page { font-size: clamp(34px, 5vw, 60px); line-height: 1.15; }
.cxc-hero__title--article { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; }

.cxc-hl { color: var(--orange-2); }

.cxc-hero__sub {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}

.cxc-hero__sub strong { display: block; margin-top: 2px; color: #fff; font-weight: 800; }
.cxc-hero__sub--wide { max-width: 760px; }

.cxc-hero__quote {
  margin-top: 16px;
  color: var(--orange-2);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
}

.cxc-pricepair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
  margin-top: 20px;
}

.cxc-pricepair__item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.cxc-pricepair__label { font-size: 14px; color: rgba(255, 255, 255, 0.78); font-weight: 700; }

.cxc-pricepair__price {
  color: var(--orange-2);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.15;
}

.cxc-pricepair__price small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.cxc-pricepair__note { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

.cxc-hero__stress {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-left: 4px solid var(--orange);
  background: rgba(250, 159, 87, 0.14);
  font-size: 17px;
  font-weight: 800;
}

.cxc-hero__ctas,
.cxc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cxc-actions--center { justify-content: center; }

/* 在线人数（R10：非常显眼） */
.cxc-online {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  row-gap: 6px;
  max-width: 560px;
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(30, 200, 122, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 200, 122, 0.14), rgba(255, 255, 255, 0.04));
}

.cxc-online__pulse {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(30, 200, 122, 0.25);
}

.cxc-online__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: cxc-pulse 1.8s ease-out infinite;
}

@keyframes cxc-pulse {
  from { transform: scale(0.7); opacity: 1; }
  to { transform: scale(2.2); opacity: 0; }
}

.cxc-online__body { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.cxc-online__label { font-size: 16px; font-weight: 800; color: #B9F5CF; }
.cxc-online__value { display: inline-flex; align-items: baseline; gap: 4px; }

.cxc-online__num {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cxc-online__unit { font-size: 18px; font-weight: 800; }

.cxc-online__line {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.cxc-online .cxc-demo-note { grid-column: 1 / -1; }

.cxc-demo-note {
  display: inline-block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.cxc-demo-note::before { content: "※ "; }
.cxc-demo-note--dark { color: var(--muted); }

.cxc-online--xl {
  grid-template-columns: auto auto;
  justify-content: center;
  max-width: 620px;
  margin: 26px auto 0;
  padding: 18px 26px;
  text-align: left;
}

.cxc-online--xl .cxc-online__num { font-size: clamp(52px, 6vw, 76px); }
.cxc-online--xl .cxc-btn { grid-column: 1 / -1; justify-self: center; margin-top: 6px; }
.cxc-online--xl .cxc-demo-note { text-align: center; }

.cxc-hero--teachers {
  min-height: min(760px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: center;
  padding: 28px 0 44px;
  text-align: center;
}

.cxc-hero__inner--center { display: flex; flex-direction: column; align-items: center; }
.cxc-hero--teachers .cxc-hero__sub { margin-left: auto; margin-right: auto; font-size: clamp(18px, 2vw, 24px); }

.cxc-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange-btn);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cxc-kicker--light { color: var(--orange-2); }

.cxc-hero--page {
  padding: 52px 0 56px;
}

.cxc-hero--page .cxc-container { position: relative; z-index: 2; }

.cxc-br-sm { display: none; }

@media (max-width: 1023px) {
  .cxc-hero--home,
  .cxc-hero--teachers {
    align-items: flex-start;
    min-height: 0;
    padding-top: 340px;
  }
}

@media (max-width: 639px) {
  .cxc-hero--home { padding-top: 232px; padding-bottom: 64px; }
  .cxc-hero--teachers { padding-top: 232px; padding-bottom: 36px; }
  .cxc-pricepair { grid-template-columns: 1fr; }
  .cxc-hero__ctas .cxc-btn { flex: 1 1 100%; }
  .cxc-br-sm { display: inline; }
  .cxc-online--xl { grid-template-columns: auto 1fr; justify-content: start; }
  .cxc-hero--page { padding: 36px 0 40px; }
}

/* ---------- R2：2600万+ / 超7成 ---------- */
.cxc-bigstats {
  position: relative;
  z-index: 4;
  margin-top: -36px;
}

.cxc-bigstats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cxc-bigstat {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 24px 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--orange);
}

.cxc-bigstat__num {
  color: var(--orange);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (max-width: 479px) {
  .cxc-bigstats__grid { grid-template-columns: 1fr; }
  .cxc-bigstat { min-height: 120px; }
}

/* ---------- Sections ---------- */
.cxc-section { padding: 72px 0; }
.cxc-section--alt { background: var(--bg); }

@media (max-width: 639px) {
  .cxc-section { padding: 52px 0; }
}

.cxc-section__head {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.cxc-h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.cxc-h2--sm { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 18px; }

.cxc-lead {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.5vw, 20px);
}

.cxc-muted { margin-top: 10px; color: var(--muted); font-size: 15px; }

.cxc-source {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.cxc-source a { color: var(--violet); }

.cxc-quote {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 5px solid var(--orange);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.4;
}

.cxc-center-line {
  margin-top: 28px;
  text-align: center;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
}

.cxc-narrowcenter { max-width: 760px; text-align: center; }

/* 老师数据证明（蓝紫=数据） */
.cxc-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cxc-proof__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--violet-soft);
  text-align: center;
}

.cxc-proof__num {
  color: var(--violet);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.cxc-proof__num small { font-size: 0.45em; margin-left: 2px; }
.cxc-proof__label { margin-top: 8px; font-size: 16px; font-weight: 700; color: var(--ink-2); }

@media (max-width: 639px) {
  .cxc-proof { grid-template-columns: 1fr; }
  .cxc-proof__item { flex-direction: row; justify-content: space-between; padding: 18px 20px; text-align: left; }
  .cxc-proof__label { margin: 0 0 0 12px; text-align: right; }
}

/* ---------- 学得起 → 上得多（R9：左右均衡） ---------- */
.cxc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.cxc-split--even { grid-template-columns: 1fr 1fr; align-items: stretch; }

@media (max-width: 899px) {
  .cxc-split,
  .cxc-split--even { grid-template-columns: 1fr; gap: 28px; }
}

.cxc-weeks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cxc-week {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
}

.cxc-week__label { font-weight: 800; font-size: 15px; }

.cxc-week__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cxc-week__days li {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cxc-week__days li.is-on {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(250, 159, 87, 0.2);
}

.cxc-minicalc {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--orange);
}

.cxc-minicalc__kicker { color: var(--orange-btn); font-size: 14px; font-weight: 800; }
.cxc-minicalc__title { margin-top: 4px; font-size: 26px; font-weight: 900; }

.cxc-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 16px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg);
}

.cxc-seg__btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.cxc-seg__btn[aria-pressed="true"] {
  background: var(--navy-900);
  color: #fff;
}

.cxc-minicalc__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  text-align: center;
}

.cxc-minicalc__num {
  color: var(--orange);
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cxc-minicalc__num small { font-size: 30px; margin-left: 4px; }
.cxc-minicalc__meta { margin-top: 6px; font-weight: 700; color: var(--ink-2); }
.cxc-minicalc__price { margin-top: 4px; color: var(--muted); font-size: 15px; }
.cxc-minicalc__note { margin: 10px 0 16px; color: var(--muted); font-size: 13px; text-align: center; }
.cxc-minicalc .cxc-btn + .cxc-btn { margin-top: 10px; }

.is-bump { display: inline-block; animation: cxc-bump 0.45s ease; }

@keyframes cxc-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* ---------- 想说就说 ---------- */
.cxc-badge-big {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-btn);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

/* 教师卡 */
.cxc-teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.cxc-teacher-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) {
  .cxc-teacher-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cxc-teacher-grid,
  .cxc-teacher-grid--4 { grid-template-columns: 1fr; }
}

.cxc-teacher-grid--pool { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 18px 0; }

.cxc-tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cxc-tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cxc-tcard.is-online { border-color: rgba(30, 200, 122, 0.5); }

.cxc-tcard__top {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
}

.cxc-tcard__avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
}

.cxc-tcard__avatar svg { display: block; width: 100%; height: 100%; }
.cxc-tcard__name { font-size: 19px; font-weight: 900; line-height: 1.2; }

.cxc-tcard__country {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.cxc-pill {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.cxc-pill--sm { padding: 0 7px; font-size: 11px; }

.cxc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.cxc-status.is-online {
  background: rgba(30, 200, 122, 0.14);
  color: var(--green-ink);
}

.cxc-dot-online {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 200, 122, 0.22);
  flex: none;
}

.cxc-tcard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cxc-tcard__stats div {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--bg);
}

.cxc-tcard__stats dt { font-size: 12px; color: var(--muted); }
.cxc-tcard__stats dd { font-size: 18px; font-weight: 900; line-height: 1.3; }
.cxc-tcard__stats small { font-size: 12px; margin-left: 2px; font-weight: 700; }
.cxc-star { color: #F2B544; margin-right: 3px; }

.cxc-tcard__skills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.cxc-tcard__k { color: var(--muted); margin-right: 2px; }

.cxc-tcard__skills span:not(.cxc-tcard__k) {
  padding: 1px 8px;
  border-radius: 8px;
  background: var(--violet-soft);
  color: var(--violet);
  font-weight: 700;
}

.cxc-tcard__price { font-size: 14px; color: var(--ink-2); }
.cxc-tcard__price b { color: var(--orange); font-size: 20px; font-weight: 900; }

.cxc-tcard__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.cxc-tcard__actions .cxc-btn { flex: 1; }
.cxc-tcard__off { flex: 1; color: var(--muted); font-size: 13px; text-align: center; }

.cxc-demo-tag {
  position: absolute;
  top: -9px;
  right: 14px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  line-height: 18px;
}

.cxc-tcard--compact { padding: 14px; gap: 10px; }
.cxc-tcard--compact .cxc-tcard__top { grid-template-columns: 44px 1fr; }
.cxc-tcard--compact .cxc-tcard__top .cxc-status { grid-column: 1 / -1; justify-self: start; }
.cxc-tcard--compact .cxc-tcard__avatar { width: 44px; height: 44px; border-radius: 12px; }
.cxc-tcard--compact .cxc-tcard__name { font-size: 16px; }
.cxc-tcard--compact .cxc-tcard__stats dd { font-size: 15px; }

/* 流程 */
.cxc-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
  counter-reset: none;
}

.cxc-flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-weight: 800;
  font-size: 16px;
}

.cxc-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  z-index: 1;
  transform: translate(50%, -50%);
  color: var(--orange);
  font-weight: 900;
}

.cxc-flow__n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 14px;
  flex: none;
}

@media (max-width: 760px) {
  .cxc-flow { grid-template-columns: 1fr 1fr; }
  .cxc-flow li:nth-child(2)::after { display: none; }
}

/* R4：平台入口 */
.cxc-platform {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--navy-900);
  color: #fff;
}

.cxc-platform__text { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; line-height: 1.6; }

@media (max-width: 860px) {
  .cxc-platform { grid-template-columns: 1fr; padding: 24px; }
  .cxc-platform .cxc-btn { width: 100%; }
}

/* R5：更多上万名外教进畅学村查看 */
.cxc-ribbon {
  display: block;
  background: linear-gradient(90deg, #E85F08, var(--orange) 50%, #E85F08);
  color: #fff;
  text-decoration: none;
  transition: filter 0.2s;
}

.cxc-ribbon:hover { filter: brightness(1.06); }

.cxc-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  min-height: 110px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

.cxc-ribbon__kicker {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

.cxc-ribbon__text {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(120, 40, 0, 0.3);
}

.cxc-ribbon__arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange-btn);
  font-size: 26px;
  font-weight: 900;
  transition: transform 0.2s;
}

.cxc-ribbon:hover .cxc-ribbon__arrow { transform: translateX(4px); }

/* R6：教材封面占位 */
.cxc-covers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

@media (max-width: 1080px) { .cxc-covers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cxc-covers { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.cxc-cover {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.cxc-cover__book {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 3 / 4;
  padding: 16px 14px 14px 22px;
  border-radius: 6px 16px 16px 6px;
  overflow: hidden;
  color: #fff;
  background: var(--c1);
  box-shadow: inset 8px 0 0 rgba(0, 0, 0, 0.18), inset 10px 0 0 rgba(255, 255, 255, 0.12), 0 12px 26px rgba(18, 24, 43, 0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cxc-cover:hover .cxc-cover__book {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: inset 8px 0 0 rgba(0, 0, 0, 0.18), inset 10px 0 0 rgba(255, 255, 255, 0.12), 0 20px 36px rgba(18, 24, 43, 0.26);
}

.cxc-cover__brand { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; opacity: 0.85; }
.cxc-cover__title { position: relative; z-index: 1; font-size: clamp(20px, 1.9vw, 26px); font-weight: 900; line-height: 1.2; }

.cxc-cover__deco {
  position: absolute;
  right: -30px;
  bottom: 26px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--c2);
  box-shadow: -50px -60px 0 -30px rgba(255, 255, 255, 0.22);
}

.cxc-cover__ph {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 10px;
}

.cxc-cover__hint { font-size: 14px; color: var(--muted); font-weight: 700; }
.cxc-cover__hint::after { content: " →"; color: var(--orange-btn); }

.cxc-cover--1 { --c1: #FF8C2A; --c2: #FFC266; }
.cxc-cover--2 { --c1: #2F6FDB; --c2: #6FA2FF; }
.cxc-cover--3 { --c1: #5B5BD6; --c2: #9C8CFF; }
.cxc-cover--4 { --c1: #138A7E; --c2: #48C2B0; }
.cxc-cover--5 { --c1: #1C2A55; --c2: #3E5AA8; }
.cxc-cover--6 { --c1: #C2410C; --c2: #F59E5B; }

/* 两种买法 */
.cxc-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 760px) { .cxc-plans { grid-template-columns: 1fr; } }

.cxc-plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cxc-plan--king { border: 2px solid var(--orange); }

.cxc-plan__when {
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-2);
}

.cxc-plan__name { font-size: 30px; font-weight: 900; }
.cxc-plan__price { font-size: 18px; font-weight: 700; }
.cxc-plan__price strong { color: var(--orange); font-size: 36px; font-weight: 900; }
.cxc-plan__sep { margin: 0 6px; color: var(--muted); }
.cxc-plan__line { color: var(--ink-2); }
.cxc-plan .cxc-btn { margin-top: auto; }

.cxc-method {
  margin-top: 32px;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.5;
}

/* 品牌收束 */
.cxc-brand {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(83, 149, 197, 0.3), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.cxc-brand--slim { padding: 64px 0; }
.cxc-brand__inner { position: relative; z-index: 1; }

.cxc-pillars {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.cxc-pillars span {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
}

.cxc-brand__title { font-size: clamp(28px, 4vw, 52px); font-weight: 900; line-height: 1.3; }
.cxc-brand__sub { margin-top: 12px; color: rgba(255, 255, 255, 0.82); font-size: clamp(17px, 1.8vw, 22px); }

/* R14：底部外教卡片持续滚动 */
.cxc-marquee-wrap {
  padding: 48px 0 56px;
  background: var(--bg);
  overflow: hidden;
}

.cxc-marquee-wrap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.cxc-marquee-wrap__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
}

.cxc-marquee {
  display: flex;
  width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.cxc-marquee__track {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  animation: cxc-marquee 70s linear infinite;
}

.cxc-marquee:hover .cxc-marquee__track { animation-play-state: paused; }

@keyframes cxc-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}

.cxc-mcard {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 236px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  flex: none;
}

.cxc-mcard.is-online { border-color: rgba(30, 200, 122, 0.5); }

.cxc-mcard__avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
}

.cxc-mcard__avatar svg { display: block; width: 100%; height: 100%; }
.cxc-mcard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cxc-mcard__name { font-weight: 900; font-size: 16px; line-height: 1.2; }
.cxc-mcard__row { display: flex; align-items: center; gap: 6px; }
.cxc-mcard__row .cxc-status { padding: 1px 7px; font-size: 11px; }
.cxc-mcard__row .cxc-dot-online { width: 7px; height: 7px; }
.cxc-mcard__meta { font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .cxc-marquee {
    width: auto;
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0 20px 8px;
  }
  .cxc-marquee__track { animation: none; }
  .cxc-marquee__track[aria-hidden="true"] { display: none; }
  .cxc-online__pulse::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 找外教 ---------- */
.cxc-market { padding-top: 40px; }

.cxc-filters {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cxc-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cxc-filters__label { font-size: 13px; font-weight: 800; color: var(--muted); margin-right: 2px; }

.cxc-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.cxc-chip {
  min-height: 38px;
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.cxc-chip:hover { border-color: var(--ink); }

.cxc-chip[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.cxc-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(30, 200, 122, 0.12);
  border: 1.5px solid rgba(30, 200, 122, 0.5);
  cursor: pointer;
  font-weight: 800;
  color: var(--green-ink);
}

.cxc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.cxc-switch__track {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #C9CFDA;
  transition: background-color 0.2s;
}

.cxc-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.cxc-switch input:checked + .cxc-switch__track { background: var(--green); }
.cxc-switch input:checked + .cxc-switch__track .cxc-switch__thumb { transform: translateX(18px); }
.cxc-switch input:focus-visible + .cxc-switch__track { outline: 3px solid var(--orange-2); outline-offset: 2px; }
.cxc-switch__text { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 760px) {
  .cxc-filters {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }
  .cxc-filters__group {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .cxc-chip { flex: none; }
}

.cxc-market__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 18px;
}

.cxc-market__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-weight: 700; }

.cxc-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(30, 200, 122, 0.14);
  color: var(--green-ink);
  font-size: 16px;
  font-weight: 900;
}

.cxc-online-pill b { font-size: 20px; }

.cxc-empty {
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
  font-weight: 700;
}

.cxc-viewpoint {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cxc-viewpoint .cxc-btn { margin-top: 14px; }
.cxc-viewpoint--pool { background: var(--navy-900); color: #fff; }
.cxc-viewpoint--pool .cxc-lead { color: rgba(255, 255, 255, 0.85); }
.cxc-viewpoint--pool .cxc-kicker { color: var(--orange-2); }

/* R7：上万名外教等你挑选 */
.cxc-more {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 100%, rgba(250, 159, 87, 0.28), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.cxc-more__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.cxc-more__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.cxc-more__title {
  margin-top: 18px;
  font-size: clamp(32px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.2;
}

.cxc-more__sub { margin: 14px 0 28px; color: rgba(255, 255, 255, 0.85); font-size: clamp(16px, 1.6vw, 20px); }

/* ---------- 课程价格 ---------- */
.cxc-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

@media (max-width: 760px) { .cxc-tiers { grid-template-columns: 1fr; } }

.cxc-tier {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cxc-tier--main { background: rgba(250, 159, 87, 0.12); border-color: rgba(248, 160, 72, 0.6); }
.cxc-tier__label { font-weight: 800; color: rgba(255, 255, 255, 0.85); }
.cxc-tier__price { color: var(--orange-2); font-size: clamp(36px, 4vw, 50px); font-weight: 900; line-height: 1.15; }
.cxc-tier__price small { font-size: 16px; margin-left: 2px; }
.cxc-tier__note { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.cxc-tiers__foot { margin-top: 14px; font-weight: 800; }

.cxc-exp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 26px;
}

.cxc-exp__note { color: rgba(255, 255, 255, 0.72); font-size: 14px; }

.cxc-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 980px) { .cxc-calc { grid-template-columns: 1fr; } }

.cxc-calc__panel {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.cxc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 20px;
  counter-reset: step;
}

.cxc-steps li {
  position: relative;
  padding-top: 12px;
  border-top: 4px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  counter-increment: step;
}

.cxc-steps li::before { content: counter(step) " "; }
.cxc-steps li.is-done { border-color: var(--orange); color: var(--ink); }

.cxc-calc__group {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.cxc-calc__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0;
  font-size: 17px;
  font-weight: 900;
}

.cxc-calc__n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 13px;
}

.cxc-optgrid { display: grid; gap: 8px; }
.cxc-optgrid--2 { grid-template-columns: repeat(2, 1fr); }
.cxc-optgrid--3 { grid-template-columns: repeat(3, 1fr); }
.cxc-optgrid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 420px) { .cxc-optgrid--4 { grid-template-columns: repeat(2, 1fr); } }

.cxc-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.cxc-opt b { font-size: 16px; }
.cxc-opt small { color: var(--muted); font-size: 12px; font-weight: 700; }
.cxc-opt:hover { border-color: var(--ink-2); }

.cxc-opt[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.cxc-opt[aria-pressed="true"] small { color: var(--orange-btn); }

.cxc-hint { margin-top: 8px; color: var(--muted); font-size: 13px; }
.cxc-hint a { color: var(--orange-btn); font-weight: 700; }

.cxc-calc__result {
  margin-top: 6px;
  padding: 20px;
  border-radius: 20px;
  background: var(--orange-soft);
}

.cxc-calc__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }

.cxc-calc__big {
  color: var(--orange);
  font-size: clamp(72px, 9vw, 104px);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cxc-calc__big small { font-size: 0.36em; margin-left: 4px; }
.cxc-calc__meta { display: flex; flex-direction: column; font-weight: 800; color: var(--ink-2); }
.cxc-calc__price { margin: 12px 0 14px; font-size: 18px; font-weight: 800; }
.cxc-calc__price b { color: var(--orange); font-size: 30px; font-weight: 900; }
.cxc-calc__tbd { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; font-weight: 700; }

/* 365 天夜空 */
.cxc-sky {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(83, 149, 197, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(248, 160, 72, 0.14), transparent 70%),
    linear-gradient(160deg, #0B1838, var(--navy-950));
  box-shadow: var(--shadow-lg);
}

.cxc-sky__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.cxc-sky__kicker { color: var(--orange-2); font-weight: 800; font-size: 14px; }
.cxc-sky__title { font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; }
.cxc-sky__count { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }

.cxc-sky__num {
  color: #FFC266;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 194, 102, 0.5);
  font-variant-numeric: tabular-nums;
}

.cxc-sky__num small { font-size: 0.4em; margin-left: 2px; }
.cxc-sky__lit { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

.cxc-sky__field {
  position: relative;
  margin: 18px 0 14px;
  aspect-ratio: 25 / 15;
  min-height: 210px;
}

.cxc-sky__dot {
  position: absolute;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #5C6C99;
  opacity: 0.45;
  transform: scale(var(--s, 1));
  transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1), background-color 0.4s, opacity 0.4s, box-shadow 0.4s;
}

.cxc-sky__dot.is-lit {
  background: #FFE2A8;
  opacity: 1;
  transform: scale(calc(var(--s, 1) * 1.9));
  box-shadow: 0 0 4px 1px rgba(255, 210, 120, 0.95), 0 0 12px 3px rgba(255, 160, 60, 0.45);
  animation: cxc-twinkle var(--td, 3s) ease-in-out var(--tw, 0s) infinite;
}

/* 打卡记号：亮星上的细小十字光芒 */
.cxc-sky__dot.is-lit::before,
.cxc-sky__dot.is-lit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 236, 200, 0.75);
  border-radius: 1px;
}

.cxc-sky__dot.is-lit::before { width: 9px; height: 0.6px; margin: -0.3px 0 0 -4.5px; }
.cxc-sky__dot.is-lit::after { width: 0.6px; height: 9px; margin: -4.5px 0 0 -0.3px; }

@keyframes cxc-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .cxc-sky__dot { transition: none; }
  .cxc-sky__dot.is-lit { animation: none; }
  .is-bump { animation: none; }
}

.cxc-sky__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.cxc-sky__legend li { display: inline-flex; align-items: center; gap: 8px; }

.cxc-sky__key {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5C6C99;
}

.cxc-sky__key--lit {
  width: 8px;
  height: 8px;
  background: #FFE2A8;
  box-shadow: 0 0 8px 2px rgba(255, 180, 80, 0.7);
}

.cxc-sky__span {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 700;
}

.cxc-sky__quote { margin-top: 16px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; color: #FFC266; }
.cxc-sky__note { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* ---------- 如何上课 ---------- */
.cxc-steps3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) { .cxc-steps3 { grid-template-columns: 1fr; } }

.cxc-step3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 24px;
  background: var(--bg);
}

.cxc-step3__n { color: var(--orange); font-size: 44px; font-weight: 900; line-height: 1; }
.cxc-step3__title { font-size: 21px; font-weight: 900; line-height: 1.35; }

.cxc-step3__ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 150px;
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: var(--navy-900);
  color: #fff;
}

.cxc-ui-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange-2), #F05A00);
  font-size: 28px;
  font-weight: 900;
}

.cxc-ui-bar { width: 70%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.cxc-ui-bar--short { width: 45%; }
.cxc-ui-timer { font-size: 48px; font-weight: 900; color: var(--orange-2); font-variant-numeric: tabular-nums; }
.cxc-ui-cap { font-weight: 800; color: rgba(255, 255, 255, 0.8); }

.cxc-step3__ui--list { align-items: stretch; }

.cxc-ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid transparent;
}

.cxc-ui-row.is-picked { border-color: var(--orange-2); background: rgba(250, 159, 87, 0.12); }
.cxc-ui-av { width: 30px; height: 30px; border-radius: 9px; overflow: hidden; flex: none; }
.cxc-ui-av svg { display: block; width: 100%; height: 100%; }
.cxc-ui-name { flex: 1; font-weight: 800; font-size: 14px; }

.cxc-checks { display: grid; gap: 10px; margin-top: 18px; }

.cxc-checks li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  font-weight: 600;
}

.cxc-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-btn);
  font-size: 13px;
  font-weight: 900;
}

.cxc-classroom {
  padding: 16px;
  border-radius: 24px;
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cxc-classroom__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 800; }
.cxc-classroom__live { display: inline-flex; align-items: center; gap: 8px; color: #7EEAA6; font-size: 13px; letter-spacing: 0.08em; }
.cxc-classroom__time { color: var(--orange-2); font-size: 22px; font-variant-numeric: tabular-nums; }
.cxc-classroom__videos { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }

.cxc-classroom__video {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-700);
}

.cxc-classroom__video svg { display: block; width: 100%; height: 100%; }

.cxc-classroom__video--me {
  display: grid;
  place-items: center;
  align-self: end;
  background: #24325F;
}

.cxc-classroom__me {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 22px;
  font-weight: 900;
}

.cxc-classroom__name {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 12px;
}

.cxc-classroom__bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.cxc-classroom__btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.cxc-classroom__btn--fav { background: rgba(250, 159, 87, 0.2); color: #FFC69A; }
.cxc-classroom__btn--end { margin-left: auto; background: #3A1A1A; color: #FFB4B4; }
.cxc-classroom__cap { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* ---------- 真实数据 ---------- */
.cxc-datastrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 760px) { .cxc-datastrip { grid-template-columns: 1fr 1fr; } }

.cxc-datastrip div {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cxc-datastrip dt { font-size: 14px; color: rgba(255, 255, 255, 0.75); font-weight: 700; }
.cxc-datastrip dd { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.15; color: #B8B8FF; font-variant-numeric: tabular-nums; }
.cxc-datastrip small { font-size: 0.45em; margin-left: 2px; }

.cxc-charts {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}

@media (max-width: 900px) { .cxc-charts { grid-template-columns: 1fr; } }

.cxc-chart {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cxc-chart__title { font-size: 22px; font-weight: 900; }
.cxc-chart__sub { color: var(--muted); font-size: 14px; }
.cxc-chart__foot { margin-top: 14px; text-align: center; color: var(--ink-2); }
.cxc-chart__foot b { color: var(--violet); font-size: 22px; }

.cxc-bars { display: grid; gap: 14px; margin-top: 22px; }

.cxc-bars__row {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr 64px;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
}

.cxc-bars__label { font-size: 14px; font-weight: 700; color: var(--ink-2); }

.cxc-bars__track {
  height: 26px;
  border-radius: 4px;
  background: transparent;
  border-left: 1px solid var(--line);
}

.cxc-bars__bar {
  display: block;
  width: calc(var(--v) * 1%);
  height: 100%;
  border-radius: 0 4px 4px 0;
  background: #A9A9EE;
  transition: background-color 0.15s;
}

.cxc-bars__row.is-key .cxc-bars__bar { background: var(--violet); }
.cxc-bars__row:hover .cxc-bars__bar,
.cxc-bars__row:focus-visible .cxc-bars__bar { background: #4343C4; }
.cxc-bars__val { font-weight: 900; font-variant-numeric: tabular-nums; color: var(--ink); }

/* 悬停 / 聚焦提示 */
[data-tip] { position: relative; }

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 5;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.cxc-table { margin-top: 20px; }
.cxc-table summary { cursor: pointer; color: var(--violet); font-weight: 800; }

.cxc-table table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 14px;
}

.cxc-table th,
.cxc-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cxc-table th { color: var(--muted); }

.cxc-chart--ring { display: flex; flex-direction: column; }

.cxc-ring {
  position: relative;
  width: min(240px, 100%);
  margin: 22px auto 0;
  border-radius: 50%;
}

.cxc-ring svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.cxc-ring__track { fill: none; stroke: var(--violet-soft); stroke-width: 12; }
.cxc-ring__val { fill: none; stroke: var(--violet); stroke-width: 12; stroke-linecap: round; }

.cxc-ring__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--violet);
  font-size: 40px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.cxc-method-list { display: grid; gap: 2px; margin: 22px 0; }

.cxc-method-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cxc-method-list dt { font-weight: 900; color: var(--violet); }

@media (max-width: 560px) {
  .cxc-method-list div { grid-template-columns: 1fr; gap: 2px; }
  .cxc-bars__row { grid-template-columns: 80px 1fr 56px; gap: 8px; }
}

/* ---------- 购买规则 ---------- */
.cxc-rules { display: grid; gap: 14px; counter-reset: rule; }

.cxc-rule {
  position: relative;
  padding: 22px 24px 22px 76px;
  border-radius: var(--radius);
  background: var(--bg);
  counter-increment: rule;
}

.cxc-rule::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 20px;
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.cxc-rule__title { margin-bottom: 6px; font-size: 20px; font-weight: 900; }
.cxc-rule p + p { margin-top: 6px; }

.cxc-confirm {
  margin-top: 36px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-lg);
}

.cxc-confirm__kicker { color: var(--orange-btn); font-weight: 800; }
.cxc-confirm__title { font-size: 24px; font-weight: 900; }
.cxc-confirm__list { display: grid; gap: 4px; margin: 16px 0 20px; }

.cxc-confirm__list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.cxc-confirm__list dt { color: var(--muted); font-weight: 700; }
.cxc-confirm__list b { color: var(--orange); font-size: 22px; }
.cxc-confirm__total { color: var(--orange); font-size: 36px; font-weight: 900; line-height: 1; }

/* ---------- 英语学习指南 ---------- */
.cxc-search {
  position: relative;
  max-width: 620px;
  margin-top: 26px;
}

.cxc-search input {
  width: 100%;
  min-height: 56px;
  padding: 12px 20px 12px 52px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cxc-search__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -10px;
  border: 2.5px solid var(--muted);
  border-radius: 50%;
}

.cxc-search__icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 7px;
  height: 2.5px;
  background: var(--muted);
  transform: rotate(45deg);
}

.cxc-entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.cxc-entries--4 { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }

@media (max-width: 900px) {
  .cxc-entries,
  .cxc-entries--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .cxc-entries,
  .cxc-entries--4 { grid-template-columns: 1fr; }
}

.cxc-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 56px;
  border-radius: 24px;
  background: var(--navy-900);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cxc-entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cxc-entry__q { color: var(--orange-2); font-size: 28px; font-weight: 900; }
.cxc-entry__t { color: rgba(255, 255, 255, 0.88); font-weight: 600; }

.cxc-entry__go {
  position: absolute;
  right: 20px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-btn);
  font-weight: 900;
}

.cxc-worries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) { .cxc-worries { grid-template-columns: 1fr 1fr; } }

.cxc-worry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--orange-soft);
  color: var(--ink);
  font-weight: 900;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.15s;
}

.cxc-worry span { color: var(--orange-btn); }
.cxc-worry:hover { background: #FFE2CC; }

.cxc-articles__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.cxc-articles__head .cxc-h2 { margin: 0; }
.cxc-articles { display: grid; gap: 12px; }

.cxc-articles__link {
  display: block;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cxc-articles__link:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.cxc-articles__code { color: var(--violet); font-size: 13px; font-weight: 900; letter-spacing: 0.06em; }
.cxc-articles__title { margin-top: 4px; font-size: clamp(18px, 1.8vw, 21px); font-weight: 900; line-height: 1.4; }
.cxc-articles__sum { margin-top: 6px; color: var(--muted); }

/* ---------- 关于 ---------- */
.cxc-story__lead { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; line-height: 1.45; }
.cxc-story__p { margin-top: 24px; font-size: 18px; font-weight: 700; }
.cxc-story__list { display: grid; gap: 8px; margin-top: 12px; }

.cxc-story__list li {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 18px;
  font-weight: 700;
}

.cxc-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) { .cxc-pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cxc-pillar-grid { grid-template-columns: 1fr; } }

.cxc-pillar {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cxc-pillar__name { color: var(--orange); font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.cxc-pillar__line { margin-top: 10px; font-weight: 800; }

.cxc-faq { display: grid; gap: 10px; margin-top: 20px; }

.cxc-faq__item {
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.cxc-faq__item summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.cxc-faq__item summary::-webkit-details-marker { display: none; }

.cxc-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange-btn);
  font-size: 24px;
  font-weight: 900;
}

.cxc-faq__item[open] summary::after { content: "−"; }
.cxc-faq__item p { padding: 0 20px 18px; color: var(--ink-2); }
.cxc-faq__item a { color: var(--orange-btn); font-weight: 700; margin-left: 4px; }

/* ---------- KC01 文章 ---------- */
.cxc-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.cxc-crumbs a { color: rgba(255, 255, 255, 0.85); }
.cxc-article__meta { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.65); }

.cxc-article__body {
  padding-top: 40px;
  padding-bottom: 72px;
  font-size: 17px;
}

.cxc-article__sec { margin-top: 44px; }
.cxc-article__sec > h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; line-height: 1.4; margin-bottom: 14px; }
.cxc-article__sec > p + p { margin-top: 10px; }
.cxc-article__sec > .cxc-btn { margin-top: 16px; }

.cxc-answer {
  margin-top: -64px;
  position: relative;
  z-index: 3;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border-top: 5px solid var(--orange);
  box-shadow: var(--shadow-lg);
}

.cxc-answer__label { color: var(--orange-btn); font-weight: 900; letter-spacing: 0.06em; }
.cxc-answer__text { margin-top: 6px; font-size: 19px; font-weight: 800; line-height: 1.6; }
.cxc-answer__geo { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); }

.cxc-hero--article { padding-bottom: 96px; }

.cxc-pull {
  margin: 22px 0 0;
  padding: 4px 0 4px 18px;
  border-left: 5px solid var(--orange);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.5;
}

.cxc-lead-p { margin-top: 16px; font-size: 19px; font-weight: 800; color: var(--ink-2); }

.cxc-flowline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.cxc-flowline li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cxc-flowline b {
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 16px;
}

.cxc-flowline li:not(:last-child)::after {
  content: "→";
  color: var(--orange);
  font-weight: 900;
}

.cxc-flowline--grow li:last-child b,
.cxc-flowline li.is-end b {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.cxc-pending {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
}

.cxc-numlist { display: grid; gap: 10px; counter-reset: num; }

.cxc-numlist li {
  position: relative;
  padding: 12px 16px 12px 52px;
  border-radius: 14px;
  background: var(--bg);
  counter-increment: num;
}

.cxc-numlist li::before {
  content: counter(num);
  position: absolute;
  left: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.cxc-compare {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  align-items: stretch;
  gap: 12px;
  margin-top: 20px;
}

.cxc-compare__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 18px;
}

.cxc-compare__side:last-child { background: var(--orange-soft); border-color: #FFD3B0; }
.cxc-compare__k { font-size: 12px; color: var(--muted); }
.cxc-compare__vs { align-self: center; color: var(--orange); font-size: 26px; font-weight: 900; }

@media (max-width: 560px) {
  .cxc-compare { grid-template-columns: 1fr; }
  .cxc-compare__vs { justify-self: center; transform: rotate(90deg); }
}

.cxc-geo {
  margin-top: 48px;
  padding: 26px;
  border-radius: 22px;
  background: var(--violet-soft);
  border: 1px solid #D9D9F7;
}

.cxc-geo__label { color: var(--violet); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.cxc-geo__q { margin: 6px 0 10px; font-size: 21px; font-weight: 900; }

.cxc-closing {
  margin-top: 36px;
  padding: 26px;
  border-radius: 22px;
  background: var(--navy-900);
  color: #fff;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}

.cxc-nextq { display: grid; gap: 10px; margin-top: 28px; }

.cxc-nextq a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.15s;
}

.cxc-nextq a:hover { border-color: var(--orange); }
.cxc-nextq b { color: var(--orange-btn); white-space: nowrap; }

.cxc-statrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
  margin: 16px 0;
}

.cxc-statrow--2 { grid-template-columns: 1fr 1fr; }

.cxc-statrow > div {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 16px;
  background: var(--violet-soft);
}

.cxc-statrow strong { color: var(--violet); font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.15; }
.cxc-statrow small { font-size: 0.5em; margin-left: 2px; }
.cxc-statrow span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.cxc-statrow__n { justify-content: center; background: transparent !important; border: 1.5px dashed #C9C9F2; }

.cxc-statrow--2 strong { color: var(--orange); }
.cxc-statrow--2 > div { background: var(--orange-soft); }

@media (max-width: 640px) {
  .cxc-statrow { grid-template-columns: 1fr 1fr; }
}

.cxc-plainlist { display: grid; gap: 4px; margin-top: 8px; padding-left: 18px; list-style: disc; color: var(--ink-2); }

.cxc-preview40 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid rgba(30, 200, 122, 0.5);
  box-shadow: var(--shadow);
}

.cxc-preview40__avatar { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; flex: none; }
.cxc-preview40__avatar svg { display: block; width: 100%; height: 100%; }
.cxc-preview40__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; }
.cxc-preview40__meta { color: var(--muted); font-size: 14px; }

.cxc-preview40__play {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.cxc-costbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 4px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg);
}

.cxc-costbar__fade {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px dashed #C8CDD8;
  color: #9AA2B4;
  font-weight: 700;
  text-decoration: line-through;
  opacity: 0.75;
}

.cxc-costbar__core {
  flex: 1 1 220px;
  padding: 16px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.cxc-freqcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }

@media (max-width: 560px) { .cxc-freqcards { grid-template-columns: 1fr; } }

.cxc-freqcard {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.cxc-freqcard--hi { background: var(--orange-soft); border-color: #FFD3B0; }
.cxc-freqcard__n { display: block; margin-bottom: 6px; color: var(--orange-btn); font-size: 22px; font-weight: 900; }

.cxc-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cxc-evidence--one { grid-template-columns: 1fr; }

@media (max-width: 640px) { .cxc-evidence { grid-template-columns: 1fr; } }

.cxc-evidence__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  background: var(--violet-soft);
  border-left: 5px solid var(--violet);
}

.cxc-evidence__src { color: var(--violet); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.cxc-evidence__card b { font-size: 17px; line-height: 1.45; }
.cxc-evidence__card p { color: var(--ink-2); font-size: 15px; }

.cxc-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 700px) { .cxc-four { grid-template-columns: 1fr 1fr; } }

.cxc-four div { padding: 18px 14px; border-radius: 16px; background: var(--navy-900); color: #fff; }
.cxc-four b { display: block; color: var(--orange-2); font-size: 22px; font-weight: 900; }
.cxc-four p { margin-top: 6px; color: rgba(255, 255, 255, 0.82); font-size: 14px; }

.cxc-sentence { display: grid; gap: 8px; margin-top: 20px; }

.cxc-sentence li {
  justify-self: start;
  padding: 10px 16px;
  border-radius: 16px 16px 16px 4px;
  background: var(--orange-soft);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.cxc-sentence li:nth-child(2) { margin-left: 18px; }
.cxc-sentence li:nth-child(3) { margin-left: 36px; }
.cxc-sentence li:nth-child(4) { margin-left: 54px; background: var(--orange); color: #fff; }

@media (max-width: 480px) {
  .cxc-sentence li:nth-child(n) { margin-left: 0; }
}

.cxc-talkbars { display: grid; gap: 12px; margin: 14px 0 6px; }
.cxc-talkbar { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 10px; }
.cxc-talkbar__label { font-weight: 900; }
.cxc-talkbar__track { display: flex; gap: 2px; height: 40px; }

.cxc-talkbar__t,
.cxc-talkbar__s {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: var(--m) 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.cxc-talkbar__t { background: #DADDE6; color: var(--ink); }
.cxc-talkbar__s { background: var(--orange); color: #fff; }

.cxc-steps-inline { display: grid; gap: 10px; }

.cxc-steps-inline li {
  display: grid;
  grid-template-columns: 48px 72px 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
}

.cxc-steps-inline span { color: var(--orange); font-size: 24px; font-weight: 900; }
.cxc-steps-inline b { font-size: 18px; }

@media (max-width: 480px) {
  .cxc-steps-inline li { grid-template-columns: 34px 56px 1fr; gap: 6px; font-size: 15px; }
  .cxc-steps-inline span { font-size: 20px; }
  .cxc-steps-inline b { font-size: 16px; }
}

.cxc-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 560px) { .cxc-questions { grid-template-columns: 1fr; } }

.cxc-questions li {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--navy-900);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.cxc-people {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 20px auto 0;
}

.cxc-people__a { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); }
.cxc-people__a svg { display: block; width: 100%; height: 100%; }

.cxc-people__center {
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.cxc-people__center small { color: var(--muted); font-size: 11px; }

.cxc-talkers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 10px;
}

.cxc-talkers__row { display: inline-flex; gap: 4px; }

.cxc-talkers i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  color: var(--violet);
  font-style: normal;
  font-weight: 900;
}

.cxc-talkers__vs { color: var(--violet); font-weight: 900; }
.cxc-talkers__new { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink-2); }

.cxc-prose > * + * { margin-top: 1em; }
.cxc-prose h2 { font-size: 26px; font-weight: 900; margin-top: 1.6em; }
.cxc-prose ul { list-style: disc; padding-left: 1.4em; }
.cxc-prose ol { list-style: decimal; padding-left: 1.4em; }
.cxc-prose a { color: var(--orange-btn); }

/* ---------- Footer ---------- */
.cxc-footer {
  padding: 56px 0 28px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
}

.cxc-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
}

@media (max-width: 900px) { .cxc-footer__top { grid-template-columns: 1fr; } }

.cxc-footer__slogan { margin-top: 16px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.7; }
.cxc-footer__pillars { margin-top: 10px; color: var(--orange-2); font-weight: 800; }

.cxc-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 760px) { .cxc-footer__cols { grid-template-columns: repeat(2, 1fr); } }

.cxc-footer__h { margin-bottom: 10px; color: #fff; font-size: 15px; font-weight: 900; }
.cxc-footer__col li + li { margin-top: 6px; }
.cxc-footer__col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 14px; }
.cxc-footer__col a:hover { color: var(--orange-2); }

.cxc-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* =====================================================================
 * v2 visual layer — 按 _ref/pages/*.jpg + DESIGN-REVIEW-v2.md
 * 只改外形：颜色 / 字重 / 圆角 / 卡片结构；放在文件最后覆盖 v1。
 * ===================================================================== */

body { background: var(--white); color: var(--ink); }

h1, h2, h3,
.cxc-h2,
.cxc-hero__title { letter-spacing: -0.03em; }

.cxc-h2 { font-weight: 900; line-height: 1.18; color: var(--ink); }
.cxc-h2--left { text-align: left; }
.cxc-lead--strong { color: var(--ink); font-weight: 800; }
.cxc-muted--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.cxc-quote--center { margin: 28px auto 0; padding: 0; border: 0; text-align: center; }
.cxc-section__head--left { margin-left: 0; text-align: left; }
.cxc-section--tight { padding-top: 24px; }

/* 真人肖像（cxc-data.js avatar()）：所有头像容器统一 cover；v1–v5 = 循环使用时的裁切 / 镜像变体 */
.cxc-ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  -webkit-user-drag: none;
  user-select: none;
}

.cxc-ph--v1 { transform: scaleX(-1); }
.cxc-ph--v2 { transform: scale(1.2); object-position: 50% 22%; }
.cxc-ph--v3 { transform: scaleX(-1) scale(1.12); filter: saturate(0.92) brightness(1.04); }
.cxc-ph--v4 { transform: scale(1.32) translateY(5%); object-position: 50% 18%; }
.cxc-ph--v5 { transform: scaleX(-1); filter: saturate(1.08) sepia(0.08); }

.cxc-classroom__video .cxc-ph { position: absolute; inset: 0; }
.cxc-people__a .cxc-ph,
.cxc-ui-av .cxc-ph,
.cxc-preview40__avatar .cxc-ph,
.cxc-mcard__avatar .cxc-ph,
.cxc-tcard__avatar .cxc-ph { object-position: 50% 30%; }

/* ---------- v2 按钮：软暖橙实心，深色字（设计稿按钮是橙底深字） ---------- */
.cxc-btn { font-weight: 800; letter-spacing: 0; }

.cxc-btn--primary {
  background: var(--orange-grad);
  color: var(--btn-ink);
  box-shadow: 0 8px 22px rgba(245, 155, 61, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.cxc-btn--primary:hover {
  background: linear-gradient(180deg, #FBAE62 0%, #F59B3D 60%, #EF9233 100%);
  box-shadow: 0 10px 26px rgba(245, 155, 61, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.cxc-btn--soft {
  background: var(--orange-grad-light);
  color: var(--btn-ink);
  box-shadow: 0 8px 22px rgba(250, 159, 87, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cxc-btn--soft:hover { background: linear-gradient(180deg, #FFE2C4 0%, #FCC58E 100%); }

.cxc-btn--light { background: #FCFCFC; color: var(--navy-900); }
.cxc-btn--dark { background: var(--navy-900); }
.cxc-btn--dark:hover { background: var(--navy-700); }
.cxc-btn--outline { border-color: #D5D8E0; border-width: 1.5px; color: var(--ink); background: #fff; }
.cxc-btn--outline:hover { border-color: var(--ink); background: #fff; color: var(--ink); }

:focus-visible { outline-color: var(--orange); }

/* ---------- v2 Header ---------- */
.cxc-header { background: rgba(0, 12, 24, 0.9); border-bottom-color: rgba(255, 255, 255, 0.05); }

.cxc-logo__mark {
  background: linear-gradient(135deg, #FCB874, #F59B3D);
  color: var(--btn-ink);
  box-shadow: 0 4px 14px rgba(250, 159, 87, 0.35);
}

.cxc-nav__list a { font-weight: 500; }
.cxc-nav__list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); font-weight: 700; }

@media (max-width: 1080px) {
  .cxc-header,
  .cxc-nav { background: var(--navy-900); }
}

/* ---------- v2 Hero 通用 ---------- */
.cxc-hero {
  background:
    radial-gradient(ellipse 55% 70% at 80% 35%, rgba(83, 149, 197, 0.2), transparent 62%),
    radial-gradient(ellipse 45% 55% at 10% 100%, rgba(250, 159, 87, 0.1), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.cxc-hero__title { font-weight: 900; line-height: 1.08; }
.cxc-hl { color: var(--orange); }
.cxc-hl-ink { color: var(--orange-num); }
.cxc-hero__quote { color: var(--orange); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
.cxc-hero__sub strong { color: #fff; }
.cxc-kicker { color: var(--orange-ink); }
.cxc-kicker--light { color: var(--orange); }

/* 深色 Hero 下面的白色圆角面板压上来（设计稿每页都是这种结构） */
.cxc-hero--page:not(.cxc-hero--article) { padding-bottom: 84px; }

.cxc-hero + .cxc-panel,
.cxc-hero--page:not(.cxc-hero--article) + .cxc-section {
  position: relative;
  z-index: 4;
  margin-top: -36px;
  border-radius: 28px 28px 0 0;
  background: var(--white);
}

.cxc-hero--page:not(.cxc-hero--article) + .cxc-section--alt { background: var(--bg); }

/* ---------- v2 首页 Hero：左口号，右真人主卡 ---------- */
.cxc-hero--home {
  display: block;
  min-height: 0;
  padding: 24px 0 72px;
}

.cxc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 24px;
  min-height: min(620px, calc(100vh - var(--header-h) - 150px));
}

.cxc-hero__copy { max-width: 640px; }

.cxc-hero__title--slogan {
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1.06;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.cxc-hero__line2 { color: #fff; }

.cxc-hero__facts {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cxc-hero--home .cxc-hero__sub { margin-top: 8px; font-size: clamp(16px, 1.4vw, 19px); }
.cxc-hero--home .cxc-hero__sub strong { display: inline; margin: 0 0 0 4px; }

/* 「此刻 655 位老师在线」一行大字 */
.cxc-online--line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  max-width: none;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: none;
}

.cxc-online--line .cxc-online__label,
.cxc-online--line .cxc-online__unit { color: #fff; font-size: clamp(20px, 2vw, 28px); font-weight: 800; }

.cxc-online--line .cxc-online__num {
  color: #3EDC8E;
  font-size: clamp(52px, 5.6vw, 80px);
  letter-spacing: -0.03em;
  text-shadow: 0 0 28px rgba(30, 200, 122, 0.35);
}

.cxc-online--line .cxc-demo-note { flex-basis: 100%; }
.cxc-online__pulse { background: var(--green); box-shadow: 0 0 0 4px rgba(30, 200, 122, 0.22); }

.cxc-hero--home .cxc-hero__ctas { margin-top: 24px; gap: 14px; }
.cxc-hero--home .cxc-hero__ctas .cxc-btn { min-width: 220px; }

/* 主视觉舞台 */
.cxc-stage {
  position: relative;
  z-index: 3;
  height: min(580px, 62vh);
  min-height: 460px;
  perspective: 1200px;
  pointer-events: none;
}

.cxc-maincard {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 6%;
  width: min(390px, 80%);
  margin: calc(min(390px, 80%) * -0.62) 0 0;
  will-change: transform;
}

.cxc-maincard__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--navy-800), var(--navy-800)) padding-box,
    linear-gradient(140deg, rgba(140, 225, 255, 0.95), rgba(255, 255, 255, 0.25) 45%, rgba(250, 159, 87, 0.95)) border-box;
  box-shadow:
    0 0 0 6px rgba(250, 159, 87, 0.08),
    0 0 48px rgba(250, 159, 87, 0.3),
    0 0 60px rgba(110, 200, 255, 0.18),
    0 36px 70px rgba(0, 0, 0, 0.55);
  animation: cxc-float 7s ease-in-out infinite;
}

.cxc-maincard__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.cxc-badge-online {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #04301A;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 18px rgba(30, 200, 122, 0.45);
}

.cxc-badge-online i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.cxc-maincard__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 48px 20px 18px;
  background: linear-gradient(0deg, rgba(0, 12, 24, 0.85), rgba(0, 12, 24, 0));
  color: #fff;
  line-height: 1.3;
}

.cxc-maincard__cap b { font-size: 24px; font-weight: 900; }
.cxc-maincard__cap span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* 卫星卡：较小、有前后景深 */
.cxc-sat {
  position: absolute;
  z-index: 3;
  width: var(--w, 92px);
  will-change: transform;
}

.cxc-sat__in {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 22px rgba(250, 159, 87, 0.22), 0 16px 34px rgba(0, 0, 0, 0.5);
  animation: cxc-float var(--fd, 6s) ease-in-out var(--fdl, 0s) infinite;
}

.cxc-sat__in img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

.cxc-sat__dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px #fff;
}

.cxc-sat--1 { --w: 100px; --fd: 6.4s; top: 4%; left: 4%; }
.cxc-sat--2 { --w: 84px; --fd: 7.2s; --fdl: -2s; top: 46%; left: -4%; }
.cxc-sat--3 { --w: 74px; --fd: 8s; --fdl: -1s; z-index: 1; top: 0; right: 0; opacity: 0.75; filter: blur(0.6px) brightness(0.8); }
.cxc-sat--4 { --w: 108px; --fd: 6.8s; --fdl: -3s; bottom: 2%; left: 12%; }
.cxc-sat--5 { --w: 78px; --fd: 7.6s; --fdl: -4s; z-index: 1; bottom: 0; right: -2%; opacity: 0.8; filter: blur(0.5px) brightness(0.85); }

@keyframes cxc-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* 功能图标条 */
.cxc-featstrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  padding: 14px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cxc-featstrip li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 700;
}

.cxc-featstrip li + li { border-left: 1px solid rgba(255, 255, 255, 0.12); }

.cxc-featstrip__ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex: none;
}

.cxc-featstrip__ic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1023px) {
  .cxc-hero--home { padding-top: 0; }
  .cxc-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .cxc-stage { order: -1; height: 360px; min-height: 0; }
  .cxc-maincard { right: 50%; width: 236px; margin: -150px -118px 0 0; }
  .cxc-sat--1 { --w: 76px; left: 6%; }
  .cxc-sat--2 { --w: 66px; left: 2%; }
  .cxc-sat--3 { --w: 60px; right: 8%; }
  .cxc-sat--4 { --w: 80px; left: auto; right: 6%; bottom: 8%; }
  .cxc-sat--5 { display: none; }
}

@media (max-width: 760px) {
  .cxc-featstrip { grid-template-columns: 1fr 1fr; gap: 10px 0; }
  .cxc-featstrip li { justify-content: flex-start; font-size: 15px; }
  .cxc-featstrip li:nth-child(3) { border-left: 0; }
}

@media (max-width: 639px) {
  .cxc-stage { height: 268px; }
  .cxc-maincard { right: 8%; width: 176px; margin: -114px 0 0; }
  .cxc-maincard__frame { border-radius: 20px; }
  .cxc-maincard__cap { padding: 32px 12px 10px; }
  .cxc-maincard__cap b { font-size: 18px; }
  .cxc-maincard__cap span { font-size: 11px; }
  .cxc-badge-online { top: 10px; left: 10px; padding: 4px 10px 4px 8px; font-size: 11px; }
  .cxc-sat--1 { --w: 64px; top: 6%; left: 4%; }
  .cxc-sat--2 { --w: 54px; top: 56%; left: 18%; }
  .cxc-sat--3 { --w: 50px; top: 2%; right: auto; left: 34%; }
  .cxc-sat--4 { display: none; }
  .cxc-hero--home .cxc-hero__ctas .cxc-btn { min-width: 0; }
  .cxc-hero--home .cxc-hero__sub strong { display: block; margin: 2px 0 0; }
}

/* ---------- v2 找外教 Hero：「此刻，畅学村。」+ 超大 655 ---------- */
.cxc-hero--teachers {
  min-height: min(700px, calc(100vh - var(--header-h)));
  padding: 32px 0 96px;
  text-align: left;
}

.cxc-hero--teachers .cxc-hero__copy { max-width: 620px; }
.cxc-hero--teachers .cxc-hero__sub { margin: 14px 0 0; font-size: clamp(18px, 1.8vw, 22px); }
.cxc-hero--teachers .cxc-demo-note { margin-top: 12px; }

.cxc-hero__title--now { font-size: clamp(44px, 5.4vw, 84px); }

@media (max-width: 1023px) {
  /* 平板 / 手机：3D 卡片墙是文案上方的一条带，给它留出顶部空间 */
  .cxc-hero--teachers { min-height: 0; padding-top: 340px; padding-bottom: 80px; }
}

@media (max-width: 639px) {
  .cxc-hero--teachers { padding-top: 232px; }
}

.cxc-now {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 16px;
  margin-top: 6px;
}

.cxc-now__num {
  color: #3EDC8E;
  font-size: clamp(96px, 12vw, 176px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(30, 200, 122, 0.35);
}

.cxc-now__unit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ---------- v2 两张肖像价格卡 ---------- */
.cxc-pricecards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.cxc-pricecard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #F7F8FB 0%, #ECF1F8 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

a.cxc-pricecard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.cxc-pricecard--west { background: linear-gradient(135deg, #F5F9F8 0%, #E7F2F1 100%); }

.cxc-pricecard__photo {
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.cxc-pricecard__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent);
  mask-image: linear-gradient(90deg, #000 72%, transparent);
}

.cxc-pricecard__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px 22px 8px;
}

.cxc-pricecard__label { font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; }

.cxc-pricecard__price {
  color: var(--orange-num);
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.cxc-pricecard__price small { margin-left: 4px; color: var(--ink-2); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.cxc-pricecard__note { color: var(--muted); font-size: 14px; font-weight: 500; }

/* 价格「待确认」小字 */
.cxc-tbd,
.cxc-pricecard__tbd {
  color: #8A5A2B;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.cxc-pricecard__tbd {
  align-self: flex-start;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(250, 159, 87, 0.12);
  border: 1px dashed rgba(180, 87, 12, 0.35);
}

.cxc-tbd { margin-top: 12px; text-align: center; }
.cxc-tbd::before { content: "※ "; }

.cxc-stress {
  margin-top: 18px;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
}

/* 课程价格 Hero 内：深色上的暖色照片卡 */
.cxc-pricecards--hero .cxc-pricecard { border: 0; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.cxc-pricecards--hero .cxc-pricecard--ph { background: linear-gradient(135deg, #FFF7EE 0%, #FFE6CF 100%); }
.cxc-pricecards--hero .cxc-pricecard--west { background: linear-gradient(135deg, #F7F8FF 0%, #E9EEFC 100%); }
.cxc-hero--pricing .cxc-tiers__foot { color: rgba(255, 255, 255, 0.82); font-weight: 700; }
.cxc-hero--pricing .cxc-tiers__foot b { color: var(--orange); font-weight: 900; }

@media (max-width: 760px) {
  .cxc-pricecards { grid-template-columns: 1fr; gap: 14px; }
  .cxc-pricecard { min-height: 170px; }
}

/* ---------- v2 教师卡 ---------- */
.cxc-tcard { border-radius: 20px; border-color: var(--line); box-shadow: var(--shadow); background: #fff; }
.cxc-tcard.is-online { border-color: var(--line); }
.cxc-tcard:hover { box-shadow: var(--shadow-lg); }
.cxc-star { color: var(--orange-2); }
.cxc-status.is-online { background: #E2F8EE; color: var(--green-ink); }
.cxc-dot-online { background: var(--green); box-shadow: 0 0 0 3px rgba(30, 200, 122, 0.2); }
.cxc-demo-tag { background: rgba(0, 12, 24, 0.72); }

/* 首页照片卡 */
.cxc-teacher-grid--tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.cxc-tcard--tile { padding: 0; gap: 0; overflow: hidden; }

.cxc-tcard--tile .cxc-tcard__photo {
  position: relative;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  background: #EEF0F4;
}

.cxc-tcard__dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px #fff;
}

.cxc-tcard--tile .cxc-tcard__info { padding: 12px 16px 16px; }

.cxc-tcard--tile .cxc-tcard__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cxc-tcard--tile .cxc-tcard__country { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

.cxc-tcard__nums {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cxc-tcard--tile .cxc-demo-tag { top: 10px; left: 10px; right: auto; }

@media (max-width: 900px) { .cxc-teacher-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* 找外教横向卡：左照片右文字，右上心形 */
.cxc-teacher-grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.cxc-tcard--row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px;
}

.cxc-tcard--row .cxc-tcard__photo {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #EEF0F4;
}

.cxc-tcard--row .cxc-tcard__info { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding-right: 36px; }
.cxc-tcard--row .cxc-status { padding: 2px 10px; }
.cxc-tcard--row .cxc-tcard__name { margin-top: 4px; font-size: 21px; font-weight: 800; }
.cxc-tcard--row .cxc-tcard__country { margin: 0; font-size: 14px; color: var(--muted); }

.cxc-tcard__type {
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}

.cxc-tcard--row .cxc-tcard__nums { margin-top: 2px; }
.cxc-tcard--row .cxc-tcard__skills { gap: 8px; margin-top: 4px; font-size: 13px; }

.cxc-tcard--row .cxc-tcard__skills span {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-weight: 500;
}

.cxc-tcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  width: 100%;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.cxc-tcard--row .cxc-tcard__price { font-size: 13px; color: var(--muted); }
.cxc-tcard--row .cxc-tcard__price b { color: var(--orange-num); font-size: 18px; }

.cxc-tcard__go {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-grad);
  color: var(--btn-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.cxc-tcard__go--muted { background: var(--bg-2); color: var(--ink-2); }

.cxc-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}

.cxc-heart svg { width: 20px; height: 20px; fill: none; stroke: #9AA0AD; stroke-width: 1.8; stroke-linejoin: round; }
.cxc-heart:hover { border-color: #F3A9B3; }
.cxc-heart[aria-pressed="true"] svg { fill: #F0506E; stroke: #F0506E; }
.cxc-heart:active { transform: scale(0.92); }

.cxc-tcard--row .cxc-demo-tag { top: -9px; right: 64px; }

@media (max-width: 860px) { .cxc-teacher-grid--rows { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
  .cxc-tcard--row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .cxc-tcard--row .cxc-tcard__name { font-size: 18px; }
}

/* ---------- v2 找外教筛选：类型 tabs → 搜索 → 经验 pills ---------- */
.cxc-market__head { margin-bottom: 20px; }

.cxc-filters {
  position: static;
  flex-direction: column;
  flex-wrap: nowrap; /* column stack must not wrap; wrap stretched tabs/search to ~360px and expanded the mobile layout viewport */
  align-items: stretch;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  max-width: 100%;
}

.cxc-tabs { display: flex; flex-wrap: wrap; gap: 10px; max-width: 100%; }

.cxc-chip {
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  color: var(--ink-2);
}

.cxc-chip:hover { border-color: #F8C796; }

.cxc-chip[aria-pressed="true"] {
  background: var(--orange-grad-light);
  border-color: #F8C796;
  color: #7A3A06;
}

.cxc-tab {
  min-height: 46px;
  padding: 8px 20px;
  border-color: transparent;
  background: var(--bg-2);
  font-size: 16px;
}

.cxc-tsearch {
  position: relative;
  display: block;
  max-width: 100%;
}

.cxc-tsearch input {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px 12px 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.04);
}

.cxc-tsearch input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(250, 159, 87, 0.18); }

.cxc-tsearch__ic {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.cxc-filters__label { font-size: 15px; color: var(--ink-2); }
.cxc-filters__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 100%; }

.cxc-switch { background: #E2F8EE; border-color: rgba(30, 200, 122, 0.45); }
.cxc-online-pill { background: #E2F8EE; }

@media (max-width: 760px) {
  .cxc-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .cxc-tab { flex: none; font-size: 15px; padding: 8px 16px; }
}

/* ---------- v2 课程价格：计算器 ---------- */
.cxc-hero--pricing .cxc-hero__title--page { font-size: clamp(28px, 3.4vw, 44px); color: rgba(255, 255, 255, 0.92); }
.cxc-hero--pricing .cxc-hero__quote { margin-top: 6px; font-size: clamp(36px, 5vw, 72px); font-weight: 900; letter-spacing: -0.03em; }

.cxc-calc { display: block; max-width: 900px; margin: 0 auto; }

.cxc-calc__panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.cxc-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 22px;
}

.cxc-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.cxc-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #EEF0F4;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.cxc-steps li.is-done { color: var(--ink-2); }
.cxc-steps li.is-done::before { background: #FFE6CE; color: var(--orange-ink); }
.cxc-steps li.is-current { background: var(--orange-grad-light); color: #7A3A06; }
.cxc-steps li.is-current::before { background: var(--orange); color: #fff; }

.cxc-calc__n { background: #FFE6CE; color: var(--orange-ink); }

.cxc-opt {
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: #F2F3F6;
  color: var(--ink-2);
}

.cxc-opt:hover { background: #ECEDF2; }

.cxc-opt[aria-pressed="true"] {
  background: var(--orange-grad-light);
  color: #7A3A06;
  box-shadow: inset 0 0 0 1.5px #F8C796;
}

.cxc-opt[aria-pressed="true"] small { color: var(--orange-ink); }

.cxc-calc__result {
  margin-top: 10px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.04);
}

.cxc-calc__choice { display: flex; flex-direction: column; margin-bottom: 8px; }
.cxc-calc__choice-k { color: var(--muted); font-size: 13px; font-weight: 500; }
.cxc-calc__choice b { font-size: clamp(18px, 2vw, 22px); font-weight: 900; }

.cxc-calc__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 18px;
}

.cxc-calc__big { color: var(--orange-num); font-size: clamp(64px, 8vw, 96px); letter-spacing: -0.04em; }
.cxc-calc__meta span:first-child { font-size: 18px; color: var(--ink); }
.cxc-calc__meta-sub { color: var(--muted); font-size: 13px; font-weight: 500; }

.cxc-calc__price {
  margin: 0;
  text-align: right;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.cxc-calc__price b { display: block; color: var(--orange-num); font-size: clamp(36px, 4vw, 48px); font-weight: 900; letter-spacing: -0.02em; }
.cxc-calc__tbd { font-weight: 500; }
.cxc-calc__cta { margin-top: 16px; }

@media (max-width: 640px) {
  .cxc-calc__panel { padding: 20px 16px; }
  .cxc-calc__result { padding: 18px 16px; }
  .cxc-calc__row { grid-template-columns: auto 1fr; }
  .cxc-calc__price { grid-column: 1 / -1; text-align: left; }
}

/* 结果卡内 365 点阵（P2）：一列 = 一周，7 行 = 一周七天 */
.cxc-dots {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.cxc-dots__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 12px;
}

.cxc-dots__label b { font-size: 16px; font-weight: 800; }
.cxc-dots__label span { color: var(--orange-ink); font-size: 14px; font-weight: 700; }

.cxc-dots__field {
  --ds: 9px;
  --dg: 3px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, var(--ds));
  grid-auto-columns: var(--ds);
  gap: var(--dg);
  justify-content: space-between;
}

.cxc-dots__dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #E9EBF0;
  transition: background-color 0.7s ease, transform 0.7s ease, box-shadow 0.7s ease;
}

.cxc-dots__dot.is-lit {
  background: var(--orange);
  transform: scale(1.12);
  box-shadow: 0 0 0 2px rgba(250, 159, 87, 0.2), 0 0 6px rgba(250, 159, 87, 0.45);
  animation: cxc-dot-twinkle var(--td, 6s) ease-in-out var(--tw, 0s) infinite;
}

@keyframes cxc-dot-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.74; }
}

.cxc-dots__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cxc-dots__legend li { display: inline-flex; align-items: center; gap: 8px; }
.cxc-dots__key { width: 9px; height: 9px; border-radius: 50%; background: #E9EBF0; }
.cxc-dots__key--lit { background: var(--orange); box-shadow: 0 0 6px rgba(250, 159, 87, 0.6); }

.cxc-dots__span {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: #7A3A06;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 640px) {
  /* 窄屏：14 行，每列 = 两周 */
  .cxc-dots__field { --ds: 7px; --dg: 3px; grid-template-rows: repeat(14, var(--ds)); }
}

@media (prefers-reduced-motion: reduce) {
  .cxc-dots__dot { transition: none; }
  .cxc-dots__dot.is-lit { animation: none; }
  .cxc-maincard__frame,
  .cxc-sat__in { animation: none; }
}

/* 底部国王卡浅黄卡 + 畅学币浅薄荷卡 */
.cxc-plan { border: 0; border-radius: 24px; box-shadow: none; }
.cxc-plan--king { background: linear-gradient(135deg, #FFF8E4 0%, #FFEDC9 100%); border: 0; }
.cxc-plan--coin { background: linear-gradient(135deg, #EAF7F6 0%, #E3EEFB 100%); }
.cxc-plan__when { background: rgba(255, 255, 255, 0.7); }
.cxc-plan__price strong { color: var(--orange-num); }

/* ---------- v2 其余组件 ---------- */
.cxc-bigstats { margin-top: 0; padding: 8px 0 8px; }
.cxc-bigstat { border-top-color: var(--orange); box-shadow: var(--shadow); border-radius: 24px; background: #fff; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cxc-bigstat__num { color: var(--orange-num); }

.cxc-proof__item { border-radius: 22px; }
.cxc-badge-big { background: var(--orange-soft); color: var(--orange-ink); }
.cxc-quote { border-left-color: var(--orange); }

.cxc-ribbon { background: var(--orange-grad); color: var(--btn-ink); }
.cxc-minicalc { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cxc-minicalc__kicker { color: var(--orange-ink); }
.cxc-minicalc__num { color: var(--orange-num); }
.cxc-seg__btn[aria-pressed="true"] { background: var(--orange-grad-light); color: #7A3A06; box-shadow: inset 0 0 0 1.5px #F8C796; }

.cxc-platform { background: var(--navy-900); border-radius: 26px; }
.cxc-flow li { background: var(--bg); border-radius: 16px; }
.cxc-flow__n { background: var(--orange); color: var(--btn-ink); }
.cxc-flow li:not(:last-child)::after { color: var(--orange); }

.cxc-mcard { border-radius: 18px; }
.cxc-mcard.is-online { border-color: var(--line); }
.cxc-marquee-wrap { background: var(--bg); }

.cxc-viewpoint { border-radius: 24px; box-shadow: var(--shadow); }
.cxc-viewpoint--pool { background: var(--navy-900); }

.cxc-more,
.cxc-brand {
  background:
    radial-gradient(ellipse 70% 90% at 50% 100%, rgba(250, 159, 87, 0.2), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.cxc-footer { background: var(--navy-950); }

/* =====================================================================
 * v2 mobile / responsive layer（v2.0.1）— 见 _ref/BUILD-NOTES-mobile.md
 * 只做响应式：防横向溢出、标题 clamp、卡片重排、触控尺寸、Hero 舞台收拢、点阵自适应。
 * 断点：1280 / 1023 / 860 / 768 / 760 / 639 / 480 / 400 / 360。放在文件最后覆盖前面的规则。
 * ===================================================================== */

/* ---------- 1. 防横向溢出：修真正撑宽的盒子，而不是只靠 body overflow-x ---------- */
img,
svg,
video,
iframe { max-width: 100%; }

h1, h2, h3 { overflow-wrap: anywhere; }

/* 网格 / 横排容器的子项允许收缩到 0（默认 min-width:auto 会被长内容撑宽） */
.cxc-hero__grid > *,
.cxc-bigstats__grid > *,
.cxc-proof > *,
.cxc-split > *,
.cxc-teacher-grid > *,
.cxc-flow > *,
.cxc-platform > *,
.cxc-covers > *,
.cxc-plans > *,
.cxc-tiers > *,
.cxc-optgrid > *,
.cxc-steps3 > *,
.cxc-datastrip > *,
.cxc-charts > *,
.cxc-entries > *,
.cxc-worries > *,
.cxc-pillar-grid > *,
.cxc-compare > *,
.cxc-statrow > *,
.cxc-freqcards > *,
.cxc-evidence > *,
.cxc-four > *,
.cxc-questions > *,
.cxc-footer__top > *,
.cxc-footer__cols > *,
.cxc-pricecards > *,
.cxc-featstrip > *,
.cxc-classroom__videos > *,
.cxc-filters > *,
.cxc-filters__row > *,
.cxc-market__bar > * { min-width: 0; }

.cxc-filters__group { min-width: 0; }
.cxc-table { max-width: 100%; overflow-x: auto; }

/* ---------- 2. 标题：clamp 到 320 宽仍可读（h1 约 28–32px），不溢出容器 ---------- */
.cxc-hero__title { font-size: clamp(30px, 5vw + 14px, 80px); }
.cxc-hero__title--xl { font-size: clamp(32px, 6vw + 13px, 92px); }
.cxc-hero__title--page { font-size: clamp(28px, 3.6vw + 17px, 60px); }
.cxc-hero__title--article { font-size: clamp(26px, 2.4vw + 18px, 44px); }
.cxc-hero__title--slogan,
.cxc-hero__title--now { font-size: clamp(30px, 4.6vw + 15px, 84px); }
.cxc-hero--pricing .cxc-hero__title--page { font-size: clamp(28px, 1.6vw + 23px, 44px); }
.cxc-hero--pricing .cxc-hero__quote { font-size: clamp(28px, 4.4vw + 14px, 72px); line-height: 1.2; }

.cxc-h2 { font-size: clamp(24px, 2.6vw + 16px, 44px); }
.cxc-bigstat__num { font-size: clamp(40px, 7vw, 96px); }

@media (max-width: 768px) {
  .cxc-hero__title,
  .cxc-hero__title--slogan,
  .cxc-hero__title--now { line-height: 1.18; }
  .cxc-hero__title--page,
  .cxc-hero__title--article { line-height: 1.22; }
  .cxc-h2 { line-height: 1.25; }
}

/* 找外教 Hero 的 655：手机上缩小，不撑出 320 */
@media (max-width: 767px) {
  .cxc-now__num { font-size: clamp(64px, 20vw, 120px); }
  .cxc-now__unit { font-size: clamp(22px, 5vw + 6px, 34px); }
}

/* ---------- 3. 容器左右留白：320 宽也至少 16px ---------- */
@media (max-width: 360px) {
  .cxc-container { padding: 0 16px; }
}

/* ---------- 4. 汉堡菜单：面板可滚动、不产生横向溢出 ---------- */
@media (max-width: 1080px) {
  .cxc-header__inner { gap: 12px; }
  .cxc-burger { flex: none; }

  .cxc-nav {
    width: 100%;
    max-width: 100%;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .cxc-nav__list a { display: flex; align-items: center; min-height: 48px; }
  .cxc-nav__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
}

/* ---------- 5. 首页 Hero 舞台：主卡完整留在舞台内，卫星卡排在主卡外侧，不压标题条 ---------- */
/* --sh 舞台高度；--mw 主卡宽（4:5，高 = 1.25 × 宽）；--mr 主卡离舞台右边的距离；--g 卫星卡与主卡的间隙 */
.cxc-stage {
  --sh: clamp(460px, 62vh, 560px);
  --mw: min(390px, calc((var(--sh) - 56px) * 0.8), 74%);
  --mr: 4%;
  height: var(--sh);
  min-height: 0;
  overflow: hidden;
}

.cxc-maincard {
  top: 50%;
  right: var(--mr);
  width: var(--mw);
  margin: calc(var(--mw) * -0.625) 0 0;
}

.cxc-sat--1,
.cxc-sat--2,
.cxc-sat--4 {
  left: auto;
  right: calc(var(--mr) + var(--mw) + var(--g, 16px));
  width: min(var(--w), calc(100% - var(--mr) - var(--mw) - var(--g, 16px)));
}

.cxc-sat--1 { --w: 96px; --g: 16px; top: 7%; bottom: auto; }
.cxc-sat--2 { --w: 80px; --g: 30px; top: 40%; bottom: auto; }
.cxc-sat--4 { --w: 100px; --g: 12px; top: auto; bottom: 7%; }
/* 3 / 5 在主卡身后（z-index 1），只露出一点做景深，不会盖住主卡 */
.cxc-sat--3 { --w: 74px; top: 3%; right: 0; bottom: auto; left: auto; }
.cxc-sat--5 { --w: 78px; top: auto; bottom: 3%; right: 0; left: auto; }

/* 文案与功能条在卡片墙 / 舞台之上 */
.cxc-hero--home .cxc-hero__copy { position: relative; z-index: 4; }
.cxc-hero--home > .cxc-hero__inner:not(.cxc-hero__grid) { z-index: 4; }

.cxc-hero--home .cxc-featstrip {
  position: relative;
  z-index: 4;
  background: rgba(0, 12, 24, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
}

/* 1024–1280：两栏 Hero 不再被 min(620px, 100vh-…) 撑高；舞台 420–480，功能条与舞台留 28px */
@media (min-width: 1024px) and (max-width: 1280px) {
  .cxc-hero__grid { min-height: 0; }
  .cxc-stage { --sh: clamp(420px, 56vh, 480px); }
  .cxc-hero--home .cxc-featstrip { margin-top: 28px; }
}

/* 平板：舞台在文案上方，主卡居中，卫星卡分在左右两侧 */
@media (max-width: 1023px) {
  .cxc-stage { --sh: 360px; --mw: 236px; --mr: calc(50% - var(--mw) / 2); }
  .cxc-sat--1 { --w: 76px; --g: 18px; top: 8%; }
  .cxc-sat--2 { --w: 66px; --g: 40px; top: 54%; }

  .cxc-sat--3,
  .cxc-sat--4 {
    right: auto;
    left: calc(100% - var(--mr) + var(--g, 16px));
    width: var(--w);
  }

  .cxc-sat--3 { --w: 64px; --g: 28px; top: 10%; bottom: auto; }
  .cxc-sat--4 { --w: 80px; --g: 16px; top: auto; bottom: 10%; }
  .cxc-sat--5 { display: none; }
}

/* 手机：主卡偏右，只留左侧两张小卫星卡（都在主卡外，不碰 Shai / 菲律宾 标题条） */
@media (max-width: 639px) {
  .cxc-stage { --sh: 268px; --mw: 176px; --mr: max(4%, calc(50% - var(--mw) / 2 - 40px)); }
  .cxc-sat--1 { --w: 64px; --g: 14px; top: 9%; }
  .cxc-sat--2 { --w: 54px; --g: 28px; top: 54%; }
  .cxc-sat--3,
  .cxc-sat--4,
  .cxc-sat--5 { display: none; }
}

/* 首页 CTA：640 以下整行堆叠 */
@media (max-width: 639px) {
  .cxc-hero__ctas .cxc-btn,
  .cxc-hero--home .cxc-hero__ctas .cxc-btn { flex: 1 1 100%; width: 100%; min-width: 0; }
  .cxc-btn--xl { padding: 14px 20px; font-size: 18px; }
  .cxc-btn { white-space: normal; }
}

/* 功能条：窄屏收紧 */
@media (max-width: 360px) {
  .cxc-featstrip { padding: 12px 4px; }
  .cxc-featstrip li { gap: 8px; padding: 4px 8px; font-size: 14px; }
  .cxc-featstrip__ic { width: 32px; height: 32px; }
  .cxc-featstrip__ic svg { width: 18px; height: 18px; }
}

/* ---------- 6. 找外教 Hero：较轻的 3D 带留出顶部空间，不压标题 ---------- */
@media (min-width: 640px) and (max-width: 767px) {
  .cxc-hero--teachers { padding-top: 300px; }
}

@media (max-width: 639px) {
  .cxc-hero--teachers { padding-top: 244px; }
}

/* ---------- 7. 卡片重排 ---------- */
/* 价格卡：760 以下一列（已有）；480 以下照片列变窄，价格字号收小，避免被裁 */
@media (max-width: 480px) {
  .cxc-pricecard { grid-template-columns: 38% minmax(0, 1fr); min-height: 160px; }
  .cxc-pricecard__body { padding: 16px 14px 16px 6px; }
  .cxc-pricecard__price { font-size: clamp(28px, 8.4vw, 40px); }
  .cxc-pricecard__price small { font-size: 14px; }
  .cxc-pricecard__note { font-size: 13px; }
}

/* 首页在线老师照片卡：平板 / 手机 2 列（900 以下已是 2 列），窄屏收紧内边距 */
@media (max-width: 400px) {
  .cxc-teacher-grid--tiles { gap: 10px; }
  .cxc-tcard--tile .cxc-tcard__info { padding: 10px 10px 12px; }
  .cxc-tcard--tile .cxc-tcard__name { font-size: 16px; }
  .cxc-tcard--tile .cxc-tcard__country { font-size: 13px; }
  .cxc-tcard__nums { flex-wrap: wrap; gap: 2px 8px; font-size: 14px; }
}

/* 找外教横向卡：860 以下一列（已有），仍是左图右文；心形 44×44 */
.cxc-heart { width: 44px; height: 44px; }

@media (max-width: 480px) {
  .cxc-tcard--row .cxc-tcard__info { padding-right: 0; }
  .cxc-tcard--row .cxc-status,
  .cxc-tcard--row .cxc-tcard__name { margin-right: 50px; }
  .cxc-tcard--row .cxc-heart { top: 12px; right: 12px; }
}

/* ---------- 8. 课程价格计算器：结果卡 + 365 点阵自适应宽度 ---------- */
/* 列宽 minmax(0, 1fr) 跟着卡片宽度缩；点本身最大 --dmax，正方形；外框裁切，亮点放大不外溢 */
.cxc-dots__field {
  --rows: 7;
  --dg: 3px;
  --dmax: 10px;
  width: 100%;
  max-width: 100%;
  padding: 3px;
  overflow: hidden;
  grid-template-rows: repeat(var(--rows), auto);
  grid-auto-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: var(--dg);
}

.cxc-dots__dot {
  width: 100%;
  max-width: var(--dmax);
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
}

@media (max-width: 640px) {
  /* 14 行，约 27 列 */
  .cxc-dots__field { --rows: 14; --dg: 3px; --dmax: 10px; grid-template-rows: repeat(var(--rows), auto); }
}

@media (max-width: 480px) {
  /* 18 行，约 21 列：320 宽时每点约 8px */
  .cxc-dots__field { --rows: 18; --dg: 2px; --dmax: 10px; }
  .cxc-dots__dot.is-lit { transform: scale(1.05); }
}

@media (max-width: 400px) {
  .cxc-calc__row { grid-template-columns: minmax(0, 1fr); }
  .cxc-calc__big { font-size: clamp(56px, 18vw, 64px); }
}

/* ---------- 9. 触控尺寸：≤768 交互控件至少 44×44（加高度 / 内边距，不缩字） ---------- */
@media (max-width: 768px) {
  .cxc-btn,
  .cxc-btn--sm { min-height: 44px; }
  .cxc-btn--sm { padding: 8px 16px; }
  .cxc-chip { min-height: 44px; min-width: 44px; }
  .cxc-tab { min-height: 46px; }
  .cxc-opt { min-height: 58px; min-width: 44px; }
  .cxc-seg__btn { min-height: 44px; }
  .cxc-burger { width: 44px; height: 44px; }

  .cxc-tcard__go {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    font-size: 14px;
  }

  .cxc-switch { position: relative; min-height: 44px; }

  input,
  select,
  textarea { font-size: 16px; }

  .cxc-tsearch input,
  .cxc-search input { min-height: 54px; }

  .cxc-faq__item summary { min-height: 44px; }
  .cxc-table summary { padding: 10px 0; }
  .cxc-footer__col a { display: inline-block; padding: 6px 0; }

  /* 提示气泡：允许换行，不撑出屏幕 */
  [data-tip]:hover::after,
  [data-tip]:focus-visible::after {
    width: max-content;
    max-width: min(260px, calc(100vw - 48px));
    white-space: normal;
  }
}

/* 只看在线开关：真正的 checkbox 铺满整个胶囊，点哪里都能切换，命中区 = 胶囊尺寸 */
.cxc-switch { position: relative; }

.cxc-switch input {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

/* ---------- 10. 其余组件的窄屏内边距 ---------- */
@media (max-width: 480px) {
  .cxc-rule { padding: 18px 18px 18px 58px; }
  .cxc-rule::before { left: 16px; top: 18px; font-size: 24px; }
  .cxc-plan { padding: 22px 20px; }
  .cxc-minicalc { padding: 20px 18px; }
  .cxc-viewpoint { padding: 24px 20px; }
  .cxc-confirm { padding: 22px 18px; }
  .cxc-confirm__list div { flex-wrap: wrap; gap: 2px 12px; }
  .cxc-chart { padding: 20px 16px; }
  .cxc-calc__panel { padding: 18px 14px; }
  .cxc-calc__result { padding: 16px 14px; }
}

/* ---------- 11. prefers-reduced-motion：静态卡片墙、无漂浮、无点阵闪烁、无平滑滚动 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cxc-maincard__frame,
  .cxc-sat__in,
  .cxc-online__pulse::after,
  .cxc-dots__dot.is-lit { animation: none; }
  .cxc-dots__dot,
  .cxc-nav { transition: none; }
  .cxc-btn:hover,
  .cxc-tcard:hover,
  .cxc-entry:hover,
  a.cxc-pricecard:hover { transform: none; }
}

/* =====================================================================
 * v2 review layer（v2.0.2）— 见 _ref/BUILD-NOTES-review.md
 * 首页 CTA、卡片层次、如何上课时间线、指南缩略图、关于 Hero 配图、年历点阵、演示标签、键盘焦点、减少动态。
 * 放在移动端层之后，覆盖前面的规则；颜色只用已有变量 / 已取样色。
 * ===================================================================== */

/* ---------- 1. 首页 Hero CTA：56px 高胶囊，更宽的左右内边距 ---------- */
.cxc-hero--home .cxc-hero__ctas .cxc-btn {
  min-height: 56px;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 18px;
}

@media (max-width: 639px) {
  .cxc-hero--home .cxc-hero__ctas .cxc-btn { min-height: 54px; padding: 14px 28px; font-size: 17px; }
}

/* ---------- 2. 价格卡 / 教师卡：柔和多层阴影 + 1px 高光边 ---------- */
.cxc-pricecard {
  border-color: rgba(16, 24, 40, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 8px 20px -6px rgba(16, 24, 40, 0.08),
    0 24px 44px -22px rgba(250, 159, 87, 0.28);
}

.cxc-pricecard--west {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 8px 20px -6px rgba(16, 24, 40, 0.08),
    0 24px 44px -22px rgba(0, 12, 24, 0.26);
}

a.cxc-pricecard:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(16, 24, 40, 0.05),
    0 14px 30px -8px rgba(16, 24, 40, 0.12),
    0 30px 54px -24px rgba(250, 159, 87, 0.34);
}

/* 深色 Hero 内的价格卡：保留深底上的投影，再加一道顶部高光 */
.cxc-pricecards--hero .cxc-pricecard {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 26px 56px -18px rgba(0, 0, 0, 0.5);
}

.cxc-tcard {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF9 100%);
  border-color: rgba(16, 24, 40, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 10px 26px -12px rgba(16, 24, 40, 0.14);
}

.cxc-tcard:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(16, 24, 40, 0.05),
    0 18px 36px -14px rgba(16, 24, 40, 0.18),
    0 22px 40px -26px rgba(250, 159, 87, 0.3);
}

/* ---------- 3. 演示标签：可以小，但必须看得清 ---------- */
.cxc-demo-tag { color: #fff; font-weight: 700; white-space: nowrap; }

/* 在线人数旁的「演示」胶囊（首页 / 找外教） */
.cxc-demo-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex: none;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.08em;
  cursor: help;
}

.cxc-now .cxc-demo-badge { font-size: 13px; }

/* 首页主卡 / 价格卡照片上的「演示 · 生成头像」 */
.cxc-maincard__demo,
.cxc-pricecard__demo {
  position: absolute;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(0, 12, 24, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.cxc-maincard__demo { top: 18px; right: 16px; }
.cxc-pricecard__demo { left: 10px; bottom: 10px; }

@media (max-width: 639px) {
  .cxc-maincard__demo { top: 10px; right: 10px; font-size: 10px; line-height: 18px; padding: 0 6px; }
}

.cxc-marquee-wrap__demo { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- 4. 如何上课：三步时间线（编号节点 + 连接线） ---------- */
.cxc-timeline { position: relative; }

.cxc-timeline::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 28px;
  left: calc((100% - 40px) / 6);
  right: calc((100% - 40px) / 6);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange-2), var(--orange));
  opacity: 0.55;
}

.cxc-timeline .cxc-step3 {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 44px;
  text-align: center;
  background: var(--bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 22px -14px rgba(16, 24, 40, 0.16);
}

.cxc-timeline .cxc-step3__n {
  position: absolute;
  top: -28px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #fff;
  font-size: 20px;
  letter-spacing: 0;
  box-shadow: 0 0 0 6px var(--white), 0 8px 18px rgba(250, 159, 87, 0.4);
}

@media (max-width: 860px) {
  /* 竖向时间线：左侧连线，节点在卡片左边 */
  .cxc-timeline { gap: 18px; }

  /* 每段连线从本节点中心连到下一个节点中心（节点中心 = 卡片顶 + 42px，卡片间距 18px） */
  .cxc-timeline::before { display: none; }

  .cxc-timeline .cxc-step3 {
    margin: 0 0 0 72px;
    padding-top: 22px;
    text-align: left;
  }

  .cxc-timeline .cxc-step3:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 42px;
    bottom: -60px;
    left: -46px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--orange-2), var(--orange));
    opacity: 0.55;
  }

  .cxc-timeline .cxc-step3__n { top: 14px; left: -72px; margin-left: 0; }
}

@media (max-width: 480px) {
  .cxc-timeline .cxc-step3 { margin-left: 58px; padding: 18px 16px; }
  .cxc-timeline .cxc-step3:not(:last-child)::after { top: 36px; bottom: -54px; left: -37px; }
  .cxc-timeline .cxc-step3__n { left: -58px; width: 44px; height: 44px; font-size: 17px; }
}

.cxc-classroom__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
}

/* ---------- 5. 指南：文章行左侧小缩略图（生成配图） ---------- */
.cxc-articles__link {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
}

.cxc-articles__thumb {
  position: relative;
  grid-row: 1 / span 3;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg);
}

.cxc-articles__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cxc-articles__thumb::after {
  content: "生成配图";
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 0 6px;
  border-radius: 5px;
  background: rgba(0, 12, 24, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
}

.cxc-articles__code,
.cxc-articles__title,
.cxc-articles__sum { grid-column: 2; }

.cxc-articles__imgnote { margin-top: 14px; color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  .cxc-articles__link { grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .cxc-articles__thumb { aspect-ratio: 1 / 1; border-radius: 12px; }
}

@media (max-width: 380px) {
  .cxc-articles__link { grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; }
  .cxc-articles__sum { font-size: 14px; }
}

/* ---------- 6. 关于：Hero 右侧场景图（生成图片），H1 在前、不被遮挡 ---------- */
.cxc-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}

.cxc-about-hero__copy { min-width: 0; }
.cxc-about-hero__media { min-width: 0; margin: 0; }

.cxc-about-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 48px -18px rgba(0, 0, 0, 0.55);
}

.cxc-about-hero__media figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

@media (max-width: 900px) {
  .cxc-about-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- 7. 年历点阵（示意）：53 列（周）× 7 行（天）；上半年 27 周 / 下半年 26 周 ---------- */
/* 桌面两块并排 = 一整排 53 列；≤640 上下堆叠，两块都按 27 列对齐。外框只做裁切，不撑宽页面 */
.cxc-dots__disclaimer {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cxc-dots__field {
  --dg: 3px;
  --dmax: 10px;
  display: flex;
  gap: var(--dg);
  width: 100%;
  max-width: 100%;
  padding: 3px;
  overflow: hidden;
}

.cxc-dots__half {
  --cols: 27;
  display: grid;
  flex: 27 1 0;
  min-width: 0;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, auto);
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--dg);
}

.cxc-dots__half--2 { --cols: 26; flex-grow: 26; }

@media (max-width: 640px) {
  .cxc-dots__field { flex-direction: column; row-gap: 10px; }
  .cxc-dots__half { flex: none; }
  .cxc-dots__half--2 { --cols: 27; }
}

@media (max-width: 480px) {
  .cxc-dots__field { --dg: 2px; }
}

/* ---------- 8. 键盘焦点：橙色焦点环更明显；不对交互控件去掉 outline ---------- */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
.cxc-btn:focus-visible,
.cxc-opt:focus-visible,
.cxc-chip:focus-visible,
.cxc-tab:focus-visible,
.cxc-seg__btn:focus-visible,
.cxc-heart:focus-visible,
.cxc-burger:focus-visible,
.cxc-tcard__go:focus-visible,
.cxc-entry:focus-visible,
.cxc-worry:focus-visible,
.cxc-articles__link:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px rgba(250, 159, 87, 0.3);
}

/* 页头深色底上：焦点环用亮一点的橙，并加白色内圈 */
.cxc-header a:focus-visible,
.cxc-header button:focus-visible {
  outline-color: var(--orange-2);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.18);
}

/* 计算器选项：已选中的橙底按钮上也要看得见焦点 */
.cxc-opt[aria-pressed="true"]:focus-visible,
.cxc-btn--primary:focus-visible { outline-color: var(--navy-900); box-shadow: 0 0 0 7px rgba(250, 159, 87, 0.45); }

.cxc-header .cxc-btn--primary:focus-visible { outline-color: #fff; }

/* 搜索框：原来 :focus 去掉了 outline，键盘聚焦时补回 */
.cxc-tsearch input:focus-visible,
.cxc-search input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 9. prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cxc-dots__dot,
  .cxc-dots__dot.is-lit { animation: none; transition: none; }
  .cxc-maincard__frame,
  .cxc-sat__in,
  .cxc-hero__ctas .cxc-btn,
  .cxc-pricecard,
  .cxc-tcard { animation: none; }
  .cxc-btn:hover,
  .cxc-tcard:hover,
  a.cxc-pricecard:hover { transform: none; }
}


/* =====================================================================
 * v2.0.3 — dark-surface tokens, reference logo, desktop rhythm
 * Palette sampled from _ref/pages/*.jpg (navy / warm orange / white / mint).
 * No new hues invented.
 * ===================================================================== */

:root {
  --ink-on-dark: #FCFCFC; /* sampled page white */
  --ink-2-on-dark: rgba(252, 252, 252, 0.86);
  --muted-on-dark: rgba(252, 252, 252, 0.68);
  --line-on-dark: rgba(255, 255, 255, 0.14);
}

/* Dark surfaces remap heading/body/muted tokens so .cxc-h2 { color: var(--ink) }
   inherits light text. Do not globally force headings white (light cards stay dark ink). */
.is-dark,
.cxc-hero,
.cxc-footer,
.cxc-header,
.cxc-more,
.cxc-brand,
.cxc-viewpoint--pool,
.cxc-entry,
.cxc-classroom,
.cxc-closing,
.cxc-questions > li,
.cxc-four > div,
.cxc-platform {
  --ink: var(--ink-on-dark);
  --ink-2: var(--ink-2-on-dark);
  --muted: var(--muted-on-dark);
  --line: var(--line-on-dark);
  color: var(--ink);
}

/* Nested light chrome inside a dark parent restores page ink */
.is-light,
.cxc-pricecard,
.cxc-tcard,
.cxc-calc,
.cxc-calc__panel,
.cxc-filters,
.cxc-opt,
.cxc-viewpoint:not(.is-dark):not(.cxc-viewpoint--pool) {
  --ink: #1A1A1A;
  --ink-2: #3A3F4B;
  --muted: #6B7280;
  --line: #E8E8EE;
}

/* Logo: favicon-style orange rounded square + 畅 (labeled approximation).
   White-on-orange is a graphic mark, not body text. Official source file still needed. */
.cxc-logo__mark {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #FCB874, #F59B3D);
  color: var(--btn-ink);
  box-shadow: none;
}

.cxc-logo__mark img,
.cxc-logo__mark svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cxc-footer .cxc-logo__mark {
  background: linear-gradient(135deg, #FCB874, #F59B3D);
}

/* Desktop: articles in two columns; calculator inputs | result side by side */
@media (min-width: 1080px) {
  .cxc-articles {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }

  .cxc-calc { display: block; max-width: none; margin: 0; }

  .cxc-calc__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    column-gap: 36px;
    row-gap: 18px;
    align-items: start;
  }

  .cxc-calc__panel > .cxc-steps { grid-column: 1 / -1; }

  .cxc-calc__panel > .cxc-calc__result {
    grid-column: 2;
    grid-row: 2 / span 3;
    margin-top: 0;
  }

  .cxc-calc__panel > .cxc-calc__cta { grid-column: 1 / -1; }
}

/* Desktop measure: paragraph line length ~35–45 CJK chars (≈ 36–42em) */
@media (min-width: 1280px) {
  .cxc-lead,
  .cxc-story__p,
  .cxc-prose p,
  .cxc-article__sec > p,
  .cxc-answer__geo,
  .cxc-lead-p {
    max-width: 42em;
  }

  .cxc-section { padding: 80px 0; }
}

/* Never distort bitmap aspect; cover-crops keep object-fit from later rules */
img { max-width: 100%; }

/* ---------- 2.0.3 continued: dark-surface headings, mobile hero (addendum) ---------- */

/* Explicit on-dark headings so later .cxc-h2 { color: var(--ink) } inherits light ink.
   Nested light chrome already restores --ink to #1A1A1A. */
.is-dark .cxc-h2,
.cxc-hero .cxc-h2,
.cxc-footer .cxc-h2,
.cxc-more .cxc-h2,
.cxc-brand .cxc-h2,
.cxc-viewpoint--pool .cxc-h2,
.cxc-entry .cxc-h2,
.cxc-classroom .cxc-h2,
.cxc-closing .cxc-h2,
.cxc-questions > li .cxc-h2,
.cxc-four > div .cxc-h2,
.cxc-platform .cxc-h2 {
  color: var(--ink);
}

/* Footer / dark-band secondary text: use on-dark muted (not dim gray / 0.5 white). */
.cxc-footer__col a { color: var(--ink-2); }
.cxc-footer__bottom { color: var(--muted); }
.cxc-more__sub { color: var(--ink-2); }

/* Data axis labels: page-ink on the light chart (not inherited on-dark). */
.cxc-bars__label,
.cxc-chart__foot {
  color: var(--ink-2);
}

/* Rules / price 待确认 notes keep the existing brown-on-peach (passes 4.5 on white and #FFF3E8). */
.cxc-tbd,
.cxc-pricecard__tbd {
  color: #8A5A2B;
}

/* Home hero: natural content height. No 100vh floor, no space-between stretch.
   Decorations stay below copy. Background stays the existing navy + glow tokens
   (do not invent a new hero palette). Light side gutters / outer scrollbars in
   framed preview shots are not treated as site bugs (MOBILE-HERO-ADDENDUM §1/§4). */
.cxc-hero--home {
  display: block;
  height: auto;
  min-height: 0;
  justify-content: flex-start;
}

.cxc-hero--home .cxc-hero__grid {
  min-height: 0;
  height: auto;
  align-items: start;
}

.cxc-hero--home .cxc-hero__copy {
  display: block;
  position: relative;
  z-index: 4;
}

.cxc-hero--home .cxc-orbit,
.cxc-hero--home .cxc-stars {
  pointer-events: none;
  z-index: 1;
}

.cxc-hero--home .cxc-hero__shade {
  z-index: 2;
  pointer-events: none;
}

/* ≤1023: content-aware stage via vmin/clamp (replaces hard 360px). */
@media (max-width: 1023px) {
  .cxc-hero--home {
    min-height: 0;
    height: auto;
    justify-content: flex-start;
    --stage-h: clamp(220px, 42vmin, 320px);
  }

  /* Same navy stops as hero-orbit.css mobile shade; tied to stage height
     so copy stays readable after the stage clamp (orbit stays behind text). */
  .cxc-hero--home .cxc-hero__shade,
  .cxc-hero--home .cxc-hero__shade--center {
    background: linear-gradient(180deg,
      rgba(0, 12, 24, 0) 0,
      rgba(0, 12, 24, 0.15) var(--stage-h),
      rgba(0, 12, 24, 0.92) calc(var(--stage-h) + 72px),
      #000C18 100%);
  }

  .cxc-hero--home .cxc-hero__grid {
    min-height: 0;
    height: auto;
  }

  .cxc-hero--home .cxc-stage {
    --sh: clamp(220px, 42vmin, 320px);
    --mw: min(220px, 58vw, calc(var(--sh) * 0.68));
    height: var(--sh);
    min-height: 0;
  }

  .cxc-hero--home .cxc-maincard {
    width: var(--mw);
    margin: calc(var(--mw) * -0.625) 0 0;
    right: var(--mr);
  }
}

/* ≤639: stage ~220–280, maincard ~150–180, face-safe crop; tighten copy→CTA rhythm. */
@media (max-width: 639px) {
  .cxc-hero--home {
    padding: 12px 0 48px; /* bottom 40–56 */
    min-height: 0;
    height: auto;
    --stage-h: clamp(220px, 68vmin, 280px);
  }

  .cxc-hero--home .cxc-stage {
    --sh: clamp(220px, 68vmin, 280px);
    --mw: clamp(150px, calc(var(--sh) * 0.66), 180px);
    height: var(--sh);
    min-height: 0;
  }

  .cxc-hero--home .cxc-maincard {
    width: var(--mw);
    margin: calc(var(--mw) * -0.625) 0 0;
  }

  .cxc-hero--home .cxc-maincard__img {
    object-fit: cover;
    object-position: 50% 30%;
  }

  .cxc-hero--home .cxc-online--line {
    margin-top: 14px; /* 12–16 */
  }

  .cxc-hero--home .cxc-online--line .cxc-demo-note {
    margin-top: 2px;
    line-height: 1.45;
  }

  .cxc-hero--home .cxc-hero__ctas {
    margin-top: 14px; /* 12–16 */
    gap: 12px; /* 10–12 */
  }

  .cxc-hero--home .cxc-featstrip {
    margin-top: 18px; /* 16–22 */
  }
}

/* Short portrait / landscape phone: shrink stage with vmin, keep portrait inside, don't crush copy. */
@media (max-width: 1023px) and (max-height: 560px) {
  .cxc-hero--home {
    min-height: 0;
    height: auto;
    --stage-h: clamp(180px, 36vmin, 240px);
  }

  .cxc-hero--home .cxc-stage {
    --sh: clamp(180px, 36vmin, 240px);
    --mw: clamp(140px, calc(var(--sh) * 0.72), 180px);
    height: var(--sh);
    min-height: 0;
  }

  .cxc-hero--home .cxc-maincard {
    width: var(--mw);
    margin: calc(var(--mw) * -0.625) 0 0;
  }
}

/* =====================================================================
 * v2.0.3.1 — light-surface text contrast (REVIEW-2.0.3 B1–B6 + skip-link)
 * Bright orange stays on buttons / decorative fills and on dark heroes.
 * Light-surface running text uses existing ink / darkened existing hues.
 * Ratios measured in 2.0.3.1/contrast-pairs-*.json (not rounded to pass).
 * ===================================================================== */

:root {
  /* Existing --ink-2. #6B7280 on #F3F4F8 = 4.3986 (<4.5). */
  --ink-muted: #3A3F4B; /* on #F3F4F8 = 9.5892; on #FCFCFC = 10.2729 */

  /* Existing selected-option ink (already in this file). Darker than
     --orange-ink #B4570C, which is 4.4339 on #F3F4F8 (fails 4.5). */
  --orange-text: #7A3A06; /* on #F3F4F8 = 7.8455; on #FFFFFF = 8.6229;
                              on #FCFCFC = 8.4049; large or body both pass */

  /* 75% of existing --violet #5395C5 (no new hue). */
  --violet-text: #3E7094; /* on #F3F4F8 = 4.8370; on #EAF2F9 = 4.7004;
                              on #FFFFFF = 5.3163 */
}

/* B1 / B4 link text on light surfaces: navy + underline (not #F8A048). */
.cxc-faq__item a,
.cxc-hint a,
.cxc-story a,
.cxc-story__list a,
.cxc-answer a,
.cxc-prose a,
.cxc-article__sec a,
.cxc-lead a,
.cxc-source a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: from-font;
}

.cxc-faq__item a:hover,
.cxc-hint a:hover,
.cxc-story a:hover,
.cxc-source a:hover {
  color: var(--navy-800);
}

/* B2 / B3 — muted body and price-card footnotes ≥4.5 on page bg and white cards */
.cxc-muted,
.cxc-pricecard__note,
.cxc-hint,
.cxc-confirm__list dt,
.cxc-cover__hint,
.cxc-articles__imgnote {
  color: var(--ink-2);
}

/* B4 / B5 — light-surface orange TEXT (prices, stats, confirm totals, kickers).
   Do not retint buttons or dark-hero accents. */
.cxc-pricecard__price,
.cxc-pricecard__price b,
.cxc-bigstat__num,
.cxc-tcard__price b,
.cxc-tcard--row .cxc-tcard__price b,
.cxc-calc__big,
.cxc-calc__price b,
.cxc-plan__price strong,
.cxc-minicalc__num,
.cxc-confirm__kicker,
.cxc-confirm__list b,
.cxc-confirm__total,
.cxc-pillar__name,
.cxc-tier__price,
.cxc-hl-ink,
.cxc-kicker:not(.cxc-kicker--light) {
  color: var(--orange-text);
}

/* Dark surfaces keep the bright brand orange (hero / more / pool / navy). */
.cxc-hero .cxc-hl,
.cxc-hero .cxc-hl-ink,
.cxc-hero .cxc-kicker--light,
.cxc-hero .cxc-hero__quote,
.is-dark .cxc-hl,
.is-dark .cxc-kicker,
.cxc-more .cxc-hl,
.cxc-viewpoint--pool .cxc-kicker {
  color: var(--orange);
}

/* B6 — data/guide blue labels and numbers on light chrome */
.cxc-proof__num,
.cxc-proof__num small,
.cxc-chart__foot b,
.cxc-table summary,
.cxc-method-list dt,
.cxc-articles__code,
.cxc-geo__label {
  color: var(--violet-text);
}

/* Decorative violet (bars, rings) stays --violet */

/* P1 skip-link: same pair as primary CTA (btn-ink on orange-btn = 8.2947) */
.cxc-skip,
.cxc-skip:focus,
.cxc-skip:focus-visible {
  color: var(--btn-ink);
  background: var(--orange-btn);
}


/* ---------- 2.0.4 interaction ---------- */
/* Week rows: independent weekday buttons */
.cxc-week {
  grid-template-columns: 1fr;
  align-items: stretch;
}
.cxc-week__label {
  margin: 0;
  line-height: 1.35;
}
.cxc-week__day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.cxc-week__day:hover,
.cxc-week__day:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 2px;
  background: #E5E7EB;
  color: var(--ink);
}
.cxc-week__day[aria-pressed="true"] {
  background: var(--orange);
  color: var(--btn-ink);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(250, 159, 87, 0.2);
}

/* Buttons: high-contrast hover/focus/press, no displacement */
.cxc-btn:hover,
.cxc-btn:focus,
.cxc-btn:focus-visible,
.cxc-btn:active,
.cxc-opt:hover,
.cxc-opt:focus,
.cxc-opt:focus-visible,
.cxc-opt:active,
.cxc-seg__btn:hover,
.cxc-seg__btn:focus,
.cxc-seg__btn:focus-visible,
.cxc-seg__btn:active,
.cxc-chip:hover,
.cxc-chip:focus,
.cxc-chip:focus-visible,
.cxc-chip:active,
.cxc-week__day:hover,
.cxc-week__day:focus,
.cxc-week__day:focus-visible,
.cxc-week__day:active,
.cxc-heart:hover,
.cxc-heart:focus,
.cxc-heart:focus-visible,
.cxc-heart:active,
.cxc-dots__nav:hover,
.cxc-dots__nav:focus,
.cxc-dots__nav:focus-visible,
.cxc-dots__nav:active,
.cxc-textbtn:hover,
.cxc-textbtn:focus,
.cxc-textbtn:focus-visible,
.cxc-textbtn:active,
.cxc-table__toggle:hover,
.cxc-table__toggle:focus,
.cxc-table__toggle:focus-visible,
.cxc-table__toggle:active {
  transform: none;
}

.cxc-textbtn {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cxc-textbtn:hover,
.cxc-textbtn:focus-visible {
  color: var(--navy-800);
}

.cxc-articles__status {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

/* 2.0.4.2 single 24×12 lesson-count schematic (replaces grouped week windows) */
.cxc-dots__caption {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow: visible;
  max-height: none;
}
.cxc-dots__field {
  --ds: 8px;
  --dg: 4px;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
}
.cxc-dots__grid {
  --ds: 8px;
  --dg: 4px;
  --cols: 24;
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--ds));
  grid-auto-rows: var(--ds);
  grid-auto-flow: row;
  gap: var(--dg);
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
}
.cxc-dots__dot {
  display: block;
  width: var(--ds);
  height: var(--ds);
  max-width: var(--ds);
  aspect-ratio: auto;
  border-radius: 50%;
  background: #E9EBF0;
  transform: none;
  box-shadow: none;
  animation: none;
  transition: none;
  opacity: 1;
}
.cxc-dots__dot.is-lit {
  background: var(--orange);
  transform: none;
  animation: none;
  box-shadow: 0 0 0 2px rgba(250, 159, 87, 0.25), 0 0 8px rgba(250, 159, 87, 0.7);
}
.cxc-dots__dot.is-animating {
  transition: opacity 220ms ease, box-shadow 220ms ease;
}
.cxc-dots__dot.is-breath {
  animation: cxc-dot-breath 800ms ease-in-out 1;
}
@keyframes cxc-dot-breath {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(250, 159, 87, 0.25), 0 0 8px rgba(250, 159, 87, 0.7);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(250, 159, 87, 0.45), 0 0 18px rgba(250, 159, 87, 1);
  }
}
@media (max-width: 768px) {
  .cxc-dots__field,
  .cxc-dots__grid {
    --ds: 6px;
    --dg: 3px;
  }
}

[data-tip].is-open::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 5;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.cxc-table__toggle {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--violet-text);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .cxc-dots__dot,
  .cxc-dots__dot.is-lit {
    transition: none !important;
    animation: none !important;
  }
}


/* ---------- 2.0.4.1 pending week-count disclosure ---------- */
.cxc-opt .cxc-opt__note,
.cxc-opt[aria-pressed="true"] .cxc-opt__note {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}
.cxc-weeks-pending {
  display: block;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.cxc-weeks-pending[hidden] { display: none; }
.cxc-dots .cxc-weeks-pending { margin: 6px 0 8px; }
