:root {
  --bg: #08111f;
  --bg-soft: #101f33;
  --panel: rgba(10, 24, 43, 0.76);
  --panel-strong: #0d1a2d;
  --line: rgba(169, 193, 222, 0.15);
  --text: #f2f7ff;
  --muted: #aabbd3;
  --accent: #44d0ff;
  --accent-strong: #0ea5c6;
  --accent-warm: #ffb15a;
  --surface: #f3f7fb;
  --surface-text: #122136;
  --success: #18b57e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Noto Sans SC', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

.site-body {
  background:
    radial-gradient(circle at top left, rgba(68, 208, 255, 0.24), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 177, 90, 0.16), transparent 24%),
    linear-gradient(140deg, #07101d 0%, #0d182a 45%, #13253a 100%);
  position: relative;
}

.ambient-layer,
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-layer {
  filter: blur(40px);
  opacity: 0.65;
  z-index: 0;
}

.ambient-one {
  background:
    radial-gradient(circle at 18% 16%, rgba(68, 208, 255, 0.22), transparent 22%),
    radial-gradient(circle at 74% 28%, rgba(40, 111, 255, 0.16), transparent 26%);
  animation: floatGlow 14s ease-in-out infinite alternate;
}

.ambient-two {
  background:
    radial-gradient(circle at 82% 78%, rgba(255, 177, 90, 0.14), transparent 24%),
    radial-gradient(circle at 34% 68%, rgba(68, 208, 255, 0.12), transparent 22%);
  animation: floatGlowReverse 18s ease-in-out infinite alternate;
}

.grid-overlay {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 85%);
}

.site-shell,
.dashboard-shell,
.auth-layout {
  min-height: 100vh;
}

.site-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.topbar,
.footer,
.dashboard-aside,
.admin-section,
.auth-panel,
.auth-card,
.glass-card,
.signal-grid article,
.card-grid article,
.product-item,
.list-card,
.about-card,
.contact-card {
  backdrop-filter: blur(14px);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  margin-bottom: 26px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 17, 31, 0.66);
  box-shadow: 0 10px 40px rgba(4, 10, 20, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand-text {
  min-width: 0;
}

.brand strong,
.footer strong {
  display: block;
  font-size: 15px;
}

.brand strong {
  white-space: nowrap;
}

.brand small,
.footer p,
.nav-link,
.nav a {
  color: var(--muted);
}

.brand small {
  display: block;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(7, 16, 29, 0.28);
}

.nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.nav > a:not(.nav-promo-link) {
  padding: 0 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(169, 193, 222, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #dff6ff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav a,
.nav-link,
.text-link {
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 177, 90, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 177, 90, 0.12), rgba(68, 208, 255, 0.08));
  color: #f3fbff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(7, 16, 29, 0.16);
  animation: navPromoPulse 2.6s ease-in-out infinite;
}

.nav-promo-link:hover {
  color: #ffffff;
  border-color: rgba(255, 177, 90, 0.34);
  background: linear-gradient(180deg, rgba(255, 177, 90, 0.18), rgba(68, 208, 255, 0.12));
  box-shadow: 0 14px 30px rgba(7, 16, 29, 0.22);
}

.nav-promo-link span {
  white-space: nowrap;
}

.nav-promo-link em {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7b38 0%, #ffb15a 100%);
  color: #fffdf9;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 0 0 rgba(255, 123, 56, 0.28);
  animation: navHotBlink 1.6s ease-in-out infinite;
}

.nav a:hover,
.nav-link:hover,
.text-link:hover {
  color: var(--text);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-effects .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-effects .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  padding: 44px 0 36px;
  min-height: calc(100vh - 140px);
}

.hero-copy,
.hero-panel,
.dashboard-main,
.dashboard-form,
.contact-items,
.auth-card form,
.auth-layout,
.signal-grid,
.card-grid,
.product-list,
.dual-grid,
.form-grid {
  display: grid;
}

.hero-copy {
  align-content: center;
}

.eyebrow,
.section-kicker,
.panel-tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(68, 208, 255, 0.25);
  background: rgba(68, 208, 255, 0.08);
  color: #bfefff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.auth-panel h1,
.dashboard-aside h1 {
  margin: 14px 0;
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 74px);
  max-width: 11ch;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* 渐变标题：关键文字使用品牌色渐变，增强视觉焦点和层次感 */
.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #44d0ff 55%, #ffb15a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 52ch;
  font-size: clamp(15px, 1.6vw, 18px);
}

/* Hero 区域设置相对定位，用于滚动指示器的绝对定位参照 */
.hero {
  position: relative;
}

.hero h1,
.section h2 {
  text-shadow: 0 10px 50px rgba(68, 208, 255, 0.08);
}

.hero p,
.section-head p,
.product-item p,
.list-card li,
.about-card p,
.contact-card strong,
.auth-panel p,
.dashboard-aside p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.aside-actions,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.metric-chip {
  padding: 16px 18px;
  border: 1px solid rgba(175, 213, 248, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.metric-chip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.metric-chip span {
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6ae6ff);
  color: #07101d;
  box-shadow: 0 14px 30px rgba(68, 208, 255, 0.22);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.1);
  color: #f4fbff;
  box-shadow: 0 12px 24px rgba(4, 10, 20, 0.16);
}

