/* ════════════════════════════════════════
   case_new.css — 艺考生培训课程综合页面
   依赖：common.css / style.css
════════════════════════════════════════ */

:root {
    --phase-bg:       #fff7f5;
    --clr-red-grad-a: #EA3349;
    --clr-red-grad-b: #F35A44;
}

/* ── 中文断行规则（course 页内非 h-标签的标题与描述）──────────
   common.css 已对 h1–h6 / .section-heading / .section-sub 应用同套规则；
   这里补上 course 页特有的卡片/列表/时间轴标题与描述。
   - 标题类：text-wrap balance + word-break keep-all + overflow-wrap anywhere
   - 描述类：仅 keep-all + overflow-wrap（balance 对多行正文性能开销大）
   ───────────────────────────────────────────────────────── */
.milestone-title,
.step-name,
.tier-card__class,
.dl-sub-label,
.dl-label {
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.milestone-sub,
.step-desc,
.tier-card__dir,
.dl-note,
.section-note,
.section-bridge {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* ── Page Hero Banner ────────────────────────────────────── */
#case-hero {
    overflow: hidden;
    line-height: 0;
}

.case-hero-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Tab Panes ───────────────────────────────────────────── */
#case-content { background: #f7f7f5; }

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Common Utility ─────────────────────────────────────── */
.case-section { padding: 64px 0; }
.case-section.bg-white { background: #fff; }
.case-section.bg-light { background: #f7f7f5; }.section-heading {
    font-size: 28px; font-weight: 700; color: #1a1a1a;
    text-align: center; margin: 0 0 8px; line-height: 1.3;
}
.section-sub {
    font-size: var(--font-size-16); color: #999;
    text-align: center; margin: 0 auto 40px;
    max-width: 820px;
    line-height: 1.8;
}.section-note {
    max-width: 880px;
    margin: -20px auto 40px;
    padding: 18px 22px;
    border-left: 4px solid var(--clr-primary);
    border-radius: 10px;
    background: rgba(180, 36, 36, 0.06);
    color: #4d4d4d;
    font-size: var(--font-size-14);
    line-height: 1.9;
}

/* ── 课程开场图文 ─────────────────────────────────────── */
.course-intro-split {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-top: 40px;
}

.course-intro-img {
    width: 46%;
    flex-shrink: 0;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.course-intro-right {
    flex: 1;
    min-width: 0;
}

.course-intro-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 3px solid var(--clr-primary);
}

.course-intro-right p {
    font-size: var(--font-size-14);
    line-height: 1.9;
    color: #555;
    margin: 0 0 14px;
}

.course-intro-points {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}
.course-intro-points::-webkit-scrollbar { display: none; }

.course-intro-points span {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: transparent;
    border: 1px solid rgba(var(--clr-primary-rgb), .35);
    border-radius: 999px;
    color: var(--clr-primary);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   PER-TAB UNIQUE LAYOUTS
══════════════════════════════════════════════════════════ */

/* ── 美术生：三大断层分析 ─────────────────────────────── */
.challenge-trifecta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 40px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.challenge-col {
    background: #fff;
    padding: 36px 28px;
    position: relative;
}

.challenge-col::before {
    content: attr(data-num);
    position: absolute;
    top: 20px; right: 20px;
    font-size: 64px;
    font-weight: 900;
    color: var(--clr-primary);
    opacity: 0.07;
    line-height: 1;
}

.challenge-col h4 {
    font-size: var(--font-size-18);
    font-weight: 700;
    color: var(--clr-primary);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}

.challenge-col .symptom-label,
.challenge-col .solution-label {
    font-size: var(--font-size-14);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.challenge-col .symptom-label { color: #999; }
.challenge-col .solution-label { color: #1a1a1a; margin-top: 18px; }

.challenge-col ul {
    margin: 0; padding-left: 16px;
    list-style: disc;
}

.challenge-col ul li {
    font-size: var(--font-size-14);
    line-height: 1.8;
    color: #555;
}/* ── 美术生：时间感知 ─────────────────────────────────── */
.time-awareness {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 40px;
}

.time-poster {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.time-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.time-content {
    background: #fff;
    padding: 40px 32px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.time-content h3 {
    font-size: var(--font-size-22); font-weight: 700;
    margin: 0 0 24px; color: #1a1a1a;
}

.time-bar {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
    height: 48px;
}

.time-bar-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-14);
    font-weight: 700;
    white-space: nowrap;
    padding: 0 12px;
}

.time-bar-item.tb-past {
    background: #e0e0e0;
    color: #999;
    flex: 2;
}

.time-bar-item.tb-now {
    background: var(--clr-primary);
    color: #fff;
    flex: 5;
    border-radius: 0 6px 6px 0;
}

.time-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.time-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--font-size-14);
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.time-bullets li::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--clr-primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

/* ── 音乐生：两阶段模式 ───────────────────────────────── */
.two-mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 40px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.mode-panel {
    padding: 44px 36px;
}

.mode-panel.mode-during {
    background: #f7f7f5;
    border-right: 2px solid #e8e8e8;
}

.mode-panel.mode-after {
    background: #fff7f5;
    color: #1a1a1a;
}

.mode-badge {
    display: inline-block;
    font-size: var(--font-size-14);
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: .04em;
}

.mode-during .mode-badge {
    background: #e0e0e0;
    color: #666;
}

.mode-after .mode-badge {
    background: rgba(180, 36, 36, 0.10);
    color: var(--clr-primary);
}

.mode-panel h3 {
    font-size: var(--font-size-22); font-weight: 700;
    margin: 0 0 20px;
}

.mode-during h3 { color: #333; }
.mode-after  h3 { color: #1a1a1a; }

.mode-list {
    list-style: none;
    padding: 0; margin: 0;
}

.mode-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: var(--font-size-14);
    line-height: 1.75;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mode-after .mode-list li {
    border-bottom-color: rgba(180, 36, 36, 0.10);
    color: #555;
}

.mode-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.mode-icon {
    flex-shrink: 0;
    font-size: var(--font-size-16);
    line-height: 1.75;
}

/* ── 音乐生：院校参考分 ───────────────────────────────── */
.school-ref {
    margin-top: 40px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.school-ref-header {
    background: var(--clr-primary);
    color: #fff;
    padding: 14px 24px;
    display: grid;
    grid-template-columns: 1fr 130px 1fr;
    font-weight: 700;
    font-size: var(--font-size-16);
}

.school-ref-row {
    display: grid;
    grid-template-columns: 1fr 130px 1fr;
    padding: 14px 24px;
    border-bottom: 1px solid #eee;
    background: #fff;
    align-items: center;
    font-size: var(--font-size-14);
}

.school-ref-row:last-child { border-bottom: none; }
.school-ref-row:nth-child(even) { background: #fafafa; }

.school-score {
    font-weight: 700;
    color: var(--clr-primary);
    font-size: var(--font-size-16);
}

.school-note {
    font-size: var(--font-size-14);
    color: #888;
}

/* ── 传媒生：优势 vs 短板 ────────────────────────────── */
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.contrast-panel {
    border-radius: 14px;
    padding: 36px 32px;
}

.contrast-panel.cp-plus {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.contrast-panel.cp-minus {
    background: #fff7f0;
    border: 1px solid #fed7aa;
}

.contrast-panel .cp-title {
    font-size: var(--font-size-18); font-weight: 700;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-plus  .cp-title { color: #166534; }
.cp-minus .cp-title { color: #92400e; }

.cp-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: var(--font-size-16); font-weight: 900;
    flex-shrink: 0;
}

.cp-plus  .cp-icon { background: #22c55e; color: #fff; }
.cp-minus .cp-icon { background: #f97316; color: #fff; }

.contrast-panel ul {
    list-style: none;
    padding: 0; margin: 0;
}

.contrast-panel ul li {
    display: flex; gap: 10px;
    align-items: flex-start;
    font-size: var(--font-size-14);
    line-height: 1.8; color: #444;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.contrast-panel ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contrast-panel ul li::before {
    content: attr(data-icon);
    flex-shrink: 0;
    font-size: var(--font-size-14);
    margin-top: 2px;
}

/* ── 传媒生：三类方向 ────────────────────────────────── */
.specialty-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.specialty-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.sc-header {
    padding: 20px 24px 16px;
    background: #fff1ee;
    color: #1a1a1a;
    border-bottom: 1px solid rgba(180, 36, 36, 0.12);
}

.sc-header h4 {
    font-size: var(--font-size-18);
    font-weight: 700;
    margin: 0 0 6px;
}

.sc-score {
    font-size: var(--font-size-14);
    color: var(--clr-primary);
    font-weight: 700;
}

.sc-body {
    padding: 20px 24px;
}

.sc-body p {
    font-size: var(--font-size-14);
    line-height: 1.8;
    color: #555;
    margin: 0 0 12px;
}

.sc-body p:last-child { margin-bottom: 0; }

.sc-tag {
    display: inline-block;
    background: #f0f0ef;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: var(--font-size-14);
    color: #666;
    font-weight: 700;
    margin-right: 6px;
    margin-bottom: 8px;
}

/* ── 体育生：管理清单 ────────────────────────────────── */
.mgmt-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 40px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.mgmt-poster {
    position: relative;
    overflow: hidden;
    background: #f0ede8;
}

.mgmt-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.mgmt-content {
    background: #fff7f5;
    padding: 44px 40px;
    color: #1a1a1a;
}

.mgmt-content h3 {
    font-size: var(--font-size-22); font-weight: 700;
    margin: 0 0 28px;
    color: #1a1a1a;
}

.mgmt-list {
    list-style: none;
    padding: 0; margin: 0;
}

.mgmt-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(180, 36, 36, 0.10);
}

.mgmt-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.mgmt-check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: var(--clr-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: var(--font-size-14);
    color: #fff;
    font-weight: 900;
    margin-top: 2px;
}

.mgmt-text {
    font-size: var(--font-size-14);
    line-height: 1.7;
    color: #555;
}

.mgmt-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* ── 体育生：两类困境 ────────────────────────────────── */
.scenario-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.scenario-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
}

.sc-scenario-header {
    background: #333;
    color: #fff;
    padding: 20px 24px;
}

.sc-scenario-header h4 {
    font-size: var(--font-size-18);
    font-weight: 700;
    margin: 0 0 6px;
}

.sc-scenario-header .sc-label {
    font-size: var(--font-size-14);
    color: rgba(255,255,255,0.55);
}

.sc-scenario-body {
    background: #fff;
    padding: 24px;
}

.sc-scenario-body p {
    font-size: var(--font-size-14);
    line-height: 1.85;
    color: #555;
    margin: 0 0 16px;
}

.sc-solution {
    background: #fff9f9;
    border-left: 3px solid var(--clr-primary);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
}

.sc-solution p {
    margin: 0;
    font-size: var(--font-size-14) !important;
    color: #333 !important;
}

/* ── 通用：课堂照片 ──────────────────────────────────── */
.classroom-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 34px;
}

.cp-item {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}

.classroom-photos .cp-item img,
.jpn-img-grid .cp-item img {
    width: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform .35s ease, opacity .25s ease;
}

.classroom-photos .cp-item img {
    aspect-ratio: 4/3;
}

.classroom-photos .cp-item img:hover,
.jpn-img-grid .cp-item img:hover {
    transform: scale(1.05);
    opacity: .82;
}/* ── 日语：4阶段 ─────────────────────────────────────── */
.phases-list-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.phase-item {
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phase-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--clr-primary);
}

.phase-num {
    width: 40px;
    height: 40px;
    background: var(--clr-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-18);
    font-weight: 700;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.phase-days {
    font-size: var(--font-size-14);
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 6px;
    letter-spacing: .04em;
}

.phase-name {
    font-size: var(--font-size-18);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.phase-desc {
    font-size: var(--font-size-14);
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ── 日语：教师介绍 ──────────────────────────────────── */
.teacher-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #f7f7f5;
    border-radius: 18px;
    padding: 40px;
    max-width: 820px;
    margin: 40px auto 0;
    border: 1px solid #ebebeb;
}

.teacher-photo {
    flex-shrink: 0;
    width: 110px; height: 110px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.13);
    align-self: flex-start;
}

.teacher-bio h3 { font-size: var(--font-size-22); font-weight: 700; margin: 0 0 10px; color: #1a1a1a; }
.teacher-bio .tag {
    display: inline-block;
    background: var(--clr-primary);
    color: #fff;
    font-size: var(--font-size-14);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.teacher-bio p { font-size: var(--font-size-16); line-height: 1.9; color: #555; margin: 0; }

/* ── 日语：为什么选日语（实景图片卡片） ──────────────── */
.why-jpn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.why-jpn-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    background-size: cover;
    background-position: center;
}

.why-jpn-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.22) 55%, transparent 100%);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.why-jpn-num {
    font-size: 52px;
    font-weight: 900;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.why-jpn-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.why-jpn-card p {
    font-size: var(--font-size-14);
    color: rgba(255,255,255,0.82);
    line-height: 1.72;
    margin: 0;
}

/* ── 日语：开设课程 ──────────────────────────────────── */
.jpn-intro-split {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-top: 40px;
}

.jpn-intro-img {
    width: 46%;
    flex-shrink: 0;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

.jpn-intro-right { flex: 1; }

.jpn-suitable-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 3px solid var(--clr-primary);
}

.jpn-suitable-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.jpn-suitable-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: var(--font-size-14);
    font-weight: 600;
    color: #1a1a1a;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.jpn-suitable-card .s-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--clr-primary);
    background: rgba(180, 36, 36, 0.08);
    flex-shrink: 0;
    line-height: 1;
}

.jpn-suitable-card .s-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jpn-suitable-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* ── 日语：班型 table 的移动端并行卡片（默认隐藏，≤768px 启用）── */
.jpn-class-cards { display: none; }

/* ── 日语：画廊图 ────────────────────────────────────── */
.jpn-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
}

.jpn-img-grid .cp-item img {
    max-height: 320px;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section {
    padding: 60px 0;
    background: #f9f9f8;
    border-top: 1px solid #e8e8e8;
}

.faq-list {
    max-width: 780px;
    margin: 40px auto 0;
}

.faq-list details {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px 20px;
    background: #fff;
}

.faq-list details summary {
    font-weight: 700; cursor: pointer;
    color: #222; font-size: var(--font-size-16);
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    user-select: none;
    transition: color .2s ease;
}

.faq-list details[open] summary { color: var(--clr-primary); }

.faq-list details summary::-webkit-details-marker { display: none; }

.faq-list details summary::after {
    content: '+';
    font-size: var(--font-size-22); color: var(--clr-primary);
    flex-shrink: 0; margin-left: 12px; line-height: 1;
    transition: transform .25s ease;
    display: inline-block;
}

.faq-list details[open] summary::after { content: '−'; }

/* 展开/收起动画：JS 接管 summary 点击，用 Web Animations API
   在 .faq-body 上做 height 0↔auto 过渡。
   CSS 端只负责 overflow 裁剪，动画过程不依赖 [open] 切换。 */
.faq-list details > .faq-body {
    overflow: hidden;
    will-change: height;
}

.faq-list details > .faq-body > p {
    margin: 14px 0 0;
    font-size: var(--font-size-16);
    line-height: 1.85;
    color: #555;
}


/* ══════════════════════════════════════════════════════════
   SHARED SECTIONS (after tabs)
══════════════════════════════════════════════════════════ */

/* ── 分层班型（图+表） ───────────────────────────────── */
#score-tiers-section {
    background: #fff;
    padding: 64px 0;
}

.tiers-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
}

.tiers-poster,
.tiers-table {
    min-height: 100%;
}

.tiers-poster {
    border-radius: 16px;
    overflow: hidden;
    background: #f7f7f5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.tiers-poster img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: contain;
}

.tiers-table {
    display: flex;
}

table.score-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0;
}

table.score-table thead {
    background: var(--clr-primary);
    color: #fff;
}

table.score-table thead th {
    padding: 14px 16px;
    font-size: var(--font-size-16);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

table.score-table tbody tr { border-bottom: 1px solid #eee; }
table.score-table tbody tr:last-child { border-bottom: none; }
table.score-table tbody tr:nth-child(even) { background: #fafafa; }

table.score-table tbody td {
    padding: 16px;
    font-size: var(--font-size-16);
    color: #333;
    vertical-align: middle;
}

table.score-table td:first-child {
    font-weight: 800;
    color: var(--clr-primary);
    white-space: nowrap;
    text-align: center;
    font-size: var(--font-size-18);
}

table.score-table td:last-child {
    text-align: center;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

/* 移动端用 .tiers-cards 替代表格，桌面端默认隐藏 */
.tiers-cards { display: none; }

/* ── 全日制集训生活（重设计）──────────────────────────── */
#daily-life {
    background: #f9f7f5;
    padding: 0 0 48px;
    position: relative;
}

/* 周末安排 + 管理细节（从 #daily-life 拆出，白色背景） */
#daily-mgmt {
    padding: 0 0 64px;
}
/* 顶部品牌渐变线 */
#daily-life::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
}

#daily-life > .container {
    padding-top: 72px;
    text-align: center;
}

/* 子板块通用标题行 */
.dl-sub-header {
    max-width: 1060px;
    margin: 32px auto 32px;
    padding: 0 40px 0 68px;
}
.dl-sub-label {
    display: inline-block;
    background: rgba(232,51,10,.12);
    border: 1px solid rgba(232,51,10,.28);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: var(--font-size-14); font-weight: 700;
    letter-spacing: .1em;
    color: var(--clr-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.dl-sub-header h3 {
    font-size: 26px; font-weight: 800;
    color: #1a1a1a; margin: 0 0 6px;
    line-height: 1.2;
}
.dl-sub-header p {
    font-size: var(--font-size-14); color: rgba(0,0,0,.45); margin: 0;
}

/* ── A. 平日课表：时间轴 + 配图 ──────────────────────── */
.dl-schedule {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 40px 0 68px;
}
/* 贯穿全段的竖线 */
.dl-schedule::before {
    content: '';
    position: absolute;
    left: calc(68px + 196px); top: 0; bottom: 0; width: 1px;
    background: linear-gradient(to bottom,
        transparent,
        rgba(0,0,0,.1) 4%,
        rgba(0,0,0,.1) 96%,
        transparent);
}

/* 每段（分组）：左=时间条目 右=照片组 */
.dl-seg {
    display: grid;
    grid-template-columns: 196px 1fr;
    gap: 0 36px;
}

/* 左列：时间条目在段高内均匀分布 */
.dl-seg-times {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 16px 0;
}

.dl-entry {
    position: relative;
    padding-right: 26px;
    text-align: right;
}
/* 时间轴圆点 */
.dl-entry::after {
    content: '';
    position: absolute;
    right: -5px; top: 50%; transform: translateY(-50%);
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(218,32,49,.22);
    z-index: 1;
}

.dl-time  { display: block; font-size: var(--font-size-22); font-weight: 800; color: var(--clr-primary); letter-spacing: .03em; line-height: 1; }
.dl-label { display: block; font-size: var(--font-size-14); font-weight: 600; color: #1a1a1a; margin-top: 5px; }
.dl-note  { display: block; font-size: var(--font-size-14); color: rgba(0,0,0,.45); margin-top: 3px; line-height: 1.5; }

/* 右列：照片纵向堆叠 */
.dl-seg-photos {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.dl-photo-pair {
    display: flex;
    gap: 6px;
    height: 210px;
    flex-shrink: 0;
}
.dl-photo-item {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
}
.dl-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform .35s ease, opacity .25s ease;
}
.dl-photo-item img:hover {
    transform: scale(1.07);
    opacity: .82;
}

/* ── B. 周末时间安排 ───────────────────────────────────── */
.dl-weekend-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 40px 0 68px;
    overflow-x: auto;
}

.dl-weekend-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-14);
    color: #1a1a1a;
    max-width: 1060px;
    margin: 0 auto;
}
.dl-weekend-table th,
.dl-weekend-table td {
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,.1);
    vertical-align: top;
    line-height: 1.6;
}
.dl-weekend-table thead th {
    background: rgba(232,51,10,.15);
    color: var(--clr-primary);
    font-weight: 700;
    text-align: center;
}
.dl-weekend-table tbody tr:nth-child(even) td {
    background: rgba(0,0,0,.03);
}
.dl-weekend-table .dl-wt-day {
    font-weight: 700;
    color: var(--clr-primary);
    white-space: nowrap;
}

/* ── D. 家长关心的问题 ─────────────────────────────────── */
.dl-parent-qa {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 40px 0 68px;
}

.parent-qa {
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 12px;
    padding: 24px;
}

.parent-qa h4 {
    font-size: var(--font-size-16);
    font-weight: 700;
    margin: 0 0 16px;
    color: #1a1a1a;
}

.pqa-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: var(--font-size-14);
    line-height: 1.7;
    color: rgba(0,0,0,.7);
    margin-bottom: 10px;
}

.pqa-item:last-child { margin-bottom: 0; }

.pqa-q {
    flex-shrink: 0;
    color: var(--clr-primary);
    font-weight: 700;
}

/* ── 180天规划 ───────────────────────────────────────── */
#plan-phases { background: #f9f7f5; padding: 64px 0; }

.plan-poster {
    margin: 36px 0 48px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.plan-poster img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── 集训阶段时间轴 ─────────────────────────────────────── */
.pp-timeline {
    position: relative;
    max-width: 1060px;
    margin: 40px auto 0;
    padding: 0 40px 0 68px;
}
.pp-timeline::before {
    content: '';
    position: absolute;
    left: calc(68px + 280px); top: 0; bottom: 0; width: 1px;
    background: linear-gradient(to bottom,
        transparent,
        rgba(0,0,0,.1) 4%,
        rgba(0,0,0,.1) 96%,
        transparent);
}

.pp-seg {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0 36px;
}

.pp-seg-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 26px 16px 0;
    text-align: right;
}
/* 时间轴圆点（对齐 .dl-entry::after） */
.pp-seg-info::after {
    content: '';
    position: absolute;
    right: -5px; top: 50%; transform: translateY(-50%);
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(218,32,49,.22);
    z-index: 1;
}

.pp-date {
    display: block;
    font-size: var(--font-size-22); font-weight: 800;
    color: var(--clr-primary);
    letter-spacing: .03em; line-height: 1;
}
.pp-name {
    display: block;
    font-size: var(--font-size-14); font-weight: 600;
    color: #1a1a1a;
    margin-top: 5px;
}
.pp-bullets {
    list-style: none;
    padding: 0; margin: 3px 0 0;
}
.pp-bullets li {
    display: block;
    font-size: var(--font-size-14);
    color: rgba(0,0,0,.45);
    line-height: 1.5;
}

.pp-seg-photos {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
}
.pp-photo-pair {
    display: flex;
    gap: 6px;
    height: 200px;
    flex-shrink: 0;
}
.pp-photo-item {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
}
.pp-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform .35s ease, opacity .25s ease;
}
.pp-photo-item img:hover {
    transform: scale(1.07);
    opacity: .82;
}

/* 段间过渡引语 */
.section-bridge {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #ebebeb;
    text-align: center;
    font-size: var(--font-size-14);
    color: rgba(0,0,0,.4);
    font-style: italic;
    letter-spacing: .01em;
}

/* ── 60天核心目标 ─────────────────────────────────────── */
#milestones {
    background: #f9f7f5;
    padding: 64px 0;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.milestone-card {
    background: #fff;
    padding: 36px 24px;
    border-radius: 14px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--clr-primary);
}

.milestone-card:nth-child(1)::before { opacity: 0.25; }
.milestone-card:nth-child(2)::before { opacity: 0.5; }
.milestone-card:nth-child(3)::before { opacity: 0.75; }
.milestone-card:nth-child(4)::before { opacity: 1; }

.milestone-num {
    font-size: 52px; font-weight: 900;
    color: var(--clr-primary);
    opacity: 0.12;
    line-height: 1; margin: 0 0 2px;
}

.milestone-title {
    font-size: var(--font-size-18); font-weight: 700;
    margin: 0 0 12px; color: #1a1a1a;
}

.milestone-sub {
    font-size: var(--font-size-14); color: #666;
    line-height: 1.75; margin: 0;
}

/* ── 专业考后方向 ─────────────────────────────────────── */
#review-phases {
    background: #fff;
    padding: 64px 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.review-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, rgba(var(--clr-primary-rgb), .04) 100%);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* 月份大字水印：右上角、超大字号、低透明度，作为装饰背景 */
.review-month {
    position: absolute;
    top: 4px;
    right: 14px;
    font-size: 96px;
    font-weight: 900;
    color: var(--clr-primary);
    opacity: .07;
    line-height: 1;
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.review-card h4 {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-18);
    font-weight: 700;
    margin: 0 0 16px;
    color: #1a1a1a;
}

.review-card ul {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-left: 18px;
}
.review-card ul li {
    font-size: var(--font-size-14);
    line-height: 1.85;
    color: #555;
    margin-bottom: 4px;
}
.review-card ul li::marker {
    color: var(--clr-primary);
}

/* review-phases 收尾段落 */
.review-closing {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #ebebeb;
    text-align: center;
}
.review-closing p {
    font-size: var(--font-size-16);
    color: #666;
    line-height: 1.9;
    margin: 0 0 8px;
}
.review-closing p:last-child { margin: 0; }/* ── 誓师 & 备考氛围展示 ─────────────────────────────── */
#atmosphere {
    background: #f7f7f5;
    padding: 0;
    overflow: hidden;
}

#atmosphere .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.atm-pledge {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    grid-column: 1 / -1;
}

.atm-grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.atm-grid-item img,
.atm-pledge img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.atm-grid-item:hover img,
.atm-pledge:hover img {
    transform: scale(1.04);
    opacity: .92;
}

.atm-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.atm-grid-item:hover .atm-overlay,
.atm-pledge:hover .atm-overlay {
    opacity: 1;
}

.atm-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 18px));
    filter: blur(6px);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.35s ease;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50px;
    color: #fff;
    font-size: var(--font-size-14);
    font-weight: 500;
    padding: 9px 22px;
    white-space: nowrap;
}

