/* ============================================================
   AI 提示词分享网站（PHP 版）全局样式 · 毛玻璃高级版
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0a0e17;
  --bg-2: #0f1526;
  --card: rgba(255,255,255,.055);
  --card-solid: #131a2b;
  --text: #eef1f8;
  --text-2: #a7b0c3;
  --text-3: #69748a;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.18);
  --primary: #6d8dff;
  --primary-dark: #5470e8;
  --accent: #a78bfa;
  --cyan: #67e8f9;
  --danger: #f87171;
  --success: #34d399;
  --grad: linear-gradient(92deg, #6d8dff 0%, #a78bfa 50%, #67e8f9 100%);
  --radius: 16px;
  --glass-blur: 22px;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, #16203a 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1080px, 100% - 40px); margin: 0 auto; }
main.container { padding: 30px 0 70px; min-height: 60vh; }

/* ---------- 背景特效层 ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.orb-1 { width: 560px; height: 560px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(109,141,255,.55), transparent 70%); animation: drift1 16s ease-in-out infinite alternate; }
.orb-2 { width: 520px; height: 520px; right: -160px; bottom: -180px; background: radial-gradient(circle, rgba(167,139,250,.45), transparent 70%); animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(90px, 70px); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-80px, -60px); } }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(109,141,255,.16) 0%, rgba(167,139,250,.09) 40%, transparent 70%);
  border-radius: 50%; mix-blend-mode: screen; pointer-events: none; z-index: 0;
  transform: translate3d(-600px,-600px,0); will-change: transform;
}

/* ---------- 顶部导航（毛玻璃） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,23,.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-header .header-inner { display: flex; align-items: center; gap: 22px; height: 62px; flex-wrap: nowrap; }
.logo { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .4px; display: inline-flex; align-items: center; gap: 9px; }
.logo:hover { opacity: .9; }
.logo-mark { width: 28px; height: 28px; border-radius: 9px; background: var(--grad); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; box-shadow: 0 4px 14px rgba(109,141,255,.4); flex: none; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { color: #98a2b8; padding: 8px 15px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: color .15s, background .15s; }
.site-header nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-header nav a.active { color: #fff; background: linear-gradient(135deg, rgba(109,141,255,.28), rgba(167,139,250,.28)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.user-box { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.user-name { color: #d6dce8; font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px rgba(52,211,153,.8); flex: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px;
  border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #8b6cf0); color: #fff;
  font-size: 14.5px; font-weight: 600; letter-spacing: .3px;
  box-shadow: 0 8px 24px rgba(109,141,255,.28);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 10px 30px rgba(109,141,255,.4); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 15px; font-size: 13px; border-radius: 10px; }
.btn-ghost { background: rgba(255,255,255,.08); color: #dfe4ef; box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #e2e8f0; box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; box-shadow: none; }

/* ---------- Banner 主视觉（仿官网大屏首屏） ---------- */
.banner {
  position: relative; margin-top: 26px; overflow: hidden;
  border-radius: 24px; text-align: center; padding: 76px 30px 44px;
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(109,141,255,.28), transparent 70%),
    radial-gradient(700px 320px at 12% 115%, rgba(167,139,250,.22), transparent 70%),
    radial-gradient(700px 320px at 88% 115%, rgba(34,211,238,.14), transparent 70%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.32);
}
.banner-halo { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); opacity: .5; }
.halo-1 { width: 460px; height: 460px; left: -120px; top: -180px; background: radial-gradient(circle, rgba(109,141,255,.5), transparent 70%); animation: haloFloat 11s ease-in-out infinite; }
.halo-2 { width: 380px; height: 380px; right: -90px; bottom: -200px; background: radial-gradient(circle, rgba(167,139,250,.5), transparent 70%); animation: haloFloat 13s ease-in-out infinite reverse; }
@keyframes haloFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-24px) scale(1.08); } }
.banner-inner { position: relative; z-index: 1; }
.banner-badge {
  display: inline-flex; padding: 6px 16px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 3px;
  color: #9fb6ff; background: rgba(109,141,255,.12); border: 1px solid rgba(109,141,255,.3);
}
.banner h1 { margin-top: 20px; font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; letter-spacing: 1px; color: #fff; line-height: 1.15; }
.banner-sub { margin-top: 14px; font-size: 15.5px; color: var(--text-2); }
.banner-cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.btn-lg { padding: 13px 34px; font-size: 15.5px; border-radius: 13px; }
.banner-stats { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.banner-stats span { font-size: 13px; color: var(--text-3); }
.banner-stats b { color: #fff; font-size: 22px; font-weight: 800; margin-right: 5px; font-variant-numeric: tabular-nums; }
.banner-stats i { width: 1px; height: 22px; background: rgba(255,255,255,.14); }

/* ---------- 主内容区：左侧列表 + 右侧侧栏 ---------- */
.main-layout { display: flex; gap: 24px; align-items: flex-start; padding: 34px 0 10px; }
.feed-main { flex: 1; min-width: 0; }
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.feed-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.feed-tabs .tab { padding: 9px 24px; border-radius: 9px; font-size: 14px; color: var(--text-2); font-weight: 500; transition: all .18s; }
.feed-tabs .tab:hover { color: #fff; }
.feed-tabs .tab.active { background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(109,141,255,.35); }
.search-box {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 15px; border-radius: 12px; width: 300px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.search-box svg { width: 17px; height: 17px; color: var(--text-3); flex: none; }
.search-box input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font-size: 13.5px; }
.search-box input::placeholder { color: #56607a; }
.search-box button { padding: 8px 16px; border: none; border-radius: 9px; cursor: pointer; background: var(--grad); color: #fff; font-size: 13px; font-weight: 600; }

/* ---------- 筛选 chips ---------- */
.chips { display: flex; gap: 8px; padding: 18px 0 4px; flex-wrap: wrap; }
.chip { padding: 6px 15px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); transition: color .15s, border-color .15s, background .15s; }
.chip:hover { color: #fff; border-color: rgba(109,141,255,.5); }
.chip.active { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(109,141,255,.35); }
.filters-bar { display: flex; align-items: center; gap: 8px; padding: 14px 0 0; flex-wrap: wrap; }
.filters-bar .f-label { font-size: 12px; color: var(--text-3); }
.filter-tag { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px; background: rgba(109,141,255,.14); border: 1px solid rgba(109,141,255,.35); color: #a9c0ff; font-size: 12.5px; }
.filter-tag:hover { background: rgba(109,141,255,.24); }
.filter-clear { font-size: 12.5px; color: var(--text-3); }
.filter-clear:hover { color: #fff; }

/* ---------- 内容列表（行式，仿资讯列表） ---------- */
.feed-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.feed-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  border-radius: 16px; position: relative;
  background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 6px 22px rgba(0,0,0,.16);
  transition: transform .22s, border-color .22s, box-shadow .22s, background .22s;
  will-change: transform;
}
.feed-item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--grad); opacity: 0; transition: opacity .2s; }
.feed-item:hover { transform: translateY(-4px); border-color: rgba(139,108,240,.5); box-shadow: 0 18px 44px rgba(0,0,0,.36); background: rgba(255,255,255,.08); }
.feed-item:hover::before { opacity: 1; }
.feed-item.is-top { border-color: rgba(139,108,240,.4); background: linear-gradient(120deg, rgba(109,141,255,.12), rgba(167,139,250,.08)), var(--card); }
.feed-thumb { flex: none; width: 104px; height: 78px; border-radius: 11px; overflow: hidden; position: relative; background: #0d1220; }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2,.6,.2,1); }
.feed-item:hover .feed-thumb img { transform: scale(1.08); }
.feed-thumb.ph { display: flex; align-items: center; justify-content: center; }
.feed-thumb.ph .ph-txt { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 26px; font-weight: 800; color: rgba(255,255,255,.5); letter-spacing: -1px; }
.feed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.feed-title { font-size: 15.5px; font-weight: 600; color: #f2f5fc; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.feed-item:hover .feed-title { color: #c3d2ff; }
.feed-title .top-tag { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; font-style: normal; background: var(--grad); color: #fff; vertical-align: 2px; box-shadow: 0 4px 14px rgba(139,108,240,.4); }
.feed-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feed-author { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #cdd6e6; }
.feed-time { font-size: 12px; color: var(--text-3); margin-left: auto; }
.feed-go { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); transition: color .15s; }
.feed-go em { font-style: normal; font-size: 15px; transition: transform .2s; }
.feed-item:hover .feed-go { color: #a9c0ff; }
.feed-item:hover .feed-go em { transform: translateX(4px); }

/* ---------- 侧栏 ---------- */
.side { flex: none; width: 300px; display: flex; flex-direction: column; gap: 16px; }
.side-card {
  padding: 18px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
}
.side-title { font-size: 13.5px; font-weight: 700; color: #dfe6f5; letter-spacing: .6px; margin-bottom: 13px; display: flex; align-items: center; gap: 8px; }
.side-title::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: var(--grad); }
.side-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.btn-block { display: block; width: 100%; text-align: center; }
.user-card .me { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.me-avatar { width: 42px; height: 42px; font-size: 19px; border-radius: 13px; }
.me-info b { display: block; color: #fff; font-size: 15px; }
.me-info span { font-size: 12px; color: var(--text-3); }
.rank-list { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.rank-list li a { display: flex; align-items: center; gap: 11px; padding: 8px 9px; border-radius: 10px; transition: background .15s; }
.rank-list li a:hover { background: rgba(255,255,255,.06); }
.rank-no { flex: none; width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.07); color: var(--text-2); }
.rank-no.hot { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(109,141,255,.4); }
.rank-name { flex: 1; min-width: 0; font-size: 13px; color: #dbe3f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-cnt { font-size: 11.5px; color: var(--text-3); }
.stat-list { list-style: none; display: flex; }
.stat-list li { flex: 1; text-align: center; }
.stat-list li + li { border-left: 1px solid rgba(255,255,255,.08); }
.stat-list b { display: block; font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.stat-list span { font-size: 11.5px; color: var(--text-3); }
.tip-card .text-link { display: inline-block; margin-top: 10px; font-size: 13px; color: #a9c0ff; }
.tip-card .text-link:hover { color: #c3d2ff; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 13px; border-radius: 11px; font-size: 14px; color: var(--text-2);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color .15s, border-color .15s, background .15s;
}
.pagination a:hover { color: #fff; border-color: rgba(109,141,255,.5); background: rgba(109,141,255,.14); }
.pagination .current { background: var(--grad); border-color: transparent; color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(109,141,255,.35); }
.pagination .dots { border-color: transparent; background: none; }
.empty { text-align: center; padding: 90px 20px; color: var(--text-3); }
.empty .empty-emoji {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #9fb4ff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.empty h3 { color: #e4e9f4; font-size: 18px; margin-bottom: 6px; }

.ai-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; background: rgba(167,139,250,.16); border: 1px solid rgba(167,139,250,.3); color: #c4b5fd; font-weight: 500; }
.avatar {
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; box-shadow: 0 3px 10px rgba(109,141,255,.35);
}
.card-author .avatar { width: 24px; height: 24px; font-size: 12px; }
.detail-meta a.author .avatar { width: 26px; height: 26px; font-size: 13px; }

/* ---------- 详情页 ---------- */
.detail-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: var(--shadow);
  padding: 32px;
}
.detail-head { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 22px; margin-bottom: 24px; }
.detail-head h1 { font-size: 27px; line-height: 1.4; margin-bottom: 14px; color: #fff; }
.detail-meta { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--text-3); flex-wrap: wrap; }
.detail-meta a.author { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; }
.detail-section { margin-bottom: 30px; }
.detail-section h2 { font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 13px; display: flex; align-items: center; gap: 9px; }
.detail-section h2::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--grad); }
.prompt-content {
  background: rgba(8,11,20,.72);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  font-size: 14px; line-height: 1.85; color: #dfe6f3;
  white-space: pre-wrap; word-break: break-word; max-height: 520px; overflow-y: auto;
}
.prompt-preview { background: rgba(8,11,20,.5); border: 1px dashed rgba(255,255,255,.14); border-radius: 12px; padding: 22px; color: #9aa5bb; font-size: 14px; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.copy-btn { margin-top: 14px; padding: 9px 18px; border: none; border-radius: 10px; cursor: pointer; background: var(--grad); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 6px 18px rgba(109,141,255,.3); }
.copy-btn:hover { filter: brightness(1.08); }
.copy-btn.copied { background: linear-gradient(135deg, var(--success), #10b981); box-shadow: 0 6px 18px rgba(52,211,153,.3); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; cursor: zoom-in; border: 1px solid rgba(255,255,255,.1); }
.side-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow); padding: 22px; margin-top: 24px;
}
.side-block h3 { font-size: 15px; margin-bottom: 13px; color: var(--text-2); }
.side-list { display: flex; flex-direction: column; gap: 10px; }
.side-list a { font-size: 14px; color: #d5dcec; }
.side-list a:hover { color: #a9c0ff; }
.lightbox { position: fixed; inset: 0; background: rgba(6,9,16,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.lightbox .close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; background: none; border: none; }
.lightbox .prev, .lightbox .next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; }
.lightbox .prev { left: 24px; }
.lightbox .next { right: 24px; }

/* 登录门槛提示条 + 锁定区 */
.login-bar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px; margin-bottom: 26px; border-radius: 14px;
  background: linear-gradient(120deg, rgba(109,141,255,.14), rgba(167,139,250,.12));
  border: 1px solid rgba(139,108,240,.35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.login-bar-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 21px; background: rgba(255,255,255,.09); }
.login-bar-text { flex: 1; min-width: 200px; }
.login-bar-text b { display: block; font-size: 15px; color: #e8edf9; }
.login-bar-text p { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.locked-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.locked-gallery .lock-item {
  height: 150px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.14); color: var(--text-3); font-size: 12.5px;
}
.lock-item .lock-ico { font-size: 26px; opacity: .8; }

/* ---------- 表单（上传） ---------- */
.form-card {
  max-width: 720px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3); backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: var(--shadow); padding: 32px;
}
.form-card h1 { font-size: 22px; margin-bottom: 6px; color: #fff; }
.form-card .form-desc { color: var(--text-3); font-size: 13px; margin-bottom: 26px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: #dbe2f0; }
.form-row label .req { color: var(--danger); }
.form-row label .hint { font-weight: 400; color: var(--text-3); font-size: 12px; }
.form-row input[type="text"], .form-row input[type="password"], .form-row input[type="number"], .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; font-size: 14px; font-family: inherit; outline: none;
  background: rgba(255,255,255,.06); color: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #56607a; }
.form-row input:focus, .form-row textarea:focus { border-color: rgba(109,141,255,.6); box-shadow: 0 0 0 3px rgba(109,141,255,.16); }
.form-row input[readonly], .form-row input[disabled] { background: rgba(255,255,255,.04); color: var(--text-2); cursor: not-allowed; }
.form-row textarea { resize: vertical; min-height: 180px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-tip { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-msg { margin-top: 14px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.form-msg.error { background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); }
.upload-box {
  border: 2px dashed rgba(255,255,255,.18); border-radius: 13px; padding: 28px; text-align: center;
  color: var(--text-3); font-size: 14px; cursor: pointer; background: rgba(255,255,255,.03);
  transition: border-color .15s, background .15s, color .15s;
}
.upload-box:hover { border-color: rgba(109,141,255,.55); color: #b9c8f5; background: rgba(109,141,255,.07); }
.upload-box input[type="file"] { display: none; }
.upload-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 14px; }
.upload-preview .p-item { position: relative; }
.upload-preview img { width: 100%; height: 100px; object-fit: cover; border-radius: 9px; border: 1px solid rgba(255,255,255,.12); }
.upload-preview .p-del { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--danger); color: #fff; border: none; cursor: pointer; font-size: 13px; line-height: 1; }

/* ---------- 管理后台（保持浅色工作区） ---------- */
.admin-body { --bg: #eef0f3; --bg-2: #e6e9f0; --card: #fff; --text: #1a202c; --text-2: #5b6472; --text-3: #8b93a1; --line: #e5e7eb; --primary: #2563eb; --primary-dark: #1d4ed8; --accent: #7c3aed; --danger: #dc2626; --success: #059669; background: #eef0f3; color: #1a202c; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-side { width: 200px; flex: none; background: #0f172a; color: #cbd5e1; display: flex; flex-direction: column; padding: 20px 0; position: sticky; top: 0; height: 100vh; }
.admin-side .side-logo { padding: 0 22px 18px; font-size: 16px; font-weight: 700; color: #fff; border-bottom: 1px solid #1e293b; margin-bottom: 14px; }
.admin-side a { display: block; padding: 11px 22px; color: #cbd5e1; font-size: 14px; font-weight: 500; }
.admin-side a:hover { background: #1e293b; color: #fff; }
.admin-side .side-foot { margin-top: auto; padding: 14px 22px 0; border-top: 1px solid #1e293b; font-size: 13px; }
.admin-side .side-foot a { display: inline; padding: 0; color: #94a3b8; font-size: 13px; }
.admin-side .side-foot a:hover { background: none; color: #fff; }
.admin-main { flex: 1; padding: 26px 30px; min-width: 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.admin-head h1 { font-size: 22px; }
.admin-head form { display: flex; gap: 8px; }
.admin-head input { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; outline: none; width: 220px; }
.admin-head button { padding: 8px 14px; border: none; border-radius: 8px; background: var(--primary); color: #fff; font-size: 13px; cursor: pointer; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 3px rgba(16,24,40,.06); overflow: hidden; margin-bottom: 24px; }
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 16px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { background: #f8fafc; font-size: 12px; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbfc; }
.admin-table .td-empty { color: var(--text-3); text-align: center; padding: 24px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.badge.ok { background: #ecfdf5; color: var(--success); }
.badge.off { background: #fef2f2; color: var(--danger); }
.badge.info { background: #eff6ff; color: var(--primary); }
.badge.purple { background: #ede9fe; color: var(--accent); }
.badge.gray { background: #f1f5f9; color: var(--text-3); }
.mini-btn { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12px; cursor: pointer; color: var(--text-2); margin-right: 6px; }
.mini-btn:hover { border-color: var(--primary); color: var(--primary); }
.mini-btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.mini-btn.solid { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 登录 / 注册 / 安装页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(900px 600px at 30% 20%, #1b2a55 0%, #0a0e17 60%) fixed, #0a0e17;
  padding: 24px; position: relative; overflow: hidden;
}
.login-card {
  width: 400px; max-width: 100%; position: relative;
  border-radius: 20px; padding: 38px 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.login-card h1 { font-size: 21px; margin-bottom: 4px; color: #fff; }
.login-card .sub { color: var(--text-3); font-size: 13px; margin-bottom: 26px; }
.login-err { background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); padding: 9px 13px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }
.login-card .form-row label { color: #dbe2f0; }
.login-card .form-row input[type="text"], .login-card .form-row input[type="password"] { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.13); }
.login-card .form-sec { font-size: 14px; color: var(--text-2); margin: 20px 0 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.login-card .form-sec:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.form-row-half { max-width: 140px; }
.install-card { width: 560px; }
.ok-card { text-align: center; }
.ok-card .ok-tip { color: var(--text-3); font-size: 13px; margin: 4px 0 18px; }
.ok-card code { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); padding: 2px 7px; border-radius: 6px; font-size: 12px; color: #c4d4ff; }
.login-foot { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--text-3); }
.login-foot a { font-weight: 600; color: #a9c0ff; }

/* ---------- 页脚 ---------- */
.site-footer { padding: 26px 0; text-align: center; color: #4d5870; font-size: 13px; border-top: 1px solid rgba(255,255,255,.05); }

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg-orb { animation: none; }
  .cursor-glow { display: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .main-layout { flex-direction: column; }
  .side { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .side .side-card { flex: 1 1 240px; }
}
@media (max-width: 760px) {
  .site-header .header-inner { gap: 10px; height: 58px; }
  .site-header nav a { padding: 7px 9px; font-size: 13px; }
  .user-name { max-width: 74px; }
  .logo-text { display: none; }
  .banner { padding: 52px 18px 32px; margin-top: 14px; }
  .banner h1 { font-size: 34px; }
  .banner-stats { gap: 16px; }
  .banner-stats b { font-size: 19px; }
  .search-box { width: 100%; }
  .feed-head { align-items: stretch; flex-direction: column; }
  .feed-tabs { align-self: flex-start; }
  .feed-item { flex-wrap: wrap; gap: 12px; }
  .feed-thumb { width: 90px; height: 68px; }
  .feed-go { margin-left: auto; }
  .feed-time { margin-left: 0; width: 100%; }
  .chips { padding: 14px 0 4px; }
  .form-two { grid-template-columns: 1fr; }
  .admin-side { width: 64px; }
  .admin-side .side-logo { font-size: 0; padding: 0 0 18px; text-align: center; }
  .admin-side a { padding: 12px; text-align: center; font-size: 12px; }
  .admin-main { padding: 18px 14px; }
  .admin-head input { width: 150px; }
}
