/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/features/platform-shell/LearningTopbar.module.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.LearningTopbar_topbar__ZvIAh {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
}

.LearningTopbar_brand__i_tUh {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
}

.LearningTopbar_brandMark__qAi0v {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.LearningTopbar_brand__i_tUh strong {
  display: block;
  line-height: 1.1;
}

.LearningTopbar_nav__OJ9El {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.LearningTopbar_nav__OJ9El a,
.LearningTopbar_userArea__FDe4K a,
.LearningTopbar_authButton__Mutic {
  min-height: 36px;
  border-radius: 8px;
  color: var(--text-secondary);
  padding: 8px 12px;
  text-decoration: none;
}

.LearningTopbar_nav__OJ9El a,
.LearningTopbar_userArea__FDe4K a {
  display: inline-flex;
  align-items: center;
}

.LearningTopbar_nav__OJ9El a:hover,
.LearningTopbar_userArea__FDe4K a:hover,
.LearningTopbar_authButton__Mutic:hover:not(:disabled),
.LearningTopbar_navActive___qLvh {
  background: var(--accent-soft);
  color: var(--accent-strong) !important;
}

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

.LearningTopbar_authButton__Mutic {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.LearningTopbar_authButton__Mutic:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 960px) {
  .LearningTopbar_nav__OJ9El {
    display: none;
  }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/features/stage-map/StudentChapterMapRoute.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.StudentChapterMapRoute_page__Xtj74 {
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-hans), "Microsoft YaHei UI", "Noto Sans SC", system-ui, sans-serif;
}

.StudentChapterMapRoute_chapterHero__vnbUJ,
.StudentChapterMapRoute_layout__Po2UE {
  width: min(1232px, calc(100vw - 32px));
  margin: 0 auto;
}

.StudentChapterMapRoute_chapterHero__vnbUJ {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 24px;
  gap: 24px;
  align-items: end;
  padding: 30px 0 20px;
}

.StudentChapterMapRoute_breadcrumb__lyp8u,
.StudentChapterMapRoute_sectionEyebrow__RPUn0 {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.StudentChapterMapRoute_chapterHero__vnbUJ h1 {
  margin: 10px 0 8px;
  color: var(--text-primary);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.StudentChapterMapRoute_chapterHero__vnbUJ p {
  max-width: 680px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.StudentChapterMapRoute_panel__SMS52,
.StudentChapterMapRoute_mapPanel___RJwi,
.StudentChapterMapRoute_detailPanel__qXGKQ {
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.StudentChapterMapRoute_chapterProgress__gqlCN {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
  padding: 0;
}

.StudentChapterMapRoute_progressRing__KczCC {
  position: relative;
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  place-items: center;
}

.StudentChapterMapRoute_progressRing__KczCC svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.StudentChapterMapRoute_progressTrack__itWED,
.StudentChapterMapRoute_progressValue__edSMc {
  fill: none;
  stroke-width: 12;
}

.StudentChapterMapRoute_progressTrack__itWED {
  stroke: var(--border-subtle);
}

.StudentChapterMapRoute_progressValue__edSMc {
  stroke: var(--accent);
  stroke-linecap: round;
}

.StudentChapterMapRoute_progressRing__KczCC strong {
  color: var(--text-primary);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.StudentChapterMapRoute_chapterProgressStats__ByF_d {
  display: grid;
  min-width: 118px;
  grid-gap: 8px;
  gap: 8px;
}

.StudentChapterMapRoute_chapterProgressMetrics__S94uX {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin: 0;
}

.StudentChapterMapRoute_chapterProgressMetrics__S94uX dt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.StudentChapterMapRoute_chapterProgressMetrics__S94uX dd {
  margin: 3px 0 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.StudentChapterMapRoute_layout__Po2UE {
  --course-sidebar-width: 220px;
  display: grid;
  grid-template-columns: var(--course-sidebar-width) minmax(0, 1fr) 300px;
  grid-gap: 12px;
  gap: 12px;
  padding-bottom: 48px;
}

.StudentChapterMapRoute_editorTopbarControls__CIXGz {
  position: fixed;
  top: 13px;
  left: max(220px, calc((100vw - 1240px) / 2 + 216px));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.StudentChapterMapRoute_editorTopbarControls__CIXGz button {
  min-height: 36px;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 7px 12px;
}

.StudentChapterMapRoute_editorTopbarControls__CIXGz button:hover:not(:disabled),
.StudentChapterMapRoute_editorTopbarControls__CIXGz button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.StudentChapterMapRoute_editorTopbarControls__CIXGz button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.StudentChapterMapRoute_editorTopbarControls__CIXGz[data-editing="true"] button:first-child {
  background: var(--accent);
  color: #ffffff;
}

.StudentChapterMapRoute_editorTopbarControls__CIXGz span {
  max-width: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-inset);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 8px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.StudentChapterMapRoute_draftManager__31SJJ {
  position: absolute;
  top: 44px;
  left: 0;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  padding: 12px;
}

.StudentChapterMapRoute_draftManagerHeader__3nByp {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.StudentChapterMapRoute_draftManagerHeader__3nByp h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.StudentChapterMapRoute_draftManagerHeader__3nByp span {
  max-width: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  padding: 0;
}

.StudentChapterMapRoute_draftManagerError__AVt1B,
.StudentChapterMapRoute_draftManagerEmpty__AErh2 {
  margin: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  padding: 8px 10px;
}

.StudentChapterMapRoute_draftManagerError__AVt1B {
  border: 1px solid #fecaca;
  background: var(--danger-soft);
  color: var(--danger-strong);
}

.StudentChapterMapRoute_draftManagerEmpty__AErh2 {
  background: var(--bg-inset);
  color: var(--text-muted);
}

.StudentChapterMapRoute_draftList__VwAl8 {
  display: grid;
  max-height: 320px;
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
  overflow-y: auto;
  padding: 0;
  list-style: none;
}

.StudentChapterMapRoute_draftList__VwAl8 li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 8px 10px;
  gap: 8px 10px;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-inset);
  padding: 9px;
}

.StudentChapterMapRoute_draftList__VwAl8 li[data-active="true"] {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.StudentChapterMapRoute_draftList__VwAl8 label {
  display: grid;
  min-width: 0;
  grid-gap: 5px;
  gap: 5px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.StudentChapterMapRoute_draftList__VwAl8 label span {
  max-width: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  padding: 0;
}

.StudentChapterMapRoute_draftList__VwAl8 input {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 8px;
}

.StudentChapterMapRoute_draftList__VwAl8 input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(37, 99, 235, 0.14);
}

.StudentChapterMapRoute_draftList__VwAl8 time {
  align-self: end;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.StudentChapterMapRoute_draftActions__ENKZl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
}

.StudentChapterMapRoute_draftActions__ENKZl button {
  min-height: 32px;
  padding: 5px 8px;
}

.StudentChapterMapRoute_draftActions__ENKZl button:last-child {
  border-color: #fecaca;
  color: var(--danger-strong);
}

.StudentChapterMapRoute_draftActions__ENKZl button:last-child:hover:not(:disabled),
.StudentChapterMapRoute_draftActions__ENKZl button:last-child:focus-visible {
  border-color: #ef4444;
  background: var(--danger-soft);
}

.StudentChapterMapRoute_sidebar__Owb9N {
  align-self: start;
  display: grid;
  align-content: start;
  grid-gap: 14px;
  gap: 14px;
  width: var(--course-sidebar-width);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.StudentChapterMapRoute_panel__SMS52 {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  min-width: 0;
  box-sizing: border-box;
  padding: 18px;
}

.StudentChapterMapRoute_panelTitleRow__H8qnG {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.StudentChapterMapRoute_panel__SMS52 h2,
.StudentChapterMapRoute_mapHeader__xd8F4 h2,
.StudentChapterMapRoute_detailPanel__qXGKQ h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
}

.StudentChapterMapRoute_detailPanel__qXGKQ h2 {
  min-height: 1.35em;
  line-height: 1.35;
}

.StudentChapterMapRoute_panelHeading__KHuai {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.StudentChapterMapRoute_panelHeadingEnglish__A11Rc {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.StudentChapterMapRoute_panelHeadingSeparator__PHo5m {
  color: var(--text-faint);
  font-size: 16px;
  font-weight: 900;
  margin-inline: 3px;
}

.StudentChapterMapRoute_panel__SMS52 a {
  border-radius: 8px;
  color: var(--text-secondary);
  padding: 9px 10px;
  text-decoration: none;
}

.StudentChapterMapRoute_panel__SMS52 a:hover,
.StudentChapterMapRoute_catalogActive__YjiR0 {
  background: var(--accent-soft);
  color: var(--accent-strong) !important;
  font-weight: 800;
}

.StudentChapterMapRoute_panel__SMS52 a[data-disabled="true"] {
  opacity: 0.55;
}

.StudentChapterMapRoute_filterGroup__3M_Br {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.StudentChapterMapRoute_filterGroup__3M_Br button,
.StudentChapterMapRoute_filterGroup__3M_Br a,
.StudentChapterMapRoute_filterGroup__3M_Br div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font: inherit;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 9px 10px;
  text-align: left;
  text-decoration: none;
}

.StudentChapterMapRoute_filterGroup__3M_Br button:hover,
.StudentChapterMapRoute_filterGroup__3M_Br a:hover,
.StudentChapterMapRoute_filterGroup__3M_Br div:hover,
.StudentChapterMapRoute_filterActive__mY3rv {
  border-color: var(--accent-border) !important;
  background: var(--accent-soft) !important;
  color: var(--accent-strong) !important;
}

.StudentChapterMapRoute_filterGroup__3M_Br button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.StudentChapterMapRoute_filterGroup__3M_Br input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
}

.StudentChapterMapRoute_chapterDraftCard__8NhQN {
  cursor: -webkit-grab;
  cursor: grab;
}

.StudentChapterMapRoute_chapterDraftCard__8NhQN:active,
.StudentChapterMapRoute_chapterDragging__X_QCs {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.StudentChapterMapRoute_chapterDragging__X_QCs {
  opacity: 0.78;
  transform: translateY(1px);
}

.StudentChapterMapRoute_chapterDragHandle__75Ojg {
  flex: 0 0 auto;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.StudentChapterMapRoute_chapterNumber__R_Rn0 {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.StudentChapterMapRoute_chapterTitle__Vvz6c {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.StudentChapterMapRoute_chapterDraftCard__8NhQN input {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.StudentChapterMapRoute_chapterContextMenu__FZXZp,
.StudentChapterMapRoute_edgeContextMenu__tQEgL {
  position: fixed;
  z-index: 40;
  min-width: 96px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  padding: 4px;
}

.StudentChapterMapRoute_chapterContextMenu__FZXZp button,
.StudentChapterMapRoute_edgeContextMenu__tQEgL button {
  display: block;
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--danger-strong);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  padding: 6px 10px;
}

.StudentChapterMapRoute_chapterContextMenu__FZXZp button:hover,
.StudentChapterMapRoute_chapterContextMenu__FZXZp button:focus-visible,
.StudentChapterMapRoute_edgeContextMenu__tQEgL button:hover,
.StudentChapterMapRoute_edgeContextMenu__tQEgL button:focus-visible {
  background: var(--danger-soft);
}

.StudentChapterMapRoute_circleAddButton__JVR2j {
  display: inline-grid;
  width: 28px;
  height: 28px;
  min-height: 28px;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

.StudentChapterMapRoute_circleAddButton__JVR2j:hover,
.StudentChapterMapRoute_circleAddButton__JVR2j:focus-visible {
  border-color: var(--accent);
  background: #dbeafe;
}

.StudentChapterMapRoute_mapPanel___RJwi {
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: 76px;
}

.StudentChapterMapRoute_emptyCoursePanel__rDikY {
  grid-column: span 2;
  min-height: 360px;
  align-content: center;
  gap: 10px;
  padding: 28px;
}

.StudentChapterMapRoute_emptyCoursePanel__rDikY h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 22px;
}

.StudentChapterMapRoute_emptyCoursePanel__rDikY p {
  max-width: 520px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.StudentChapterMapRoute_emptyCourseActions__36uqE {
  display: grid;
  justify-items: start;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 4px;
}

.StudentChapterMapRoute_emptyCourseActions__36uqE button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 14px;
}

.StudentChapterMapRoute_emptyCourseActions__36uqE button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.StudentChapterMapRoute_emptyCourseError__4v37G {
  max-width: 520px;
  margin: 0;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: var(--danger-soft);
  color: var(--danger-strong) !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.StudentChapterMapRoute_mapHeader__xd8F4 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 22px;
}

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

.StudentChapterMapRoute_mapEditButtons__ZrBgS {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.StudentChapterMapRoute_mapEditButtons__ZrBgS button {
  min-height: 32px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 10px;
}

.StudentChapterMapRoute_mapEditButtons__ZrBgS button:first-child {
  display: inline-grid;
  width: 32px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
}

.StudentChapterMapRoute_mapEditButtons__ZrBgS button:hover,
.StudentChapterMapRoute_mapEditButtons__ZrBgS button:focus-visible,
.StudentChapterMapRoute_mapEditButtons__ZrBgS button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.StudentChapterMapRoute_mapViewport___XTGW {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.StudentChapterMapRoute_mapCanvas__Izdjq {
  position: relative;
  width: var(--map-width);
  min-height: var(--map-height);
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, var(--accent-wash), var(--bg-card));
  background-size: 24px 24px, 100% 100%;
}

.StudentChapterMapRoute_mapCanvas__Izdjq[data-edge-tool] {
  cursor: crosshair;
}

.StudentChapterMapRoute_edgeLayer__mzPf7 {
  position: absolute;
  inset: 0;
  width: var(--map-width);
  height: var(--map-height);
  pointer-events: none;
}

.StudentChapterMapRoute_edgeLayer__mzPf7[data-editing="true"] {
  pointer-events: auto;
}

.StudentChapterMapRoute_alignmentGuideLayer__UIkz9 {
  position: absolute;
  inset: 0;
  width: var(--map-width);
  height: var(--map-height);
  pointer-events: none;
}

.StudentChapterMapRoute_alignmentGuideLayer__UIkz9 line {
  stroke: #0ea5e9;
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  opacity: 0.76;
}

.StudentChapterMapRoute_selectionBox__5qDyE {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid var(--accent);
  background: rgba(37, 99, 235, 0.11);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
  pointer-events: none;
}

.StudentChapterMapRoute_edgeStrong__N5tmk,
.StudentChapterMapRoute_edgeWeak__PtYc2 {
  fill: none;
  stroke: var(--text-faint);
  stroke-width: 3;
  stroke-linecap: round;
  pointer-events: none;
  transition: stroke 140ms ease, stroke-width 140ms ease;
}

.StudentChapterMapRoute_edgeGroup__zm0WQ:hover .StudentChapterMapRoute_edgeStrong__N5tmk,
.StudentChapterMapRoute_edgeGroup__zm0WQ:hover .StudentChapterMapRoute_edgeWeak__PtYc2 {
  stroke: var(--text-muted);
}

/* 起点已通关的连线染色，形成“探索版图点亮”的进度叙事 */
.StudentChapterMapRoute_edgeStrong__N5tmk[data-traveled="true"],
.StudentChapterMapRoute_edgeWeak__PtYc2[data-traveled="true"] {
  stroke: #60a5fa;
}

/* 悬停节点时其前置/后继连线高亮 */
.StudentChapterMapRoute_edgeStrong__N5tmk[data-highlighted="true"],
.StudentChapterMapRoute_edgeWeak__PtYc2[data-highlighted="true"] {
  stroke: var(--accent);
}

.StudentChapterMapRoute_edgeStrong__N5tmk[data-highlighted="true"] {
  stroke-width: 4;
}

.StudentChapterMapRoute_edgeWeak__PtYc2[data-highlighted="true"] {
  stroke-width: 3;
}

.StudentChapterMapRoute_edgeHitTarget__qHPBc {
  cursor: context-menu;
  fill: none;
  pointer-events: stroke;
  stroke: transparent;
  stroke-linecap: round;
  stroke-width: 18;
}

.StudentChapterMapRoute_edgeWeak__PtYc2 {
  stroke-dasharray: 8 8;
  stroke-width: 2;
}

.StudentChapterMapRoute_nodeCard__yJjyx {
  --kind-color: #2563eb;
  position: absolute;
  top: var(--node-y);
  left: var(--node-x);
  display: grid;
  width: 152px;
  min-height: 72px;
  align-content: center;
  grid-gap: 9px;
  gap: 9px;
  box-sizing: border-box;
  border: 1px solid var(--border-default);
  border-radius: 4px;
  background: #ffffff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 11px 12px 11px 16px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  animation: StudentChapterMapRoute_nodeCardEnter__Nc6_y 360ms ease backwards;
  animation-delay: var(--node-enter-delay, 0ms);
}

/* 类型色条：卡片内部的独立圆角条，不参与边框，因此选中/悬停变更边框色时不受影响 */
.StudentChapterMapRoute_nodeCard__yJjyx::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  border-radius: 3px 0 0 3px;
  background: var(--kind-color);
  pointer-events: none;
}

@keyframes StudentChapterMapRoute_nodeCardEnter__Nc6_y {
  from {
    transform: translateY(10px) scale(0.97);
  }

  to {
    transform: none;
  }
}

.StudentChapterMapRoute_nodeHeader__9tVSS {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  grid-gap: 8px;
  gap: 8px;
}

.StudentChapterMapRoute_nodeStatusBadge__pOcdm {
  position: absolute;
  top: -7px;
  left: -7px;
  z-index: 1;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-status="cleared"] .StudentChapterMapRoute_nodeStatusBadge__pOcdm {
  background: var(--success);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-status="perfect"] .StudentChapterMapRoute_nodeStatusBadge__pOcdm {
  background: #f59e0b;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-status="review"] .StudentChapterMapRoute_nodeStatusBadge__pOcdm {
  background: var(--warning);
}

/* 满分节点：金色描边 + 缓慢微光 */
.StudentChapterMapRoute_nodeCard__yJjyx[data-status="perfect"] {
  border-color: #fbbf24;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-status="perfect"]::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: 6px;
  pointer-events: none;
  animation: StudentChapterMapRoute_nodeCardGlow__s__jR 2.6s ease-in-out infinite;
}

/* 可学节点：主题色呼吸描边，标出学习前线 */
.StudentChapterMapRoute_nodeCard__yJjyx[data-status="available"]::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid rgba(37, 99, 235, 0.55);
  border-radius: 6px;
  pointer-events: none;
  animation: StudentChapterMapRoute_nodeCardPulse__hU2dQ 2s ease-in-out infinite;
}

@keyframes StudentChapterMapRoute_nodeCardGlow__s__jR {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.85;
  }
}

@keyframes StudentChapterMapRoute_nodeCardPulse__hU2dQ {
  0%,
  100% {
    opacity: 0.12;
  }

  50% {
    opacity: 0.65;
  }
}


.StudentChapterMapRoute_nodeCard__yJjyx:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card-hover);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-kind="intro"] {
  --kind-color: #0d9488;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-kind="test"] {
  --kind-color: #ea580c;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-honor="true"] {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18), 0 16px 34px rgba(245, 158, 11, 0.2);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-selected="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13), 0 16px 36px rgba(37, 99, 235, 0.16);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-editing="true"] {
  cursor: -webkit-grab;
  cursor: grab;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-dragging="true"] {
  cursor: -webkit-grabbing;
  cursor: grabbing;
  transform: translateY(-2px);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-edge-source="true"] {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16), 0 16px 36px rgba(15, 118, 110, 0.16);
}

.StudentChapterMapRoute_nodeCard__yJjyx h3 {
  overflow: hidden;
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.StudentChapterMapRoute_nodeScore__gPFsa {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 900;
  justify-self: end;
  line-height: 1;
  letter-spacing: 0;
  transform: translate(3px, -3px);
  white-space: nowrap;
}

.StudentChapterMapRoute_nodeScoreStar__Ctli2 {
  color: #f59e0b;
}

.StudentChapterMapRoute_nodeScoreValue__aA9e_ {
  color: inherit;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-score-tier="perfect"] .StudentChapterMapRoute_nodeScore__gPFsa {
  color: #008cff;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-score-tier="high"] .StudentChapterMapRoute_nodeScore__gPFsa {
  color: #d97706;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-score-tier="mid"] .StudentChapterMapRoute_nodeScore__gPFsa {
  color: #0891b2;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-score-tier="low"] .StudentChapterMapRoute_nodeScore__gPFsa {
  color: var(--text-secondary);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-honor="true"] .StudentChapterMapRoute_nodeScore__gPFsa {
  color: #008cff;
}

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

.StudentChapterMapRoute_nodeMeta__pVpSp {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.15;
}

.StudentChapterMapRoute_nodeDifficultyLabel__tEEbw {
  font-weight: 800;
}

.StudentChapterMapRoute_nodeDifficultyRating__6UXcN {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-difficulty-tier="D"] .StudentChapterMapRoute_nodeDifficultyRating__6UXcN {
  color: #16a34a;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-difficulty-tier="C"] .StudentChapterMapRoute_nodeDifficultyRating__6UXcN {
  color: #2563eb;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-difficulty-tier="B"] .StudentChapterMapRoute_nodeDifficultyRating__6UXcN {
  color: #ca8a04;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-difficulty-tier="A"] .StudentChapterMapRoute_nodeDifficultyRating__6UXcN {
  color: #dc2626;
}

/* 未解锁：整卡熄灭，类型色让位灰色，仍可点击查看详情 */
.StudentChapterMapRoute_nodeCard__yJjyx[data-status="locked"] {
  --kind-color: var(--border-strong);
  background: var(--bg-inset);
  box-shadow: none;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-status="locked"] h3,
.StudentChapterMapRoute_nodeCard__yJjyx[data-status="locked"] .StudentChapterMapRoute_nodeMeta__pVpSp,
.StudentChapterMapRoute_nodeCard__yJjyx[data-status="locked"] .StudentChapterMapRoute_nodeScore__gPFsa,
.StudentChapterMapRoute_nodeCard__yJjyx[data-status="locked"] .StudentChapterMapRoute_nodeDifficultyRating__6UXcN {
  color: var(--text-faint);
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-status="locked"] .StudentChapterMapRoute_nodeStatusBadge__pOcdm {
  background: var(--text-faint);
  left: auto;
  right: -7px;
}

.StudentChapterMapRoute_nodeCard__yJjyx[data-status="locked"]:hover {
  transform: none;
  border-color: var(--border-strong);
  box-shadow: none;
}

.StudentChapterMapRoute_detailPanel__qXGKQ {
  position: -webkit-sticky;
  position: sticky;
  top: 84px;
  align-self: start;
  box-sizing: border-box;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  height: 520px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  padding: 20px;
}

.StudentChapterMapRoute_detailTopline__ujSlp span {
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--kind-color, var(--accent-strong));
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
}

.StudentChapterMapRoute_detailTopline__ujSlp span[data-kind="intro"] {
  --kind-color: #0d9488;
}

.StudentChapterMapRoute_detailTopline__ujSlp span[data-kind="test"] {
  --kind-color: #ea580c;
}

.StudentChapterMapRoute_detailTopline__ujSlp strong {
  color: var(--text-primary);
  font-size: 15px;
}

.StudentChapterMapRoute_detailTopline__ujSlp strong[data-honor="true"] {
  color: var(--warning);
}

.StudentChapterMapRoute_detailPanel__qXGKQ p {
  margin: -8px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.StudentChapterMapRoute_detailSummary__35YtR {
  display: -webkit-box;
  min-height: calc(1.7em * 3);
  max-height: calc(1.7em * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.StudentChapterMapRoute_detailStats__7E_fw {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
}

.StudentChapterMapRoute_detailStats__7E_fw div {
  border-radius: 4px;
  background: var(--bg-inset);
  padding: 10px;
}

.StudentChapterMapRoute_detailStats__7E_fw dt {
  color: var(--text-muted);
  font-size: 12px;
}

.StudentChapterMapRoute_detailStats__7E_fw dd {
  margin: 4px 0 0;
  color: var(--text-primary);
  font-weight: 900;
}

.StudentChapterMapRoute_detailStats__7E_fw div[data-placeholder="true"] dd {
  color: var(--text-muted);
  font-size: 14px;
}

.StudentChapterMapRoute_detailSection__ixcwt {
  display: grid;
  grid-gap: 9px;
  gap: 9px;
}

.StudentChapterMapRoute_detailPrerequisiteBody__a1D_D {
  min-height: calc(1.5em * 3);
  max-height: calc(1.5em * 3);
  overflow: hidden;
}

.StudentChapterMapRoute_detailPrerequisiteBody__a1D_D ul {
  gap: 0;
}

.StudentChapterMapRoute_detailSection__ixcwt h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 15px;
}

.StudentChapterMapRoute_detailSection__ixcwt ul {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.StudentChapterMapRoute_detailSection__ixcwt li,
.StudentChapterMapRoute_detailSection__ixcwt p,
.StudentChapterMapRoute_emptyText__OJL_7 {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.StudentChapterMapRoute_emptyDetail__MqtDG {
  min-height: 320px;
}

.StudentChapterMapRoute_done__3yF7t,
.StudentChapterMapRoute_pending__7o3Ii {
  display: inline-flex;
  width: 18px;
  justify-content: center;
  font-weight: 900;
  margin-right: 6px;
}

.StudentChapterMapRoute_done__3yF7t {
  color: var(--success);
}

.StudentChapterMapRoute_pending__7o3Ii {
  color: #f97316;
}

.StudentChapterMapRoute_detailActions__1blia {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.StudentChapterMapRoute_kindSelect__h_kdk,
.StudentChapterMapRoute_difficultySelect__LxYzE {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.StudentChapterMapRoute_kindSelect__h_kdk {
  max-width: 132px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.StudentChapterMapRoute_difficultySelect__LxYzE {
  min-width: 74px;
  max-width: 92px;
  background: #eef2ff;
  color: #3730a3;
  text-align: center;
}

.StudentChapterMapRoute_editorField__O38lE {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.StudentChapterMapRoute_editorField__O38lE input,
.StudentChapterMapRoute_editorField__O38lE textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
  padding: 9px 10px;
}

.StudentChapterMapRoute_editorField__O38lE textarea {
  min-height: 86px;
  resize: vertical;
}

.StudentChapterMapRoute_editorField__O38lE input:focus,
.StudentChapterMapRoute_editorField__O38lE textarea:focus,
.StudentChapterMapRoute_kindSelect__h_kdk:focus,
.StudentChapterMapRoute_difficultySelect__LxYzE:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(37, 99, 235, 0.14);
}

.StudentChapterMapRoute_dangerButton__KZtB3 {
  min-height: 40px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: var(--danger-soft);
  color: var(--danger-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.StudentChapterMapRoute_dangerButton__KZtB3:hover,
.StudentChapterMapRoute_dangerButton__KZtB3:focus-visible {
  border-color: #ef4444;
  background: #fee2e2;
}

.StudentChapterMapRoute_primaryButton__sHXeG,
.StudentChapterMapRoute_secondaryButton__iBYsg,
.StudentChapterMapRoute_disabledButton__OMDBI {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.StudentChapterMapRoute_primaryButton__sHXeG {
  background: var(--accent);
  color: #ffffff;
}

.StudentChapterMapRoute_primaryButton__sHXeG:hover {
  background: var(--accent-strong);
}

.StudentChapterMapRoute_secondaryButton__iBYsg {
  border: 1px solid var(--accent-border);
  background: var(--bg-card);
  color: var(--accent-strong);
}

.StudentChapterMapRoute_disabledButton__OMDBI {
  border: 1px solid var(--border-strong);
  background: var(--bg-inset);
  color: var(--text-muted);
  cursor: not-allowed;
}

.StudentChapterMapRoute_secondaryButton__iBYsg:disabled {
  border-color: var(--border-strong);
  background: var(--bg-inset);
  color: var(--text-muted);
  cursor: not-allowed;
}

@media (max-width: 1264px) {
  .StudentChapterMapRoute_layout__Po2UE {
    grid-template-columns: 1fr;
  }

  .StudentChapterMapRoute_sidebar__Owb9N,
  .StudentChapterMapRoute_detailPanel__qXGKQ {
    position: static;
  }

  .StudentChapterMapRoute_emptyCoursePanel__rDikY {
    grid-column: auto;
  }

  .StudentChapterMapRoute_chapterHero__vnbUJ {
    grid-template-columns: 1fr;
  }

  .StudentChapterMapRoute_editorTopbarControls__CIXGz {
    left: 174px;
  }
}

@media (max-width: 760px) {
  .StudentChapterMapRoute_editorTopbarControls__CIXGz {
    position: static;
    width: min(1232px, calc(100vw - 32px));
    margin: 10px auto 0;
  }

  .StudentChapterMapRoute_mapHeader__xd8F4,
  .StudentChapterMapRoute_mapHeaderActions___h6H1 {
    align-items: flex-start;
    flex-direction: column;
  }

  .StudentChapterMapRoute_chapterProgress__gqlCN {
    flex-wrap: wrap;
    justify-self: start;
  }

  .StudentChapterMapRoute_progressRing__KczCC {
    width: 88px;
  }

  .StudentChapterMapRoute_detailStats__7E_fw {
    grid-template-columns: 1fr;
  }
}

/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/features/stage-map/StageMapClient.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.StageMapClient_screen__V7Vl0 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #f3f8ff;
  color: #0b3979;
  font-family: var(--font-hans), "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  cursor: url("/assets/cursors/cursor-black-arrow.svg") 5 3, -webkit-grab;
  cursor: url("/assets/cursors/cursor-black-arrow.svg") 5 3, grab;
  touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.StageMapClient_screen__V7Vl0:active {
  cursor: url("/assets/cursors/cursor-black-arrow.svg") 5 3, -webkit-grabbing;
  cursor: url("/assets/cursors/cursor-black-arrow.svg") 5 3, grabbing;
}

.StageMapClient_screen__V7Vl0 a:not([aria-disabled="true"]),
.StageMapClient_screen__V7Vl0 button:not(:disabled) {
  cursor: url("/assets/cursors/cursor-black-arrow.svg") 5 3, pointer;
}

.StageMapClient_background__GtMVI {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/stage-map/blue-white/background.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.StageMapClient_topBar__loSF2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 0;
  background: transparent;
}

.StageMapClient_backButton__T0lZI {
  position: absolute;
  top: calc(49px * var(--stage-map-scale, 1));
  left: calc(39px * var(--stage-map-scale, 1));
  width: calc(110px * var(--stage-map-scale, 1));
  height: calc(109px * var(--stage-map-scale, 1));
  display: block;
  border: 0;
  background: url("/assets/stage-map/blue-white/back-button.png") center / contain no-repeat;
  padding: 0;
  pointer-events: auto;
}

.StageMapClient_backButton__T0lZI:hover {
  filter: brightness(1.04) saturate(1.04);
}

.StageMapClient_backButton__T0lZI:active {
  filter: brightness(0.95) saturate(0.98);
}

.StageMapClient_backButtonDisabled__dZYF_ {
  cursor: url("/assets/cursors/cursor-black-arrow.svg") 5 3, default;
  opacity: 0.68;
}

.StageMapClient_titleBlock__myLoS {
  position: absolute;
  top: calc(55px * var(--stage-map-scale, 1));
  left: calc(172px * var(--stage-map-scale, 1));
  width: calc(448px * var(--stage-map-scale, 1));
  height: calc(101px * var(--stage-map-scale, 1));
  pointer-events: none;
}

.StageMapClient_chapterTitleText__rfp9A {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(448px * var(--stage-map-scale, 1));
  height: calc(77px * var(--stage-map-scale, 1));
  display: flex;
  align-items: center;
  gap: calc(38px * var(--stage-map-scale, 1));
  margin: 0;
  color: #0b367e;
  font-size: calc(42px * var(--stage-map-scale, 1));
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.StageMapClient_chapterTitleText__rfp9A strong {
  font: inherit;
}

.StageMapClient_titleUnderline__ziwFa {
  position: absolute;
  top: calc(76px * var(--stage-map-scale, 1));
  left: calc(12px * var(--stage-map-scale, 1));
  width: calc(416px * var(--stage-map-scale, 1));
  height: calc(14px * var(--stage-map-scale, 1));
  background: url("/assets/stage-map/blue-white/title-underline.png") center / contain no-repeat;
}

.StageMapClient_compassButton__hAS61 {
  position: absolute;
  top: calc(50px * var(--stage-map-scale, 1));
  right: calc(36px * var(--stage-map-scale, 1));
  width: calc(128px * var(--stage-map-scale, 1));
  height: calc(128px * var(--stage-map-scale, 1));
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
}

.StageMapClient_compassButton__hAS61:hover {
  filter: brightness(1.05) saturate(1.06);
}

.StageMapClient_compassButton__hAS61:disabled {
  cursor: url("/assets/cursors/cursor-black-arrow.svg") 5 3, default;
}

.StageMapClient_compassButton__hAS61:disabled:hover {
  filter: none;
}

.StageMapClient_compassButtonActive__MaIqP {
  filter: drop-shadow(0 0 14px rgba(44, 145, 231, 0.72));
}

.StageMapClient_compassButtonActive__MaIqP::after {
  position: absolute;
  inset: calc(14px * var(--stage-map-scale, 1));
  border: 2px solid rgba(69, 170, 242, 0.68);
  border-radius: 50%;
  content: "";
}

.StageMapClient_cornerCompass__0g9YP {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.StageMapClient_discardEditButton__oLBGp {
  position: absolute;
  top: calc(68px * var(--stage-map-scale, 1));
  right: calc(162px * var(--stage-map-scale, 1));
  z-index: 6;
  width: calc(36px * var(--stage-map-scale, 1));
  height: calc(36px * var(--stage-map-scale, 1));
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 129, 205, 0.4);
  border-radius: calc(8px * var(--stage-map-scale, 1));
  background: rgba(255, 255, 255, 0.84);
  color: #0b3979;
  cursor: pointer;
  font-size: calc(24px * var(--stage-map-scale, 1));
  font-weight: 900;
  line-height: 1;
  padding: 0;
  pointer-events: auto;
}

.StageMapClient_discardEditButton__oLBGp:hover {
  background: rgba(238, 247, 255, 0.96);
  border-color: rgba(31, 120, 221, 0.72);
}

.StageMapClient_dragHint__QekUV {
  position: absolute;
  top: 140px;
  right: 50px;
  z-index: 4;
  display: none;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.StageMapClient_mapWorld__YWMJn {
  position: absolute;
  top: 150px;
  left: 0;
  z-index: 3;
  transform-origin: left top;
  will-change: transform;
}

.StageMapClient_visualEdgeLayer__2sCtl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.StageMapClient_visualEdgeLine__SskrM {
  fill: none;
  stroke: rgba(35, 119, 210, 0.72);
  stroke-linecap: round;
  stroke-width: 8px;
  filter: drop-shadow(0 4px 4px rgba(21, 83, 155, 0.22));
}

.StageMapClient_visualEdgeLineDashed__mWVA_ {
  stroke-dasharray: 28 18;
}

.StageMapClient_alignmentGuideLayer__H6U5i {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.StageMapClient_alignmentGuideLine__tCX2m {
  fill: none;
  stroke: rgba(74, 170, 242, 0.52);
  stroke-dasharray: 18 16;
  stroke-linecap: round;
  stroke-width: 4px;
}

.StageMapClient_nodeLink__3BTWB {
  color: inherit;
}

.StageMapClient_node__oG7Gl {
  position: absolute;
  z-index: 2;
  overflow: visible;
  transform-origin: center;
  transition: filter 140ms ease, transform 140ms ease;
}

.StageMapClient_nodeLink__3BTWB:hover .StageMapClient_node__oG7Gl {
  filter: brightness(1.08);
  transform: translateY(-4px);
}

.StageMapClient_nodeDraft__Qoh_a {
  filter: saturate(1.08) brightness(1.04);
}

.StageMapClient_nodeDragging__yRLqo {
  filter: saturate(1.12) brightness(1.08);
  transform: translateY(-2px) scale(1.02);
}

.StageMapClient_nodeEdgeSource__uhA8_ {
  filter: saturate(1.18) brightness(1.1);
}

.StageMapClient_nodeDraft__Qoh_a::after,
.StageMapClient_nodePlacing__zbNzz::after,
.StageMapClient_nodeDragging__yRLqo::after,
.StageMapClient_nodeEdgeSource__uhA8_::after {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(74, 170, 242, 0.74);
  border-radius: 22px;
  content: "";
  pointer-events: none;
}

.StageMapClient_nodePlacing__zbNzz {
  opacity: 0.62;
  pointer-events: none;
}

.StageMapClient_nodePlacing__zbNzz::after {
  border-style: dashed;
}

.StageMapClient_nodeEdgeSource__uhA8_::after {
  border-color: rgba(32, 126, 223, 0.92);
  box-shadow: 0 0 0 4px rgba(74, 170, 242, 0.16);
}

.StageMapClient_nodeBase__OwFUS {
  position: absolute;
  left: 14px;
  top: 3px;
  width: 232px;
  height: 115px;
  object-fit: fill;
  filter: drop-shadow(0 13px 15px rgba(0, 0, 0, 0.38));
}

.StageMapClient_nodeState__PtsbU {
  position: absolute;
  left: 11px;
  top: 4px;
  width: 56px;
  height: 63px;
  object-fit: contain;
}

.StageMapClient_nodeMark__hWHDb {
  position: absolute;
  left: -30px;
  top: -16px;
  width: 90px;
  height: 96px;
  object-fit: contain;
}

.StageMapClient_nodeText__DJuBY {
  position: absolute;
  left: 62px;
  top: 19px;
  width: 150px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #0d0e11;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.StageMapClient_state_lock__TbOez {
  opacity: 0.78;
}

.StageMapClient_state_lock__TbOez .StageMapClient_nodeBase__OwFUS,
.StageMapClient_state_lock__TbOez .StageMapClient_spikeBase__BRtnG {
  filter: grayscale(0.95) brightness(0.64) drop-shadow(0 13px 15px rgba(0, 0, 0, 0.38));
}

.StageMapClient_state_lock__TbOez .StageMapClient_nodeText__DJuBY {
  color: rgba(13, 14, 17, 0.72);
}

.StageMapClient_type_tr__fub68 .StageMapClient_nodeText__DJuBY {
  left: 70px;
  color: #ffffff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.46);
}

.StageMapClient_type_story___w6dn .StageMapClient_nodeText__DJuBY {
  left: 70px;
}

.StageMapClient_state_lock__TbOez.StageMapClient_type_tr__fub68 .StageMapClient_nodeText__DJuBY {
  color: rgba(13, 14, 17, 0.72);
  text-shadow: none;
}

.StageMapClient_spikeGlow__7ErWf,
.StageMapClient_spikeLower__0UlhA,
.StageMapClient_spikeBase__BRtnG,
.StageMapClient_spikeMark__2j2m9,
.StageMapClient_spikeState__mk0gG {
  position: absolute;
  object-fit: contain;
}

.StageMapClient_spikeGlow__7ErWf {
  left: 76px;
  top: 6px;
  width: 384px;
  height: 200px;
  opacity: 0.9;
}

.StageMapClient_spikeLower__0UlhA {
  left: 76px;
  top: 46px;
  width: 384px;
  height: 204px;
}

.StageMapClient_spikeBase__BRtnG {
  left: 76px;
  top: 22px;
  width: 384px;
  height: 200px;
}

.StageMapClient_spikeMark__2j2m9 {
  left: 0;
  top: -12px;
  width: 206px;
  height: 170px;
}

.StageMapClient_spikeState__mk0gG {
  left: 92px;
  top: 42px;
  width: 64px;
  height: 72px;
}

.StageMapClient_type_spike__Kps4h .StageMapClient_nodeText__DJuBY {
  left: 176px;
  top: 80px;
  width: 190px;
  height: 52px;
  color: white;
  font-size: 38px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.82);
}

.StageMapClient_progressPanel__uxcnz {
  position: absolute;
  left: calc(54px * var(--stage-map-scale, 1));
  bottom: calc(27px * var(--stage-map-scale, 1));
  z-index: 5;
  transform: scale(var(--stage-map-scale, 1));
  transform-origin: left bottom;
  width: 254px;
  height: 121px;
}

.StageMapClient_resetButton__ycRrg {
  width: 254px;
  height: 121px;
  border: 0;
  background: url("/assets/stage-map/blue-white/reset-chapter-button.png") center / contain no-repeat;
  cursor: pointer;
  padding: 0;
}

.StageMapClient_resetButton__ycRrg:hover {
  filter: brightness(1.04) saturate(1.04);
}

.StageMapClient_resetButton__ycRrg:active {
  filter: brightness(0.95) saturate(0.98);
}

.StageMapClient_editorDock__i1QVb {
  position: absolute;
  left: calc(336px * var(--stage-map-scale, 1));
  bottom: calc(62px * var(--stage-map-scale, 1));
  z-index: 7;
  display: flex;
  gap: 10px;
  transform: scale(var(--stage-map-scale, 1));
  transform-origin: left bottom;
  pointer-events: auto;
}

.StageMapClient_editorRoundButton__RdFid {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55, 132, 224, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1f78dd;
  cursor: pointer;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.StageMapClient_editorRoundButton__RdFid:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(31, 120, 221, 0.72);
}

.StageMapClient_editorRoundButton__RdFid:active {
  transform: translateY(1px);
}

.StageMapClient_editorRoundButtonActive__Mb2Eg {
  background: rgba(221, 239, 255, 0.94);
}

.StageMapClient_editorAddButton__PjX40 {
  background: #4aaaf2;
  border-color: rgba(28, 118, 214, 0.42);
  color: #fff;
}

.StageMapClient_editorAddButton__PjX40:hover {
  background: #2f98e5;
}

.StageMapClient_editorSolidLineIcon__bhnFa,
.StageMapClient_editorDashedLineIcon__bnYna {
  width: 30px;
  border-top: 4px solid currentColor;
}

.StageMapClient_editorDashedLineIcon__bnYna {
  border-top-style: dashed;
}

.StageMapClient_nodeComposer__4Se2s {
  position: absolute;
  left: calc(336px * var(--stage-map-scale, 1));
  bottom: calc(128px * var(--stage-map-scale, 1));
  z-index: 7;
  width: 326px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(64, 139, 225, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #0b3979;
  transform: scale(var(--stage-map-scale, 1));
  transform-origin: left bottom;
  pointer-events: auto;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.StageMapClient_nodeEditorBackdrop__51ATz {
  position: absolute;
  inset: 0;
  z-index: 11;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.StageMapClient_nodeEditor__YRk_2 {
  position: relative;
  left: auto;
  top: auto;
  bottom: auto;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(640px, calc(100vw - 72px));
  max-height: min(780px, calc(100vh - 72px));
  overflow: auto;
  padding: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  transform: none;
  transform-origin: center;
}

.StageMapClient_nodeEditor__YRk_2 .StageMapClient_nodeComposerTitle__gJ5mK,
.StageMapClient_nodeEditor__YRk_2 .StageMapClient_nodeComposerError__p810m,
.StageMapClient_nodeEditor__YRk_2 .StageMapClient_nodeComposerActions__wS_Mz,
.StageMapClient_nodeEditor__YRk_2 .StageMapClient_nodeComposerField__bM74l:nth-of-type(4) {
  grid-column: 1 / -1;
}

.StageMapClient_nodeComposerTitle__gJ5mK {
  margin: 0;
  color: #0b367e;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.StageMapClient_nodeComposerField__bM74l {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  color: rgba(11, 57, 121, 0.78);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.StageMapClient_nodeComposerField__bM74l input,
.StageMapClient_nodeComposerField__bM74l select,
.StageMapClient_nodeComposerField__bM74l textarea {
  width: 100%;
  border: 1px solid rgba(64, 139, 225, 0.32);
  border-radius: 6px;
  background: rgba(247, 251, 255, 0.94);
  color: #0b3979;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  padding: 0 10px;
}

.StageMapClient_nodeComposerField__bM74l input,
.StageMapClient_nodeComposerField__bM74l select {
  height: 34px;
}

.StageMapClient_nodeComposerField__bM74l select[multiple] {
  height: 86px;
  padding: 8px 10px;
}

.StageMapClient_nodeComposerField__bM74l textarea {
  min-height: 70px;
  padding: 9px 10px;
  resize: vertical;
}

.StageMapClient_nodeComposerField__bM74l input:focus,
.StageMapClient_nodeComposerField__bM74l select:focus,
.StageMapClient_nodeComposerField__bM74l textarea:focus {
  border-color: rgba(38, 120, 216, 0.74);
  background: #fff;
}

.StageMapClient_nodeComposerError__p810m,
.StageMapClient_editorDialogError__Jws0v {
  margin: 0;
  border: 1px solid rgba(206, 62, 75, 0.3);
  border-radius: 6px;
  background: rgba(255, 241, 243, 0.92);
  color: #9d2630;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  padding: 8px 10px;
}

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

.StageMapClient_nodeComposerPrimary__F1PDE,
.StageMapClient_nodeComposerSecondary__5c1aS {
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.StageMapClient_nodeComposerPrimary__F1PDE {
  border: 1px solid rgba(31, 120, 221, 0.54);
  background: #4aaaf2;
  color: #fff;
}

.StageMapClient_nodeComposerDanger__QNG_J {
  border-color: rgba(200, 61, 72, 0.48);
  background: #d84856;
}

.StageMapClient_nodeComposerSecondary__5c1aS {
  border: 1px solid rgba(64, 139, 225, 0.26);
  background: rgba(255, 255, 255, 0.76);
  color: rgba(11, 57, 121, 0.84);
}

.StageMapClient_nodeContextMenu__NFrPK {
  position: absolute;
  z-index: 10;
  width: 132px;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  border: 1px solid rgba(64, 139, 225, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(24, 79, 143, 0.2);
  padding: 6px;
  pointer-events: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.StageMapClient_nodeContextMenu__NFrPK button {
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #0b3979;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  padding: 0 10px;
}

.StageMapClient_nodeContextMenu__NFrPK button:hover,
.StageMapClient_nodeContextMenu__NFrPK button:focus {
  background: rgba(221, 239, 255, 0.92);
  outline: none;
}

.StageMapClient_nodeContextMenu__NFrPK .StageMapClient_nodeContextMenuDanger__45D5j {
  color: #b33241;
}

.StageMapClient_editorDialogBackdrop__u_ZD8 {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  background: rgba(8, 33, 70, 0.16);
  pointer-events: auto;
}

.StageMapClient_editorDialog__Gqw_f {
  width: min(360px, calc(100vw - 48px));
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  border: 1px solid rgba(64, 139, 225, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #0b3979;
  padding: 18px;
  box-shadow: 0 18px 48px rgba(24, 79, 143, 0.22);
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}

.StageMapClient_editorDialogTitle___8Wog {
  margin: 0;
  color: #0b367e;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.StageMapClient_editorDialogText__znpt4 {
  margin: 0;
  color: rgba(11, 57, 121, 0.82);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6;
}

.StageMapClient_deleteImpactList__9u2cj {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
}

.StageMapClient_deleteImpactList__9u2cj div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  border: 1px solid rgba(64, 139, 225, 0.18);
  border-radius: 6px;
  background: rgba(247, 251, 255, 0.82);
  padding: 0 10px;
}

.StageMapClient_deleteImpactList__9u2cj dt,
.StageMapClient_deleteImpactList__9u2cj dd {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.StageMapClient_deleteImpactList__9u2cj dt {
  color: rgba(11, 57, 121, 0.68);
}

.StageMapClient_deleteImpactList__9u2cj dd {
  color: #0b3979;
}

.StageMapClient_deleteImpactDependents__5FztZ {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  border: 1px solid rgba(64, 139, 225, 0.18);
  border-radius: 6px;
  background: rgba(247, 251, 255, 0.82);
  padding: 8px 10px;
}

.StageMapClient_deleteImpactDependents__5FztZ strong,
.StageMapClient_deleteImpactDependents__5FztZ p {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.StageMapClient_deleteImpactDependents__5FztZ strong {
  color: rgba(11, 57, 121, 0.68);
}

.StageMapClient_deleteImpactDependents__5FztZ p {
  color: #0b3979;
}

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

.StageMapClient_srOnly__Uenim {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .StageMapClient_topBar__loSF2 {
    height: 0;
    padding: 0;
  }

  .StageMapClient_dragHint__QekUV {
    display: none;
  }

  .StageMapClient_progressPanel__uxcnz {
    left: 54px;
    bottom: 27px;
  }

  .StageMapClient_editorDock__i1QVb {
    left: 326px;
    bottom: 62px;
  }

  .StageMapClient_nodeComposer__4Se2s {
    left: 18px;
    bottom: 146px;
    width: min(326px, calc(100vw - 36px));
  }

  .StageMapClient_nodeEditorBackdrop__51ATz {
    padding: 18px;
  }

  .StageMapClient_nodeEditor__YRk_2 {
    left: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: min(640px, calc(100vw - 36px));
  }
}

