/* ============================================================
   艾哥云盘解析系统 - 霓虹玻璃 UI 样式表
   ============================================================ */

:root {
  --bg-0: #05060f;
  --bg-1: #0a0e1a;
  --bg-2: #121829;
  --glass: rgba(20, 25, 45, 0.55);
  --glass-border: rgba(120, 140, 200, 0.22);
  --text: #e8ecf7;
  --text-dim: #9aa3bf;
  --text-muted: #6e7899;
  --primary: #7c5cff;
  --primary-2: #22d3ee;
  --primary-glow: rgba(124, 92, 255, 0.45);
  --accent: #ff5aa6;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.3);
  --font-stack: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html, body {
  min-height: 100vh;
  font-family: var(--font-stack);
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 动态背景层 */
.bg-layer {
  position: fixed; inset: 0; z-index: -3;
  background: radial-gradient(ellipse at top left, #1a1235 0%, #05060f 45%, #02030a 100%);
}
.bg-stars {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(124,92,255,0.7), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(34,211,238,0.6), transparent),
    radial-gradient(1px 1px at 40% 85%, rgba(255,90,166,0.5), transparent),
    radial-gradient(1px 1px at 10% 55%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 90% 45%, rgba(124,92,255,0.4), transparent);
  background-size: 400px 400px, 350px 350px, 500px 500px, 300px 300px, 450px 450px, 380px 380px;
  animation: stars-move 120s linear infinite;
  opacity: 0.7;
}
.bg-gradient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(124,92,255,0.18), transparent 50%),
    radial-gradient(500px circle at 85% 15%, rgba(34,211,238,0.14), transparent 55%),
    radial-gradient(450px circle at 75% 85%, rgba(255,90,166,0.12), transparent 55%),
    radial-gradient(500px circle at 25% 80%, rgba(124,92,255,0.1), transparent 55%);
  animation: gradient-pulse 15s ease-in-out infinite;
}

@keyframes stars-move {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 400px 400px, -350px 350px, 500px -500px, -300px 300px, 450px -450px, 380px 380px; }
}
@keyframes gradient-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

/* 玻璃卡片 */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
}
.glass-card-inner {
  background: rgba(15, 20, 38, 0.55);
  border: 1px solid rgba(120, 140, 200, 0.12);
  border-radius: var(--radius-sm);
}

/* 淡入动画 */
.fade-in { animation: fadeIn 0.5s ease-out both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 顶部导航 */
.top-nav {
  position: sticky; top: 12px; z-index: 100;
  margin: 12px; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: 0.5px;
}
.brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 20px var(--primary-glow);
  color: #fff; font-weight: 900; font-size: 18px;
}
.brand-accent {
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.nav-links {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.nav-link {
  color: var(--text-dim); text-decoration: none;
  padding: 8px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(124,92,255,0.12);
  border-color: rgba(124,92,255,0.3);
}
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(34,211,238,0.2));
  border-color: rgba(124,92,255,0.4);
  box-shadow: 0 0 12px rgba(124,92,255,0.25);
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff !important;
  border: none;
  box-shadow: 0 0 18px var(--primary-glow);
  font-weight: 600;
}
.nav-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: none; border-radius: 10px;
  font-family: var(--font-stack); font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 6px 22px var(--primary-glow);
  filter: brightness(1.08);
}
.btn-ghost {
  background: rgba(120,140,200,0.08);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(120,140,200,0.18);
  border-color: rgba(124,92,255,0.35);
}
.btn-warn { background: rgba(239,68,68,0.12); color: var(--danger); border-color: rgba(239,68,68,0.3); }
.btn-warn:hover:not(:disabled) { background: rgba(239,68,68,0.2); }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-icon { font-size: 15px; line-height: 1; }

