/* ============================================================
   红蓝电竞 CN · 华体会中心 — 共享样式 /assets/site.css
   深墨黑底 + 红蓝对撞 + 数据荧光
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --rb-ink: #0B0E14;
  --rb-panel: #151A23;
  --rb-stone: #232A36;
  --rb-line: #2B3446;

  --rb-red: #E10600;
  --rb-red-hi: #FF6A5E;
  --rb-red-dim: #7A0300;

  --rb-blue: #0057FF;
  --rb-blue-hi: #5B8CFF;
  --rb-blue-dim: #002B80;

  --rb-cyan: #00E5C7;
  --rb-amber: #FFB300;
  --rb-green: #2FBF71;

  --rb-cream: #F2F5F9;
  --rb-body-text: #CBD3DF;
  --rb-mist: #8A94A6;

  --rb-font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rb-font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --rb-max: 1440px;
  --rb-gap: 24px;
  --rb-shell-pad: 24px;
  --rb-radius: 16px;
  --rb-radius-sm: 10px;

  --rb-glow-red: 0 0 32px -8px rgba(225, 6, 0, .55);
  --rb-glow-blue: 0 0 32px -8px rgba(0, 87, 255, .55);
}

/* ---------- Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--rb-font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--rb-body-text);
  background-color: var(--rb-ink);
  background-image:
    radial-gradient(72% 42% at 10% 0%, rgba(0, 87, 255, .13), transparent 62%),
    radial-gradient(62% 38% at 94% 4%, rgba(225, 6, 0, .11), transparent 62%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--rb-cream);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.02em;
  font-stretch: 96%;
}

h1 { font-size: clamp(30px, 4.6vw, 58px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; }

p { line-height: 1.8; }
strong { color: var(--rb-cream); font-weight: 700; }

::selection { background: rgba(0, 87, 255, .55); color: #fff; }

:focus-visible {
  outline: 2px solid var(--rb-blue-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 工具类 ---------- */
.rb-shell {
  width: 100%;
  max-width: var(--rb-max);
  margin-inline: auto;
  padding-inline: var(--rb-shell-pad);
}

.rb-num {
  font-family: var(--rb-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.rb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--rb-blue-hi);
}

.rb-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rb-red), var(--rb-blue));
}

.rb-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Skip link ---------- */
.rb-skip {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--rb-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: var(--rb-glow-blue);
  transition: top .22s ease;
}

.rb-skip:focus {
  top: 0;
  color: #fff;
}

/* ---------- 按钮 ---------- */
.rb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.rb-btn--primary {
  background: linear-gradient(135deg, var(--rb-red), var(--rb-red-dim));
  color: #fff;
  box-shadow: var(--rb-glow-red);
}

.rb-btn--primary:hover {
  background: linear-gradient(135deg, #FF2A1F, var(--rb-red));
  transform: translateY(-1px);
}

.rb-btn--blue {
  background: linear-gradient(135deg, var(--rb-blue), var(--rb-blue-dim));
  color: #fff;
  box-shadow: var(--rb-glow-blue);
}

.rb-btn--blue:hover {
  background: linear-gradient(135deg, #2E77FF, var(--rb-blue));
  transform: translateY(-1px);
}

.rb-btn--ghost {
  background: rgba(21, 26, 35, .7);
  border-color: var(--rb-stone);
  color: var(--rb-cream);
}

.rb-btn--ghost:hover {
  border-color: var(--rb-blue);
  color: #fff;
}

/* ---------- 卡片 / 面板 / 标签 ---------- */
.rb-panel {
  background: var(--rb-panel);
  border: 1px solid var(--rb-stone);
  border-radius: var(--rb-radius);
  padding: 24px;
}

.rb-card {
  position: relative;
  background: var(--rb-panel);
  border: 1px solid var(--rb-stone);
  border-radius: var(--rb-radius);
  padding: 24px;
  transition: border-color .25s ease, transform .25s ease;
}

.rb-card:hover {
  border-color: var(--rb-line);
  transform: translateY(-2px);
}

.rb-card--red {
  border-color: rgba(225, 6, 0, .34);
  background: linear-gradient(160deg, rgba(122, 3, 0, .34), var(--rb-panel) 66%);
}

.rb-card--blue {
  border-color: rgba(0, 87, 255, .34);
  background: linear-gradient(160deg, rgba(0, 43, 128, .38), var(--rb-panel) 66%);
}

.rb-card--cyan {
  border-color: rgba(0, 229, 199, .28);
  background: linear-gradient(160deg, rgba(0, 229, 199, .10), var(--rb-panel) 66%);
}

.rb-card--amber {
  border-color: rgba(255, 179, 0, .28);
  background: linear-gradient(160deg, rgba(255, 179, 0, .10), var(--rb-panel) 66%);
}

.rb-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--rb-stone);
  color: var(--rb-mist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.6;
}

.rb-label--red {
  background: rgba(225, 6, 0, .16);
  color: var(--rb-red-hi);
  box-shadow: inset 0 0 0 1px rgba(225, 6, 0, .42);
}

.rb-label--blue {
  background: rgba(0, 87, 255, .16);
  color: var(--rb-blue-hi);
  box-shadow: inset 0 0 0 1px rgba(0, 87, 255, .45);
}

.rb-label--cyan {
  background: rgba(0, 229, 199, .13);
  color: var(--rb-cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 199, .38);
}

.rb-label--amber {
  background: rgba(255, 179, 0, .13);
  color: var(--rb-amber);
  box-shadow: inset 0 0 0 1px rgba(255, 179, 0, .38);
}

.rb-label--green {
  background: rgba(47, 191, 113, .14);
  color: #6BE0A3;
  box-shadow: inset 0 0 0 1px rgba(47, 191, 113, .38);
}

/* ---------- 面包屑 ---------- */
.rb-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--rb-mist);
}

