/* UFQ数据池系统 - 全局样式 */
:root {
  --bg: #0a0f1a;
  --bg2: #0d1526;
  --panel: #111c30;
  --panel2: #16233c;
  --border: #223352;
  --border2: #2c4266;
  --text: #e6edf7;
  --muted: #8ba0bd;
  --dim: #5d7290;
  --accent: #3b82f6;
  --accent2: #22d3ee;
  --ok: #22c55e;
  --warn: #f59e0b;
  --err: #ef4444;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100%;
}

body {
  background-image:
    radial-gradient(1000px 500px at 85% -10%, rgba(59, 130, 246, .16), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(34, 211, 238, .10), transparent 60%);
  background-attachment: fixed;
}

a { color: var(--accent2); text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 6px; }

/* ---------- 通用组件 ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  background: var(--panel2); color: var(--text); cursor: pointer;
  font-weight: 600; transition: .18s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--border2); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border-color: #3b82f6; color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--border2); }
.btn-danger { background: rgba(239, 68, 68, .15); border-color: rgba(239, 68, 68, .4); color: #fca5a5; }
.btn-ok { background: rgba(34, 197, 94, .15); border-color: rgba(34, 197, 94, .4); color: #86efac; }
.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 8px; }

.input, select.input, textarea.input {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  background: rgba(8, 14, 26, .7); border: 1px solid var(--border2);
  color: var(--text); outline: none; transition: .18s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
textarea.input { resize: vertical; min-height: 120px; font-family: var(--mono); font-size: 12.5px; }

.label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; letter-spacing: .3px; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(59, 130, 246, .15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, .3);
}
.tag-ok { background: rgba(34, 197, 94, .15); color: #86efac; border-color: rgba(34, 197, 94, .35); }
.tag-warn { background: rgba(245, 158, 11, .15); color: #fcd34d; border-color: rgba(245, 158, 11, .35); }
.tag-err { background: rgba(239, 68, 68, .15); color: #fca5a5; border-color: rgba(239, 68, 68, .35); }
.tag-gray { background: rgba(148, 163, 184, .12); color: var(--muted); border-color: var(--border2); }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wrap { flex-wrap: wrap; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th {
  text-align: left; padding: 12px 14px; font-size: 12px; color: var(--muted);
  border-bottom: 1px solid var(--border); background: rgba(13, 21, 38, .6);
  white-space: nowrap; font-weight: 600; letter-spacing: .3px;
}
table.tbl td {
  padding: 11px 14px; border-bottom: 1px solid rgba(34, 51, 82, .5);
  vertical-align: middle;
}
table.tbl tr:hover td { background: rgba(59, 130, 246, .06); }

/* 弹层 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(4, 8, 16, .72);
  display: none; align-items: center; justify-content: center; z-index: 100;
  backdrop-filter: blur(4px);
}
.modal-mask.show { display: flex; }
.modal {
  width: min(860px, 92vw); max-height: 86vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--border2);
  border-radius: 16px; padding: 22px; box-shadow: var(--shadow);
}

/* Toast */
#toast {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.toast-item {
  padding: 11px 20px; border-radius: 10px; font-weight: 600;
  background: var(--panel2); border: 1px solid var(--border2);
  box-shadow: var(--shadow); animation: slideDown .25s ease;
}
.toast-ok { border-color: rgba(34, 197, 94, .5); color: #86efac; }
.toast-err { border-color: rgba(239, 68, 68, .5); color: #fca5a5; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 提取页 ---------- */
.extract-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; padding: 40px 20px 60px;
}
.brand { text-align: center; margin-bottom: 30px; }
.brand-badge {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff;
  box-shadow: 0 12px 30px rgba(34, 211, 238, .35);
}
.brand h1 { font-size: 30px; letter-spacing: 1px; }
.brand p { color: var(--muted); margin-top: 6px; }

.extract-card {
  width: min(920px, 100%); padding: 28px;
}
.key-row { display: flex; gap: 12px; margin-top: 10px; }
.key-row .input {
  flex: 1; padding: 15px 18px; font-size: 17px; letter-spacing: 1.5px;
  font-family: var(--mono); text-transform: uppercase;
}
.key-row .btn { padding: 15px 28px; font-size: 16px; }

.result-area { margin-top: 24px; display: none; }
.result-area.show { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.result-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.banner-ok { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); }
.banner-fixed { background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .35); }
.banner-err { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .35); }

