﻿:root {
  --bg: #0b1020; --bg-soft: #11182e; --bg-alt: #0e1426; --card: #161f3a; --card-2: #1b2547;
  --line: rgba(255, 255, 255, 0.08); --txt: #e8edf7; --txt-dim: #9aa6c4;
  --primary: #4f7cff; --primary-2: #7c5cff; --accent: #2ee6c5;
  --grad: linear-gradient(120deg, #4f7cff, #7c5cff 55%, #2ee6c5);
  --radius: 16px; --shadow: 0 20px 50px rgba(0, 0, 0, 0.35); --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--bg); color: var(--txt); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; border: 1px solid transparent; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(79, 124, 255, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(79, 124, 255, .5); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line); color: var(--txt); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 38px; font-size: 17px; }

/* 导航 */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(11, 16, 32, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo-img { width: 42px; height: 42px; border-radius: 12px; display: block; box-shadow: 0 4px 14px rgba(79, 124, 255, .35); transition: transform .25s; }
.brand:hover .brand-logo-img { transform: rotate(-6deg) scale(1.05); }
.brand-name { font-size: 19px; line-height: 1; font-weight: 800; letter-spacing: .5px; white-space: nowrap; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--txt-dim); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--txt); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-user { font-size: 14px; color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--txt); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { position: relative; padding: 130px 0 56px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(800px 400px at 15% 10%, rgba(79, 124, 255, .25), transparent 60%), radial-gradient(700px 400px at 85% 20%, rgba(124, 92, 255, .22), transparent 60%), radial-gradient(600px 500px at 50% 100%, rgba(46, 230, 197, .12), transparent 60%); }
.hero-inner { position: relative; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--accent); margin-bottom: 22px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ee6c5; box-shadow: 0 0 8px rgba(46, 230, 197, .9); animation: badgePulse 1.6s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.85); } }
.hero-title { font-size: clamp(30px, 5vw, 52px); line-height: 1.2; font-weight: 800; }
.hero-sub { max-width: 720px; margin: 22px auto 0; color: var(--txt-dim); font-size: 17px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--txt-dim); font-size: 14px; }

/* Section */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.eyebrow { font-size: 13px; letter-spacing: 2px; color: var(--accent); font-weight: 700; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--txt-dim); font-size: 16px; }

/* Grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 卡片 */
.card { background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); border-color: rgba(79, 124, 255, .5); box-shadow: var(--shadow); }
.card-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: rgba(79, 124, 255, .14); border: 1px solid rgba(79, 124, 255, .25); margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--txt-dim); font-size: 14.5px; }
.card .tag { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--accent); background: rgba(46, 230, 197, .1); padding: 4px 10px; border-radius: 999px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text h2 { font-size: clamp(24px, 4vw, 34px); margin: 10px 0 14px; }
.split-text p { color: var(--txt-dim); margin-bottom: 18px; }
.check-list { list-style: none; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--txt); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; display: grid; place-items: center; }
.code-card { background: #0a0f1f; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.code-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #0d1428; border-bottom: 1px solid var(--line); }
.code-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.code-title { margin-left: 8px; color: var(--txt-dim); font-size: 13px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.code-card pre { padding: 20px; overflow-x: auto; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.7; color: #cdd6f4; }
.c-key { color: #7c5cff; } .c-str { color: #2ee6c5; } .c-ok { color: #28c840; }

/* CTA */
.cta { padding: 56px 0; text-align: center; position: relative; background: var(--bg-soft); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(79, 124, 255, .2), transparent 70%); }
.cta-inner { position: relative; }
.cta h2 { font-size: clamp(26px, 4vw, 38px); }
.cta p { color: var(--txt-dim); margin: 14px 0 30px; font-size: 17px; }
.contact-cards { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.contact-card { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); padding: 16px 22px; border-radius: 14px; text-align: left; }
.contact-ico { font-size: 26px; }
.contact-card div { display: flex; flex-direction: column; }
.contact-card strong { font-size: 14px; }
.contact-card span { color: var(--accent); font-size: 15px; font-weight: 600; }

/* Footer */
.footer { background: #070b16; padding: 56px 0 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand p { color: var(--txt-dim); font-size: 13px; margin-top: 6px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 15px; margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--txt-dim); font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer-cols a:hover { color: var(--txt); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; text-align: center; color: var(--txt-dim); font-size: 13px; }
.footer-bottom .fb-line { margin: 4px 0; }
.footer-bottom .fb-line a { color: var(--txt-dim); }
.footer-bottom .fb-line a:hover { color: var(--txt); }
.footer-bottom .fb-sep { margin: 0 10px; opacity: .5; }
.footer-bottom .police { display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom .police-icon { width: 14px; height: 14px; vertical-align: middle; }

/* 返回顶部 */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; border: none; font-size: 20px; cursor: pointer; opacity: 0; transform: translateY(10px); transition: .3s; z-index: 90; box-shadow: 0 10px 24px rgba(79, 124, 255, .4); }
.to-top.show { opacity: 1; transform: translateY(0); }

/* 动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* 页面头 */
.page-head { padding: 120px 0 30px; text-align: center; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; }
.page-head p { color: var(--txt-dim); margin-top: 8px; }

/* 分类导航 */
.cat-nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.cat-nav a { padding: 8px 18px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--txt-dim); transition: .2s; }
.cat-nav a:hover, .cat-nav a.active { background: var(--grad); color: #fff; border-color: transparent; }

/* 产品卡 */
.prod-card { position: relative; background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-6px); border-color: rgba(79, 124, 255, .5); box-shadow: var(--shadow); }
.prod-cover { height: 280px; display: grid; place-items: center; font-size: 60px; background: radial-gradient(400px 200px at 50% 0%, rgba(79, 124, 255, .18), transparent 70%); overflow: hidden; }
.prod-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-badge { position: absolute; top: 14px; left: 14px; background: var(--grad); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.prod-body { padding: 6px 10px 8px; display: flex; flex-direction: column; gap: 1px; flex: 1; }
.prod-body h3 { font-size: 13px; line-height: 1.15; margin: 0; }
.prod-desc { color: var(--txt-dim); font-size: 11px; line-height: 1.3; flex: 1; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.prod-platform { font-size: 10px; color: var(--txt-dim); }
.prod-price { margin-top: 1px; display: flex; align-items: baseline; gap: 8px; }
.prod-price .now { font-size: 15px; font-weight: 800; color: #fff; }
.prod-price .old { font-size: 13px; color: var(--txt-dim); text-decoration: line-through; }

/* 详情页 */
.back-link { display: inline-block; margin-bottom: 20px; color: var(--txt-dim); }
.back-link:hover { color: var(--txt); }
.detail { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.detail-cover { height: 300px; border-radius: var(--radius); display: grid; place-items: center; font-size: 120px; background: radial-gradient(500px 300px at 50% 0%, rgba(79, 124, 255, .2), transparent 70%); border: 1px solid var(--line); }
.detail-info h1 { font-size: 32px; margin: 10px 0; }
.detail-desc { color: var(--txt-dim); font-size: 16px; margin: 14px 0; }
.detail-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; }
.detail-price .now { font-size: 36px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail-price .old { font-size: 18px; color: var(--txt-dim); text-decoration: line-through; }
.detail-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.detail-tip { margin-top: 18px; color: var(--accent); font-size: 14px; }

/* 认证页 */
.auth-section { padding: 130px 0 80px; }
.auth-card { max-width: 440px; margin: 0 auto; background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 20px; padding: 38px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 28px; text-align: center; }
.auth-sub { text-align: center; color: var(--txt-dim); margin: 8px 0 24px; font-size: 14px; }
.auth-error { background: rgba(255, 90, 90, .12); border: 1px solid rgba(255, 90, 90, .4); color: #ff9a9a; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.auth-ok { background: rgba(46, 230, 197, .12); border: 1px solid rgba(46, 230, 197, .4); color: #6ff0d8; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.auth-form label { display: block; font-size: 14px; margin: 14px 0 6px; color: var(--txt-dim); }
.auth-form label span { color: #ff9a9a; }
.auth-form input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--txt); font-size: 15px; }
.auth-form input:focus { outline: none; border-color: var(--primary); }
.auth-foot { text-align: center; margin-top: 20px; color: var(--txt-dim); font-size: 14px; }
.auth-foot a, .auth-demo a { color: var(--accent); }
.auth-demo { text-align: center; margin-top: 10px; color: var(--txt-dim); font-size: 12px; }

/* 关于 */
.about-wrap { max-width: 900px; }
.about-block h2 { font-size: 26px; margin-bottom: 14px; }
.about-block p { color: var(--txt-dim); font-size: 16px; }
.about-cards { margin: 36px 0; }

/* 用户中心 */
.uc-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.uc-card { display: flex; align-items: center; gap: 14px; background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.uc-ico { font-size: 28px; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(79, 124, 255, .14); border-radius: 12px; }
.uc-card strong { display: block; font-size: 13px; color: var(--txt-dim); font-weight: 500; }
.uc-card span { font-size: 22px; font-weight: 800; }
.uc-panel { background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.uc-panel h3 { font-size: 19px; margin-bottom: 14px; }
.uc-tip { color: var(--txt-dim); font-size: 14px; margin-bottom: 14px; }
.uc-ref { background: rgba(0, 0, 0, .25); border-radius: 12px; padding: 16px; }
.uc-ref code { color: var(--accent); font-size: 15px; }
.uc-link-row { display: flex; gap: 10px; margin-top: 12px; }
.uc-link-row input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--txt); font-size: 13px; }
.uc-withdraw { display: flex; gap: 10px; margin-top: 16px; }
.uc-withdraw input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--txt); }
.uc-empty { color: var(--txt-dim); font-size: 14px; }
.uc-empty a { color: var(--accent); }
.uc-ok { color: #4ade80; font-size: 14px; margin-bottom: 12px; }
.uc-err { color: #f87171; font-size: 14px; margin-bottom: 12px; }
.uc-profile { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.uc-profile .pf-row { display: flex; align-items: center; gap: 12px; }
.uc-profile .pf-row label { width: 84px; flex: 0 0 84px; color: var(--txt-dim); font-size: 13px; }
.uc-profile .pf-row input { flex: 1; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--txt); font-size: 14px; }
.uc-profile .btn { align-self: flex-start; margin-top: 4px; }
.uc-profile .pf-actions { display: flex; gap: 10px; margin-top: 4px; }
#editProfileBtn { margin-bottom: 4px; }
.uc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uc-table th, .uc-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.uc-table th { color: var(--txt-dim); font-weight: 600; font-size: 13px; }
.uc-table .c-money { color: var(--accent); font-weight: 600; }
.uc-table .c-comm { white-space: nowrap; }
.uc-table .c-comm .comm-input { width: 64px; padding: 5px 6px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--txt); font-size: 13px; }
.uc-table .c-comm .btn { margin-left: 4px; }

/* 后台表单 */
.admin-form .row2, .admin-form .row3 { display: grid; gap: 12px; margin-bottom: 12px; }
.admin-form .row2 { grid-template-columns: 1fr 1fr; }
.admin-form .row3 { grid-template-columns: 1fr 1fr 1fr; }
.admin-form input, .admin-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--txt); font-size: 14px; font-family: inherit; }
.admin-form textarea { min-height: 80px; resize: vertical; margin-bottom: 12px; }
.admin-form input:focus, .admin-form textarea:focus { outline: none; border-color: var(--primary); }

/* 响应式 */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .detail { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .uc-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; top: 68px; right: 0; left: 0; flex-direction: column; gap: 0; background: rgba(11, 16, 32, .97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0; }
  .nav-links.open { max-height: 360px; padding: 8px 0; }
  .nav-links a { padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .uc-overview { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .admin-form .row2, .admin-form .row3 { grid-template-columns: 1fr; }
  .uc-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* 留言板 */
.message-wrap { max-width: 820px; }
.msg-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.msg-form input, .msg-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--txt); font-size: 14px; font-family: inherit; }
.msg-form textarea { min-height: 100px; resize: vertical; margin-bottom: 14px; }
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--primary); }
.msg-list { display: flex; flex-direction: column; gap: 16px; }
.msg-item { background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.msg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.msg-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; }
.msg-head strong { display: block; font-size: 15px; }
.msg-time { font-size: 12px; color: var(--txt-dim); }
.msg-content { color: var(--txt); font-size: 14.5px; }
.msg-reply { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(46, 230, 197, .08); border: 1px solid rgba(46, 230, 197, .25); font-size: 14px; color: var(--txt); }
.msg-reply-tag { display: inline-block; font-size: 11px; color: var(--accent); background: rgba(46, 230, 197, .15); padding: 2px 8px; border-radius: 999px; margin-right: 8px; font-weight: 600; }

/* 后台留言管理 */
.msg-admin-list { display: flex; flex-direction: column; gap: 12px; }
.msg-admin-item { background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.msg-admin-item textarea { width: 100%; min-height: 56px; margin: 8px 0; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--txt); font-family: inherit; font-size: 13px; }
.msg-admin-actions { display: flex; gap: 8px; }
.msg-status { font-size: 12px; color: var(--txt-dim); }

/* 支付结果页 */
.pay-result-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 40px 32px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.pay-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 36px; font-weight: 800; }
.pay-icon.ok { background: rgba(46, 230, 197, .15); color: var(--accent); border: 2px solid var(--accent); }
.pay-icon.pending { background: rgba(255,255,255,.06); color: var(--txt-dim); border: 2px solid var(--line); font-size: 30px; }
.pay-result-card h2 { margin: 0 0 6px; }
.pay-sub { color: var(--txt-dim); margin: 0 0 22px; }
.pay-meta { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.pay-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.pay-meta li span { color: var(--txt-dim); }
.pay-meta li b { word-break: break-all; text-align: right; }
.pay-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 后台封面上传 */
.upload-row { display: flex; gap: 16px; align-items: center; margin: 12px 0; flex-wrap: wrap; }
.upload-preview { width: 96px; height: 96px; border: 1px dashed var(--line); border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,.03); }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph { font-size: 12px; color: var(--txt-dim); }
.upload-ctrl { display: flex; flex-direction: column; gap: 8px; }
.upload-ctrl input[type=file] { font-size: 12px; color: var(--txt-dim); }
.form-actions { display: flex; gap: 12px; margin-top: 14px; }

/* 表格缩略图与操作 */
.tb-cover { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; display: block; }
.uc-table td.ops { white-space: nowrap; }
.uc-table td.ops .btn { margin-right: 4px; }

/* 用户状态标签 */
.u-status { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.u-status.active { background: rgba(46, 230, 197, .15); color: var(--accent); }
.u-status.disabled { background: rgba(255,90,90,.15); color: #ff7a7a; }
code { background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; font-size: 12px; }

/* 后台多图缩略 */
.cover-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 220px; overflow-y: auto; padding: 2px; }
.cover-thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.cover-thumb.is-cover { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-thumb .rm { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px; border: none; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 12px; z-index: 2; }
.cover-thumb .tag { position: absolute; left: 0; bottom: 0; width: 100%; text-align: center; background: var(--accent); color: #06121a; font-size: 10px; font-weight: 700; z-index: 2; }
.cover-thumb .set-cover { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); border: none; border-radius: 16px; background: rgba(6,18,26,.75); color: #fff; cursor: pointer; font-size: 10px; padding: 2px 8px; z-index: 2; white-space: nowrap; }
.cover-thumb .set-cover:hover { background: var(--accent); color: #06121a; }
.up-hint { color: var(--txt-dim); font-size: 13px; }
.up-tip { color: var(--txt-dim); font-size: 12px; line-height: 1.6; margin: 6px 0 0; max-width: 320px; }

/* 详情页画廊 */
.detail-gallery { flex: 0 0 380px; max-width: 380px; }
.detail-gallery .detail-cover { width: 100%; height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: grid; place-items: center; }
.detail-gallery .detail-cover img { width: 100%; height: 100%; object-fit: contain; }
.thumb-list { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .7; transition: .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--accent); opacity: 1; }
.thumb-list .no-img { font-size: 40px; }

/* 面包屑导航（SEO） */
.breadcrumb { font-size: 13px; color: var(--txt-dim); margin-bottom: 14px; }
.breadcrumb a { color: var(--txt-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 6px; opacity: .55; }

/* FAQ 常见问题（SEO 长尾） */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); margin-bottom: 12px; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent); font-weight: 400; }
.faq-item details[open] summary::after { content: "-"; }
.faq-a { padding: 0 20px 18px; color: var(--txt-dim); font-size: 14.5px; line-height: 1.85; }