.atm-grid-item:hover .atm-cta,
.atm-pledge:hover .atm-cta {
    transform: translate(-50%, -50%);
    filter: blur(0);
    opacity: 1;
}

.atm-corner-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    pointer-events: none;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(0,0,0,0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: rgba(255,255,255,0.80);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── 升学成果 ─────────────────────────────────────────── */
#achievement {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: #00000005;
    color: #1a1a1a;
}

#achievement .ach-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/pages/course/case_/posters/banner_b.webp');
    background-size: contain;
    background-position: bottom;
    background-repeat: repeat-x;
    opacity: 0.06;
    z-index: 0;
}

#achievement .container {
    position: relative;
    z-index: 1;
}

.achievement-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ach-stats h2 {
    font-size: 28px; font-weight: 700;
    color: #1a1a1a; margin: 0 0 8px;
}

.ach-stats p.ach-sub {
    font-size: var(--font-size-16);
    color: #888;
    margin: 0 0 40px;
}

.ach-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.ach-num-item { text-align: left; }

.ach-big {
    font-size: 52px;
    font-weight: 900;
    color: var(--clr-primary);
    line-height: 1;
    margin: 0;
}

.ach-label {
    font-size: var(--font-size-14);
    color: #666;
    margin-top: 4px;
}

.ach-desc {
    font-size: var(--font-size-16);
    line-height: 1.85;
    color: #555;
    border-top: 1px solid rgba(180, 36, 36, 0.14);
    padding-top: 28px;
    margin: 0;
}