/* 幽灵按钮：半透明边框 + 悬停填充效果，用于次要操作（如"了解更多"） */
.btn-ghost {
  border-color: rgba(169, 193, 222, 0.22);
  background: transparent;
  color: #c8ddf5;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: rgba(169, 193, 222, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* 发光主按钮：外发光阴影 + 呼吸动画，突出核心 CTA 操作 */
.btn-glow {
  box-shadow: 0 14px 30px rgba(68, 208, 255, 0.22), 0 0 0 0 rgba(68, 208, 255, 0.18);
  animation: btnGlowPulse 2.8s ease-in-out infinite;
}

.btn-glow:hover {
  box-shadow: 0 18px 40px rgba(68, 208, 255, 0.32), 0 0 20px rgba(68, 208, 255, 0.12);
}

/* 按钮内箭头图标：右侧跟随箭头，提示操作方向 */
.btn-arrow-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-ghost:hover .btn-arrow-icon {
  transform: translateX(3px);
}

.btn-full {
  width: 100%;
}

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

.btn:focus-visible,
.text-link:focus-visible,
.nav-link:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-panel {
  gap: 20px;
}

.glass-card,
.signal-grid article,
.card-grid article,
.product-item,
.list-card,
.about-card,
.contact-card,
.admin-section,
.auth-panel,
.auth-card,
.dashboard-aside {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.glass-card,
.signal-grid article,
.card-grid article,
.hardware-card,
.list-card,
.about-card,
.contact-card {
  position: relative;
  overflow: hidden;
}

.glass-card::before,
.signal-grid article::before,
.card-grid article::before,
.hardware-card::before,
.list-card::before,
.about-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--spot-x, -20%) var(--spot-y, -20%), rgba(255, 255, 255, 0.12), transparent 38%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.glass-card:hover::before,
.signal-grid article:hover::before,
.card-grid article:hover::before,
.hardware-card:hover::before,
.list-card:hover::before,
.about-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.glass-card {
  padding: 28px;
}

.pulse-line {
  margin-top: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(68, 208, 255, 0.15), rgba(68, 208, 255, 0.9), rgba(255, 177, 90, 0.2));
  background-size: 200% 100%;
  animation: pulseFlow 4s linear infinite;
}

.glass-card h2 {
  margin: 14px 0 12px;
  font-size: 30px;
}

.signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signal-grid article {
  padding: 22px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.signal-grid strong {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}

.section {
  padding: 36px 0;
}

.service-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 90, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 177, 90, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(13, 26, 45, 0.92), rgba(11, 34, 58, 0.84)),
    rgba(8, 17, 31, 0.72);
  box-shadow: 0 30px 90px rgba(4, 10, 20, 0.28);
  animation: spotlightGlow 3.2s ease-in-out infinite;
}

.service-spotlight::before,
.service-spotlight::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-spotlight::before {
  top: -30%;
  right: -18%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 177, 90, 0.24), transparent 68%);
  filter: blur(6px);
}

.service-spotlight::after {
  inset: 0 auto auto -18%;
  width: 52%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 177, 90, 0.92), transparent);
  animation: spotlightSweep 2.8s linear infinite;
}

.service-spotlight-copy,
.spotlight-grid {
  position: relative;
  z-index: 1;
}

.service-spotlight-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.spotlight-hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7b38 0%, #ffb15a 100%);
  color: #fffdf9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  box-shadow: 0 0 0 rgba(255, 123, 56, 0.35);
  animation: hotPulse 1.4s ease-in-out infinite;
}

.spotlight-hot-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff7ed;
  box-shadow: 0 0 0 rgba(255, 247, 237, 0.8);
  animation: hotDotBlink 1.2s ease-in-out infinite;
}

.service-spotlight-copy h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.service-spotlight-copy p {
  max-width: 58ch;
}

.spotlight-inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.spotlight-inline-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 210, 156, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ecf8ff;
  font-size: 12px;
  font-weight: 700;
}

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

.spotlight-card {
  padding: 18px;
  border: 1px solid rgba(255, 210, 156, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.spotlight-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.spotlight-card span {
  color: #bfd0e7;
  line-height: 1.65;
  font-size: 13px;
}

@keyframes spotlightGlow {
  0%,
  100% {
    box-shadow: 0 30px 90px rgba(4, 10, 20, 0.28), 0 0 0 rgba(255, 177, 90, 0);
  }
  50% {
    box-shadow: 0 34px 96px rgba(4, 10, 20, 0.34), 0 0 42px rgba(255, 177, 90, 0.14);
  }
}

@keyframes spotlightSweep {
  from {
    transform: translateX(-5%);
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
  to {
    transform: translateX(230%);
    opacity: 0.25;
  }
}

@keyframes hotPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 123, 56, 0.35);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 0 0 10px rgba(255, 123, 56, 0);
  }
}

@keyframes hotDotBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 247, 237, 0.72);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 8px rgba(255, 247, 237, 0);
  }
}

/* ==================== 云直播 Spotlight 模块 ==================== */
/* 云直播使用蓝色主题色，与专线分发的橙色形成视觉区分 */
.service-spotlight-cloud {
  /* 使用蓝色系渐变背景，营造科技感 */
  border-color: rgba(68, 208, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(68, 208, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(13, 26, 45, 0.92), rgba(11, 34, 58, 0.84)),
    rgba(8, 17, 31, 0.72);
  animation: cloudSpotlightGlow 3.2s ease-in-out infinite;
}

/* 云直播 spotlight 右上角光晕装饰，使用蓝色系 */
.service-spotlight-cloud::before {
  background: radial-gradient(circle, rgba(68, 208, 255, 0.24), transparent 68%);
}

/* 云直播 spotlight 左侧扫光线，使用蓝色系 */
.service-spotlight-cloud::after {
  background: linear-gradient(90deg, transparent, rgba(68, 208, 255, 0.92), transparent);
}

/* 云直播 NEW 标签，使用蓝色渐变，区别于专线分发的橙色 HOT 标签 */
.spotlight-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5c6 0%, #44d0ff 100%);
  color: #f0f9ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  box-shadow: 0 0 0 rgba(68, 208, 255, 0.35);
  animation: newPulse 1.4s ease-in-out infinite;
}

/* NEW 标签前的闪烁圆点装饰 */
.spotlight-new-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #e0f2fe;
  box-shadow: 0 0 0 rgba(224, 242, 254, 0.8);
  animation: newDotBlink 1.2s ease-in-out infinite;
}

/* 云直播 spotlight 呼吸光晕动画，使用蓝色阴影 */
@keyframes cloudSpotlightGlow {
  0%,
  100% {
    box-shadow: 0 30px 90px rgba(4, 10, 20, 0.28), 0 0 0 rgba(68, 208, 255, 0);
  }
  50% {
    box-shadow: 0 34px 96px rgba(4, 10, 20, 0.34), 0 0 42px rgba(68, 208, 255, 0.14);
  }
}

/* NEW 标签脉冲动画，与 HOT 标签动画类似但颜色不同 */
@keyframes newPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(68, 208, 255, 0.35);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 0 0 10px rgba(68, 208, 255, 0);
  }
}

