@import url("tokens.css");

* { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; }
body { background: var(--bg); color: #4E433D; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 2; letter-spacing: .02em; }
img, svg { max-width: 100%; height: auto; }
.brand img, .login-card img, .admin-side img, .foot-logo { width: 40px; height: 48px; max-width: none; }
a { color: var(--primary); }
a:hover { color: var(--gold); }
h1, h2, h3, .card-title { font-family: var(--heading); font-weight: 700; color: #2A211D; }
h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: .02em; line-height: 1.3; }
h2 { font-size: 40px; }
h3, .card-title { font-size: 24px; }
button, input, select, textarea { font-family: inherit; }

.site-header {
  min-height: 88px;
  padding: 0;
  display: block;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: 0.04em; line-height: 1; }
.brand small { display: block; font-size: 11px; letter-spacing: 0.12em; color: #6A5D55; font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: #4E433D; padding: 8px 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }

.btn, .btn-p, .btn-g, .btn-l, button.btn-p, button.btn-g {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer; width: auto; background: transparent; color: var(--primary);
}
.btn-p, button.btn-p { background: var(--primary); color: #F6EFE3; }
.btn-g, button.btn-g { color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: transparent; }
.btn-l { background: #F6EFE3; color: var(--primary); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.mute { background: var(--mute-bg); color: var(--mute); }
.pill.info { background: var(--info-bg); color: var(--info); }
.kicker, .kicker-en, .kicker-zh { font-size: 13px; color: var(--gold); font-weight: 500; }
.kicker-en, .kicker { letter-spacing: 0.3em; }
.kicker-zh { letter-spacing: 0.12em; }
.num, .step b, .order-no strong, .kpi strong {
  font-family: var(--heading);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
}
button, .btn, .btn-p, .btn-g, .btn-l, .site-nav a, .pill, input, select, textarea { font-weight: 500; letter-spacing: 0; }
.section { padding: 48px 0; display: flex; flex-direction: column; gap: 36px; }
.section h2 { margin: 0; }
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}
.page-block { padding-top: 32px; padding-bottom: 56px; }
.hero { min-height: 640px; padding: 40px 64px 40px 120px; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero h1 { margin: 0; }
.nw { white-space: nowrap; }
.hero-art { position: relative; max-width: 520px; justify-self: end; }
.hero-art svg { width: 100%; max-width: 520px; height: auto; }
.float-card, .float-dark {
  position: absolute; width: 250px; padding: 18px 20px; border-radius: 18px; display: flex; flex-direction: column; gap: 6px;
}
.float-card { left: 0; top: 80px; background: var(--card); border: 1px solid var(--card-line); }
.float-dark { right: 0; bottom: 40px; background: var(--primary); color: #F6EFE3; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.entry, .series-card, .step, .panel {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; color: inherit; text-decoration: none;
}
.entry { display: flex; flex-direction: column; gap: 14px; min-height: 196px; padding: 30px; }
.entry em, .series-card em { font-family: var(--display); font-style: italic; color: var(--gold); }
.row {
  display: grid; grid-template-columns: 140px minmax(0, 1fr) 160px; gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid #E8DECF;
}
.series-card { display: flex; flex-direction: column; gap: 10px; min-height: 176px; padding: 24px; }
.code {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 30px; padding: 0 10px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #6E5220;
}
.en-sub { font-family: var(--display); font-style: italic; font-weight: 500; color: #8C6A2F; font-size: 26px; }
.wish {
  display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 176px; padding: 24px;
  background: var(--primary); color: #F6EFE3; border-radius: 20px;
}
.dark-band { background: var(--primary); color: #F6EFE3; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.service-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 26px 28px; border-radius: 20px;
  background: var(--primary-2); color: #F6EFE3; text-decoration: none;
}
.arch { height: 300px; border-radius: 150px 150px 24px 24px; background: #E6D9C4; display: flex; align-items: center; justify-content: center; letter-spacing: 0.2em; color: #6A5D55; }
.steps-band { background: #EDE4D6; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px; min-height: 190px; background: var(--card); border: 0; }
.step b { font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--gold); line-height: 1; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.quiz, .faq details { background: var(--card); border: 1px solid var(--card-line); border-radius: 28px; padding: 44px; }
.faq details { padding: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--rule); background: transparent; }
.faq summary { padding: 20px 0; font-size: 17px; font-weight: 500; cursor: pointer; }
.chip { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--bg); color: #4E433D; box-shadow: inset 0 0 0 1px #D8CAB5; }
.site-footer { background: var(--primary); color: #E9DFCF; padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.site-footer a { color: #E9DFCF; text-decoration: none; }
.foot-title { font-size: 12px; letter-spacing: 0.24em; color: var(--gold-2); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid #4A3B4F; font-size: 13px; color: #B8AA96; }
.product-layout { padding: 36px 0 80px; display: flex; gap: 40px; align-items: flex-start; }
.product-main { flex: 1 1 auto; max-width: 760px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.product-main h1 { margin: 0; font-size: 68px; line-height: 1.15; }
.crumbs { padding: 28px 0 0; font-size: 14px; color: #6A5D55; display: flex; gap: 10px; flex-wrap: wrap; }
.meta-row { display: flex; gap: 28px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.enroll-card {
  width: 360px; max-width: 100%; flex: 0 0 360px; padding: 32px; background: var(--card); border: 1px solid var(--card-line);
  border-radius: 28px; display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 24px;
}
.plan-choice {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule);
}
.plan-choice:has(input:checked) { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--primary); }
label.fld { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.fld input, .fld select, .fld textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid #D8CAB5; background: #FFFDF9; font-size: 15px;
}
.fld textarea { height: 120px; padding: 12px 16px; }
.order-wrap { width: min(880px, 100%); margin: 40px auto 80px; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; display: flex; flex-direction: column; gap: 26px; }
.order-no {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: 20px; background: var(--primary); color: #F6EFE3;
}
.order-no strong { font-family: var(--display); font-size: 34px; font-weight: 600; }
.next-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.warn-note { margin: 0; padding: 18px 22px; border-radius: 16px; background: var(--warn-bg); color: var(--warn); font-weight: 500; }
.me-head, .me-body { padding-left: 0; padding-right: 0; }
.me-head { padding-top: 48px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.me-body { padding-top: 36px; padding-bottom: 80px; display: flex; gap: 36px; align-items: flex-start; }
.order-card { flex: 1; background: var(--card); border: 1px solid var(--card-line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.track i { display: block; height: 4px; border-radius: 4px; background: #DCCFBC; font-style: normal; }
.track .done i { background: var(--primary); }
.track .now i { background: var(--line); }
.support-card { width: 320px; flex-shrink: 0; display: flex; gap: 16px; padding: 24px 28px; border-radius: 24px; background: var(--primary); color: #F6EFE3; text-decoration: none; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.login-screen { min-height: 70vh; display: grid; place-items: center; padding: 40px var(--gutter); }
.login-card { width: min(440px, 100%); background: #fff; border-radius: 28px; padding: 36px; border: 1px solid var(--card-line); }
.notice { background: var(--err-bg); color: var(--err); padding: 10px 14px; border-radius: 14px; }

@media (max-width: 900px) {
  .site-header { padding: 0; }
  .burger { display: inline-flex; }
  .site-nav, .header-actions { display: none; width: 100%; }
  .nav-toggle:checked ~ .site-nav, .nav-toggle:checked ~ .header-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 12px; }
  .hero, .section, .product-layout, .crumbs, .me-head, .me-body, .apply-layout, .apply-main, .night-hero, .announce, .filter-bar { padding-left: 0; padding-right: 0; }
  .tabs { margin-left: 0; margin-right: 0; overflow-x: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 24px; }
  .hero-art { justify-self: stretch; }
  .hero-art { display: none; }
  .grid-3, .grid-4, .grid-5, .dark-band, .faq-grid, .next-steps, .product-layout, .me-body, .foot-grid { display: flex; flex-direction: column; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .enroll-card, .support-card { width: 100%; }
  .btn, .btn-p, .btn-g, .btn-l, button.btn-p, button.btn-g { width: 100%; }
  .section h2, h2 { font-size: 28px; }
  .product-main h1 { font-size: 36px; }
  .float-card, .float-dark { position: static; width: auto; }
  .site-footer { padding: 40px 0; }
  .track { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nw { white-space: normal; }
}
body { overflow-x: hidden; }
.announce { display: flex; gap: 16px; justify-content: center; align-items: center; background: #2A2447; color: #F0DFB8; padding: 10px 0; text-align: center; }
.announce .wrap { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.night-hero { background: #2A2447; color: #F7F4FB; padding: 48px 0; display: block; border: 0; box-shadow: none; width: 100%; box-sizing: border-box; }
.night-hero-inner { display: grid; gap: 24px; align-items: stretch; }
.night-hero h1 { color: #F7F4FB; margin: 0; font-size: 40px; line-height: 1.3; }
.night-hero .kick { color: #E3C98F; letter-spacing: .2em; }
.night-hero .intent-label { margin: 18px 0 0; font-size: 14px; font-weight: 700; color: #F0DFB8; }
.night-hero .stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid #4A4178; align-items: start;
}
.night-hero .stats > div { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; border-left: 1px solid #4A4178; }
.night-hero .stats > div:first-child { padding-left: 0; border-left: 0; }
.night-hero .stats b { font-family: var(--heading); font-size: 34px; color: #F0DFB8; line-height: 1.1; }
.night-hero .stats span { font-size: 13px; color: #C9C3DC; }
.hero-cards { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; min-width: 0; }
.feature-card {
  display: grid; grid-template-columns: minmax(140px, 42%) minmax(0, 1fr); border-radius: 28px;
  overflow: hidden; background: #FDFCFE; color: #24203A; text-decoration: none; min-height: 280px;
  box-shadow: inset 0 0 0 1px #E6E0EE;
}
.feature-card .glyph-panel {
  display: flex; align-items: center; justify-content: center; min-height: 220px;
  font-family: var(--heading); font-size: clamp(72px, 10vw, 120px); line-height: 1;
}
.feature-card .feature-body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.feature-card .feature-body b { font-family: var(--heading); font-size: 28px; line-height: 1.3; }
.feature-card .feature-meta { font-size: 15px; color: #4A4560; display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid #EAE4F0; border-bottom: 1px solid #EAE4F0; }
.feature-card .feature-price { margin-top: auto; font-family: var(--heading); font-size: 28px; }
.small-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.small-cards a {
  display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px;
  background: #FDFCFE; color: #24203A; text-decoration: none; box-shadow: inset 0 0 0 1px #E6E0EE;
}
.small-cards a b { display: block; font-family: var(--heading); font-size: 17px; line-height: 1.35; }
.small-cards a small { display: block; font-size: 13px; color: #5C5670; }
.home-search { width: 100%; max-width: 100%; box-sizing: border-box; }
.home-search input { width: 100%; max-width: 100%; box-sizing: border-box; }
.intent-row, .card-grid, .month-row, .index-grid, .consult-row { display: grid; gap: 12px; }
.intent-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .intent-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.month-row { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.consult-row { background: #2A2447; color: #F7F4FB; padding: 24px; border-radius: 24px; }
.consult-row a { color: #E3C98F; text-decoration: none; }
.consult-row a:hover { color: #FFFFFF; }
.consult-row small { color: #F7F4FB; display: block; opacity: .9; }
.course-card, .intent, .quiz-choice { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 20px; background: #FDFCFE; color: #24203A; text-decoration: none; }
.course-card { overflow: hidden; padding: 0; box-shadow: inset 0 0 0 1px #E6E0EE; }
.course-card .glyph-panel {
  height: 140px; display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 72px; line-height: 1;
}
.course-card .card-hero {
  width: 100%; height: 140px; object-fit: cover; display: block;
}
.course-card .card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.course-card .card-body b { font-family: var(--heading); font-size: 18px; line-height: 1.35; }
.teacher-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  justify-items: center; max-width: 480px; margin: 0 auto;
}
.teacher-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; text-decoration: none; color: #24203A; max-width: 180px;
}
.teacher-card b { font-family: var(--heading); font-size: 18px; line-height: 1.35; }
.teacher-card small, .teacher-card span { color: #5C5670; font-size: 13px; line-height: 1.5; }
.teacher-avatar {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.teacher-avatar-glyph {
  display: inline-flex; align-items: center; justify-content: center;
  background: #4A3F8C; color: #E3C98F;
  font-family: var(--heading); font-size: 36px; line-height: 1;
}
.teacher-avatar-lg { width: 120px; height: 120px; font-size: 48px; }
.teacher-page { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 32px; }
.teacher-page .teacher-title { margin: 0; color: #5C5670; }
@media (min-width: 900px) {
  .teacher-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 960px;
  }
  .teacher-avatar { width: 120px; height: 120px; }
  .teacher-avatar-glyph { font-size: 48px; }
  .teacher-avatar-lg { width: 160px; height: 160px; font-size: 64px; }
}
.quiz-choice { min-height: 72px; font-size: 20px; justify-content: center; }
.section-head, .filter-bar, .stats { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.filter-bar { position: static; background: transparent; padding: 12px 0; z-index: auto; }
.tabs {
  display: flex; gap: 8px; overflow-x: auto; align-items: center; flex-wrap: wrap;
  margin: 0; border-bottom: 0;
}
.tabs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  white-space: nowrap; text-decoration: none; font-weight: 500;
  background: #FFFFFF; color: #4A4560; box-shadow: inset 0 0 0 1px #E3DCEE;
}
.tabs a:hover { background: #F4F0FA; color: #4A4560; }
.tabs a.on { background: #4A3F8C; color: #FFFFFF; font-weight: 700; box-shadow: none; border-bottom: 0; }
.date-card-list { display: flex; flex-direction: column; gap: 12px; }
.date-card {
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px;
  background: #FDFCFE; color: #24203A; text-decoration: none; box-shadow: inset 0 0 0 1px #E6E0EE;
}
.date-card-day { width: 72px; text-align: center; flex-shrink: 0; }
.date-card-day b { display: block; font-family: var(--heading); font-size: 36px; line-height: 1; }
.date-card-day small { color: #6A5D55; font-size: 13px; }
.date-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.date-card-body b { font-size: 17px; }
.series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.series-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px;
  border-radius: 18px; background: #FDFCFE; text-decoration: none; color: #24203A;
  box-shadow: inset 0 0 0 1px #E6E0EE; text-align: center;
}
.series-tile b { font-size: 14px; line-height: 1.35; }
.consult-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.consult-card {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px;
  background: #FDFCFE; box-shadow: inset 0 0 0 1px #E6E0EE;
}
.consult-card .glyph-panel { height: 88px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-size: 48px; }
.consult-card p { margin: 0; color: #4A4560; font-size: 15px; line-height: 1.6; }
.howto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.howto-card { padding: 18px; border-radius: 18px; background: #FDFCFE; box-shadow: inset 0 0 0 1px #E6E0EE; }
.howto-n { display: inline-flex; width: 28px; height: 28px; border-radius: 999px; align-items: center; justify-content: center; background: #4A3F8C; color: #fff; font-weight: 700; margin-bottom: 8px; }
.intent { white-space: nowrap; }
.course-banner .banner-fallback {
  height: 140px; background: linear-gradient(135deg, #4A3F8C, #E3C98F);
  display: flex; align-items: flex-end; padding: 20px; color: #fff; font-family: var(--heading); font-size: 28px;
}
.calendar-month h2 { font-size: 22px; margin: 28px 0 14px; white-space: nowrap; }
@media (min-width: 900px) {
  .series-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .course-banner .banner-fallback { height: 200px; font-size: 40px; }
}
@media (max-width: 899px) {
  .consult-grid, .howto-grid { grid-template-columns: 1fr; }
  .product-layout { flex-direction: column; }
  .enroll-card { width: 100%; flex: none; position: static; }
}
.home-search input, .filter-bar input, .filter-bar select { min-height: 48px; border-radius: 999px; border: 1px solid #DAD3E6; padding: 0 16px; }
.enroll-bar {
  position: fixed; left: 0; right: 0; bottom: 72px; z-index: 32;
  display: none; gap: 10px; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: #2A2447; color: #F7F4FB;
  border-top: 1px solid rgba(255,255,255,.08);
}
.enroll-bar.is-visible { display: flex; }
.enroll-bar b { white-space: nowrap; }
.enroll-bar a { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 18px; border-radius: 999px; background: #4A3F8C; color: #F7F4FB; text-decoration: none; font-weight: 700; flex-shrink: 0; }
.steps ol { display: flex; gap: 16px; padding: 0; list-style: none; }
.calendar-list a, .month-row a { display: block; padding: 8px 0; }
@media (min-width: 900px) {
  .night-hero { padding: 56px 0; }
  .night-hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .night-hero h1 { font-size: 58px; }
}
@media (max-width: 640px) {
  .card-grid, .index-grid, .consult-row { grid-template-columns: 1fr; }
  .product-layout { padding-bottom: 120px; }
  .night-hero { padding: 28px 0 20px; }
  .night-hero-inner { gap: 16px; }
  .night-hero h1 { font-size: 30px; }
  .feature-card { grid-template-columns: 1fr; }
  .small-cards { grid-template-columns: 1fr; }
  .recent-mobile { margin-top: 8px; }
}
.course-banner { position: relative; min-height: 220px; background: #2A2447; overflow: hidden; }
.course-banner img, .banner-fallback { width: 100%; height: 320px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #2A2447, #4A3F8C); color: #F0DFB8; }
.course-banner h2, .kind-banner h2 {
  position: absolute; left: 24px; right: 24px; bottom: 28px; margin: 0;
  color: #F0DFB8; font-size: clamp(28px, 4vw, 48px); text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.account-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.account-no { font-size: 28px; letter-spacing: .08em; font-family: var(--heading); color: #2A211D; }
.pay-amount { font-size: 32px; color: #2A211D; }
.bank-card { display: flex; flex-direction: column; gap: 10px; }
.bank-meta { margin: 0; color: #4E433D; }
.course-copy { max-width: 760px; font-size: 18px; line-height: 2; }
.course-copy h2, .course-copy h3 { font-family: "LXGW WenKai TC", serif; line-height: 1.4; }
.rich { display: grid; gap: 20px; }
.rich.pos-right { grid-template-columns: minmax(0, 1fr) 280px; }
.rich.pos-left { grid-template-columns: 280px minmax(0, 1fr); }
.rich.pos-left figure { order: -1; }
.feature-row, .gallery.layout-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery.layout-carousel { display: flex; gap: 12px; overflow-x: auto; }
.gallery img, .feature-row img { width: 100%; height: auto; }
.video-face, .cta-bar a { border: 0; cursor: pointer; }
.cta-bar { position: sticky; bottom: 16px; display: flex; gap: 16px; align-items: center; justify-content: center; margin: 24px auto; padding: 12px 20px; border-radius: 999px; background: rgba(42, 36, 71, .92); color: #F7F4FB; }
.cta-bar a { background: #E3C98F; color: #2A2447; text-decoration: none; border-radius: 999px; padding: 10px 18px; }
blockquote { font-size: 28px; text-align: center; }
@media (max-width: 900px) {
  .product-layout { display: flex; flex-direction: column; }
}
@media (min-width: 901px) {
  .product-layout { align-items: flex-start; }
  .product-main { width: 760px; max-width: 760px; }
  .info-card { margin-top: -80px; position: relative; background: #FDFCFE; border-radius: 28px; }
}
@media (max-width: 640px) {
  .rich.pos-right, .rich.pos-left, .feature-row, .gallery.layout-grid { grid-template-columns: 1fr; }
  .rich figure { order: 2; }
  .enroll-bar { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 12px; background: #2A2447; color: #F7F4FB; border-radius: 16px; }
  .enroll-bar a { flex: 0 0 auto; width: auto; padding: 0 16px; }
}
.apply-layout { display: block; padding-left: var(--gutter); padding-right: var(--gutter); max-width: var(--page-max); margin: 0 auto; box-sizing: border-box; }
.apply-main, .apply-summary { display: flex; flex-direction: column; gap: 12px; }
.apply-main { width: min(720px, 100%); margin: 24px auto 80px; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; }
.book-layout { max-width: var(--page-max); margin: 0 auto; padding: 24px var(--gutter) 96px; box-sizing: border-box; }
.apply-summary { margin-top: 20px; }
.choice-card { display: flex; justify-content: flex-start; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; }
.choice-card > b { margin-left: auto; }
.choice-card.is-disabled { opacity: .55; }
.apply-error { color: #8B3E3E; }
.resume-banner { background: #E3C98F; color: #2A2447; padding: 10px 12px; border-radius: 12px; }
.held-banner { background: #E2EEE6; color: #285C47; padding: 16px; border-radius: 18px; }
.held-banner h1 { color: #285C47; margin: 0; }
.step-progress { color: #4A3F8C; font-weight: 700; }
.only-desk { display: none; }
.file-pick { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 16px; background: #fff; font-weight: 700; }
.file-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }
.shot-ways { display: flex; flex-direction: column; gap: 16px; }
.slip-sample { background: #fff; border: 1px dashed #C8B8A4; border-radius: 16px; padding: 16px; max-width: 240px; }
@media (min-width: 900px) {
  .apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
  .apply-summary { position: sticky; top: 16px; }
  .only-phone { display: none; }
  .only-desk { display: inline; }
  .shot-ways { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .shot-ways .only-desk { display: flex; flex-direction: column; gap: 8px; }
}
@media (max-width: 640px) {
  .apply-layout { padding-bottom: 96px; }
}
.status-card { background: #fff; border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.status-card.warn { box-shadow: inset 0 0 0 1px #E3C98F; }
.status-card.ok .status-line { color: #285C47; }
.status-card.info .status-line { color: #35507A; }
.status-card.warn .status-line { color: #7A4E0E; }
.status-line { font-weight: 700; font-size: 17px; }
.me-side { width: 280px; }
.journey-line { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.journey-mark { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: #4A3F8C; color: #fff; margin-right: 8px; }
.timeline { padding-left: 18px; }
@media (max-width: 900px) {
  .me-side { width: auto; }
}