.ach-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ach-img-big,
.ach-img-small {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 14px;
}

.ach-img-small {
    display: grid;
    grid-template-columns: 1fr;
}

.ach-img-big img,
.ach-img-small img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.ach-img-big:hover img,
.ach-img-small:hover img {
    transform: scale(1.04);
    opacity: .92;
}

.ach-img-big:hover .atm-overlay,
.ach-img-small:hover .atm-overlay {
    opacity: 1;
}

.ach-img-big:hover .atm-cta,
.ach-img-small:hover .atm-cta {
    transform: translate(-50%, -50%);
    filter: blur(0);
    opacity: 1;
}

/* ── 报名流程 ─────────────────────────────────────── */
#process {
    padding: 64px 0 72px;
}

#process .process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 920px;
    margin: 48px auto 0;
    position: relative;
}

#process .process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(10% + 30px);
    right: calc(10% + 30px);
    height: 2px;
    background: linear-gradient(to right, var(--clr-primary), rgba(218,0,35,0.15));
    z-index: 0;
}

#process .process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 8px;
    /* 覆盖 cases.css 里的 display:flex / align-items:flex-start / gap:14px */
    display: block;
    gap: 0;
}

#process .process-step::before {
    display: none;
    content: none;
}

#process .step-circle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--clr-primary);
    color: #fff;
    font-size: var(--font-size-22); font-weight: 700;
    margin-bottom: 16px;
    position: relative; z-index: 1;
    box-shadow: 0 4px 14px rgba(218,0,35,0.3);
}

