/* ============ V8.7：最高管理员移交 / 名额终态关闭 ============ */

/* ---- 主体卡 ---- */
.v87-hero{display:flex;align-items:center;gap:13px;padding:16px 18px;border-radius:12px;
  background:linear-gradient(135deg,#0d2b45 0%,#12507a 62%,#1c6a9c 100%);color:#fff}
.v87-hero-ico{flex:0 0 auto;width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.16);
  display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;letter-spacing:1px}
.v87-hero-txt{flex:1;min-width:0}
.v87-hero-txt b{display:block;font-size:15px;line-height:1.5;letter-spacing:.2px}
.v87-hero-txt span{display:block;font-size:12px;color:#bfdbfe;margin-top:3px;line-height:1.5}
.v87-badge{flex:0 0 auto;font-size:11.5px;padding:5px 11px;border-radius:20px;white-space:nowrap;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.22);color:#e8f3ff}

/* ---- 事实格 ---- */
.v87-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  margin:14px 0 0;border:1px solid #e8eef5;border-radius:10px;overflow:hidden;background:#fff}
.v87-facts>div{padding:12px 14px;border-right:1px solid #eef3f8}
.v87-facts>div:last-child{border-right:0}
.v87-facts label{display:block;font-size:11.5px;color:#8a9aab;margin-bottom:4px}
.v87-facts b{font-size:13.5px;color:#0d2b45}
.v87-facts span{font-size:12.5px;color:#47586b}
.v87-facts code{font-size:11.5px;background:#f1f5f9;border-radius:4px;padding:1px 5px;color:#0f172a}

/* ---- 说明块 ---- */
.v87-note{margin:14px 0 0;padding:13px 15px;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff}
.v87-note b{display:block;font-size:12.5px;color:#0c4a6e;margin-bottom:6px}
.v87-note ul{margin:0;padding-left:18px;font-size:12.5px;color:#334155;line-height:1.85}
.v87-note p{margin:8px 0 0;font-size:12px;color:#64748b;line-height:1.7}

/* ---- 分区标题 ---- */
.v87-sec{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:20px 0 10px;
  padding-bottom:8px;border-bottom:1px solid #eef2f7}
.v87-sec h3{margin:0;font-size:14px;color:#0d2b45}
.v87-sec-tip{font-size:11.5px;color:#8a9aab;line-height:1.6;text-align:right;max-width:64%}

/* ---- 身份标签 ---- */
.v87-tag{display:inline-block;font-size:11.5px;padding:2px 9px;border-radius:20px;background:#f1f5f9;color:#64748b;white-space:nowrap}
.v87-tag.on{background:#dcfce7;color:#15803d}

/* ---- 操作区 ---- */
.v87-act{display:flex;align-items:center;gap:16px;margin:18px 0 0;padding:14px 16px;
  border:1px solid #fde2e2;border-radius:10px;background:#fffafa}
.v87-act>div{flex:1;min-width:0}
.v87-act b{display:block;font-size:13px;color:#0d2b45;margin-bottom:4px}
.v87-act span{display:block;font-size:12px;color:#64748b;line-height:1.75}
.v87-danger{flex:0 0 auto;height:34px;padding:0 18px;font-size:13px;line-height:34px;
  border-color:#fca5a5 !important;color:#b91c1c !important;background:#fff !important;white-space:nowrap;
  border-radius:8px;cursor:pointer}
.v87-danger:hover{background:#fef2f2 !important}

/* ---- 最近移交 ---- */
.v87-log{margin-top:14px;font-size:11.5px;color:#8a9aab;line-height:1.8}
.v87-log:empty{display:none}
.v87-log b{color:#64748b}

/* ---- 移交弹窗警告 ---- */
.v87-warn{padding:12px 14px;border:1px solid #fde68a;border-radius:9px;background:#fffbeb;margin-bottom:14px}
.v87-warn b{display:block;font-size:12.5px;color:#92400e;margin-bottom:6px}
.v87-warn ul{margin:0;padding-left:18px;font-size:12px;color:#78350f;line-height:1.85}

@media (max-width:900px){
  .v87-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v87-facts>div:nth-child(2){border-right:0}
  .v87-facts>div:nth-child(1),.v87-facts>div:nth-child(2){border-bottom:1px solid #eef3f8}
  .v87-sec{flex-direction:column;align-items:flex-start;gap:4px}
  .v87-sec-tip{max-width:100%;text-align:left}
}
@media (max-width:640px){
  .v87-hero{flex-wrap:wrap;padding:14px}
  .v87-hero-txt{flex:1 1 100%;order:2}
  .v87-badge{order:1;margin-left:auto}
  .v87-facts{grid-template-columns:1fr}
  .v87-facts>div{border-right:0;border-bottom:1px solid #eef3f8}
  .v87-facts>div:last-child{border-bottom:0}
  .v87-act{flex-direction:column;align-items:stretch}
  .v87-danger{width:100%;height:38px;line-height:38px}
}
