/* The reference homepage's interface, scoped to the existing galaxy screen. */
.galaxy-page .galaxy-header { position:fixed; top:0; left:0; z-index:100; width:100%; height:64px; margin:0; align-items:flex-start; border:0; }
.galaxy-page .galaxy-header-spacer { flex:0 0 86px; }
.galaxy-page.is-embedded .galaxy-header { visibility:hidden; pointer-events:none; }
.galaxy-page.is-expanded .galaxy-header, .galaxy-page.is-route-detail-view .galaxy-header { opacity:1; transform:none; pointer-events:auto; }
.galaxy-page .galaxy-header::before { content:""; position:absolute; inset:0 0 auto; height:64px; background:rgba(255,255,255,.84); border-bottom:1px solid rgba(27,29,47,.08); backdrop-filter:blur(18px); }
.galaxy-page .journey-nav-inner { position:relative; z-index:1; display:flex; align-items:center; gap:8px; width:min(100%,1360px); height:64px; margin:auto; padding:0 28px; }
.galaxy-page .journey-logo { display:flex; align-items:center; gap:8px; flex-shrink:0; text-decoration:none; }
.galaxy-page .journey-logo-mark, .galaxy-page .journey-logo-wordmark { display:flex; align-items:center; }
.galaxy-page .journey-logo-mark img { width:34px; height:34px; object-fit:contain; }
.galaxy-page .journey-logo-wordmark img { width:auto; height:28px; object-fit:contain; }
.galaxy-page .journey-nav-spacer { flex:1; }
.galaxy-page .journey-nav-link, .galaxy-page .journey-nav-control, .galaxy-page .journey-community { display:inline-flex; align-items:center; justify-content:center; gap:7px; height:38px; padding:0 12px; border:0; border-radius:12px; background:transparent; color:#30303a !important; font-family:inherit; font-size:14px; font-weight:500; line-height:1; white-space:nowrap; text-decoration:none; cursor:pointer; }
.galaxy-page .journey-nav-link *, .galaxy-page .journey-nav-control *, .galaxy-page .journey-community * { color:inherit !important; }
.galaxy-page .journey-nav-link:hover, .galaxy-page .journey-nav-control:hover { background:rgba(30,30,45,.06); }
.galaxy-page .journey-nav-link svg, .galaxy-page .journey-nav-control svg, .galaxy-page .journey-community svg { width:18px; height:18px; flex:none; }
.galaxy-page .journey-nav-control { width:38px; padding:0; }
.galaxy-page .journey-community { color:#258d5c !important; background:rgba(42,167,104,.09); }
.galaxy-page .journey-lang { position:relative; }
.galaxy-page .journey-lang-menu { display:none; position:absolute; top:44px; right:0; width:190px; padding:7px; border:1px solid rgba(35,35,45,.1); border-radius:12px; background:#fff; box-shadow:0 12px 36px rgba(25,20,55,.14); }
.galaxy-page .journey-lang.is-open .journey-lang-menu { display:block; }
.galaxy-page .journey-lang-menu a { display:block; padding:10px 12px; border-radius:7px; color:#30303a !important; font-size:13px; text-decoration:none; }
.galaxy-page .journey-lang-menu a:hover { background:#f3f1fa; }
.galaxy-page .journey-moon { display:none; }
html[data-theme="dark"] .galaxy-page .journey-moon { display:block; }
html[data-theme="dark"] .galaxy-page .journey-sun { display:none; }
.galaxy-page .journey-auth-slot .xa-login-btn, .galaxy-page .journey-auth-slot .xa-login-btn * { color:#fff !important; }
.galaxy-page .hero-gridwash, .galaxy-page .hero-field-details { position:absolute; inset:0; pointer-events:none; transition:opacity .45s ease; }
.galaxy-page .hero-gridwash { background-image:linear-gradient(rgba(40,108,187,.08) 1px, transparent 1px),linear-gradient(90deg,rgba(40,108,187,.08) 1px,transparent 1px); background-size:44px 44px; mask-image:radial-gradient(ellipse at center,transparent 10%,#000 100%); }
.galaxy-page .hero-field-details svg { display:block; width:100%; height:100%; }
.galaxy-page .field-trace { fill:none; stroke:rgba(81,102,142,.24); stroke-width:1; }
.galaxy-page .field-trace-accent { stroke:#8e7afa; stroke-width:2; }
.galaxy-page .field-ticks { fill:rgba(113,105,152,.38); stroke:rgba(113,105,152,.38); stroke-width:1; }
.galaxy-page .field-node-accent { fill:#8e7afa; stroke:#8e7afa; }
.galaxy-page .field-readout { position:absolute; bottom:15%; color:#9995aa !important; font:10px/1.2 monospace; letter-spacing:.1em; }
.galaxy-page .field-readout-left { left:6%; }
.galaxy-page .field-readout-right { right:6%; }
.galaxy-page .field-readout i { color:#a799e9 !important; font-style:normal; }
.galaxy-page.is-start-view .hero-gridwash, .galaxy-page.is-start-view .hero-field-details, .galaxy-page.is-expanded .hero-gridwash, .galaxy-page.is-expanded .hero-field-details { opacity:0; }
.galaxy-page .galaxy-intro.hero-copy { display:flex; flex-direction:column; align-items:center; width:min(88%,930px); max-width:none; margin-inline:auto; padding:0; text-align:center; }
.galaxy-page .hero-copy .eyebrow { margin-bottom:25px; color:#3a3749 !important; font-size:13px; font-weight:600; letter-spacing:.08em; }
.galaxy-page .hero-copy .eyebrow-mark { color:#7867f2 !important; font-size:18px; margin-right:6px; }
.galaxy-page .hero-title-wrap { position:relative; }
.galaxy-page .galaxy-intro h1 { margin:0; color:#101014 !important; font-size:clamp(47px,5.2vw,78px); font-weight:750; line-height:1.075; letter-spacing:-.075em; }
.galaxy-page .hero-title-long { white-space:nowrap; }
.galaxy-page .galaxy-intro h1 em { position:relative; color:#101014 !important; font-style:normal; }
.galaxy-page .galaxy-intro h1 em::after { content:""; position:absolute; left:0; right:0; bottom:-.08em; height:.16em; background:#7463ec; transform:skewX(-12deg); }
.galaxy-page .title-stop { color:#7463ec !important; }
.galaxy-page .free-access-tag { position:absolute; top:-20px; left:64px; display:flex; flex-direction:column; align-items:center; justify-content:center; width:117px; height:117px; border:2px solid #777; border-radius:50%; transform:rotate(-12deg); opacity:.4; }
.galaxy-page .free-access-tag strong, .galaxy-page .free-access-tag i { color:#777 !important; font-style:normal; line-height:1; }
.galaxy-page .free-access-tag strong { font-size:31px; font-weight:800; }
.galaxy-page .free-access-tag i { margin-top:4px; font-size:13px; font-weight:700; letter-spacing:.1em; }
.galaxy-page .hero-description { max-width:620px; margin:25px 0 0; color:#6c687c !important; font-size:14px; line-height:1.8; }
.galaxy-page .hero-actions { display:flex; justify-content:center; gap:12px; margin-top:25px; }
.galaxy-page .hero-dark-cta { display:flex; align-items:center; justify-content:space-between; min-width:224px; height:48px; padding:0 16px; border-left:3px solid #7066f3; background:#272727; color:#fff !important; text-align:left; text-decoration:none; transition:background .2s,transform .2s; }
.galaxy-page .hero-dark-cta:hover { background:#6252dc; transform:translateY(-2px); }
.galaxy-page .hero-dark-cta * { color:#fff !important; }
.galaxy-page .cta-copy { display:flex; flex-direction:column; gap:3px; }
.galaxy-page .cta-copy strong { font-size:13px; line-height:1; }
.galaxy-page .cta-copy small { color:rgba(255,255,255,.65) !important; font-size:9px; }
.galaxy-page .cta-arrow { font-size:20px; }
.galaxy-page .access-line { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:20px; color:#777386 !important; font-size:11px; }
.galaxy-page .access-dot { width:6px; height:6px; border-radius:50%; background:#7867f2; }
.galaxy-page .access-line i { width:3px; height:3px; border-radius:50%; background:#aaa5b4; }
.galaxy-page .pv-bar { display:inline-flex; align-items:center; gap:16px; margin-top:14px; padding:7px 16px; border:1px solid rgba(120,103,242,.22); border-radius:999px; background:rgba(255,255,255,.72); font-size:11px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.galaxy-page .pv-live { display:inline-flex; align-items:center; gap:6px; color:#58a784 !important; font-weight:600; }
.galaxy-page .pv-live-dot { width:6px; height:6px; border-radius:50%; background:#58a784; animation:pv-pulse 2s infinite; }
.galaxy-page .pv-item { display:inline-flex; align-items:baseline; gap:6px; }
.galaxy-page .pv-item + .pv-item { padding-left:16px; border-left:1px solid rgba(120,103,242,.18); }
.galaxy-page .pv-label { color:#777386 !important; }
.galaxy-page .pv-item b { color:#272727 !important; font-size:13px; font-weight:800; }
.galaxy-page .pv-item:first-of-type b { color:#6252dc !important; }
@keyframes pv-pulse { 0% { box-shadow:0 0 0 0 rgba(88,167,132,.5); } 70% { box-shadow:0 0 0 6px rgba(88,167,132,0); } 100% { box-shadow:0 0 0 0 rgba(88,167,132,0); } }
html[data-theme="dark"] .galaxy-page .pv-bar { border-color:rgba(255,255,255,.12); background:rgba(21,20,30,.72); }
html[data-theme="dark"] .galaxy-page .pv-label { color:#aaa5b4 !important; }
html[data-theme="dark"] .galaxy-page .pv-item b { color:#f5f3ff !important; }
html[data-theme="dark"] .galaxy-page .pv-item:first-of-type b { color:#a393ed !important; }
.galaxy-page .first-screen-next { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.galaxy-page .first-screen-next:focus-visible { position:fixed; z-index:30; bottom:24px; left:50%; width:auto; height:auto; padding:12px 18px; clip-path:none; transform:translateX(-50%); background:#272727; color:#fff !important; }
.galaxy-page .screen-footer { font-size:10px; letter-spacing:.08em; }
.galaxy-page .screen-footer, .galaxy-page .screen-footer * { color:#8c8899 !important; }
.galaxy-page .screen-footer i { color:#a393ed !important; font-style:normal; }
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) { background:#11101a; }
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) .galaxy-header::before { background:rgba(21,20,30,.86); border-color:rgba(255,255,255,.1); }
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) .journey-nav-link,
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) .journey-nav-control,
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) .hero-copy .eyebrow,
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) .galaxy-intro h1 { color:#f5f3ff !important; }
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) .galaxy-intro h1 em { color:#f5f3ff !important; }
html[data-theme="dark"] .galaxy-page:not(.is-start-view):not(.is-expanded) .journey-logo-wordmark { background:#fff; border-radius:4px; }
@media(max-width:1000px) { .galaxy-page .journey-nav-github { display:none; } }
@media(max-width:900px) { .galaxy-page .journey-nav-about, .galaxy-page .journey-nav-jobs-label { display:none; } .galaxy-page .journey-nav-inner { padding:0 16px; gap:4px; } }
@media(max-width:620px) { .galaxy-page .galaxy-header-spacer { flex-basis:65px; } }
@media(max-width:600px) {
 .galaxy-page .galaxy-header { height:56px; }
 .galaxy-page .galaxy-header::before, .galaxy-page .journey-nav-inner { height:56px; }
 .galaxy-page .journey-nav-jobs, .galaxy-page .journey-community { display:none; }
 .galaxy-page .journey-nav-link { padding:0 8px; }
 .galaxy-page .journey-logo-mark img { width:28px; height:28px; }
 .galaxy-page .journey-logo-wordmark img { height:23px; }
 .galaxy-page .galaxy-intro h1 { font-size:clamp(32px,8vw,47px); letter-spacing:-.06em; white-space:normal; }
 .galaxy-page .hero-title-long { white-space:normal; }
 .galaxy-page .free-access-tag { width:70px; height:70px; left:98px; top:-55px; }
 .galaxy-page .free-access-tag strong { font-size:19px; }
 .galaxy-page .free-access-tag i { font-size:8px; }
 .galaxy-page .hero-actions { flex-wrap:wrap; gap:8px; }
 .galaxy-page .hero-dark-cta { min-width:0; width:min(100%,224px); }
 .galaxy-page .hero-description { margin-top:18px; }
 .galaxy-page .access-line { flex-wrap:wrap; font-size:10px; }
 .galaxy-page .pv-bar { gap:9px; padding:6px 12px; font-size:10px; }
 .galaxy-page .pv-live { font-size:0; }
 .galaxy-page .pv-item { gap:4px; }
 .galaxy-page .pv-item + .pv-item { padding-left:9px; }
 .galaxy-page .pv-item b { font-size:12px; }
 .galaxy-page .field-readout, .galaxy-page .footer-coordinates { display:none; }
}
@media(max-width:380px) {
 .galaxy-page .pv-bar { padding:6px 14px; border-radius:14px; }
 .galaxy-page .pv-item { flex-direction:column; align-items:center; gap:1px; }
}
@media(max-width:360px) { .galaxy-page .journey-nav-parents { display:none; } }
@media(max-height:720px) and (min-width:621px) { .galaxy-page .galaxy-header-spacer { flex-basis:68px; } }
.galaxy-page.is-start-view .galaxy-intro { transform:translate3d(0,-32px,0); filter:none; }
.galaxy-page .path-cursor-connections { position:fixed; z-index:2; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; opacity:0; transition:opacity .2s ease; }
.galaxy-page.is-expanded.has-pointer:not(.is-course-view):not(.is-nebula-returning) .path-cursor-connections { opacity:1; }
.galaxy-page .path-cursor-connections line { stroke:rgba(121,86,232,.38); stroke-width:1; stroke-dasharray:3 7; stroke-linecap:round; }

/* Keep the five route controls compact until their label is needed. */
.galaxy-page.is-expanded .path-node {
  transition:opacity .48s ease, transform .65s cubic-bezier(.18,.78,.17,1), filter .28s ease, left .5s cubic-bezier(.2,.7,.2,1);
}
.galaxy-page.is-expanded .path-node:nth-child(1) { transition-delay:.16s,.16s,.16s,0s; }
.galaxy-page.is-expanded .path-node:nth-child(2) { transition-delay:.25s,.25s,.25s,0s; }
.galaxy-page.is-expanded .path-node:nth-child(3) { transition-delay:.34s,.34s,.34s,0s; }
.galaxy-page.is-expanded .path-node:nth-child(4) { transition-delay:.43s,.43s,.43s,0s; }
.galaxy-page.is-expanded .path-node:nth-child(5) { transition-delay:.52s,.52s,.52s,0s; }
.galaxy-page.is-expanded .path-nodes.is-course-transition .path-node { transition:none; }
.galaxy-page.is-expanded .path-node .node-face {
  width:48px; min-width:0; height:48px; justify-content:center; gap:0; overflow:hidden;
  transition:width .5s cubic-bezier(.2,.7,.2,1), gap .5s ease, transform .22s cubic-bezier(.2,.7,.2,1), background .5s ease, box-shadow .5s ease;
}
.galaxy-page.is-expanded .path-node .node-label {
  max-width:0; opacity:0; overflow:hidden; white-space:nowrap;
  transition:max-width .5s ease, opacity .5s ease;
}
.galaxy-page.is-expanded .path-node:hover .node-face,
.galaxy-page.is-expanded .path-node:focus-visible .node-face {
  width:var(--path-node-width,140px); gap:9px;
}
.galaxy-page.is-expanded .path-node:hover,
.galaxy-page.is-expanded .path-node:focus-visible { z-index:4; }
.galaxy-page.is-expanded .path-node:hover .node-label,
.galaxy-page.is-expanded .path-node:focus-visible .node-label {
  max-width:140px; opacity:1;
}
@media(max-width:620px) {
  .galaxy-page.is-expanded .path-node .node-face { width:40px; height:40px; }
  .galaxy-page.is-expanded .path-node:hover .node-face,
  .galaxy-page.is-expanded .path-node:focus-visible .node-face { gap:3px; }
}

/* Match the Teacher Xiaoshan feature heading typography on the parent journey page. */
.galaxy-page .start-stage-heading h2,
.galaxy-page .path-screen-heading h2 {
  font-family:'Avenir Next',-apple-system,BlinkMacSystemFont,'PingFang SC','Helvetica Neue',sans-serif;
  font-size:clamp(25px,2.7vw,34px);
  font-weight:780;
  letter-spacing:-.07em;
  line-height:1.1;
}
.galaxy-page .start-stage-description { margin:0; color:#777386 !important; font-size:14px; line-height:1.8; text-align:center; }
.galaxy-page .start-stage-description .start-stage-hint { color:#7956e8 !important; font-weight:700; }
.galaxy-page .path-screen-description .path-screen-hint { color:#7956e8 !important; font-weight:700; }
@media(max-width:600px) {
  .galaxy-page .start-stage-heading h2,
  .galaxy-page .path-screen-heading h2 { font-size:27px; }
}