#process .step-name  { display: block; font-size: var(--font-size-16); font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
#process .step-desc  { display: block; font-size: var(--font-size-14); color: #888; line-height: 1.6; }


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
    .challenge-trifecta { grid-template-columns: 1fr; gap: 2px; }
    .phases-list-4 { grid-template-columns: repeat(2, 1fr); }
    .tiers-layout { grid-template-columns: 1fr; }
    .tiers-poster,
    .tiers-table,
    table.score-table { min-height: 0; height: auto; }
    .tiers-poster img { height: auto; min-height: 0; object-fit: contain; }
    .achievement-layout { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    #case-hero h1 { font-size: clamp(28px, 8vw, 52px); }
    .tab-btn { padding: 14px 20px 12px; }
    .section-heading { font-size: var(--font-size-22); }

    .challenge-trifecta { grid-template-columns: 1fr; }
    .two-mode-grid { grid-template-columns: 1fr; }
    .contrast-grid { grid-template-columns: 1fr; }
    .specialty-cards { grid-template-columns: 1fr; }
    .mgmt-layout { grid-template-columns: 1fr; }
    .scenario-cards { grid-template-columns: 1fr; }

    .classroom-photos { grid-template-columns: 1fr 1fr; }

    /* 4阶段学习路径：移动端改纯时间轴（同 #milestones 视觉语言）*/
    .phases-list-4 {
        grid-template-columns: 1fr;
        gap: 18px;
        position: relative;
        padding-left: 44px;
        margin-top: 28px;
    }
    .phases-list-4::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 16px;
        bottom: 16px;
        width: 2px;
        background: linear-gradient(to bottom,
            var(--clr-primary),
            rgba(var(--clr-primary-rgb), 0.22));
    }
    .phase-item {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        overflow: visible;
        position: relative;
    }
    .phase-item::before { display: none; }
    .phase-num {
        position: absolute;
        left: -44px;
        top: 0;
        width: 30px;
        height: 30px;
        font-size: var(--font-size-14);
        margin: 0;
        box-shadow: 0 2px 6px rgba(var(--clr-primary-rgb), 0.28);
    }
    .phase-days {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: var(--clr-primary);
        margin-bottom: 2px;
        letter-spacing: .03em;
    }
    .phase-name {
        display: block;
        font-size: var(--font-size-16);
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 6px;
    }
    .phase-desc {
        font-size: var(--font-size-14);
        line-height: 1.7;
        color: #555;
        margin: 0;
    }

    .pp-timeline { padding: 0 16px; }
    .pp-timeline::before { display: none; }
    .pp-seg { grid-template-columns: 1fr; gap: 12px; }
    .pp-seg-info { padding: 16px 0; border-right: none; border-bottom: 1px solid rgba(0,0,0,.08); text-align: left; }
    .pp-seg-info::after { display: none; }
    .pp-photo-pair { height: 160px; }
    .time-awareness { grid-template-columns: 1fr; }

    /* 教师卡：头像浮动到左上，标题+tag 与头像同行；描述自然 wrap 到下方 */
    .teacher-card {
        display: block;
        text-align: left;
        padding: 22px 18px;
        gap: 0;
    }
    .teacher-photo {
        float: left;
        width: 72px;
        height: 72px;
        margin: 4px 14px 8px 0;
        box-shadow: 0 3px 12px rgba(0,0,0,0.12);
        align-self: auto;
    }
    .teacher-bio h3 {
        font-size: 17px;
        line-height: 1.35;
        margin: 0 0 6px;
    }
    .teacher-bio .tag {
        font-size: 12px;
        padding: 3px 10px;
        margin-bottom: 14px;
    }
    .teacher-bio p {
        clear: none;
        line-height: 1.75;
    }
    /* 描述结束后清浮，避免下一节内容紧贴头像右侧 */
    .teacher-card::after {
        content: '';
        display: block;
        clear: both;
    }
    .jpn-img-grid { grid-template-columns: 1fr; }
    .why-jpn-grid { grid-template-columns: 1fr; }
    .why-jpn-card { min-height: 260px; }
    .course-intro-split { flex-direction: column; gap: 28px; }
    .course-intro-img { width: 100%; }
    .course-intro-points { gap: 8px; }
    .course-intro-points span { padding: 4px 11px; font-size: 12px; }
    .jpn-intro-split { flex-direction: column; gap: 28px; }
    .jpn-intro-img { width: 100%; }
    /* 适合人群 chip：移动端保持 2 列、odd 末张跨满，单卡更紧凑 */
    .jpn-suitable-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .jpn-suitable-card {
        padding: 12px 12px;
        gap: 10px;
        font-size: 13.5px;
        border-radius: 12px;
    }
    .jpn-suitable-card .s-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
        color: #fff;
    }
    .jpn-suitable-card .s-icon svg {
        width: 17px;
        height: 17px;
        stroke-width: 2;
    }

    /* 日语班型 table → 卡片化 */
    .jpn-class-wrap > table.score-table { display: none; }
    .jpn-class-cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }
    .jpn-class-card {
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        overflow: hidden;
    }
    .jpn-class-card__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 16px;
        background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
        color: #fff;
    }
    .jpn-class-card__name {
        font-size: var(--font-size-16);
        font-weight: 700;
    }
    .jpn-class-card__score {
        font-size: var(--font-size-18);
        font-weight: 800;
        letter-spacing: .02em;
    }
    .jpn-class-card__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 12px 16px 0;
    }
    .jpn-class-card__pill {
        font-size: 12px;
        font-weight: 600;
        color: var(--clr-primary);
        background: rgba(var(--clr-primary-rgb), 0.08);
        padding: 4px 10px;
        border-radius: 999px;
    }
    .jpn-class-card__fit {
        padding: 10px 16px 14px;
        font-size: var(--font-size-14);
        line-height: 1.65;
        color: #555;
    }

    #atmosphere .container { grid-template-columns: 1fr; }
    .atm-pledge { grid-column: auto; }
    .atm-cta { font-size: var(--font-size-14); padding: 8px 18px; }

    /* daily-life 移动端：保留"左=时间轴 / 右=配图"两列结构，仅压缩尺寸 */
    .dl-sub-header,
    .dl-schedule,
    .dl-weekend-wrap,
    .dl-parent-qa { padding-left: 16px; padding-right: 16px; }
    /* 竖线左移到压缩后的左列右边缘：16px(左 padding) + 108px(左列宽) */
    .dl-schedule::before { left: calc(16px + 108px); }
    .dl-seg { grid-template-columns: 108px 1fr; gap: 0 20px; }
    .dl-seg-times { padding: 8px 0; }
    .dl-entry { padding-right: 14px; }
    .dl-entry::after {
        right: -5px;
        width: 8px; height: 8px;
        box-shadow: 0 0 0 2px rgba(218,32,49,.22);
    }
    .dl-time  { font-size: var(--font-size-14); }
    .dl-label { font-size: 13px; margin-top: 4px; }
    .dl-note  { font-size: 11px; line-height: 1.4; margin-top: 2px; }
    .dl-photo-pair { height: 120px; }
    .dl-weekend-table { font-size: var(--font-size-14); }
    .dl-weekend-table th,
    .dl-weekend-table td { padding: 10px 12px; }

    /* daily-mgmt：取消大边距 */
    #daily-mgmt { padding-bottom: 32px; }

    /* 180天规划：底部留白收紧 */
    #plan-phases { padding: 48px 0 24px; }

    /* 60天节点：移动端改纯时间轴（去框）*/
    #milestones { padding: 36px 0 32px; }
    .milestones-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        position: relative;
        padding-left: 28px;
        margin-top: 28px;
    }
    /* 贯穿全段的竖线 */
    .milestones-grid::before {
        content: '';
        position: absolute;
        left: 6px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        background: linear-gradient(to bottom,
            rgba(var(--clr-primary-rgb), 0.28),
            rgba(var(--clr-primary-rgb), 1));
    }
    .milestone-card {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        text-align: left;
        display: block;
        overflow: visible;
    }
    /* 桌面端的顶部色条在移动端隐藏，改用 ::after 作圆点 */
    .milestone-card::before { display: none; }
    .milestone-card::after {
        content: '';
        position: absolute;
        left: -28px;
        top: 5px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--clr-primary);
        box-shadow: 0 0 0 3px rgba(var(--clr-primary-rgb), 0.18);
    }
    .milestone-num {
        display: inline;
        font-size: var(--font-size-16);
        font-weight: 700;
        color: var(--clr-primary);
        opacity: 1;
        line-height: 1.4;
        min-width: 0;
        text-align: left;
        margin: 0;
    }
    .milestone-num::after {
        content: ' · ';
        color: rgba(0, 0, 0, .35);
        font-weight: 400;
    }
    .milestone-title {
        display: inline;
        margin: 0;
        font-size: var(--font-size-16);
        font-weight: 700;
        color: #1a1a1a;
    }
    .milestone-sub {
        display: block;
        margin: 4px 0 0;
        font-size: var(--font-size-14);
        line-height: 1.6;
        color: #666;
    }

    /* 专业考后阶段：单列 + 紧凑卡片 */
    #review-phases { padding: 40px 0 48px; }
    .review-grid { grid-template-columns: 1fr; gap: 14px; }
    .review-card { padding: 22px 20px; border-radius: 14px; }
    .review-month { font-size: 72px; top: 6px; right: 12px; }
    .review-card h4 { font-size: var(--font-size-16); margin: 0 0 12px; }
    .review-card ul { padding-left: 18px; }
    .review-card ul li {
        font-size: var(--font-size-14);
        line-height: 1.7;
        margin-bottom: 4px;
    }

    /* 报名流程：移动端改纯时间轴（编号圆作时间轴节点）*/
    #process { padding: 32px 0 40px; }
    #process .process-steps {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin: 28px 0 0;
        align-items: stretch;
        position: relative;
        padding-left: 44px;
        max-width: none;
    }
    /* 贯穿全段的竖线，从首个圆延伸到末个圆 */
    #process .process-steps::before {
        content: '';
        display: block;
        position: absolute;
        left: 15px;
        top: 16px;
        bottom: 16px;
        right: auto;
        height: auto;
        width: 2px;
        background: linear-gradient(to bottom,
            var(--clr-primary),
            rgba(var(--clr-primary-rgb), 0.22));
        z-index: 0;
    }
    #process .process-step {
        flex: none;
        width: 100%;
        max-width: 100%;
        display: block;
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        text-align: left;
        position: relative;
    }
    #process .step-circle {
        position: absolute;
        left: -44px;
        top: 0;
        width: 30px;
        height: 30px;
        font-size: var(--font-size-14);
        font-weight: 700;
        margin: 0;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(var(--clr-primary-rgb), 0.28);
    }
    #process .step-name {
        display: block;
        margin: 0 0 4px;
        font-size: var(--font-size-16);
        font-weight: 700;
        color: #1a1a1a;
    }
    #process .step-desc {
        display: block;
        margin: 0;
        font-size: var(--font-size-14);
        line-height: 1.6;
        color: #666;
    }

    .school-ref-header,
    .school-ref-row { grid-template-columns: 1fr 90px; }
    .school-ref-row > :last-child,
    .school-ref-header > :last-child { display: none; }

    .ach-numbers { grid-template-columns: 1fr 1fr; }
    .ach-big { font-size: 38px; }
}

