/*!
 * 提示对话框样式（对应原版 Ionic AlertController 的视觉）。
 * 复用全局变量保持与卡片 / 按钮一致的风格。
 */

.backdrop-f0aa366 {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overscroll-behavior: contain;
  background: rgba(15, 20, 32, 0.45);
  animation: fade 0.18s ease both;
}

.dialog-f0aa366 {
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
  animation: pop 0.22s ease both;
}

.header-f0aa366 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-0);
}

.message-f0aa366 {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-1);
  white-space: pre-wrap;
  word-break: break-word;
}

.btn-f0aa366 {
  min-width: 96px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.24);
  transition: transform 0.12s ease;
}

.btn-f0aa366:hover {
  transform: translateY(-1px);
}

.btn-f0aa366:active {
  transform: translateY(1px);
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/*! 应用外壳：响应式布局与顶部应用栏。 */

/* 应用栏总高（含上下内边距与边框，border-box）：
   内容高 44px（用户入口的最小点击高度）+ 底部内边距 14px + 边框 1px。
   顶栏与工作台（100dvh 减法）共用，改动栏内尺寸时需同步。 */
:root {
  --app-bar-height: calc(max(14px, env(safe-area-inset-top)) + 59px);
}

.app-shell-baaf3e8 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.app-bar-baaf3e8 {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--app-bar-height);
  padding: 14px 18px;
  padding-top: max(14px, env(safe-area-inset-top));
  /* 去掉 backdrop-filter: blur（缩放时极耗性能），改用实色半透明 */
  background: rgba(245, 246, 248, 0.9);
  border-bottom: 1px solid var(--line);
}

.app-bar-baaf3e8 .logo-baaf3e8 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--indigo) 70%);
  flex: 0 0 auto;
}

.app-bar-baaf3e8 h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  color: var(--text-0);
}

.title-home-baaf3e8 {
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s ease;
}

.title-home-baaf3e8:hover {
  opacity: 0.7;
}

.spacer-baaf3e8 {
  flex: 1;
}

/* 顶栏右侧用户入口：图标 + 用户名/「登录」 */
.user-entry-baaf3e8 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 12px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--indigo);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.user-entry-baaf3e8 svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.user-entry-baaf3e8:hover {
  background: rgba(79, 91, 213, 0.08);
  border-color: rgba(79, 91, 213, 0.25);
}

.user-entry-baaf3e8:active {
  background: rgba(79, 91, 213, 0.14);
}

.app-main-baaf3e8 {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  /* 底部留出全面屏 home-indicator 的安全区，避免压住最后的内容 */
  padding: 18px 16px calc(28px + env(safe-area-inset-bottom));
}

@media (min-width: 760px) {
  .app-main-baaf3e8 {
    padding: 28px 24px calc(36px + env(safe-area-inset-bottom));
  }
}

/* 工作台等全幅页面：不限宽、无内边距，页面自管布局。
   显式定高（视口减应用栏）：父级 app-shell 只有 min-height，flex-basis 0%
   对不定高容器会按内容解析，flex:1 链条无法把高度收敛到视口 */
.app-main-wide-baaf3e8 {
  flex: 0 0 auto;
  width: 100%;
  height: calc(100dvh - var(--app-bar-height));
  display: flex;
  flex-direction: column;
  min-height: 0;
}


/*!
 * 档案选择器样式：入口按钮 + 模态选择框。
 * 复用全局变量保持与卡片 / 按钮一致的风格。
 */

/* 入口按钮（标题行右端的紧凑次级操作） */
.entry-btn-e6b94f3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--indigo);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.entry-btn-e6b94f3:hover {
  border-color: var(--indigo);
  background: rgba(79, 91, 213, 0.06);
}

.entry-btn-e6b94f3:active {
  transform: translateY(1px);
}

.entry-btn-e6b94f3 svg {
  width: 16px;
  height: 16px;
}

/* 遮罩 + 卡片 */
.backdrop-e6b94f3 {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  /* 防止在遮罩上滑动时把背景页一起拖动（iOS 触摸链穿透） */
  overscroll-behavior: contain;
  background: rgba(15, 20, 32, 0.45);
  animation: fade 0.18s ease both;
}

.modal-e6b94f3 {
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  /* dvh 而非 vh：iOS 地址栏伸缩时 70vh 可能高于可视区，底栏被工具栏遮住 */
  max-height: min(calc(100dvh - 32px), 560px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: pop 0.22s ease both;
}

.modal-header-e6b94f3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
}

.modal-title-e6b94f3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-0);
}

.close-btn-e6b94f3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -8px -8px -8px 0;
  color: var(--text-1);
  background: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.close-btn-e6b94f3 svg {
  width: 18px;
  height: 18px;
}

.close-btn-e6b94f3:hover {
  color: var(--text-0);
  background: rgba(20, 30, 50, 0.07);
}

/* 搜索栏 */
.search-wrap-e6b94f3 {
  padding: 0 18px 12px;
}

/* 图标以「只包输入框」的容器为参考，垂直居中才免受底部间距影响 */
.search-field-e6b94f3 {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-e6b94f3 {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-1);
  pointer-events: none;
}

/* 底座样式 input[type="text"] 也会设 padding，需抬升优先级才能覆盖 */
input[type="text"].search-input-e6b94f3 {
  padding-left: 38px;
}

/* 接口错误提示 */
.error-e6b94f3 {
  margin: 0 18px 10px;
  color: var(--red);
  background: rgba(214, 59, 59, 0.08);
  border: 1px solid rgba(214, 59, 59, 0.28);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  word-break: break-word;
}