/* NEW 标签圆点闪烁动画 */
@keyframes newDotBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(224, 242, 254, 0.72);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 8px rgba(224, 242, 254, 0);
  }
}

/* 导航栏云直播 NEW 链接样式，使用蓝色主题 */
.nav-promo-link-cloud {
  /* 使用蓝色渐变背景 */
  background: linear-gradient(135deg, rgba(68, 208, 255, 0.12), rgba(14, 165, 198, 0.08));
  border-color: rgba(68, 208, 255, 0.28);
}

/* 导航栏云直播 NEW 标签样式 */
.nav-promo-link-cloud em {
  background: linear-gradient(135deg, #0ea5c6, #44d0ff);
  color: #f0f9ff;
}

/* 云直播 spotlight 卡片悬停时的边框颜色，使用蓝色 */
.service-spotlight-cloud .spotlight-card:hover {
  border-color: rgba(68, 208, 255, 0.45);
  background: rgba(68, 208, 255, 0.08);
}

/* 云直播 spotlight 标签样式，使用蓝色系 */
.service-spotlight-cloud .spotlight-inline-tags span {
  border-color: rgba(68, 208, 255, 0.28);
  background: rgba(68, 208, 255, 0.08);
}

.section-head {
  max-width: 720px;
  margin-bottom: 18px;
}

.section-head.compact {
  margin-bottom: 12px;
}

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

.card-grid article,
.product-item,
.list-card,
.about-card,
.contact-card {
  padding: 24px;
}

.card-grid article {
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card-grid article:hover,
.signal-grid article:hover,
.hardware-card:hover,
.list-card:hover,
.about-card:hover,
.contact-card:hover {
  border-color: rgba(98, 220, 255, 0.24);
}

.service-card {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    rgba(10, 24, 43, 0.84);
}

.service-index {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  color: rgba(191, 239, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.card-grid h3,
.product-item h3,
.list-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
}

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.hardware-card,
.product-admin-card,
.flash-banner,
.repeat-group {
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hardware-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(10, 24, 43, 0.84);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.hardware-image-wrap {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(68, 208, 255, 0.22), transparent 40%),
    linear-gradient(160deg, #0f2137, #0b1728);
}

.hardware-image-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hardware-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  display: block;
  transform: scale(1.01);
  transition: transform 0.6s ease;
  padding: 24px;
}

.hardware-card:hover .hardware-image {
  transform: scale(1.04);
}

.zoom-hint {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.68);
  color: #eff8ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(14px);
}

.hardware-image-button:hover .zoom-hint,
.hardware-image-button:focus-visible .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.hardware-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.68);
  color: #dff6ff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hardware-copy {
  padding: 24px;
}

.hardware-copy h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.spec-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.spec-list li {
  margin-bottom: 10px;
  color: #dce9f8;
}

.spec-list li::marker {
  color: var(--accent);
}

.split-section {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.product-list,
.dual-grid,
.split-section,
.dashboard-shell {
  display: grid;
}

.product-list {
  gap: 18px;
}

.product-item {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(10, 24, 43, 0.84);
}

.dark-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(68, 208, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(9, 19, 34, 0.95), rgba(6, 12, 24, 0.95));
}

.dual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.list-card ul,
.list-card ol {
  margin: 0;
  padding-left: 20px;
}

.about-card,
.contact-card {
  min-height: 100%;
}

.contact-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-items label {
  display: block;
  margin-bottom: 6px;
  color: #86a0c2;
  font-size: 13px;
}

.footer {
  margin-top: 24px;
  padding: 24px 4px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  margin: 6px 0 0;
}

.footer-icp a {
  color: inherit;
  text-decoration: none;
}

.footer-icp a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.footer-meta {
  min-width: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 17, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(7, 16, 29, 0.92);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.45);
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 20px;
  background: linear-gradient(160deg, #0f2137, #0b1728);
}

.lightbox-caption {
  padding: 14px 8px 4px;
  color: #dce9f8;
  font-size: 15px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.7);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.admin-body {
  background: #f3f4f6;
  color: var(--surface-text);
  overflow-x: hidden;
  font-size: 14px;
}

.admin-body .section-kicker {
  display: none;
}

.console-shell {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  display: block;
}

.console-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  padding: 0;
  overflow-y: auto;
  background: #1e293b;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  color: #e8f1fb;
  z-index: 100;
  transition: all 0.4s ease;
}

.console-sidebar.sidebar-collapsed {
  width: 0;
  overflow: hidden;
}

.console-sidebar-brand {
  display: flex;
  justify-content: flex-start;
  gap: 11px;
  align-items: center;
  padding: 11px 14px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  text-decoration: none;
  color: inherit;
}

.console-sidebar-brand .aside-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 0;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(10, 24, 43, 0.26);
  flex-shrink: 0;
}

.console-sidebar-brand .section-kicker,
.console-page-header .section-kicker {
  margin-bottom: 8px;
}

.console-sidebar-brand .section-kicker {
  border-color: rgba(84, 205, 255, 0.24);
  background: rgba(68, 208, 255, 0.12);
  color: #d4f6ff;
}

.console-sidebar h1,
.console-page-header h2 {
  margin: 0;
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.15;
}