@media (max-width: 480px) {
    .classroom-photos { grid-template-columns: 1fr 1fr; }
    #atmosphere .container { grid-template-columns: 1fr; }
    .case-section { padding: 44px 0; }

    /* 极小屏：进一步压缩时间轴与配图 */
    .dl-schedule::before { left: calc(12px + 96px); }
    .dl-sub-header,
    .dl-schedule,
    .dl-weekend-wrap,
    .dl-parent-qa { padding-left: 12px; padding-right: 12px; }
    .dl-seg { grid-template-columns: 96px 1fr; gap: 0 14px; }
    .dl-entry { padding-right: 12px; }
    .dl-time  { font-size: 13px; }
    .dl-label { font-size: 12px; }
    .dl-note  { font-size: 10.5px; }
    .dl-photo-pair { height: 95px; }
    .pp-photo-pair { height: 140px; }
}

/* ════════════════════════════════════════
   誓师大会 SheetModal
════════════════════════════════════════ */



/* Modal 内部重置 */
#modal-pledge .modal-inner,
#modal-xmas .modal-inner,
#modal-spring .modal-inner {
    background: #fff;
    padding: 0;
    width: min(760px, 100%);
    max-width: min(760px, 100%);
}

/* ── 誓师 sheetModal sticky header ─────────────────────────── */
#modal-pledge .modal-inner::before,
#modal-xmas .modal-inner::before,
#modal-spring .modal-inner::before { display: none; } /* 用 pledge-sh-pill 替代默认药丸 */
#modal-pledge .modal-inner,
#modal-xmas .modal-inner,
#modal-spring .modal-inner { overflow-anchor: none; } /* 禁止滚动锚定，防止 header 收缩时 scrollTop 被浏览器自动调整导致震荡 */