/* 记录列表 */
.list-e6b94f3 {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  padding: 6px;
  transition: opacity 0.15s ease;
}

/* 搜索替换在途：旧列表半透明（点选已由 select 守卫拦下） */
.list-loading-e6b94f3 {
  opacity: 0.55;
}

.item-e6b94f3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.item-e6b94f3:hover {
  background: rgba(79, 91, 213, 0.07);
}

.item-main-e6b94f3 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* 卜卦盘 H 徽标 */
.badge-h-e6b94f3 {
  flex: none;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e8a33d, #c47f12);
  border-radius: 999px;
}

.name-e6b94f3 {
  font-size: 15px;
  color: var(--text-0);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 时间精准的记录姓名高亮 */
.name-precise-e6b94f3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--indigo);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-date-e6b94f3 {
  flex: none;
  font-size: 13px;
  color: var(--text-1);
}

/* 底部：加载中 / 空态 / 加载更多 */
.footer-e6b94f3 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px 14px;
}

.empty-e6b94f3 {
  color: var(--text-1);
  font-size: 14px;
}

.more-btn-e6b94f3 {
  padding: 9px 24px;
  font-size: 14px;
  font-family: inherit;
  color: var(--indigo);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.more-btn-e6b94f3:hover {
  border-color: var(--indigo);
  background: rgba(79, 91, 213, 0.06);
}

.more-btn-e6b94f3:active {
  transform: translateY(1px);
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/*! 相位网格 SVG。 */

/* 关键：限制 SVG 的重绘区域，缩放时只重绘图表本身，不波及其它节点 */
.aspect-svg-aaba186 {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
  contain: layout paint;
}

/* 强制占星符号按文字字形渲染，避免被当成彩色 emoji（红底/放大） */
.aspect-svg-aaba186 text {
  font-variant-emoji: text;
}

@media (min-width: 760px) {
  .aspect-svg-aaba186 {
    max-width: 620px;
  }
}


/*!
 * 共享样式模块：卡片容器。
 * 被 input / chart / detail 等多个组件 import，属于「显式共享」，
 * 其余样式都在各自组件的 module.css 里独立作用域化。
 */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-76f2e5c {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  animation: rise 0.4s ease both;
}

.card-76f2e5c h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-0);
}


/*! 结果页：摘要、标签页切换。 */

.summary-61d7d6e {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--text-1);
  margin-bottom: 14px;
}

.summary-61d7d6e b {
  color: var(--text-0);
  font-weight: 600;
}

