/* ==============================================================================
   腾龙发科 AI 元宇宙 · V90 底部快捷入口 Dock  static/css/v90-dock.css
   作用：在前台页面底部注入固定停靠的快捷入口条（替代 V74 FAB），
        可横向滚动，高亮当前页，响应式适配 PC/Pad/Phone。
   ============================================================================== */
:root {
  --v90-primary: #00d4ff;
  --v90-purple: #a855f7;
  --v90-pink: #ec4899;
  --v90-bg: rgba(8, 12, 24, .92);
  --v90-border: rgba(0, 212, 255, .25);
}
.v90-dock-wrap {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
  padding: 8px 0;
  background: linear-gradient(180deg, rgba(8,12,24,0) 0%, var(--v90-bg) 30%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--v90-border);
  display: flex; justify-content: center; pointer-events: none;
}
.v90-dock {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  max-width: 1400px; width: calc(100% - 24px);
  padding: 6px 8px; border-radius: 14px;
  background: rgba(12, 18, 36, .92);
  border: 1px solid var(--v90-border);
  box-shadow: 0 10px 40px rgba(0, 212, 255, .12), 0 0 0 1px rgba(168,85,247,.08) inset;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin; scrollbar-color: rgba(0,212,255,.35) transparent;
}
.v90-dock::-webkit-scrollbar { height: 4px; }
.v90-dock::-webkit-scrollbar-thumb { background: rgba(0,212,255,.35); border-radius: 99px; }
.v90-dock::-webkit-scrollbar-track { background: transparent; }
.v90-dock-brand {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,212,255,.18), rgba(168,85,247,.18));
  border: 1px solid rgba(0,212,255,.3);
  font-size: 12px; font-weight: 700; color: #e8f3ff;
  letter-spacing: .5px; white-space: nowrap;
}
.v90-dock-brand b { background: linear-gradient(90deg, var(--v90-primary), var(--v90-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v90-dock a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 10px; flex-shrink: 0;
  color: #c9d7ee; font-size: 13px; text-decoration: none; white-space: nowrap;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.v90-dock a:hover {
  color: #fff; background: rgba(0,212,255,.12);
  border-color: rgba(0,212,255,.35);
  transform: translateY(-1px);
}
.v90-dock a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(0,212,255,.22), rgba(168,85,247,.22));
  border-color: rgba(0,212,255,.5);
  box-shadow: 0 0 18px rgba(0,212,255,.25);
}
.v90-dock a .ico { font-size: 15px; line-height: 1; }
.v90-dock-close {
  margin-left: auto; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04); color: #9fb0cc; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
  transition: all .2s;
}
.v90-dock-close:hover { color: #fff; background: rgba(236,72,153,.2); border-color: rgba(236,72,153,.4); }
.v90-dock-wrap.hidden { transform: translateY(120%); transition: transform .35s ease; }

/* body 底部预留空间，避免 dock 遮挡页脚 */
body.has-v90-dock { padding-bottom: 72px; }

/* 响应式 */
@media (max-width: 768px) {
  .v90-dock-wrap { padding: 6px 0; }
  .v90-dock { width: calc(100% - 12px); padding: 4px 6px; border-radius: 12px; gap: 2px; }
  .v90-dock-brand { padding: 5px 8px; font-size: 11px; }
  .v90-dock a { padding: 6px 9px; font-size: 12px; }
  .v90-dock a .ico { font-size: 13px; }
  body.has-v90-dock { padding-bottom: 64px; }
}
@media (max-width: 480px) {
  .v90-dock a .label { display: none; }
  .v90-dock a { padding: 6px 8px; }
  .v90-dock-brand span.sub { display: none; }
}
