/* ============================================================
   明星同款穿搭指南 - 全局样式
   设计语言：深色渐变 + 玻璃拟态 + 细腻微动效
   ============================================================ */
:root {
  --bg: #07090f;
  --bg2: #0c101c;
  --card: rgba(255, 255, 255, .05);
  --card2: rgba(255, 255, 255, .08);
  --stroke: rgba(255, 255, 255, .1);
  --stroke2: rgba(255, 255, 255, .2);
  --text: #eef1f8;
  --muted: #9aa3b5;
  --muted2: #6d7688;
  --accent: #a78bfa;
  --accent2: #6366f1;
  --accent3: #22d3ee;
  --danger: #fb7185;
  --grad: linear-gradient(135deg, #a78bfa, #6366f1 55%, #22d3ee);
  --grad-soft: linear-gradient(135deg, rgba(167, 139, 250, .2), rgba(34, 211, 238, .14));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(99, 102, 241, .20), transparent 60%),
    radial-gradient(900px 520px at -10% 25%, rgba(167, 139, 250, .14), transparent 60%),
    radial-gradient(900px 620px at 50% 115%, rgba(34, 211, 238, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  animation: pageIn .45s ease both;
}
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(99, 102, 241, .45); }
:focus-visible { outline: 2px solid var(--accent3); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 92vw); margin: 0 auto; }
.glass {
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(8, 10, 18, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--stroke);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 800; color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, .45);
}
.brand-text { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.brand-sub { display: block; font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: 1.5px; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color .25s, background .25s, transform .25s;
}
.nav-links a:hover { color: var(--text); transform: translateY(-1px); }
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(167, 139, 250, .25), rgba(34, 211, 238, .18));
  border: 1px solid var(--stroke2);
}
.nav-toggle { display: none; font-size: 22px; padding: 6px 10px; color: var(--text); border: 1px solid var(--stroke); border-radius: 10px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 64px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--stroke2);
  font-size: 13px; color: #d9d2ff; margin-bottom: 22px;
}
.hero-title { font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.18; letter-spacing: 1px; }
.hero-sub { margin: 18px auto 30px; max-width: 560px; color: var(--muted); font-size: 16px; }
.hero-search { display: flex; justify-content: center; }
.hero-search .search-box {
  display: flex; align-items: center; gap: 8px;
  width: min(520px, 100%);
  background: var(--card2); border: 1px solid var(--stroke2);
  border-radius: 999px; padding: 6px 8px 6px 18px;
  transition: box-shadow .3s, border-color .3s;
}
.hero-search .search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(167, 139, 250, .18); }
.hero-search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 15px; }
.hero-search input::placeholder { color: var(--muted2); }
.hero-search .btn { flex-shrink: 0; }
.hero-stats { display: flex; justify-content: center; gap: clamp(20px, 6vw, 60px); margin-top: 40px; flex-wrap: wrap; }
.stat strong { font-size: clamp(26px, 4vw, 38px); font-weight: 800; display: block; }
.stat span { font-size: 13px; color: var(--muted); }

/* 浮动光斑 */
.orbs .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; animation: float 9s ease-in-out infinite; }
.orb-1 { width: 320px; height: 320px; background: rgba(99, 102, 241, .4); top: -120px; left: 6%; }
.orb-2 { width: 260px; height: 260px; background: rgba(34, 211, 238, .3); bottom: -100px; right: 8%; animation-delay: -3s; }
.orb-3 { width: 180px; height: 180px; background: rgba(167, 139, 250, .35); top: 40%; left: 48%; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(14px); } }

/* ---------------- 区块 ---------------- */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: .5px; }
.section-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section-link { color: var(--accent3); font-size: 14px; font-weight: 500; white-space: nowrap; transition: opacity .2s; }
.section-link:hover { opacity: .8; }