/* 小巧的分段式标签：轨道随内容收缩，激活段渐变胶囊（配色与主按钮一致） */
.tabs-61d7d6e {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.tabs-61d7d6e button {
  padding: 6px 18px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-1);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tabs-61d7d6e button:hover:not(.active-61d7d6e) {
  color: var(--text-0);
  background: rgba(20, 30, 50, 0.04);
}

/* 选中态：由 Rust 侧按条件拼接本类名（leptos 的 class:active 只能写死字面量） */
.tabs-61d7d6e button.active-61d7d6e {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 2px 8px rgba(79, 91, 213, 0.35);
}

/* 标签页内容区：圆角浅描边容器 */
.tab_content-61d7d6e {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}


/*! 星盘时间编辑条：日期标签 + 步进器；选择面板为原版 ion-picker 风格的六列滚轮底部弹层。 */

.editor-5baccee {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

/* ---- 触发行：日期标签 + 现在 ---- */

.label_row-5baccee {
  display: flex;
  gap: 6px;
}

.date_label-5baccee {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  text-align: center;
  color: var(--text-0);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.date_label-5baccee:hover {
  border-color: var(--indigo);
}

.now_btn-5baccee {
  padding: 10px 12px;
  font-family: inherit;
  color: var(--indigo);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}

.now_btn-5baccee svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* ---- 步进器 ---- */

.stepper-5baccee {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

/* 档位切换按钮：显示「1年」等，点击在年→月→日→时→分→秒→年间循环（对齐原版） */
.unit_cycle-5baccee {
  flex: 1;
  padding: 8px 0;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.unit_cycle-5baccee:hover {
  color: var(--text-0);
  border-color: var(--indigo);
}

.arrow-5baccee {
  padding: 8px 16px;
  font-size: 15px;
  line-height: 1;
  font-family: inherit;
  color: var(--text-0);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.arrow-5baccee:hover {
  background: var(--bg);
}

/* ---- 选择面板：遮罩 + 底部弹层 ---- */

.backdrop-5baccee {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 18, 30, 0.45);
}

.sheet-5baccee {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 30px rgba(20, 30, 50, 0.2);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  animation: sheet-up 0.18s ease;
}

@keyframes sheet-up {
  from {
    transform: translateY(40%);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sheet_head-5baccee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.sheet_title-5baccee {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}

.head_btn-5baccee {
  padding: 8px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.confirm_btn-5baccee {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}

/* ---- 六列滚轮 ---- */

.picker-5baccee {
  display: flex;
  padding: 0 6px;
}

.col-5baccee {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 180px; /* 5 行 × ITEM_H(36px) */
}

.col-5baccee::after {
  /* 中心选中带（对准居中行） */
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 36px;
  transform: translateY(-50%);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 8px;
  pointer-events: none;
}

.col_scroll-5baccee {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  /* 上下各留 (5-1)/2 行的空档，首尾项才能滚到中心 */
  padding: 72px 0;
  scrollbar-width: none;
}

.col_scroll-5baccee::-webkit-scrollbar {
  display: none;
}

.opt-5baccee {
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 15px;
  color: var(--text-1);
  scroll-snap-align: center;
  cursor: pointer;
}

.opt_active-5baccee {
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-0);
  scroll-snap-align: center;
  cursor: pointer;
}

/* 上下渐隐 + 底部列标签 */
.col_mask-5baccee {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--surface) 0%,
    rgba(255, 255, 255, 0) 26%,
    rgba(255, 255, 255, 0) 74%,
    var(--surface) 100%
  );
}

.col_label-5baccee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  font-size: 11px;
  text-align: center;
  color: var(--text-1);
  pointer-events: none;
}

/* ---- 悬停提示：data-tip 纯 CSS 气泡（原生 title 延迟久且样式不可控）---- */

.label_row-5baccee [data-tip],
.stepper-5baccee [data-tip] {
  position: relative;
}

.label_row-5baccee [data-tip]::after,
.stepper-5baccee [data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
  color: #fff;
  background: var(--text-0);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(20, 30, 50, 0.22);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 100;
}

/* 气泡统一显示在按钮上方 */
.label_row-5baccee [data-tip]::after,
.stepper-5baccee [data-tip]::after {
  bottom: calc(100% + 8px);
}

/* 悬停稍作停留再出现，快速划过不闪；移开立即消失 */
.label_row-5baccee [data-tip]:hover::after,
.label_row-5baccee [data-tip]:focus-visible::after,
.stepper-5baccee [data-tip]:hover::after,
.stepper-5baccee [data-tip]:focus-visible::after {
  opacity: 1;
  transition-delay: 0.2s;
}


/*! 星盘 SVG。 */

/* 关键：限制 SVG 的重绘区域，缩放时只重绘图表本身，不波及其它节点 */
.wheel-e1937c2 {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
  contain: layout paint;
}

/* 强制占星符号按文字字形渲染，避免被当成彩色 emoji（红底/放大） */
.wheel-e1937c2 text {
  font-variant-emoji: text;
}

@media (min-width: 760px) {
  .wheel-e1937c2 {
    max-width: 620px;
  }
}


/*!
 * 清除缓存页专属样式：说明文字与完成提示。
 */

.desc-57e029a {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-1);
}

.done-57e029a {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--gold);
}


/*! 日期 / 时间 / 时区 / 夏令时输入。 */

/* 时区输入框不需要占满整行 */
.tz-input-41b8f04 {
  max-width: 120px;
}

/* 「现在」按钮：一键填充当前日期时间（对应原版 nowDate 的时钟图标） */
.now-btn-41b8f04 {
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.now-btn-41b8f04:hover {
  border-color: var(--gold);
  background: rgba(184, 134, 11, 0.08);
}

.now-btn-41b8f04:active {
  background: rgba(184, 134, 11, 0.15);
}


/*! 详情页样式：行星力量 / 接纳 / 互融 / 气质 / 映点 / 反映点 / 视力点 / 恒星。 */

.detail-grid-5f0029f {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.section-title-5f0029f {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-5f0029f::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--indigo));
}

/* 强制占星符号按文字字形渲染，避免被当成彩色 emoji（红底/放大） */
.glyph-5f0029f {
  font-variant-emoji: text;
}

/* ---------- 通用列表（接纳 / 互融 / 映点 / 反映点） ---------- */

.plain-list-5f0029f {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.empty-note-5f0029f {
  color: var(--text-1);
  font-size: 13px;
  margin: 4px 0;
}

/* ---------- 行星力量 ---------- */

.almuten-summary-5f0029f {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-0);
}

.power-list-5f0029f {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.power-list-5f0029f > li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.power-list-5f0029f > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.score-section-5f0029f {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 6px;
}

.section-label-5f0029f {
  color: var(--text-1);
  font-size: 12.5px;
  margin-right: 2px;
  white-space: nowrap;
}

.dignity-tag-5f0029f,
.accidental-tag-5f0029f,
.solar-tag-5f0029f {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.dignity-tag-5f0029f {
  color: var(--gold);
  background: rgba(184, 134, 11, 0.1);
  border: 1px solid rgba(184, 134, 11, 0.35);
}

.accidental-tag-5f0029f {
  color: var(--indigo);
  background: rgba(79, 91, 213, 0.08);
  border: 1px solid rgba(79, 91, 213, 0.3);
}

.solar-tag-5f0029f {
  color: #b45309;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.35);
}

/* 负分标签统一红系 */
.detriment-tag-5f0029f {
  color: var(--red);
  background: rgba(214, 59, 59, 0.08);
  border: 1px solid rgba(214, 59, 59, 0.3);
}

/* ---------- 接纳 / 互融 ---------- */

.orb-5f0029f {
  color: var(--text-1);
  font-size: 13px;
  margin: 0 6px 0 2px;
}

.mutual-arrow-5f0029f {
  color: var(--text-1);
  margin: 0 6px;
}

/* ---------- 气质 ---------- */

.temperament-error-5f0029f {
  color: var(--red);
  font-size: 13px;
  margin: 0 0 8px;
}

/* 7 列表格窄屏放不下：容器横向滚动（手机上比挤压换行可读得多） */
.temperament-scroll-5f0029f {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.temperament-table-5f0029f {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.temperament-table-5f0029f th,
.temperament-table-5f0029f td {
  padding: 6px 6px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.temperament-table-5f0029f th {
  color: var(--text-1);
  font-weight: 500;
  font-size: 12.5px;
}

.name-cell-5f0029f {
  font-size: 17px;
  width: 34px;
}

.sources-cell-5f0029f {
  text-align: left;
  color: var(--text-1);
}

.quality-cell-5f0029f label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  margin: -6px;
  cursor: pointer;
}

.quality-cell-5f0029f input {
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.action-cell-5f0029f {
  width: 44px;
}

.remove-btn-5f0029f {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  color: var(--red);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
}

.remove-btn-5f0029f:active {
  background: rgba(214, 59, 59, 0.12);
}

.add-row-5f0029f {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.add-select-5f0029f {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-0);
  /* select 聚焦时 iOS 对 <16px 的控件会自动放大页面，与全局底座保持一致 */
  font-size: 16px;
}

.add-btn-5f0029f,
.reset-btn-5f0029f {
  padding: 9px 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: none;
  color: var(--gold);
  font-size: 14px;
  cursor: pointer;
}

.add-btn-5f0029f:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.add-btn-5f0029f:not(:disabled):hover,
.reset-btn-5f0029f:hover {
  background: rgba(184, 134, 11, 0.08);
}

.reset-btn-5f0029f {
  margin-top: 4px;
}

.humor-summary-5f0029f {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 14px;
}

.humor-row-5f0029f {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.humor-label-5f0029f {
  font-weight: 600;
  color: var(--text-0);
  white-space: nowrap;
}

.humor-bar-track-5f0029f {
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.humor-bar-fill-5f0029f {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.humor-score-5f0029f {
  color: var(--text-1);
  white-space: nowrap;
}

.humor-desc-5f0029f {
  grid-column: 1 / -1;
  color: var(--text-1);
  font-size: 12px;
  margin-top: -6px;
}

/* 四体液配色 */
.humor-sanguine-5f0029f {
  background: linear-gradient(90deg, #e0603c, #f0a060);
}

.humor-phlegmatic-5f0029f {
  background: linear-gradient(90deg, #3c78c8, #6fb0e8);
}

.humor-choleric-5f0029f {
  background: linear-gradient(90deg, #c8442c, #e8804c);
}

.humor-melancholic-5f0029f {
  background: linear-gradient(90deg, #5a6b52, #8aa078);
}

/* ---------- 视力点 ---------- */

.vision-line-5f0029f {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
}

.vision-position-5f0029f {
  font-variant-emoji: text;
}

.vision-error-5f0029f {
  color: #ff6b6b;
}

.formula-5f0029f {
  display: block;
  color: var(--text-1);
  font-size: 12px;
}

/* ---------- 恒星 ---------- */

/* 单卡承载全部恒星：宽屏下独占整行，内部两列 */
.star-section-5f0029f {
  grid-column: 1 / -1;
}

.star-grid-5f0029f {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.star-name-5f0029f {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-0);
  font-variant-emoji: text;
}

.star-item-5f0029f p {
  margin: 3px 0;
  font-size: 13px;
  color: var(--text-1);
  font-variant-emoji: text;
}

/* 星座符号比正文略大，视觉上更醒目 */
.star-item-5f0029f .star-glyph-5f0029f {
  font-size: 15px;
}

.nearby-5f0029f {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

@media (min-width: 760px) {
  .detail-grid-5f0029f {
    grid-template-columns: 1fr 1fr;
  }

  .star-grid-5f0029f {
    grid-template-columns: 1fr 1fr;
  }
}


/*!
 * 共享样式模块：反馈类文本（错误 / 提示 / 加载中）。
 * 多处页面复用，统一在这里定义以避免散落重复的全局类。
 */

.error-4316235 {
  color: var(--red);
  background: rgba(214, 59, 59, 0.08);
  border: 1px solid rgba(214, 59, 59, 0.28);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.loading-4316235 {
  text-align: center;
  color: var(--text-1);
  padding: 40px 0;
  font-size: 15px;
}


/*!
 * 共享样式模块：表单字段布局与控件。
 * 由 input 页面及其子组件（datetime_input / geo_input / house_select）共同引用。
 */

/* 基础 = 单列：标签独占一行（左对齐），控件拿全宽 —— 窄容器里 120px 标签列
   会把三个数字输入挤到几十像素宽，「1900」显示不下 */
.field-48821d4 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 6px;
}

.field-48821d4 > label {
  font-size: 14px;
  color: var(--text-1);
  text-align: left;
}

/* 宽视口恢复两列（input / user / clean 等无容器页面按视口回退判断，
   行为与旧的 760px 断点一致） */
@media (min-width: 760px) {
  .field-48821d4 {
    grid-template-columns: 120px 1fr;
    gap: 12px;
  }

  .field-48821d4 > label {
    text-align: right;
  }
}

/* 工作台输入面板是 inline-size 容器（见 input_panel.module.css）：
   字段布局应跟随面板实际宽度而非视口 —— 侧栏可拖 280px~50vw，
   桌面视口恒 ≥760px 时旧媒体查询会在 ~268px 面板里强行套两列。
   面板内容宽 <450px 压回单列；必须排在 @media 之后以赢得级联，
   无容器祖先的页面本条不匹配（回退按小视口判断，宽视口不命中）。 */
@container (width < 450px) {
  .field-48821d4 {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .field-48821d4 > label {
    text-align: left;
  }
}

.control-48821d4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.row-3-48821d4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.toggle-48821d4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.toggle-48821d4 input {
  appearance: none;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(20, 30, 50, 0.18);
  position: relative;
  transition: background 0.15s ease;
  cursor: pointer;
}

.toggle-48821d4 input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.toggle-48821d4 input:checked {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}

.toggle-48821d4 input:checked::after {
  transform: translateX(20px);
}

.radio-group-48821d4 {
  display: inline-flex;
  gap: 8px;
}

.radio-group-48821d4 label {
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-group-48821d4 input {
  display: none;
}

.radio-group-48821d4 input:checked + span {
  color: var(--gold);
  font-weight: 600;
}

.radio-group-48821d4 label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(184, 134, 11, 0.1);
}

/* 主操作按钮：由 input / user 等表单页共同引用 */
.btn-primary-48821d4 {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.28);
  transition: transform 0.12s ease;
}

.btn-primary-48821d4:hover {
  transform: translateY(-1px);
}

.btn-primary-48821d4:active {
  transform: translateY(1px);
}

.btn-primary-48821d4:disabled {
  cursor: default;
  opacity: 0.6;
  transform: none;
}


/*! 地名搜索与经纬度输入。 */

/* 地名输入框：与搜索按钮同行，占满剩余宽度 */
.name-input-22e0da1 {
  flex: 1;
  min-width: 0;
}

/* 「搜索」按钮：与「现在」按钮同级的次级操作，金色描边弱化呈现 */
.search-btn-22e0da1 {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.search-btn-22e0da1:hover {
  border-color: var(--gold);
  background: rgba(184, 134, 11, 0.08);
}

.search-btn-22e0da1:active {
  background: rgba(184, 134, 11, 0.15);
}

.search-btn-22e0da1:disabled {
  cursor: default;
  opacity: 0.6;
}

/* 搜索结果列表：单列字段下跨全宽；两列字段（宽视口/宽面板）落在控件列
   （第 2 列）下方，与输入框左对齐 */
.results-22e0da1 {
  grid-column: 1 / -1;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
}

/* 单条结果：仅展示地名，点击回填 */
.result-22e0da1 {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-0);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.result-22e0da1 + .result-22e0da1 {
  border-top: 1px solid var(--line);
}

.result-22e0da1:hover {
  background: rgba(184, 134, 11, 0.08);
}

/* 宽视口两列字段：结果列表对齐控件列（无容器页面按视口回退判断） */
@media (min-width: 760px) {
  .results-22e0da1 {
    grid-column: 2;
  }
}

/* 工作台面板（inline-size 容器，见 input_panel.module.css）内容宽 <450px 时
   form.field 压回单列，结果列表跨全宽；排在 @media 之后以赢得级联 */
@container (width < 450px) {
  .results-22e0da1 {
    grid-column: 1 / -1;
  }
}


/*! 入口页：选择进入本命星盘或天象盘。 */

.home-35ecbdf {
  text-align: center;
  padding: 24px 4px 8px;
}

.home-grid-35ecbdf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.home-card-35ecbdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 14px;
  font-family: inherit;
  color: var(--text-0);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.home-card-35ecbdf:hover {
  transform: translateY(-2px);
  border-color: var(--indigo);
  box-shadow: 0 12px 28px rgba(79, 91, 213, 0.18);
}

.home-card-35ecbdf:active {
  transform: translateY(0);
}

.home-icon-35ecbdf {
  color: var(--gold);
}

.home-icon-35ecbdf svg {
  display: block;
  width: 40px;
  height: 40px;
}

.home-name-35ecbdf {
  font-size: 17px;
  font-weight: 600;
}

.home-desc-35ecbdf {
  font-size: 12.5px;
  color: var(--text-1);
}

/* 极窄屏（320-379px）：双列每卡仅 ~146px，描述文字挤成三行，改单列 */
@media (max-width: 379px) {
  .home-grid-35ecbdf {
    grid-template-columns: 1fr;
  }

  .home-card-35ecbdf {
    padding: 22px 16px;
  }

  .home-desc-35ecbdf {
    font-size: 13px;
  }
}


/* 标题行：标题 + 次级入口（从档案库选择） */
.header-205fd89 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.form-grid-205fd89 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}



/*!
 * 工作台输入面板：分节、折叠、星盘按钮组。
 * 表单行布局复用 shared/form.module.css 的 field 体系。
 */

.panel-d8e41ea {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow-y: auto;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* 尺寸容器：表单字段的单列/两列布局跟随面板实际宽度而非视口宽度
     （侧栏可拖 280px~50vw，与视口断点无关），见 shared/form.module.css */
  container-type: inline-size;
}

.section-d8e41ea {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
  /* 禁止 flex 收缩：面板（overflow-y:auto）内容超高时应整体滚动，
     而不是把折叠分段压扁裁掉 —— overflow:hidden 会让 min-height:auto 归零 */
  flex: none;
}

.section-header-d8e41ea {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-0);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.section-header-d8e41ea:hover {
  background: rgba(79, 91, 213, 0.06);
}

.section-header-d8e41ea svg {
  width: 16px;
  height: 16px;
  color: var(--text-1);
  transition: transform 0.18s ease;
}

/* 默认（折叠）指向下 */
.chevron-d8e41ea {
  transition: transform 0.18s ease;
}

/* 展开态图标直接翻转（类切换由 JS 控制） */
.chevron-up-d8e41ea {
  transform: rotate(180deg);
}

.section-header-static-d8e41ea {
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

.section-title-d8e41ea {
  letter-spacing: 0.5px;
}

.section-body-d8e41ea {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 14px 14px;
}

/* 档案选择入口独占一行（对应原版 archive-selector） */
.archive-row-d8e41ea {
  display: flex;
  justify-content: flex-end;
}

/* 星盘按钮组：靛蓝描边、hover 金色渐变填充 */
.chart-buttons-d8e41ea {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.chart-btn-d8e41ea {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--indigo);
  background: var(--surface);
  border: 1px solid rgba(79, 91, 213, 0.4);
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    transform 0.12s ease, box-shadow 0.15s ease;
}

.chart-btn-d8e41ea svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.chart-btn-d8e41ea:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(184, 134, 11, 0.28);
  transform: translateY(-1px);
}

.chart-btn-d8e41ea:active {
  transform: translateY(1px);
}

.hint-d8e41ea {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-1);
}


/*! 行星力量表页面样式：标题区 / 分段切换 / 尊贵表。 */

.page-6e57e5f {
  min-height: 100%;
  padding: 16px 16px 32px;
  max-width: 960px;
  margin: 0 auto;
}

/* ---------- 顶部标题区 ---------- */

.header-6e57e5f {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.back_btn-6e57e5f {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-1);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.back_btn-6e57e5f:hover {
  color: var(--gold);
  border-color: var(--gold-2);
  transform: translateX(-2px);
}

.back_btn-6e57e5f svg {
  width: 20px;
  height: 20px;
}

.title-6e57e5f {
  position: relative;
  margin: 0;
  padding-left: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-0);
  display: flex;
  align-items: center;
}

.title-6e57e5f::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--indigo));
}

/* ---------- 分段切换 ---------- */

.segment-6e57e5f {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.segment_btn-6e57e5f,
.segment_btn_active-6e57e5f {
  flex: 1;
  padding: 12px 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.segment_btn-6e57e5f:hover {
  color: var(--indigo);
}

.segment_btn_active-6e57e5f {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.28);
  transform: scale(1.01);
}

/* ---------- 表格卡片 ---------- */

.table_card-6e57e5f {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table_scroll-6e57e5f {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-6e57e5f {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  font-size: 14px;
}

.table-6e57e5f thead th {
  position: sticky;
  top: 0;
  padding: 12px 8px;
  background: linear-gradient(180deg, rgba(79, 91, 213, 0.1), rgba(184, 134, 11, 0.08));
  color: var(--text-0);
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.th_zodiac-6e57e5f {
  /* 横向滚动时星座表头列冻结在左侧（底色取 thead 渐变的不透明近似值，
     半透明底会透出滚过的列） */
  position: sticky;
  left: 0;
  z-index: 2;
  background: linear-gradient(180deg, #edeffb, #f9f5ec);
  width: 48px;
  text-align: center;
}

.table-6e57e5f tbody td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  vertical-align: middle;
}

.table-6e57e5f tbody tr:last-child td {
  border-bottom: none;
}

.table-6e57e5f tbody tr {
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.table-6e57e5f tbody tr:hover,
.table-6e57e5f tbody tr:active {
  background: rgba(184, 134, 11, 0.18);
}

/* 行左侧高亮强调条 */
.table-6e57e5f tbody tr:hover td:first-child,
.table-6e57e5f tbody tr:active td:first-child {
  box-shadow: inset 3px 0 0 var(--gold);
}

/* 星座列冻结在左侧：底色必须不透明，hover / 按压时随行点亮 */
.td_zodiac-6e57e5f {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fbf9f3;
}

.table-6e57e5f tbody tr:hover .td_zodiac-6e57e5f,
.table-6e57e5f tbody tr:active .td_zodiac-6e57e5f {
  background: #f2e9d3;
}

/* 占星符号强制按文字字形渲染，避免被当彩色 emoji */
.glyph-6e57e5f {
  font-variant-emoji: text;
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.15s ease;
}

.table-6e57e5f tbody tr:hover .glyph-6e57e5f,
.table-6e57e5f tbody tr:active .glyph-6e57e5f {
  transform: scale(1.22);
  text-shadow: 0 0 8px rgba(184, 134, 11, 0.5);
}

/* 界 / 面 列中附带的度数小字 */
.deg-6e57e5f {
  display: inline-block;
  margin-left: 3px;
  font-size: 11px;
  font-variant-emoji: normal;
  color: var(--text-1);
  vertical-align: middle;
}


/*! 用户页：登录表单与已登录信息。 */

.form-887aa9b {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.logged-in-887aa9b {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 15px;
}

.logged-in-label-887aa9b {
  color: var(--text-1);
}

.logged-in-name-887aa9b {
  color: var(--text-0);
  font-weight: 600;
}


/*!
 * 窗口内容三分态：加载 / 错误重试 / 成功。
 */

.content-dcbd3dc {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 顶部留白给时间编辑条的悬停气泡：编辑条首行位于滚动容器顶部，
     其上方的气泡落在内边距区域内才不会被 overflow 裁剪 */
  padding-top: 36px;
}

/* SVG 星盘自适应窗口尺寸 */
.content-dcbd3dc > svg {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.loading-dcbd3dc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-1);
  font-size: 15px;
}

.spinner-dcbd3dc {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2.5px solid rgba(184, 134, 11, 0.25);
  border-top-color: var(--gold);
  animation: wb-spin 0.8s linear infinite;
}

@keyframes wb-spin {
  to {
    transform: rotate(360deg);
  }
}

.error-box-dcbd3dc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.error-box-dcbd3dc p {
  margin: 0;
  max-width: 90%;
}

.retry-dcbd3dc {
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.24);
  transition: transform 0.12s ease;
}

.retry-dcbd3dc:hover {
  transform: translateY(-1px);
}

.retry-dcbd3dc:active {
  transform: translateY(1px);
}


/*!
 * 工作台窗口框架：浮动卡片、标题栏、控制按钮、8 向缩放手柄。
 * 颜色 / 圆角 / 阴影取全局 CSS 变量，与项目设计语言一致。
 */

.frame-18c6dac {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 360px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(31, 36, 48, 0.12);
  overflow: hidden;
  /* 拖拽 / 缩放期间避免选中文本 */
  user-select: none;
  transition: box-shadow 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

/* 非激活窗口：弱化阴影与透明度 */
.frame-18c6dac:not(.active-18c6dac) {
  opacity: 0.88;
  box-shadow: 0 4px 12px rgba(31, 36, 48, 0.08);
}

/* 激活窗口：金色描边 + 加深投影 */
.frame-18c6dac.active-18c6dac {
  border-color: rgba(184, 134, 11, 0.55);
  box-shadow: 0 14px 36px rgba(31, 36, 48, 0.2);
}

/* 激活窗口标题栏：同 input 侧栏「本命」按钮 hover 的金色渐变 */
.frame-18c6dac.active-18c6dac .title-bar-18c6dac {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-bottom-color: rgba(184, 134, 11, 0.7);
}

/* 激活窗口标题文字：金底改用白字，与按钮 hover 一致 */
.frame-18c6dac.active-18c6dac .title-text-18c6dac {
  color: #fff;
  font-weight: 700;
}

/* 最小化 / 隐藏：移出画面但保留组件状态（请求结果不丢失） */
.frame-18c6dac.hidden-18c6dac {
  display: none;
}

/* 最大化：铺满工作区 */
.frame-18c6dac.maximized-18c6dac {
  border-radius: 0;
  border: none;
}

.title-bar-18c6dac {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 42px;
  padding: 0 6px 0 14px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(79, 91, 213, 0.07), transparent);
  border-bottom: 1px solid var(--line);
  cursor: grab;
  /* 触屏拖动窗口：禁掉浏览器把手势解释成滚动 / 刷新 */
  touch-action: none;
}

.title-bar-18c6dac:active {
  cursor: grabbing;
}

.frame-18c6dac.maximized-18c6dac .title-bar-18c6dac {
  cursor: default;
}

.title-text-18c6dac {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-0);
  letter-spacing: 0.3px;
}

.title-buttons-18c6dac {
  display: inline-flex;
  gap: 4px;
  flex: 0 0 auto;
}

.win-btn-18c6dac {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-1);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.win-btn-18c6dac svg {
  width: 15px;
  height: 15px;
}

.win-btn-18c6dac:hover {
  background: rgba(79, 91, 213, 0.12);
  color: var(--indigo);
}

.win-btn-18c6dac.close-btn-18c6dac:hover {
  background: rgba(214, 59, 59, 0.14);
  color: var(--red);
}

.content-18c6dac {
  flex: 1;
  min-height: 0;
  user-select: text;
}

/* —— 8 向缩放手柄 —— */
.handle-n-18c6dac,
.handle-s-18c6dac,
.handle-e-18c6dac,
.handle-w-18c6dac,
.handle-nw-18c6dac,
.handle-ne-18c6dac,
.handle-sw-18c6dac,
.handle-se-18c6dac {
  position: absolute;
  z-index: 5;
  touch-action: none;
}


/* 四边：6px 触发带 */
.handle-n-18c6dac {
  top: -3px;
  left: 8px;
  right: 8px;
  height: 6px;
  cursor: ns-resize;
}

.handle-s-18c6dac {
  bottom: -3px;
  left: 8px;
  right: 8px;
  height: 6px;
  cursor: ns-resize;
}

.handle-w-18c6dac {
  left: -3px;
  top: 8px;
  bottom: 8px;
  width: 6px;
  cursor: ew-resize;
}

.handle-e-18c6dac {
  right: -3px;
  top: 8px;
  bottom: 8px;
  width: 6px;
  cursor: ew-resize;
}

/* 四角：12px 触发区 */
.handle-nw-18c6dac {
  top: -4px;
  left: -4px;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
}

.handle-ne-18c6dac {
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  cursor: nesw-resize;
}

.handle-sw-18c6dac {
  bottom: -4px;
  left: -4px;
  width: 14px;
  height: 14px;
  cursor: nesw-resize;
}

.handle-se-18c6dac {
  bottom: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
}

/* 触屏：手指捏不住 6px 触发带，统一放宽 */
@media (pointer: coarse) {
  .handle-n-18c6dac,
  .handle-s-18c6dac {
    height: 14px;
  }

  .handle-n-18c6dac {
    top: -7px;
  }

  .handle-s-18c6dac {
    bottom: -7px;
  }

  .handle-w-18c6dac,
  .handle-e-18c6dac {
    width: 14px;
  }

  .handle-w-18c6dac {
    left: -7px;
  }

  .handle-e-18c6dac {
    right: -7px;
  }

  .handle-nw-18c6dac,
  .handle-ne-18c6dac,
  .handle-sw-18c6dac,
  .handle-se-18c6dac {
    width: 24px;
    height: 24px;
  }

  .handle-nw-18c6dac,
  .handle-sw-18c6dac {
    left: -12px;
  }

  .handle-ne-18c6dac,
  .handle-se-18c6dac {
    right: -12px;
  }

  .handle-nw-18c6dac,
  .handle-ne-18c6dac {
    top: -12px;
  }

  .handle-sw-18c6dac,
  .handle-se-18c6dac {
    bottom: -12px;
  }
}


/*!
 * 工作台页面布局：工具条、侧栏（折叠/拖宽）、工作区、窗口列表下拉、空态。
 */

.workbench-8312c50 {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  /* 高度由 app-main-wide 显式定高（视口减应用栏变量，含安全区）后 flex 撑满 */
}

/* —— 工具条 —— */
.toolbar-8312c50 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex: 0 0 auto;
}

.back-btn-8312c50 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--indigo);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.back-btn-8312c50 svg {
  width: 16px;
  height: 16px;
}

.back-btn-8312c50:hover {
  background: rgba(79, 91, 213, 0.08);
  border-color: rgba(79, 91, 213, 0.25);
}

.toolbar-title-8312c50 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-0);
}

.toolbar-spacer-8312c50 {
  flex: 1;
}

.panel-btn-8312c50 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-1);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.panel-btn-8312c50 svg {
  width: 16px;
  height: 16px;
}

.panel-btn-8312c50:hover {
  color: var(--indigo);
  border-color: rgba(79, 91, 213, 0.4);
}

.panel-btn-active-8312c50 {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(184, 134, 11, 0.08);
}

/* —— 窗口列表下拉 —— */
.list-wrapper-8312c50 {
  position: relative;
}

.list-btn-8312c50 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-1);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.list-btn-8312c50 svg {
  width: 15px;
  height: 15px;
}

.list-btn-8312c50:hover {
  color: var(--indigo);
  border-color: rgba(79, 91, 213, 0.4);
}

.chevron-up-8312c50 {
  transform: rotate(180deg);
}

.chevron-8312c50 {
  transition: transform 0.18s ease;
}

.list-dropdown-8312c50 {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 500;
  min-width: 280px;
  max-height: 60dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(31, 36, 48, 0.18);
  overflow: hidden;
  animation: dropdown-in 0.15s ease;
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.list-header-8312c50 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  border-bottom: 1px solid var(--line);
}

.list-close-8312c50 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-1);
  cursor: pointer;
}

.list-close-8312c50 svg {
  width: 15px;
  height: 15px;
}

.list-close-8312c50:hover {
  background: rgba(79, 91, 213, 0.1);
  color: var(--indigo);
}

.list-items-8312c50 {
  overflow-y: auto;
  padding: 6px;
}

.list-item-8312c50 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.list-item-8312c50:hover {
  background: rgba(79, 91, 213, 0.07);
}

.list-item-active-8312c50 {
  background: rgba(184, 134, 11, 0.1);
}

.item-state-label-8312c50 {
  flex: 0 0 auto;
  min-width: 40px;
  font-size: 11px;
  color: var(--gold);
  text-align: center;
}

.item-title-8312c50 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  color: var(--text-0);
}

.item-close-8312c50 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-1);
  cursor: pointer;
  flex: 0 0 auto;
}

.item-close-8312c50 svg {
  width: 14px;
  height: 14px;
}

.item-close-8312c50:hover {
  background: rgba(214, 59, 59, 0.12);
  color: var(--red);
}

/* —— 主体 —— */
.body-8312c50 {
  display: flex;
  flex: 1;
  min-height: 0;
  position: relative;
}

.sidebar-8312c50 {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  padding: 12px 0 12px 12px;
  /* 拖宽把手独立于内容（内容限宽防止把手遮挡） */
}

.sidebar-handle-8312c50 {
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: -3px;
  width: 6px;
  cursor: ew-resize;
  border-radius: 3px;
  z-index: 10;
  transition: background 0.15s ease;
  touch-action: none;
}

.sidebar-handle-8312c50:hover {
  background: rgba(79, 91, 213, 0.35);
}

/* 抽屉蒙层：桌面端不渲染（display:none），窄屏侧栏覆盖在工作区上层时显示，
   点击空白处关闭抽屉（事件绑定在 Rust 侧） */
.sidebar-scrim-8312c50 {
  display: none;
}

/* 折叠后的展开按钮：贴工作区左缘 */
.sidebar-toggle-8312c50 {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 26px;
  height: 64px;
  padding: 0;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.sidebar-toggle-8312c50:hover {
  color: var(--indigo);
  background: rgba(79, 91, 213, 0.06);
}

/* —— 工作区 —— */
.work-area-8312c50 {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  /* 浅灰底 + 细网格点纹理 */
  background-color: var(--bg);
  background-image: radial-gradient(rgba(31, 36, 48, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* 空态引导 */
.empty-state-8312c50 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-1);
  pointer-events: none;
}

.empty-state-8312c50 svg {
  width: 56px;
  height: 56px;
  color: var(--indigo);
  opacity: 0.55;
}

.empty-state-8312c50 p {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
 * 窄屏（<760px）：侧栏从「挤压工作区」降级为覆盖式抽屉，
 * 工作区保持全宽（窗口在窄工作区会自动最大化，见 window.rs）。
 * ========================================================================== */
@media (max-width: 759px) {
  .toolbar-8312c50 {
    gap: 8px;
    padding: 8px 10px;
  }

  /* 「首页」只留图标（title 提示仍在），给标题与右侧按钮让位 */
  .back-btn-8312c50 {
    font-size: 0;
    gap: 0;
    padding: 10px;
  }

  .panel-btn-8312c50,
  .list-btn-8312c50 {
    padding: 10px;
  }

  /* 侧栏变为覆盖式抽屉：宽度以内联样式为主，这里只兜底限宽 */
  .sidebar-8312c50 {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 30;
    width: min(86vw, 340px) !important;
    padding: 12px;
    background: var(--bg);
    border-right: 1px solid var(--line);
    box-shadow: 12px 0 32px rgba(31, 36, 48, 0.18);
    overflow-y: auto;
    animation: sidebar-in 0.18s ease;
  }

  .sidebar-scrim-8312c50 {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 25;
    background: rgba(15, 20, 32, 0.4);
    animation: fade-in 0.18s ease;
  }

  /* 抽屉展开时工作区左缘的展开按钮被侧栏盖住即可，收起后仍可用 */

  .empty-state-8312c50 p {
    padding: 0 24px;
    text-align: center;
  }
}

@keyframes sidebar-in {
  from {
    transform: translateX(-24px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
