/* 靓永吉起名业务 - 前台样式（与 iUX 主题协调：米白底 + 朱红/鎏金） */
.lyb-form-wrap, .lyb-result, .lyb-query, .lyb-names, .lyb-detail { max-width: 860px; margin: 0 auto; padding: 10px 0; }
.lyb-error { background: #fdecea; border: 1px solid #f5c6c0; color: #b03a2e; padding: 10px 14px; border-radius: 6px; margin: 10px 0; }
.lyb-card { background: #fff; border: 1px solid #eee2cf; border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.lyb-card-title { margin: 0 0 12px; padding-left: 10px; border-left: 4px solid #a33327; font-size: 17px; color: #5a2d1f; }
.lyb-lock { display: inline-block; font-size: 12px; color: #fff; background: #c8a45d; border-radius: 4px; padding: 1px 8px; vertical-align: middle; margin-left: 6px; }

/* 表单 */
.lyb-form .lyb-row { display: flex; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.lyb-label { width: 86px; color: #5a2d1f; font-weight: 600; }
.lyb-input { height: 40px; border: 1px solid #ddd; border-radius: 6px; padding: 0 12px; width: 300px; font-size: 15px; max-width: 100%; }
.lyb-select { height: 40px; border: 1px solid #ddd; border-radius: 6px; padding: 0 8px; font-size: 15px; background: #fff; margin-right: 8px; }
.lyb-date { display: flex; flex-wrap: wrap; }
.lyb-radios { display: flex; }
.lyb-radio { margin-right: 18px; cursor: pointer; color: #555; user-select: none; }
.lyb-radio i { display: inline-block; width: 16px; height: 16px; border: 2px solid #c8a45d; border-radius: 50%; margin-right: 6px; vertical-align: -3px; }
.lyb-radio.on { color: #a33327; }
.lyb-radio.on i { border-color: #a33327; background: #a33327; box-shadow: inset 0 0 0 3px #fff; }
.lyb-btn { display: inline-block; background: #a33327; color: #fff !important; border: 0; border-radius: 6px; padding: 12px 26px; font-size: 16px; cursor: pointer; text-decoration: none !important; }
.lyb-btn:hover { background: #8c2b21; }
.lyb-btn-wx { background: #07c160; } .lyb-btn-wx:hover { background: #06ad56; }
.lyb-btn-ali { background: #1677ff; } .lyb-btn-ali:hover { background: #0f66e0; }
.lyb-submit-row { justify-content: center; margin-top: 18px; }
.lyb-pay-tip { font-size: 12px; color: #999; margin: 8px 0 0; }

/* 表格 */
.lyb-table { width: 100%; border-collapse: collapse; margin: 6px 0; }
.lyb-table th { background: #fdf6ec; color: #7a4a2e; padding: 8px 10px; border: 1px solid #eee2cf; text-align: left; width: 90px; font-weight: 600; }
.lyb-table td { padding: 8px 10px; border: 1px solid #eee2cf; color: #444; line-height: 1.7; }
.lyb-table tr:nth-child(even) td { background: #fffdf8; }

/* 五行比例条 */
.lyb-qr-row { display: flex; align-items: center; margin: 5px 0; }
.lyb-qr-name { width: 110px; font-size: 13px; color: #666; }
.lyb-qr-bar { flex: 1; display: flex; }
.lyb-bar { display: inline-block; width: 8px; height: 14px; margin-right: 2px; border-radius: 2px; }
.lyb-bar-j { background: #d4af37; } .lyb-bar-m { background: #2e8b57; } .lyb-bar-s { background: #2563eb; } .lyb-bar-h { background: #dc2626; } .lyb-bar-t { background: #b45309; }
.lyb-qr-val { width: 56px; text-align: right; font-size: 13px; color: #a33327; }
.lyb-zhbar { display: inline-flex; }
.lyb-zh-i { width: 2px; height: 11px; background: #a33327; margin-right: 1px; }

/* 支付卡 */
.lyb-order-card { background: #fff; border: 1px solid #eee2cf; border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.lyb-order-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; color: #555; }
.lyb-price { color: #dc2626; font-size: 20px; font-style: normal; font-weight: 700; }
.lyb-oldprice { color: #999; }
.lyb-pay-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lyb-paid-tip { font-size: 15px; color: #16a34a; }

/* 锁定遮罩 */
.lyb-analysis { position: relative; }
.lyb-lock-mask { position: absolute; left: 0; right: 0; bottom: 0; top: 52px; background: rgba(255,253,248,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 0 0 10px 10px; }
.lyb-lock-text { font-size: 15px; color: #7a4a2e; margin-bottom: 14px; line-height: 1.8; }

/* 名字列表 */
.lyb-name-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.lyb-name-item { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border: 1px solid #eee2cf; border-radius: 8px; text-decoration: none !important; transition: all .2s; background: #fffdf8; }
.lyb-name-item:hover { border-color: #c8a45d; box-shadow: 0 2px 8px rgba(168,85,39,.12); transform: translateY(-2px); }
.lyb-name-cn { font-size: 22px; color: #a33327; font-weight: 700; }
.lyb-name-score { font-size: 12px; color: #c8a45d; margin-top: 4px; }
.lyb-pager { display: flex; justify-content: center; gap: 12px; align-items: center; margin: 14px 0; }
.lyb-pageinfo { color: #7a4a2e; font-weight: 600; }
.lyb-count { font-size: 12px; color: #999; margin-left: 8px; }
.lyb-empty { color: #999; padding: 20px; text-align: center; }

/* 姓名详情 */
.lyb-detail-hero { display: flex; align-items: center; gap: 20px; }
.lyb-score-big { font-size: 58px; color: #dc2626; font-weight: 700; line-height: 1; }
.lyb-score-big small { font-size: 18px; color: #999; }
.lyb-wuge th { width: auto; }
.lyb-jiexi hr { border: 0; border-top: 1px dashed #ddd; margin: 14px 0; }
.lyb-jx-title { color: #5a2d1f; font-weight: 600; }
.lyb-jx-sl { color: #2563eb; margin: 4px 0; }
.lyb-jx-desc { color: #555; line-height: 1.8; }

/* 最新资讯 */
.lyb-news-list { list-style: none; margin: 0; padding: 0; }
.lyb-news-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #eee2cf; }
.lyb-news-list a { color: #5a2d1f; text-decoration: none; }
.lyb-news-list a:hover { color: #a33327; }
.lyb-news-date { color: #bbb; font-size: 12px; white-space: nowrap; }

/* 移动端 */
@media (max-width: 640px) {
  .lyb-label { width: 100%; margin-bottom: 4px; }
  .lyb-input { width: 100%; }
  .lyb-select { margin-bottom: 6px; }
  .lyb-order-meta { gap: 8px; }
  .lyb-table th { width: 74px; }
  .lyb-detail-hero { flex-direction: column; text-align: center; }
}
