/* 星光钱包 */
.star-hero { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; flex-wrap: wrap;
    padding: 30px 34px; margin-bottom: 30px; border-radius: 14px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18) 0 1px, transparent 2px),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,.22) 0 1px, transparent 2px),
                radial-gradient(circle at 40% 80%, rgba(255,255,255,.15) 0 1px, transparent 2px),
                radial-gradient(circle at 90% 75%, rgba(255,255,255,.2) 0 1.5px, transparent 2.5px),
                linear-gradient(135deg, #001e3d 0%, #0032a3 55%, #6566fa 100%);
    box-shadow: 0 10px 30px rgba(0, 50, 163, .25); }
.star-label { font-size: 14px; opacity: .85; letter-spacing: 1px; }
.star-label i { color: #ffd76a; }
.star-balance { font-size: 48px; font-weight: 700; line-height: 1.2; margin: 6px 0; text-shadow: 0 0 18px rgba(255, 215, 106, .45); }
.star-sub { font-size: 13px; opacity: .8; }
.star-hero-side { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 200px; }
.star-hero-side div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 10px 16px; display: flex; justify-content: space-between; gap: 20px; }
.star-hero-side span { opacity: .8; font-size: 13px; }
.star-hero-side b { font-size: 18px; }
.star-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.star-grid .form-card { margin-bottom: 24px; }
.star-grid h2 i { color: var(--primary-color); margin-right: 6px; }
.pkg-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.pkg { position: relative; border: 1.5px solid #e3e5f5; border-radius: 10px; padding: 12px 6px; text-align: center; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fafbff; }
.pkg input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.pkg b { font-size: 20px; color: var(--accent-color); }
.pkg span { font-size: 12px; color: #888; }
.pkg em { font-style: normal; font-size: 13px; color: #555; margin-top: 2px; }
.pkg:hover { border-color: #b8baf8; }
.pkg.active { border-color: var(--primary-color); background: #f1f1ff; box-shadow: 0 0 0 3px rgba(101, 102, 250, .12); }
.pkg-custom { grid-column: span 2; flex-direction: row; justify-content: center; gap: 8px; }
.pkg-custom .custom-yuan { width: 110px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; }
.btn-block { width: 100%; justify-content: center; }
.test-tag { color: #b7791f; }
.income-tabs { display: flex; gap: 8px; margin: 14px 0; }
.itab { flex: 1; padding: 8px; border: 1px solid #e3e5f5; background: #fafbff; border-radius: 8px; cursor: pointer; color: #555; }
.itab.active { border-color: var(--primary-color); color: var(--primary-color); background: #f1f1ff; font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pending-box { background: #fff8e6; color: #8a5a00; border-radius: 8px; padding: 14px; font-size: 14px; line-height: 1.6; }
.star-tabs { display: flex; gap: 6px; border-bottom: 1px solid #eee; margin-bottom: 14px; flex-wrap: wrap; }
.star-tabs a { padding: 8px 14px; color: #666; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.star-tabs a.active { color: var(--primary-color); border-color: var(--primary-color); font-weight: 600; }
.status-pill.st-paid { background: #e6f7ee; color: #1e7e4a; }
.status-pill.st-pending { background: #fff8e6; color: #b7791f; }
.status-pill.st-expired, .status-pill.st-rejected, .status-pill.st-refunded { background: #f3f3f3; color: #888; }
.empty-state.small { padding: 30px 0; }
@media (max-width: 820px) {
    .star-grid { grid-template-columns: 1fr; }
    .pkg-list { grid-template-columns: repeat(3, 1fr); }
    .pkg-custom { grid-column: span 3; }
    .star-balance { font-size: 38px; }
}

/* 打赏弹窗 & 付费章节 */
.tip-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 10px; }
.tip-option { border: 1.5px solid #e3e5f5; background: #fafbff; border-radius: 8px; padding: 10px 4px; cursor: pointer; font-weight: 600; color: var(--accent-color); }
.tip-option.active { border-color: var(--primary-color); background: #f1f1ff; }
.tip-custom { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 8px; }
.share-note { font-size: 12px; color: #777; background: #f6f7ff; border-radius: 6px; padding: 8px 10px; line-height: 1.6; text-align: left; }
.share-note b { color: var(--primary-color); }
.chapter-price { font-size: 12px; margin-left: 8px; padding: 1px 7px; border-radius: 10px; background: #fff3d6; color: #a86b00; white-space: nowrap; }
.chapter-price.unlocked { background: #e6f7ee; color: #1e7e4a; }
.chapter-price i { margin-right: 3px; }
.star-pill { display: inline-flex; align-items: center; gap: 6px; background: #eef0ff; color: var(--accent-color); padding: 2px 12px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.star-pill i, .dh-star i { color: #f0b90b; }
.shop-hint { margin-top: 14px; text-align: center; }
.shop-hint a { color: var(--primary-color); font-weight: 600; }
.shop-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-uses a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px; border: 1.5px solid #e3e5f5; border-radius: 12px; background: #fafbff; color: #333; text-align: center; transition: var(--transition); }
.shop-uses a:hover { border-color: var(--primary-color); background: #f1f1ff; }
.shop-uses i { font-size: 22px; color: var(--primary-color); margin-bottom: 4px; }
.shop-uses span { font-size: 12px; color: #888; }