.console-sidebar h1 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-sidebar.sidebar-collapsed .console-sidebar-summary,
.console-sidebar.sidebar-collapsed .console-sidebar-nav,
.console-sidebar.sidebar-collapsed .console-sidebar-footer {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.console-sidebar-summary {
  display: grid;
  gap: 10px;
  margin: 12px 10px 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.console-sidebar-summary p {
  margin: 0;
  color: #bed0e2;
  line-height: 1.5;
  font-size: 13px;
}

.console-meta-line {
  display: grid;
  gap: 4px;
}

.console-meta-line span {
  color: #8ca4bf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-meta-line strong {
  color: #f7fbff;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.console-sidebar-nav {
  display: grid;
  padding: 14px 12px;
  gap: 8px;
  align-content: start;
}

.console-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-weight: 600;
  font-size: 14px;
}

button.console-nav-link {
  width: 100%;
  appearance: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.console-nav-parent {
  justify-content: space-between;
}

.console-nav-parent-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.console-nav-caret {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.52);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.console-nav-parent[aria-expanded="true"] .console-nav-caret {
  transform: rotate(90deg);
  color: #ffffff;
}

.console-nav-link:hover,
.console-nav-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.console-nav-link.is-active {
  border-color: rgba(102, 126, 234, 0.18);
  background: rgba(102, 126, 234, 0.15);
  color: #ffffff;
}

.console-nav-link.is-parent-active {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.console-nav-children {
  display: grid;
  gap: 6px;
  margin: -2px 0 4px 20px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.console-nav-children[hidden] {
  display: none;
}

.console-nav-link.console-nav-child {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.console-nav-link.console-nav-child .console-nav-icon {
  width: 14px;
  font-size: 12px;
}

.console-nav-icon {
  display: inline-flex;
  width: 18px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.console-sidebar-footer {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
  margin-top: auto;
  padding: 14px 12px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.console-footer-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.console-footer-email {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 0 2px;
}

.console-footer-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.console-footer-label,
.console-footer-text-action {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: #8ca4bf;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.console-footer-text-action {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.console-footer-text-action:hover {
  color: #d7e4f3;
}

.console-footer-email strong {
  color: #f7fbff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-sidebar-footer .btn {
  width: 100%;
}

.console-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 220;
}

.console-modal.is-visible {
  display: flex;
}

.console-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 27, 0.56);
  backdrop-filter: blur(8px);
}

.console-modal-card {
  position: relative;
  width: min(100%, 560px);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(18, 33, 54, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 68px rgba(8, 22, 42, 0.24);
}

.console-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.console-modal-head h2 {
  margin: 0;
  color: var(--surface-text);
  font-size: 24px;
}

.console-modal-head p {
  margin: 8px 0 0;
  color: #607692;
  font-size: 13px;
  line-height: 1.6;
}

.console-modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(18, 33, 54, 0.12);
  border-radius: 999px;
  background: rgba(244, 248, 252, 0.96);
  color: #17314f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.console-modal-close:hover {
  background: #ffffff;
}

.console-modal-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.modal-open {
  overflow: hidden;
}

.console-user-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.console-user-avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.console-user-meta {
  min-width: 0;
}

.console-user-meta strong,
.console-user-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-user-meta strong {
  color: #ffffff;
  font-size: 13px;
}

.console-user-meta span {
  color: #94a3b8;
  font-size: 12px;
}

.console-main {
  min-width: 0;
  display: grid;
  gap: 18px;
  margin-left: 248px;
  min-height: 100vh;
  padding: 18px 20px;
}

.console-sidebar.sidebar-collapsed + .console-main {
  margin-left: 0;
}

.console-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.console-page-header h2 {
  margin-bottom: 4px;
  font-size: 24px;
  color: var(--surface-text);
}

.console-page-header p {
  margin: 0;
  max-width: 680px;
  color: #627896;
  line-height: 1.6;
  font-size: 13px;
}

.console-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
}

.console-header-actions form {
  margin: 0;
}

.console-header-actions .btn {
  min-height: 42px;
}

.btn-prominent {
  border-color: rgba(22, 119, 255, 0.24);
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.18);
}

.console-header-toggle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.console-header-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.console-sidebar-overlay {
  display: none;
}

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

.console-page-header > div {
  flex: 1;
}

.auth-panel-subtitle {
  margin-bottom: 0;
  color: #46627f;
}

.auth-feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.auth-feature-card,
.console-focus-card {
  padding: 16px 18px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 18px;
  background: rgba(245, 249, 253, 0.92);
}

.auth-feature-card strong,
.console-focus-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--surface-text);
  font-size: 15px;
}

.auth-feature-card span,
.console-focus-card p {
  color: #5f7590;
  line-height: 1.65;
  font-size: 13px;
}

.auth-feature-card span {
  display: block;
}

.auth-form-intro {
  margin: -2px 0 6px;
  color: #627896;
  line-height: 1.65;
  font-size: 13px;
}

.console-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.console-focus-card p {
  margin: 0;
}

.auth-layout,
.dashboard-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px;
  gap: 24px;
}

.auth-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.auth-panel,
.auth-card,
.dashboard-aside,
.admin-section {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(18, 33, 54, 0.08);
  color: var(--surface-text);
}

.auth-panel,
.dashboard-aside {
  padding: 34px;
}

.hero-logo,
.aside-logo {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(10, 24, 43, 0.2);
}

.hero-logo {
  margin-bottom: 22px;
}

.aside-logo {
  margin-bottom: 18px;
}

.auth-card {
  padding: 28px;
}

.auth-hint {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: #ecf5fb;
}

.dashboard-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.dashboard-aside {
  position: sticky;
  top: 28px;
}

.dashboard-main {
  gap: 20px;
}

.dashboard-form {
  gap: 16px;
}

.flash-banner {
  padding: 12px 14px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--surface-text);
  font-size: 13px;
}

.flash-success {
  background: rgba(232, 250, 241, 0.96);
  border-color: rgba(24, 181, 126, 0.22);
}

.flash-error {
  background: rgba(255, 241, 241, 0.96);
  border-color: rgba(195, 59, 59, 0.22);
  color: #972b2b;
}

.site-body .btn-secondary {
  border-color: rgba(169, 193, 222, 0.28);
  background: rgba(8, 17, 31, 0.42);
  color: #eff9ff;
}

.site-body .btn-secondary:hover {
  background: rgba(12, 28, 49, 0.78);
}

.site-body .nav-link,
.site-body .text-link {
  color: #c7ddf7;
}

.site-body .nav-link:hover,
.site-body .text-link:hover {
  color: #ffffff;
}

.admin-body .btn-secondary {
  border-color: rgba(18, 33, 54, 0.16);
  background: linear-gradient(180deg, #f7fbff 0%, #e8f0f9 100%);
  color: #17314f;
  box-shadow: 0 12px 26px rgba(16, 42, 70, 0.08);
}

.admin-body .btn-secondary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e2edf8 100%);
}

.admin-body .text-link,
.admin-body .nav-link {
  color: #1f5f92;
  font-weight: 700;
}

.admin-body .text-link:hover,
.admin-body .nav-link:hover {
  color: #123b60;
}

.admin-section {
  padding: 18px;
}

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

