/* ============================================================
   安徽省第八届大学生艺术展演活动 · 线上 3D 实景美术馆
   设计语言：Apple iOS 27 Liquid Glass（极简中性水晶玻璃 × 克制系统蓝）
   核心原则：无色通透玻璃本体 · 发丝级物理折光边 · 克制 Apple 蓝点缀 · 零霓虹荧光感
   ============================================================ */

:root {
  /* Apple System Blue 精准克制点缀色（绝不滥用大面积霓虹发光） */
  --ios-blue: #0A84FF;
  --ios-blue-soft: #4DA6FF;
  --ios-blue-tint: rgba(10, 132, 255, 0.18);
  --ios-indigo: #7B89FF;

  /* 纯净中性 Liquid Glass 光学材质（靠真实背景透色与发丝折光边呈现质感） */
  --glass-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 100%
  ), rgba(20, 24, 32, 0.44);
  --glass-bg-elevated: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 100%
  ), rgba(18, 22, 30, 0.66);
  --glass-bg-lens: rgba(255, 255, 255, 0.18);
  --glass-bg-hover: rgba(255, 255, 255, 0.12);

  --glass-blur: blur(26px) saturate(185%);
  --glass-blur-heavy: blur(36px) saturate(190%);

  /* 发丝级物理折射边框与克制中性阴影（零荧光外发光） */
  --glass-border: 1px solid rgba(255, 255, 255, 0.22);
  --glass-border-strong: 1px solid rgba(255, 255, 255, 0.30);
  --glass-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.46),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.10),
    0 8px 26px rgba(0, 0, 0, 0.22);
  --glass-shadow-elev:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.50),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.12),
    0 16px 42px rgba(0, 0, 0, 0.34);

  --text-primary: rgba(255, 255, 255, 0.96);
  --text-secondary: rgba(235, 240, 248, 0.74);
  --text-tertiary: rgba(215, 224, 236, 0.54);

  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --spring-ios: cubic-bezier(0.22, 1.12, 0.36, 1);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d1117;
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

.md-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ============================================================
   极简启动幕（首帧全景就绪即丝滑消散）
   ============================================================ */
.lg-boot-splash {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e131b;
  transition: opacity 0.28s var(--ease-ios), visibility 0.28s;
}

.lg-boot-splash.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lg-boot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  border-radius: 22px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow-elev);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-align: center;
}

.lg-boot-spinner {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--ios-blue);
  animation: lg-spin 0.75s linear infinite;
}

.lg-boot-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.lg-boot-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

@keyframes lg-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   3D 展馆实时画布
   ============================================================ */
#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 1;
}

#canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* ============================================================
   室外广场顶部展题（纯粹画册级无框排印，去多余边框与气泡装饰）
   ============================================================ */
.exterior-hero-overlay {
  position: fixed;
  top: calc(82px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 22;
  text-align: center;
  width: min(92vw, 760px);
  pointer-events: none;
  transition: opacity 0.48s var(--ease-ios), transform 0.48s var(--ease-ios), visibility 0.48s;
}

.exterior-hero-overlay.hidden,
body.ui-hidden .exterior-hero-overlay {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -14px);
}

.exterior-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.36);
  margin-bottom: 10px;
}

.exterior-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.38), 0 1px 4px rgba(0, 0, 0, 0.28);
  line-height: 1.24;
  margin-bottom: 8px;
}

.exterior-subtitle {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
}

/* ============================================================
   HUD 悬浮交互层
   ============================================================ */
.hud-layer {
  position: fixed;
  inset: 0;
  z-index: 26;
  pointer-events: none;
}

.hud-fade {
  transition: opacity 0.36s var(--ease-ios), transform 0.36s var(--ease-ios);
}

