/* ============================================================
   Q绑在线查询 - 全站统一美化样式
   玻璃拟态卡片 + 渐变主题 + 精致控件
   ============================================================ */

/* ---------- 背景与全局 ---------- */
body.bg-photo,
body.beauty-body {
  background: url('http://img2.baidu.com/it/u=4263362892,2506612718&fm=253&app=138&f=JPEG?w=800&h=1426') center top no-repeat fixed !important;
  background-size: cover !important;
  position: relative;
  min-height: 100vh;
}
/* 背景遮罩：让内容更清晰 */
body.bg-photo::before,
body.beauty-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,10,35,.55) 0%, rgba(20,15,45,.35) 45%, rgba(10,8,25,.6) 100%);
  z-index: -1;
  pointer-events: none;
}

/* ---------- 主容器 ---------- */
.bt-wrap {
  max-width: 560px;
  margin: 22px auto;
  padding: 0 12px;
}

/* ---------- 顶部品牌头 ---------- */
.bt-brand {
  text-align: center;
  color: #fff;
  padding: 8px 0 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.bt-brand .bt-logo {
  width: 240px;
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
}
.bt-brand .bt-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 10px 0 4px;
  background: linear-gradient(90deg,#fff,#ffe9a8,#fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bt-brand .bt-sub {
  font-size: 13px;
  opacity: .9;
}

/* ---------- 公告跑马灯 ---------- */
.bt-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 12px;
  padding: 9px 14px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  font-size: 13px;
  font-weight: 600;
  color: #d63384;
  overflow: hidden;
}
.bt-notice img { flex-shrink: 0; width: 22px; height: 16px; }
.bt-notice marquee { flex: 1; }