.rb-crumbs li {
  display: inline-flex;
  align-items: center;
}

.rb-crumbs li::after {
  content: "/";
  margin-left: 8px;
  color: var(--rb-stone);
}

.rb-crumbs li:last-child::after { content: ""; margin-left: 0; }
.rb-crumbs a:hover { color: var(--rb-cream); }
.rb-crumbs [aria-current="page"] { color: var(--rb-blue-hi); }

/* ---------- 布局原语 ---------- */
.rb-section { padding-block: 96px; }
.rb-section--tight { padding-block: 48px; }

.rb-grid {
  display: grid;
  gap: var(--rb-gap);
}

.rb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.rb-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: start;
}

.rb-split--flip { grid-template-columns: 7fr 5fr; }

/* ---------- 正文容器 ---------- */
.rb-prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--rb-body-text);
}

.rb-prose > * + * { margin-top: 1.2em; }

.rb-prose h2 {
  margin-top: 1.9em;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--rb-cream);
}

.rb-prose h3 {
  margin-top: 1.6em;
  font-size: 19px;
  color: var(--rb-cream);
}

.rb-prose ul { padding-left: 0; }

.rb-prose li {
  position: relative;
  padding-left: 22px;
}

.rb-prose li + li { margin-top: .55em; }

.rb-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--rb-blue);
}

.rb-prose a {
  color: var(--rb-blue-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rb-prose blockquote {
  padding: 16px 20px;
  border-left: 3px solid var(--rb-red);
  border-radius: 0 var(--rb-radius-sm) var(--rb-radius-sm) 0;
  background: rgba(122, 3, 0, .16);
  color: var(--rb-cream);
}

/* ---------- 图片容器（供页面阶段放图 / 放占位） ---------- */
.rb-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rb-stone);
  border-radius: var(--rb-radius);
  background: linear-gradient(150deg, #1A2130, var(--rb-ink) 62%, rgba(0, 43, 128, .45));
  isolation: isolate;
}

.rb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-media--16x9 { aspect-ratio: 16 / 9; }
.rb-media--4x3 { aspect-ratio: 4 / 3; }
.rb-media--1x1 { aspect-ratio: 1 / 1; }
.rb-media--tall { aspect-ratio: 3 / 4; }

.rb-media--grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(242, 245, 249, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 245, 249, .055) 1px, transparent 1px);
  background-size: 48px 48px;
}

.rb-media__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
}

.rb-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 16px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--rb-mist);
  background: linear-gradient(0deg, rgba(11, 14, 20, .94), rgba(11, 14, 20, 0));
}

/* ---------- 表格 ---------- */
.rb-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rb-stone);
  border-radius: var(--rb-radius);
  background: var(--rb-panel);
}

.rb-table {
  width: 100%;
  min-width: 560px;
  font-size: 14px;
}

.rb-table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--rb-mist);
  white-space: nowrap;
  border-bottom: 1px solid var(--rb-stone);
}

.rb-table td {
  padding: 14px 16px;
  color: var(--rb-body-text);
  border-bottom: 1px solid rgba(35, 42, 54, .8);
}

.rb-table tbody tr {
  transition: background-color .2s ease;
}

.rb-table tbody tr:hover {
  background: rgba(0, 87, 255, .08);
}

.rb-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 列表 ---------- */
.rb-list {
  display: grid;
  gap: 10px;
}