body.ui-hidden .hud-fade {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 顶部极简 Liquid Glass 悬浮栏 */
.lg-top-bar {
  position: fixed;
  top: calc(14px + var(--safe-top));
  left: calc(16px + var(--safe-left));
  right: calc(16px + var(--safe-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 30;
  pointer-events: none;
}

.lg-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lg-brand-surface {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  max-width: min(440px, 58vw);
  min-width: 0;
}

.lg-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ios-blue);
  flex-shrink: 0;
}

.lg-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.lg-brand-text h1 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lg-group-pill {
  display: none;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(10, 132, 255, 0.24);
  color: #82C2FF;
  flex-shrink: 0;
}

.lg-group-pill.visible {
  display: inline-flex;
}

.lg-group-pill.is-yi {
  background: rgba(123, 137, 255, 0.26);
  color: #C7CEFF;
}

.lg-progress-chip {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.lg-progress-chip .md-icon {
  color: var(--ios-blue-soft);
}

/* 右上角极简液态玻璃操作胶囊 */
.lg-toolbar-cluster {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 4px 5px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  flex-shrink: 0;
}

.lg-tool-divider {
  width: 0.5px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 4px;
}

.lg-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease-ios), color 0.2s var(--ease-ios), transform 0.18s var(--spring-ios);
}

.lg-icon-btn.lg-icon-sm {
  width: 32px;
  height: 32px;
}

.lg-icon-btn:hover {
  background: var(--glass-bg-hover);
  color: #FFFFFF;
}

.lg-icon-btn:active {
  transform: scale(0.90);
}

/* 激活态：Apple 原生微透水晶透镜 + 纯净系统蓝图标（彻底告别刺眼蓝发光球） */
.lg-icon-btn.active {
  background: var(--glass-bg-lens);
  color: var(--ios-blue-soft);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.42);
}

.lg-touch-only {
  display: none;
}

/* 桌面端极简提示 */
.lg-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-3px);
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-ios), transform 0.18s var(--ease-ios);
  z-index: 45;
}

.lg-icon-btn:hover .lg-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   分设备极简操作指引胶囊（温和不抢镜，操作后柔滑隐退）
   ============================================================ */
.lg-guide-pill {
  position: fixed;
  left: 50%;
  bottom: calc(88px + var(--safe-bottom));
  transform: translateX(-50%) translateY(8px);
  z-index: 31;
  pointer-events: none;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100vw - 28px);
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 400;
  transition: opacity 0.36s var(--ease-ios), transform 0.36s var(--ease-ios);
}

.lg-guide-pill.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

body.ui-hidden .lg-guide-pill {
  opacity: 0 !important;
  pointer-events: none !important;
}

.lg-guide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ios-blue-soft);
  flex-shrink: 0;
}

.lg-guide-close {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.10);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s;
}

.lg-guide-close:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #FFFFFF;
}

/* ============================================================
   底部 iOS 27 原生 Liquid Glass 悬浮 Tab Bar + 甲/乙组二级面板
   ============================================================ */
.lg-bottom-dock {
  position: fixed;
  bottom: calc(16px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  pointer-events: none;
}

/* 二级甲/乙组悬浮玻璃卡片 */
.lg-subgroup-sheet {
  pointer-events: auto;
  width: min(820px, calc(100vw - 28px));
  padding: 12px 15px 14px;
  border-radius: 24px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border-strong);
  box-shadow: var(--glass-shadow-elev);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  transform-origin: bottom center;
  transition:
    opacity 0.28s var(--ease-ios),
    transform 0.32s var(--ease-ios),
    max-height 0.3s var(--ease-ios),
    padding 0.28s var(--ease-ios);
  overflow: hidden;
  max-height: 240px;
}

.lg-subgroup-sheet.collapsed {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  pointer-events: none;
}

.lg-subgroup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}

.lg-subgroup-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.lg-subgroup-title .md-icon {
  color: var(--ios-blue-soft);
}

.lg-subgroup-title .sub-en {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}

.lg-subgroup-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 经典 iOS 原生 Segmented Control（无荧光光晕，丝滑细腻） */
.lg-segmented-group {
  display: inline-flex;
  align-items: center;
  padding: 2.5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  gap: 2px;
}

.lg-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 29px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease-ios), color 0.2s var(--ease-ios), transform 0.15s;
}

.lg-seg-btn:hover {
  color: #FFFFFF;
}

.lg-seg-btn:active {
  transform: scale(0.96);
}

