/* ========== 基础 & 变量 ========== */
:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #0ea5e9;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #273449;
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --border: #334155;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.2s ease;
}

/* 基准字号：方便下方用 rem 统一缩放 */
html { font-size: 16px; }
@media (max-width: 480px)  { html { font-size: 15px; } }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%;       /* 禁止 iOS 横屏放大 */
}

.container {
  padding: 0 12px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}
@media (max-width: 480px) {
  .container {
  padding: 0 12px;
  max-width: 1100px; padding: 0 14px; }
}

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
 *  导航栏
 * ============================================================ */
.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 12px;
}
@media (max-width: 480px) {
  .navbar { padding: 0 12px; }
}

.nav-container {
  padding: 0 12px;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text) !important;
  text-decoration: none !important;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.6rem; }
@media (max-width: 480px) {
  .nav-logo { font-size: 1.1rem; }
  .logo-icon { font-size: 1.3rem; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none !important;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-card);
  color: var(--text);
}

/* 汉堡按钮（手机端显示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;          /* ≥44px 触控区域 */
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
 *  主体
 * ============================================================ */
.main-content {
  flex: 1;
  padding-top: 40px;
  padding-bottom: 60px;
}
@media (max-width: 768px) {
  .main-content { padding-top: 28px; padding-bottom: 40px; }
}
@media (max-width: 480px) {
  .main-content { padding-top: 20px; padding-bottom: 32px; }
}

/* ============================================================
 *  Hero
 * ============================================================ */
.hero {
  text-align: center;
  padding: 60px 16px 40px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #818cf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { padding: 40px 16px 28px; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 24px; }
}
@media (max-width: 480px) {
  .hero { padding: 28px 12px 20px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.93rem; margin-bottom: 20px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
 *  按钮
 * ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  min-height: 44px;            /* ≥44px 触控友好 */
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}
.btn-secondary:active { transform: translateY(0); }

.btn-download {
  background: #059669;
  color: #fff;
  padding: 8px 18px;
  font-size: 0.93rem;
  flex-shrink: 0;
}
.btn-download:hover {
  background: #047857;
  transform: scale(1.03);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 6px;
  min-height: 36px;
}
.btn-sm:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

@media (max-width: 480px) {
  .btn { font-size: 0.95rem; padding: 10px 20px; }
  .btn-download { font-size: 0.9rem; padding: 10px 18px; }
}

/* ============================================================
 *  特性卡片
 * ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 20px 0 50px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.93rem; }

@media (max-width: 768px) {
  .features { gap: 14px; margin: 16px 0 36px; }
  .feature-card { padding: 22px 18px; }
  .feature-icon { font-size: 2rem; }
  .feature-card h3 { font-size: 1.05rem; }
  .feature-card p { font-size: 0.88rem; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card { padding: 18px 12px; }
  .feature-icon { font-size: 1.7rem; margin-bottom: 8px; }
  .feature-card h3 { font-size: 0.95rem; }
  .feature-card p { font-size: 0.8rem; }
}

/* ============================================================
 *  Section
 * ============================================================ */
.section { margin-bottom: 50px; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-header h2 { font-size: 1.5rem; }

@media (max-width: 768px) {
  .section { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .section { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.15rem; }
}

/* ============================================================
 *  页面头部
 * ============================================================ */
.page-header {
  text-align: center;
  margin-bottom: 28px;
}
.page-header h1 { font-size: 2rem; }
.page-header p { color: var(--text-secondary); margin-top: 8px; font-size: 0.95rem; }

@media (max-width: 768px) {
  .page-header h1 { font-size: 1.6rem; }
  .page-header p { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .page-header { margin-bottom: 20px; }
  .page-header h1 { font-size: 1.35rem; }
  .page-header p { font-size: 0.85rem; }
}

/* ============================================================
 *  搜索
 * ============================================================ */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 700px;
  flex-wrap: wrap;
}
.search-bar input {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}
.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
.search-bar input::placeholder { color: var(--text-secondary); }

.search-info {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.93rem;
}

@media (max-width: 480px) {
  .search-bar { flex-direction: column; gap: 8px; }
  .search-bar input { min-width: 0; width: 100%; }
  .search-bar .btn { width: 100%; }
  .search-bar .btn-sm { width: 100%; text-align: center; }
}

/* ============================================================
 *  文件列表
 * ============================================================ */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  gap: 16px;
  transition: var(--transition);
}
.file-item:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.file-icon { font-size: 1.6rem; flex-shrink: 0; }

.file-name {
  font-weight: 600;
  word-break: break-all;
}

.file-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .file-item { padding: 14px 16px; gap: 12px; }
  .file-name { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .file-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .file-info { gap: 10px; }
  .file-icon { font-size: 1.4rem; }
  .file-name { font-size: 0.93rem; }
  .file-meta { font-size: 0.8rem; }
  .file-item .btn-download {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px;
  }
}

/* ============================================================
 *  标签
 * ============================================================ */
.tag {
  display: inline-block;
  background: rgba(79, 70, 229, 0.2);
  color: #a5b4fc;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-right: 4px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .tag { font-size: 0.72rem; padding: 2px 8px; }
}

/* ============================================================
 *  视频网格
 * ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none !important;
  color: var(--text);
  display: block;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.video-card:active { transform: translateY(-2px); }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0;
  transition: var(--transition);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  pointer-events: none;
}
.video-card:hover .video-play-overlay { opacity: 1; }

.video-info { padding: 16px; }
.video-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.video-desc { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 8px; }
.video-tags { margin-bottom: 6px; }
.video-date { color: var(--text-secondary); font-size: 0.8rem; }

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .video-info { padding: 12px; }
  .video-title { font-size: 0.95rem; }
  .video-desc { font-size: 0.85rem; }
}

/* ============================================================
 *  网易UU远程卡片
 * ============================================================ */
.uu-remote-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 0;
  transition: var(--transition);
}
.uu-remote-card:hover {
  border-color: var(--primary);
}
.uu-icon { font-size: 2rem; flex-shrink: 0; }
.uu-info { flex: 1; min-width: 0; }
.uu-info h3 { font-size: 1.05rem; margin-bottom: 3px; }
.uu-info p { color: var(--text-secondary); font-size: 0.88rem; }
.uu-btn { flex-shrink: 0; }

@media (max-width: 480px) {
  .uu-remote-card {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 10px;
  }
  .uu-btn { width: 100%; }
}

/* ============================================================
 *  QQ 群卡片
 * ============================================================ */
.qq-group-section { margin: 10px 0 40px; }

.qq-group-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(79,70,229,0.18), rgba(14,165,233,0.12));
  border: 1px solid rgba(79,70,229,0.35);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.qq-group-left {
  flex: 1;
  min-width: 0;
}