.route-form-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.node-contact-hint {
  color: #168a4a;
  font-weight: 400;
}

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

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 12px;
  background: rgba(245, 249, 253, 0.88);
  font-weight: 600;
  font-size: 13px;
}

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}

.check-item span {
  color: var(--surface-text);
  line-height: 1.5;
}

.form-note {
  padding: 12px 14px;
  border: 1px solid rgba(31, 95, 146, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(239, 247, 255, 0.92) 0%, rgba(246, 250, 253, 0.94) 100%);
  color: #31506b;
  font-size: 13px;
  line-height: 1.7;
}

.form-note strong {
  color: #17314f;
}

.node-role-help-grid {
  margin-top: 14px;
}

.role-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.role-help-card {
  padding: 12px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 14px;
  background: rgba(245, 249, 253, 0.9);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.node-role-help-card.is-active {
  border-color: rgba(31, 95, 146, 0.2);
  background: linear-gradient(180deg, rgba(238, 247, 255, 0.96) 0%, rgba(245, 250, 255, 0.98) 100%);
  box-shadow: 0 12px 26px rgba(31, 95, 146, 0.12);
}

.role-help-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.role-help-card h3 {
  margin: 0;
  color: var(--surface-text);
  font-size: 14px;
}

.role-help-card span {
  flex-shrink: 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(31, 95, 146, 0.1);
  color: #1f5f92;
  font-size: 11px;
  font-weight: 800;
}

.role-help-card p {
  margin: 8px 0 0;
  color: #607692;
  font-size: 12px;
  line-height: 1.65;
}

.node-role-note {
  margin-top: 12px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.node-role-note.is-node-role-emphasis {
  border-color: rgba(14, 116, 144, 0.18);
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.94) 0%, rgba(239, 246, 255, 0.94) 100%);
  color: #0f4c64;
}

.node-role-note.is-node-role-muted {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.96) 100%);
  color: #607692;
}

[data-node-role-ui] {
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

label.is-node-role-emphasis,
.check-item.is-node-role-emphasis {
  border-color: rgba(14, 116, 144, 0.16);
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.92) 0%, rgba(239, 246, 255, 0.94) 100%);
  box-shadow: 0 8px 20px rgba(14, 116, 144, 0.08);
}

label.is-node-role-muted,
.check-item.is-node-role-muted {
  opacity: 0.58;
  border-style: dashed;
}

label.is-node-role-muted span,
.check-item.is-node-role-muted span {
  color: #7b8a9a;
}

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

.repeat-group {
  padding: 20px;
  background: rgba(245, 249, 253, 0.88);
  border-color: rgba(18, 33, 54, 0.08);
}

.repeat-group h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

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

.stack-field {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.product-admin-list {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.product-admin-card {
  padding: 20px;
  background: rgba(245, 249, 253, 0.88);
  border-color: rgba(18, 33, 54, 0.08);
}

.product-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.product-admin-head h3 {
  margin: 0;
}

.btn-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.product-preview {
  margin-top: 18px;
  width: 180px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(18, 33, 54, 0.08);
}

.product-preview img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, 30px, 0) scale(1.08);
  }
}

@keyframes floatGlowReverse {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-26px, -18px, 0) scale(1.06);
  }
}

@keyframes pulseFlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}

@keyframes navPromoPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(7, 16, 29, 0.16), 0 0 0 rgba(255, 177, 90, 0);
  }
  50% {
    box-shadow: 0 14px 32px rgba(7, 16, 29, 0.22), 0 0 24px rgba(255, 177, 90, 0.12);
  }
}

@keyframes navHotBlink {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 123, 56, 0.3);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 8px rgba(255, 123, 56, 0);
  }
}

.admin-body label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}

.admin-body input,
.admin-body textarea,
.admin-body select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(18, 33, 54, 0.12);
  border-radius: 12px;
  font: inherit;
  color: var(--surface-text);
  background: rgba(255, 255, 255, 0.92);
}

.admin-body textarea {
  resize: vertical;
}

.admin-body select {
  appearance: none;
}

.admin-body select:disabled {
  cursor: not-allowed;
  border-color: rgba(18, 33, 54, 0.08);
  background: rgba(231, 237, 244, 0.78);
  color: #8a99aa;
}

.is-route-disabled {
  color: #7b8a9a;
}

.route-relay-hint {
  display: block;
  margin-top: 7px;
  color: #6b7c8f;
  font-size: 12px;
  line-height: 1.5;
}

.route-relay-hint.route-relay-warning {
  color: #b91c1c;
  font-weight: 900;
}

.topbar-actions,
.console-links,
.console-chip-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-actions {
  align-items: center;
  margin-left: auto;
  justify-content: flex-end;
}

.console-links {
  margin-top: 18px;
}

.console-chip-stack {
  margin-top: 16px;
}

.console-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  background: rgba(245, 249, 253, 0.88);
  color: var(--surface-text);
  font-size: 13px;
  font-weight: 700;
}

.console-sidebar .console-chip {
  border-color: rgba(160, 190, 220, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f0f7ff;
}

.console-stat-grid,
.console-double-grid,
.console-detail-grid {
  display: grid;
  gap: 18px;
}

.console-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.console-double-grid,
.console-detail-grid {
  grid-template-columns: 1fr;
}

.console-stat-card,
.console-detail-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(245, 249, 253, 0.88);
  border: 1px solid rgba(18, 33, 54, 0.08);
}

.console-stat-card span,
.console-detail-card h3,
.console-detail-card dt,
.console-url-list span,
.form-hint,
.console-muted,
.console-empty {
  color: #607692;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.console-stat-card span {
  display: block;
  font-size: 12px;
}

.console-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  color: var(--surface-text);
}

.cloud-billing-panel {
  display: grid;
  gap: 16px;
}

.cloud-billing-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 249, 253, 0.96) 0%, rgba(235, 242, 255, 0.96) 100%);
}

.cloud-billing-today span,
.cloud-billing-updated {
  display: block;
  color: #607692;
  font-size: 13px;
}

.cloud-billing-today strong {
  display: block;
  margin-top: 6px;
  color: #1677ff;
  font-size: 28px;
  line-height: 1.2;
}

