/* ===========================================================
   五大增强模块公共样式（命盘簿弹层 / 命格签海报 / 双人合盘 / 带盘预约）
   =========================================================== */

/* 1. 排盘结果页五页签适配与快捷工具条（保存命盘 / 命盘簿 / 生成命格签 / 双人合盘） */
body.page-chart #resultPanel .result-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
body.page-chart #resultPanel .result-tabs-ink {
  width: calc(100% / 5) !important;
}
@media (max-width: 420px) {
  body.page-chart #resultPanel .result-tabs button {
    font-size: 12.5px;
    padding-left: 2px;
    padding-right: 2px;
  }
}
.lq-entry-book-bar {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 8px;
}
.lq-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 0 4px;
  align-items: center;
}
.lq-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 99px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card, #fffdf9);
  color: var(--ink-2, #3c3b37);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.lq-quick-btn:hover {
  border-color: var(--gold, #9a7132);
  color: var(--ink, #1d1e1c);
}
.lq-quick-btn.is-accent {
  background: var(--jade-soft, #eaf2f0);
  border-color: var(--jade-line, rgba(18, 61, 58, .25));
  color: var(--jade, #123d3a);
  font-weight: 600;
}
.lq-quick-btn.is-seal {
  background: rgba(156, 43, 34, .06);
  border-color: rgba(156, 43, 34, .25);
  color: var(--red, #9c2b22);
  font-weight: 600;
}

/* 2. 命盘簿与命格签通用模态弹层（移动端自动底部抽屉化） */
.lqb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 22, 20, .56);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
}
.lqb-dialog,
.lqb-dialog * {
  box-sizing: border-box;
}
.lqb-dialog {
  width: min(560px, 100%);
  max-height: min(86vh, 760px);
  background: var(--paper, #f6f2e9);
  border: 1px solid var(--gold-line, #d4bc8e);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .24);
}
.lqb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--card, #fffdf9);
  border-bottom: 1px solid var(--line-soft, #ebe4d6);
}
.lqb-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 0;
  color: var(--ink, #1d1e1c);
}
.lqb-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line, #e2dbce);
  background: transparent;
  color: var(--ink-2, #4a4a46);
  font-size: 14px;
  cursor: pointer;
}
.lqb-body {
  padding: 18px 20px 22px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
  min-width: 0;
}
.lqb-summary {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card, #fffdf9);
  border: 1px solid var(--line-soft, #ebe4d6);
  font-size: 13.5px;
  color: var(--jade, #123d3a);
  font-weight: 600;
}
.lqb-form {
  display: grid;
  gap: 14px;
}
.lqb-field {
  display: grid;
  gap: 6px;
}
.lqb-field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2, #4a4a46);
}
.lqb-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card, #fffdf9);
  font-size: 14px;
}
.lqb-tags, .lqb-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lqb-tag-chip, .lqb-fbtn {
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card, #fffdf9);
  font-size: 12.5px;
  color: var(--ink-2, #4a4a46);
  cursor: pointer;
}
.lqb-tag-chip.active, .lqb-fbtn.active {
  background: var(--jade, #123d3a);
  border-color: var(--jade, #123d3a);
  color: #fff;
  font-weight: 600;
}
.lqb-hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3, #7c7a72);
  line-height: 1.6;
}
.lqb-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.lqb-book-top {
  display: grid;
  gap: 10px;
}
.lqb-search {
  width: 100%;
  padding: 9px 14px;
  border-radius: 99px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card, #fffdf9);
  font-size: 13.5px;
}
.lqb-sync-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(18, 61, 58, .07);
  font-size: 13px;
  color: var(--jade, #123d3a);
}
.lqb-sync-bar.is-guest {
  background: rgba(154, 113, 50, .1);
  color: var(--gold, #9a7132);
}
.lqb-link {
  font-weight: 600;
  color: inherit;
}
.lqb-list {
  display: grid;
  gap: 10px;
}
.lqb-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--card, #fffdf9);
  border: 1px solid var(--line-soft, #ebe4d6);
}
.lqb-card-main {
  flex: 1 1 220px;
  display: grid;
  gap: 3px;
}
.lqb-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lqb-card-head b {
  font-family: var(--serif);
  font-size: 16.5px;
  color: var(--ink, #1d1e1c);
}
.lqb-badge {
  font-size: 11.5px;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--jade-soft, #eaf2f0);
  color: var(--jade, #123d3a);
  font-weight: 600;
}
.lqb-card-head small {
  font-size: 12px;
  color: var(--ink-3, #7c7a72);
}
.lqb-bazi {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--red, #9c2b22);
  font-weight: 600;
}
.lqb-bazi em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--gold, #9a7132);
  font-weight: 500;
}
.lqb-meta, .lqb-note {
  font-size: 12.5px;
  color: var(--ink-3, #7c7a72);
}
.lqb-card-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.lqb-mini {
  padding: 5px 12px !important;
  font-size: 12.5px !important;
  min-height: 30px !important;
}
.lqb-del {
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-3, #7c7a72);
  font-size: 12px;
  cursor: pointer;
}
.lqb-del:hover {
  color: var(--red, #9c2b22);
  background: rgba(156, 43, 34, .06);
}
.lqb-empty {
  text-align: center;
  padding: 28px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3, #7c7a72);
}

/* 3. 命格签海报弹层 */
.lqp-dialog {
  width: min(460px, 100%);
  max-width: 100%;
}
.lqp-body {
  justify-items: center;
  text-align: center;
}
.lqp-stage {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  background: #ede6d7;
  border-radius: 14px;
  padding: 10px;
}
.lqp-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  display: block;
}
.lqp-tip {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2, #4a4a46);
}
.lqp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* 4. 双人合盘（婚恋合婚 / 事业合伙） */
.hp-root {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.hp-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hp-mode-btn {
  display: grid;
  gap: 3px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--line, #e2dbce);
  background: var(--card, #fffdf9);
  cursor: pointer;
}
.hp-mode-btn b {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink, #1d1e1c);
}
.hp-mode-btn small {
  font-size: 12px;
  color: var(--ink-3, #7c7a72);
}
.hp-mode-btn.active {
  background: linear-gradient(145deg, rgba(18, 61, 58, .07), var(--card, #fffdf9));
  border-color: var(--jade, #123d3a);
  box-shadow: inset 0 0 0 1px var(--jade, #123d3a);
}
.hp-mode-btn.active b {
  color: var(--jade, #123d3a);
}
.hp-guide-card {
  background: var(--card, #fffdf9);
  border: 1px solid var(--gold-line, #d4bc8e);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  display: grid;
  gap: 12px;
}
.hp-eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold, #9a7132);
  font-weight: 600;
}
.hp-guide-card h3 {
  font-family: var(--serif);
  font-size: clamp(19px, 3.6vw, 23px);
  line-height: 1.45;
  margin: 0;
  color: var(--ink, #1d1e1c);
}
.hp-lead {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-2, #4a4a46);
}
.hp-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hp-point {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card-soft, #faf6ee);
  border: 1px solid var(--line-soft, #ebe4d6);
  display: grid;
  gap: 5px;
  align-content: start;
}
.hp-point b {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--jade, #123d3a);
}
.hp-point p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-2, #4a4a46);
}
.hp-guide-note {
  margin: 0;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(241, 232, 215, .45);
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-2, #4a4a46);
}

.hp-form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hp-form-head small {
  font-size: 12px;
  color: var(--ink-3, #7c7a72);
}
.hp-form-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 2px 0 0;
}
.hp-party-a-bar {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--jade-soft, #eaf2f0);
  color: var(--jade, #123d3a);
  font-size: 13.5px;
}
.hp-b-sheet {
  display: grid;
  gap: 14px;
}
.hp-b-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.hp-b-dt-row {
  grid-template-columns: 160px minmax(0, 1fr);
}
.hp-field {
  display: grid;
  gap: 6px;
}
.hp-field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2, #4a4a46);
}
.hp-field input[type="text"],
.hp-field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card-soft, #faf6ee);
  font-size: 14.5px;
  color: var(--ink, #1d1e1c);
}
.hp-seg-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 3px;
  border-radius: 12px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card-soft, #faf6ee);
  gap: 4px;
}
.hp-seg-pill {
  margin: 0;
  cursor: pointer;
}
.hp-seg-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hp-seg-pill b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2, #4a4a46);
  transition: background .16s ease, color .16s ease;
}
.hp-seg-pill input:checked + b {
  background: var(--jade, #123d3a);
  color: #fff;
  font-weight: 600;
}
.hp-cal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 3px;
  border-radius: 12px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card-soft, #faf6ee);
  gap: 4px;
}
.hp-cal-btn {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink-2, #4a4a46);
  cursor: pointer;
}
.hp-cal-btn.active {
  background: var(--jade, #123d3a);
  color: #fff;
  font-weight: 600;
}
.hp-dt-trigger {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--gold-line, #d4bc8e);
  background: var(--card-soft, #faf6ee);
  color: var(--ink, #1d1e1c);
  font: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.hp-dt-trigger:hover {
  border-color: var(--jade, #123d3a);
  background: var(--card, #fffdf9);
}
.hp-dt-date {
  font-size: 15px;
  color: var(--ink, #1d1e1c);
}
.hp-dt-date b {
  font-weight: 700;
}
.hp-dt-date i {
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink-3, #7c7a72);
  margin: 0 2px;
}
.hp-dt-time {
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--jade-soft, #eaf2f0);
  color: var(--jade, #123d3a);
  font-size: 13px;
  font-weight: 600;
}
.hp-dt-chev {
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
  color: var(--gold, #9a7132);
}
.picker-sheet > header .hp-picker-close {
  font-size: 30px;
  text-align: left;
}
.picker-sheet > header .hp-picker-confirm {
  color: var(--gold-dark, #7f5a22);
  font-weight: var(--fw-medium, 500);
}
.hp-submit-btn {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
}

.hp-result-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.hp-party-box {
  display: grid;
  gap: 10px;
}
.hp-party-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-role {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--jade-soft, #eaf2f0);
  color: var(--jade, #123d3a);
}
.hp-party-head small {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3, #7c7a72);
}
.hp-pgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: var(--card, #fffdf9);
  border: 1px solid var(--line-soft, #ebe4d6);
}
.hp-pcol {
  display: grid;
  gap: 2px;
}
.hp-pcol small {
  font-size: 11px;
  color: var(--ink-3, #7c7a72);
}
.hp-pcol em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--ink-2, #4a4a46);
}
.hp-pcol b {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
}
.hp-party-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hp-party-tags span {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 99px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card, #fffdf9);
}

.hp-wx-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3, #7c7a72);
}
.hp-wx-chart {
  display: grid;
  gap: 8px;
}
.hp-wx-row {
  display: grid;
  grid-template-columns: 38px 1fr 28px 1fr 38px;
  align-items: center;
  gap: 8px;
}
.hp-wx-row > b {
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
}
.hp-wx-val {
  font-size: 12px;
  color: var(--ink-2, #4a4a46);
  text-align: center;
}
.hp-wx-bar {
  height: 10px;
  background: var(--paper-2, #ebe4d6);
  border-radius: 99px;
  overflow: hidden;
  display: flex;
}
.hp-wx-bar.is-left {
  justify-content: flex-end;
}
.hp-wx-bar i {
  display: block;
  height: 100%;
  background: var(--c, var(--jade));
  border-radius: 99px;
}
.hp-cliff {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(154, 113, 50, .1);
  border-left: 3px solid var(--gold, #9a7132);
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-2, #4a4a46);
}
.hp-cliff-inline {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line, #e2dbce);
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold, #9a7132);
}

.hp-lock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.hp-lock-card {
  padding: 15px;
  border-radius: 16px;
  background: var(--card, #fffdf9);
  border: 1px solid var(--line-soft, #ebe4d6);
  display: grid;
  gap: 8px;
  align-content: start;
}
.hp-lock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.hp-lock-top small {
  font-size: 11.5px;
  color: var(--gold, #9a7132);
  font-weight: 600;
}
.hp-lock-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(156, 43, 34, .08);
  color: var(--red, #9c2b22);
  font-weight: 600;
}
.hp-lock-card h4 {
  font-family: var(--serif);
  font-size: 16.5px;
  margin: 0;
  color: var(--ink, #1d1e1c);
}
.hp-lock-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2, #4a4a46);
}
.hp-blur-lines {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  opacity: .55;
}
.hp-blur-lines span {
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, #dfd6c5, #efe9dd);
  filter: blur(1px);
}
.hp-blur-lines span.w75 {
  width: 72%;
}
.hp-cmd-box {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card-soft, #faf6ee);
  border: 1px dashed var(--gold-line, #d4bc8e);
}
.hp-cmd-label {
  font-size: 12px;
  color: var(--gold, #9a7132);
  font-weight: 600;
  margin-bottom: 6px;
}
.hp-cmd-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink, #1d1e1c);
}
.hp-wx-btns, .hp-teaser-acts, .wx-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.hp-teaser-banner {
  border-color: var(--gold-line, #d4bc8e);
}

/* 5. 预约页已关联命盘卡片 */
.bk-chart-banner {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(18, 61, 58, .07), #fffdf9);
  border: 1px solid var(--jade-line, rgba(18, 61, 58, .25));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bk-chart-info b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--jade, #123d3a);
}
.bk-chart-info span {
  font-size: 13.5px;
  color: var(--ink-2, #4a4a46);
}

@media (max-width: 760px) {
  .lqb-overlay {
    align-items: end;
    padding: 0;
  }
  .lqb-dialog {
    width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
  }
  .hp-mode-switch,
  .hp-points,
  .hp-b-row,
  .hp-b-dt-row,
  .hp-lock-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 6. 白名单/站长专享全量解锁内参区（2026-11-18） */
.ms-unlock-zone {
  margin-top: 18px;
  padding: 20px 18px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
  background: linear-gradient(165deg, #fffdf8 0%, #f8f2e4 100%);
  border: 1.5px solid var(--gold-line, #cfb27c);
  box-shadow: 0 10px 28px rgba(24, 34, 32, .06);
}
.ms-unlock-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--gold-line, #d4bc8e);
}
.ms-unlock-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold, #8f6826);
  background: rgba(154, 113, 50, .12);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
}
.ms-unlock-head h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink, #1d1e1c);
}
.ms-unlock-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2, #4a4a46);
}
.ms-unlock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.ms-score-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #fffdf9;
  border: 1px solid rgba(156, 43, 34, .22);
}
.ms-score-seal {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: linear-gradient(145deg, #a62c22, #7f1f17);
  color: #fffdf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(156, 43, 34, .22);
}
.ms-score-seal b {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.05;
}
.ms-score-seal small {
  font-size: 11px;
  opacity: .9;
}
.ms-score-copy {
  flex: 1 1 210px;
}
.ms-score-copy h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 17.5px;
  color: var(--red, #9c2b22);
}
.ms-score-copy p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink-2, #42423e);
}
.ms-topic-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}
.ms-topic-card {
  padding: 16px 16px 14px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fffdf9;
  border: 1px solid var(--line-soft, #e8e0d0);
}
.ms-topic-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.ms-topic-top small {
  display: block;
  font-size: 12px;
  color: var(--ink-3, #7c7a72);
}
.ms-topic-top h3 {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--jade, #123d3a);
}
.ms-topic-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--jade-soft, #eaf2f0);
  color: var(--jade, #123d3a);
}
.ms-bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ms-bullet-list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(244, 239, 228, .55);
  font-size: 13.8px;
  line-height: 1.72;
  color: var(--ink, #1d1e1c);
}
.ms-bullet-list li b {
  color: var(--jade, #123d3a);
}
.ms-sync-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid var(--line-soft, #e6decb);
  background: #fff;
}
.ms-sync-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ms-sync-table th,
.ms-sync-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #f0eadc;
  text-align: left;
  vertical-align: top;
}
.ms-sync-table th {
  background: #f8f4ea;
  font-weight: 700;
  color: var(--ink-2, #4a4a46);
  white-space: nowrap;
}
.ms-sync-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 640px) {
  .ms-unlock-zone {
    padding: 16px 14px;
  }
  .ms-topic-card {
    padding: 14px 12px;
  }
  .ms-sync-table thead {
    display: none;
  }
  .ms-sync-table,
  .ms-sync-table tbody,
  .ms-sync-table tr,
  .ms-sync-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .ms-sync-table tr {
    padding: 10px 12px;
    border-bottom: 1px solid #eee6d6;
  }
  .ms-sync-table tr:last-child {
    border-bottom: none;
  }
  .ms-sync-table td {
    padding: 3px 0;
    border: none;
  }
  .ms-sync-table td:nth-child(1) br {
    display: none;
  }
  .ms-sync-table td:nth-child(1) small {
    margin-left: 6px;
    color: var(--ink-3, #7c7a72);
  }
  .ms-sync-table td:nth-child(2),
  .ms-sync-table td:nth-child(3) {
    display: inline-block;
    width: auto;
    margin-right: 8px;
  }
  .ms-sync-table td:nth-child(2)::before {
    content: "甲：";
    font-size: 12px;
    color: var(--ink-3, #7c7a72);
  }
  .ms-sync-table td:nth-child(3)::before {
    content: "乙：";
    font-size: 12px;
    color: var(--ink-3, #7c7a72);
  }
  .ms-sync-table td:nth-child(4) {
    margin-top: 4px;
  }
}
.ms-sync-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ms-sync-pill.tone-good {
  background: #e6f4ee;
  color: #166544;
}
.ms-sync-pill.tone-mid,
.ms-sync-pill.tone-flat {
  background: #f4efe2;
  color: #7c5c20;
}
.ms-sync-pill.tone-bad {
  background: #fbeae8;
  color: #9c2b22;
}
.ms-note-foot {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3, #7c7a72);
}
.acct-wl-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  color: #8a621c;
  background: linear-gradient(90deg, rgba(212, 175, 95, .22), rgba(212, 175, 95, .10));
  border: 1px solid rgba(180, 138, 56, .45);
}

/* 7. 页内免跳转快捷登录抽屉（LqQuickAuth）+ 基础排盘快速电梯条与结果菜单分组 */
.lqa-dialog {
  width: min(440px, 100%);
}
.lqa-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2, #4a4a46);
}
.lqa-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 3px;
  border-radius: 11px;
  background: var(--card-soft, #faf6ee);
  border: 1px solid var(--line, #e2dbce);
  gap: 4px;
}
.lqa-tab {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2, #4a4a46);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.lqa-tab.active {
  background: var(--jade, #123d3a);
  color: #fff;
  font-weight: 600;
}
.lqa-form {
  display: grid;
  gap: 12px;
}
.lqa-code-row {
  display: flex;
  gap: 8px;
}
.lqa-code-row input {
  flex: 1;
  min-width: 0;
}
.lqa-send-btn {
  white-space: nowrap;
  padding: 0 12px;
  min-height: 42px;
  font-size: 13px;
}
.lqa-consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3, #7c7a72);
  cursor: pointer;
}
.lqa-consent input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--jade, #123d3a);
  flex-shrink: 0;
}
.lqa-consent a {
  color: var(--jade, #123d3a);
  text-decoration: underline;
}
.lqa-msg {
  margin: 0;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 12.5px;
}
.lqa-msg.is-err {
  background: #fbeae8;
  color: #9c2b22;
}
.lqa-msg.is-ok {
  background: #e6f4ee;
  color: #166544;
}
.lqa-submit {
  width: 100%;
  min-height: 44px;
  font-size: 15px;
}

.basic-jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 12px;
  align-items: center;
}
.basic-jump-chip {
  padding: 4px 11px;
  border-radius: 99px;
  border: 1px solid var(--line, #e2dbce);
  background: var(--card, #fffdf9);
  color: var(--ink-2, #4a4a46);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: none;
}
.basic-jump-chip:hover {
  border-color: var(--gold, #9a7132);
  color: var(--ink, #1d1e1c);
}
.basic-jump-chip.is-highlight {
  background: var(--jade-soft, #eaf2f0);
  border-color: rgba(18, 61, 58, .25);
  color: var(--jade, #123d3a);
  font-weight: 600;
}
.basic-novice-guide {
  margin: 10px 0 4px;
  padding: 9px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(212, 188, 142, .18), rgba(250, 246, 238, .6));
  border: 1px solid var(--gold-line, #d4bc8e);
  font-size: 13px;
  color: var(--ink-2, #4a4a46);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.basic-novice-guide button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--jade, #123d3a);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.result-more-divider {
  height: 1px;
  margin: 4px 8px;
  background: var(--line-soft, #ebe4d6);
}
.result-more-menu a.menu-nav-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-2, #4a4a46);
  text-decoration: none;
}
.result-more-menu a.menu-nav-item:hover {
  background: var(--paper, #f6f2e9);
  color: var(--jade, #123d3a);
}
