/* 芊域 · 陪玩圈名录 — 设计令牌
   一套深色基底 + 五个类型的专属色；所有颜色、间距、圆角只在这里定义。 */
:root {
  /* 基底 */
  --bg: #0A0B0F;
  --bg-soft: #0E1015;
  --surface: #14161C;
  --surface-2: #1A1D25;
  --surface-3: #222632;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* 文字 */
  --ink: #F4F5F7;
  --ink-2: #A2A8B4;
  --ink-3: #6A707C;

  /* 品牌 */
  --accent: #7C5CFF;
  --accent-soft: rgba(124, 92, 255, 0.14);
  --accent-line: rgba(124, 92, 255, 0.42);
  --ok: #2FD6A5;
  --warn: #E8B34B;
  --danger: #FF6B6B;

  /* 类型色（与后台 entry_type.color 对应，仅作兜底） */
  --t-club: #4D7CFE;
  --t-designer: #A66BFF;
  --t-promo: #FF8A3D;
  --t-auction: #E8B34B;
  --t-team: #2FD6A5;

  /* 间距与圆角 */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-full: 999px;
  --pad: 16px;
  --tab-h: 58px;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --shadow-2: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overscroll-behavior-y: none; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent-line); color: #fff; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
