/* ==============================================
   MUTBOT — Index Page Styles
   ============================================== */

/* ==================== 首页导航在视频 Hero 上保持深色模式 ==================== */
.nav--transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav--transparent .nav-logo {
  color: #fff;
}
.nav--transparent .nav-logo-mark {
  filter: brightness(0) invert(1);
}
.nav--transparent .nav-logo-sep {
  color: rgba(255, 255, 255, 0.35);
}
.nav--transparent .nav-logo-cn {
  color: rgba(255, 255, 255, 0.85);
}
/* 透明态下 hover 整体提亮为纯白，避免中文/分隔符在深色背景上消失 */
.nav--transparent .nav-logo:hover {
  color: #fff;
}
.nav--transparent .nav-logo:hover .nav-logo-sep {
  color: rgba(255, 255, 255, 0.6);
}
.nav--transparent .nav-logo:hover .nav-logo-cn {
  color: #fff;
}
.nav--transparent .nav-menu a {
  /* 0.92 而非 0.75：视频背景亮度不可控，保证导航链接对比度下限 */
  color: rgba(255, 255, 255, 0.92);
}
.nav--transparent .nav-menu a:hover {
  color: #fff;
}
.nav--transparent .nav-menu a.active {
  color: var(--accent);
}
.nav--transparent .hamburger span {
  background: #fff;
}

/* 滚动后恢复为深色文字，与其他页面一致 */
.nav--transparent.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.nav--transparent.scrolled .nav-logo {
  color: #1d1d1f;
}
.nav--transparent.scrolled .nav-logo-mark {
  filter: none;
}
.nav--transparent.scrolled .nav-logo-sep {
  color: rgba(0, 0, 0, 0.22);
}
.nav--transparent.scrolled .nav-logo-cn {
  color: #444;
}
.nav--transparent.scrolled .nav-menu a {
  color: rgba(0, 0, 0, 0.55);
}
.nav--transparent.scrolled .nav-menu a:hover {
  color: #1d1d1f;
}
.nav--transparent.scrolled .nav-menu a.active {
  color: var(--accent);
}
.nav--transparent.scrolled .hamburger span {
  background: #1d1d1f;
}

@media (max-width: 768px) {
  .nav--transparent .nav-menu {
    background: rgba(10, 10, 11, 0.98);
  }
  .nav--transparent .nav-menu a {
    color: rgba(255, 255, 255, 0.75);
  }
  .nav--transparent.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.98);
  }
  .nav--transparent.scrolled .nav-menu a {
    color: rgba(0, 0, 0, 0.55);
  }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

/* 口号（视觉主标题，语义上是 p；H1 已让位给关键词描述句） */
.hero .hero-slogan {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease-out;
  letter-spacing: -0.5px;
  color: #fff;
}

.hero .subtitle {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero .subtitle-en {
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2.25rem;
  animation: fadeInUp 0.8s ease-out 0.15s both;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  flex-wrap: wrap;
}

.hero-buttons .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.hero-buttons .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ==================== APPLICATIONS ==================== */
.applications {
  position: relative;
  padding: 6rem 2rem;
  overflow-x: clip;
}

.apps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.apps-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #111;
}

.showcase-scene {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: #111;
}

.showcase-scene.active {
  opacity: 1;
}

.showcase-scene .apps-showcase-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scene-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      transparent 30%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 0%,
      transparent 30%,
      transparent 60%,
      rgba(0, 0, 0, 0.4) 100%
    );
  z-index: 1;
}

.scene-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.showcase-scene.active .scene-label {
  opacity: 1;
  transform: translateY(0);
}

.scene-label-icon {
  display: flex;
  align-items: center;
}
.scene-label-icon svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.apps-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.app-item:hover,
.app-item.active {
  background: rgba(0, 122, 255, 0.06);
  border-color: rgba(0, 122, 255, 0.2);
}

.app-item.active {
  background: rgba(0, 122, 255, 0.08);
  border-color: rgba(0, 122, 255, 0.35);
}

.app-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.app-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.app-item:hover .app-item-icon,
.app-item.active .app-item-icon {
  background: rgba(0, 122, 255, 0.2);
}

.app-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.app-item-content {
  flex: 1;
}

.app-item-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  transition: color 0.3s;
}

.app-item:hover .app-item-content h3,
.app-item.active .app-item-content h3 {
  color: var(--accent);
}

.app-item-content p {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.5;
  transition: color 0.3s;
}

.app-item:hover .app-item-content p,
.app-item.active .app-item-content p {
  color: #555;
}

.app-item-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s;
}

