:root {
  --bg: #edf4ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f6f9ff;
  --line: #cfe0ff;
  --line-strong: #bed3fb;
  --text: #102145;
  --text-soft: #436396;
  --text-mute: #6e87b1;
  --accent: #0d5bff;
  --accent-2: #4c82ff;
  --accent-soft: rgba(13, 91, 255, 0.1);
  --shadow: 0 20px 60px rgba(13, 91, 255, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 35, 77, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

body[data-theme="midnight"] {
  --bg: #151922;
  --surface: rgba(30, 35, 45, 0.92);
  --surface-strong: #1d2330;
  --surface-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f8fbff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-mute: rgba(255, 255, 255, 0.48);
  --accent: #6fa0ff;
  --accent-2: #8c7dff;
  --accent-soft: rgba(111, 160, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
}

body[data-theme="graphite"] {
  --bg: #f3f5f8;
  --surface: rgba(251, 251, 252, 0.95);
  --surface-strong: #ffffff;
  --surface-soft: #f7f7f8;
  --line: #e4e8ef;
  --line-strong: #d7dde7;
  --text: #171f31;
  --text-soft: #4a556f;
  --text-mute: #7a8498;
  --accent: #2563eb;
  --accent-2: #3b82f6;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(13, 91, 255, 0.12), transparent 24%),
    radial-gradient(circle at 90% 14%, rgba(76, 130, 255, 0.12), transparent 22%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.rj-shell {
  min-height: 100vh;
}

.rj-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(18px);
  background: rgba(237, 244, 255, 0.72);
  border-bottom: 1px solid rgba(207, 224, 255, 0.7);
}

body[data-theme="midnight"] .rj-topbar {
  background: rgba(20, 24, 33, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="graphite"] .rj-topbar {
  background: rgba(243, 245, 248, 0.72);
  border-bottom-color: rgba(215, 221, 231, 0.85);
}

.rj-topbar-inner,
.rj-page {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
}

.rj-topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
}

.rj-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rj-brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.rj-brand-mark img {
  width: 26px;
  height: 26px;
}

.rj-brand-copy strong {
  display: block;
  font-size: 31px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.rj-brand-copy span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-mute);
}

.rj-mainnav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rj-mainnav a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 15px;
  transition: 0.2s ease;
}

.rj-mainnav a:hover,
.rj-mainnav a.is-active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.rj-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rj-theme-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.rj-theme-switch button,
.rj-auth-btn,
.rj-solid-btn,
.rj-ghost-btn,
.rj-chip {
  border: none;
  cursor: pointer;
  font: inherit;
}

.rj-theme-switch button {
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  transition: 0.2s ease;
}

.rj-theme-switch button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.rj-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rj-auth-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.rj-auth-btn:hover {
  transform: translateY(-1px);
}

.rj-auth-btn.is-primary,
.rj-solid-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(13, 91, 255, 0.22);
}

.rj-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 28px 0 42px;
}

.rj-sidebar,
.rj-main,
.rj-rightrail {
  min-width: 0;
}

.rj-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.rj-sidebar-wrap {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rj-sidebar-head,
.rj-rightrail-head,
.rj-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rj-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--accent-soft);
  color: var(--accent);
}

.rj-sidebar-card {
  padding: 20px;
}

.rj-sidebar-card h3,
.rj-rightrail-card h3,
.rj-section-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.rj-sidebar-card p,
.rj-rightrail-card p,
.rj-section-head p,
.rj-hero-copy p,
.rj-copy {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.rj-sidebar-group {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.rj-sidebar-group-title {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.rj-sidebar-list {
  display: grid;
  gap: 8px;
}

.rj-sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  transition: 0.2s ease;
}

.rj-sidebar-list a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}

.rj-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rj-hero {
  padding: 26px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.rj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(13, 91, 255, 0.16), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(76, 130, 255, 0.14), transparent 22%);
  pointer-events: none;
}

.rj-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.rj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-theme="midnight"] .rj-kicker {
  background: rgba(255, 255, 255, 0.04);
}

.rj-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.rj-hero-copy h1 {
  margin: 22px 0 0;
  max-width: 10ch;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.rj-hero-copy h1 span {
  display: block;
}

.rj-hero-copy .accent {
  color: var(--accent);
}

.rj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rj-solid-btn,
.rj-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 15px;
}