.cloud-billing-table td:last-child {
  font-weight: 800;
  color: var(--surface-text);
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-range-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-range-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(18, 33, 54, 0.1);
  border-radius: 999px;
  background: rgba(245, 249, 253, 0.86);
  color: #526982;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-range-tabs a.is-active {
  border-color: rgba(22, 119, 255, 0.28);
  background: #1677ff;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.18);
}

.dashboard-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-panel {
  min-width: 0;
}

.dashboard-ranking-list,
.dashboard-breakdown-list {
  display: grid;
  gap: 14px;
}

.dashboard-ranking-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.dashboard-rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eaf3ff;
  color: #1677ff;
  font-size: 12px;
  font-weight: 900;
}

.dashboard-rank-main {
  min-width: 0;
}

.dashboard-rank-title,
.dashboard-breakdown-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-rank-title strong,
.dashboard-breakdown-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--surface-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-rank-title span,
.dashboard-breakdown-row span,
.dashboard-rank-main small,
.dashboard-rank-money {
  color: #607692;
  font-size: 12px;
}

.dashboard-rank-main small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-rank-money {
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-rank-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.dashboard-rank-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1677ff, #44d0ff);
}

.dashboard-breakdown-row {
  display: grid;
  gap: 8px;
}

.dashboard-trend-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 220px;
}

.dashboard-trend-bar {
  display: grid;
  align-items: end;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.dashboard-trend-track {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 150px;
  border-radius: 10px;
  background: #edf3fa;
}

.dashboard-trend-track span {
  display: block;
  width: 70%;
  min-height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #1677ff, #44d0ff);
}

.dashboard-trend-bar strong {
  color: var(--surface-text);
  font-size: 12px;
}

.dashboard-trend-bar small {
  color: #607692;
  font-size: 11px;
}

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

.dashboard-money-grid div {
  padding: 16px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 14px;
  background: rgba(245, 249, 253, 0.88);
}

.dashboard-money-grid span {
  display: block;
  color: #607692;
  font-size: 12px;
}

.dashboard-money-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--surface-text);
  font-size: 22px;
}

.dashboard-channel-table-wrap {
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.dashboard-channel-table {
  min-width: 1180px;
}

.dashboard-session-table {
  min-width: 1060px;
}

.dashboard-channel-table th,
.dashboard-session-table th {
  background: #f4f8fc;
}

.dashboard-channel-table td,
.dashboard-session-table td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.dashboard-channel-table tbody tr,
.dashboard-session-table tbody tr {
  transition: background 0.18s ease;
}

.dashboard-channel-table tbody tr:hover,
.dashboard-session-table tbody tr:hover {
  background: rgba(22, 119, 255, 0.04);
}

.dashboard-channel-id {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  background: #eef4fa;
  color: #49637f;
  font-size: 12px;
  font-weight: 900;
}

.dashboard-channel-person,
.dashboard-channel-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dashboard-channel-person strong,
.dashboard-channel-name strong {
  max-width: 210px;
  overflow: hidden;
  color: var(--surface-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-channel-person span,
.dashboard-channel-name span,
.dashboard-date-cell {
  color: #6b7f97;
  font-size: 12px;
}

.dashboard-stream-path {
  display: inline-grid;
  grid-template-columns: minmax(0, auto) minmax(0, auto);
  align-items: center;
  max-width: 260px;
  overflow: hidden;
  border: 1px solid rgba(22, 119, 255, 0.14);
  border-radius: 10px;
  background: #f2f7ff;
  color: #1f4f82;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.dashboard-stream-path span,
.dashboard-stream-path strong {
  min-width: 0;
  overflow: hidden;
  padding: 7px 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-stream-path span {
  border-right: 1px solid rgba(22, 119, 255, 0.14);
  background: rgba(22, 119, 255, 0.08);
  font-weight: 700;
}

.dashboard-stream-path strong {
  font-weight: 900;
}

.dashboard-node-chip {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  min-height: 28px;
  overflow: hidden;
  padding: 0 10px;
  border: 1px solid rgba(18, 33, 54, 0.1);
  border-radius: 999px;
  background: #f7fbff;
  color: #304b68;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-node-chip.is-muted {
  background: #f2f4f7;
  color: #7b8794;
}

.console-detail-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--surface-text);
}

.console-kv,
.console-url-list {
  display: grid;
  gap: 10px;
}

.console-kv div,
.console-url-list div {
  display: grid;
  gap: 6px;
}

.console-kv dt {
  font-size: 13px;
  font-weight: 700;
}

.console-kv dd {
  margin: 0;
  color: var(--surface-text);
  font-weight: 700;
}

.console-url-list code,
.console-table code {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 10px;
  background: #edf4fa;
  color: #16304f;
  word-break: break-all;
  font-size: 12px;
}

.stream-address-hint {
  margin: 0 0 14px;
  color: #607692;
  font-size: 13px;
}

.stream-address-groups {
  display: grid;
  gap: 14px;
}

.stream-address-group {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  background: rgba(248, 251, 255, 0.92);
}

.stream-address-group.is-publish {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.92), rgba(239, 246, 255, 0.92));
  border-color: rgba(14, 116, 144, 0.16);
}

.stream-address-group.is-play {
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.92), rgba(248, 250, 252, 0.94));
  border-color: rgba(22, 101, 52, 0.14);
}

.stream-address-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.stream-address-group-head h4 {
  margin: 0;
  color: var(--surface-text);
  font-size: 14px;
}

.stream-address-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: #3f5875;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.stream-address-entry span {
  color: #3f5875;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.console-url-list .stream-address-value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.stream-address-value-row code {
  min-width: 0;
}

.console-url-list .stream-address-value-row .console-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.stream-copy-button {
  white-space: nowrap;
}

.stream-copy-button.is-copied {
  border-color: rgba(22, 163, 74, 0.24);
  background: rgba(220, 252, 231, 0.92);
  color: #166534;
}

.cloud-live-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

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

.cloud-flv-preview-card {
  width: min(100%, 920px);
}

.cloud-runtime-source {
  margin: 10px 0 14px;
}

