@charset "utf-8";
/* ============================================================
   hb-ctl.css — 控制页：ADB 投屏默认隐藏 + 「查看ADB」浮动窗
   只做定位/装饰，不改应用逻辑
   ============================================================ */

/* ADB 列：默认移出屏幕（仍保持 React 挂载，流不中断） */
.hb-adb-col{
  position:fixed !important;
  left:-99999px;
  top:0;
  z-index:9997;
  transform-origin:0 0;
  pointer-events:none;
}
.hb-adb-col.hb-adb-open{
  pointer-events:auto;
  background:#0b1220;
  border-radius:0 0 14px 14px;
  padding:0 0 6px;
  box-shadow:0 30px 70px -24px rgba(2,6,23,.75), 0 0 0 1px rgba(148,163,184,.18);
}

/* 浮动窗标题条（拖动手柄） */
.hb-adb-bar{
  position:fixed;z-index:9999;
  height:34px;display:none;align-items:center;gap:8px;
  padding:0 8px 0 12px;
  border-radius:12px 12px 0 0;
  background:linear-gradient(135deg,#1e293b,#0f172a);
  color:#e8eef8;font-size:12px;font-weight:600;letter-spacing:.3px;
  cursor:move;user-select:none;
  box-shadow:0 -8px 24px -16px rgba(2,6,23,.8);
}
.hb-adb-bar.show{display:flex}
.hb-adb-bar .hb-adb-dot{
  width:7px;height:7px;border-radius:50%;
  background:#34d399;box-shadow:0 0 0 3px rgba(52,211,153,.18);
}
.hb-adb-bar .hb-adb-title{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-adb-bar .hb-adb-hint{font-size:10px;font-weight:400;color:#94a3b8;margin-right:4px}
.hb-adb-bar .hb-adb-x{
  width:22px;height:22px;border:0;border-radius:7px;
  background:rgba(148,163,184,.16);color:#e2e8f0;
  font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;
  padding:0;
}
.hb-adb-bar .hb-adb-x:hover{background:#ef4444;color:#fff}

/* 标签栏里的「查看ADB」按钮 */
.hb-adb-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:34px;padding:0 12px;border-radius:10px;
  border:1px solid #e3e9f3;background:#fff;color:#0f172a;
  font-size:13px;font-weight:500;line-height:1;white-space:nowrap;
  cursor:pointer;transition:all .16s ease;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.hb-adb-btn:hover{border-color:#bfd3ff;color:#1d4ed8;background:#f7faff}
.hb-adb-btn.is-on{
  border-color:#2563eb;color:#1d4ed8;
  background:linear-gradient(180deg,#eff5ff,#e6efff);
  box-shadow:0 4px 12px -6px rgba(37,99,235,.6);
}
.hb-adb-btn svg{width:14px;height:14px;flex:none}

/* ---------- 手机下方：文本输入 + 发送条 ---------- */
.hb-sendbar{
  position:fixed;
  z-index:60;
  display:flex;
  align-items:center;
  gap:8px;
  height:46px;
  padding:0 7px 0 12px;
  box-sizing:border-box;
  border-radius:14px;
  border:1px solid #e3eaf6;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 12px 30px -20px rgba(15,23,42,.55), 0 1px 2px rgba(15,23,42,.05);
  font-family:"IBM Plex Sans","Microsoft YaHei",system-ui,sans-serif;
  transition:box-shadow .18s,border-color .18s;
}
.hb-sendbar:focus-within{
  border-color:#b9cdfb;
  box-shadow:0 12px 30px -20px rgba(33,85,255,.45), 0 0 0 3px rgba(33,85,255,.10);
}
.hb-sendbar-ico{
  flex:none;width:28px;height:28px;border-radius:9px;
  display:flex;align-items:center;justify-content:center;
  color:#2155ff;background:#eef3ff;
}
.hb-sendbar-ico svg{width:15px;height:15px}
.hb-sendbar-in{
  flex:1 1 auto;min-width:0;height:34px;
  border:0;outline:0;background:transparent;
  font-size:13px;color:#0c1222;letter-spacing:.01em;
}
.hb-sendbar-in::placeholder{color:#94a1b6}
.hb-sendbar-btn{
  flex:none;height:32px;padding:0 18px;border:0;border-radius:9px;
  background:#2155ff;color:#fff;font-size:12.5px;font-weight:600;letter-spacing:.02em;
  cursor:pointer;transition:background .15s,opacity .15s;
}
.hb-sendbar-btn:hover{background:#1a45d8}
.hb-sendbar-btn:active{background:#173cc0}
.hb-sendbar-btn:disabled{opacity:.62;cursor:default}

@media (max-width:1100px){
  .hb-sendbar{height:44px;padding:0 6px 0 10px}
  .hb-sendbar-btn{padding:0 14px}
}