.rj-ghost-btn {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.rj-hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rj-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rj-channel {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.rj-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rj-quick-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.rj-quick-card strong {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.rj-quick-card span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

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

.rj-search-box {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.rj-search-panel {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.rj-search-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.rj-search-head {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.rj-search-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
}

.rj-search-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.rj-search-head button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.rj-search-head button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.rj-search-form {
  display: flex;
  gap: 10px;
}

.rj-search-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  padding: 0 16px;
  outline: none;
}

.rj-search-form button {
  height: 48px;
  padding: 0 18px;
}

.rj-search-note {
  margin-top: 12px;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.7;
}

.rj-notice-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 22px 24px;
}

.rj-notice-main strong {
  display: block;
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.rj-notice-side {
  display: grid;
  gap: 12px;
  align-content: center;
}

.rj-notice-side a {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--text-soft);
}

.rj-hero-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
  align-items: stretch;
}

.rj-banner-carousel {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #10151f, #16253b);
  box-shadow: var(--shadow);
}

.rj-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.rj-banner-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.rj-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(135deg, #10151f, #16253b);
}

.rj-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.rj-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.rj-carousel-dots button.is-active {
  width: 28px;
  background: #ffffff;
}

.rj-live-card {
  padding: 22px;
}

.rj-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.rj-live-head strong {
  font-size: 20px;
}

.rj-live-head span {
  color: var(--text-mute);
  font-size: 13px;
}

.rj-news-list {
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.rj-news-list a {
  color: var(--text-soft);
  line-height: 1.8;
}

.rj-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rj-live-link {
  min-height: 156px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rj-live-kicker {
  color: #ff4d4d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.rj-live-link strong {
  font-size: 18px;
  line-height: 1.3;
}

.rj-live-link small {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.rj-command-strip {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  padding: 24px;
}

.rj-command-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.rj-command-strip .rj-search-panel {
  grid-column: 1 / -1;
  margin-top: 0;
}

.rj-row {
  display: grid;
  gap: 24px;
}

.rj-section {
  padding: 22px;
}

.rj-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.rj-more {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--text-soft);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
}

.rj-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rj-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.rj-link-card strong {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.rj-link-card span {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 14px;
}

.rj-link-card em {
  margin-top: auto;
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: #dfeaff;
  color: #46638f;
  font-style: normal;
  font-size: 12px;
}

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

.rj-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.rj-card:hover {
  transform: translateY(-2px);
}

.rj-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.rj-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.rj-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 14px;
}

.rj-card-go {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: 0 0 auto;
}

.rj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.rj-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: #dfeaff;
  color: #46638f;
  font-size: 12px;
}

body[data-theme="midnight"] .rj-chip {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

body[data-theme="midnight"] .rj-link-card em {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

body[data-theme="graphite"] .rj-chip {
  background: #edf2ff;
  color: #55637f;
}

body[data-theme="graphite"] .rj-link-card em {
  background: #edf2ff;
  color: #55637f;
}

.rj-rightrail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rj-rightrail-wrap {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rj-rightrail-card {
  padding: 20px;
}

.rj-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.rj-list-item,
.rj-update-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.rj-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rj-list-item strong,
.rj-update-item strong {
  font-size: 15px;
}

.rj-list-item span,
.rj-update-item span {
  color: var(--text-soft);
  font-size: 14px;
}

.rj-progress {
  margin-top: 10px;
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.rj-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.rj-update-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rj-update-index {
  width: 20px;
  color: var(--accent);
  font-weight: 700;
  flex: 0 0 auto;
}

.rj-contact-box {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px dashed var(--line-strong);
}

.rj-contact-box img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 14px;
}

.rj-content-shell {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 44px 0 68px;
}

.rj-article-hero {
  padding: 26px;
  margin-bottom: 24px;
}

.rj-article-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.rj-article-hero p {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.8;
  max-width: 760px;
}

.rj-article-grid {
  display: grid;
  gap: 20px;
}

.rj-article-block {
  padding: 24px;
}

.rj-article-block h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.rj-article-block p,
.rj-article-block li {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 15px;
}

.rj-article-block ul,
.rj-article-block ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

.rj-article-block li + li {
  margin-top: 10px;
}

.rj-live-doc-card {
  position: relative;
  overflow: hidden;
}

.rj-live-doc-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  pointer-events: none;
}

.rj-doc-feed {
  position: relative;
  z-index: 1;
  list-style: none;
  padding-left: 0 !important;
  display: grid;
  gap: 10px;
}

.rj-doc-feed li {
  margin-top: 0 !important;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.rj-doc-feed a {
  display: block;
  color: var(--text);
  font-weight: 700;
  line-height: 1.65;
}

.rj-doc-feed-meta {
  display: block;
  margin-top: 6px;
  color: var(--text-mute);
  font-size: 12px;
}

.rj-doc-feed-summary {
  margin: 6px 0 0 !important;
  color: var(--text-soft) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.rj-footer {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.rj-footer-inner {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-mute);
  font-size: 13px;
}

.rj-mobile-toggle {
  display: none;
}

.rj-mobile-sheet {
  display: none;
}

#user-profile-nav {
  min-height: 42px;
}

@media (max-width: 1260px) {
  .rj-page {
    grid-template-columns: 1fr;
  }

  .rj-sidebar-wrap,
  .rj-rightrail-wrap {
    position: static;
  }

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

  .rj-hero {
    grid-template-columns: 1fr;
  }

  .rj-hero-workbench,
  .rj-command-strip,
  .rj-notice-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .rj-topbar-inner {
    grid-template-columns: auto auto;
    gap: 14px;
  }

  .rj-mainnav,
  .rj-toolbar .rj-theme-switch {
    display: none;
  }

  .rj-mobile-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    color: var(--text);
  }

  .rj-mobile-sheet {
    display: none;
    position: fixed;
    inset: 78px 16px auto 16px;
    z-index: 200;
    padding: 18px;
  }

  .rj-mobile-sheet.is-open {
    display: block;
  }

  .rj-mobile-nav {
    display: grid;
    gap: 10px;
  }

  .rj-mobile-nav a,
  .rj-mobile-nav button {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    color: var(--text);
  }

  .rj-hero-grid,
  .rj-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rj-topbar-inner,
  .rj-page,
  .rj-content-shell,
  .rj-footer-inner {
    width: min(100vw - 24px, 100%);
  }

  .rj-brand-copy strong {
    font-size: 24px;
  }

  .rj-auth {
    gap: 8px;
  }

  .rj-auth-btn {
    padding: 10px 14px;
  }

  .rj-card-grid,
  .rj-channel-grid,
  .rj-quick-grid {
    grid-template-columns: 1fr;
  }

  .rj-live-grid {
    grid-template-columns: 1fr;
  }

  .rj-search-form,
  .rj-hero-actions,
  .rj-footer-inner {
    flex-direction: column;
    align-items: stretch;
  }
}