.cloud-runtime-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.cloud-runtime-chart-card {
  padding: 14px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.cloud-runtime-chart-wrap {
  position: relative;
}

.cloud-runtime-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.cloud-runtime-chart-head span,
.cloud-runtime-chart-head em {
  color: #5f7188;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cloud-runtime-chart-head strong {
  display: block;
  margin-top: 4px;
  color: #142235;
  font-size: 20px;
}

.cloud-runtime-chart {
  display: block;
  width: 100%;
  height: auto;
}

.cloud-runtime-grid-line {
  stroke: rgba(100, 116, 139, 0.18);
  stroke-width: 1;
}

.cloud-runtime-axis-line,
.cloud-runtime-x-tick {
  stroke: rgba(71, 85, 105, 0.42);
  stroke-width: 1;
}

.cloud-runtime-polyline {
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cloud-runtime-point {
  cursor: crosshair;
  stroke: #fff;
  stroke-width: 1.8;
  transition: r 0.15s ease, filter 0.15s ease;
}

.cloud-runtime-point:hover {
  r: 6;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.22));
}

.cloud-runtime-chart text {
  fill: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.cloud-runtime-unit-label {
  fill: #475569;
  font-size: 12px;
  font-weight: 800;
}

.cloud-runtime-tooltip {
  position: absolute;
  z-index: 20;
  min-width: 210px;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  pointer-events: none;
  white-space: pre-line;
}

.cloud-runtime-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
}

.cloud-runtime-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #41556e;
  font-size: 12px;
  font-weight: 700;
}

.cloud-runtime-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.console-empty {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(245, 249, 253, 0.88);
  border: 1px dashed rgba(18, 33, 54, 0.12);
  font-size: 13px;
}

.console-table-wrap {
  overflow-x: auto;
}

.console-table {
  width: 100%;
  border-collapse: collapse;
}

.console-table th,
.console-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(18, 33, 54, 0.08);
  text-align: left;
  vertical-align: top;
  color: var(--surface-text);
  font-size: 12px;
}

.console-table th {
  color: #607692;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  background: #eef4fa;
  color: #526981;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-active {
  border-color: rgba(22, 163, 74, 0.2);
  background: rgba(220, 252, 231, 0.9);
  color: #166534;
}

.status-pending {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(219, 234, 254, 0.88);
  color: #1d4ed8;
}

.status-warning {
  border-color: rgba(217, 119, 6, 0.2);
  background: rgba(254, 243, 199, 0.9);
  color: #92400e;
}

.status-danger {
  border-color: rgba(220, 38, 38, 0.18);
  background: rgba(254, 226, 226, 0.9);
  color: #991b1b;
}

.status-muted {
  border-color: rgba(100, 116, 139, 0.16);
  background: rgba(241, 245, 249, 0.94);
  color: #475569;
}

.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.console-actions form {
  margin: 0;
}

.inline-edit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.inline-edit-form select {
  min-width: 118px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 10px;
  border: 1px solid rgba(18, 33, 54, 0.12);
  background: #fff;
  font-size: 12px;
}

.settings-stack {
  display: grid;
  gap: 18px;
}

.settings-inline-form {
  display: grid;
  gap: 14px;
}

.settings-card {
  padding: 18px;
  border: 1px solid rgba(18, 33, 54, 0.08);
  border-radius: 18px;
  background: rgba(245, 249, 253, 0.88);
}

.settings-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.settings-card-head h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.settings-card-head p {
  margin: 0;
}