/* 工具栏：排序 / 筛选 */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--stroke); border-radius: 999px; padding: 4px; }
.seg-btn { padding: 7px 18px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: all .25s; font-weight: 500; }
.seg-btn.active { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, .4); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--stroke);
  font-size: 13px; color: var(--muted);
  transition: all .25s;
}
.chip:hover { color: var(--text); border-color: var(--stroke2); transform: translateY(-1px); }
.chip.active { color: #fff; background: linear-gradient(135deg, rgba(167,139,250,.35), rgba(34,211,238,.25)); border-color: var(--stroke2); }

/* ---------------- 穿搭卡片 ---------------- */
.look-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.look-card {
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.look-card:hover {
  transform: translateY(-8px);
  border-color: var(--stroke2);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(167, 139, 250, .15);
}
.card-media { position: relative; aspect-ratio: 3 / 3.6; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.look-card:hover .card-media img { transform: scale(1.07); }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(7, 9, 15, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--stroke2);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; letter-spacing: .5px;
}
.badge-mine { background: linear-gradient(135deg, rgba(99,102,241,.85), rgba(34,211,238,.8)); border: none; color: #fff; font-weight: 600; }
.like-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(7, 9, 15, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--stroke2);
  border-radius: 999px; padding: 5px 10px;
  font-size: 12px; color: var(--text);
  transition: transform .2s, background .3s;
}
.card-media .like-btn { position: absolute; top: 10px; right: 10px; }
.like-btn svg { width: 14px; height: 14px; fill: transparent; stroke: currentColor; transition: fill .25s; }
.like-btn:hover { transform: scale(1.08); }
.like-btn.on { background: rgba(251, 113, 133, .18); border-color: rgba(251, 113, 133, .45); }
.like-btn.on svg { fill: var(--danger); stroke: var(--danger); }
.like-btn.sm { position: static; }
.card-body { padding: 16px 18px 18px; }
.card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card-star { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 13px; color: #fff; font-weight: 700;
  flex-shrink: 0;
}
.avatar.sm { width: 30px; height: 30px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: var(--card2); border: 1px solid var(--stroke);
  color: var(--muted);
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-views { font-size: 12px; color: var(--muted2); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: transform .2s, box-shadow .25s, background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(99, 102, 241, .4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(99, 102, 241, .55); filter: brightness(1.05); }
.btn-ghost { background: var(--card2); border: 1px solid var(--stroke2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-danger { background: rgba(251, 113, 133, .14); border: 1px solid rgba(251, 113, 133, .4); color: var(--danger); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--card2); border: 1px solid var(--stroke2);
  font-size: 14px; font-weight: 600;
  transition: all .25s;
}
.icon-btn svg { width: 17px; height: 17px; fill: transparent; stroke: currentColor; transition: fill .25s; }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--stroke2); }
.icon-btn.on { background: rgba(251, 113, 133, .16); border-color: rgba(251, 113, 133, .45); color: #ffd9de; }
.icon-btn.on svg { fill: var(--danger); stroke: var(--danger); }
.icon-btn.fav.on { background: rgba(250, 204, 21, .14); border-color: rgba(250, 204, 21, .4); color: #ffe9b3; }
.icon-btn.fav.on svg { fill: #facc15; stroke: #facc15; }

/* ---------------- CTA 横幅 ---------------- */
.cta-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 34px 38px; border-radius: var(--radius);
  background: var(--grad-soft); border: 1px solid var(--stroke2);
  flex-wrap: wrap;
}
.cta-banner::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,.4), transparent 70%);
  top: -90px; right: 8%; filter: blur(20px);
}
.cta-banner h3 { font-size: 22px; font-weight: 800; }
.cta-banner p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ---------------- 页脚 ---------------- */
.footer { margin-top: 60px; border-top: 1px solid var(--stroke); padding: 34px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer p, .footer li { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; list-style: none; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.footer-note { margin-top: 18px; font-size: 12px; color: var(--muted2); max-width: 720px; }

/* ---------------- 详情页 ---------------- */
.detail-grid { display: grid; grid-template-columns: minmax(320px, 5fr) 6fr; gap: 34px; padding: 34px 0; align-items: start; }
.detail-media { position: sticky; top: 96px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 3.9; box-shadow: var(--shadow); border: 1px solid var(--stroke); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin: 26px 0 0; transition: color .2s; }
.back-link:hover { color: var(--text); }
.detail-cat { font-size: 13px; color: var(--accent3); letter-spacing: 1px; text-transform: uppercase; }
.detail-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin: 8px 0 6px; line-height: 1.2; }
.detail-star { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.detail-meta { display: flex; gap: 18px; color: var(--muted2); font-size: 13px; flex-wrap: wrap; }
.detail-actions { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.detail-summary {
  padding: 18px 20px; border-left: 3px solid var(--accent);
  background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text); font-size: 15px; margin-bottom: 24px;
}
.detail-section { margin-top: 34px; }
.detail-section h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.detail-section h2::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--grad); }
.item-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; margin-bottom: 12px;
  transition: transform .25s, border-color .25s;
}
.item-card:hover { transform: translateX(4px); border-color: var(--stroke2); }
.item-num {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--stroke2);
  font-weight: 800; color: #cdc6ff;
}
.item-info { flex: 1; min-width: 0; }
.item-info h4 { font-size: 15px; font-weight: 700; }
.item-brand { font-size: 12px; color: var(--muted); margin-top: 2px; }
.item-tip { font-size: 12px; color: var(--accent3); margin-top: 3px; }
.item-right { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.price { font-weight: 800; font-size: 15px; }
.price small { font-weight: 400; color: var(--muted2); font-size: 11px; display: block; }
.tip-list { list-style: none; }
.tip-item {
  display: flex; gap: 10px; padding: 10px 0;
  font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--stroke);
}
.tip-item::before { content: "✦"; color: var(--accent); flex-shrink: 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }

/* ---------------- 排行榜 ---------------- */
.rank-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; }
.rank-item {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 18px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.rank-item:hover { transform: translateY(-3px); border-color: var(--stroke2); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.rank-no { width: 44px; text-align: center; font-size: 24px; font-weight: 800; color: var(--muted2); flex-shrink: 0; font-family: Georgia, serif; }
.rank-no.gold { color: #facc15; }
.rank-no.silver { color: #cbd5e1; }
.rank-no.bronze { color: #fb923c; }
.rank-thumb { width: 58px; height: 74px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--card2); }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; min-width: 0; }
.rank-info h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rank-star { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rank-bar-wrap { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 10px; overflow: hidden; }
.rank-bar { height: 100%; border-radius: 4px; background: var(--grad); width: 0; transition: width 1s cubic-bezier(.2,.7,.3,1); }
.rank-meta { flex-shrink: 0; text-align: right; }
.rank-meta strong { font-size: 16px; font-weight: 800; display: block; }
.rank-meta span { font-size: 11px; color: var(--muted2); }

/* ---------------- 晒同款 ---------------- */
.upload-card { padding: 26px; margin-bottom: 34px; }
.upload-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.upload-card > p { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--card2); border: 1px solid var(--stroke);
  border-radius: var(--radius-sm); padding: 11px 14px;
  color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(167,139,250,.15); }
.field select option { background: #141824; }
.file-drop {
  border: 1.5px dashed var(--stroke2); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; color: var(--muted);
  font-size: 13px; cursor: pointer;
  transition: border-color .25s, background .25s;
  position: relative;
}
.file-drop:hover { border-color: var(--accent); background: rgba(167,139,250,.06); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.preview-box { margin-top: 12px; position: relative; }
.preview-box img { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius-sm); }
.preview-box .remove-prev { position: absolute; top: 8px; right: 8px; background: rgba(7,9,15,.7); border: 1px solid var(--stroke2); border-radius: 999px; padding: 4px 10px; font-size: 12px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--stroke2); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 15px 17px 17px; }
.post-head { display: flex; gap: 10px; align-items: center; }
.post-head strong { font-size: 14px; }
.post-ref { font-size: 12px; color: var(--accent3); }
.post-text { font-size: 13px; color: var(--text); margin: 12px 0; min-height: 20px; }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-date { font-size: 12px; color: var(--muted2); }
.post-actions { display: flex; align-items: center; gap: 8px; }
.del-btn { font-size: 12px; color: var(--danger); padding: 4px 10px; border: 1px solid rgba(251,113,133,.35); border-radius: 999px; transition: background .2s; }
.del-btn:hover { background: rgba(251,113,133,.12); }

/* ---------------- 关于页 ---------------- */
.about-wrap { max-width: 760px; margin: 0 auto; padding: 30px 0; }
.about-card { padding: 30px; margin-bottom: 22px; }
.about-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.about-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.about-card p:last-child { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 18px 0 4px; }
.step { text-align: center; padding: 18px 10px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--stroke); }
.step-num { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px; }
.step h4 { font-size: 14px; margin-bottom: 4px; }
.step p { font-size: 12px; color: var(--muted); }
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 4px; font-size: 15px; font-weight: 600; color: var(--text); }
.faq-q .faq-arrow { transition: transform .3s; color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent3); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; color: var(--muted); font-size: 14px; }
.faq-item.open .faq-a { max-height: 220px; padding: 0 4px 16px; }

/* ---------------- 空状态 / 未找到 ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-icon { font-size: 42px; margin-bottom: 10px; opacity: .7; }
.notfound { text-align: center; padding: 100px 20px; }
.notfound h1 { font-size: 64px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound p { color: var(--muted); margin: 12px 0 24px; }

/* ---------------- Toast ---------------- */
#toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 24px);
  background: rgba(16, 20, 34, .92); border: 1px solid var(--stroke2);
  color: var(--text); padding: 12px 22px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: all .35s cubic-bezier(.2,.7,.3,1);
  z-index: 999; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 骨架屏 ---------------- */
.skeleton-card .sk { border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.11) 50%, rgba(255,255,255,.05) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.sk-img { aspect-ratio: 3 / 3.6; border-radius: var(--radius) var(--radius) 0 0 !important; }
.sk-line { height: 15px; margin: 10px 18px 0; }
.sk-line.w60 { width: 60%; }
.sk-line.w80 { width: 80%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------- 滚动进场 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 图片兜底 ---------------- */
.img-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 44px; color: rgba(255,255,255,.75);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-media { position: static; aspect-ratio: 3 / 3.2; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 4vw; right: 4vw;
    flex-direction: column; gap: 4px;
    background: rgba(10, 13, 22, .94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--stroke); border-radius: 16px;
    padding: 10px; margin-top: 6px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; animation: pageIn .3s ease both; }
  .nav-links a { padding: 12px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  .cta-banner { padding: 26px 22px; }
  .rank-item { flex-wrap: wrap; gap: 12px; }
  .rank-meta { width: 100%; text-align: left; display: flex; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
