/* ============ JjlsQuota v1.1 - 仿模型广场右下角胶囊 ============ */
.jq-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  font-size: 12.5px; color: #cbd5e1; line-height: 1.2;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: all .2s;
  user-select: none;
}
.jq-pill .jq-pill-icon { font-size: 14px; }
.jq-pill .jq-pill-txt b { color: #fbbf24; font-weight: 600; padding: 0 1px; }
.jq-pill.jq-clickable { cursor: pointer; }
.jq-pill.jq-clickable:hover { background: rgba(15, 23, 42, 1); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.jq-pill.jq-pill-vip   { border-color: rgba(251,191,36,0.3); }
.jq-pill.jq-pill-vip   .jq-pill-txt b { color: #fcd34d; }
.jq-pill.jq-pill-warn  { border-color: rgba(251,191,36,0.4); }
.jq-pill.jq-pill-warn  .jq-pill-txt b { color: #fbbf24; }
.jq-pill.jq-pill-empty { border-color: rgba(239,68,68,0.4); }
.jq-pill.jq-pill-empty .jq-pill-txt b { color: #f87171; }

/* 429 弹窗 */
.jq-modal {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  animation: jqFadeIn .2s ease;
}
.jq-modal-box {
  width: 88%; max-width: 320px; padding: 28px 24px 22px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
  text-align: center; color: #f8fafc;
}
.jq-modal-icon { font-size: 36px; margin-bottom: 8px; }
.jq-modal-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.jq-modal-msg { font-size: 13px; color: #cbd5e1; margin-bottom: 12px; line-height: 1.5; }
.jq-modal-hint {
  font-size: 12px; color: #fbbf24; margin-bottom: 16px;
  padding: 8px 12px; background: rgba(251,191,36,0.08);
  border-left: 3px solid #fbbf24; border-radius: 4px; text-align: left;
}
.jq-modal-btns { display: flex; flex-direction: column; gap: 8px; }
.jq-btn-main {
  padding: 10px 16px; border: none; border-radius: 8px;
  background: #fbbf24; color: #1e293b; font-weight: 600; font-size: 13px;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.jq-btn-main:hover { background: #fcd34d; transform: translateY(-1px); }
.jq-btn-sub {
  padding: 9px 16px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  background: rgba(255,255,255,0.04); color: #cbd5e1; font-size: 12.5px;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.jq-btn-sub:hover { background: rgba(255,255,255,0.08); color: #fff; }

@keyframes jqFadeIn { from{opacity:0} to{opacity:1} }

/* 移动端 */
@media (max-width: 640px) {
  .jq-pill { right: 10px; bottom: 70px; font-size: 11px; padding: 6px 11px; }
}
