:root {
  --bg: #070a10;
  --bg-soft: #0a0e16;
  --panel: #0e131c;
  --panel-2: #121a26;
  --line: #1e2836;
  --line-soft: #17202d;
  --text: #e8eef7;
  --muted: #8b9bb4;
  --mint: #54f0c8;
  --pink: #ff5f8f;
  --violet: #9184ff;
  --amber: #ffc46b;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(84, 240, 200, .10), transparent 60%),
    radial-gradient(800px 500px at 92% 0%, rgba(145, 132, 255, .10), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(255, 95, 143, .06), transparent 60%),
    var(--bg);
}
.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 10, 16, .82);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(84,240,200,.18), rgba(145,132,255,.16));
  border: 1px solid rgba(84, 240, 200, .35);
  color: var(--mint);
  font-size: 18px;
  box-shadow: 0 0 24px rgba(84, 240, 200, .18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; letter-spacing: .06em; }
.brand-text small { font-size: 9px; letter-spacing: .34em; color: var(--muted); font-weight: 600; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  transition: .18s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.main-nav a.active { color: var(--mint); background: rgba(84, 240, 200, .10); }
.main-nav a.arena-nav { color: var(--amber); background: rgba(255, 196, 107, .07); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .18s;
}
.search-box:focus-within { border-color: rgba(84, 240, 200, .5); }
.search-box input {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  padding: 8px 10px;
  width: 150px;
  font-size: 13px;
}
.search-box input::placeholder { color: #5d6c83; }
.search-box button {
  background: transparent; border: 0; color: var(--muted);
  padding: 6px 10px; cursor: pointer; font-size: 16px;
}
.search-box button:hover { color: var(--mint); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--mint), #4fd7ff);
  color: #04120e;
  box-shadow: 0 8px 24px rgba(84, 240, 200, .22);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(84, 240, 200, .34); }
.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(84, 240, 200, .4); color: var(--mint); }
.btn-pink {
  background: linear-gradient(135deg, var(--pink), #ff8a5c);
  color: #1a0710;
  box-shadow: 0 8px 24px rgba(255, 95, 143, .2);
}
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- 布局 ---------- */
.app-main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 34px 24px 90px; }
.loading { padding: 90px 0; text-align: center; color: var(--muted); letter-spacing: .12em; }
.section { margin-bottom: 56px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: .02em; }
.section-head h2 span { color: var(--mint); }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.section-head a.more { color: var(--muted); font-size: 13.5px; }
.section-head a.more:hover { color: var(--mint); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 58px 48px;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(145, 132, 255, .16), transparent 70%),
    radial-gradient(500px 280px at 15% 90%, rgba(84, 240, 200, .12), transparent 70%),
    linear-gradient(160deg, #0d131d, #0a0e16);
  overflow: hidden;
  margin-bottom: 40px;
}
.hero::before {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px;
  border: 1px solid rgba(84, 240, 200, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(84, 240, 200, .03), 0 0 0 120px rgba(145, 132, 255, .03);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--mint);
  background: rgba(84, 240, 200, .08);
  border: 1px solid rgba(84, 240, 200, .25);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.14;
  letter-spacing: .01em;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero p.lead { color: var(--muted); max-width: 620px; margin: 0 0 28px; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; margin-top: 40px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  max-width: 720px;
}
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 700; color: var(--text); }
.hero-stats .stat span { font-size: 12.5px; color: var(--muted); letter-spacing: .05em; }