.pledge-sh-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px 24px 16px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease,
                box-shadow .25s ease, padding .25s ease,
                backdrop-filter .25s ease;
}

.pledge-sh-head.scrolled {
    background: rgba(244, 240, 234, 0.75);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom-color: rgba(195, 178, 155, 0.28);
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
}

/* 拖拽药丸 */
.pledge-sh-pill {
    display: block;
    width: 40px; height: 4px;
    background: rgba(0,0,0,.18);
    border-radius: 999px;
    margin: 0 auto;
    max-height: 4px;
    overflow: hidden;
    opacity: 1;
    margin-bottom: 14px;
    transition: max-height .3s ease, margin-bottom .3s ease, opacity .2s ease;
}

.pledge-sh-head.scrolled .pledge-sh-pill {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
}

/* 标题行：close 按钮已脱离 flex 流（绝对定位），padding-right 为它预留位置 */
.pledge-sh-heading-row {
    display: flex;
    align-items: flex-start;
    padding-right: 48px;
}

.pledge-sh-heading-row > div { flex: 1; min-width: 0; }

.pledge-sh-head h2 {
    margin: 0;
    font-size: var(--font-size-18);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* 描述文字折叠 */
.pledge-sh-head p {
    margin: 0;
    max-height: 360px;
    overflow: hidden;
    opacity: 1;
    font-size: var(--font-size-14);
    line-height: 1.65;
    color: #999;
    margin-top: 6px;
    transition: max-height .35s ease, opacity .25s ease, margin-top .3s ease;
}

.pledge-sh-head.scrolled p {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

/* close 按钮：绝对定位到 header 右上角，独立于 header 内部折叠动画 */
.pledge-sh-head .modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    margin: 0;
    z-index: 3;
    background: rgba(20,20,20,.10);
    border-color: rgba(0,0,0,.12);
    color: rgba(0,0,0,.6);
}
.pledge-sh-head .modal-close:hover {
    background: rgba(20,20,20,.20);
    color: #1a1a1a;
}

/* 内容块 */
.pledge-sh-section {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f0ede8;
}
.pledge-sh-section:last-child {
    border-bottom: none;
    padding-bottom: 32px;
}
.pledge-sh-label {
    margin: 0 0 6px;
    font-size: var(--font-size-16);
    font-weight: 600;
    color: #1a1a1a;
}
.pledge-sh-desc {
    margin: 0 0 16px;
    font-size: var(--font-size-14);
    color: #999;
}

/* 视频行 */
.pledge-videos-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.pledge-videos-row::-webkit-scrollbar { height: 4px; }
.pledge-videos-row::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.pledge-vc {
    flex: 0 0 auto;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pledge-vc-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
    border-radius: 8px;
}

.pledge-vc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.pledge-vc:hover .pledge-vc-thumb img {
    transform: scale(1.05);
}

.pledge-vc-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.22);
    transition: background .2s;
}

