  * { box-sizing: border-box; margin: 0; padding: 0; }
  :root { --g: #8b5cf6; --g2: #7c3aed; }
  body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
         color: #1f2937; min-height: 100vh; }
  nav { background: rgba(23,16,50,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 1px 3px rgba(15,23,42,.15); position: sticky; top: 0; z-index: 30; }
  nav .inner { max-width: 1080px; margin: 0 auto; padding: 12px 16px;
               display: flex; align-items: center; justify-content: space-between; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #f5f3ff; }
  .brand .logo { width: 34px; height: 34px; border-radius: 10px; font-size: 18px;
                 display: flex; align-items: center; justify-content: center;
                 background: linear-gradient(135deg,#8b5cf6,#7c3aed); color: #fff; }
  .brand b { font-size: 18px; }
  .nav-right { display: flex; align-items: center; gap: 10px; }
  .link { color: #c4b5fd; text-decoration: none; font-size: 14px; font-weight: 500; }
  .link:hover { text-decoration: underline; color: #ddd6fe; }
  .guest-chip { display: flex; align-items: center; gap: 8px; font-size: 13px;
                color: #e9d5ff; background: rgba(139,92,246,.18); padding: 5px 12px;
                border-radius: 999px; }
  .guest-chip .avatar { width: 24px; height: 24px; border-radius: 50%;
                        background: #8b5cf6; color: #fff; font-size: 12px;
                        display: flex; align-items: center; justify-content: center; }
  .logout { color: #a78bfa; font-size: 13px; cursor: pointer; }
  .logout:hover { color: #ef4444; }

  .container { max-width: 1080px; margin: 0 auto; padding: 0 16px 48px; }

  /* Hero */
  .hero { position: relative; border-radius: 20px; overflow: hidden; margin-top: 18px;
          padding: 40px 34px; color: #fff;
          background: linear-gradient(135deg, rgba(139,92,246,.25) 0%, rgba(99,102,241,.35) 100%);
          backdrop-filter: blur(20px);
          border: 1px solid rgba(255,255,255,.2);
          box-shadow: 0 14px 40px rgba(0,0,0,.2); }
  .hero::after { content: '🎮'; position: absolute; right: 26px; bottom: -30px;
                 font-size: 170px; opacity: .25; }
  .hero h1 { font-size: 28px; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
  .hero p { font-size: 14px; opacity: .95; margin-bottom: 20px; text-shadow: 0 1px 6px rgba(0,0,0,.2); }
  .hero .btn { position: relative; z-index: 2; }

  /* 快捷入口大按钮 */
  .quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
  .ql-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 18px 12px; border-radius: 14px; text-decoration: none;
    background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
    border: 1px solid rgba(124,58,237,.15); transition: all .2s cubic-bezier(.4,0,.2,1);
  }
  .ql-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(124,58,237,.15); }
  .ql-card:active { transform: translateY(-1px) scale(.97); }
  .ql-icon { font-size: 32px; margin-bottom: 8px; }
  .ql-name { font-size: 13px; font-weight: 600; color: #4c1d95; }

  /* 精选资源宣传墙 */
  .featured-wall { margin: 18px 0; padding: 16px;
                   background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(239,68,68,.08));
                   border-radius: 16px; border: 1px solid rgba(251,191,36,.2); }
  .fw-title { font-size: 14px; font-weight: 600; color: #b45309; margin-bottom: 12px; }
  .fw-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
  .fw-card { flex: 0 0 160px; background: rgba(255,255,255,.9); border-radius: 12px;
             padding: 12px; cursor: pointer; transition: all .2s cubic-bezier(.4,0,.2,1); }
  .fw-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
  .fw-card:active { transform: translateY(-1px) scale(.97); }
  .fw-cover { width: 100%; height: 90px; border-radius: 8px; background: linear-gradient(135deg, #667eea, #764ba2);
              display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 8px;
              overflow: hidden; }
  .fw-cover img { width: 100%; height: 100%; object-fit: cover; }
  .fw-name { font-size: 13px; font-weight: 600; color: #1f2937; margin-bottom: 4px;
             overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fw-meta { font-size: 11px; color: #94a3b8; }

  /* 工具栏 */
  .toolbar { display: flex; align-items: center; gap: 10px; margin: 22px 0 18px; flex-wrap: wrap; }
  .tabs { display: flex; background: rgba(255,255,255,.85); border-radius: 10px; padding: 4px;
          box-shadow: 0 1px 3px rgba(15,23,42,.05); }
  .tabs button { border: none; background: transparent; padding: 8px 16px; cursor: pointer;
                 border-radius: 8px; font-size: 14px; font-weight: 600; color: #64748b;
                 transition: all .15s cubic-bezier(.4,0,.2,1); }
  .tabs button:hover { color: #475569; background: rgba(124,58,237,.06); }
  .tabs button:active { transform: scale(.97); }
  .tabs button.active { background: #f3e8ff; color: #7c3aed; }
  .searchbox { display: flex; flex: 1; min-width: 200px; gap: 8px; position: relative; }
  .searchbox .search-wrap { position: relative; flex: 1; min-width: 0; }
  .searchbox input { width: 100%; padding: 10px 34px 10px 14px; border: 1px solid rgba(226,232,240,.8);
                     border-radius: 10px; font-size: 14px; outline: none; background: rgba(255,255,255,.9); box-sizing: border-box; }
  .searchbox input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.15); }
  .search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
                  border: none; background: none; color: #94a3b8; font-size: 14px; cursor: pointer; padding: 2px 4px; display: none; }
  .search-clear:hover { color: #475569; }
  /* 联想/历史/热词下拉 */
  .suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
             background: rgba(255,255,255,.97); border: 1px solid #e2e8f0; border-radius: 12px;
             box-shadow: 0 12px 32px rgba(15,23,42,.16); padding: 10px 8px; max-height: 340px; overflow-y: auto; }
  .suggest-sec { margin-bottom: 8px; }
  .suggest-sec:last-child { margin-bottom: 0; }
  .suggest-title { font-size: 12px; font-weight: 700; color: #94a3b8; padding: 4px 10px 6px; display: flex;
                   justify-content: space-between; align-items: center; }
  .suggest-title .s-clear { color: #94a3b8; cursor: pointer; font-weight: 500; font-size: 12px; }
  .suggest-title .s-clear:hover { color: #dc2626; }
  .chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; margin: 3px;
          border-radius: 20px; font-size: 13px; cursor: pointer; transition: .12s;
          border: 1px solid #e2e8f0; background: #f8fafc; color: #334155; }
  .chip:hover { background: #f3e8ff; border-color: #c4b5fd; color: #7c3aed; }
  .chip .x { color: #cbd5e1; font-size: 12px; }
  .chip .x:hover { color: #dc2626; }
  .suggest-list .item { display: block; width: 100%; text-align: left; padding: 8px 12px; border: none;
                        background: none; border-radius: 8px; font-size: 14px; color: #334155; cursor: pointer; }
  .suggest-list .item:hover { background: #f5f3ff; color: #7c3aed; }
  .suggest-empty { font-size: 13px; color: #94a3b8; padding: 6px 12px; }
  mark { background: #fef08a; color: inherit; padding: 0 1px; border-radius: 2px; }

  .btn { padding: 9px 16px; border: none; border-radius: 10px; cursor: pointer;
         font-size: 14px; font-weight: 600; transition: .15s; white-space: nowrap; }
  .btn-primary { background: linear-gradient(135deg,#8b5cf6,#7c3aed); color: #fff; }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(124,58,237,.4); }
  .btn-ghost { background: rgba(255,255,255,.9); color: #334155; border: 1px solid #e2e8f0; }
  .btn-ghost:hover { background: #f8fafc; }
  .btn-sm { padding: 4px 9px; font-size: 12px; border-radius: 8px; }
  .btn-danger { background: #ef4444; color: #fff; }
  .btn-danger:hover { background: #dc2626; }

  /* 游戏卡片网格 */
  .game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
  .game-card { background: rgba(255,255,255,.92); border-radius: 16px; overflow: hidden;
               cursor: pointer; border: 1px solid rgba(255,255,255,.6);
               box-shadow: 0 2px 10px rgba(15,23,42,.08); transition: all .2s cubic-bezier(.4,0,.2,1);
               animation: card-fade-in .4s ease-out; }
  .game-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(124,58,237,.22); }
  .game-card:active { transform: translateY(-2px) scale(.98); box-shadow: 0 6px 16px rgba(124,58,237,.18); }
  @keyframes card-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  .cover { position: relative; aspect-ratio: 3/4; background: linear-gradient(135deg,#7c3aed,#a855f7);
           overflow: hidden; }
  .cover img { width: 100%; height: 100%; object-fit: cover; }
  .cover .ph { position: absolute; inset: 0; display: flex; align-items: center;
               justify-content: center; font-size: 56px; opacity: .5; }
  .cover.tag-only { aspect-ratio: auto; height: 40px; background: linear-gradient(135deg,#f3f4f6,#e5e7eb); }
  .cover .tag { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700;
                padding: 3px 9px; border-radius: 999px; background: rgba(15,23,42,.6);
                color: #fff; backdrop-filter: blur(4px); }
  .gbody { padding: 12px 14px 14px; }
  .gbody h3 { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 8px;
              white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gbody .gauthor { font-size: 12px; color: #a78bfa; margin-bottom: 6px; }
  .gmeta { display: flex; gap: 12px; font-size: 12px; color: #94a3b8; }
  .gmeta span { display: inline-flex; align-items: center; gap: 3px; }

  .empty { text-align: center; padding: 70px 20px; color: #94a3b8;
           background: rgba(255,255,255,.85); border-radius: 16px; grid-column: 1 / -1; }
  .pager { display: flex; justify-content: space-between; align-items: center;
           margin-top: 22px; font-size: 14px; color: #64748b; }
  .pager .pages { display: flex; gap: 6px; align-items: center; }

  /* 发帖弹窗 */
  .overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: none;
             align-items: center; justify-content: center; z-index: 50; padding: 20px; backdrop-filter: blur(4px); }
  .overlay.show { display: flex; }
  .modal { background: rgba(255,255,255,.98); border-radius: 16px; width: 100%; max-width: 600px;
           padding: 26px; box-shadow: 0 24px 70px rgba(15,23,42,.3);
           max-height: 90vh; overflow-y: auto; }
  .modal h2 { font-size: 18px; margin-bottom: 18px; }
  .field { margin-bottom: 14px; }
  .field label { display: block; font-size: 13px; color: #64748b; margin-bottom: 6px; }
  .field input[type=text], .field textarea { width: 100%; padding: 11px 12px;
    border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; outline: none;
    font-family: inherit; resize: vertical; background: #fff; }
  .field input:focus, .field textarea:focus { border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
  .field textarea { min-height: 140px; }
  .modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
  .upload-preview { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .upload-preview .u { position: relative; }
  .upload-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
  .upload-preview .u .rm { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px;
    background: #dc2626; color: #fff; border-radius: 50%; border: none; cursor: pointer;
    font-size: 12px; line-height: 20px; text-align: center; }
  .hint { font-size: 12px; color: #94a3b8; margin-top: 6px; }

  /* 密码门禁层 */
  .gate { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center;
          justify-content: center; padding: 20px;
          background: radial-gradient(ellipse at 50% 30%, rgba(109,40,217,.75), rgba(15,10,35,.97)),
                      url('/wallpapers/game-anime.jpg') center / cover; }
  .gate .card { width: 100%; max-width: 380px; background: rgba(255,255,255,.94);
                border-radius: 20px; padding: 32px 28px; text-align: center;
                box-shadow: 0 24px 70px rgba(0,0,0,.45); }
  .gate .em { font-size: 44px; }
  .gate h2 { font-size: 20px; margin: 12px 0 6px; color: #312e81; }
  .gate p { font-size: 13px; color: #94a3b8; margin-bottom: 20px; }
  .gate input { width: 100%; padding: 12px 14px; border: 1px solid #ddd6fe; border-radius: 12px;
                font-size: 15px; text-align: center; outline: none; letter-spacing: 2px; }
  /* 密码框默认明文（保证中文输入法可启动）；点眼睛后才圆点隐藏 */
  .pw-wrap { position: relative; }
  .pw-wrap input { padding-right: 46px; }
  .pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
               background: none; border: none; font-size: 17px; cursor: pointer; padding: 4px; line-height: 1; }
  #gate-pw.hide { -webkit-text-security: disc; }
  .gate input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.15); }
  .gate .btn { width: 100%; margin-top: 14px; padding: 12px; font-size: 15px; }
  .gate .err { color: #dc2626; font-size: 13px; min-height: 18px; margin-top: 10px; }
  .gate .back { display: inline-block; margin-top: 14px; color: #a78bfa; font-size: 13px;
                text-decoration: none; }

  #toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
           background: #0f172a; color: #fff; padding: 10px 20px; border-radius: 8px;
           font-size: 14px; opacity: 0; transition: .3s; pointer-events: none; z-index: 60; }
  #toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
  #toast.err { background: #dc2626; }

  /* ============ 手机端优化 ============ */
  @media (max-width: 640px) {
    nav .inner { padding: 10px 12px; gap: 6px; }
    .brand b { font-size: 16px; }
    .brand .logo { width: 30px; height: 30px; font-size: 16px; }
    .nav-right { gap: 6px; }
    .link { font-size: 13px; }
    .guest-chip { font-size: 12px; padding: 4px 9px; max-width: 130px; overflow: hidden;
                  text-overflow: ellipsis; white-space: nowrap; }
    .container { padding: 0 12px 40px; }
    .hero { padding: 26px 18px; margin-top: 12px; border-radius: 16px; }
    .hero h1 { font-size: 22px; }
    .hero p { font-size: 13px; margin-bottom: 14px; }
    .hero::after { font-size: 110px; right: 10px; bottom: -20px; }
    /* 工具栏：tabs 占满一行，搜索框独立一行，发帖按钮全宽 */
    .toolbar { flex-direction: column; align-items: stretch; gap: 8px; margin: 16px 0 14px; }
    .toolbar .tabs { display: flex; gap: 4px; }
    .toolbar .tabs button { flex: 1; padding: 9px 0; text-align: center; }
    .searchbox { min-width: 0; width: 100%; }
    .searchbox .search-wrap { flex: 1; }
    .toolbar > .btn-primary { width: 100%; }
    /* 卡片墙：手机双列紧凑 */
    .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    /* 发帖弹窗 */
    .modal { max-width: 100%; margin: 0 12px; padding: 18px 16px; max-height: 88vh; overflow-y: auto; }
    .modal .row { flex-direction: column; align-items: stretch; }
  }
/* ================================================================
   苦海游戏站 · 霓虹身份（2026-11-07）
   ----------------------------------------------------------------
   板块个性：深夜机厅。底色压到近黑的深紫，卡片换成暗面板 +
   紫青描边，hover 时发光而不是变白。原来只有导航是深色、正文是白的，
   现在整页统一成"屏幕里"的感觉。强调色紫 → 青，标记色仍用琥珀。
   本段纯追加覆盖，不改上面已有规则。
   ================================================================ */
:root {
  --neon-bg: #0a0718;
  --neon-panel: #14102a;
  --neon-panel-2: #1b1536;
  --neon-line: rgba(139,92,246,.32);
  --neon-violet: #a78bfa;
  --neon-cyan: #22d3ee;
  --neon-text: #eae4ff;
  --neon-dim: #9d92bb;
}

body {
  background: var(--neon-bg);
  background-image:
    radial-gradient(60% 45% at 12% 0%, rgba(124,58,237,.28) 0%, transparent 60%),
    radial-gradient(50% 40% at 92% 8%, rgba(34,211,238,.16) 0%, transparent 62%),
    repeating-linear-gradient(0deg, rgba(167,139,250,.05) 0 1px, transparent 1px 3px);
  color: var(--neon-text);
}

nav {
  background: rgba(10,7,24,.82);
  border-bottom: 1px solid var(--neon-line);
  box-shadow: 0 1px 24px rgba(124,58,237,.22);
}
.brand { color: var(--neon-text); }
.brand .logo { background: linear-gradient(135deg, #7c3aed, #22d3ee); box-shadow: 0 0 18px rgba(124,58,237,.55); }
.link { color: var(--neon-violet); }
.link:hover { color: var(--neon-cyan); }
.guest-chip { background: rgba(139,92,246,.16); color: #e9d5ff; border: 1px solid var(--neon-line); }
.guest-chip .avatar { background: linear-gradient(135deg,#7c3aed,#22d3ee); }

.hero {
  background: linear-gradient(135deg, rgba(124,58,237,.35) 0%, rgba(34,211,238,.18) 100%);
  border: 1px solid var(--neon-line);
  box-shadow: 0 0 0 1px rgba(34,211,238,.1) inset, 0 18px 50px rgba(0,0,0,.55);
}
.hero h1 { text-shadow: 0 0 18px rgba(167,139,250,.55); }
.hero::after { opacity: .32; filter: drop-shadow(0 0 24px rgba(124,58,237,.7)); }

.ql-card {
  background: var(--neon-panel);
  border: 1px solid var(--neon-line);
  border-radius: 12px;
  backdrop-filter: none;
}
.ql-card:hover {
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 0 0 1px rgba(34,211,238,.25) inset, 0 10px 26px rgba(34,211,238,.18);
  transform: translateY(-3px);
}
.ql-name { color: var(--neon-text); }

.featured-wall {
  background: linear-gradient(135deg, rgba(251,191,36,.08), rgba(124,58,237,.1));
  border: 1px solid rgba(251,191,36,.28);
  border-radius: 12px;
}
.fw-title { color: #fbbf24; }
.fw-card { background: var(--neon-panel); border: 1px solid var(--neon-line); border-radius: 10px; }
.fw-card:hover { box-shadow: 0 6px 20px rgba(251,191,36,.22); }
.fw-name { color: var(--neon-text); }
.fw-meta { color: var(--neon-dim); }
.fw-cover { background: linear-gradient(135deg,#4c1d95,#0e7490); }

.tabs { background: rgba(20,16,42,.9); border: 1px solid var(--neon-line); border-radius: 8px; }
.tabs button { color: var(--neon-dim); border-radius: 6px; }
.tabs button:hover { color: var(--neon-text); background: rgba(124,58,237,.14); }
.tabs button.active { background: rgba(34,211,238,.16); color: var(--neon-cyan); }

.searchbox input {
  background: var(--neon-panel-2);
  border: 1px solid var(--neon-line);
  color: var(--neon-text);
  border-radius: 8px;
}
.searchbox input::placeholder { color: #7d739a; }
.searchbox input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.16); }
.suggest { background: #120e26; border: 1px solid var(--neon-line); border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.suggest-title { color: #857aa6; }
.chip { background: rgba(20,16,42,.9); border: 1px solid var(--neon-line); color: #cfc6ea; }
.chip:hover { background: rgba(34,211,238,.14); border-color: var(--neon-cyan); color: var(--neon-cyan); }
.suggest-list .item { color: #cfc6ea; }
.suggest-list .item:hover { background: rgba(124,58,237,.16); color: var(--neon-cyan); }
.markdown, mark { background: rgba(251,191,36,.22); color: var(--neon-text); }

.btn { border-radius: 8px; }
.btn-primary { background: linear-gradient(135deg,#7c3aed,#22d3ee); color: #06121a; font-weight: 800; }
.btn-primary:hover { box-shadow: 0 0 22px rgba(34,211,238,.45); }
.btn-ghost { background: rgba(20,16,42,.9); border: 1px solid var(--neon-line); color: var(--neon-text); }
.btn-ghost:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }

.game-card {
  background: var(--neon-panel);
  border: 1px solid var(--neon-line);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0,0,0,.45);
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,.5);
  box-shadow: 0 0 0 1px rgba(34,211,238,.2) inset, 0 16px 40px rgba(34,211,238,.18);
}
.cover.tag-only { background: linear-gradient(135deg,#241c46,#1a1533); }
.cover .tag { background: rgba(6,4,16,.75); color: var(--neon-cyan); border: 1px solid rgba(34,211,238,.35); }
.gbody h3 { color: var(--neon-text); }
.gbody .gauthor { color: var(--neon-violet); }
.gmeta { color: var(--neon-dim); }

.empty { background: rgba(20,16,42,.85); border: 1px dashed var(--neon-line); color: var(--neon-dim); }
.pager { color: var(--neon-dim); }

.overlay { background: rgba(6,4,16,.72); backdrop-filter: blur(6px); }
.modal {
  background: var(--neon-panel-2);
  border: 1px solid var(--neon-line);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(34,211,238,.08) inset;
}
.modal h2 { color: var(--neon-text); }
.field label { color: var(--neon-dim); }
.field input[type=text], .field textarea { background: #0f0b22; border: 1px solid var(--neon-line); color: var(--neon-text); border-radius: 8px; }
.field input:focus, .field textarea:focus { border-color: var(--neon-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.14); }
.hint { color: var(--neon-dim); }

.gate .card {
  background: rgba(20,16,42,.94);
  border: 1px solid var(--neon-line);
  box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 40px rgba(124,58,237,.25);
}
.gate h2 { color: var(--neon-text); }
.gate p { color: var(--neon-dim); }
.gate input { background: #0f0b22; border: 1px solid var(--neon-line); color: var(--neon-text); }
.gate input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.gate .err { color: #f87171; }
.gate .back { color: var(--neon-violet); }

#toast { background: #1b1536; border: 1px solid var(--neon-line); border-radius: 8px; color: var(--neon-text); }
#toast.err { background: #7f1d1d; border-color: #b91c1c; }