.app-item:hover .app-item-arrow,
.app-item.active .app-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

.app-item-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ==================== STATS ==================== */
.stats {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-2);
  font-weight: 500;
}

/* 宽屏首页应用区跟随视口铺开，减少两侧纯白边缘 */
@media (min-width: 1800px) {
  .applications {
    padding-left: clamp(3rem, 2.5vw, 4rem);
    padding-right: clamp(3rem, 2.5vw, 4rem);
    background: linear-gradient(
      90deg,
      rgba(245, 245, 247, 0.82) 0%,
      rgba(255, 255, 255, 0.96) 14%,
      #ffffff 50%,
      rgba(255, 255, 255, 0.96) 86%,
      rgba(245, 245, 247, 0.82) 100%
    );
  }

  .apps-layout,
  .stats-container {
    max-width: min(1920px, calc(100vw - 96px));
  }

  .apps-layout {
    grid-template-columns: minmax(0, 1fr) minmax(600px, 0.95fr);
    gap: clamp(3rem, 3vw, 5rem);
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .apps-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .apps-showcase {
    aspect-ratio: 16 / 10;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 1.5rem;
  }
  .hero-buttons {
    gap: 0.75rem;
  }
  .hero .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .apps-showcase {
    aspect-ratio: 1 / 1;
    max-height: 320px;
  }
  .scene-label {
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }
  .app-item {
    padding: 1rem;
    gap: 1rem;
  }
  .app-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .app-item-icon svg {
    width: 20px;
    height: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/* --- 移动端：隐藏 hero 视频，使用静态背景 --- */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
  .hero {
    background: url("../images/hero-poster.jpg") center/cover no-repeat;
  }
}

/* =====================================================
   Mini PERCEPTION panel — replaces multimodal-perception.jpg
   Lives inside .showcase-scene (absolute-positioned slot)
   ===================================================== */
.showcase-scene--panel {
  background: #050a15;
}
.apps-showcase-panel {
  position: absolute;
  inset: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  display: flex;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 122, 255, 0.12), transparent 55%),
    #050a15;
}
.mini-perc {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0a101e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  color: #e2e8f0;
  font-family:
    "DM Sans",
    -apple-system,
    sans-serif;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}
.mini-perc__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}
.mini-perc__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: mini-perc-pulse 1.4s ease-in-out infinite;
}
.mini-perc__title {
  flex: 1;
  color: #cbd5e1;
}
.mini-perc__tag {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
/* DEMO UI 变体 — 明确该面板为概念示意，而非真实数据流 */
.mini-perc__tag--demo {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-weight: 700;
}

.mini-perc__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  min-height: 0;
}
.mini-perc__cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.mini-perc__cell-label {
  font-size: 0.66rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}
.mini-perc__cell svg {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.mini-perc__scan {
  animation: mini-perc-scan 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.mini-perc__cloud {
  flex: 1;
  position: relative;
  min-height: 0;
}
.mini-perc__cloud span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3399ff;
  animation: mini-perc-breathe 3s ease-in-out infinite alternate;
}
.mini-perc__wave {
  overflow: hidden;
}
.mini-perc__wave {
  animation: mini-perc-wave 4s linear infinite;
}
.mini-perc__audio {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  min-height: 0;
}
.mini-perc__audio span {
  flex: 1;
  min-width: 2px;
  background: #3399ff;
  border-radius: 1px 1px 0 0;
  transition: height 0.18s ease;
  box-shadow: 0 0 4px rgba(51, 153, 255, 0.4);
}

.mini-perc__foot {
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(0, 122, 255, 0.04);
}
.mini-perc__foot strong {
  color: #fff;
  margin-left: 0.3rem;
  font-weight: 700;
}
.mini-perc__conf {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  color: #94a3b8;
  font-size: 0.72rem;
}
.mini-perc__conf em {
  font-style: normal;
  color: #3399ff;
  font-weight: 700;
}

@keyframes mini-perc-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes mini-perc-scan {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(56px);
    opacity: 0;
  }
}
@keyframes mini-perc-breathe {
  0% {
    opacity: 0.3;
    transform: scale(0.7);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.25);
  }
}
@keyframes mini-perc-wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini-perc__dot,
  .mini-perc__scan,
  .mini-perc__cloud span,
  .mini-perc__wave {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .apps-showcase-panel {
    padding: 0.9rem;
  }
  .mini-perc__grid {
    gap: 0.5rem;
    padding: 0.7rem;
  }
  .mini-perc__head,
  .mini-perc__foot {
    padding: 0.55rem 0.85rem;
  }
}