.lg-seg-btn.active {
  background: var(--ios-blue);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.22);
}

.lg-seg-btn.active.is-yi {
  background: #5E6CE6;
}

.lg-seg-count {
  font-size: 11px;
  opacity: 0.82;
}

/* 二级展位卡片 */
.lg-vp-cards {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lg-vp-cards::-webkit-scrollbar {
  display: none;
}

.lg-vp-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
  max-width: 240px;
  padding: 6px 9px 6px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s var(--ease-ios), border-color 0.2s, transform 0.18s;
}

.lg-vp-card:hover {
  background: rgba(255, 255, 255, 0.13);
}

.lg-vp-card:active {
  transform: scale(0.97);
}

.lg-vp-card.active {
  background: rgba(10, 132, 255, 0.22);
  border-color: rgba(77, 166, 255, 0.55);
}

.lg-vp-thumb {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
}

.lg-vp-info {
  flex: 1;
  min-width: 0;
}

.lg-vp-info h4 {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.lg-vp-subrow {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lg-mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(10, 132, 255, 0.20);
  color: #8AC8FF;
}

.lg-mini-badge.is-yi {
  background: rgba(123, 137, 255, 0.22);
  color: #C7CEFF;
}

.lg-vp-visited {
  font-size: 10px;
  color: var(--ios-blue-soft);
  display: inline-flex;
  align-items: center;
}

.lg-vp-inspect-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.10);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s;
}

.lg-vp-inspect-btn:hover {
  background: var(--ios-blue);
  color: #FFFFFF;
}

.lg-empty-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px dashed rgba(255, 255, 255, 0.22);
  color: var(--text-secondary);
  font-size: 12px;
}

/* 底部纯净 Apple Liquid Glass 悬浮 Tab Bar */
.lg-nav-bar-wrap {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: var(--glass-border-strong);
  box-shadow: var(--glass-shadow-elev);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  max-width: calc(100vw - 20px);
}

.lg-hall-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lg-hall-nav::-webkit-scrollbar {
  display: none;
}

.lg-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 68px;
  height: 48px;
  padding: 4px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.22s var(--ease-ios), color 0.22s var(--ease-ios), transform 0.16s var(--spring-ios);
}

.lg-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.lg-nav-item:active {
  transform: scale(0.93);
}

.lg-nav-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
}

.lg-nav-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

/* iOS 27 原生内透水晶透镜选中态：纯净微白透底 + 清晰 Apple 蓝图标与文字 */
.lg-nav-item.active {
  background: var(--glass-bg-lens);
  color: var(--ios-blue-soft);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.44);
}

.lg-nav-item.active .lg-nav-label {
  font-weight: 600;
  color: var(--ios-blue-soft);
}

.lg-sheet-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
  flex-shrink: 0;
  transition: background 0.2s var(--ease-ios), color 0.2s, transform 0.16s;
}

.lg-sheet-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.lg-sheet-toggle-btn:active {
  transform: scale(0.92);
}

.lg-sheet-toggle-btn.active {
  background: var(--glass-bg-lens);
  color: var(--ios-blue-soft);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.44);
}

/* 纯净模式恢复按钮 */
#restore-ui-btn {
  position: fixed;
  bottom: calc(24px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border-strong);
  box-shadow: var(--glass-shadow-elev);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s var(--ease-ios);
}

body.ui-hidden #restore-ui-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   3D 空间极简液态玻璃投影标识（去霓虹光环，克制如实体导览牌）
   ============================================================ */
#hotspot-layer {
  position: fixed;
  inset: 0;
  z-index: 16;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s var(--ease-ios);
}

body.ui-hidden #hotspot-layer {
  opacity: 0;
}

.lg-art-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px 0 7px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--spring-ios), background 0.2s, border-color 0.2s;
}

.lg-art-chip:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(10, 132, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.38);
  color: #FFFFFF;
  z-index: 25;
}

