/* 金余浩追更助手 · H5 样式
   沿用小程序版的深蓝底 + 金色体系，移动端优先 */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
    margin: 0; padding: 0;
    background: #0f111a;
    color: #f2f4fb;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

/* ---------- 顶栏 ---------- */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(21, 24, 36, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #262b3d;
    padding-top: env(safe-area-inset-top);
}
.topbar-inner {
    height: 52px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
}
.brand { font-size: 16px; font-weight: 600; letter-spacing: .5px; }
.topbar-right { font-size: 13px; color: #8b91a7; }

/* ---------- 主体 ---------- */
main { flex: 1; padding: 16px; max-width: 640px; width: 100%; margin: 0 auto; }
.view { animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.hero { padding: 8px 0 20px; }
.hero h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.hero-sub { margin: 8px 0 0; color: #8b91a7; font-size: 13px; }

.section-title {
    font-size: 15px; font-weight: 600; margin: 20px 0 12px;
    display: flex; align-items: center; gap: 8px;
}
.section-title::before {
    content: ''; width: 3px; height: 14px; border-radius: 2px;
    background: linear-gradient(180deg, #e8c37a, #b8a06a);
}

/* ---------- 卡片 ---------- */
.card {
    background: #1a1e2e;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #262b3d;
}
.card-title { font-size: 15px; font-weight: 600; }

/* ---------- 活动 ---------- */
.activity-card {
    background: linear-gradient(135deg, #241a2c, #1a1e2e);
    border: 1px solid #5b3f6b;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}
.activity-head { display: flex; align-items: center; justify-content: space-between; }
.activity-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 1px;
    color: #1a1e2e; background: #e8c37a;
    padding: 2px 8px; border-radius: 4px;
}
.activity-title { margin-top: 10px; font-size: 16px; font-weight: 600; }
.activity-body { margin-top: 6px; color: #b8a06a; font-size: 13px; white-space: pre-wrap; }

/* ---------- 列表 ---------- */
.series-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid #262b3d;
}
.series-item:last-child { border-bottom: none; }
.series-emoji { font-size: 22px; width: 32px; text-align: center; flex-shrink: 0; }
.series-main { flex: 1; min-width: 0; }
.series-name { font-size: 15px; font-weight: 500; }
.series-desc { color: #6d7389; font-size: 12px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.series-tag {
    font-size: 11px; padding: 2px 8px; border-radius: 20px;
    background: #262b3d; color: #e8c37a; flex-shrink: 0;
}
.series-tag.off { background: #23263a; color: #6d7389; }

/* ---------- 页面层级与小屏适配 ---------- */
.preview-banner {
    padding: 9px 16px; text-align: center; color: #ebd9b4;
    background: #302819; border-bottom: 1px solid #514227; font-size: 12px;
}
.preview-banner span { color: #f2cf88; font-weight: 700; margin-right: 5px; }
.hero {
    padding: 22px 20px; margin-bottom: 22px; border: 1px solid #3a3541;
    border-radius: 18px; background: linear-gradient(135deg, #2a2530 0%, #191d2b 72%);
}
.hero-eyebrow { display: block; color: #d1ac6d; font-size: 11px; letter-spacing: 1.4px; font-weight: 600; margin-bottom: 8px; }
.hero h1 { font-size: clamp(21px, 5.6vw, 25px); line-height: 1.3; }
.hero-sub { color: #b1b5c5; line-height: 1.6; }
.section-title { margin: 0 1px 12px; }
.section-meta { margin-left: auto; color: #9299ad; font-size: 12px; font-weight: 400; }
#seriesList { background: #191e2d; border: 1px solid #2a3042; border-radius: 16px; padding: 0 14px; overflow: hidden; }
.series-item { padding: 15px 0; align-items: flex-start; }
.series-emoji { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #292a35; }
.series-name { font-weight: 600; line-height: 1.45; }
.series-desc { white-space: normal; overflow: visible; color: #a2a9bb; line-height: 1.5; }
.series-update { color: #cfb47c; font-size: 12px; margin-top: 5px; }
.series-tag { margin-top: 3px; background: #303029; color: #eed18e; }
.activity-card { margin-top: 18px; margin-bottom: 0; padding: 15px 16px; }
.activity-summary { cursor: pointer; list-style: none; }
.activity-summary::-webkit-details-marker { display: none; }
.activity-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activity-more { font-size: 12px; color: #d8bd83; }
.activity-more::after { content: ' ＋'; }
.activity-card[open] .activity-more::after { content: ' －'; }
.activity-title { display: block; line-height: 1.5; }
.activity-body { line-height: 1.7; color: #d1c4a7; padding-top: 5px; }
.login-card { padding: 22px 18px; }
.login-card .card-title { margin: 0; font-size: 20px; }
.login-intro { margin: 8px 0 20px; color: #aab0c2; font-size: 13px; line-height: 1.6; }
.login-form { display: grid; gap: 14px; }
.login-label { display: grid; gap: 7px; font-size: 13px; color: #d5d9e4; }
.login-label .input { margin: 0; min-height: 46px; }
.login-form .primary-btn { margin-top: 2px; min-height: 48px; }
.login-secondary { display: flex; gap: 10px; }
.login-secondary .ghost-btn { flex: 1; min-width: 0; margin: 0; padding: 11px 8px; white-space: normal; }
.login-help { margin: 20px 0 0; color: #a2a9bb; font-size: 12px; line-height: 1.6; }
.guest-plans-intro { margin: 6px 0 4px; color: #aab0c2; font-size: 13px; line-height: 1.6; }
.guest-plans .plan-desc { color: #aab0c2; line-height: 1.5; }
.customer-qr { max-width: 180px; width: 100%; border-radius: 10px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #f2cf88; outline-offset: 3px;
}
@media (max-width: 340px) {
    main { padding: 12px; }
    .hero { padding: 18px 16px; }
    .login-secondary { flex-direction: column; }
}

.empty { text-align: center; color: #6d7389; font-size: 13px; padding: 40px 0; }

/* ---------- 会员卡 ---------- */
.hello-row { display: flex; align-items: center; flex-wrap: wrap; }
.hello { font-size: 22px; font-weight: 700; color: #f2f4fb; line-height: 1.3; }
.hello-badge {
    margin-left: 5px; padding: 1.5px 9px; border-radius: 999px;
    font-size: 20px; font-weight: 700; letter-spacing: .5px; line-height: 1.3;
    color: #ffd695;
    background: linear-gradient(135deg, rgba(232,195,122,.18), rgba(255,214,149,.07));
    border: 1px solid rgba(232,195,122,.45);
}
.hero-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.uid-row { margin-top: 6px; }

.member-card {
    margin-top: 12px;
    background: linear-gradient(135deg, #2a2417, #1a1e2e);
    border: 1px solid #4a3d22;
    border-radius: 12px;
    padding: 18px 16px;
}
.member-level { font-size: 18px; font-weight: 700; color: #e8c37a; }
.member-meta { margin-top: 6px; color: #b8a06a; font-size: 13px; }

/* ---------- 表单 ---------- */
.input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #34394d;
    border-radius: 10px;
    background: #141826;
    color: #f2f4fb;
    font-size: 15px;
    outline: none;
    margin-top: 12px;
}
.input:focus { border-color: #5b4a2a; }
.input::placeholder { color: #5a6072; }

.row-inline { display: flex; gap: 10px; align-items: stretch; }
.row-inline .input { flex: 1; }

/* ---------- 按钮 ---------- */
.primary-btn {
    width: 100%;
    margin-top: 14px;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8c37a, #d4a955);
    color: #1a1e2e;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.primary-btn:disabled { opacity: .55; }
.primary-btn:active:not(:disabled) { transform: scale(.985); }

.ghost-btn {
    padding: 12px 16px;
    margin-top: 12px;
    border: 1px solid #34394d;
    border-radius: 10px;
    background: transparent;
    color: #e8c37a;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.row-inline .ghost-btn { margin-top: 12px; }
.ghost-btn:disabled { opacity: .5; }

.text-btn {
    background: none; border: none; padding: 4px 0;
    color: #ffd695; font-size: 13px; cursor: pointer;
}

.tab-switch { display: flex; gap: 8px; margin-top: 12px; }
.tab-btn {
    flex: 1; padding: 9px;
    border: 1px solid #34394d; border-radius: 8px;
    background: transparent; color: #8b91a7;
    font-size: 14px; cursor: pointer;
}
.tab-btn.active { border-color: #e8c37a; color: #e8c37a; background: rgba(232,195,122,.08); }

/* ---------- 套餐 ---------- */
.plan-item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 0; border-bottom: 1px solid #262b3d;
}
.plan-item:last-child { border-bottom: none; }
.plan-info { flex: 1; min-width: 0; }
.plan-name-row { display: flex; align-items: center; gap: 8px; }
.plan-name { font-size: 15px; font-weight: 600; color: #e8c37a; }
.plan-tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: #e8c37a; color: #1a1e2e; font-weight: 700; }
.plan-desc { color: #6d7389; font-size: 12px; margin-top: 3px; }
.plan-price { color: #e8c37a; font-size: 17px; font-weight: 700; flex-shrink: 0; }
.plan-buy {
    margin-top: 8px; padding: 7px 16px; border: none; border-radius: 8px;
    background: #e8c37a; color: #1a1e2e; font-size: 13px; font-weight: 600; cursor: pointer;
}

.offer-result {
    margin-top: 12px; padding: 12px; border-radius: 10px;
    background: rgba(232,195,122,.08); border: 1px solid #4a3d22;
    color: #ffd695; font-size: 14px;
}

/* ---------- 观看入口 ---------- */
.entry-item { padding: 12px 0; border-bottom: 1px solid #262b3d; }
.entry-item:last-child { border-bottom: none; }
.entry-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.entry-type { font-size: 14px; font-weight: 600; color: #e8c37a; }
.entry-disk {
    font-size: 11px; color: #6d7389;
    padding: 1px 6px; border-radius: 4px;
    background: rgba(140,146,168,.12);
}
.entry-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.entry-label { color: #6d7389; font-size: 12px; width: 44px; flex-shrink: 0; }
.entry-value {
    flex: 1; font-size: 12px; color: #b8a06a;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.entry-copy {
    flex-shrink: 0; font-size: 12px; color: #ffd695;
    padding: 3px 10px; border: 1px solid #4a3d22; border-radius: 6px;
    background: none; cursor: pointer;
}
a.entry-link, a.entry-link:visited {
    color: #ffd695; text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
a.entry-link:hover { color: #fff0c9; }
.entry-open-tip { margin-top: 6px; font-size: 11px; color: #6d7389; }

/* ---------- 底部导航 ---------- */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex;
    background: rgba(21, 24, 36, .97);
    backdrop-filter: blur(10px);
    border-top: 1px solid #262b3d;
    padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-item {
    flex: 1; padding: 8px 0 10px;
    background: none; border: none;
    color: #6d7389; font-size: 11px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    cursor: pointer;
}
.tabbar-item.active { color: #e8c37a; }
.tabbar-icon { font-size: 18px; line-height: 1; }

/* ---------- 通用 ---------- */
.muted { color: #8b91a7; font-size: 13px; }
.small { font-size: 12px; }

.toast {
    position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
    background: rgba(26, 30, 46, .96); color: #f2f4fb;
    padding: 10px 20px; border-radius: 10px; font-size: 14px;
    border: 1px solid #34394d; z-index: 100;
    max-width: 80vw; text-align: center;
}

.modal-mask {
    /* 要盖在底部弹层之上：设密码等弹层里出错时会直接弹通用提示 */
    position: fixed; inset: 0; z-index: 98;
    background: rgba(0, 0, 0, .6);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.modal {
    background: #1a1e2e; border: 1px solid #34394d; border-radius: 14px;
    padding: 20px; width: 100%; max-width: 340px;
}
.modal-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.modal-body { color: #b8a06a; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.modal-qr { margin-top: 14px; text-align: center; }
.modal-qr img {
    width: min(220px, 62vw); height: auto;
    display: block; margin: 0 auto;
    border-radius: 12px; background: #fff; padding: 8px;
}
.modal-qr-tip {
    margin-top: 8px; font-size: 12px; color: #8b91a7; line-height: 1.6;
    white-space: normal;
}
.modal-actions { margin-top: 16px; }

/* ---------- 扫码付款弹层 ---------- */
.sheet-mask {
    position: fixed; inset: 0; z-index: 95;
    background: rgba(0, 0, 0, .68);
    display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
    width: 100%; max-width: 420px;
    background: #1a1e2e;
    border: 1px solid #34394d;
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    max-height: 92vh; overflow-y: auto;
    animation: sheetUp .22s ease-out;
}
@keyframes sheetUp {
    from { transform: translateY(18px); opacity: .6; }
    to { transform: translateY(0); opacity: 1; }
}
@media (min-width: 480px) {
    .sheet-mask { align-items: center; }
    .sheet { border-radius: 18px; border-bottom: 1px solid #34394d; }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-title { font-size: 17px; font-weight: 600; }
.sheet-close {
    background: transparent; border: none; color: #8b91a7;
    font-size: 24px; line-height: 1; padding: 0 4px; cursor: pointer;
}
.sheet-price {
    font-size: 30px; font-weight: 700; color: #ffd695;
    margin: 6px 0 4px; letter-spacing: .5px;
}
.sheet-tip { margin: 0 0 14px; }
.center { text-align: center; }
#payQrTip { white-space: pre-line; }

.pay-tabs {
    display: flex; gap: 8px;
    background: #141826; border: 1px solid #2a3044;
    border-radius: 10px; padding: 4px; margin-bottom: 14px;
}
.pay-tab {
    flex: 1; background: transparent; border: none;
    color: #8b91a7; font-size: 14px; padding: 9px 0;
    border-radius: 7px; cursor: pointer; font-family: inherit;
}
.pay-tab.active { background: rgba(232, 195, 122, .16); color: #ffd695; font-weight: 600; }

.pay-qr-wrap {
    display: flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 12px;
    padding: 10px; margin: 0 auto;
    /* 码要大：微信长按识别对小图经常不给「识别图中二维码」选项 */
    width: min(320px, 82vw); height: auto;
}
.pay-qr-wrap img {
    width: 100%; height: auto;
    display: block; cursor: zoom-in;
}
.qr-zoom-btn {
    display: block; margin: 4px auto 0; font-size: 12px; padding: 6px 14px;
}
.qrzoom img { max-width: 92vw; max-height: 68vh; }
.qrzoom .cardzoom-tip { line-height: 1.7; }

/* ---------- 手机扫码登录电脑 ---------- */
.login-or {
    display: flex; align-items: center; gap: 10px;
    margin: 18px 0 10px; color: #6f758a; font-size: 12px;
}
.login-or::before, .login-or::after {
    content: ''; flex: 1; height: 1px; background: #2a3044;
}
.pc-qr {
    background: #fff; border-radius: 12px; padding: 12px;
    width: min(250px, 68vw); margin: 0 auto 12px;
}
#pcQrLoginBtn { display: block; width: 100%; margin-top: 0; }
.pc-qr svg { display: block; width: 100%; height: auto; }
.pc-qr-fail {
    color: #7a819a; font-size: 13px; text-align: center;
    padding: 26px 8px; line-height: 1.7; background: #1a1e2e; border-radius: 10px;
}
.pc-code-box {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #141826; border: 1px dashed #3a4157; border-radius: 10px;
    padding: 10px 14px; margin: 0 auto 8px; width: fit-content;
}
.pc-code-label { font-size: 12px; color: #8b91a7; }
.pc-code {
    font-size: 22px; font-weight: 700; letter-spacing: 6px;
    color: #ffd695; font-variant-numeric: tabular-nums;
}
#pcLoginAlt { color: #6f758a; line-height: 1.6; margin: 2px 0 0; }

/* ---------- 微信通道：联系客服 ---------- */
.pay-cs { text-align: center; }
.pay-cs img {
    width: min(230px, 62vw); height: auto;
    display: block; margin: 0 auto;
    border-radius: 12px; background: #fff; padding: 8px;
}
.pay-cs-tip {
    margin-top: 10px; font-size: 12.5px; color: #8b91a7; line-height: 1.7;
}
.pay-cs-id {
    display: flex; align-items: center; gap: 8px;
    margin-top: 12px; padding: 10px 12px;
    background: #12151f; border: 1px solid #262b3d; border-radius: 10px;
}

.uid-box {
    display: flex; align-items: center; gap: 8px;
    background: #141826; border: 1px solid #2a3044;
    border-radius: 10px; padding: 10px 12px; margin: 16px 0 0;
}
.uid-label { color: #8b91a7; font-size: 12px; flex: none; }
.uid-value {
    flex: 1; min-width: 0;
    font-size: 12px; color: #d7dbe8;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.uid-box .entry-copy { flex: none; }

.sheet-actions { display: flex; gap: 10px; margin-top: 16px; }
.sheet-actions .ghost-btn,
.sheet-actions .primary-btn { flex: 1; margin-top: 0; }

[hidden] { display: none !important; }

/* ---------- 电子会员卡 ---------- */
.hero-actions { display: flex; align-items: center; gap: 10px; }
.bell-btn {
    position: relative; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: #1a1e2e; border: 1px solid #262b3d; border-radius: 50%;
    cursor: pointer; padding: 0;
}
.bell-icon { font-size: 16px; line-height: 1; }
.bell-badge {
    position: absolute; top: -3px; right: -3px;
    min-width: 17px; height: 17px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    background: #e0645c; color: #fff; border-radius: 999px;
    font-size: 10px; font-weight: 700; line-height: 1;
    border: 2px solid #0f111a;
}

.ecard {
    margin-top: 12px;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(232,195,122,.20), transparent 60%),
        linear-gradient(135deg, #232840 0%, #1a1e2e 55%, #211c2c 100%);
    border: 1px solid #3a3f57;
    box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
/* 档位专属卡面：放在信息区上方，整幅展示，点开可看大图 */
.ecard-art {
    display: block;
    width: 100%;
    aspect-ratio: 1080 / 608;
    background-size: cover;
    background-position: center;
    background-color: #12151f;
    cursor: zoom-in;
}
.ecard-art:active { opacity: .92; }
/* 有卡面时信息区单独一块底色，避免文字压在图上 */
.ecard.has-bg { background: #14161f; }
.ecard.has-bg .ecard-main { background: linear-gradient(180deg, #171a26 0%, #12141d 100%); }
.ecard-main { padding: 18px 18px 16px; }
.ecard-head { display: flex; align-items: center; justify-content: space-between; }
.ecard-level {
    font-size: 12px; font-weight: 700; letter-spacing: .6px;
    color: #1a1e2e; background: linear-gradient(135deg, #f0d29b, #e8c37a);
    padding: 3px 10px; border-radius: 5px;
}
.ecard-brand {
    font-size: 12px; letter-spacing: 3px; color: #8b7752; font-weight: 700;
}
.ecard-name {
    margin-top: 16px;
    font-size: 19px; font-weight: 700; letter-spacing: .5px;
    color: #f6efe0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ecard-no {
    margin-top: 4px; font-size: 11px; color: #7d8398;
    font-variant-numeric: tabular-nums; letter-spacing: .4px;
}
.ecard-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px; margin-top: 16px;
    padding-top: 14px; border-top: 1px dashed #3a3f57;
}
.ecard-cell { display: flex; flex-direction: column; gap: 2px; }
.ecard-k { font-size: 11px; color: #7d8398; }
.ecard-v { font-size: 13px; color: #e6e9f3; font-variant-numeric: tabular-nums; }
.ecard-actions {
    display: flex; gap: 18px; margin-top: 12px;
    padding-top: 12px; border-top: 1px solid #262b3d;
}
.ecard-actions .text-btn { font-size: 13px; }

/* ---------- 会员卡面大图 ---------- */
.cardzoom {
    position: fixed; inset: 0; z-index: 96;
    background: #07090f;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px; padding: 16px; cursor: zoom-out;
}
.cardzoom img {
    max-width: 100%; max-height: 76vh;
    border-radius: 12px; display: block;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
}
.cardzoom-tip {
    position: fixed; left: 0; right: 0; bottom: 26px;
    text-align: center; font-size: 12px; color: #8b91a7;
}

.hidden-date {
    position: absolute; left: -9999px; width: 1px; height: 1px;
    opacity: 0; pointer-events: none;
}

/* ---------- 到期提醒条 ---------- */
.expiry-banner {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #3a2318, #2a1d22);
    border: 1px solid #6b4230;
    border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
}
.expiry-banner .eb-icon { font-size: 16px; }
.expiry-banner .eb-text { flex: 1; font-size: 13px; color: #f0cdb8; line-height: 1.5; }
.expiry-banner .eb-btn {
    flex: 0 0 auto; font-size: 12px; font-weight: 600;
    color: #1a1e2e; background: #e8c37a; border: 0;
    border-radius: 8px; padding: 7px 12px; cursor: pointer;
}

/* ---------- 续订解锁专属网盘 ---------- */
.renew-tip {
    margin-top: 14px; padding: 10px 12px;
    font-size: 12px; line-height: 1.6; color: #c8a86a;
    background: rgba(232,195,122,.07);
    border: 1px dashed rgba(232,195,122,.28);
    border-radius: 10px;
}

/* ---------- 常见问题 ---------- */
#faqList { margin-top: 8px; }
.faq-item {
    border-bottom: 1px solid #232838;
}
.faq-item:last-child { border-bottom: 0; }
.faq-q {
    list-style: none; cursor: pointer;
    display: flex; align-items: flex-start; gap: 8px;
    padding: 11px 0;
    font-size: 13px; color: #c9cee0; line-height: 1.6;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
    content: '+'; flex: 0 0 auto; width: 14px;
    color: #e8c37a; font-weight: 600; text-align: center;
}
.faq-item[open] > .faq-q::before { content: '−'; }
.faq-item[open] > .faq-q { color: #eef1f8; }
.faq-a {
    padding: 0 0 12px 22px;
    font-size: 12.5px; color: #8b91a7; line-height: 1.75;
    animation: fade .16s ease;
}
.faq-line {
    margin: 0; padding: 9px 0;
    font-size: 13px; color: #8b91a7; line-height: 1.7;
    border-bottom: 1px solid #232838;
}
.faq-line:last-child { border-bottom: 0; }
.faq-line::before { content: '· '; color: #5f6577; }

/* ---------- 续订专属彩蛋 ---------- */
.nd-pending {
    margin-top: 10px; padding: 16px 14px;
    font-size: 13px; line-height: 1.75; color: #c8a86a;
    background: rgba(232,195,122,.06);
    border: 1px dashed rgba(232,195,122,.3);
    border-radius: 10px;
    text-align: center;
}
.egg-item { padding: 12px 0; border-bottom: 1px solid #262b3d; }
.egg-item:last-child { border-bottom: none; }
.egg-preview {
    margin-top: 8px; border-radius: 10px; overflow: hidden; background: #000;
}
.egg-frame {
    display: block; width: 100%; height: min(58vw, 300px);
    border: 0; background: #000;
}
.egg-video { display: block; width: 100%; max-height: 300px; background: #000; }
.egg-fallback {
    padding: 24px 14px; text-align: center;
    color: #8b91a7; font-size: 12px; line-height: 1.6;
    background: rgba(140,146,168,.08);
}
.egg-open {
    display: block; text-align: center; text-decoration: none; margin-top: 10px;
}
/* 封面：先看截图，点一下才加载播放器 */
.egg-cover {
    position: relative; display: block; cursor: pointer;
    background: #0f111a; line-height: 0;
}
.egg-cover img { display: block; width: 100%; height: auto; }
/* 没上传封面 / 封面加载失败：显示中性占位封面，不加载链接自己的预览 */
.egg-cover-ph {
    aspect-ratio: 16 / 9;
    line-height: 1;
    background:
        radial-gradient(90% 120% at 18% 0%, rgba(232,196,124,.16) 0%, rgba(232,196,124,0) 60%),
        linear-gradient(135deg, #232838 0%, #171b27 55%, #0e1118 100%);
}
.egg-cover-ph-txt {
    position: absolute; left: 0; right: 0; bottom: 14px;
    text-align: center; font-size: 12px; color: rgba(232,196,124,.82);
    letter-spacing: .5px;
}
.egg-cover-btn {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.32));
}
.egg-cover-play {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; text-indent: 3px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 6px 18px rgba(0,0,0,.45);
}

/* ---------- 消息通知 ---------- */
.notice-toolbar {
    display: flex; justify-content: flex-end;
    margin: -4px 0 10px;
}
.notice-list { display: flex; flex-direction: column; gap: 10px; }
.notice-item {
    background: #12151f; border: 1px solid #262b3d;
    border-radius: 12px; padding: 12px;
    display: flex; gap: 10px; cursor: pointer;
}
.notice-item.unread { border-color: #4a3d24; background: #1b1a22; }
.notice-dot {
    flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
    background: #e0645c; margin-top: 6px;
}
.notice-dot.read { background: transparent; }
.notice-body { flex: 1; min-width: 0; }
.notice-title { font-size: 13px; font-weight: 600; }
.notice-text { font-size: 12px; color: #8b91a7; margin-top: 4px; line-height: 1.6; }
.notice-time { font-size: 11px; color: #5f6577; margin-top: 6px; }
.notice-type {
    font-size: 10px; padding: 1px 6px; border-radius: 4px;
    background: rgba(232,195,122,.14); color: #e8c37a; margin-right: 6px;
}

/* ---------- 网盘档位标记 ---------- */
.scope-badge {
    font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 4px;
    color: #1a1e2e; background: linear-gradient(135deg, #f0d29b, #e8c37a);
    margin-left: auto;
}
.entry-head { display: flex; align-items: center; gap: 8px; }
