/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/human-anatomy/human-anatomy.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************/
/* Human Atlas —— 生物之美全身解剖图谱样式（自包含，覆盖全屏） */

.ha-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  background: #f2f3f3;
  color: #1f2933;
  font-family: var(--font-sans, ui-sans-serif, system-ui, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* 场景容器（three 画布挂载点） */
.ha-root .scene { position: absolute; inset: 0; }
.ha-root .scene canvas { display: block; outline: none; touch-action: none; }

.ha-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(15, 30, 45, 0.10) 100%);
}

/* 悬停提示（场景内 JS 创建） */
.ha-root .part-hover {
  position: absolute; z-index: 20; pointer-events: none; max-width: 250px;
  padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.3;
  color: #fff; background: rgba(31, 41, 55, 0.92); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.ha-root .part-hover[hidden] { display: none; }

/* 玻璃面板基元 */
.ha-layers, .ha-search, .ha-view-controls, .ha-dock, .ha-sheet, .ha-about, .ha-loading, .ha-top-actions {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(31, 41, 55, 0.10);
  box-shadow: 0 10px 30px rgba(20, 40, 60, 0.12);
}

/* 顶部标题 */
.ha-identity { position: absolute; top: 22px; left: 24px; z-index: 5; pointer-events: none; }
.ha-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #6b7785; font-weight: 700; }
.ha-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.18); animation: ha-pulse 2.4s infinite; }
@keyframes ha-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.ha-identity h1 { margin: 4px 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
.ha-identity h1 em { font-style: normal; font-size: 13px; font-weight: 700; vertical-align: super; color: #fff; background: linear-gradient(135deg, #2563eb, #0891b2); border-radius: 6px; padding: 2px 6px; margin-left: 6px; }
.ha-identity-meta { font-size: 12px; color: #6b7785; }
.ha-identity-meta span { margin: 0 4px; opacity: 0.5; }

/* 右上动作 */
.ha-top-actions { position: absolute; top: 22px; right: 20px; z-index: 12; display: flex; gap: 8px; padding: 6px; border-radius: 14px; }
.ha-pill { display: inline-flex; align-items: center; gap: 8px; border: none; background: transparent; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #33404d; cursor: pointer; transition: background 0.15s; }
.ha-pill:hover { background: rgba(37, 99, 235, 0.10); }
.ha-pill.active { background: rgba(37, 99, 235, 0.16); color: #1d4ed8; }
.ha-pill kbd { font: inherit; font-size: 10px; padding: 1px 5px; border-radius: 5px; background: rgba(31, 41, 55, 0.08); color: #6b7785; }
.ha-icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: none; border-radius: 10px; background: transparent; color: #33404d; cursor: pointer; transition: background 0.15s; }
.ha-icon-btn:hover { background: rgba(31, 41, 55, 0.08); }
.ha-icon-btn.sm { width: 28px; height: 28px; }

/* 系统图层 */
.ha-layers { position: absolute; top: 96px; left: 24px; z-index: 10; width: 288px; max-height: calc(100vh - 250px); display: flex; flex-direction: column; border-radius: 16px; padding: 12px; }
.ha-panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #6b7785; text-transform: uppercase; padding: 2px 4px 8px; }
.ha-presets { display: flex; gap: 6px; margin-bottom: 8px; }
.ha-presets button { flex: 1; border: 1px solid rgba(31, 41, 55, 0.12); background: rgba(255, 255, 255, 0.6); border-radius: 9px; padding: 7px 4px; font-size: 12px; font-weight: 600; color: #33404d; cursor: pointer; transition: all 0.15s; }
.ha-presets button:hover { border-color: #2563eb; color: #1d4ed8; background: rgba(37, 99, 235, 0.08); }
.ha-presets button:active { transform: scale(0.97); }
.ha-system-list { overflow-y: auto; display: flex; flex-direction: column; gap: 1px; padding-right: 2px; }
.ha-system-list::-webkit-scrollbar, .ha-results::-webkit-scrollbar { width: 8px; }
.ha-system-list::-webkit-scrollbar-thumb, .ha-results::-webkit-scrollbar-thumb { background: rgba(31, 41, 55, 0.18); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
.ha-system-list::-webkit-scrollbar-thumb:hover, .ha-results::-webkit-scrollbar-thumb:hover { background: rgba(31, 41, 55, 0.32); background-clip: padding-box; }
.ha-system-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 9px; padding: 1px 4px 1px 2px; }
.ha-system-row.enabled { background: rgba(37, 99, 235, 0.06); }
.ha-system-name { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; border: none; background: transparent; text-align: left; padding: 6px; border-radius: 8px; cursor: pointer; color: #1f2933; }
.ha-system-name:hover { background: rgba(31, 41, 55, 0.06); }
.ha-system-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px rgba(0, 0, 0, 0.12); }
.ha-system-label { font-size: 13px; font-weight: 600; flex-shrink: 0; }
.ha-system-en { font-size: 10px; color: #9aa5b1; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ha-system-count { font-size: 10px; color: #6b7785; font-variant-numeric: tabular-nums; background: rgba(31, 41, 55, 0.06); border-radius: 999px; padding: 1px 7px; flex-shrink: 0; }
.ha-switch { width: 34px; height: 20px; border-radius: 999px; background: rgba(31, 41, 55, 0.20); border: none; padding: 2px; cursor: pointer; position: relative; flex-shrink: 0; transition: background 0.18s; }
.ha-switch .ha-knob { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.18s; }
.ha-switch.on { background: #2563eb; }
.ha-switch.on .ha-knob { transform: translateX(14px); }
.ha-panel-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #6b7785; padding: 8px 4px 2px; }
.ha-link-btn { border: none; background: transparent; color: #2563eb; font-size: 12px; font-weight: 600; cursor: pointer; padding: 2px 4px; }
.ha-link-btn:hover { text-decoration: underline; }

/* 搜索 */
.ha-search { position: absolute; top: 96px; right: 20px; z-index: 12; width: 320px; max-height: 62vh; display: flex; flex-direction: column; border-radius: 16px; padding: 12px; }
.ha-search-input { width: 100%; border: 1px solid rgba(31, 41, 55, 0.16); border-radius: 10px; padding: 10px 12px; font-size: 14px; background: #fff; color: #1f2933; outline: none; }
.ha-search-input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.ha-results { overflow-y: auto; margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.ha-result { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: none; background: transparent; text-align: left; padding: 8px 10px; border-radius: 9px; cursor: pointer; color: #1f2933; }
.ha-result:hover { background: rgba(37, 99, 235, 0.10); }
.ha-result-name { font-size: 13px; font-weight: 600; }
.ha-result-count { font-size: 11px; color: #9aa5b1; }
.ha-note { font-size: 11px; color: #9aa5b1; padding: 8px 4px 2px; margin: 0; }

/* 视图控制 */
.ha-view-controls { position: absolute; top: 50%; right: 20px; transform: translateY(-50%); z-index: 9; display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 14px; }
.ha-view-controls button { width: 38px; height: 38px; border: none; border-radius: 10px; background: transparent; color: #33404d; font-size: 14px; font-weight: 700; cursor: pointer; display: grid; place-items: center; transition: all 0.15s; }
.ha-view-controls button:hover:not(:disabled) { background: rgba(31, 41, 55, 0.08); }
.ha-view-controls button.active { background: #2563eb; color: #fff; }
.ha-view-controls button:disabled { opacity: 0.35; cursor: not-allowed; }
.ha-sep { height: 1px; margin: 4px 6px; background: rgba(31, 41, 55, 0.12); }

/* 场景说明 */
.ha-caption { position: absolute; bottom: 118px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.14em; color: #6b7785; text-transform: uppercase; white-space: nowrap; }
.ha-caption-line { width: 40px; height: 1px; background: rgba(31, 41, 55, 0.20); }

/* 底部 dock */
.ha-dock { position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%); z-index: 11; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; width: min(560px, calc(100vw - 40px)); }
.ha-dock-layers { display: none; align-items: center; gap: 6px; border: none; background: rgba(37, 99, 235, 0.10); color: #1d4ed8; border-radius: 10px; padding: 8px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.ha-explode { flex: 1; min-width: 0; }
.ha-explode-label { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; color: #6b7785; margin-bottom: 4px; }
.ha-explode-label output { font-weight: 700; color: #1f2933; font-size: 13px; }
.ha-explode input[type='range'] { width: 100%; height: 6px; border-radius: 999px; background: rgba(31, 41, 55, 0.14); outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; }
.ha-explode input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); cursor: pointer; }
.ha-explode input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; cursor: pointer; }
.ha-slider-ends { display: flex; justify-content: space-between; font-size: 10px; color: #9aa5b1; margin-top: 3px; }
.ha-dock-reset { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(31, 41, 55, 0.14); background: rgba(255, 255, 255, 0.7); border-radius: 10px; padding: 8px 12px; font-size: 12px; font-weight: 600; color: #33404d; cursor: pointer; }
.ha-dock-reset:hover { border-color: #2563eb; color: #1d4ed8; }

/* 页脚 */
.ha-footer { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 14px; font-size: 11px; color: #6b7785; white-space: nowrap; }

/* 加载/错误 */
.ha-loading { position: absolute; inset: 0; margin: auto; z-index: 30; width: 320px; height: -moz-fit-content; height: fit-content; padding: 20px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.ha-loading strong { font-size: 14px; display: block; }
.ha-loading span { font-size: 12px; color: #6b7785; }
.ha-loading-track { width: 100%; height: 5px; border-radius: 999px; background: rgba(31, 41, 55, 0.10); margin-top: 8px; overflow: hidden; }
.ha-loading-track i { display: block; height: 100%; background: linear-gradient(90deg, #2563eb, #0891b2); transition: width 0.3s; }
.ha-loading.error .ha-loading-track { display: none; }
.ha-loading.error p { color: #b42318; font-size: 13px; margin-bottom: 4px; }

/* 检视面板 */
.ha-sheet { position: absolute; top: 22px; right: 20px; bottom: 130px; z-index: 14; width: 322px; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; }
.ha-sheet-head { position: relative; padding-left: 14px; margin-bottom: 10px; }
.ha-detail-accent { position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 3px; }
.ha-structure-title { font-size: 17px; font-weight: 700; margin: 4px 0 0; line-height: 1.25; outline: none; }
.ha-sheet-close { position: absolute; top: 0; right: 0; }
.ha-sheet-body { overflow-y: auto; flex: 1; }
.ha-structure-desc { font-size: 13px; line-height: 1.7; color: #33404d; margin: 4px 0 6px; }
.ha-context-note { display: inline-block; font-size: 11px; color: #9aa5b1; margin-bottom: 10px; }
.ha-structure-meta { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #6b7785; padding: 10px; border-radius: 10px; background: rgba(31, 41, 55, 0.04); }
.ha-structure-meta span { display: flex; justify-content: space-between; }
.ha-structure-meta strong { color: #1f2933; font-weight: 600; }
.ha-member-list { margin-top: 12px; }
.ha-member-list h3 { font-size: 12px; color: #6b7785; margin: 0 0 6px; }
.ha-member-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: none; background: transparent; text-align: left; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: #1f2933; cursor: pointer; }
.ha-member-list button:hover { background: rgba(37, 99, 235, 0.08); color: #1d4ed8; }
.ha-source-link { display: inline-block; margin-top: 12px; font-size: 12px; color: #2563eb; text-decoration: none; }
.ha-source-link:hover { text-decoration: underline; }
.ha-sheet-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ha-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 10px; padding: 11px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2563eb, #0891b2); cursor: pointer; }
.ha-primary.active { background: linear-gradient(135deg, #7c3aed, #db2777); }
.ha-secondary { border: 1px solid rgba(31, 41, 55, 0.14); background: rgba(255, 255, 255, 0.7); border-radius: 10px; padding: 9px; font-size: 13px; font-weight: 600; color: #33404d; cursor: pointer; }
.ha-secondary:hover { border-color: #2563eb; color: #1d4ed8; }

/* 关于 */
.ha-about { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 40; width: min(440px, calc(100vw - 40px)); max-height: 80vh; overflow-y: auto; border-radius: 18px; padding: 22px; }
.ha-about .ha-sheet-head { margin-bottom: 4px; }
.ha-about-copy { font-size: 13px; line-height: 1.7; color: #33404d; }
.ha-about-copy h3 { font-size: 13px; margin: 14px 0 4px; color: #1f2933; }
.ha-about-copy p { margin: 0 0 10px; }
.ha-about-copy a { color: #2563eb; text-decoration: none; }
.ha-about-copy a:hover { text-decoration: underline; }

/* 响应式 */
@media (max-width: 900px) {
  .ha-layers { top: 92px; left: 14px; width: 226px; }
  .ha-search { width: 280px; right: 14px; }
  .ha-view-controls { right: 12px; }
  .ha-sheet { width: 290px; top: 84px; right: 12px; bottom: 150px; }
  .ha-identity { left: 14px; top: 14px; }
  .ha-identity h1 { font-size: 21px; }
}
@media (max-width: 767px) {
  .ha-layers { transform: translateX(-120%); transition: transform 0.25s; top: 84px; left: 12px; right: 12px; width: auto; max-height: 60vh; }
  .ha-layers.open { transform: none; }
  .ha-dock-layers { display: inline-flex; }
  .ha-search { top: 84px; right: 12px; left: 12px; width: auto; }
  .ha-view-controls { top: auto; bottom: 150px; right: 12px; transform: none; }
  .ha-sheet { left: 12px; right: 12px; width: auto; top: auto; bottom: 130px; max-height: 52vh; }
  .ha-caption { bottom: 150px; font-size: 10px; }
}