/* 主首页 hero */
.main-hero {
  max-width: 1180px; margin: 0 auto;
  padding: 40px 20px 60px;
}
.hero-section { text-align: center; padding: 50px 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; margin-bottom: 28px;
  font-size: 13px; color: var(--text-dim);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.text-gradient {
  background: linear-gradient(120deg, #a78bfa 0%, #22d3ee 50%, #f472b6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; max-width: 720px; margin: 0 auto;
}
.stat-card { padding: 18px; text-align: center; }
.stat-value { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.stat-sub { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.stat-label { font-size: 13px; color: var(--text-dim); }

/* 功能区 */
.features-section { margin-top: 60px; }
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center; color: var(--text-dim);
  margin-bottom: 36px; font-size: 15px;
}
.features-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature-card { padding: 26px; transition: all 0.3s ease; }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,0.4);
  box-shadow: 0 12px 40px rgba(124,92,255,0.2);
}
.feature-icon {
  font-size: 36px; margin-bottom: 14px;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.feature-title { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.feature-desc { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* CTA */
.cta-section { margin-top: 60px; }
.cta-card {
  padding: 40px;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
  text-align: center;
}
.cta-title { font-size: 24px; font-weight: 800; }
.cta-desc { color: var(--text-dim); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.site-footer { margin-top: 60px; padding: 0 20px 30px; }
.footer-inner { padding: 20px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; justify-content: center; font-weight: 700; }
.footer-text { color: var(--text-muted); font-size: 13px; }

/* 登录 */
.auth-wrap { max-width: 460px; margin: 40px auto; padding: 0 20px; }
.auth-card { padding: 40px 32px; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.auth-title { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-subtitle { color: var(--text-dim); font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-hint {
  text-align: center; padding-top: 12px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim); font-size: 13px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.auth-hint p { color: var(--text-muted); }

/* 表单 */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.form-input {
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-stack);
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s ease;
  outline: none;
  resize: vertical;
  width: 100%;
}
.form-input:focus {
  border-color: rgba(124,92,255,0.6);
  background: rgba(10,14,26,0.9);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.15);
}
.form-input::placeholder { color: var(--text-muted); }
.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px;
}
.form-hint { color: var(--text-muted); font-size: 12px; margin-top: 4px; }

/* 仪表盘 */
.dashboard-wrap {
  max-width: 1180px; margin: 0 auto;
  padding: 20px; display: flex; flex-direction: column; gap: 20px;
}
.dashboard-user { padding: 20px 24px; }
.user-info-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.user-avatar {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 4px 18px var(--primary-glow);
}
.user-info { flex: 1; min-width: 200px; }
.user-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.user-meta { color: var(--text-dim); font-size: 13px; }
.user-validity { padding: 12px 18px; min-width: 220px; }
.validity-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }
.validity-value { font-size: 15px; font-weight: 600; margin-top: 4px; }

.dashboard-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.quick-card {
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}
.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,0.4);
  box-shadow: 0 12px 40px rgba(124,92,255,0.2);
}
.quick-icon { font-size: 36px; margin-bottom: 10px; animation: float 4s ease-in-out infinite; }
.quick-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.quick-desc { font-size: 13px; color: var(--text-dim); }

.dashboard-section { padding: 24px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.section-title-sm { font-size: 18px; font-weight: 700; }
.section-desc { color: var(--text-dim); font-size: 13px; }

/* 解析表单 */
.parse-section { padding: 28px; }
.parse-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.form-row {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.parse-result { margin-top: 20px; }
.parse-success {
  text-align: center; padding: 24px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,211,238,0.1));
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
}
.parse-success-icon { font-size: 44px; margin-bottom: 6px; }
.parse-success-title { font-size: 18px; font-weight: 700; color: #86efac; }
.parse-error {
  padding: 14px 18px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius);
  color: #fca5a5;
}

.result-detail { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.result-row {
  display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap;
  padding: 12px 14px; background: rgba(15, 20, 38, 0.55);
  border: 1px solid rgba(120,140,200,0.12);
  border-radius: var(--radius-sm);
}
.result-label { min-width: 80px; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.result-value { flex: 1; font-size: 14px; word-break: break-word; }
.result-value a { color: var(--primary-2); word-break: break-all; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 历史记录 */
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}
.history-item:hover {
  border-color: rgba(124,92,255,0.3);
  transform: translateX(2px);
}
.history-main { flex: 1; min-width: 0; }
.history-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.history-tag {
  display: inline-block;
  font-size: 11px; padding: 2px 8px; margin-left: 6px;
  border-radius: 8px;
  background: rgba(124,92,255,0.18);
  color: #c4b5fd;
  font-weight: 500;
}
.history-tag.history-tag-warn { background: rgba(245,158,11,0.18); color: #fcd34d; }
.history-url { color: var(--text-dim); font-size: 13px; word-break: break-all; line-height: 1.5; }
.history-meta { color: var(--text-muted); font-size: 12px; margin-top: 4px; }

/* 空状态 */
.empty-state {
  padding: 40px 20px; text-align: center;
  color: var(--text-muted);
}
.empty-icon { font-size: 40px; margin-bottom: 10px; opacity: 0.6; }
.empty-text { font-size: 14px; }

/* 聊天 */
.chat-section { padding: 24px; display: flex; flex-direction: column; min-height: 65vh; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: rgba(10, 14, 26, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin: 14px 0;
  display: flex; flex-direction: column; gap: 14px;
  max-height: 70vh;
}
.chat-msg { display: flex; gap: 12px; align-items: flex-start; }
.chat-msg-ai { justify-content: flex-start; }
.chat-msg-user { justify-content: flex-end; flex-direction: row-reverse; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 2px 10px var(--primary-glow);
}
.chat-msg-user .chat-avatar {
  background: linear-gradient(135deg, #334155, #475569);
  box-shadow: none;
}
.chat-bubble-wrap { max-width: calc(100% - 60px); }
.chat-bubble {
  padding: 12px 16px;
  background: rgba(15,20,38,0.7);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.7;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.chat-msg-user .chat-bubble {
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(34,211,238,0.2));
  border-color: rgba(124,92,255,0.4);
}
.chat-time {
  font-size: 11px; color: var(--text-muted); margin-top: 4px;
  margin-left: 4px;
}
.chat-thinking {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: rgba(124,92,255,0.08);
  border: 1px dashed rgba(124,92,255,0.3);
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-dim);
}
.chat-thinking summary { cursor: pointer; font-weight: 600; color: #c4b5fd; }
.chat-thinking-content { margin-top: 6px; line-height: 1.6; white-space: pre-wrap; }

.chat-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-2);
  animation: dots 1.2s ease-in-out infinite;
}
.chat-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dots {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

.chat-form {
  display: flex; gap: 10px; flex-direction: column;
}
.chat-input { min-height: 50px; max-height: 200px; }

/* Model picker chips */
.chat-model-picker {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim);
}
.chip {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(120,140,200,0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-size: 12px; cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-stack);
}
.chip:hover { background: rgba(124,92,255,0.15); color: var(--text); }
.chip-active {
  background: linear-gradient(135deg, rgba(124,92,255,0.3), rgba(34,211,238,0.25));
  color: #fff; border-color: rgba(124,92,255,0.5);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* 消息中心 - 会话列表 */
.chat-layout {
  display: grid; gap: 20px;
  grid-template-columns: 320px 1fr;
  max-width: 1180px; margin: 0 auto; padding: 20px;
}
@media (max-width: 820px) {
  .chat-layout { grid-template-columns: 1fr; }
}
.chat-conversation { padding: 24px; display: flex; flex-direction: column; min-height: 70vh; }
.chat-conversation .chat-messages { flex: 1; min-height: 400px; }
.conv-list { display: flex; flex-direction: column; gap: 8px; max-height: 70vh; overflow-y: auto; padding-right: 4px; }
.conv-item {
  padding: 14px;
  background: rgba(15,20,38,0.6);
  border: 1px solid rgba(120,140,200,0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.conv-item:hover {
  border-color: rgba(124,92,255,0.35);
  transform: translateX(2px);
  background: rgba(124,92,255,0.08);
}
.conv-title { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.conv-preview {
  color: var(--text-dim); font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 6px;
}
.conv-meta { color: var(--text-muted); font-size: 11px; }

/* 用户管理 */
.user-card { justify-content: space-between; }
.user-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 生成账号 */
.gen-form-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) { .gen-form-grid { grid-template-columns: 1fr; } }

.preset-btns {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px;
}

/* 消息状态标签 */
.msg-read { color: var(--success); font-size: 11px; }
.msg-unread { color: var(--warning); font-size: 11px; }
.msg-unread-dot {
  background: var(--warning); color: #fff;
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  display: inline-block; margin-left: 4px;
}

/* 搜索 */
.search-bar { display: flex; gap: 10px; align-items: center; flex: 1; max-width: 420px; }
.search-bar .form-input { flex: 1; }

/* 公告列表 */
.announce-list { margin-top: 20px; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(10, 14, 26, 0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(124,92,255,0.4), rgba(34,211,238,0.3));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(124,92,255,0.6), rgba(34,211,238,0.5));
}

/* 响应式 */
@media (max-width: 640px) {
  .top-nav { padding: 10px 14px; margin: 8px; flex-direction: column; align-items: flex-start; }
  .nav-links { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .hero-section { padding: 32px 16px; }
  .auth-card { padding: 28px 20px; }
  .parse-section, .dashboard-section, .dashboard-user { padding: 18px; }
  .chat-layout { padding: 10px; }
}

/* 选择高亮 */
::selection { background: rgba(124,92,255,0.4); color: #fff; }