.pledge-vc:hover .pledge-vc-play {
    background: rgba(0,0,0,.4);
}

.pledge-vc-play::before {
    content: '';
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    box-shadow: 0 2px 12px rgba(0,0,0,.28);
    transition: transform .2s, background .2s;
}

.pledge-vc:hover .pledge-vc-play::before {
    transform: scale(1.12);
    background: #fff;
}

.pledge-vc-play::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px 0 8px 15px;
    border-color: transparent transparent transparent #1a1a1a;
    margin-left: 3px;
}

.pledge-vc-year {
    font-size: var(--font-size-14);
    color: #999;
    font-weight: 500;
    letter-spacing: .03em;
}

/* ── 誓师视频播放模态框 ── */
#modal-pledge-video .pv-inner {
    background: rgba(12,11,10,.97);
    border-radius: 14px;
    padding: 20px;
    max-width: 860px;
    width: 92vw;
}

.pv-wrap {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

#pvVideo {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    outline: none;
}

.pv-label {
    margin-top: 12px;
    text-align: center;
    font-size: var(--font-size-14);
    color: rgba(255,255,255,.55);
    letter-spacing: .06em;
}

/* 照片网格 */
.pledge-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.pledge-grid-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    transition: opacity .18s;
}
.pledge-grid-img:hover { opacity: .84; }