.lg-art-chip:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.lg-art-chip .chip-leading {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ios-blue-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lg-art-chip:hover .chip-leading {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.lg-art-chip .chip-group-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.lg-art-chip:hover .chip-group-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.lg-art-chip.is-compact {
  height: 26px;
  padding: 0 8px 0 6px;
  font-size: 11px;
}

.lg-art-chip.is-compact .chip-leading {
  width: 17px;
  height: 17px;
}

/* 室外正门入口：精致 Apple 空间玻璃药丸（静止高级，彻底移除赛博呼吸光圈！） */
.lg-door-fab-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
}

.lg-door-fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border-strong);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: var(--glass-shadow-elev);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.22s var(--spring-ios), background 0.2s, border-color 0.2s;
}

.lg-door-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--ios-blue);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-door-fab-wrap:hover .lg-door-fab {
  transform: scale(1.04);
  background: rgba(16, 22, 32, 0.78);
  border-color: rgba(255, 255, 255, 0.44);
}

.lg-door-fab-wrap:active .lg-door-fab {
  transform: scale(0.96);
}

/* 展厅间通行指示胶囊 */
.lg-wayfind-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--spring-ios), background 0.2s;
}

.lg-wayfind-chip:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(10, 132, 255, 0.86);
  color: #FFFFFF;
}

.lg-wayfind-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

/* ============================================================
   全馆作品总目录（桌面/折叠屏悬浮侧栏，手机端原生 iOS Bottom Sheet）
   ============================================================ */
.lg-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-ios);
}

.lg-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

#catalog-drawer {
  position: fixed;
  top: calc(14px + var(--safe-top));
  right: calc(14px + var(--safe-right));
  bottom: calc(14px + var(--safe-bottom));
  width: min(400px, calc(100vw - 28px));
  z-index: 50;
  background: var(--glass-bg-elevated);
  border: var(--glass-border-strong);
  border-radius: 26px;
  box-shadow: var(--glass-shadow-elev);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 28px));
  transition: transform 0.36s var(--ease-ios);
  overflow: hidden;
}

#catalog-drawer.open {
  transform: translateX(0);
}

.drawer-grabber-wrap {
  display: none;
  justify-content: center;
  padding: 9px 0 2px;
}

.drawer-grabber {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px 12px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.14);
}

.drawer-header h2 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.drawer-group-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.10);
}

.drawer-group-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.drawer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px 11px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.10);
}

.lg-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.lg-filter-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.lg-filter-chip.active {
  background: var(--ios-blue);
  border-color: transparent;
  color: #FFFFFF;
}

.drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  -webkit-overflow-scrolling: touch;
}

.drawer-list::-webkit-scrollbar {
  width: 4px;
}

.drawer-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 999px;
}

.catalog-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  transition: background 0.18s var(--ease-ios), transform 0.16s;
}

.catalog-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.catalog-item:active {
  transform: scale(0.98);
}

.catalog-thumb {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

.catalog-meta {
  flex: 1;
  min-width: 0;
}

.catalog-meta h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-meta p {
  font-size: 11.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.catalog-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.catalog-award-text {
  font-size: 11px;
  color: var(--ios-blue-soft);
  font-weight: 500;
}

/* ============================================================
   作品高清赏析灯箱与影院（克制暗夜毛玻璃画廊）
   ============================================================ */
#lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease-ios);
}

#lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) calc(16px + var(--safe-right)) 12px calc(16px + var(--safe-left));
  background: rgba(18, 20, 26, 0.72);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.lb-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lb-group-chip {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--ios-blue);
  color: #FFFFFF;
  flex-shrink: 0;
}

.lb-group-chip.is-yi {
  background: #5E6CE6;
}

.lb-award-badge {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.10);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.lb-title-group h2 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-top-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.lg-glass-btn,
.lg-blue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.15s;
}

.lg-glass-btn {
  background: rgba(255, 255, 255, 0.10);
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  color: var(--text-primary);
}

.lg-glass-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lg-blue-btn {
  background: var(--ios-blue);
  border: none;
  color: #FFFFFF;
  font-weight: 600;
}

.lg-blue-btn:hover {
  background: #1C8FFF;
}

.lg-glass-btn:active,
.lg-blue-btn:active {
  transform: scale(0.95);
}

.lb-body {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}

.lb-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background: rgba(8, 10, 14, 0.55);
}