.meta-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.chip {
  padding: 8px 14px; border-radius: 10px; background: rgba(22, 35, 60, .8);
  border: 1px solid var(--border2); font-size: 13px;
}
.chip b { color: var(--accent2); font-weight: 600; }

.token-block {
  background: rgba(8, 14, 26, .8); border: 1px solid var(--border2);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 16px;
}
.token-block .val {
  font-family: var(--mono); font-size: 12px; word-break: break-all;
  color: #a5f3fc; margin-top: 8px; line-height: 1.7;
}

.role-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-panel { padding: 16px; }
.role-panel h3 { font-size: 14px; margin-bottom: 12px; color: var(--accent2); }
.kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(44, 66, 102, .5); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); font-size: 12.5px; }
.kv .v { font-weight: 600; text-align: right; }

.empty-hint {
  text-align: center; padding: 50px 20px; color: var(--muted);
}
.empty-hint .icon { font-size: 42px; margin-bottom: 12px; }

footer.site {
  margin-top: 40px; color: var(--dim); font-size: 12px; text-align: center;
}

@media (max-width: 760px) {
  .role-panels, .grid2 { grid-template-columns: 1fr; }
  .key-row { flex-direction: column; }
  .brand h1 { font-size: 24px; }
}

/* ---------- 管理后台 ---------- */
.admin-body { display: flex; min-height: 100vh; }

.sidebar {
  width: 230px; flex-shrink: 0; padding: 22px 14px;
  background: rgba(10, 15, 26, .92); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 0; height: 100vh;
}
.side-logo {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px 20px;
}
.side-logo .dot {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 13px;
}
.side-logo b { font-size: 15px; letter-spacing: .5px; }
.side-logo span { display: block; font-size: 11px; color: var(--dim); font-weight: 400; }

.nav-item {
  padding: 11px 14px; border-radius: 10px; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; gap: 10px; font-weight: 600; transition: .15s;
  border: 1px solid transparent;
}
.nav-item:hover { background: rgba(59, 130, 246, .1); color: var(--text); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, .25), rgba(34, 211, 238, .12));
  color: #fff; border-color: rgba(59, 130, 246, .4);
}

.main { flex: 1; padding: 26px 30px 60px; min-width: 0; }
.page-head { margin-bottom: 22px; }
.page-head h2 { font-size: 22px; letter-spacing: .5px; }
.page-head p { color: var(--muted); margin-top: 4px; }

.view { display: none; }
.view.active { display: block; animation: fade .25s ease; }

