/* 买U送金途币 活动卡片 —— 买U页 / 登录弹窗 / 消息中心置顶 三处共用
   改样式只改这个文件，改完记得 bump 引用处的 ?v= */
.pb-wrap {
    box-sizing: border-box;
    border: 1px solid rgba(251, 191, 36, .38);
    background: linear-gradient(180deg, rgba(251, 191, 36, .10), rgba(251, 191, 36, .02)), var(--bs-body-bg, #1a1a2e);
    border-radius: 12px;
    padding: 14px 16px 12px;
    color: var(--bs-body-color, inherit);
}
[data-bs-theme="light"] .pb-wrap {
    border-color: #EFD9A0;
    background: linear-gradient(180deg, #FFFAEC, #FFFEF9), #fff;
}

.pb-page { margin: 0 16px 12px; }
.pb-pinned { margin: 0 0 12px; padding: 0; overflow: hidden; }

.pb-title { font-size: 15px; font-weight: 600; color: #f6c445; display: flex; align-items: center; gap: 6px; }
[data-bs-theme="light"] .pb-title { color: #A16207; }
.pb-sub { font-size: 12px; opacity: .72; margin-top: 3px; line-height: 1.5; }

.pb-tiers { margin-top: 10px; border-top: 1px dashed rgba(251, 191, 36, .30); padding-top: 6px; }
.pb-tier { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 2px; font-size: 13px; }
.pb-tier + .pb-tier { border-top: 1px solid rgba(128, 128, 128, .10); }
.pb-tier .u { opacity: .82; }
.pb-tier .c { font-weight: 600; color: #f6c445; }
[data-bs-theme="light"] .pb-tier .c { color: #A16207; }
.pb-tier .c small { font-weight: 400; font-size: 11px; opacity: .68; margin-left: 2px; }
.pb-tier-head { padding-bottom: 4px; }
.pb-tier-head .u, .pb-tier-head .c { font-size: 11px; font-weight: 400; opacity: .55; color: inherit; }

.pb-notes { margin: 9px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.7; opacity: .78; }
.pb-notes li { position: relative; padding-left: 12px; }
.pb-notes li::before {
    content: ""; position: absolute; left: 2px; top: 8px;
    width: 4px; height: 4px; border-radius: 50%; background: #f6c445; opacity: .75;
}
.pb-notes li.pb-hot { opacity: 1; font-weight: 600; color: #f6c445; }
[data-bs-theme="light"] .pb-notes li.pb-hot { color: #A16207; }

.pb-cta {
    display: block; text-align: center; margin-top: 11px; padding: 9px 0;
    border-radius: 9px; background: linear-gradient(135deg, #f6c445, #dfa020);
    color: #3a2a00; font-size: 14px; font-weight: 600; text-decoration: none;
}
.pb-cta:hover { color: #3a2a00; filter: brightness(1.05); }

/* 消息中心置顶：默认折叠一行 */
.pb-pinned > summary {
    list-style: none; cursor: pointer; padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 14px; font-weight: 600; color: #f6c445;
}
[data-bs-theme="light"] .pb-pinned > summary { color: #A16207; }
.pb-pinned > summary::-webkit-details-marker { display: none; }
.pb-pinned > summary .pb-sum-l { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pb-pinned > summary .pb-sum-l span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-pinned > summary .pb-arrow { font-size: 11px; opacity: .65; transition: transform .2s; flex-shrink: 0; }
.pb-pinned[open] > summary .pb-arrow { transform: rotate(180deg); }
.pb-pinned .pb-inner { padding: 0 16px 14px; }

/* 登录弹窗 */
.pb-mask {
    position: fixed; inset: 0; z-index: 1080;
    background: rgba(0, 0, 0, .62);
    display: flex; align-items: center; justify-content: center; padding: 18px;
}
.pb-mask[hidden] { display: none; }
.pb-modal {
    box-sizing: border-box;
    width: 100%; max-width: 360px; max-height: 86vh; overflow: auto;
    background: #1b1b28; color: #e6e6ea;
    border-radius: 16px; padding: 18px 16px 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .38);
    -webkit-overflow-scrolling: touch;
}
[data-bs-theme="light"] .pb-modal { background: #fff; color: #1a1a2e; }
.pb-modal .pb-wrap { border: none; background: transparent; padding: 0; margin: 0; }

.pb-modal-btns { display: flex; align-items: center; gap: 6px; margin-top: 16px; }
.pb-btn {
    flex: 1; border: none; border-radius: 10px; padding: 11px 0;
    font-size: 15px; font-weight: 600; cursor: pointer;
}
.pb-btn-ghost { background: linear-gradient(135deg, #f6c445, #dfa020); color: #3a2a00; }
.pb-btn-ghost:disabled { background: #b9b9b9; color: #fff; cursor: not-allowed; }
.pb-btn-text {
    flex: 0 0 auto; background: transparent; color: inherit;
    opacity: .55; font-size: 13px; font-weight: 400; padding: 11px 10px;
}
.pb-btn-text:disabled { opacity: .28; cursor: not-allowed; }


/* ── 微信推送升级通知弹窗（2026-11-18）── */
.wx-push-tags-box { margin: 12px 0 4px; }
.wx-push-tags-t { font-size: 13px; opacity: .65; margin-bottom: 7px; }
.wx-push-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wx-push-tags span {
    background: rgba(102, 126, 234, .16); color: #8b9ff5;
    padding: 3px 9px; border-radius: 6px; font-size: 12px; line-height: 1.6;
}
.wx-steps {
    margin: 14px 0 12px;
    background: rgba(7, 193, 96, .07);
    border: 1px dashed rgba(7, 193, 96, .32);
    border-radius: 10px; padding: 11px 12px;
}
.wx-steps-t { font-size: 13px; font-weight: 600; color: #07c160; margin-bottom: 7px; }
.wx-step { display: flex; gap: 6px; font-size: 13px; line-height: 1.85; }
.wx-step b { color: #07c160; flex: 0 0 auto; }

[data-bs-theme="light"] .wx-push-tags span { background: rgba(102, 126, 234, .1); color: #4d5fd1; }
[data-bs-theme="light"] .wx-steps { background: rgba(7, 193, 96, .05); }

/* 通知弹窗里的关键词高亮：在金黄色正文里用亮绿+加粗跳出来 */
.wx-hl { color: #4ade80; font-weight: 700; }
[data-bs-theme="light"] .wx-hl { color: #059669; }
