/* 社区 / 书籍 / 个人中心 样式 */
:root {
    --sq-main: #B23B31;
    --sq-main-dark: #8A2B22;
    --sq-gold: #C9A15A;
    --sq-bg: #FBF7EF;
    --sq-card: #ffffff;
    --sq-text: #2B2B2B;
    --sq-muted: #8A7A63;
    --sq-line: #EFE7D5;
}

body {
    background: var(--sq-bg);
}

.sq-page {
    max-width: 750px;
    margin: 0 auto;
    padding: 12px 14px 80px;
    color: var(--sq-text);
    font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* 顶部 */
.sq-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #5C1B1B 0%, #8A2B22 55%, #B0452C 100%);
    border-radius: 14px;
    padding: 18px 18px;
    color: #F7E7BE;
    box-shadow: 0 8px 22px rgba(138, 43, 34, .22);
}

.sq-hero .hero-title {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: 1px;
}

.sq-hero .hero-sub {
    margin: 0;
    font-size: 12px;
    opacity: .78;
    letter-spacing: .5px;
}

.sq-hero .hero-score {
    text-align: center;
    min-width: 74px;
}

.sq-hero .hero-score b {
    display: block;
    font-size: 26px;
    line-height: 1.1;
    color: #FFE7B0;
}

.sq-hero .hero-score span {
    font-size: 11px;
    opacity: .75;
}