.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px; margin-bottom: 20px;
}
.stat-card { padding: 18px; }
.stat-card .t { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.stat-card .n { font-size: 30px; font-weight: 800; margin-top: 6px; letter-spacing: .5px; }
.stat-card .s { font-size: 12px; color: var(--dim); margin-top: 4px; }

.bar-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.bar-row .name { width: 52px; color: var(--muted); font-size: 12.5px; text-align: right; }
.bar-row .track { flex: 1; height: 10px; border-radius: 6px; background: rgba(34, 51, 82, .6); overflow: hidden; }
.bar-row .fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
  transition: width .5s ease;
}
.bar-row .num { width: 36px; font-size: 12px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

.card { padding: 20px; margin-bottom: 18px; }
.card h3 { font-size: 15px; margin-bottom: 14px; letter-spacing: .3px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 16px; align-items: center; }
.pagination .btn { min-width: 38px; }

.login-mask {
  position: fixed; inset: 0; background: var(--bg); z-index: 300;
  display: flex; align-items: center; justify-content: center;
}
.login-box { width: min(400px, 90vw); padding: 34px; text-align: center; }
.login-box h2 { margin: 14px 0 6px; }
.login-box p { color: var(--muted); margin-bottom: 22px; }
.login-box .input { margin-bottom: 14px; }

.filter-status-line {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 10px; background: rgba(13, 21, 38, .6); border: 1px solid var(--border);
  margin-bottom: 14px; flex-wrap: wrap;
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite;
}
.pulse.off { background: var(--dim); animation: none; }
.pulse.busy { background: var(--warn); animation: pulse 1s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (max-width: 900px) {
  .admin-body { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; flex-direction: row; overflow-x: auto; }
  .side-logo { display: none; }
  .nav-item { white-space: nowrap; }
  .main { padding: 18px 14px 40px; }
}

/* ================= 权威动态 · 入口横幅 ================= */
.star-banner {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; margin-bottom: 18px; border-radius: 18px; overflow: hidden;
  text-decoration: none; color: var(--text); cursor: pointer;
  background: linear-gradient(120deg, rgba(88, 28, 135, .55), rgba(30, 64, 175, .5), rgba(8, 145, 178, .45));
  border: 1px solid rgba(147, 197, 253, .28);
  box-shadow: 0 14px 44px rgba(59, 130, 246, .25);
  transition: .25s;
}
.star-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(147, 197, 253, .38);
  border-color: rgba(147, 197, 253, .5);
}
.star-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .12) 45%, transparent 70%);
  transform: translateX(-100%);
  animation: bannerShine 5.5s ease-in-out infinite;
}
@keyframes bannerShine {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.star-banner-orbs i {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(125, 211, 252, .5), transparent 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.star-banner-orbs i:nth-child(1) { width: 140px; height: 140px; right: 8%; top: -60px; }
.star-banner-orbs i:nth-child(2) { width: 90px; height: 90px; right: 26%; bottom: -46px; animation-delay: -3s; }
.star-banner-orbs i:nth-child(3) { width: 60px; height: 60px; left: 12%; top: -26px; animation-delay: -5s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .55; }
  50% { transform: translate(12px, 16px) scale(1.18); opacity: .95; }
}
.star-banner-icon {
  width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px; color: #fff;
  background: conic-gradient(from 200deg, #22d3ee, #a78bfa, #ffd700, #22d3ee);
  box-shadow: 0 0 30px rgba(34, 211, 238, .55);
  animation: iconTwist 7s linear infinite;
}
@keyframes iconTwist {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}
.star-banner-text h3 { font-size: 19px; letter-spacing: 1px; }
.star-banner-text h3 em {
  font-style: normal;
  background: linear-gradient(92deg, #22d3ee, #a78bfa, #ffd700);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.star-banner-text p { margin-top: 4px; font-size: 12.5px; color: rgba(226, 232, 240, .78); }
.star-banner-stats { display: flex; gap: 10px; margin-left: auto; }
.sb-stat {
  padding: 8px 16px; border-radius: 12px; text-align: center;
  background: rgba(8, 14, 26, .4); border: 1px solid rgba(147, 197, 253, .22);
}
.sb-stat b { display: block; font-size: 19px; color: #7dd3fc; }
.sb-stat span { font-size: 10.5px; color: rgba(226, 232, 240, .65); }
.star-banner-arrow {
  padding: 10px 18px; border-radius: 12px; font-size: 13px; font-weight: 700;
  color: #04121c; background: linear-gradient(135deg, #22d3ee, #7dd3fc);
  box-shadow: 0 8px 24px rgba(34, 211, 238, .4);
  transition: .2s; white-space: nowrap;
}
.star-banner:hover .star-banner-arrow { transform: translateX(4px); filter: brightness(1.12); }

/* ================= 登录验证码 ================= */
.captcha-row { display: flex; gap: 10px; margin-bottom: 14px; }
.captcha-row .input { flex: 1; letter-spacing: 2px; }
.captcha-img {
  width: 132px; height: 46px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border2); background: rgba(8, 14, 26, .8);
  transition: .18s;
}
.captcha-img:hover { transform: scale(1.03); border-color: var(--accent); box-shadow: 0 0 16px rgba(59, 130, 246, .35); }
.captcha-math {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 17px; font-weight: 700; letter-spacing: 1px;
  color: #93c5fd; text-shadow: 0 0 12px rgba(125, 211, 252, .55);
  background:
    radial-gradient(circle at 20% 20%, rgba(125, 211, 252, .16), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(167, 139, 250, .16), transparent 55%),
    rgba(8, 14, 26, .8);
  user-select: none;
}

/* ================= 前端提取页 · 动态 UI ================= */
#bgCanvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
}
.extract-wrap { position: relative; z-index: 1; }
.float-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.float-orbs i {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: radial-gradient(circle at 32% 32%, rgba(125, 211, 252, .32), rgba(59, 130, 246, .1) 55%, transparent 72%);
  animation: orbDrift 16s ease-in-out infinite;
}
.float-orbs i:nth-child(1) { width: 320px; height: 320px; left: -90px; top: 12%; }
.float-orbs i:nth-child(2) { width: 230px; height: 230px; right: -70px; top: 38%; animation-delay: -5s; }
.float-orbs i:nth-child(3) { width: 170px; height: 170px; left: 22%; bottom: -70px; animation-delay: -9s; }
.float-orbs i:nth-child(4) { width: 120px; height: 120px; right: 24%; top: 8%; animation-delay: -12s; }
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .5; }
  50% { transform: translate(26px, -30px) scale(1.15); opacity: .95; }
}

.brand-badge {
  animation: badgeFloat 5s ease-in-out infinite;
  background: conic-gradient(from 210deg, #2563eb, #22d3ee, #a78bfa, #2563eb) !important;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); box-shadow: 0 12px 30px rgba(34, 211, 238, .35); }
  50% { transform: translateY(-7px) rotate(4deg); box-shadow: 0 20px 44px rgba(167, 139, 250, .5); }
}
.extract-card {
  position: relative; overflow: hidden;
  animation: cardEnter .55s cubic-bezier(.2, .8, .2, 1);
}
.extract-card::before {
  content: ''; position: absolute; inset: -2px; border-radius: 14px; padding: 1px;
  background: linear-gradient(120deg, rgba(34, 211, 238, .55), rgba(167, 139, 250, .35), rgba(255, 215, 0, .35), rgba(34, 211, 238, .55));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: borderFlow 8s linear infinite; pointer-events: none;
}
@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.key-row .btn {
  position: relative; overflow: hidden;
}
.key-row .btn::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-22deg); transition: .5s;
}
.key-row .btn:hover::after { left: 130%; }
.key-row .input {
  transition: .25s;
}
.key-row .input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .22), 0 0 26px rgba(34, 211, 238, .3);
  transform: translateY(-1px);
}
.result-banner { animation: bannerPop .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes bannerPop {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.meta-chips .chip { animation: chipRise .45s cubic-bezier(.2, .8, .2, 1) backwards; transition: .18s; }
.meta-chips .chip:hover { transform: translateY(-2px); border-color: var(--accent2); }
.meta-chips .chip:nth-child(1) { animation-delay: .03s; }
.meta-chips .chip:nth-child(2) { animation-delay: .08s; }
.meta-chips .chip:nth-child(3) { animation-delay: .13s; }
.meta-chips .chip:nth-child(4) { animation-delay: .18s; }
.meta-chips .chip:nth-child(5) { animation-delay: .23s; }
.meta-chips .chip:nth-child(6) { animation-delay: .28s; }
.meta-chips .chip:nth-child(7) { animation-delay: .33s; }
@keyframes chipRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.role-panel { animation: panelRise .5s cubic-bezier(.2, .8, .2, 1) backwards; }
.role-panel:nth-child(1) { animation-delay: .12s; }
.role-panel:nth-child(2) { animation-delay: .22s; }
@keyframes panelRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.role-panel .kv { transition: .15s; border-radius: 6px; }
.role-panel .kv:hover { background: rgba(59, 130, 246, .1); padding-left: 6px; padding-right: 6px; }
.token-block { position: relative; overflow: hidden; }
.token-block::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(34, 211, 238, .08) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: tokenSweep 6s linear infinite; pointer-events: none;
}
@keyframes tokenSweep {
  0% { background-position: 150% 0; }
  100% { background-position: -150% 0; }
}


/* UFQ 启动页主视觉 */
.hero-img {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 24px;
  border-radius: 18px;
  border: 1px solid rgba(110, 170, 255, 0.22);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(80, 140, 255, 0.08) inset;
  object-fit: cover;
}
@media (max-width: 640px) {
  .hero-img { max-width: 100%; border-radius: 14px; margin-bottom: 18px; }
}