.qq-group-left h2 { font-size: 1.35rem; margin-bottom: 8px; }

.qq-group-number {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.qq-group-number strong {
  color: #22d3ee;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.qq-group-tip {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.qq-scan-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 10px;
}

.qq-group-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.qq-qrcode {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  border: 2px solid var(--border);
  object-fit: cover;
}

@media (max-width: 600px) {
  .qq-group-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 14px;
  }
  .qq-group-number strong { font-size: 1.15rem; }
  .qq-scan-label { display: none; }
  .qq-qrcode {
    width: 180px;
    height: 180px;
  }
}

/* ============================================================
 *  视频播放页
 * ============================================================ */
.breadcrumb {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.93rem;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { color: var(--text); }

.video-player-wrapper {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

.video-detail h1 { font-size: 1.6rem; margin-bottom: 12px; }
.video-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.video-description {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.video-description h3 { margin-bottom: 12px; }

@media (max-width: 768px) {
  .video-detail h1 { font-size: 1.35rem; }
  .video-description { padding: 18px; line-height: 1.7; }
}
@media (max-width: 480px) {
  .breadcrumb { font-size: 0.85rem; margin-bottom: 14px; }
  .video-player-wrapper { margin-bottom: 18px; border-radius: 0; }
  .video-detail h1 { font-size: 1.15rem; }
  .video-meta-row { font-size: 0.82rem; gap: 8px 12px; }
  .video-description { padding: 14px; font-size: 0.9rem; margin-bottom: 18px; }
}

/* ============================================================
 *  空状态
 * ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); }

@media (max-width: 480px) {
  .empty-state { padding: 40px 14px; }
  .empty-icon { font-size: 3rem; }
  .empty-state h3 { font-size: 1.05rem; }
}

/* ============================================================
 *  页脚
 * ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
@media (max-width: 480px) {
  .footer { padding: 18px 0; font-size: 0.8rem; }
}

/* ============================================================
 *  响应式 - 导航栏
 * ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 8px 20px 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 16px;
    font-size: 1.05rem;
  }
}
@media (max-width: 480px) {
  .nav-container {
  padding: 0 12px;
  max-width: 1100px; height: 56px; }
  .nav-links { top: 56px; padding: 6px 14px 14px; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
}

/* ============================================================
 *  杂项
 * ============================================================ */
.desc-content { white-space: pre-line; }

/* 视频来源角标（已废弃，保留以防页面引用） */
.video-source-badge { display: none; }

/* 触控设备去掉 hover 残留效果 */
@media (hover: none) {
  .file-item:hover { border-color: var(--border); background: var(--bg-card); }
  .video-card:hover { transform: none; }
  .btn-primary:hover { box-shadow: none; }
}
.dual-qq-row{display:flex;gap:16px;align-items:stretch;}.dual-qq-card{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,rgba(79,70,229,0.18),rgba(14,165,233,0.12));border:1px solid rgba(79,70,229,0.35);border-radius:var(--radius);padding:18px 20px;}.dual-qq-card h3{font-size:1.05rem;margin-bottom:4px;}.dual-qq-card .qq-group-number strong{font-size:1.05rem;color:#22d3ee;}.dual-qq-card .qq-group-tip{font-size:.82rem;}.dual-qq-card .qq-qrcode{width:120px;height:120px;min-width:120px;border-radius:8px;border:2px solid var(--border);object-fit:cover;}.dual-qq-card .qq-scan-label{font-size:.78rem;}@media(max-width:480px){.dual-qq-row{flex-direction:column;}.dual-qq-card .qq-qrcode{width:100px;height:100px;}}.compact-cards .section{margin-bottom:8px!important;}.compact-cards .section:last-child{margin-bottom:0!important;}
.chat-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; min-height: 300px; max-height: 55vh; overflow-y: auto; margin-bottom: 0; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.6; word-break: break-word; white-space: pre-line; }
.chat-msg.bot { align-self: flex-start; background: #313244; color: #cdd6f4; border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-input-row { display: flex; gap: 10px; margin-top: 14px; }
.chat-input { flex: 1; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 1rem; outline: none; }
.chat-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.chat-send-btn { flex-shrink: 0; }
@media (max-width: 480px) { .chat-box { min-height: 250px; max-height: 45vh; padding: 14px; } .chat-msg { font-size: 0.9rem; padding: 10px 14px; } .chat-input-row { gap: 6px; } .chat-input { padding: 12px 14px; font-size: 0.95rem; } }
.screen-search-box { display: flex; gap: 10px; margin-bottom: 16px; }
.screen-input { flex: 1; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 1.1rem; outline: none; letter-spacing: 4px; text-align: center; }
.screen-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.screen-input::placeholder { letter-spacing: 0; }
.screen-result { margin-bottom: 20px; }
.screen-ok { background: rgba(5,150,105,0.15); border: 1px solid rgba(5,150,105,0.3); border-radius: var(--radius); padding: 20px; text-align: center; color: #a6e3a1; font-size: 1.05rem; }
.screen-warn { color: #f38ba8; font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
.report-form { display: flex; flex-direction: column; gap: 10px; }
.report-input { flex: 1; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.95rem; outline: none; min-width: 0; }
.report-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.report-msg { margin-top: 4px; font-size: 0.9rem; }
.tag-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { display: inline-block; padding: 8px 16px; border-radius: 20px; background: var(--bg-card); border: 2px solid var(--border); color: var(--text-secondary); font-size: 0.9rem; cursor: pointer; transition: var(--transition); user-select: none; }
.tag-chip:hover { border-color: var(--primary); color: var(--text); }
.tag-chip.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.screen-id-input { letter-spacing: 4px; text-align: center; }
.screen-id-input::placeholder { letter-spacing: 0; text-align: left; }
@media (max-width: 600px) { .screen-search-box { flex-direction: column; } .screen-search-box .btn { width: 100%; } .screen-input { letter-spacing: 2px; } }
.compact-cards .section{margin-bottom:8px}
.uu-remote-card { display: flex; align-items: center; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 0; transition: var(--transition); }
.uu-remote-card:hover { border-color: var(--primary); }
.uu-icon { font-size: 2rem; flex-shrink: 0; }
.uu-info { flex: 1; min-width: 0; }
.uu-info h3 { font-size: 1.05rem; margin-bottom: 3px; }
.uu-info p { color: var(--text-secondary); font-size: 0.88rem; }
.uu-btn { flex-shrink: 0; }
@media (max-width: 480px) { .uu-remote-card { flex-wrap: wrap; padding: 14px 16px; gap: 10px; } .uu-btn { width: 100%; } }


/* === 在线客服 === */
.chat-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; min-height: 300px; max-height: 55vh; overflow-y: auto; margin-bottom: 0; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%%; padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.6; word-break: break-word; white-space: pre-line; }
.chat-msg.bot { align-self: flex-start; background: #313244; color: #cdd6f4; border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-input-row { display: flex; gap: 10px; margin-top: 14px; }
.chat-input { flex: 1; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 1rem; outline: none; }
.chat-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.chat-send-btn { flex-shrink: 0; }
@media (max-width: 480px) { .chat-box { min-height: 250px; max-height: 45vh; padding: 14px; } .chat-msg { font-size: 0.9rem; padding: 10px 14px; } .chat-input-row { gap: 6px; } .chat-input { padding: 12px 14px; font-size: 0.95rem; } }

/* === 机器筛查 === */
.screen-search-box { display: flex; gap: 10px; margin-bottom: 16px; }
.screen-input { flex: 1; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 1.1rem; outline: none; letter-spacing: 4px; text-align: center; }
.screen-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.screen-input::placeholder { letter-spacing: 0; }
.screen-result { margin-bottom: 20px; }
.screen-ok { background: rgba(5,150,105,0.15); border: 1px solid rgba(5,150,105,0.3); border-radius: var(--radius); padding: 20px; text-align: center; color: #a6e3a1; font-size: 1.05rem; }
.screen-warn { color: #f38ba8; font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
.report-form { display: flex; flex-direction: column; gap: 10px; }
.report-input { flex: 1; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.95rem; outline: none; min-width: 0; }
.report-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.report-msg { margin-top: 4px; font-size: 0.9rem; }
.tag-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { display: inline-block; padding: 8px 16px; border-radius: 20px; background: var(--bg-card); border: 2px solid var(--border); color: var(--text-secondary); font-size: 0.9rem; cursor: pointer; transition: var(--transition); user-select: none; }
.tag-chip:hover { border-color: var(--primary); color: var(--text); }
.tag-chip.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.screen-id-input { letter-spacing: 4px; text-align: center; }
.screen-id-input::placeholder { letter-spacing: 0; text-align: left; }
@media (max-width: 600px) { .screen-search-box { flex-direction: column; } .screen-search-box .btn { width: 100%%; } .screen-input { letter-spacing: 2px; } }

/* === 紧凑卡片 === */
.compact-cards .section { margin-bottom: 8px; }
.compact-cards .section:last-child { margin-bottom: 0; }

/* === UU远程卡片 === */
.uu-remote-card { display: flex; align-items: center; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 0; transition: var(--transition); }
.uu-remote-card:hover { border-color: var(--primary); }
.uu-icon { font-size: 2rem; flex-shrink: 0; }
.uu-info { flex: 1; min-width: 0; }
.uu-info h3 { font-size: 1.05rem; margin-bottom: 3px; }
.uu-info p { color: var(--text-secondary); font-size: 0.88rem; }
.uu-btn { flex-shrink: 0; }
@media (max-width: 480px) { .uu-remote-card { flex-wrap: wrap; padding: 14px 16px; gap: 10px; } .uu-btn { width: 100%%; } }

/* === 双群卡片 === */
.dual-qq-row { display: flex; gap: 16px; align-items: stretch; }
.dual-qq-card { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(135deg, rgba(79,70,229,0.18), rgba(14,165,233,0.12)); border: 1px solid rgba(79,70,229,0.35); border-radius: var(--radius); padding: 18px 20px; }
.dual-qq-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.dual-qq-card .qq-group-number strong { font-size: 1.05rem; color: #22d3ee; }
.dual-qq-card .qq-group-tip { font-size: 0.82rem; }
.dual-qq-card .qq-qrcode { width: 120px; height: 120px; min-width: 120px; border-radius: 8px; border: 2px solid var(--border); object-fit: cover; }
.dual-qq-card .qq-scan-label { font-size: 0.78rem; }
@media (max-width: 480px) { .dual-qq-row { flex-direction: column; } .dual-qq-card .qq-qrcode { width: 100px; height: 100px; } }