.rb-list li {
  position: relative;
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--rb-body-text);
}

.rb-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: .72em;
  border-radius: 2px;
  background: var(--rb-blue);
  transform: rotate(45deg);
}

/* ---------- 显隐动效协议 ---------- */
[data-reveal] { opacity: 1; transform: none; }

html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

html[data-js="on"] [data-reveal].rb-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   头部
   ============================================================ */
.rb-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 14, 20, .9);
  border-bottom: 1px solid var(--rb-stone);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .3s ease, border-color .3s ease;
}

.rb-header[data-scrolled="true"] {
  border-bottom-color: var(--rb-line);
  box-shadow: 0 18px 46px -28px rgba(0, 0, 0, .95);
}

/* --- 比分信息带 --- */
.rb-scorebar {
  background:
    linear-gradient(90deg, rgba(122, 3, 0, .55) 0%, rgba(11, 14, 20, .25) 38%, rgba(0, 43, 128, .55) 100%);
  border-bottom: 1px solid var(--rb-stone);
}

.rb-scorebar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--rb-max);
  margin-inline: auto;
  padding: 8px var(--rb-shell-pad);
}

.rb-scorebar__tag {
  flex: none;
  padding: 4px 11px;
  border: 1px solid rgba(138, 148, 166, .32);
  border-radius: 999px;
  background: rgba(11, 14, 20, .55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--rb-mist);
  white-space: nowrap;
}

.rb-scorebar__tag--blue {
  border-color: rgba(0, 87, 255, .45);
  background: rgba(0, 43, 128, .38);
  color: var(--rb-blue-hi);
}

.rb-scorebar__body {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  max-height: 64px;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
}

.rb-scorebar[data-open="false"] .rb-scorebar__body {
  max-height: 0;
  opacity: 0;
}

.rb-board {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rb-board__team {
  font-size: 14px;
  font-weight: 500;
  color: var(--rb-cream);
  white-space: nowrap;
}

.rb-board__digits {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--rb-font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--rb-cream);
  text-shadow: 0 0 22px rgba(225, 6, 0, .5);
}

.rb-board__digits i {
  font-style: normal;
  font-size: 20px;
  color: var(--rb-mist);
}

.rb-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--rb-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--rb-red-hi);
  white-space: nowrap;
}

.rb-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rb-red);
  animation: rb-pulse 1.9s infinite;
}

@keyframes rb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, .65); }
  70% { box-shadow: 0 0 0 8px rgba(225, 6, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); }
}

.rb-scorebar__sep {
  flex: none;
  width: 1px;
  height: 20px;
  background: var(--rb-stone);
}

.rb-countdown {
  font-family: var(--rb-font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--rb-blue-hi);
  white-space: nowrap;
}

.rb-scorebar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 6px 13px;
  border: 1px solid var(--rb-stone);
  border-radius: 999px;
  background: rgba(21, 26, 35, .75);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--rb-mist);
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.rb-scorebar__toggle::after {
  content: "▾";
  font-size: 10px;
  line-height: 1;
  transition: transform .25s ease;
}

.rb-scorebar[data-open="true"] .rb-scorebar__toggle::after {
  transform: rotate(180deg);
}

.rb-scorebar__toggle:hover {
  color: var(--rb-cream);
  border-color: var(--rb-line);
  background: rgba(35, 42, 54, .85);
}

/* --- 悬浮胶囊导航 --- */
.rb-header__rail {
  width: 100%;
  max-width: var(--rb-max);
  margin-inline: auto;
  padding: 10px var(--rb-shell-pad) 12px;
}

.rb-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--rb-stone);
  border-radius: 999px;
  background: rgba(21, 26, 35, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding .28s ease, background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.rb-header[data-scrolled="true"] .rb-nav {
  padding-top: 5px;
  padding-bottom: 5px;
  background: rgba(21, 26, 35, .96);
  border-color: var(--rb-line);
  box-shadow: 0 16px 40px -30px rgba(0, 87, 255, .9);
}

.rb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding-right: 8px;
}

.rb-brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-family: var(--rb-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, var(--rb-red) 0%, var(--rb-red) 48%, var(--rb-blue) 52%, var(--rb-blue) 100%);
  box-shadow: var(--rb-glow-red);
}

.rb-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.rb-brand__name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--rb-cream);
}

.rb-brand__sub {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--rb-mist);
  white-space: nowrap;
}

.rb-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.rb-nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rb-mist);
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.rb-nav__link:hover {
  color: var(--rb-cream);
  background: rgba(242, 245, 249, .07);
}