/* =====================================================
   Split scene: 左图 + 右 dashboard（精准力控用）
   ===================================================== */
.showcase-scene--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  background: #050a15;
  overflow: hidden;
}
.showcase-scene--split .showcase-scene__image {
  position: relative;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}
.showcase-scene--split .showcase-scene__image .apps-showcase-img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-scene--split .showcase-scene__panel {
  position: relative;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 100% 0%,
      rgba(0, 122, 255, 0.12),
      transparent 55%
    ),
    #050a15;
}
.showcase-scene--split .apps-showcase-panel {
  position: relative;
  inset: auto;
  flex: 1;
  padding: 0;
  background: transparent;
  display: flex;
}

/* =====================================================
   Force-control extras（复用 .mini-perc 4 cell 容器）
   ===================================================== */
.mini-fc__gauge {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}
.mini-fc__gauge svg {
  width: 80%;
  height: 80%;
  max-width: 70px;
  max-height: 70px;
}
.mini-fc__gauge-arc {
  stroke-dasharray: 150.8;
  stroke-dashoffset: 60;
  animation: mini-fc-arc 3s ease-in-out infinite alternate;
}
.mini-fc__gauge-value {
  position: absolute;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.mini-fc__gauge-value em {
  font-style: normal;
  font-size: 0.62rem;
  color: #94a3b8;
  margin-left: 2px;
  font-weight: 500;
}
.mini-fc__big {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(0.95rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-align: center;
}
.mini-fc__big em {
  font-style: normal;
  font-size: 0.55em;
  color: #94a3b8;
  margin-left: 4px;
  font-weight: 500;
}
.mini-fc__pulse {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: #10b981;
  font-weight: 700;
  white-space: nowrap;
  min-width: 0;
}
.mini-fc__pulse-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-fc__pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: mini-fc-pulse 1.6s ease-out infinite;
  flex: 0 0 auto;
}

@keyframes mini-fc-arc {
  0% {
    stroke-dashoffset: 95;
  }
  100% {
    stroke-dashoffset: 35;
  }
}
@keyframes mini-fc-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

/* =====================================================
   Force-control grid: Scene 横跨整个上半区，下方两数据格
   ===================================================== */
.mini-perc__grid--fc {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1.55fr 1fr;
}
.mini-perc__cell--media-hero {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mini-perc__cell--media-hero .mini-perc__media {
  border-radius: 9px;
}
.mini-perc__cell--media-hero .mini-perc__cell-label {
  top: 0.55rem;
  left: 0.7rem;
  font-size: 0.6rem;
}

/* Position Δ 与 Contact 合并到一格 */
.mini-fc__metric .mini-perc__cell-label {
  flex: 0 0 auto;
}
.mini-fc__metric-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
}
.mini-fc__metric .mini-fc__big {
  flex: 0 1 auto;
  justify-content: flex-start;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
}
.mini-fc__metric .mini-fc__pulse {
  flex: 0 0 auto;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  gap: 0.4rem;
}
.mini-fc__metric .mini-fc__pulse-dot {
  width: 7px;
  height: 7px;
}

/* =====================================================
   Multimodal cell with real media (RGB/Depth img)
   ===================================================== */
.mini-perc__cell--media {
  padding: 0.4rem;
  position: relative;
}
.mini-perc__cell--media .mini-perc__cell-label {
  position: absolute;
  top: 0.5rem;
  left: 0.6rem;
  background: rgba(5, 10, 21, 0.72);
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 2;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-size: 0.6rem;
}
.mini-perc__media {
  position: relative;
  flex: 1;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  min-height: 0;
}
.mini-perc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}
.mini-perc__scan-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* =====================================================
   Reduced-motion: 关闭 force panel 动画
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .mini-fc__gauge-arc,
  .mini-fc__pulse-dot {
    animation: none !important;
  }
}

/* =====================================================
   Mobile: split → stacked
   ===================================================== */
@media (max-width: 768px) {
  .showcase-scene--split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

/* ==================== 场景图放大灯箱 ==================== */
.apps-showcase {
  cursor: zoom-in;
}
.showcase-scene--panel,
.apps-showcase:has(.showcase-scene--panel.active) {
  cursor: default;
}

.image-lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.image-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightboxFadeIn 0.25s ease-out;
}
@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.image-lightbox img,
.image-lightbox video {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
  display: block;
}
.image-lightbox img[hidden],
.image-lightbox video[hidden] {
  display: none;
}
.image-lightbox-video {
  background: #000;
}
.image-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  transition:
    background 0.2s,
    transform 0.2s;
}
.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.image-lightbox-close:active {
  transform: scale(0.95);
}