.lb-stage.grabbing {
  cursor: grabbing;
}

#lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.08s linear;
  will-change: transform;
}

#lb-hd-img {
  max-width: min(74vw, 1180px);
  max-height: calc(100vh - 148px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

#lb-video-wrap {
  display: none;
  width: min(84%, 1040px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
}

#lb-video-wrap.active {
  display: block;
}

#lb-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background 0.18s, transform 0.18s;
}

.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.06);
}

.lb-arrow.prev { left: 16px; }
.lb-arrow.next { right: 16px; }
.lb-arrow.hidden { display: none; }

.lb-zoom-bar {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 6;
}

.lb-zoom-bar button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.16s;
}

.lb-zoom-bar button:hover {
  background: var(--ios-blue);
  color: #FFFFFF;
}

.lb-zoom-pct {
  min-width: 42px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.lb-zoom-hint {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-left: 5px;
  padding-left: 9px;
  border-left: 0.5px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

/* 灯箱信息侧栏 */
.lb-sidebar {
  width: 344px;
  flex-shrink: 0;
  background: rgba(18, 20, 26, 0.72);
  border-left: 0.5px solid rgba(255, 255, 255, 0.12);
  padding: 16px 16px calc(16px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lb-placard-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.2s var(--ease-ios);
}

.lb-placard-box:hover {
  transform: translateY(-1px);
}

.lb-placard-box img {
  display: block;
  width: 100%;
  height: auto;
}

.lb-placard-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(18, 22, 30, 0.78);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 500;
}

.lb-desc-card {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.10);
}

.lb-desc-card h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ios-blue-soft);
  margin-bottom: 7px;
}

.lb-desc-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-primary);
}

.lb-series-strip {
  display: none;
  flex-direction: column;
  gap: 8px;
}

.lb-series-strip.visible {
  display: flex;
}

.lb-series-strip h3 {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.lb-series-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.series-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.series-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-thumb span {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 1px 4px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.72);
  color: #FFFFFF;
  font-size: 9.5px;
}

.series-thumb.active {
  border-color: var(--ios-blue);
}

/* ============================================================
   轻提示胶囊
   ============================================================ */
#toast {
  position: fixed;
  top: calc(18px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 95;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg-elevated);
  border: var(--glass-border-strong);
  box-shadow: var(--glass-shadow-elev);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease-ios), transform 0.24s var(--ease-ios);
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   多端精工适配：折叠屏展开态 / 平板方屏（data-device="foldable"）
   ============================================================ */
body[data-device="foldable"] .lg-touch-only {
  display: inline-flex;
}

body[data-device="foldable"] .lg-progress-chip,
body[data-device="foldable"] .lg-tooltip {
  display: none;
}

body[data-device="foldable"] #toast {
  top: calc(70px + var(--safe-top));
}

body[data-device="foldable"] .lg-brand-surface {
  max-width: 52vw;
}

body[data-device="foldable"] .lg-subgroup-sheet {
  width: min(720px, calc(100vw - 24px));
}

body[data-device="foldable"] .lg-nav-item {
  min-width: 64px;
}

body[data-device="foldable"] #catalog-drawer {
  width: min(420px, 54vw);
}

body[data-device="foldable"] .lb-body {
  flex-direction: column;
}

body[data-device="foldable"] #lb-hd-img {
  max-width: 92vw;
  max-height: 54vh;
}

body[data-device="foldable"] .lb-sidebar {
  width: 100%;
  max-height: 36vh;
  border-left: none;
  border-top: 0.5px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 14px;
}

body[data-device="foldable"] .lb-series-strip {
  grid-column: 1 / -1;
}

body[data-device="foldable"] .lb-series-grid {
  grid-template-columns: repeat(8, 1fr);
}

/* ============================================================
   多端精工适配：手机竖屏 & 折叠屏外屏（Apple 原生克制高级风）
   ============================================================ */
body[data-device="mobile-portrait"] .lg-touch-only {
  display: inline-flex;
}

