/* 08 续火花 */
.seg3 { margin-top: 12px; height: 40px; border-radius: 20px; padding: 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.seg3 a { border-radius: 16px; font-size: var(--fs-body); color: var(--c-ink-3); display: flex; align-items: center; justify-content: center; }
.seg3 a[aria-selected="true"] { background: var(--c-whale); color: #FFFFFF; }

.spark-hero { margin-top: 14px; display: flex; flex-direction: column; align-items: center; }
.spark-hero .flame { position: relative; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; }
.spark-hero .flame::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 228, 0.9), rgba(255, 206, 227, 0) 70%); }
.spark-hero .flame svg { position: relative; width: 132px; height: 150px; filter: drop-shadow(0 8px 16px rgba(224, 122, 168, 0.35)); animation: flick 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flick { 50% { transform: scale(1.03, 0.98) rotate(-1deg); } }
.spark-hero .days { display: flex; align-items: baseline; gap: 6px; margin-top: -6px; }
.spark-hero .days .mono { font-weight: 500; font-size: 44px; line-height: 48px; }
.spark-hero .days .serif { font-size: 16px; }
.today-line { display: flex; gap: 10px; }
.today-line .ok { color: #2F8C9B; font-weight: 500; }
.today-line .no { color: var(--c-ink-2); font-weight: 400; }
.today-line .done { color: #B4517F; }

.week { margin-top: 14px; border-radius: 24px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.week .hd, .wallets .ms .hd { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }
.week .hd .serif, .wallets .ms .serif { font-weight: 600; font-size: 15px; }
.days7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.days7 .d { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.days7 .c { width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.8); background: rgba(255, 206, 227, 0.65); }
.days7 .c svg { width: 16px; height: 18px; }
.days7 .miss .c { background: rgba(186, 203, 227, 0.35); border: 1.5px dashed var(--c-offline); }
.days7 .miss .c svg { opacity: 0.6; }
.days7 .is-today .c { background: #FFFFFF; border: 2px solid var(--c-rose); }
.days7 .is-today .cap { color: #B4517F; }
.days7 .cap { font-size: 11px; }
.week .fix { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.55); }
.week .fix button { height: 28px; padding: 0 12px; border-radius: 14px; background: var(--c-whale); color: #FFFFFF; font-size: var(--fs-cap); }
.week .fix button:disabled { background: var(--c-haze); }

.wallets { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wallets > div { border-radius: 22px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.wallets .her { background: rgba(255, 206, 227, 0.42); }
.wallets .him { background: rgba(197, 232, 238, 0.5); }
.wallets .mono { font-weight: 500; font-size: 24px; line-height: 30px; }
.wallets .ms { grid-column: span 2; gap: 8px; }
.wallets .bar { height: 8px; border-radius: 4px; background: rgba(186, 203, 227, 0.6); overflow: hidden; }
.wallets .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #F3A3C3, var(--c-rose)); }

.wallet-switch { margin-top: 12px; height: 56px; border-radius: 28px; padding: 0 6px 0 16px; display: flex; align-items: center; gap: 10px; }
.wallet-switch .seg { grid-auto-columns: auto; }
.wallet-switch .seg button { padding: 0 12px; font-size: var(--fs-small); }
.cats { margin: 12px -16px 0; padding: 0 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats button { flex: none; height: 32px; padding: 0 14px; border-radius: 16px; background: rgba(242, 249, 252, 0.4); border: 1px solid rgba(255, 255, 255, 0.62); font-size: var(--fs-small); color: var(--c-ink-3); }
.cats button[aria-pressed="true"] { background: var(--c-whale); color: #FFFFFF; }
.gifts { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gift { border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.gift .cover { height: 92px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #DEF1F5, #C5E8EE); }
.gift .cover.t-frame { background: linear-gradient(135deg, #FFE3EE, #FFCEE3); }
.gift .cover.t-date { background: linear-gradient(135deg, #FFE9E0, #FFD3D3); }
.gift .cover.t-real { background: linear-gradient(135deg, #FFF3D6, #FFE3B0); }
.gift .cover.t-blind { background: linear-gradient(135deg, #E9E3FF, #D5CCF5); }
.gift b { font-size: 15px; font-weight: 500; line-height: 20px; }
.gift .desc { font-size: 11px; line-height: 15px; flex: 1; }
.gift .foot { display: flex; align-items: center; justify-content: space-between; }
.gift .price { font-size: var(--fs-body); font-weight: 500; color: #B4517F; }
.tag { height: 26px; padding: 0 10px; border-radius: 13px; background: var(--c-whale); color: #FFFFFF; font-size: var(--fs-cap); display: inline-flex; align-items: center; white-space: nowrap; }
.tag.owned, .tag.st-done, .tag.st-fulfilled { background: rgba(186, 203, 227, 0.5); color: var(--c-ink-2); }
.tag.st-asking, .tag.st-pending-ship { background: rgba(224, 122, 168, 0.16); color: #B4517F; }
.tag.st-agreed { background: rgba(93, 184, 198, 0.18); color: #2F8C9B; }
.tag.st-declined { background: rgba(186, 203, 227, 0.5); color: #C2456A; }

.kept-h { margin: 16px 4px 8px; font-family: var(--f-title); font-weight: 600; font-size: 15px; }
.kept-row { min-height: 76px; border-radius: 22px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.kept-row .kp { width: 92px; flex: none; display: flex; justify-content: center; }

/* 皮肤预览（礼物铺卡片、收藏） */
.skin-prev { display: flex; flex-direction: column; gap: 4px; width: 110px; }
.skin-prev .sp { padding: 3px 9px; font-size: 11px; line-height: 16px; border: 1px solid rgba(255, 255, 255, 0.8); }
.skin-prev .him { align-self: flex-start; border-radius: 4px 12px 12px 12px; background: rgba(197, 232, 238, 0.8); }
.skin-prev .her { align-self: flex-end; border-radius: 12px 4px 12px 12px; background: rgba(255, 206, 227, 0.85); }
.frame-prev { position: relative; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; }
.frame-prev svg { width: 54px; height: auto; }

/* 头像框：盖在头像外面 */
.av-frame { position: absolute; left: 50%; top: 50%; width: 140%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; }
.frame-prev .av-frame { width: 100%; }
.chat-head .av { position: relative; }
.call-av .av-frame { width: 200px; }
.cl-avatar .av-frame { width: 92px; }
