/* handover.css —— A站运营侧「人工接手」提示（最小版，样式待原站截图对齐）
   2026-11-23 小前 */
.brand-img{width:26px;height:26px;object-fit:contain;border-radius:6px}
.ho-crumb{color:var(--muted);font-size:13px}
.top-link{color:var(--brand);text-decoration:none;font-size:13px;padding:4px 8px;border-radius:8px}
.top-link:hover{background:var(--brand-soft)}

.ho-wrap{max-width:920px;margin:0 auto;padding:26px 18px 60px}
.ho-head{display:flex;align-items:center;gap:10px}
.ho-head h1{font-size:22px;margin:0}
.ho-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 8px;border-radius:999px;background:#f53f3f;color:#fff;font-size:12px;font-weight:600}
.ho-lead{margin:8px 0 18px;color:var(--muted);font-size:13px;line-height:1.7}
.ho-list{display:flex;flex-direction:column;gap:10px}
.ho-empty{padding:28px;text-align:center;color:var(--muted);background:var(--panel);border:1px dashed var(--line);border-radius:var(--radius)}

/* 与 A站现有 #acctTakeover 同色系：橙边、浅橙底 */
.ho-item{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#fff7e8;border:1px solid #ffcf8b;border-radius:10px}
.ho-item .ho-main{flex:1;min-width:0}
.ho-item .ho-role{font-weight:600;font-size:14px;color:#1d2330;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ho-item .ho-cust{font-weight:400;font-size:12px;color:#6b7280;margin-left:6px}
.ho-item .ho-title{margin-top:2px;font-size:13px;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ho-item .ho-meta{margin-top:6px;font-size:12px;color:#86909c;font-variant-numeric:tabular-nums}
.ho-item.done{opacity:.75}
.ho-item .gt-done{margin-left:auto}
.ho-item .ho-gift{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:999px;background:#fff;border:1px solid #f0c36d;color:#a15c00;font-size:12px;font-weight:600}
.ho-item .ho-gift::before{content:"";width:6px;height:6px;border-radius:50%;background:#e8a23a}
.ho-item .ho-open{flex:0 0 auto;background:var(--brand);border-color:var(--brand);color:#fff;text-decoration:none;font-size:13px;padding:7px 14px;border-radius:8px}
.ho-item .ho-open:hover{filter:brightness(.95)}
.ho-foot{margin-top:16px;font-size:12px}

/* 顶栏入口（A站首页）*/
.handover-entry{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;background:#fff7e8;border:1px solid #ffcf8b;color:#b45309;text-decoration:none;font-size:13px;font-weight:600}
.handover-entry b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#f53f3f;color:#fff;font-size:11px}
.handover-entry.hidden{display:none!important}
.handover-sound{height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#4b5563;font-size:12px;font-weight:500}
.handover-sound.on{background:#e8f6ed;border-color:#b7e4c7;color:#15803d}

/* 右侧「待人工处理」提示区（照原站 A 站）*/
.gift-takeover{margin:12px 16px 0;padding:14px 16px;border:1px solid #F3C9C9;border-radius:10px;background:#FDECEC}
.gift-takeover.hidden{display:none!important}
.gt-head{display:flex;align-items:center;gap:10px}
.gt-head h3{margin:0;font-size:16px;font-weight:600;color:#B81A19}
.gt-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#f53f3f;color:#fff;font-size:12px;font-weight:600;vertical-align:2px}
.gt-head .gt-sound{margin-left:auto;height:28px;padding:0 10px;border-radius:999px;border:1px solid #F3C9C9;background:#fff;color:#B81A19;font-size:12px;font-weight:500}
.gt-head .gt-sound.on{background:#e8f6ed;border-color:#b7e4c7;color:#15803d}
.gt-intro{margin:8px 0 0;font-size:13px;line-height:1.7;color:#1d2330}
.gt-hint{margin:6px 0 0;font-size:12.5px;color:#B81A19}
.gt-hint.hidden{display:none!important}
.gt-hint button{border:0;background:none;color:#0e42d2;text-decoration:underline;padding:0;font-size:12.5px}
.gt-list{list-style:none;margin:10px 0 0;padding:0}
.gt-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #F6D4D4}
.gt-list li:first-child{border-top:0}
.gt-main{flex:1;min-width:0}
.gt-name{font-weight:600;font-size:14px;color:#1d2330;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gt-reason{font-size:12px;color:#86909c;margin-top:2px}
.gt-take{flex:0 0 auto;background:#0e42d2;border-color:#0e42d2;color:#fff;font-size:13px;padding:6px 12px;border-radius:8px}
.gt-take:hover{filter:brightness(.95)}
.gt-resume{flex:0 0 auto;background:#fff;border:1px solid #0e42d2;color:#0e42d2;font-size:13px;padding:6px 12px;border-radius:8px}
.gt-resume:hover{background:#eef2ff}
.gt-badge{flex:0 0 auto;display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600}
.gt-badge-taken{background:#e8f6ed;color:#15803d;border:1px solid #b7e4c7}
.gt-badge-done{background:#eef1f5;color:#64748b;border:1px solid #dbe2ea}
.gt-error{color:#b91c1c;font-size:13px;margin:8px 0 0}
.gt-error.hidden{display:none!important}
.gt-done{flex:0 0 auto;color:#00b42a;font-size:12.5px}
.gt-list li.done{opacity:.75}


/* 右下角提示条（B站出现礼物 → A站弹）*/
.ho-toast{position:fixed;right:18px;bottom:18px;z-index:9999;width:320px;max-width:calc(100vw - 36px);background:#fff7e8;border:1px solid #ffcf8b;border-radius:12px;box-shadow:0 10px 30px rgba(17,24,39,.14);padding:14px 14px 12px;animation:hoIn .18s ease-out}
.ho-toast.hidden{display:none!important}
.ho-toast h4{margin:0 0 6px;font-size:14px;color:#b45309}
.ho-toast p{margin:0;font-size:13px;line-height:1.6;color:#1d2330;word-break:break-all}
.ho-toast .ho-toast-actions{display:flex;gap:8px;margin-top:12px}
.ho-toast .ho-toast-actions a,.ho-toast .ho-toast-actions button{font-size:13px;padding:6px 12px;border-radius:8px;text-decoration:none}
.ho-toast .ho-toast-actions a{background:var(--brand);color:#fff;border:1px solid var(--brand)}
.ho-toast .ho-toast-actions button{background:#fff;border:1px solid var(--line);color:#4b5563}
@keyframes hoIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
