@font-face { font-family: 'Proza'; src: url('../../font/Proza-ExtraBoldItalic.woff2') format('woff2'); font-weight: 800; font-style: italic; }

/* 手机 - 手机号智能解析 */

/* 号码输入 — 11位分格 */
.phone-input-wrap { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 6px 0; }
.phone-cells { display: flex; gap: 3px; }
.phone-cells input { width: 28px; height: 36px; text-align: center; font-size: 16px; font-family: "MiSans", sans-serif; font-weight: 300; border: 1px solid #c9b896; border-radius: 4px; outline: none; background: #fff; color: var(--color-text); transition: border-color .15s, box-shadow .15s; }
.phone-cells input:focus { border-color: #a09070; box-shadow: 0 0 0 2px rgba(180,160,130,.15); }
.phone-cells input.filled { background: var(--color-parchment); border-color: #b8a080; }
.phone-input-wrap .btn-parse { padding: 7px 18px; font-size: 13px; background: #8B4513; color: var(--color-border-warm); border: 1px solid #8B4513; border-radius: 4px; cursor: pointer; font-family: "MiSans", sans-serif; font-weight: 300; transition: all .2s; }
.phone-input-wrap .btn-parse:hover { background: #8B4513; color: #fff; }

/* 八星可视化 — 数字框 + SVG连线 */
.star-viz-wrap { max-width: 500px; margin: 0 auto; padding: 10px 0; text-align: center; }
.dlr-viz-box { position: relative; margin: 0 auto; }
.dlr-digit-row { display: flex; justify-content: center; gap: 3px; }
.dlr-digit { display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 300; color: #6e8e8a; background: #fff; border: 1px solid var(--color-border-warm); border-radius: 4px; font-family: "MiSans", sans-serif; }
.dlr-digit.zero { color: var(--color-border-warm); }
.dlr-svg { position: absolute; top: 0; left: 0; pointer-events: none; }
.change-phone { text-align: center; font-size: 11px; color: #b0a090; cursor: pointer; margin-top: 4px; }
.change-phone:hover { color: #8B4513; }

/* 星位统计标签 */
.star-stats { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
.star-stats .stat-tag { font-size: 12px; padding: 3px 10px; border-radius: 12px; color: #fff; white-space: nowrap; }
.star-stats .stat-tag.tianyi  { background: #8a9e7a; }
.star-stats .stat-tag.yannian { background: #6e8e8a; }
.star-stats .stat-tag.shengqi { background: #9aad8a; }
.star-stats .stat-tag.fuwei   { background: #1A3D63; }
.star-stats .stat-tag.jueming { background: #b0867a; }
.star-stats .stat-tag.wugui   { background: #8a7a9e; }
.star-stats .stat-tag.liusha  { background: #b8967a; }
.star-stats .stat-tag.huohai  { background: #8B4513; }

.star-summary { text-align: center; font-size: 13px; color: #8B4513; max-width: 500px; margin: 0 auto; line-height: 1.6; }

/* 吉凶比例条 */
.balance-bar { display: flex; max-width: 400px; margin: 10px auto; height: 6px; border-radius: 3px; overflow: hidden; }
.balance-bar .ji { background: #8a9e7a; transition: width .4s; }
.balance-bar .xiong { background: #b0867a; transition: width .4s; }

/* AI 内联解读区（在星位可视化下方） */
.ai-inline-box { max-width: 680px; margin: 12px auto 0; }
.ai-inline-btns { text-align: center; margin-bottom: 8px; }
.btn-full-report { padding: 8px 28px; font-size: 14px; font-family: "MiSans", sans-serif; font-weight: 300; background: var(--color-btn-dark); color: var(--color-vip-gold); border: none; border-radius: 8px; cursor: pointer; transition: all .2s; }
.btn-full-report:hover { background: var(--color-btn-dark); color: var(--color-vip-gold); }
.ai-inline-result { background: var(--color-parchment); border: 1px solid var(--color-border-warm); border-radius: 8px; padding: 16px; min-height: 100px; max-height: 600px; overflow-y: auto; font-size: 13px; color: #8B4513; line-height: 1.8; text-align: left; }
.ai-placeholder { color: #bbb; font-size: 13px; text-align: center; padding: 30px 0; }
.ai-dim-label { font-size: 13px; color: #8B4513; font-weight: 700; margin-bottom: 8px; }
.ai-disclaimer { text-align: center; font-size: 11px; color: #bbb; margin-top: 6px; }

/* ── 报告内容排版（参考紫微侧边栏风格）── */
.report-body { text-align: left; line-height: 1.9; font-size: 14px; color: var(--color-text); }
/* 大标题 ## — 蓝色圆角块 */
.report-body h3 { font-size: 18px; font-weight: 700; color: #1A3D63; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 2px solid #5b8db8; }
/* 小标题 ### — 彩色圆角标签 */
.report-body h4 { font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 14px; margin: 16px 0 10px; display: inline-block; }
.report-body h4.c1 { color: var(--color-danger); background: var(--color-parchment); border: 1px solid #f5c6c2; }
.report-body h4.c2 { color: #7d3c98; background: #f5f0fa; border: 1px solid #d7c4e8; }
.report-body h4.c3 { color: #1A3D63; background: var(--color-subtle); border: 1px solid #c5d9ed; }
.report-body h4.c4 { color: #2D8A2D; background: var(--color-subtle); border: 1px solid #b8dcc8; }
.report-body h4.c5 { color: #B8860B; background: var(--color-parchment); border: 1px solid #f0d4a0; }
.report-body h4.c6 { color: #8e44ad; background: #f9f0fc; border: 1px solid #e0c8f0; }
/* 小小标题 #### */
.report-body h5 { font-size: 13px; font-weight: 700; color: var(--color-text-sec); margin: 12px 0 6px; border-left: 3px solid #5b8db8; padding-left: 8px; }
/* 列表 */
.report-body li { margin-left: 16px; line-height: 1.8; }
/* 表格 */
.report-body table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 13px; }
.report-body td, .report-body th { padding: 8px 12px; border: 1px solid var(--color-border-warm); text-align: left; }
.report-body th { background: #f5efe5; font-weight: 700; color: #8B4513; }
/* 引用 */
.report-body blockquote { color: var(--color-star-sub); border-left: 3px solid var(--color-gold); padding: 8px 16px; margin: 12px 0; background: var(--color-parchment); border-radius: 0 6px 6px 0; }
/* 分割线 */
.report-body hr { border: none; border-top: 1px solid var(--color-border-light); margin: 20px 0; }
/* 强调 */
.report-body strong { color: #8B4513; }

/* ── 可见性控制（JS 只切 class）── */
#starResultCard { display: none; }
#starResultCard.is-visible { display: block; }
.phone-input-wrap.is-hidden { display: none; }
.login-form-panel { display: none; }
.login-form-panel.is-active { display: block; }

/* ── 文案排版 ── */
.stat-summary-text { text-align: center; font-size: 11px; color: var(--color-star-sub); }
.ai-signature { text-align: right; color: #c9a96e; margin-top: 20px; font-size: 12px; }
.ai-error { color: #c62828; }
.auth-action { cursor: pointer; text-decoration: none; }
.report-body h2 { color: var(--color-dark); margin: 24px 0 12px; font-weight: 700; text-align: center; }

/* ── VIP 按钮 ── */
.qbtn.q-vip {
  width: 34px; height: 24px; border: none; background: #1a1a1a; color: var(--color-gold);
  font-size: 12px; font-weight: 800; cursor: pointer; border-radius: 15px;
  vertical-align: middle; font-family: 'Proza','MiSans',sans-serif;
}
.qbtn.q-vip:hover { background: #2a2a2a; color: #f0d060; }

/* ── VIP 功能弹窗 ── */
  .vip-item-right { flex-direction: row; align-items: center; gap: 10px; width: 100%; justify-content: flex-end; }
}

/* 响应式 */
@media (max-width: 600px) {
  .dlr-digit { font-size: 14px; }
  .phone-cells input { width: 24px; height: 32px; font-size: 14px; }
}
