/* 点数到账（Owner 11-02，按 10-28 新手引导原稿）：页面顶部正中一条深色小条，4 秒自己消失、不挡操作，带「看余额」。 */
.reward-strip { position:fixed; z-index:58; top:72px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:10px; max-width:calc(100vw - 32px); box-sizing:border-box; padding:10px 14px; border-radius:12px; background:#13253D; color:#FFFFFF; box-shadow:0 10px 28px rgba(10,29,53,.25); font:inherit; font-size:14px; line-height:1.5; animation:reward-strip-in var(--t-mid, .24s) var(--ease-out, cubic-bezier(.2,.8,.2,1)); pointer-events:none; }
.reward-strip-ok { flex:none; width:22px; height:22px; border-radius:50%; background:#2FA37C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.reward-strip-text { min-width:0; }
.reward-strip-text b { font-weight:600; color:#F6C27A; }
.reward-strip-link { pointer-events:auto; flex:none; margin-left:6px; padding:0; border:0; background:none; color:#9FDCEB; font:inherit; font-size:13px; cursor:pointer; }
.reward-strip-link:hover { color:#FFFFFF; }
.reward-strip-link:focus-visible { outline:2px solid #9FDCEB; outline-offset:3px; border-radius:4px; }
@keyframes reward-strip-in { from { opacity:0; transform:translate(-50%, -6px); } to { opacity:1; transform:translate(-50%, 0); } }
@media (max-width:640px) { .reward-strip { top:64px; width:calc(100% - 32px); justify-content:center; } }
@media (prefers-reduced-motion:reduce) { .reward-strip { animation:none; } }

/* 旧版 /app 侧栏的邀请入口（PM 1102 原样保留）。 */
html body #app.app-shell .referral-sidebar, #mobilePanel .referral-sidebar { display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box; padding:12px; margin:0 0 10px; border:1px solid #dce6df; border-radius:13px; background:#fff; color:#253545; text-align:left; cursor:pointer; }
.referral-sidebar > svg { width:21px; height:21px; flex:none; color:#268262; }
.referral-sidebar .referral-copy { display:flex; flex:1; flex-direction:column; min-width:0; gap:5px; }
.referral-sidebar b { font-size:13px; font-weight:600; }
.referral-sidebar small { font-size:11px; line-height:1.6; color:#6c7971; }
.referral-sidebar em { color:#208262; font-style:normal; font-weight:600; }
.referral-sidebar:focus-visible { outline:3px solid #83baa5; outline-offset:2px; }
@media (min-width:921px) { html body #app.app-shell.conversation-sidebar-collapsed .referral-sidebar { padding:9px; justify-content:center; } html body #app.app-shell.conversation-sidebar-collapsed .referral-sidebar .referral-copy { display:none; } }