body[data-device="mobile-portrait"] .lg-desktop-fold-only,
body[data-device="mobile-portrait"] .lg-progress-chip,
body[data-device="mobile-portrait"] .lg-tooltip,
body[data-device="mobile-portrait"] .lg-subgroup-title .sub-en,
body[data-device="mobile-portrait"] .lb-zoom-hint,
body[data-device="mobile-portrait"] #brand-main-title {
  display: none !important;
}

body[data-device="mobile-portrait"] .lg-top-bar {
  top: calc(12px + var(--safe-top));
  left: calc(12px + var(--safe-left));
  right: calc(12px + var(--safe-right));
  gap: 8px;
}

/* 手机端左侧：极简干练单行胶囊，直接完整展示当前展厅名，0 截断无省略号！ */
body[data-device="mobile-portrait"] .lg-brand-surface {
  height: 40px;
  padding: 0 14px 0 12px;
  gap: 8px;
  max-width: calc(100vw - 180px);
}

body[data-device="mobile-portrait"] .lg-breadcrumb {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  gap: 6px;
}

body[data-device="mobile-portrait"] .lg-toolbar-cluster {
  height: 40px;
  padding: 3px 4px;
  gap: 1px;
}

body[data-device="mobile-portrait"] .lg-icon-btn {
  width: 34px;
  height: 34px;
}

/* 手机端室外主视觉标题：干练平衡单行，彻底告别“活动”孤字掉行 */
body[data-device="mobile-portrait"] .exterior-hero-overlay {
  top: calc(74px + var(--safe-top));
  width: 94vw;
}

body[data-device="mobile-portrait"] .exterior-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

body[data-device="mobile-portrait"] .exterior-title {
  font-size: clamp(18px, 4.95vw, 22px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-bottom: 6px;
}

body[data-device="mobile-portrait"] .exterior-subtitle {
  font-size: 12px;
  letter-spacing: 0.18em;
}

body[data-device="mobile-portrait"] .lg-bottom-dock {
  bottom: calc(12px + var(--safe-bottom));
  max-width: calc(100vw - 20px);
  gap: 8px;
}

body[data-device="mobile-portrait"] .lg-subgroup-sheet {
  width: calc(100vw - 20px);
  padding: 11px 12px 12px;
  border-radius: 22px;
  max-height: 33vh;
}

body[data-device="mobile-portrait"] .lg-subgroup-header {
  margin-bottom: 9px;
  gap: 8px;
}

body[data-device="mobile-portrait"] .lg-seg-btn {
  height: 28px;
  padding: 0 10px;
  font-size: 11.5px;
}

body[data-device="mobile-portrait"] .lg-vp-card {
  min-width: 170px;
  padding: 6px 8px 6px 6px;
  border-radius: 14px;
}

body[data-device="mobile-portrait"] .lg-vp-thumb {
  width: 42px;
  height: 42px;
}

body[data-device="mobile-portrait"] .lg-nav-bar-wrap {
  width: calc(100vw - 20px);
  padding: 4px 5px;
}

body[data-device="mobile-portrait"] .lg-sheet-toggle-btn {
  width: 36px;
  height: 36px;
}

body[data-device="mobile-portrait"] .lg-nav-item {
  min-width: 58px;
  height: 44px;
  padding: 3px 6px;
}

body[data-device="mobile-portrait"] .lg-nav-label {
  font-size: 10px;
}

body[data-device="mobile-portrait"] .lg-guide-pill {
  bottom: calc(78px + var(--safe-bottom));
  font-size: 11.5px;
  padding: 6px 8px 6px 11px;
}

body[data-device="mobile-portrait"] #toast {
  top: calc(60px + var(--safe-top));
}

body[data-device="mobile-portrait"] .lg-door-fab {
  height: 42px;
  padding: 0 14px 0 5px;
  font-size: 13.5px;
}

body[data-device="mobile-portrait"] .lg-door-icon-badge {
  width: 30px;
  height: 30px;
}

body[data-device="mobile-portrait"] .lg-art-chip {
  height: 27px;
  padding: 0 9px 0 6px;
  font-size: 11px;
}

