/* 小七AI · 售卡商城 & 后台 · 黑客 HUD 主题 */
:root {
  --font: "Cascadia Mono", "JetBrains Mono", "Consolas", "Sarasa Mono SC", "Microsoft YaHei UI", monospace;
  --bg: #030608;
  --panel: rgba(6, 20, 20, 0.78);
  --line: rgba(34, 211, 238, 0.18);
  --line2: rgba(34, 211, 238, 0.45);
  --text: #d6fff4;
  --muted: #5e8b83;
  --cyan: #22d3ee;
  --green: #00ff9d;
  --warn: #ffd166;
  --danger: #ff3d6e;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100%; color: var(--text);
  font: 13px/1.6 var(--font);
  background:
    radial-gradient(900px 600px at 84% -10%, rgba(34,211,238,.10), transparent 62%),
    radial-gradient(820px 560px at -10% 112%, rgba(0,255,157,.08), transparent 62%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-shadow: 0 0 12px rgba(34,211,238,.6); }
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(to right, rgba(34,211,238,.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(34,211,238,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 85%);
}
.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 18px 60px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0 10px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line2); box-shadow: 0 0 16px rgba(34,211,238,.3); }
.brand b { font-size: 15px; letter-spacing: .04em; color: #eafff9; text-shadow: 0 0 16px rgba(34,211,238,.35); }
.brand span { display: block; font-size: 8.5px; letter-spacing: .18em; color: var(--muted); }
.qq { font-size: 10.5px; letter-spacing: .1em; color: var(--green); border: 1px solid rgba(0,255,157,.3); padding: 6px 10px; border-radius: 2px; background: rgba(0,255,157,.05); }
.hero { padding: 26px 0 16px; }
.hero h1 { margin: 0; font-size: 26px; letter-spacing: .02em; color: #eafff9; text-shadow: 0 0 22px rgba(34,211,238,.35); }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p { margin: 8px 0 0; color: var(--muted); font-size: 11.5px; letter-spacing: .04em; }
.notice { margin-top: 14px; padding: 10px 12px; border: 1px dashed rgba(255,209,102,.4); background: rgba(255,209,102,.06); color: var(--warn); font-size: 11px; border-radius: 2px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 18px 0 26px; }
.plan { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.plan:hover { transform: translateY(-2px); border-color: var(--line2); box-shadow: 0 0 20px rgba(34,211,238,.15); }
.plan.on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 24px rgba(0,255,157,.2); }
.plan .hot { position: absolute; top: -1px; right: -1px; font-size: 8.5px; letter-spacing: .12em; padding: 2px 7px; color: #02120c; background: var(--green); border-radius: 0 2px 0 6px; }
.plan h3 { margin: 0; font-size: 13px; color: #eafff9; }
.plan .price { margin: 8px 0 2px; font-size: 22px; font-weight: 700; color: var(--green); text-shadow: 0 0 16px rgba(0,255,157,.35); }
.plan .price small { font-size: 11px; color: var(--muted); margin-left: 3px; font-weight: 400; }
.plan .dur { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.panel { position: relative; border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(180deg, rgba(6,22,22,.82), rgba(4,13,14,.82)); padding: 18px; margin-bottom: 16px; }
.panel::before, .panel::after { content: ""; position: absolute; width: 11px; height: 11px; border: 2px solid var(--cyan); opacity: .85; }
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.panel h2 { margin: 0 0 12px; font-size: 14px; letter-spacing: .05em; color: #eafff9; }
.panel h2 em { font-style: normal; font-size: 9px; letter-spacing: .2em; color: var(--muted); margin-left: 8px; }
.label { display: block; margin: 14px 0 6px; font-size: 9.5px; letter-spacing: .14em; color: var(--muted); }
.label::before { content: "// "; color: var(--cyan); opacity: .8; }
input, textarea, select {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 3px;
  background: rgba(0,0,0,.45); color: var(--text); font: 12px/1.6 var(--font); outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 14px rgba(34,211,238,.3); }
::placeholder { color: var(--muted); opacity: .75; }
textarea { min-height: 72px; resize: vertical; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line2); background: rgba(34,211,238,.06); color: var(--text);
  border-radius: 3px; padding: 10px 16px; font: 12px/1.2 var(--font); letter-spacing: .08em; cursor: pointer;
  transition: background .14s, box-shadow .14s, border-color .14s;
}
.btn:hover { background: rgba(34,211,238,.16); box-shadow: 0 0 16px rgba(34,211,238,.25); }
.btn:disabled { opacity: .4; box-shadow: none; cursor: not-allowed; }
.btn.primary { border-color: rgba(0,255,157,.55); background: linear-gradient(180deg, rgba(0,255,157,.22), rgba(0,255,157,.06)); color: #e9fff7; text-shadow: 0 0 12px rgba(0,255,157,.6); }
.btn.primary:hover { box-shadow: 0 0 24px rgba(0,255,157,.35); }
.btn.tiny { padding: 5px 10px; font-size: 10px; border-radius: 2px; white-space: nowrap; }
.btn.danger { border-color: rgba(255,61,110,.5); color: #ff9db3; }
.btn.big { width: 100%; padding: 13px; font-size: 13.5px; letter-spacing: .12em; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.muted { color: var(--muted); font-size: 10.5px; }
.hint { margin: 8px 0 0; font-size: 10.5px; color: var(--muted); line-height: 1.7; }
.hint code { background: rgba(34,211,238,.1); padding: 1px 4px; border-radius: 2px; }
.err { min-height: 18px; margin: 8px 0 0; color: var(--danger); font-size: 11px; }
.ok { color: var(--green); }
.card-box { margin-top: 14px; padding: 12px; border: 1px dashed rgba(0,255,157,.45); background: rgba(0,255,157,.05); border-radius: 2px; }
.card-box code { display: block; word-break: break-all; color: var(--green); font-size: 12px; letter-spacing: .04em; user-select: all; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 2px; font-size: 9.5px; letter-spacing: .1em; }
.badge.pending { color: var(--warn); border: 1px solid rgba(255,209,102,.45); background: rgba(255,209,102,.08); }
.badge.paid { color: var(--green); border: 1px solid rgba(0,255,157,.45); background: rgba(0,255,157,.08); }
.badge.cancelled, .badge.refunded { color: var(--danger); border: 1px solid rgba(255,61,110,.4); background: rgba(255,61,110,.07); }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th, td { padding: 8px 9px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 400; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
tr:hover td { background: rgba(34,211,238,.04); }
.tabs { display: flex; gap: 6px; margin: 18px 0 14px; flex-wrap: wrap; }
.tab { padding: 7px 13px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); cursor: pointer; font-size: 11px; letter-spacing: .08em; }
.tab.on { color: var(--cyan); border-color: var(--line2); background: rgba(34,211,238,.1); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tile { border: 1px solid var(--line); border-radius: 3px; padding: 12px; background: rgba(0,0,0,.25); }
.tile span { font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.tile b { display: block; margin-top: 6px; font-size: 18px; color: #eafff9; }
.tile b.g { color: var(--green); }
.login { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(2,6,8,.9); backdrop-filter: blur(6px); }
.login form { width: min(380px, 92vw); padding: 22px; border: 1px solid rgba(0,255,157,.3); border-radius: 3px; background: rgba(4,14,14,.96); box-shadow: 0 0 60px rgba(0,255,157,.12); }
.hidden { display: none !important; }
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 40; padding: 10px 14px; border: 1px solid rgba(0,255,157,.4); border-radius: 3px; background: rgba(3,16,14,.96); color: #d6fff4; font-size: 11.5px; opacity: 0; transform: translateY(8px); transition: .16s; pointer-events: none; box-shadow: 0 0 24px rgba(0,255,157,.2); }
.toast.show { opacity: 1; transform: none; }
.toast.bad { border-color: rgba(255,61,110,.5); box-shadow: 0 0 24px rgba(255,61,110,.25); }
.foot { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); letter-spacing: .06em; flex-wrap: wrap; }
.foot b { color: var(--green); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(34,211,238,.25); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
/* 使用教程 */
.tut-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.tut {
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: rgba(0,0,0,.28); transition: border-color .15s, box-shadow .15s;
}
.tut:hover { border-color: var(--line2); box-shadow: 0 0 22px rgba(34,211,238,.14); }
.tut-head {
  display: flex; align-items: baseline; gap: 10px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(0,255,157,.08), transparent);
}
.tut-head b { font-size: 12.5px; color: #eafff9; }
.tut-head span { font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.tut-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
/* 演示视频 */
.video-wrap {
  position: relative; max-width: 840px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: #000; box-shadow: 0 0 34px rgba(34,211,238,.14), inset 0 0 40px rgba(0,0,0,.6);
}
.video-wrap::before, .video-wrap::after {
  content: ""; position: absolute; width: 13px; height: 13px; border: 2px solid var(--green); opacity: .9; z-index: 2; pointer-events: none;
}
.video-wrap::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.video-wrap::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.video-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
/* 下载区 */
.dl-list { display: flex; flex-direction: column; gap: 8px; }
.dl {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px; border: 1px solid var(--line); border-left: 2px solid rgba(0,255,157,.45);
  border-radius: 2px; background: rgba(0,0,0,.22); flex-wrap: wrap;
}
.dl:hover { border-color: var(--line2); border-left-color: var(--green); }
.dl-main { display: flex; flex-direction: column; gap: 2px; min-width: 190px; }
.dl-main b { font-size: 12.5px; color: #eafff9; font-weight: 600; }
.dl-main .muted { font-size: 10px; }
.dl-side { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.dl-side .pwd {
  font-size: 10px; letter-spacing: .08em; color: var(--warn);
  border: 1px dashed rgba(255,209,102,.45); background: rgba(255,209,102,.07);
  padding: 3px 8px; border-radius: 2px; user-select: all;
}
@media (max-width: 640px) {
  .dl { align-items: flex-start; }
  .dl-side { width: 100%; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 20px; }
  .panel { padding: 14px; }
  table { font-size: 10px; }
  th:nth-child(4), td:nth-child(4) { display: none; }
}
