/* ─── 号码测算 · 智能选号（深紫星云主题） ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #f6f2ff;            /* 主文字 */
  --ink-soft: rgba(232, 214, 255, .82);
  --ink-mute: rgba(205, 178, 240, .62);
  --panel: rgba(36, 16, 80, .58);        /* 大卡片底 */
  --panel-deep: rgba(30, 12, 68, .55);    /* 子卡/输入框底 */
  --panel-line: rgba(255, 255, 255, .72);
  --line-soft: rgba(255, 255, 255, .16);
  --bright: #cda4f5;         /* 亮蓝高光 */
  --bright-deep: #8a3fd8;
  --gold: #ffd27a;
  --ok: #7fe08f;
  --warn: #ff9b8a;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: #241058;
  position: relative;
}
/* 夜空底色 + 光晕 + 罗盘水印 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 30%, transparent 30%, rgba(190, 140, 255, .07) 30.6%, transparent 31.4%),
    radial-gradient(circle at 50% 30%, transparent 40%, rgba(190, 140, 255, .06) 40.5%, transparent 41.2%),
    radial-gradient(1100px 560px at 50% -8%, rgba(134, 72, 224, .38), transparent 62%),
    radial-gradient(900px 480px at 50% 106%, rgba(180, 120, 255, .20), transparent 58%),
    linear-gradient(180deg, #160840 0%, #241058 46%, #3d1a8c 100%);
}
/* 星点 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(255,255,255,.9) 1px, transparent 1.7px),
    radial-gradient(circle at 22% 42%, rgba(255,255,255,.65) 1px, transparent 1.6px),
    radial-gradient(circle at 35% 8%, rgba(255,255,255,.8) 1.2px, transparent 1.9px),
    radial-gradient(circle at 52% 20%, rgba(255,255,255,.5) 1px, transparent 1.6px),
    radial-gradient(circle at 68% 10%, rgba(255,255,255,.85) 1px, transparent 1.7px),
    radial-gradient(circle at 82% 34%, rgba(255,255,255,.6) 1.2px, transparent 1.9px),
    radial-gradient(circle at 92% 16%, rgba(255,255,255,.8) 1px, transparent 1.6px),
    radial-gradient(circle at 14% 68%, rgba(255,255,255,.5) 1px, transparent 1.6px),
    radial-gradient(circle at 44% 56%, rgba(255,255,255,.45) 1px, transparent 1.5px),
    radial-gradient(circle at 74% 62%, rgba(255,255,255,.55) 1px, transparent 1.6px),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,.5) 1.2px, transparent 1.9px),
    radial-gradient(circle at 6% 88%, rgba(255,255,255,.6) 1px, transparent 1.6px),
    radial-gradient(circle at 30% 82%, rgba(255,255,255,.4) 1px, transparent 1.5px),
    radial-gradient(circle at 60% 90%, rgba(255,255,255,.5) 1px, transparent 1.6px);
}

/* ── 顶栏 ── */
.top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 10px;
  z-index: 20;
}
.link-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(242, 230, 255, .92);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.link-back:hover { color: #fff; }
.logo-title {
  flex: 1;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-right: 76px;
  text-shadow: 0 2px 10px rgba(122, 63, 216, .55);
}

/* ── 主区 ── */
.page { max-width: 720px; margin: 0 auto; padding: 6px 14px 32px; }

.seal-note {
  text-align: center;
  font-size: 13.5px;
  color: rgba(234, 214, 255, .92);
  margin: 6px 0 16px;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ── 功能切换（连体卡片顶） ── */
.kind-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 12px 2px;
  background: var(--panel);
  border: 1.5px solid var(--panel-line);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 8px 28px rgba(16, 4, 40, .45);
}
.kind-tab {
  appearance: none;
  border: 1.5px solid rgba(255, 255, 255, .5);
  background: rgba(34, 14, 74, .6);
  border-radius: 18px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.kind-tab.is-active {
  border-color: rgba(255, 255, 255, .95);
  background: linear-gradient(180deg, #a5d2f8 0%, #5b9be0 52%, #8a3fd8 100%);
  box-shadow: 0 5px 16px rgba(122, 63, 216, .5), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.kind-tab-label { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.kind-tab-desc { font-size: 11.5px; color: rgba(195, 220, 250, .8); }
.kind-tab.is-active .kind-tab-desc { color: rgba(240, 249, 255, .95); }

/* tab 面板 = 卡片主体（连体） */
.tab-panel {
  padding: 14px 16px 20px;
  background: var(--panel);
  border: 1.5px solid var(--panel-line);
  border-top: none;
  border-radius: 0 0 26px 26px;
  margin-bottom: 18px;
}
.result-panel { margin-top: 16px; }

/* ── 表单 ── */
.field { display: block; flex: 1; min-width: 0; }
.field-label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(240, 248, 255, .95);
  margin-bottom: 7px;
}
.field-row { display: flex; gap: 12px; align-items: flex-end; }
.field-row.two-col { margin-bottom: 12px; }
.field-row + .field-row { margin-top: 12px; }

.field-row input,
.field-row select,
.field input,
.field select {
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, .62);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 15px;
  background: var(--panel-deep);
  color: var(--ink);
  font-family: inherit;
}
.field select, .birth-hour-native {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
  padding-right: 36px;
}
.field-row input::placeholder,
.field input::placeholder { color: rgba(185, 212, 248, .55); }
.field-row input:focus,
.field-row select:focus,
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--bright);
  box-shadow: 0 0 0 3px rgba(201, 142, 245, .22);
}

/* 出生日期按钮（birth-picker 组件） */
.birth-date-block .birth-pick-btn {
  min-height: 46px;
  width: 100%;
  background: var(--panel-deep);
  border: 1.5px solid rgba(255, 255, 255, .62);
  border-radius: 14px;
  color: var(--ink);
  font-size: 15px;
}
.birth-date-block .birth-pick-btn.placeholder { color: rgba(185, 212, 248, .55); }

/* 日期选择弹层保持组件默认浅色主题：本页 --panel 与组件变量撞名，此处恢复 */
.birth-picker-modal {
  --panel: #fff;
  --panel-alt: #faf8f4;
}

.birth-hour-block { margin-top: 12px; }

/* ── 起名结果：八字排盘卡 ── */
.paipan-card {
  background: var(--panel);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 20px;
  padding: 14px 14px 16px;
  margin-bottom: 12px;
}
.paipan-card .sub-title { margin-top: 0; }
.paipan-meta {
  margin: 4px 0 10px;
  font-size: 12.5px;
  color: rgba(232, 214, 255, .8);
}
.sizhu-grid {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel-deep);
}
.sz-row {
  display: grid;
  grid-template-columns: 52px repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.sz-row:first-child { border-top: none; }
.sz-label {
  padding: 8px 2px;
  font-size: 12.5px;
  color: rgba(232, 214, 255, .78);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .16);
  background: rgba(36, 16, 80, .45);
}
.sz-col-head {
  padding: 8px 2px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #e8d6ff;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.sz-col-head:last-child, .sz-cell:last-child { border-right: none; }
.sz-cell {
  padding: 8px 4px;
  text-align: center;
  font-size: 13px;
  color: rgba(242, 230, 255, .92);
  border-right: 1px solid rgba(255, 255, 255, .16);
  word-break: break-all;
}
.sz-ss { font-size: 12.5px; }
.sz-gz { font-size: 19px; font-weight: 700; }
.sz-zhi { padding: 8px 4px; }
.sz-zhi-char { font-size: 19px; font-weight: 700; display: block; }
.sz-cang {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.sz-cang i {
  font-style: normal;
  font-size: 10.5px;
  color: rgba(232, 214, 255, .66);
  margin-left: 2px;
}
.sz-sha { font-size: 11.5px; color: rgba(232, 214, 255, .85); line-height: 1.55; }

.actions { margin-top: 18px; }
.btn {
  appearance: none;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary {
  width: 100%;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(180deg, #9cccf7 0%, #4d8de4 55%, #8a3fd8 100%);
  color: #fff;
  letter-spacing: 8px;
  text-indent: 8px;
  box-shadow: 0 6px 20px rgba(122, 63, 216, .5), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-primary:active { opacity: .88; }

.panel-note {
  text-align: center;
  font-size: 12px;
  color: rgba(205, 178, 240, .66);
  margin-top: 16px;
  letter-spacing: .5px;
}

.hidden { display: none !important; }

/* ── 测名结果 ── */
.score-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 2px 16px;
  border-bottom: 1px dashed var(--line-soft);
  margin-bottom: 14px;
}
.score-ring {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: conic-gradient(var(--bright) var(--score, 0%), rgba(255, 255, 255, .14) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.score-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #0a2450;
}
.score-num {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 12px rgba(201, 142, 245, .6);
}
.score-unit {
  position: relative;
  font-size: 12px;
  color: var(--ink-mute);
  margin: 14px 0 0 -2px;
}
.score-side { min-width: 0; }
.score-grade {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.score-name { font-size: 15px; font-weight: 600; }
.score-sub { font-size: 12px; color: var(--ink-mute); margin-top: 3px; line-height: 1.5; }

.sub-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  background: var(--panel-deep);
}
.sub-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.sub-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 1px 8px;
  border-radius: 8px;
  background: rgba(201, 142, 245, .18);
  color: var(--bright);
  vertical-align: 1px;
}
.sub-badge.bad { background: rgba(255, 155, 138, .16); color: var(--warn); }

.wuge-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wuge-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-mute);
  padding: 4px 6px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.wuge-table td {
  padding: 7px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  vertical-align: top;
}
.wuge-table tr:last-child td { border-bottom: none; }
.wuge-ge { font-weight: 600; white-space: nowrap; }
.wuge-num {
  display: inline-block;
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  color: var(--bright);
}
.wuge-lucky { white-space: nowrap; }
.wuge-lucky.dj { color: var(--ok); font-weight: 600; }
.wuge-lucky.j { color: var(--ok); }
.wuge-lucky.bj { color: var(--gold); }
.wuge-lucky.x { color: var(--warn); }
.wuge-lucky.dx { color: var(--warn); font-weight: 600; }
.wuge-sex {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  padding: 0 4px;
  border-radius: 6px;
  background: rgba(255, 210, 122, .16);
  color: var(--gold);
  vertical-align: 1px;
}
.wuge-info { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.wuge-info em { font-style: normal; color: var(--ink); }

.sancai-key { font-size: 15px; font-weight: 700; margin-bottom: 6px; letter-spacing: 2px; }
.sancai-key .sc-wx { margin-right: 6px; }
.sancai-text { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

.yunshi-item { margin-bottom: 10px; }
.yunshi-item:last-child { margin-bottom: 0; }
.yunshi-label {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.yunshi-text { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.yunshi-text .y-level {
  font-weight: 600;
  margin-right: 6px;
}
.y-level.dj, .y-level.j { color: var(--ok); }
.y-level.bj { color: var(--gold); }
.y-level.x, .y-level.dx { color: var(--warn); }

.bazi-line { font-size: 14px; margin-bottom: 8px; line-height: 1.6; }
.bazi-line em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}
.bazi-char-match { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.bazi-char-match .cm {
  display: inline-block;
  margin-right: 12px;
}
.bazi-char-match .cm b { font-size: 16px; color: #fff; margin-right: 3px; }
/* 五行配色（深底亮色）：木绿 火红 土棕 金褐 水蓝 */
.wx-mu { color: #6fe3a0; font-weight: 700; }
.wx-huo { color: #ff8f7a; font-weight: 700; }
.wx-tu { color: #e8c26a; font-weight: 700; }
.wx-jin { color: #ffd98a; font-weight: 700; }
.wx-shui { color: #7ab8ff; font-weight: 700; }
.cm-m1 { color: var(--ok); }
.cm-m-1 { color: var(--warn); }
.cm-m0 { color: var(--ink-mute); }

/* ── 起名结果 ── */
.gen-head { margin-bottom: 14px; }
.gen-summary { font-size: 13px; color: var(--ink-soft); }
.gen-summary.err { color: var(--warn); font-weight: 600; text-align: center; }
.gen-xiyong {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.gen-xiyong em { font-style: normal; font-weight: 700; }

.name-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.name-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--panel-deep);
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.name-card:active { border-color: var(--bright); box-shadow: 0 2px 12px rgba(122, 63, 216, .4); }
@media (hover: hover) {
  .name-card:hover { border-color: var(--bright); box-shadow: 0 2px 14px rgba(122, 63, 216, .35); transform: translateY(-1px); }
}
.name-card-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #241058;
  background: var(--bright);
  box-shadow: 0 1px 6px rgba(201, 142, 245, .35);
}
@media (hover: hover) {
  .name-card:hover .name-card-more { background: #d9a9ff; }
}
.name-card-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}
.name-card-name .surname { color: rgba(232, 214, 255, .85); }
/* 名字按五行着色（wx-*），入调候的字加金色下划线标识 */
.name-card-name .nc-th { text-decoration: underline; text-decoration-color: rgba(255, 210, 122, .95); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.name-card-total {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--bright);
  text-shadow: 0 0 10px rgba(201, 142, 245, .45);
}
.name-card-total small { font-size: 11px; font-weight: 400; color: var(--ink-mute); margin-left: 2px; }
.name-card-grade {
  display: inline-block;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 8px;
  background: rgba(201, 142, 245, .18);
  color: var(--bright);
  margin-top: 4px;
}
.name-card-meta {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.7;
}
.name-card-meta .wuge-mini { color: var(--ink-soft); }

/* 点击候选名后的详情弹层 */
.name-detail-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 3, 30, .6);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.name-detail {
  width: 100%;
  max-width: 720px;
  max-height: 82vh;
  overflow-y: auto;
  background: #2a1058;
  border: 1px solid var(--line-soft);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 18px 16px 24px;
}
.name-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.name-detail-title { font-size: 20px; font-weight: 700; color: #fff; }
.name-detail-close {
  appearance: none;
  border: none;
  background: rgba(201, 142, 245, .18);
  color: var(--bright);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.name-detail .sub-card { background: rgba(30, 12, 68, .6); }

/* ── 加载/错误 ── */
.state-tip {
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  padding: 18px 0 8px;
}
.err-tip {
  text-align: center;
  font-size: 13px;
  color: var(--warn);
  padding: 10px 0 0;
}

/* ── 页脚 ── */
.site-footer {
  text-align: center;
  font-size: 13px;
  color: rgba(234, 214, 255, .9);
  padding: 18px 0 26px;
}

@media (max-width: 420px) {
  .name-grid { grid-template-columns: 1fr; }
  .field-row { flex-wrap: wrap; }
  .logo-title { margin-right: 0; }
}

/* ── 号码页专属：八星磁场 ── */
.star-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.star-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--line-soft);
  background: var(--panel-deep);
  color: var(--ink-soft);
}
.star-chip small { font-weight: 400; color: var(--ink-mute); }
.star-chip.s-lucky { border-color: rgba(127, 224, 143, .5); color: var(--ok); }
.star-chip.s-neutral { border-color: rgba(255, 210, 122, .45); color: var(--gold); }
.star-chip.s-unlucky { border-color: rgba(255, 155, 138, .5); color: var(--warn); }
.pair-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pair-item {
  padding: 3px 9px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--panel-deep);
  border: 1px solid var(--line-soft);
  color: var(--ink-mute);
}
.pair-item.p-lucky { color: var(--ok); border-color: rgba(127, 224, 143, .45); }
.pair-item.p-neutral { color: var(--gold); border-color: rgba(255, 210, 122, .4); }
.pair-item.p-unlucky { color: var(--warn); border-color: rgba(255, 155, 138, .45); }
.pair-detail {
  list-style: none;
  margin-top: 12px;
}
.pair-detail li {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.pair-detail li b { color: var(--bright); }
.pair-detail li.pd-lucky b { color: var(--ok); }
.pair-detail li.pd-unlucky b { color: var(--warn); }
.pair-detail li.pd-neutral b { color: var(--gold); }

/* ── 号码页专属：81灵动数 / 五行相容 ── */
.lingdong-line, .five-line {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.lingdong-text {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.7;
}
.five-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.five-cell {
  text-align: center;
  padding: 8px 2px;
  border-radius: 10px;
  background: var(--panel-deep);
  border: 1px solid var(--line-soft);
}
.five-cell.f-zero { opacity: .45; }
.five-cell b {
  display: block;
  font-size: 16px;
  color: var(--bright);
}
.five-cell.f-birth b { color: var(--gold); }
.five-cell span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-mute);
}
.five-cell small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--ink-soft);
}
.five-cell .f-map {
  font-weight: 600;
  color: var(--bright);
  letter-spacing: 1px;
}

/* 五行相容：号码逐位着色 + 数字五行图例 */
.five-numline {
  margin-top: 8px;
  text-align: center;
  font-size: 21px;
  letter-spacing: 4px;
  line-height: 1.4;
}
.five-numline b { font-weight: 700; }
.fn-mu { color: #35a06a; }
.fn-huo { color: #e05a4e; }
.fn-tu { color: #c98a2e; }
.fn-jin { color: #b9a1e8; }
.fn-shui { color: #5b8ff0; }
.five-legend {
  margin-top: 2px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .5px;
}

/* 八字喜用（调候/喜忌，五行相容卡上方区域） */
.xy-line {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 2;
}
.xy-line em {
  font-style: normal;
  font-weight: 700;
}
.wx-mu { color: #35a06a; }
.wx-huo { color: #e05a4e; }
.wx-tu { color: #c98a2e; }
.wx-jin { color: #b9a1e8; }
.wx-shui { color: #5b8ff0; }
.xy-nums {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.xy-nums b { color: var(--bright); font-weight: 600; letter-spacing: 1px; }
.xy-empty { color: var(--ink-mute); }

/* 候选号码卡片号码行 */
.name-card-name.phone { font-size: 18px; letter-spacing: .5px; }
