/* ZPZ 音乐工作台 · 全站共用样式（顶栏 / 按钮 / 卡片 / 扫码弹窗 / 下拉菜单） */
:root { --lst-primary: #2563eb; --lst-text: #1f2937; --lst-muted: #6b7280; --lst-line: #e5e7eb; --lst-bg: #f3f4f6; }
.lst-top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 20px;
  background: #0f172a; color: #e2e8f0; font: 14px/1 system-ui, "Microsoft YaHei", sans-serif; box-sizing: border-box; }
.lst-top a { color: inherit; text-decoration: none; }
.lst-top .lst-brand { font-weight: 700; font-size: 16px; white-space: nowrap; letter-spacing: .5px; }
.lst-top nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; }
.lst-top nav a { padding: 8px 12px; border-radius: 6px; color: #cbd5e1; white-space: nowrap; }
.lst-top nav a:hover { background: #1e293b; color: #fff; }
.lst-top nav a.active { background: #1e293b; color: #fff; box-shadow: inset 0 -2px 0 #f59e0b; }
.lst-qq { font-size: 12px; color: #94a3b8; white-space: nowrap; }
.lst-qq a { color: #fbbf24; text-decoration: underline; cursor: pointer; }
.lst-qq.ok { color: #86efac; }
body { padding-top: var(--zpz-site-nav-height, 52px); }
@media (max-width: 1100px) {
  .lst-top { height: auto; min-height: 52px; flex-wrap: wrap; gap: 8px; }
  .lst-top nav { order: 3; flex: 1 1 100%; flex-wrap: wrap; overflow: visible; min-height: 44px; }
  .lst-top .lst-me { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
  .lst-top .lst-qq { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 600px) {
  .lst-top { gap: 8px; padding: 0 10px; height: auto; min-height: 48px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .lst-top .lst-brand { font-size: 14px; }
  .lst-top nav { order: 3; flex-basis: 100%; }
  .lst-top nav a { padding: 6px 8px; font-size: 13px; }
  .lst-qq { margin-left: auto; }
}
@media print { .lst-top, .lst-modal-mask { display: none !important; } body { padding-top: 0 !important; } }

/* 扫码登录弹窗（全站共用；压在一切之上，二维码留白边、完整显示） */
.lst-modal-mask { display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(15,23,42,.55); overflow: auto;
  padding: 16px; box-sizing: border-box; }
.lst-modal { background: #fff; color: #111827; max-width: 400px; margin: 6vh auto; padding: 18px 18px 14px; border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35); font: 13px/1.6 system-ui, "Microsoft YaHei", sans-serif; }
.lst-modal h3 { margin: 0 0 4px; font-size: 16px; }
.lst-modal .lst-sub { color: #6b7280; font-size: 12px; margin: 0 0 10px; }
.lst-seg { display: flex; border: 1px solid #d1d5db; border-radius: 8px; overflow: hidden; }
.lst-seg button { flex: 1; border: 0; background: #fff; color: #374151; padding: 8px 6px; font-size: 13px; cursor: pointer; margin: 0; border-radius: 0; width: auto; }
.lst-seg button + button { border-left: 1px solid #d1d5db; }
.lst-seg button.active { background: #2563eb; color: #fff; font-weight: 600; }
.qq-qr-wrap { display: flex; justify-content: center; margin: 14px 0 6px; min-height: 120px; align-items: center; }
#qq_qr { width: 240px; height: 240px; max-width: calc(100vw - 96px); max-height: calc(100vw - 96px); padding: 16px; background: #fff;
  border: 1px solid #e5e7eb; box-sizing: content-box; object-fit: contain; image-rendering: pixelated; }
.lst-modal .lst-row { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.lst-btn2 { border: 1px solid #d1d5db; background: #fff; color: #374151; padding: 7px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; width: auto; margin: 0; }
.lst-btn2:hover { background: #f9fafb; }

.lst-qq-btn { margin-left: 8px; border: 1px solid #f59e0b; background: #f59e0b; color: #111827; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px; cursor: pointer; width: auto; white-space: nowrap; position: relative; z-index: 2; pointer-events: auto; }
.lst-qq-btn:hover { background: #fbbf24; }