/* 手机竖屏目录转为原生 iOS Bottom Sheet */
body[data-device="mobile-portrait"] #catalog-drawer {
  top: auto;
  left: 8px;
  right: 8px;
  bottom: calc(8px + var(--safe-bottom));
  width: auto;
  height: 76vh;
  border-radius: 26px;
  transform: translateY(calc(100% + 24px));
}

body[data-device="mobile-portrait"] #catalog-drawer.open {
  transform: translateY(0);
}

body[data-device="mobile-portrait"] .drawer-grabber-wrap {
  display: flex;
}

/* 手机竖屏高清灯箱 */
body[data-device="mobile-portrait"] .lb-topbar {
  padding: calc(10px + var(--safe-top)) 12px 10px;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-device="mobile-portrait"] .lb-title-group {
  flex: 1 1 100%;
}

body[data-device="mobile-portrait"] .lb-title-group h2 {
  font-size: 14.5px;
}

body[data-device="mobile-portrait"] .lb-top-controls {
  width: 100%;
  justify-content: flex-end;
  gap: 6px;
}

body[data-device="mobile-portrait"] .lg-glass-btn,
body[data-device="mobile-portrait"] .lg-blue-btn {
  height: 31px;
  padding: 0 11px;
  font-size: 11.5px;
}

body[data-device="mobile-portrait"] .lb-body {
  flex-direction: column;
}

body[data-device="mobile-portrait"] .lb-stage {
  min-height: 46vh;
}

body[data-device="mobile-portrait"] #lb-hd-img {
  max-width: 94vw;
  max-height: 48vh;
}

body[data-device="mobile-portrait"] #lb-video-wrap {
  width: 94vw;
}

body[data-device="mobile-portrait"] .lb-arrow {
  width: 36px;
  height: 36px;
}

body[data-device="mobile-portrait"] .lb-zoom-bar {
  bottom: 10px;
  padding: 4px 8px;
}

body[data-device="mobile-portrait"] .lb-sidebar {
  width: 100%;
  max-height: 38vh;
  border-left: none;
  border-top: 0.5px solid rgba(255, 255, 255, 0.14);
  padding: 12px 14px calc(14px + var(--safe-bottom));
  gap: 10px;
}

body[data-device="mobile-portrait"] .lb-series-grid {
  grid-template-columns: repeat(6, 1fr);
}

/* ============================================================
   多端精工适配：手机横屏（data-device="mobile-landscape"）
   ============================================================ */
body[data-device="mobile-landscape"] .lg-touch-only {
  display: inline-flex;
}

body[data-device="mobile-landscape"] .lg-progress-chip,
body[data-device="mobile-landscape"] .lg-tooltip,
body[data-device="mobile-landscape"] .exterior-eyebrow,
body[data-device="mobile-landscape"] .exterior-subtitle,
body[data-device="mobile-landscape"] #brand-main-title {
  display: none !important;
}

body[data-device="mobile-landscape"] .lg-top-bar {
  top: 8px;
  left: calc(12px + var(--safe-left));
  right: calc(12px + var(--safe-right));
}

body[data-device="mobile-landscape"] .lg-brand-surface,
body[data-device="mobile-landscape"] .lg-toolbar-cluster {
  height: 36px;
}

body[data-device="mobile-landscape"] .lg-breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

body[data-device="mobile-landscape"] .lg-icon-btn {
  width: 30px;
  height: 30px;
}

body[data-device="mobile-landscape"] .exterior-hero-overlay {
  top: 52px;
}

body[data-device="mobile-landscape"] .exterior-title {
  font-size: 20px;
}

body[data-device="mobile-landscape"] .lg-bottom-dock {
  bottom: 8px;
}

body[data-device="mobile-landscape"] .lg-nav-item {
  min-width: 58px;
  height: 40px;
  padding: 2px 6px;
}

body[data-device="mobile-landscape"] .lg-subgroup-sheet {
  max-height: 150px;
  padding: 9px 12px;
}

body[data-device="mobile-landscape"] .lg-guide-pill {
  bottom: 64px;
  font-size: 11px;
  padding: 5px 10px;
}

body[data-device="mobile-landscape"] .lb-sidebar {
  width: 280px;
  padding: 12px;
}