.rb-nav__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, var(--rb-blue), var(--rb-blue-dim));
  box-shadow: var(--rb-glow-blue);
}

.rb-nav__cta {
  flex: none;
  padding: 9px 18px;
  font-size: 13px;
}

.rb-nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rb-stone);
  border-radius: 12px;
  background: rgba(11, 14, 20, .6);
  transition: border-color .2s ease, background-color .2s ease;
}

.rb-nav__toggle:hover { border-color: var(--rb-blue); }

.rb-nav__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--rb-cream);
  transition: transform .25s ease, opacity .25s ease;
}

.rb-nav__bar + .rb-nav__bar { margin-top: 4px; }

.rb-nav__toggle[aria-expanded="true"] .rb-nav__bar:nth-of-type(1) {
  transform: translateY(6px) rotate(45deg);
}

.rb-nav__toggle[aria-expanded="true"] .rb-nav__bar:nth-of-type(2) {
  opacity: 0;
}

.rb-nav__toggle[aria-expanded="true"] .rb-nav__bar:nth-of-type(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   页脚
   ============================================================ */
.rb-footer {
  position: relative;
  margin-top: 96px;
  overflow: hidden;
  background: #090C11;
  border-top: 1px solid var(--rb-stone);
}

.rb-footer__glow {
  position: absolute;
  inset: -60% -12% auto -12%;
  height: 380px;
  pointer-events: none;
  background:
    radial-gradient(58% 100% at 18% 0%, rgba(225, 6, 0, .24), transparent 70%),
    radial-gradient(52% 100% at 86% 4%, rgba(0, 87, 255, .26), transparent 70%);
}

.rb-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.rb-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.rb-footer__brandtext {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.rb-footer__brandtext strong {
  font-size: 17px;
  font-weight: 900;
  color: var(--rb-cream);
}

.rb-footer__brandtext span {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--rb-mist);
}

.rb-footer__note {
  max-width: 40ch;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--rb-mist);
}

.rb-footer__contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-size: 13px;
  color: #A9B3C4;
}

.rb-footer__contact li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  word-break: break-all;
}

.rb-footer__key {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--rb-mist);
}

.rb-footer__mail-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: #6F7889;
}

.rb-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.rb-footer__col h3 {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--rb-mist);
}

.rb-footer__col h3::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rb-red), var(--rb-blue));
}

.rb-footer__links {
  display: grid;
  gap: 10px;
}

.rb-footer__links a {
  display: inline-block;
  font-size: 14px;
  color: #B9C2D0;
  transition: color .2s ease, padding-left .2s ease;
}

.rb-footer__links a:hover {
  color: var(--rb-blue-hi);
  padding-left: 4px;
}

.rb-footer__bottom {
  position: relative;
  border-top: 1px solid var(--rb-stone);
  background: rgba(11, 14, 20, .72);
}

.rb-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--rb-mist);
}

.rb-footer__icp {
  font-family: var(--rb-font-mono);
  letter-spacing: .02em;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  .rb-nav__link {
    padding: 8px 10px;
    font-size: 13px;
  }
  .rb-brand__sub { display: none; }
}

@media (max-width: 1024px) {
  .rb-nav__toggle { display: flex; }

  .rb-nav__cta { display: none; }

  .rb-nav__list {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
    padding: 12px;
    border: 1px solid var(--rb-stone);
    border-radius: 18px;
    background: #10151E;
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .rb-nav[data-open="true"] .rb-nav__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .rb-nav__link {
    padding: 12px 14px;
    font-size: 15px;
  }

  .rb-split,
  .rb-split--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .rb-grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .rb-section { padding-block: 64px; }
  .rb-section--tight { padding-block: 36px; }

  .rb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .rb-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .rb-footer { margin-top: 64px; }
}

@media (max-width: 780px) {
  .rb-scorebar__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .rb-scorebar__body {
    order: 3;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 12px;
    max-height: 180px;
  }

  .rb-scorebar[data-open="false"] .rb-scorebar__body { max-height: 0; }

  .rb-scorebar__sep { display: none; }

  .rb-board__digits { font-size: 22px; }
}

@media (max-width: 640px) {
  :root { --rb-shell-pad: 16px; }

  .rb-grid--2,
  .rb-grid--3 { grid-template-columns: minmax(0, 1fr); }

  .rb-grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .rb-prose { font-size: 16px; }

  .rb-panel,
  .rb-card { padding: 20px; }

  .rb-footer__cols { grid-template-columns: minmax(0, 1fr); }

  .rb-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .rb-brand__name { font-size: 14px; }
  .rb-brand__mark { width: 34px; height: 34px; border-radius: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html[data-js="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