/* ---------- 对战平台宣传 ---------- */
.arena-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 40px;
  align-items: center;
  margin: 0 0 56px;
  padding: 42px;
  border: 1px solid rgba(255, 196, 107, .28);
  border-radius: 22px;
  background: linear-gradient(125deg, rgba(255, 196, 107, .08), transparent 45%), #0c1119;
  overflow: hidden;
}
.eyebrow { color: var(--mint); font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.arena-promo h2 { margin: 12px 0 16px; font-size: clamp(27px, 3.5vw, 42px); line-height: 1.18; }
.arena-promo h2 span { color: var(--amber); }
.arena-promo-copy > p { max-width: 650px; color: var(--muted); margin: 0 0 18px; }
.arena-platforms { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.arena-platforms span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: #b8c5d7; font-size: 11.5px; }
.arena-match-card { padding: 22px; background: #090d14; border: 1px solid var(--line); border-radius: 16px; transform: rotate(1.5deg); }
.arena-match-card > small { display: block; color: var(--amber); letter-spacing: .16em; margin-bottom: 12px; }
.arena-match-card > div { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.arena-match-card b { color: #59687d; font-size: 12px; }
.arena-match-card span { flex: 1; font-weight: 650; }
.arena-match-card em { display: block; color: var(--muted); font-size: 9px; letter-spacing: .1em; font-style: normal; font-weight: 500; }
.arena-match-card i { color: var(--amber); border: 1px solid rgba(255,196,107,.3); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-style: normal; }
.arena-match-card p { color: var(--muted); font-size: 10.5px; margin: 10px 0 0; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(84, 240, 200, .35); box-shadow: var(--shadow); }
.cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c1, #14343a), var(--c2, #1a1636));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-glyph {
  font-size: 46px; font-weight: 800; color: rgba(255, 255, 255, .82);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
  letter-spacing: .08em;
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 10, 16, .75));
}
.cover-badge {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  font-size: 11px; letter-spacing: .08em;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(7, 10, 16, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--mint); backdrop-filter: blur(6px);
}
.cover-price {
  position: absolute; z-index: 2; top: 10px; right: 10px;
  font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(84, 240, 200, .14);
  border: 1px solid rgba(84, 240, 200, .4);
  color: var(--mint);
}
.cover-price.free { background: rgba(145, 132, 255, .14); border-color: rgba(145, 132, 255, .4); color: #c3bcff; }
.card-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.card-title:hover { color: var(--mint); }
.card-summary {
  color: var(--muted); font-size: 13px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 40px;
}
.card-meta {
  margin-top: auto; padding-top: 10px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #67788f; gap: 8px;
}
.card-meta .author { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px; color: #9fb0c8;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  padding: 1px 8px; border-radius: 999px;
}

/* ---------- 筛选条 ---------- */
.filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line); color: var(--muted);
  background: rgba(255, 255, 255, .02); cursor: pointer;
  transition: .18s;
}
.chip:hover { color: var(--text); border-color: #2b3a4e; }
.chip.active { color: #04120e; background: var(--mint); border-color: var(--mint); font-weight: 700; }
.result-count { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---------- 页面标题 ---------- */
.page-head { margin-bottom: 26px; }
.page-head .eyebrow { color: var(--mint); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.page-head h1 { margin: 6px 0 8px; font-size: 30px; }
.page-head p { margin: 0; color: var(--muted); max-width: 680px; }

/* ---------- 作品详情 ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.detail-cover {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 8; position: relative;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid; place-items: center;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover .cover-glyph { font-size: 72px; }
.detail-title { font-size: 30px; margin: 18px 0 8px; line-height: 1.25; }
.detail-sub { color: var(--muted); margin: 0 0 16px; }
.detail-desc {
  margin-top: 22px; padding: 22px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  white-space: pre-wrap; color: #c9d5e5; font-size: 14.5px; line-height: 1.85;
}
.side-panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  position: sticky; top: 88px;
}
.price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.price-line b { font-size: 30px; color: var(--mint); }
.price-line span { color: var(--muted); font-size: 13px; }
.meta-list { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.meta-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.meta-row b { color: #c9d5e5; font-weight: 500; text-align: right; word-break: break-all; }
.side-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.disclaimer {
  margin-top: 14px; font-size: 11.5px; color: #6f8099; line-height: 1.6;
  border-top: 1px dashed var(--line); padding-top: 12px;
}
.uploader {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--line-soft); margin-top: 16px; padding-top: 16px;
}
.avatar {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(84, 240, 200, .25), rgba(145, 132, 255, .25));
  border: 1px solid rgba(84, 240, 200, .25);
  display: grid; place-items: center; color: var(--mint); font-weight: 700;
}
.uploader small { display: block; color: var(--muted); font-size: 11.5px; }

/* ---------- 评论 / 帖子 ---------- */
.comment-form { display: flex; gap: 10px; margin: 18px 0 24px; }
.comment-form input {
  flex: 1; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 14px; color: var(--text); outline: 0; font-size: 14px;
}
.comment-form input:focus { border-color: rgba(84, 240, 200, .45); }
.comment { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.comment:last-child { border-bottom: 0; }
.comment-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.comment-head b { color: #c9d5e5; font-weight: 600; }
.comment p { margin: 0; color: #c2cfdf; font-size: 14px; }

.post-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; transition: .18s; display: block;
}
.post-card:hover { border-color: rgba(84, 240, 200, .35); transform: translateY(-2px); }
.post-card h3 { margin: 0 0 6px; font-size: 16px; }
.post-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.post-meta { display: flex; gap: 12px; margin-top: 10px; font-size: 12px; color: #67788f; flex-wrap: wrap; }
.post-meta .live-dot { color: var(--pink); }
.kind {
  display: inline-block; font-size: 11px; padding: 1px 9px; border-radius: 999px;
  border: 1px solid rgba(145, 132, 255, .35); color: #b9b1ff; background: rgba(145, 132, 255, .1);
  margin-right: 8px; vertical-align: 2px;
}
.kind.news { border-color: rgba(255, 196, 107, .35); color: var(--amber); background: rgba(255, 196, 107, .09); }
.kind.live { border-color: rgba(255, 95, 143, .38); color: var(--pink); background: rgba(255, 95, 143, .09); }
.kind.chat { border-color: rgba(84, 240, 200, .35); color: var(--mint); background: rgba(84, 240, 200, .08); }

/* ---------- 表单 ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: #a9b8cc; }
.field label i { color: var(--pink); font-style: normal; }
.field input, .field select, .field textarea {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; color: var(--text); font-size: 14px; outline: 0; width: 100%;
  font-family: inherit;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(84, 240, 200, .5); }
.field small { color: #67788f; font-size: 11.5px; }
.drop-zone {
  border: 1.5px dashed #2a3748; border-radius: 14px; padding: 26px;
  text-align: center; color: var(--muted); cursor: pointer; transition: .18s;
  background: rgba(255, 255, 255, .015);
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--mint); color: var(--mint); background: rgba(84, 240, 200, .05); }
.drop-zone strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 14.5px; }
.file-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 10px 13px; border-radius: 10px;
  background: rgba(84, 240, 200, .07); border: 1px solid rgba(84, 240, 200, .22);
  font-size: 13px;
}
.progress { height: 8px; border-radius: 999px; background: #16202c; overflow: hidden; margin-top: 12px; display: none; }
.progress.on { display: block; }
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), #4fd7ff); transition: width .2s; }
.type-toggle { display: flex; gap: 10px; }
.type-toggle label {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  cursor: pointer; transition: .18s; font-size: 14px; color: var(--muted);
}
.type-toggle input { display: none; }
.type-toggle label b { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 2px; }
.type-toggle label.on { border-color: rgba(84, 240, 200, .55); background: rgba(84, 240, 200, .07); color: var(--mint); }

/* ---------- 弹窗 / 提示 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 5, 9, .72); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
  animation: fade .18s ease;
}
.modal {
  width: min(420px, 100%);
  background: linear-gradient(180deg, #121a26, #0d131c);
  border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  box-shadow: var(--shadow);
  animation: pop .2s ease;
}
.modal h3 { margin: 0 0 4px; font-size: 20px; }
.modal p.hint { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.modal .field { margin-bottom: 13px; }
.modal-close {
  position: absolute; top: 16px; right: 18px; background: transparent; border: 0;
  color: var(--muted); font-size: 20px; cursor: pointer;
}
.modal-foot { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.modal-foot button.link { background: 0; border: 0; color: var(--mint); cursor: pointer; font-size: 12.5px; padding: 0; }
.auth-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.auth-tabs button {
  background: 0; border: 0; padding: 0 0 9px; color: var(--muted); font-size: 15px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.auth-tabs button.on { color: var(--text); border-color: var(--mint); font-weight: 700; }

.toast-root { position: fixed; right: 22px; bottom: 26px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #121a26; border: 1px solid var(--line); border-left: 3px solid var(--mint);
  padding: 11px 16px; border-radius: 10px; font-size: 13.5px; box-shadow: var(--shadow);
  animation: slide .22s ease; max-width: 330px;
}
.toast.err { border-left-color: var(--pink); }

/* ---------- 我的 ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.tabs button {
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 7px 16px; cursor: pointer; font-size: 13px;
}
.tabs button.on { background: rgba(84, 240, 200, .12); border-color: rgba(84, 240, 200, .45); color: var(--mint); }
.order-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.order-card .oc-main { flex: 1; min-width: 220px; }
.order-card .oc-main b { font-size: 14.5px; }
.order-card .oc-main small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.status { font-size: 11.5px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status.pending { color: var(--amber); border-color: rgba(255, 196, 107, .4); background: rgba(255, 196, 107, .08); }
.status.contacted { color: #7cc4ff; border-color: rgba(124, 196, 255, .4); background: rgba(124, 196, 255, .08); }
.status.completed { color: var(--mint); border-color: rgba(84, 240, 200, .4); background: rgba(84, 240, 200, .08); }
.status.cancelled { color: #7c8ba1; }

.empty {
  text-align: center; color: var(--muted); padding: 60px 20px;
  border: 1px dashed var(--line); border-radius: 16px; font-size: 14px;
}
.notice {
  border: 1px solid rgba(255, 196, 107, .28); background: rgba(255, 196, 107, .06);
  color: #e8c98f; padding: 13px 16px; border-radius: 12px; font-size: 13px; margin-bottom: 20px;
}
.notice b { color: var(--amber); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 10, 16, .75);
}
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 34px 24px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.footer-links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--mint); }
.footer-copy { width: 100%; margin: 0; padding-top: 18px; border-top: 1px solid var(--line-soft); color: #5d6c83; font-size: 12px; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes slide { from { opacity: 0; transform: translateX(16px); } }

/* ---------- 响应式 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 900px) {
  .arena-promo { grid-template-columns: 1fr; gap: 24px; }
  .arena-match-card { transform: none; }
}
@media (max-width: 1020px) {
  .detail-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-nav { order: 3; flex: 1 0 100%; width: 100%; min-width: 0; overflow-x: auto; padding-bottom: 2px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .app-main { padding: 22px 16px 70px; }
  .hero { padding: 34px 22px; border-radius: 18px; }
  .arena-promo { padding: 28px 20px; border-radius: 18px; }
  .arena-promo .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-stats .stat b { font-size: 22px; }
  .search-box { display: none; }
  .btn-upload { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; }
  .section { margin-bottom: 42px; }
  .grid.cards { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
  .card-body { padding: 12px 13px 14px; }
  .card-title { font-size: 14.5px; }
  .card-summary { font-size: 12px; min-height: 36px; }
  .cover-glyph { font-size: 32px; }
  .detail-title { font-size: 24px; }
  .toast-root { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}