.btn-danger {
  border-color: rgba(220, 38, 38, 0.18);
  background: linear-gradient(180deg, #fff5f5 0%, #fee2e2 100%);
  color: #991b1b;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.08);
}

.btn-danger:hover {
  background: linear-gradient(180deg, #fffafa 0%, #fecaca 100%);
}

.span-2 {
  grid-column: span 2;
}

.form-message {
  min-height: 24px;
  font-size: 13px;
  color: var(--accent-strong);
}

.payment-qr-panel {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}

.payment-qr-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(18, 33, 54, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.payment-qr-preview img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
}

.payment-qr-meta {
  display: grid;
  gap: 14px;
}

.payment-qr-meta h3 {
  margin: 0;
  font-size: 18px;
  color: var(--surface-text);
}

.is-error {
  color: #c33b3b;
}

/* ==============================
   首页美化增强样式
   ============================== */

/* 滚动进度条：固定在页面最顶部的 3px 细线，随页面滚动从左向右填充 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  border-radius: 0 999px 999px 0;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* 粒子背景画布：全屏固定，通过 JS 绘制缓慢漂浮的粒子和连线 */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* 导航栏滚动状态：滚动后加深背景、增强阴影，提供视觉反馈 */
.topbar.is-scrolled {
  background: rgba(8, 17, 31, 0.88);
  box-shadow: 0 14px 48px rgba(4, 10, 20, 0.32);
  border-color: rgba(169, 193, 222, 0.1);
}

/* 区块间渐变分隔线：细线过渡，区分内容区块同时保持视觉连贯 */
.section-divider {
  height: 1px;
  margin: 0 10%;
  background: linear-gradient(90deg, transparent, rgba(68, 208, 255, 0.2) 30%, rgba(255, 177, 90, 0.15) 70%, transparent);
}

/* 服务卡片底部装饰线：hover 时从左向右展开的渐变光线 */
.service-card {
  position: relative;
}

.service-card-accent {
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-accent {
  transform: scaleX(1);
}

/* Hero 滚动提示指示器：底部动画提示用户继续向下浏览 */
.scroll-indicator {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  animation: scrollIndicatorFade 2.5s ease-in-out infinite;
}

.scroll-indicator-track {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(191, 239, 255, 0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator-dot {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: scrollDotBounce 1.8s ease-in-out infinite;
}

.scroll-indicator span {
  color: rgba(191, 239, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 联系卡片项目增强：带图标圆形包裹 + 更好的布局 */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(68, 208, 255, 0.18);
  background: rgba(68, 208, 255, 0.06);
  color: var(--accent);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.contact-item:hover .contact-icon-wrap {
  background: rgba(68, 208, 255, 0.12);
  border-color: rgba(68, 208, 255, 0.3);
}

.contact-item-body {
  min-width: 0;
}

.contact-item-body label {
  display: block;
  margin-bottom: 4px;
  color: #86a0c2;
  font-size: 13px;
}

.contact-item-body strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}

/* 列表勾选图标：替代默认圆点，使用勾选 SVG 增强视觉节奏 */
.list-check-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-right: 2px;
}

.list-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 列表卡片标题图标：与标题对齐的内联 SVG 图标 */
.list-card-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}

.list-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 放大提示增强：放大镜图标 + 文字组合 */
.zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 页脚快捷导航：底部链接行，补充主导航 */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

/* 按钮发光脉冲动画 */
@keyframes btnGlowPulse {
  0%, 100% {
    box-shadow: 0 14px 30px rgba(68, 208, 255, 0.22), 0 0 0 0 rgba(68, 208, 255, 0.18);
  }
  50% {
    box-shadow: 0 16px 36px rgba(68, 208, 255, 0.28), 0 0 18px rgba(68, 208, 255, 0.08);
  }
}

/* 滚动指示器淡入淡出 */
@keyframes scrollIndicatorFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* 滚动指示器内小圆点弹跳 */
@keyframes scrollDotBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .dashboard-shell,
  .auth-layout,
  .dual-grid,
  .console-double-grid,
  .console-detail-grid,
  .service-spotlight {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .repeat-grid,
  .console-stat-grid,
  .console-focus-grid,
  .dashboard-stat-grid,
  .dashboard-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .dashboard-aside {
    position: static;
  }

  .console-page-header {
    flex-direction: column;
  }

  .console-header-actions {
    justify-content: flex-start;
    padding-top: 0;
  }

  .console-main {
    padding: 24px 20px;
  }

  .payment-qr-panel {
    grid-template-columns: 1fr;
  }

  .payment-qr-preview {
    max-width: 280px;
  }
}

@media (max-width: 900px) {
}

@media (max-width: 720px) {
  .site-shell,
  .auth-layout,
  .dashboard-shell {
    padding: 16px;
  }

  .footer,
  .contact-items,
  .signal-grid,
  .card-grid,
  .form-grid,
  .check-grid,
  .role-help-grid,
  .repeat-grid,
  .console-stat-grid,
  .console-double-grid,
  .console-detail-grid,
  .dashboard-stat-grid,
  .dashboard-grid-two,
  .dashboard-money-grid,
  .spotlight-grid,
  .console-focus-grid,
  .hardware-grid,
  .mini-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer,
  .hero-actions,
  .topbar-actions,
  .console-header-actions,
  .dashboard-toolbar,
  .footer-links {
    align-items: stretch;
  }

  .dashboard-toolbar,
  .dashboard-rank-title,
  .dashboard-breakdown-row > div:first-child {
    flex-direction: column;
  }

  .dashboard-ranking-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .console-url-list .stream-address-value-row {
    grid-template-columns: 1fr;
  }

  .stream-copy-button {
    justify-self: start;
  }

  .dashboard-rank-money {
    grid-column: 2;
  }

  .footer {
    flex-direction: column;
  }

  .topbar {
    position: sticky;
    top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px 8px;
    padding: 12px 14px;
    border-radius: 20px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand strong {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    gap: 10px;
    padding-top: 4px;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    display: block;
    padding: 12px 14px;
    border: 1px solid rgba(169, 193, 222, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-promo-link {
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
  }

  .topbar-actions,
  .console-links,
  .console-chip-stack {
    width: 100%;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin-left: 0;
    justify-content: flex-end;
    gap: 8px;
  }

  .topbar-actions .btn {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 14px;
    font-size: 13px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .console-main {
    padding: 16px;
  }

  .console-page-header h2 {
    font-size: 24px;
  }

  .console-sidebar-brand {
    padding: 12px 14px;
  }

  .console-sidebar-summary {
    margin: 14px 14px 0;
    padding: 14px;
  }

  .console-sidebar-nav {
    padding: 16px 14px 14px;
  }

  .console-sidebar-footer {
    padding: 14px;
  }

  .console-user-block {
    gap: 10px;
  }

  .console-user-meta strong,
  .console-user-meta span {
    white-space: normal;
  }

  .card-grid,
  .signal-grid,
  .contact-items {
    display: grid;
  }

  .hardware-card {
    grid-template-columns: 1fr;
  }

  .hardware-image {
    min-height: 220px;
  }

  .lightbox {
    padding: 14px;
  }

  .span-2 {
    grid-column: auto;
  }

  .hero h1 {
    max-width: none;
    font-size: 42px;
  }

  /* 移动端隐藏滚动指示器，避免干扰 */
  .scroll-indicator {
    display: none;
  }

  /* 移动端页脚导航改为左对齐 */
  .footer-nav {
    justify-content: flex-start;
  }

  /* 移动端区块分隔线缩小边距 */
  .section-divider {
    margin: 0 4%;
  }
}

@media (max-width: 768px) {
  .console-sidebar {
    left: -100% !important;
    top: 0 !important;
    width: 248px !important;
    height: 100vh !important;
    z-index: 1000 !important;
    background: #1e293b !important;
    transition: left 0.4s ease !important;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
  }

  .console-sidebar.sidebar-expanded {
    left: 0 !important;
  }

  .console-sidebar.sidebar-collapsed {
    left: -100% !important;
    width: 248px !important;
  }

  .console-mobile-toggle {
    display: inline-flex !important;
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 1001;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    align-items: center;
    justify-content: center;
  }

  .console-mobile-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
  }

  .console-header-toggle {
    display: none;
  }

  .console-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
  }

  .console-sidebar-overlay.active {
    display: block;
  }

  .console-sidebar-nav {
    padding: 16px;
  }

  .console-nav-link {
    padding: 12px 14px;
    font-size: 13px;
  }

  .console-sidebar-footer {
    padding: 12px 10px;
  }

  .console-footer-account {
    align-items: flex-start;
  }

  .console-modal {
    padding: 16px;
  }

  .console-modal-card {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
  }

  .console-modal-form-grid {
    grid-template-columns: 1fr;
  }

  .cloud-live-overview-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .console-main,
  .console-sidebar.sidebar-collapsed + .console-main {
    margin-left: 0;
    padding: 20px;
  }

  .console-page-header {
    margin-bottom: 24px;
  }

  .console-page-header h2 {
    font-size: 22px;
  }
}