@media (max-width: 480px) {
    .pledge-sh-head,
    .pledge-sh-section { padding-left: 16px; padding-right: 16px; }
    .pledge-vc { width: 72vw; }
    .pledge-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════
   Mobile deep adaptation
═══════════════════════════════════════ */
@media (max-width: 900px) {
    #case-hero {
        padding-top: var(--header-height, 56px);
        background: #111;
    }

    .case-hero-img {
        width: 100%;
        min-height: 180px;
        object-fit: cover;
        object-position: center;
    }

    .case-section {
        padding: 42px 0;
    }

    .section-heading {
        font-size: clamp(23px, 6.4vw, 32px);
        line-height: 1.24;
        padding: 0 8px;
    }

    .section-sub {
        margin-bottom: 26px;
        padding: 0 4px;
        font-size: 15px;
        line-height: 1.72;
        text-align: left;
    }

    .section-note {
        margin: 0 0 24px;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 14px;
    }

    .course-intro-split,
    .time-awareness{
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .course-intro-split {
        margin-top: 24px;
    }

    .tiers-layout {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        gap: 16px;
    }

    .tiers-poster,
    .tiers-table {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* 移动端：隐藏表格，改用横向两栏卡片 */
    .tiers-table {
        display: block;
        overflow: visible;
    }
    .tiers-table > table.score-table { display: none; }

    .tiers-cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .tier-card {
        display: flex;
        align-items: stretch;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    }

    .tier-card__score {
        flex: 0 0 96px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.35;
        text-align: center;
        padding: 12px 6px;
    }

    .tier-card__body {
        flex: 1;
        min-width: 0;
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .tier-card__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .tier-card__class {
        font-size: 16px;
        font-weight: 700;
        color: #222;
        flex: 1;
        min-width: 0;
    }

    .tier-card__cap {
        font-size: 12px;
        font-weight: 600;
        color: var(--clr-primary);
        background: rgba(var(--clr-primary-rgb), 0.08);
        padding: 3px 10px;
        border-radius: 999px;
        white-space: nowrap;
    }

    .tier-card__dir {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        padding-top: 6px;
        border-top: 1px dashed #eee;
    }

    .course-intro-img {
        width: 100%;
        max-height: 280px;
        object-fit: cover;
    }

    .course-intro-heading {
        font-size: 18px;
        line-height: 1.45;
    }

    .course-intro-right p,
    .challenge-col ul li,
    .time-bullets li,
    .teacher-bio p {
        font-size: 15px;
        line-height: 1.78;
    }

    .challenge-trifecta{
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 26px;
        border-radius: 14px;
        overflow: visible;
        box-shadow: none;
    }

    .challenge-col,
    .time-content{
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    }

    .challenge-col {
        padding: 26px 20px;
    }

    .time-bar {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .time-bar-item {
        min-height: 42px;
        border-radius: 8px;
    }

    .pledge-videos-row{
        display: flex;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding-bottom: 10px;
    }

    .pledge-vc{
        flex: 0 0 min(78vw, 320px);
        scroll-snap-align: start;
    }

    #modal-pledge-video .pv-inner{
        width: 94vw;
        max-width: 94vw;
        border-radius: 16px;
        padding: 14px;
    }
}

@media (max-width: 560px) {
    .case-section {
        padding: 34px 0;
    }

    .challenge-col {
        padding: 22px 16px;
    }

    .pledge-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════════
   触屏设备 hover 替代：按钮 / CTA / overlay 常驻可见
═══════════════════════════════════════════════════════════ */
@media (hover: none), (max-width: 768px) {
    .atm-grid-item .atm-overlay,
    .atm-pledge .atm-overlay,
    .ach-img-big .atm-overlay,
    .ach-img-small .atm-overlay {
        opacity: 1;
    }

    .atm-grid-item .atm-cta,
    .atm-pledge .atm-cta,
    .ach-img-big .atm-cta,
    .ach-img-small .atm-cta {
        transform: translate(-50%, -50%);
        filter: blur(0);
        opacity: 1;
    }
}