/* 签到条 */
.sq-checkin {
    margin-top: 12px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sq-checkin b {
    font-size: 15px;
    color: var(--sq-main);
    display: block;
}

.sq-checkin span {
    font-size: 12px;
    color: var(--sq-muted);
}

.ck-btn {
    border: 0;
    border-radius: 20px;
    padding: 9px 16px;
    background: linear-gradient(135deg, #8A2B22, #B0452C);
    color: #FFE7B0;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(138, 43, 34, .28);
}

.ck-btn:disabled {
    background: #E6DED0;
    color: var(--sq-muted);
    box-shadow: none;
}

/* 公告 */
.sq-notice {
    margin-top: 10px;
    font-size: 12px;
    color: #9A7B33;
    background: #FFF8E7;
    border: 1px solid #F3E2B8;
    border-radius: 10px;
    padding: 8px 12px;
    line-height: 1.6;
}

/* 分类 */
.sq-cats {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.sq-cats .cat {
    flex: none;
    padding: 7px 13px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--sq-line);
    color: var(--sq-muted);
    font-size: 13px;
    white-space: nowrap;
}

.sq-cats .cat.on {
    background: var(--sq-main);
    border-color: var(--sq-main);
    color: #fff;
}

/* 列表工具条 */
.sq-tools {
    margin: 14px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sq-tools .sorts {
    display: flex;
    gap: 14px;
    font-size: 13px;
}

.sq-tools .sorts a {
    color: var(--sq-muted);
}

.sq-tools .sorts a.on {
    color: var(--sq-main);
    font-weight: 600;
}

.btn-publish {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #8A2B22, #B0452C);
    color: #FFE7B0 !important;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(138, 43, 34, .25);
}

/* 帖子卡片 */
.post-card {
    background: var(--sq-card);
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    padding: 13px 14px;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 3px 10px rgba(120, 90, 50, .05);
}

.post-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.post-head .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.post-head .nick {
    font-size: 13px;
    color: #5A4A38;
}

.post-head .time {
    font-size: 11px;
    color: #A99B84;
    margin-left: auto;
}

.chip {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 18px;
}

.chip-cat {
    background: #F4ECE0;
    color: #8A6C3A;
}

.chip-bounty {
    background: #FDECEA;
    color: var(--sq-main);
    border: 1px solid #F6C6C2;
}

.chip-chart {
    background: #EAF2FB;
    color: #2B6CB0;
}

.post-title {
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
    margin: 2px 0 6px;
    line-height: 1.45;
}

.post-excerpt {
    font-size: 13px;
    color: #7D7264;
    line-height: 1.65;
    margin: 0 0 8px;
}

.post-foot {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #A99B84;
}

.empty-box {
    text-align: center;
    padding: 50px 0;
    color: #B3A693;
    font-size: 14px;
}

/* 分页 */
.sq-pager {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
}

.sq-pager a,
.sq-pager span {
    display: inline-block;
    margin: 0 3px;
    padding: 5px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--sq-line);
    color: var(--sq-muted);
    text-decoration: none;
}

.sq-pager .cur {
    background: var(--sq-main);
    border-color: var(--sq-main);
    color: #fff;
}

/* 详情 */
.detail-card {
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 14px;
    padding: 16px;
}

.detail-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    margin: 8px 0 10px;
}

.detail-content {
    font-size: 15px;
    line-height: 1.85;
    color: #3A3A3A;
    word-break: break-word;
}

.status-tip {
    margin: 10px 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.status-tip.pending {
    background: #FFF8E7;
    color: #9A7B33;
    border: 1px solid #F3E2B8;
}

.status-tip.rejected {
    background: #FDECEA;
    color: #B23B31;
    border: 1px solid #F6C6C2;
}

/* 四柱卡片 */
.bz-chart {
    margin: 14px 0 4px;
    background: #FBF6EC;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    padding: 10px 10px 8px;
}

.bz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.bz-table th {
    background: #EDE2D0;
    color: #6B5030;
    font-weight: 600;
    padding: 7px 2px;
    text-align: center;
    border: 1px solid #E2D5BF;
    font-size: 12px;
}

.bz-table td {
    border: 1px solid #E9DFCB;
    text-align: center;
    padding: 7px 2px;
    background: #fff;
    vertical-align: middle;
}

.bz-table td.lab {
    background: #F3EADA;
    color: #6B5030;
    font-size: 12px;
    width: 52px;
}

.bz-table td.gz {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.bz-table td.ss {
    color: #B23B31;
    font-size: 13px;
}

.bz-table td.cang {
    font-size: 12px;
    line-height: 1.7;
    padding: 5px 2px;
}

.bz-table td.cang .cg {
    font-weight: 700;
}

.bz-table td.cang .cgss {
    color: #8A7A63;
    margin-right: 3px;
}

.bz-table td.ny,
.bz-table td.kw {
    font-size: 12px;
    color: #5F5445;
}

.bz-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 9px;
    font-size: 12px;
    color: #4A3B2B;
}

.bz-meta em {
    font-style: normal;
    color: var(--sq-muted);
    margin-right: 4px;
}

.bz-foot {
    margin-top: 6px;
    font-size: 11px;
    color: #A99B84;
}

/* 悬赏框 */
.bounty-box {
    margin: 14px 0;
    border: 1px dashed #E3C89B;
    background: #FFFAF0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bounty-box b {
    color: var(--sq-main);
    font-size: 18px;
}

.bounty-box .lab {
    font-size: 12px;
    color: var(--sq-muted);
}

.bounty-box .done {
    font-size: 13px;
    color: #2F855A;
}

/* 操作条 */
.action-bar {
    display: flex;
    gap: 10px;
    margin: 16px 0 6px;
}

.action-bar .act {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 20px;
    border: 1px solid var(--sq-line);
    background: #fff;
    color: #6B5B45;
    font-size: 14px;
    text-decoration: none;
}

.action-bar .act.on {
    color: var(--sq-main);
    border-color: #F2C7C3;
    background: #FFF3F2;
}

/* 评论 */
.comment-head {
    margin: 18px 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #3A2A1A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-head:before {
    content: '';
    width: 3px;
    height: 15px;
    border-radius: 2px;
    background: var(--sq-main);
}

.comment-item {
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 9px;
}

.comment-item .c-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.comment-item .c-head .nick {
    font-size: 13px;
    color: #5A4A38;
}

.comment-item .c-head .time {
    font-size: 11px;
    color: #A99B84;
    margin-left: auto;
}

.comment-item .c-body {
    font-size: 14px;
    line-height: 1.75;
    color: #3A3A3A;
    word-break: break-word;
}

.best-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 4px;
    background: #FFF1D6;
    color: #9A6B00;
    font-size: 11px;
}

.btn-accept {
    margin-left: auto;
    border: 1px solid #F3C9A0;
    background: #FFF7EC;
    color: #B4651B;
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 12px;
}

/* 评论输入 */
.comment-form {
    margin-top: 14px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    padding: 12px;
}

.comment-form textarea {
    width: 100%;
    border: 1px solid #E8DECB;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    min-height: 80px;
    resize: vertical;
    box-sizing: border-box;
    background: #FFFDF8;
}

.comment-form .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.comment-form .hint {
    font-size: 12px;
    color: #A99B84;
}

.btn-main {
    border: 0;
    border-radius: 20px;
    padding: 9px 22px;
    background: linear-gradient(135deg, #8A2B22, #B0452C);
    color: #FFE7B0;
    font-size: 14px;
}

/* 发帖表单 */
.form-card {
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 14px;
    padding: 16px;
}

.form-card .field {
    margin-bottom: 14px;
}

.form-card label {
    display: block;
    font-size: 13px;
    color: #6B5B45;
    margin-bottom: 6px;
}

.form-card input[type=text],
.form-card input[type=number],
.form-card input[type=datetime-local],
.form-card select,
.form-card textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #E8DECB;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    background: #FFFDF8;
    color: #3A3A3A;
}

.form-card textarea {
    min-height: 150px;
    resize: vertical;
}

.form-card .inline {
    display: flex;
    gap: 10px;
}

.form-card .inline > * {
    flex: 1;
}

.form-card .tip {
    font-size: 12px;
    color: #A99B84;
    margin-top: 5px;
    line-height: 1.6;
}

.chart-switch {
    border: 1px dashed #E3C89B;
    background: #FFFAF0;
    border-radius: 10px;
    padding: 12px;
}

.chart-switch .ck {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B5030;
}

.chart-fields {
    margin-top: 10px;
}

/* 个人中心 */
.me-card {
    background: linear-gradient(135deg, #5C1B1B 0%, #8A2B22 60%, #B0452C 100%);
    border-radius: 16px;
    padding: 18px;
    color: #F7E7BE;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(138, 43, 34, .22);
}

.me-card .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 231, 176, .6);
}

.me-card .nick {
    font-size: 18px;
    font-weight: 700;
}

.me-card .meta {
    font-size: 12px;
    opacity: .8;
    margin-top: 4px;
}

.me-stats {
    display: flex;
    margin-top: 12px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    overflow: hidden;
}

.me-stats .item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
}

.me-stats .item + .item {
    border-left: 1px solid var(--sq-line);
}

.me-stats b {
    display: block;
    font-size: 20px;
    color: var(--sq-main);
}

.me-stats span {
    font-size: 12px;
    color: var(--sq-muted);
}

.section-title {
    margin: 20px 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #3A2A1A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title:before {
    content: '';
    width: 3px;
    height: 15px;
    border-radius: 2px;
    background: var(--sq-main);
}