/* ---------- 玻璃卡片 ---------- */
.bt-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
}
.bt-card-hd {
  padding: 15px 20px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  background: linear-gradient(135deg,#7b2ff7,#14b7ff,#38ef7d);
  background-size: 200% 200%;
  animation: btGradient 8s ease infinite;
}
.bt-card-hd.hd-orange { background: linear-gradient(135deg,#f7971e,#ffd200,#f7971e); background-size: 200% 200%; }
.bt-card-hd.hd-rose   { background: linear-gradient(135deg,#ff512f,#dd2476); background-size: 200% 200%; }
.bt-card-hd.hd-green  { background: linear-gradient(135deg,#11998e,#38ef7d); background-size: 200% 200%; }
.bt-card-hd.hd-purple { background: linear-gradient(135deg,#667eea,#764ba2); background-size: 200% 200%; }
@keyframes btGradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.bt-card-bd { padding: 18px 18px 20px; }

/* ---------- 提示条 ---------- */
.bt-tip {
  background: linear-gradient(135deg,#fff7e6,#fff);
  border: 1px solid #ffe0a3;
  color: #b26a00;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 14px;
}

/* ---------- 输入框 ---------- */
.bt-input {
  width: 100%;
  height: 46px;
  border: 2px solid #e3e8f0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  color: #2b2b3a;
  background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  outline: none;
  margin-bottom: 12px;
}
.bt-input::placeholder { color: #a9b0be; }
.bt-input:focus {
  border-color: #7b2ff7;
  box-shadow: 0 0 0 4px rgba(123,47,247,.14);
  background: #fff;
  transform: translateY(-1px);
}

/* ---------- 输入组 ---------- */
.bt-field { margin-bottom: 4px; }
.bt-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #5a5f72;
  margin: 0 0 6px 2px;
}
.bt-input-group { position: relative; margin-bottom: 12px; }
.bt-input-group .bt-addon {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#f3f0ff,#e8f6ff);
  color: #6b4bb0;
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px 0 0 12px;
  border-right: 1px solid #e3e8f0;
}
.bt-input-group .bt-control {
  width: 100%;
  height: 46px;
  border: 2px solid #e3e8f0;
  border-radius: 12px;
  padding: 0 14px 0 104px;
  font-size: 15px;
  background: #fbfcfe;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bt-input-group .bt-control:focus { border-color: #14b7ff; box-shadow: 0 0 0 4px rgba(20,183,255,.14); }

/* ---------- 按钮 ---------- */
.bt-btn {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 11px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#7b2ff7,#14b7ff);
  box-shadow: 0 6px 18px rgba(123,47,247,.3);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.bt-btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(123,47,247,.42); filter: brightness(1.05); }
.bt-btn:active { transform: translateY(0); }
.bt-btn.bt-primary { background: linear-gradient(135deg,#b221ff,#14b7ff); box-shadow: 0 6px 18px rgba(178,33,255,.3); }
.bt-btn.bt-orange  { background: linear-gradient(135deg,#f7971e,#ffd200); color:#5a3a00; box-shadow: 0 6px 18px rgba(247,151,30,.3); }
.bt-btn.bt-rose    { background: linear-gradient(135deg,#ff512f,#dd2476); box-shadow: 0 6px 18px rgba(221,36,118,.3); }
.bt-btn.bt-green   { background: linear-gradient(135deg,#11998e,#38ef7d); box-shadow: 0 6px 18px rgba(17,153,142,.3); }
.bt-btn.bt-purple  { background: linear-gradient(135deg,#667eea,#764ba2); box-shadow: 0 6px 18px rgba(102,126,234,.3); }
.bt-btn.bt-ghost   { background: #fff; color:#6b4bb0; border:2px solid #e3d8ff; box-shadow:none; }
.bt-btn.bt-ghost:hover { background:#f6f2ff; }
.bt-btn-row { display: flex; gap: 10px; }
.bt-btn-row .bt-btn { flex: 1; margin-bottom: 0; }

/* ---------- 结果区 ---------- */
.bt-result {
  display: none;
  margin-top: 6px;
  border: 1px solid #d9e2f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.bt-result-hd {
  background: linear-gradient(135deg,#11998e,#38ef7d);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  font-size: 15px;
}
.bt-kv {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #eef1f6;
  font-size: 14px;
}
.bt-kv:last-child { border-bottom: none; }
.bt-kv .k {
  width: 104px;
  flex-shrink: 0;
  padding: 10px 12px;
  color: #7a8090;
  font-weight: 700;
  background: #f7f9fc;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.bt-kv .v { flex: 1; padding: 10px 12px; color: #2b2b3a; word-break: break-all; }
.bt-kv .v input {
  width: 100%; border: none; outline: none; font-size: 14px; color: #2b2b3a; background: transparent;
}

/* ---------- 进度条 ---------- */
.bt-progress {
  height: 22px;
  border-radius: 11px;
  background: #eef1f6;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.08);
  margin: 6px 0 10px;
}
.bt-progress-bar {
  height: 100%;
  width: 0;
  border-radius: 11px;
  background: linear-gradient(90deg,#ff512f,#dd2476,#f7971e);
  background-size: 200% 200%;
  animation: btGradient 3s ease infinite, btStripe 1s linear infinite;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  transition: width .25s;
}
@keyframes btStripe {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 0, 30px 0; }
}
.bt-stat { text-align: center; font-size: 13px; color: #6b7280; }
.bt-stat .num { font-weight: 800; color: #dd2476; font-size: 16px; }

/* ---------- 链接输入框（探针） ---------- */
.bt-linkbox {
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
}
.bt-linkbox .bt-addon {
  width: 88px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#f3f0ff,#e8f6ff);
  color: #6b4bb0;
  font-weight: 700;
  font-size: 13px;
  border-radius: 12px 0 0 12px;
  border: 2px solid #e3e8f0;
  border-right: none;
}
.bt-linkbox input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 2px solid #e3e8f0;
  border-radius: 0 12px 12px 0;
  padding: 0 12px;
  font-size: 14px;
  background: #fbfcfe;
  outline: none;
}
.bt-linkbox .bt-copy {
  margin-left: 8px;
  height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg,#11998e,#38ef7d);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.bt-linkbox .bt-copy:hover { filter: brightness(1.08); }

/* ---------- 访问记录卡片 ---------- */
.bt-rec-card {
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
}
.bt-rec-hd {
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: #fff;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 14px;
}
.bt-rec-group {
  margin: 8px 14px 2px;
  font-weight: 700;
  color: #7b2ff7;
  font-size: 13px;
  border-bottom: 1px dashed #e0d8f5;
  padding-bottom: 3px;
}
.bt-rec-row {
  display: flex;
  font-size: 13px;
  padding: 5px 14px;
  border-bottom: 1px solid #f4f6fa;
}
.bt-rec-row:last-child { border-bottom: none; }
.bt-rec-row .k { width: 108px; flex-shrink: 0; color: #8a90a0; }
.bt-rec-row .v { flex: 1; word-break: break-all; color: #333; }

/* ---------- 返回链接 ---------- */
.bt-back {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 14px;
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: background .2s, transform .15s;
}
.bt-back:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.28); transform: translateX(-3px); }

/* ---------- 页脚 ---------- */
.bt-footer {
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  padding: 18px 10px 26px;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.bt-footer .bt-disc {
  margin-top: 6px;
  font-size: 12px;
  opacity: .8;
}

/* ---------- layer 弹窗统一醒目皮肤 ---------- */
@keyframes msgPop {
  0%   { transform: scale(.6) translateY(-10px); opacity: 0; }
  60%  { transform: scale(1.06) translateY(0); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.layui-layer.msg-hot { min-width: 240px !important; border: none !important; border-radius: 12px !important; box-shadow: 0 8px 30px rgba(0,0,0,.35) !important; animation: msgPop .35s ease both; }
.layui-layer.msg-hot .layui-layer-content { color: #fff !important; font-size: 18px !important; font-weight: bold !important; line-height: 28px !important; height: auto !important; padding: 16px 30px !important; text-align: center !important; }
.layui-layer.msg-hot .layui-layer-content .layui-layer-ico { display: none !important; }
.layui-layer.msg-err { background: linear-gradient(135deg,#ff416c,#ff4b2b) !important; }
.layui-layer.msg-ok  { background: linear-gradient(135deg,#11998e,#38ef7d) !important; }
.layui-layer.msg-info{ background: linear-gradient(135deg,#667eea,#764ba2) !important; }
/* 确认弹窗（dialog）标题与按钮美化 */
.layui-layer-lan .layui-layer-title { background: linear-gradient(135deg,#7b2ff7,#14b7ff) !important; color:#fff !important; border:none !important; font-weight:700; }
.layui-layer-lan .layui-layer-btn .layui-layer-btn0 { background: linear-gradient(135deg,#b221ff,#14b7ff) !important; border-color: transparent !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 480px) {
  .bt-brand .bt-title { font-size: 22px; }
  .bt-card-bd { padding: 14px 12px 16px; }
  .bt-input-group .bt-addon { width: 78px; font-size: 12px; }
  .bt-input-group .bt-control { padding-left: 88px; }
}