.list-row {
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #4A3B2B;
}

.list-row .grow {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-row .val {
    font-size: 15px;
    font-weight: 700;
}

.plus {
    color: #2F855A;
}

.minus {
    color: #C0392B;
}

.tag-status {
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 4px;
    background: #F4ECE0;
    color: #8A6C3A;
}

.tag-status.pending {
    background: #FFF1D6;
    color: #9A6B00;
}

.tag-status.rejected {
    background: #FDECEA;
    color: var(--sq-main);
}

/* 书籍 */
.book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.book-card {
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-card .cover {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background: #F3EADA;
}

.book-card .cover-ph {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #8A2B22, #B0452C);
    color: #FFE7B0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    letter-spacing: 2px;
}

.book-card .info {
    padding: 10px 11px 12px;
}

.book-card .t {
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 1.45;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card .a {
    font-size: 12px;
    color: #A99B84;
}

.book-card .cost {
    margin-top: 6px;
    font-size: 12px;
    color: var(--sq-main);
}

.book-detail-head {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 14px;
    padding: 14px;
}

.book-detail-head .cover {
    width: 110px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    flex: none;
    background: #F3EADA;
}

.book-detail-head .cover-ph {
    width: 110px;
    height: 150px;
    border-radius: 8px;
    flex: none;
    background: linear-gradient(135deg, #8A2B22, #B0452C);
    color: #FFE7B0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    padding: 6px;
    box-sizing: border-box;
}

.book-detail-head .meta h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.4;
}

.book-detail-head .meta p {
    margin: 4px 0;
    font-size: 12px;
    color: #8A7A63;
}

.book-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.book-actions .btn-main {
    flex: 1;
    text-align: center;
}

.book-actions .btn-ghost {
    flex: 1;
    text-align: center;
    padding: 9px 0;
    border-radius: 20px;
    border: 1px solid var(--sq-line);
    background: #fff;
    color: #6B5B45;
    font-size: 14px;
    text-decoration: none;
}

.rich-text {
    font-size: 14px;
    line-height: 1.85;
    color: #3A3A3A;
    word-break: break-word;
}

/* 移动端适配 */
@media (max-width: 420px) {
    .book-grid {
        gap: 10px;
    }

    .book-card .cover,
    .book-card .cover-ph {
        height: 130px;
    }

    .post-title {
        font-size: 15px;
    }
}

/* 个人中心快捷入口 */
.me-quick{display:flex;margin-top:12px;background:#fff;border:1px solid var(--sq-line);border-radius:12px;overflow:hidden;}
.me-quick .q{flex:1;text-align:center;padding:12px 0;text-decoration:none;color:#6B5B45;font-size:12px;}
.me-quick .q + .q{border-left:1px solid var(--sq-line);}
.me-quick .q svg{display:block;width:22px;height:22px;margin:0 auto 5px;fill:none;stroke:#B23B31;stroke-width:1.7;}

/* ===== 发帖-排盘卡片（新版，公历/农历选择器） ===== */
.chart-card{margin:14px 0;background:#FFFDF8;border:1px solid #EADFCB;border-radius:14px;overflow:hidden;}
.chart-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:13px 15px;background:#FBF3E4;cursor:pointer;}
.chart-card-head input[type=checkbox]{width:16px;height:16px;accent-color:#B23B31;}
.chart-card-title{font-size:14px;font-weight:600;color:#6B4A22;}
.chart-card-sub{font-size:11px;color:#A99B84;}
.chart-fields{display:none;padding:14px 15px 4px;}
.chart-card.open .chart-fields{display:block;}
.chart-row{display:flex;gap:10px;flex-wrap:wrap;}
.chart-item{flex:1 1 45%;min-width:140px;margin-bottom:12px;}
.chart-item-full{flex:1 1 100%;}
.chart-label{display:block;font-size:12px;color:#8A7358;margin-bottom:6px;}
.chart-label-tip{font-size:11px;color:#B9AA92;margin-left:6px;}
.birth-box{background:#fff;border:1px solid #E6D8C2;border-radius:10px;padding:2px 10px;}
.birth-input{width:100%;border:0;outline:0;background:transparent;padding:11px 0;font-size:14px;color:#5C4526;}
.seg{display:flex;background:#F5EEE2;border-radius:9px;padding:3px;}
.seg label{flex:1;position:relative;cursor:pointer;}
.seg input{position:absolute;opacity:0;pointer-events:none;}
.seg span{display:block;text-align:center;padding:7px 0;font-size:13px;color:#8A7358;border-radius:7px;}
.seg input:checked + span{background:#fff;color:#B23B31;font-weight:600;box-shadow:0 1px 3px rgba(120,80,30,.15);}

/* ===== 书籍章节目录 / 阅读页 ===== */
.chapter-list{background:#fff;border:1px solid #EADFCB;border-radius:12px;overflow:hidden;margin-top:6px;}
.chapter-row{display:flex;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid #F2E9DA;text-decoration:none;}
.chapter-row:last-child{border-bottom:0;}
.chapter-row .num{width:24px;height:24px;line-height:24px;text-align:center;border-radius:50%;background:#F7EFE0;color:#A9703A;font-size:12px;flex:0 0 auto;}
.chapter-row .tt{flex:1;color:#4A3826;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.chapter-row .go{color:#B23B31;font-size:12px;}
.reader-page{background:#fff;border-radius:14px;padding:16px 18px;border:1px solid #EADFCB;}
.reader-head{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#8A7358;}
.reader-book{color:#B23B31;text-decoration:none;font-weight:600;}
.reader-tools{margin:10px 0 6px;}
.reader-tools select{width:100%;padding:9px 10px;border:1px solid #E6D8C2;border-radius:9px;background:#FFFDF8;color:#5C4526;font-size:13px;}
.reader-title{font-size:18px;color:#4A3826;margin:14px 0 10px;text-align:center;}
.reader-body{font-size:15px;line-height:1.9;color:#3E3122;word-break:break-word;}
.reader-body p{margin:0 0 12px;}
.reader-nav{display:flex;gap:10px;margin-top:22px;}
.reader-nav .rbtn{flex:1;text-align:center;padding:11px 0;border-radius:10px;border:1px solid #E6D8C2;color:#8A6C3A;text-decoration:none;font-size:14px;background:#FFFDF8;}
.reader-nav .rbtn.primary{background:#B23B31;border-color:#B23B31;color:#fff;}
.reader-nav .rbtn.disabled{opacity:.5;}

/* PDF 在线阅读 */
.pdf-wrap{margin-top:12px;background:#F3EFE6;border-radius:12px;overflow:hidden;}
.pdf-wrap iframe{width:100%;height:78vh;min-height:420px;display:block;border:0;background:#fff;}

/* 出生地三选框 */
.city-row{display:flex;gap:8px;}
.city-row select{flex:1;min-width:0;padding:9px 8px;border:1px solid #E6D8C2;border-radius:9px;background:#fff;color:#5C4526;font-size:13px;}

/* 我的页操作入口 */
.me-card{position:relative;}
.me-phone{font-size:11px;color:#A99B84;margin-top:2px;}
.me-phone .warn{color:#B23B31;}
.me-ops{position:absolute;right:14px;top:14px;display:flex;gap:8px;}
.me-ops a{font-size:12px;color:#8A6C3A;background:#F7EFE0;border-radius:14px;padding:5px 10px;text-decoration:none;white-space:nowrap;}
.me-ops a:last-child{color:#B23B31;background:#FBE9E6;}

/* 当前大运 / 流年 */
.bz-yun{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;padding:12px;background:#FFFDF7;border:1px dashed #E2CFB2;border-radius:10px;}
.bz-yun .yun-item{flex:1 1 160px;min-width:140px;background:#FBF1E0;border-radius:8px;padding:8px 12px;}
.bz-yun .yun-item em{display:block;font-style:normal;font-size:11px;color:#9A8265;margin-bottom:4px;}
.bz-yun .yun-item strong{font-size:20px;line-height:1.1;margin-right:6px;}
.bz-yun .yun-item span{font-size:11px;color:#8A7560;}
.bz-yun .yun-next{flex:1 1 100%;display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
.bz-yun .yun-next em{font-style:normal;font-size:11px;color:#9A8265;margin-right:4px;}
.bz-yun .yun-chip{font-size:11px;background:#fff;border:1px solid #E7D5BB;color:#7A6450;border-radius:12px;padding:3px 8px;}

.bz-yun .yun-all{flex:1 1 100%;}
.bz-yun .yun-all em{display:block;font-style:normal;font-size:11px;color:#9A8265;margin-bottom:6px;}
.bz-yun .yun-track{display:block;font-size:0;line-height:0;}
.bz-yun .yun-cell{display:inline-block;vertical-align:top;text-align:center;min-width:58px;margin:0 6px 6px 0;padding:5px 6px;background:#fff;border:1px solid #E7D5BB;border-radius:7px;font-size:12px;line-height:1.2;}
.bz-yun .yun-cell b{font-size:15px;line-height:1.2;}
.bz-yun .yun-cell small{font-size:10px;color:#A08B70;margin-top:2px;}
.bz-yun .yun-cell.current{background:#8E2F26;border-color:#8E2F26;}
.bz-yun .yun-cell.current b{color:#FFF3DC !important;}
.bz-yun .yun-cell.current small{color:#F3D6B8;}

/* 七列排盘表：日期 + 流年 + 大运 + 四柱，窄屏下压缩字号 */
.bz-table-yun td.gz { font-size: 20px; }
.bz-table-yun td.age { font-size: 12px; line-height: 1.5; color: #8A6A44; }
.bz-table-yun th { font-size: 12px; }
.bz-table-yun td.lab { font-size: 11px; width: 44px; }
/* 意见反馈表单 */
.card-tip { color: #8A6A44; font-size: 13px; margin: 4px 0 14px; }
.field .req { color: #C0392B; }
.field select.input { height: 40px; }

/* ===== 手机端自适应修正 ===== */
/* 我的中心：头像/昵称/操作入口改为上下排列，避免操作按钮盖住昵称和手机号 */
.me-card {
    flex-wrap: wrap;
    align-items: flex-start;
}
.me-card > div:not(.me-ops) {
    flex: 1;
    min-width: 0;
}
.me-ops {
    position: static;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 2px;
}
.me-ops a {
    font-size: 12px;
    padding: 4px 9px;
}

@media (max-width: 600px) {
    .sq-page { padding: 10px 10px 78px; }
    .me-card { padding: 15px 14px; gap: 10px; }
    .me-card .avatar { width: 48px; height: 48px; }
    .me-card .nick { font-size: 16px; }
    .me-card .meta { font-size: 11px; line-height: 1.5; word-break: break-all; }
    .me-ops a { flex: 0 0 auto; }
    .me-stats b { font-size: 18px; }
    .me-quick .q { padding: 10px 0; }

    /* 列表行：标题独占一行，状态和操作另起一行，长标题不再挤压 */
    .list-row { flex-wrap: wrap; gap: 6px 8px; }
    .list-row .grow { flex: 1 1 100%; }
    .list-row .tag-status { margin-left: 0 !important; }

    /* 七列排盘表：缩小字号和间距，整表落在屏幕内 */
    .bz-table-yun th { font-size: 10px; padding: 5px 1px; }
    .bz-table-yun td { padding: 5px 1px; }
    .bz-table-yun td.lab { width: 34px; font-size: 10px; }
    .bz-table-yun td.gz { font-size: 15px; }
    .bz-table-yun td.cang, .bz-table-yun td.ny, .bz-table-yun td.kw { font-size: 10px; }
    .bz-table-yun td.age { font-size: 10px; }

    .book-detail-head { gap: 10px; padding: 12px; }
    .book-detail-head .cover, .book-detail-head .cover-ph { width: 88px; height: 120px; }
    .pdf-wrap iframe { height: 68vh; min-height: 320px; }
    .reader-page { padding: 12px 12px 78px; }
    .reader-body { font-size: 14px; }
}

/* 在线阅读禁止选中复制 */
.reader-body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* 大运排布文字颜色兜底：避免分享图/截图工具把浅色背景上的文字漏掉 */
.bz-yun .yun-all em,
.bz-yun .yun-next em { color: #9A8265; }
.bz-yun .yun-cell { color: #3E2C1C; }
.bz-yun .yun-cell b { color: #3E2C1C; font-weight: 700; }
.bz-yun .yun-cell.current b { color: #FFF3DC; }

/* ===== 意见反馈表单（手机端友好） ===== */
.fb-card {
    max-width: 640px;
    margin: 4px auto 0;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 16px;
    padding: 20px 18px 16px;
    box-shadow: 0 6px 20px rgba(120, 80, 30, .06);
}
.fb-head h3 {
    margin: 0 0 6px;
    font-size: 19px;
    color: #6B4A22;
}
.fb-head p {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.7;
    color: #9A8265;
}
.fb-field { margin-bottom: 16px; }
.fb-field > label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6B5B45;
    margin-bottom: 7px;
}
.fb-req { color: #C0392B; }
.fb-optional { font-weight: 400; color: #B3A28B; font-size: 11px; }
.fb-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #E6D8C2;
    border-radius: 10px;
    background: #FFFDF8;
    color: #4A3826;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.fb-input:focus {
    border-color: #B23B31;
    box-shadow: 0 0 0 3px rgba(178, 59, 49, .08);
    background: #fff;
}
.fb-select {
    height: 44px;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #A98C68 50%), linear-gradient(135deg, #A98C68 50%, transparent 50%);
    background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}
.fb-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.8;
}
.fb-count {
    text-align: right;
    font-size: 11px;
    color: #B3A28B;
    margin-top: 5px;
}
.fb-submit {
    display: block;
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 23px;
    background: linear-gradient(135deg, #8E2F26, #B0452C);
    color: #FFF3DC;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(138, 47, 38, .22);
}
.fb-submit:active { transform: translateY(1px); }
.fb-note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 11px;
    color: #B3A28B;
}
@media (max-width: 600px) {
    .fb-card { border-radius: 14px; padding: 16px 14px 14px; }
    .fb-head h3 { font-size: 17px; }
    .fb-textarea { min-height: 130px; }
}

/* 我的中心：后台反馈回复通知 */
.fb-reply {
    margin-top: 12px;
    background: #fff;
    border: 1px solid #EADCC6;
    border-left: 4px solid #B23B31;
    border-radius: 12px;
    padding: 12px 14px;
}
.fb-reply-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.fb-reply-head b { font-size: 14px; color: #6B4A22; }
.fb-reply-head span { font-size: 11px; color: #A98C68; }
.fb-reply-item { padding: 8px 0; border-top: 1px dashed #EFE2CE; }
.fb-reply-item:first-of-type { border-top: 0; padding-top: 0; }
.fb-reply-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: #A99B84; }
.fb-reply-type { background: #F7EFE0; color: #9A5A32; border-radius: 10px; padding: 2px 7px; font-size: 11px; }
.fb-reply-content { font-size: 12px; color: #7A6450; margin: 5px 0; line-height: 1.6; }
.fb-reply-answer { font-size: 13px; color: #4A3826; background: #FFFBF2; border-radius: 8px; padding: 8px 10px; line-height: 1.7; }
.fb-reply-answer b { color: #B23B31; }

/* 积分明细默认只显示三行，可展开 */
.score-row.score-extra { display: none; }
.score-more { text-align: center; padding: 8px 0 2px; }
.score-more a { font-size: 12px; color: #A9703A; text-decoration: none; }

@media (max-width: 600px) {
    .fb-reply { padding: 10px 12px; }
    .fb-reply-head { flex-wrap: wrap; gap: 2px; }
}

/* 反馈记录 */
.fb-history {
    max-width: 640px;
    margin: 14px auto 0;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 14px;
    padding: 14px 16px;
}
.fb-history-title { font-size: 14px; font-weight: 700; color: #6B4A22; margin-bottom: 6px; }
.fb-history-item { padding: 10px 0; border-top: 1px dashed #EFE2CE; }
.fb-history-item:first-of-type { border-top: 0; }
.fb-history-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #A99B84; }
.fb-done { color: #2E8B57; }
.fb-pending { color: #C98A5A; }
.fb-history-content { font-size: 12px; color: #7A6450; line-height: 1.6; margin-top: 5px; }
.fb-history .fb-reply-answer { margin-top: 6px; }
@media (max-width: 600px) {
    .fb-history { padding: 12px; }
}

/* 评论回复 / 悬赏采纳 */
.comment-reply { margin-left: 26px; border-left: 3px solid #EADCC6; }
.reply-to { font-size: 11px; color: #A9703A; }
.btn-reply, .btn-accept {
    border: 1px solid #F3C9A0;
    background: #FFF7EC;
    color: #B4651B;
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.btn-reply { margin-left: 6px; background: #fff; color: #8A6C3A; border-color: #EADCC6; }
.btn-accept { margin-left: auto; }
.reply-hint {
    font-size: 12px;
    color: #8A6C3A;
    background: #FFF7EC;
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 8px;
}
.reply-hint a { color: #B23B31; margin-left: 6px; }
.bounty-panel {
    background: #FFF4E5;
    border: 1px solid #F3C9A0;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 10px 0;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #7A4A1E;
}
.bounty-panel b { color: #B23B31; }
@media (max-width: 600px) {
    .comment-item .c-head { flex-wrap: wrap; }
    .comment-item .c-head .time { margin-left: 0; }
    .comment-reply { margin-left: 12px; }
}

/* 我的悬赏 / 我的评论 / 评论回复 */
.bounty-wait { color: #B4651B; }
.bounty-paid { color: #2E8B57; }
.best-answer {
    font-size: 12px;
    color: #7A6450;
    background: #FFFBF2;
    border-radius: 8px;
    padding: 5px 8px;
    margin-top: 6px;
}
.row-link { font-size: 12px; color: #8A6C3A; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) {
    .row-link { padding-left: 4px; }
}

.bounty-info { flex: 1; min-width: 0; }
.bounty-info span { display: block; font-size: 12px; color: #96683A; margin-top: 2px; }
.bounty-act { display: flex; align-items: center; gap: 6px; max-width: 100%; }
.bounty-act select {
    max-width: 240px;
    height: 30px;
    border: 1px solid #E8C9A6;
    border-radius: 8px;
    background: #fff;
    color: #6B4A22;
    font-size: 12px;
    padding: 0 6px;
}
@media (max-width: 600px) {
    .bounty-panel { flex-wrap: wrap; }
    .bounty-act { width: 100%; }
    .bounty-act select { flex: 1; max-width: none; }
}

/* 会员等级 / 认证 */
.level-card {
    background: #FFFDF7;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 10px;
}
.level-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.level-badge { color: #fff; font-size: 12px; border-radius: 12px; padding: 3px 10px; }
.cert-badge { font-size: 11px; color: #2E8B57; border: 1px solid #A9D7BE; background: #F1FBF5; border-radius: 10px; padding: 2px 7px; }
.level-score { margin-left: auto; font-size: 12px; color: #A99B84; }
.level-bar { height: 6px; background: #F0E4D2; border-radius: 3px; margin: 10px 0 5px; overflow: hidden; }
.level-bar span { display: block; height: 100%; background: #B4651B; border-radius: 3px; }
.level-tip { font-size: 11px; color: #A99B84; }
.cert-box { background: #fff; border: 1px solid var(--sq-line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.cert-box b { display: block; font-size: 14px; margin-bottom: 3px; }
.cert-box span { font-size: 12px; color: #7A6450; }
.cert-box p { font-size: 12px; color: #A9703A; margin: 6px 0 0; }
.cert-box.approved { border-color: #A9D7BE; background: #F7FFF9; }
.cert-box.rejected { border-color: #F3C9A0; background: #FFF7EC; }
.cert-form { background: #fff; border: 1px solid var(--sq-line); border-radius: 12px; padding: 12px 14px; }
.cert-form .fb-field { margin-bottom: 10px; }
.cert-form .fb-submit { width: 100%; }

/* 我的中心简洁入口 / 二级页 */
.mini-links { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mini-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 10px;
    padding: 11px 13px;
    text-decoration: none;
    color: #5A4A38;
}
.mini-links a b { font-size: 14px; }
.mini-links a span { font-size: 11px; color: #A99B84; text-align: right; }
.mini-links a::after { content: '›'; color: #C9B79A; font-size: 16px; }
.subpage-head { display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; }
.subpage-head .back { font-size: 13px; color: #8A6C3A; text-decoration: none; }
.subpage-head h3 { margin: 0; font-size: 18px; color: #4A3826; }
.meta-line { font-size: 11px; color: #A99B84; margin-top: 4px; }
.comment-line { font-size: 12px; color: #7A6450; margin-top: 4px; line-height: 1.6; }
@media (max-width: 600px) { .mini-links a span { max-width: 55%; } }

/* 登录后绑定手机提示 */
.bind-mask { position: fixed; inset: 0; background: rgba(30,20,12,.48); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bind-card { position: relative; width: 100%; max-width: 340px; background: #fff; border-radius: 16px; padding: 22px 20px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.bind-card h3 { margin: 0 0 8px; font-size: 18px; color: #4A3826; }
.bind-card p { font-size: 12px; line-height: 1.7; color: #8A7560; margin: 0 0 14px; }
.bind-card input { width: 100%; height: 40px; border: 1px solid #E8D9C4; border-radius: 8px; padding: 0 12px; font-size: 14px; outline: none; }
.bind-card input:focus { border-color: #B4651B; }
.bind-submit { width: 100%; height: 42px; border: 0; border-radius: 21px; background: #8E2F26; color: #fff; font-size: 15px; margin-top: 10px; cursor: pointer; }
.bind-later { display: block; text-align: center; font-size: 12px; color: #A99B84; margin-top: 12px; text-decoration: underline; }
.bind-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; color: #B7A48C; cursor: pointer; }

/* 每日登录自动签到奖励弹窗 */
.reward-mask { position: fixed; inset: 0; background: rgba(20,16,24,.56); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.reward-card { width: 100%; max-width: 360px; background: #fff; border-radius: 20px; overflow: hidden; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.reward-hero { height: 150px; background: linear-gradient(135deg,#2749c8 0%,#4f7cf4 55%,#8b5cf6 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.reward-hero:before { content: ""; position: absolute; left: 26px; top: 30px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); }
.reward-hero:after { content: ""; position: absolute; right: 34px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); }
.reward-check { width: 86px; height: 86px; border-radius: 14px; background: rgba(255,255,255,.94); color: #3d63e8; font-size: 50px; line-height: 86px; font-weight: 700; box-shadow: 0 10px 22px rgba(0,0,0,.16); position: relative; z-index: 2; }
.reward-card h3 { margin: 18px 0 6px; font-size: 22px; color: #2b2b2b; letter-spacing: 1px; }
.reward-sub { margin: 0 0 10px; font-size: 12px; color: #9a9a9a; }
.reward-lines { display: flex; justify-content: center; gap: 16px; margin: 8px 0 22px; font-size: 15px; color: #444; }
.reward-lines i { font-style: normal; color: #777; margin-right: 4px; }
.reward-lines b { color: #e8a400; font-weight: 700; }
.reward-card button { display: block; width: calc(100% - 40px); margin: 0 auto 22px; height: 48px; border: 0; border-radius: 24px; background: linear-gradient(90deg,#3e6cf0,#5688ff); color: #fff; font-size: 17px; letter-spacing: 2px; cursor: pointer; }

/* 大运排布：默认只露 3 个，可一键全显/收起 */
.yun-all-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.yun-all-head em { font-style:normal; font-size:11px; color:#9A8265; }
.yun-toggle { font-size:11px; color:#8E2F26; text-decoration:underline; cursor:pointer; }
.bz-yun .yun-all .yun-cell:nth-child(n+4) { display:none; }
.bz-yun .yun-all.expanded .yun-cell:nth-child(n+4) { display:inline-block; }

/* 编辑帖子 */
.edit-form { background:#fff; border-radius:14px; padding:18px; border:1px solid #EADCC6; }
.edit-form .form-item { margin-bottom:14px; }
.edit-form label { display:block; font-size:13px; color:#6E5A45; margin-bottom:6px; }
.edit-form input, .edit-form textarea, .edit-form select { width:100%; border:1px solid #E4D4BE; border-radius:8px; padding:10px 12px; font-size:14px; color:#3E2C1C; background:#FFFDF8; box-sizing:border-box; }
.edit-form textarea { resize:vertical; line-height:1.7; }
.edit-form .form-actions { display:flex; gap:12px; margin-top:6px; }
.btn-primary { flex:1; border:0; border-radius:22px; background:#8E2F26; color:#fff; font-size:15px; padding:11px 0; cursor:pointer; }
.btn-ghost { flex:1; text-align:center; border:1px solid #D8C7AE; border-radius:22px; color:#8A7056; font-size:15px; padding:10px 0; text-decoration:none; }
.form-tip { font-size:12px; color:#A08B70; margin:12px 0 0; }
.row-actions { display:flex; align-items:center; gap:10px; }
.row-del { font-size:12px; color:#B23B31 !important; }

/* 我的钱包 */
.wallet-page .wallet-hero { margin-top:12px; padding:22px 20px 16px; border-radius:16px; color:#fff; background:linear-gradient(135deg,#7f241f 0%,#a34a32 55%,#c27a45 100%); box-shadow:0 12px 28px rgba(126,36,31,.18); }
.wallet-label { font-size:12px; opacity:.82; letter-spacing:1px; }
.wallet-amount { font-size:34px; font-weight:700; margin:8px 0 14px; letter-spacing:1px; }
.wallet-amount:before { content:"¥"; font-size:18px; margin-right:4px; opacity:.85; }
.wallet-hero-foot { display:flex; gap:18px; font-size:11px; opacity:.78; }
.wallet-tabs { display:flex; gap:22px; margin:18px 0 8px; border-bottom:1px solid #EADCC6; }
.wt-tab { padding:10px 2px; font-size:14px; color:#8A7056; text-decoration:none; border-bottom:2px solid transparent; }
.wt-tab.active { color:#8E2F26; border-bottom-color:#8E2F26; font-weight:600; }
.wallet-panel { display:none; padding-top:8px; }
.wallet-panel.active { display:block; }
.wallet-form { background:#fff; border:1px solid #EADCC6; border-radius:14px; padding:16px; }
.wallet-form label { display:block; font-size:13px; color:#6E5A45; margin:12px 0 6px; }
.wallet-input { display:flex; align-items:center; border:1px solid #E4D4BE; border-radius:10px; background:#FFFDF8; padding:0 12px; }
.wallet-input span { color:#8E2F26; font-size:18px; margin-right:6px; }
.wallet-input input { border:0; background:transparent; outline:none; width:100%; height:46px; font-size:20px; color:#3E2C1C; }
.wallet-chips { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.wallet-chips a { font-size:12px; color:#8E2F26; border:1px solid #E6C9AE; background:#FFF9EF; border-radius:14px; padding:4px 12px; text-decoration:none; }
.wallet-paytypes { display:flex; gap:12px; margin-top:2px; }
.wallet-paytypes label { flex:1; margin:0; border:1px solid #E4D4BE; border-radius:10px; padding:12px; display:flex; align-items:center; gap:8px; background:#FFFDF8; font-size:14px; color:#3E2C1C; }
.wallet-paytypes input { accent-color:#8E2F26; }
.wallet-payhint { display:none; font-size:11px; color:#A08B70; line-height:1.7; margin:8px 0 0; }
.wallet-select, .wallet-text { width:100%; border:1px solid #E4D4BE; border-radius:10px; background:#FFFDF8; padding:11px 12px; font-size:14px; color:#3E2C1C; box-sizing:border-box; }
.wallet-btn { width:100%; margin-top:18px; border:0; border-radius:24px; background:#8E2F26; color:#fff; font-size:16px; padding:12px 0; cursor:pointer; }
.wallet-btn:disabled { opacity:.6; }
.wallet-note { font-size:11px; color:#A08B70; line-height:1.7; margin:10px 0 0; }
.wallet-empty { text-align:center; color:#A08B70; font-size:13px; padding:34px 10px; }
.wallet-tip { background:#FFF3DC; color:#8A5A24; border:1px solid #EAD1A8; border-radius:10px; padding:9px 12px; font-size:12px; margin-top:10px; }
.wallet-row { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #EADCC6; border-radius:10px; padding:12px; margin-bottom:8px; }
.wallet-row .grow { flex:1; min-width:0; }
.wallet-row b { display:block; font-size:14px; color:#3E2C1C; }
.wallet-row span { display:block; font-size:11px; color:#A08B70; margin-top:3px; word-break:break-all; }
.wallet-val { font-size:16px; font-weight:600; }
.wallet-val.plus { color:#B23B31; }
.wallet-val.minus { color:#6B7A5A; }
.wallet-status { font-size:12px; padding:3px 8px; border-radius:10px; white-space:nowrap; }
.wallet-status.pending { color:#9A6A1F; background:#FFF3DC; }
.wallet-status.paid { color:#3D7A4B; background:#E9F6EA; }
.wallet-status.closed, .wallet-status.rejected { color:#8A8A8A; background:#F1F1F1; }
@media (max-width: 640px) { .wallet-amount { font-size:28px; } .wallet-hero-foot { flex-direction:column; gap:4px; } }

/* 我的中心钱包入口 */
.mine-wallet-card { display:flex; align-items:center; justify-content:space-between; margin-top:12px; padding:15px 16px; border-radius:14px; text-decoration:none; color:#4A3322; background:linear-gradient(120deg,#FFF8EC,#F7E6CE); border:1px solid #EAD2B5; }
.mine-wallet-card span { display:block; font-size:12px; color:#9A7B5E; }
.mine-wallet-card b { display:block; font-size:24px; color:#8E2F26; margin-top:4px; }
.mine-wallet-card em { font-style:normal; font-size:12px; color:#8E2F26; border:1px solid #D9B99A; border-radius:14px; padding:5px 12px; background:#FFFDF7; }

.wallet-qr-mask { position:fixed; left:0; top:0; right:0; bottom:0; background:rgba(0,0,0,.55); z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; }
.wallet-qr-box { width:100%; max-width:320px; background:#FFFDF8; border-radius:16px; padding:20px; text-align:center; box-sizing:border-box; }
.wallet-qr-title { font-size:17px; color:#3E2C1C; margin-bottom:12px; }
.wallet-qr-box img { width:220px; height:220px; object-fit:contain; display:block; margin:0 auto; background:#fff; }
.wallet-qr-tip { font-size:12px; color:#A08B70; line-height:1.7; margin-top:12px; }
.wallet-qr-close { margin-top:14px; border:0; border-radius:20px; background:#8E2F26; color:#fff; padding:9px 30px; font-size:14px; }

/* 我的内容：三个独立入口 */
.my-entries { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.my-entry { position:relative; display:block; min-width:0; background:#fff; border:1px solid #EADCC6; border-radius:12px; padding:11px 10px 10px; text-decoration:none; color:#4A3B2B; overflow:hidden; }
.my-entry-ico { width:30px; height:30px; border-radius:9px; background:#FBF1E0; display:flex; align-items:center; justify-content:center; margin-bottom:7px; }
.my-entry-ico svg { width:18px; height:18px; fill:none; stroke:#B23B31; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.my-entry b { display:block; font-size:13px; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.my-entry span { display:block; margin-top:3px; font-size:10px; color:#A99B84; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.my-entry i { position:absolute; right:7px; top:9px; font-style:normal; color:#C9B79A; font-size:14px; line-height:1; }
@media (max-width: 360px) { .my-entries { gap:6px; } .my-entry { padding:10px 8px 9px; } .my-entry b { font-size:12px; } }

/* 钱包：积分购买区 */
.wallet-points-head{margin:0 0 14px;padding:12px 14px;border:1px solid #EAD2B5;border-radius:12px;background:#FBF1E0;color:#6B4E32;font-size:12px;line-height:1.8;}
.wallet-points-head strong{display:inline-block;margin-bottom:2px;color:#8E2F26;font-size:15px;}
.wallet-paytypes label{flex-wrap:wrap;}
@media (max-width:360px){.wallet-points-head{padding:10px 12px;font-size:11px;}}
