.debug-panel {
  position: fixed;
  top: 3%;
  left: 50%;
  width: 90%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(28, 32, 38, 0.58);
  color: #e0e0e0;
  border-radius: 0;
  padding: 6px 6px 4px 6px;
  min-width: 260px;
  max-width: 400px;
  max-height: 50vh;
  overflow-y: auto;
  backdrop-filter: blur(8px);
  border: 2px solid red;
}
.debug-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.debug-panel-inner .debug-panel-header {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.debug-panel-inner .debug-panel-header .spine-player-test-btn {
  width: 100%;
  padding: 6px 10px;
  background: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: bold;
}
.debug-panel-inner .debug-panel-header .spine-player-test-btn:hover {
  background: #5a7fb5;
}
.debug-panel-inner .debug-panel-header .spine-player-test-btn:active {
  background: #3a5f95;
}
.ai-companion-chat-page {
  height: 100%;
  position: relative;
  overflow: hidden;
  /* 多彩渐变背景，动态呼吸，渐变角度连续变化，颜色平滑来回循环 */
  background: linear-gradient(120deg, #ffecd2 0%, #fcb69f 25%, #a1c4fd 50%, #c2e9fb 75%, #fbc2eb 100%), linear-gradient(240deg, #a8edea 0%, #fed6e3 25%, #ffecd2 50%, #fcb69f 75%, #a1c4fd 100%), linear-gradient(360deg, #f093fb 0%, #f5576c 25%, #4facfe 50%, #00f2fe 75%, #43e97b 100%);
  background-size: 400% 400%, 400% 400%, 400% 400%;
  background-blend-mode: overlay, soft-light, normal;
  animation: colorfulBreathingGradient 60s ease-in-out infinite alternate, colorShift 30s ease-in-out infinite alternate;
}
.ai-companion-chat-page .chat-nav-bar {
  flex-shrink: 0;
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
  z-index: 1000;
}
.ai-companion-chat-page .chat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}
.ai-companion-chat-page .chat-content .chat-message-box {
  flex: 1;
  min-height: 0;
}
.ai-companion-chat-page .ai-avatar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  margin-top: 5px;
  position: relative;
  z-index: 10;
  border-radius: 20px;
  margin: 5px 20px 0 20px;
  isolation: isolate;
  flex-shrink: 0;
  height: 140px;
}
.ai-companion-chat-page .ai-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  isolation: isolate;
}
.ai-companion-chat-page .ai-avatar .avatar-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: avatarBreathing 4s ease-in-out infinite;
  isolation: isolate;
}
.ai-companion-chat-page .ai-avatar .avatar-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}
.ai-companion-chat-page .ai-avatar .avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.ai-companion-chat-page .ai-avatar .avatar-image .avatar-audio-halo {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff, #5f27cd, #ff6b6b);
  opacity: calc(var(--audio-intensity, 0) * 0.6);
  animation: haloRotate 4s linear infinite;
  z-index: -1;
  filter: blur(3px);
  transform: scale(calc(1 + var(--audio-intensity, 0) * 0.4));
  transition: all 0.15s ease-out;
  box-shadow: 0 0 20px rgba(255, 107, 107, calc(var(--audio-intensity, 0) * 0.3)), 0 0 40px rgba(78, 205, 196, calc(var(--audio-intensity, 0) * 0.2)), 0 0 60px rgba(69, 183, 209, calc(var(--audio-intensity, 0) * 0.1));
}
.ai-companion-chat-page .voice-button-container {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  backdrop-filter: blur(10px);
  height: 80px;
}
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  }
}
@keyframes statusPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes avatarBreathing {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
}
/* 渐变颜色平滑来回动画 */
@keyframes colorfulBreathingGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* 颜色偏移动画 - 通过改变渐变位置实现颜色变化 */
@keyframes colorShift {
  0% {
    background-position: 0% 50%, 100% 50%, 50% 0%;
  }
  25% {
    background-position: 100% 50%, 0% 50%, 50% 100%;
  }
  50% {
    background-position: 50% 0%, 50% 100%, 0% 50%;
  }
  75% {
    background-position: 50% 100%, 50% 0%, 100% 50%;
  }
  100% {
    background-position: 0% 50%, 100% 50%, 50% 0%;
  }
}
/* 光圈旋转动画 */
@keyframes haloRotate {
  0% {
    transform: rotate(0deg) scale(calc(1 + var(--audio-intensity, 0) * 0.4));
  }
  100% {
    transform: rotate(360deg) scale(calc(1 + var(--audio-intensity, 0) * 0.4));
  }
}
.chat-message-box {
  position: relative;
  width: 95%;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding-left: 15px;
  padding-right: 15px;
  scroll-behavior: smooth;
}
.chat-message-box .chat-message-item {
  display: flex;
  animation: messageSlideIn 0.3s ease-out;
}
.chat-message-box .chat-message-item.user {
  justify-content: flex-start;
}
.chat-message-box .chat-message-item.user .chat-message-bubble {
  color: #717171;
  border-radius: 20px 20px 20px 4px;
  max-width: 90%;
  padding-bottom: 6px;
}
.chat-message-box .chat-message-item.ai {
  justify-content: flex-start;
  padding-bottom: 12px;
}
.chat-message-box .chat-message-item.ai .chat-message-bubble {
  backdrop-filter: blur(20px);
  color: #000000;
  border-radius: 12px 12px 12px 2px;
  max-width: 90%;
  background: linear-gradient(135deg, #ff9a9dba 0%, #fecfefb2 100%);
  box-shadow: 0 4px 12px rgba(255, 154, 158, 0.7);
}
.chat-message-box .chat-message-item .chat-message-bubble {
  padding: 10px 14px;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
}
.chat-message-box .chat-message-item .chat-message-bubble .chat-message-text {
  font-size: 16px;
  white-space: pre-wrap;
}
.chat-message-box .chat-message-item .chat-message-bubble .chat-message-text .streaming-cursor {
  animation: blink 1s infinite;
  color: #667eea;
  font-weight: bold;
}
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
.voice-chat-button-wrapper {
  position: relative;
  display: inline-block;
  height: 100px;
  width: 100%;
  margin-bottom: 0;
}
.voice-chat-button {
  height: 100px;
  width: 100%;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  border-radius: 8px;
  background: transparent;
  display: block;
  z-index: 100;
}
.voice-chat-button:hover:not(:disabled) {
  transform: scale(1.02);
  border-color: rgba(102, 126, 234, 0.4);
}
.voice-chat-button:active:not(:disabled) {
  transform: scale(0.98);
}
.voice-chat-button.disconnected {
  border-color: rgba(108, 117, 125, 0.3);
  color: #6c757d;
  cursor: not-allowed;
}
.voice-chat-button.cancelling {
  transform: scale(0.95);
}
.voice-chat-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}
.voice-chat-button .icon-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 50%;
  padding: 12px;
  border-radius: 50%;
}
.voice-chat-button .icon-text-container .stop-icon {
  width: 24px;
  height: 24px;
  background: #5975f1;
  border-radius: 50%;
  margin-bottom: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.voice-chat-button .icon-text-container .stop-icon.recording {
  border-radius: 5px;
  animation: iconPulse 1.5s infinite;
}
.processing .voice-chat-button .icon-text-container .stop-icon {
  background: #feca57;
  animation: iconPulse 2s infinite;
}
.disconnected .voice-chat-button .icon-text-container .stop-icon {
  background: #6c757d;
}
.voice-chat-button .icon-text-container .voice-chat-button-content {
  color: #667eea;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  font-size: 16px;
  line-height: 1.2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4px;
}
.recording .voice-chat-button .icon-text-container .voice-chat-button-content {
  color: #ff8181;
}
.processing .voice-chat-button .icon-text-container .voice-chat-button-content {
  color: #feca57;
}
.disconnected .voice-chat-button .icon-text-container .voice-chat-button-content {
  color: #6c757d;
}
.recording .voice-chat-button .icon-text-container {
  animation: iconContainerPulse 1.5s infinite;
}
.processing .voice-chat-button .icon-text-container {
  animation: processingIconContainerPulse 2s infinite;
}
.voice-chat-button .visualizer-container {
  background-color: red;
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 1;
  height: 120px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.recording .voice-chat-button .visualizer-container {
  opacity: 1;
}
@keyframes iconContainerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 107, 107, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
  }
}
@keyframes processingIconContainerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 202, 87, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(254, 202, 87, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 202, 87, 0.4);
  }
}
@keyframes iconPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.record-audio-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  width: auto;
  position: relative;
  background: transparent;
}
.record-audio-bar {
  width: 8px;
  background: #667eea;
  border-radius: 4px;
  align-self: center;
  min-height: 6px;
}
#root {
	/* max-width: 1280px;
  margin: 0 auto; */
	/* padding: 2rem; */
	/* text-align: center; */
	background-color: black;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.view-frame {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

/* iOS风格页面切换动画 */
.page-animated {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: black;
	box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.04);
	will-change: transform, box-shadow;
	z-index: 1;
}
.page-animated.forward {
	z-index: 2;
}
.page-animated.backward {
	z-index: 2;
}

/* 新页面进入 */
.page-fade-enter {
	z-index: 2;
	transform: translateX(100%) scale(1);
	box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.08);
}
.page-fade-enter-active {
	transform: translateX(0) scale(1);
	transition:
		transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 400ms;
	box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.04);
}

/* 旧页面离开 */
.page-fade-exit {
	z-index: 1;
	transform: translateX(0) scale(1);
	box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.04);
}
.page-fade-exit-active {
	transform: translateX(-30%) scale(0.96);
	transition:
		transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 400ms;
	box-shadow: 0 0 32px 0 rgba(0, 0, 0, 0.1);
}

/* 前进：右→左 */
.page-slide-left-enter {
	transform: translateX(100%);
}
.page-slide-left-enter-active {
	transform: translateX(0);
	transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.page-slide-left-exit {
	transform: translateX(0);
}
.page-slide-left-exit-active {
	transform: translateX(-30%);
	transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 返回：左→右 */
.page-slide-right-enter {
	transform: translateX(-30%);
}
.page-slide-right-enter-active {
	transform: translateX(0);
	transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.page-slide-right-exit {
	transform: translateX(0);
}
.page-slide-right-exit-active {
	transform: translateX(100%);
	transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* iOS 双页面动画 */
.page-transition--push-old {
	z-index: 1;
	animation: pushOld 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
	pointer-events: none;
}
.page-transition--push-new {
	z-index: 2;
	animation: pushNew 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
	pointer-events: none;
}

@keyframes pushOld {
	from {
		transform: translateX(0) scale(1);
		visibility: visible;
	}
	to {
		transform: translateX(-30%) scale(0.96);
		visibility: hidden;
	}
}
@keyframes pushNew {
	from {
		transform: translateX(100%) scale(1);
		visibility: visible;
	}
	to {
		transform: translateX(0) scale(1);
		visibility: visible;
	}
}

.page-transition--pop-old {
	z-index: 2;
	animation: popOld 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
	pointer-events: none;
}
.page-transition--pop-new {
	z-index: 1;
	animation: popNew 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
	pointer-events: none;
}

@keyframes popOld {
	from {
		transform: translateX(0) scale(1);
		visibility: visible;
	}
	to {
		transform: translateX(100%) scale(1);
		visibility: hidden;
	}
}
@keyframes popNew {
	from {
		transform: translateX(-30%) scale(0.96);
		visibility: visible;
	}
	to {
		transform: translateX(0) scale(1);
		visibility: visible;
	}
}

/* 页面切换动画过程中的视觉提示 */
.page-transition--push-old,
.page-transition--push-new,
.page-transition--pop-old,
.page-transition--pop-new {
  /* 动画过程中禁用点击 */
  pointer-events: none;
}

/* 老页面隐藏时的样式 */
.page-transition--push-old,
.page-transition--pop-old {
  /* 确保老页面在动画结束后完全隐藏 */
  will-change: transform, visibility;
}
.navigation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.navigation-bar.dark-mode {
  background: rgba(28, 28, 30, 0.95);
  border-bottom: 1px solid #48484A;
}
.navigation-bar-left {
  display: flex;
  align-items: center;
  min-width: 60px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.navigation-bar-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  padding: 0 8px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dark-mode .navigation-bar-center {
  color: #FFFFFF;
}
.navigation-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 60px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.navigation-bar-back {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0px;
  border-radius: 4px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 40px;
  min-height: 40px;
  height: 100%;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  color: #FFFFFF;
}
.navigation-bar-back:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}
.navigation-bar-back:active {
  background-color: rgba(255, 255, 255, 0.12);
  transform: scale(0.98);
}
.dark-mode .navigation-bar-back {
  color: #FFFFFF;
}
.dark-mode .navigation-bar-back:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.dark-mode .navigation-bar-back:active {
  background-color: rgba(255, 255, 255, 0.12);
}
.person-btn {
  height: 52px;
  width: 52px;
  font-size: 14px;
  color: #FFFFFF;
  background: #000000;
  border: 1px solid #48484A;
  border-radius: 24px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: center;
  justify-content: center;
}
.person-btn .person-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.person-btn img {
  margin: 0;
}
.person-btn:active {
  background: #1C1C1E;
  transform: scale(0.9);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.15);
}
.person-btn:hover {
  background: #1C1C1E;
  border-color: #38383A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.role-popover-container {
  border-radius: 8px;
  background: black;
}
.role-popover-container .role-popover .role-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
}
.role-popover-container .role-popover .role-option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.role-popover-container .role-popover .role-option.active {
  background: rgba(0, 122, 255, 0.15);
}
.role-popover-container .role-popover .role-option.active .role-label {
  color: #007AFF;
  font-weight: 600;
}
.role-popover-container .role-popover .role-option.active .check-icon {
  color: #007AFF;
  font-weight: bold;
}
.role-popover-container .role-popover .role-option .role-label {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
}
.role-popover-container .role-popover .role-option .check-icon {
  color: #007AFF;
  font-size: 16px;
}
.search-btn {
  font-size: 28px;
  color: #FFFFFF;
  background: #000000;
  border: 1px solid #48484A;
  border-radius: 9999px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.search-btn:active {
  background: #1C1C1E;
  transform: scale(0.9);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.15);
}
.search-btn:hover {
  background: #1C1C1E;
  border-color: #38383A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.qrcode-btn {
  height: 52px;
  width: 52px;
  font-size: 14px;
  color: #FFFFFF;
  background: #000000;
  border: 1px solid #48484A;
  border-radius: 24px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: center;
  justify-content: center;
}
.qrcode-btn .qrcode-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.qrcode-btn img {
  margin: 0;
}
.qrcode-btn:active {
  background: #1C1C1E;
  transform: scale(0.9);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.15);
}
.qrcode-btn:hover {
  background: #1C1C1E;
  border-color: #38383A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
:global(.adm-image-viewer) {
  z-index: 9999 !important;
}
:global(.adm-image-viewer .adm-image-viewer-image) {
  margin-top: -10vh !important;
}
.qr-modal .qr-modal-content {
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
}
.qr-modal .qr-modal-body {
  text-align: center;
}
.qr-modal .qr-modal-body .qr-modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.qr-modal .qr-modal-body .qr-modal-description {
  font-size: 16px;
  color: #EBEBF5;
  margin-bottom: 32px;
  line-height: 1.4;
}
.qr-modal .qr-modal-body .qr-modal-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1C1C1E;
  border-radius: 16px;
  margin: 0 auto;
  max-width: 280px;
}
.qr-modal .qr-modal-body .qr-modal-qr .qr-large-icon {
  width: 160px;
  height: 160px;
  filter: brightness(0) invert(1);
}
.search-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 101;
  height: 65px;
  overflow: hidden;
  transition: height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 4px;
  pointer-events: auto;
}
.search-bar.hidden {
  height: 0;
  box-shadow: none;
  pointer-events: none;
}
.search-bar .camera-button {
  color: #007AFF;
  background: transparent;
  height: 42px;
  width: 32px;
  border-radius: 12px;
  padding: 0;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.search-bar .camera-button img {
  display: block;
  margin: 0;
  padding: 0;
}
.search-bar .camera-button:active {
  transform: scale(0.9);
}
.search-bar .search-input-container {
  flex: 1;
  margin-right: 8px;
}
.search-bar .search-input-wrapper {
  background: #2C2C2E;
  border-radius: 8px;
  padding: 9px 8px;
  display: flex;
  align-items: center;
}
.search-bar .search-input {
  --color: white;
  border: none;
  background: transparent;
  font-size: 16px;
  flex: 1;
  color: #FFFFFF;
}
.search-bar .search-input::placeholder {
  color: #EBEBF599;
}
.search-bar .cancel-button {
  color: #007AFF;
  background: transparent;
  height: 36px;
  border-radius: 12px;
  padding: 0px 8px;
  border: none;
  font-size: 16px;
  font-weight: 500;
}
.search-bar .cancel-button:active {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.like-button-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.like-button-container .like-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}
.like-button-container .like-button:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.2) !important;
}
.like-button-container .like-button.liked {
  animation: like-pulse 0.6s ease-out;
  background: #ff4757 !important;
  border-color: #ff4757 !important;
  color: #fff !important;
}
.like-button-container .like-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: scale(0.95);
}
.like-button-container .like-button :global(.antd-mobile-icon) {
  font-size: 16px;
  transition: transform 0.3s ease;
}
.like-button-container .like-button.liked :global(.antd-mobile-icon) {
  transform: scale(1.2);
}
@keyframes like-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.toast-banner {
  position: fixed;
  width: 280px;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}
.toast-banner.top {
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
}
.toast-banner.top.show {
  transform: translateX(-50%) translateY(0);
}
.toast-banner.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
}
.toast-banner.center.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.toast-banner.bottom {
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
}
.toast-banner.bottom.show {
  transform: translateX(-50%) translateY(0);
}
.toast-banner.success {
  background: linear-gradient(135deg, #52c41a, #73d13d);
  color: white;
}
.toast-banner.info {
  background: linear-gradient(135deg, #1890ff, #40a9ff);
  color: white;
}
.toast-banner.warning {
  background: linear-gradient(135deg, #faad14, #ffc53d);
  color: white;
}
.toast-banner.error {
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: white;
}
.toast-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-banner .banner-content .banner-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.toast-banner .banner-content .banner-message {
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
}
.toast-banner:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}
.toast-banner.center:hover {
  transform: translate(-50%, -50%) scale(1.02);
}
.toast-banner.bottom:hover {
  transform: translateX(-50%) translateY(2px);
}
:global .adm-popup .adm-popup-body {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
:global .adm-popup.adm-popup-bottom .adm-popup-body {
  transform-origin: bottom;
}
:global .adm-mask {
  transition: opacity 0.3s ease-out !important;
}
.popup-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: right;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(28, 28, 30, 0.95) 0%, rgba(28, 28, 30, 0.8) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.action-buttons {
  display: flex;
  align-items: right;
  gap: 12px;
}
.detail-button {
  background: #1a1a1a;
  color: #FFFFFF !important;
  border: 1px solid #444444;
  border-radius: 32px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.detail-button:active {
  background: linear-gradient(135deg, #495057 0%, #343A40 100%) !important;
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(108, 117, 125, 0.3);
}
.explain-button {
  background: #1565C0 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 32px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  box-shadow: 0 3px 12px rgba(25, 118, 210, 0.35);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 100px;
}
.explain-button:active {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%) !important;
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.4);
}
.popup-content {
  padding: 32px;
  background: #1C1C1E;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.relic-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 24px;
}
.relic-image {
  width: 85vw;
  height: 85vw;
  object-fit: cover;
  border-radius: 16px;
  background: #2C2C2E;
}
.explain-toggle-button {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-weight: 500;
  border-radius: 32px !important;
  padding: 8px 12px !important;
  backdrop-filter: blur(10px);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.explain-toggle-button.enabled {
  color: #007AFF !important;
  background: rgba(0, 122, 255, 0.15) !important;
  border-color: rgba(0, 122, 255, 0.3) !important;
}
.explain-toggle-button.enabled:active {
  background: rgba(0, 122, 255, 0.25) !important;
  transform: scale(0.95);
}
.explain-toggle-button.disabled {
  color: #EBEBF599 !important;
}
.explain-toggle-button.disabled:active {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: scale(0.95);
}
.relic-name {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 12px;
  text-align: center;
  color: #FFFFFF;
}
.relic-category {
  margin-bottom: 12px;
}
.relic-category .category-tag {
  display: inline-block;
  background: rgba(0, 122, 255, 0.1);
  color: #007AFF;
  font-size: 12px;
  border-radius: 12px;
  padding: 8px 12px;
  border: 1px solid #007AFF;
}
.relic-description {
  color: #EBEBF5;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  max-height: 180px;
  overflow-y: auto;
}
.ai-explain-button {
  width: 100%;
  background: #007AFF;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 600;
  padding: 12px 0;
  margin-top: auto;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ai-explain-button:active {
  background: #0056CC;
  transform: scale(0.98);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1);
}
.search-result-card {
  display: flex;
  align-items: flex-start;
  background: #2C2C2E;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}
.search-result-card:active {
  transform: scale(0.98);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1);
  background: #2C2C2E;
}
.search-result-card:hover {
  background: #2C2C2E;
  border-color: #38383A;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}
.search-result-card .card-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: #2C2C2E;
  margin-right: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.search-result-card .card-content {
  flex: 1;
  min-width: 0;
}
.search-result-card .card-content .card-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
  color: #FFFFFF;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-card .card-content .card-description {
  color: #EBEBF5;
  font-size: 14px;
  line-height: 1.4;
  max-height: calc(1.4 * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}
.search-result-card .card-content .card-category {
  display: flex;
  align-items: center;
}
.search-result-card .card-content .card-category .category-tag {
  display: inline-block;
  background: rgba(0, 122, 255, 0.1);
  color: #007AFF;
  font-size: 12px;
  border-radius: 8px;
  padding: 4px 8px;
  border: 1px solid #007AFF;
  font-weight: 500;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.search-result-card .card-content .card-category .category-tag:hover {
  background: #007AFF;
  color: #FFFFFF;
}
.search-result-popup {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.search-result-popup .search-result-popup-header {
  justify-content: flex-start;
  padding: 16px 24px;
  border-bottom: 1px solid #38383A;
}
.search-result-popup .search-result-popup-header .popup-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
}
.search-result-popup .search-result-popup-header .results-count {
  margin-left: 15px;
  font-size: 14px;
  color: #EBEBF5;
  font-weight: 400;
}
.search-result-popup .popup-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.search-result-popup .popup-content::-webkit-scrollbar {
  display: none;
}
.search-result-popup .search-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}
.search-result-popup .search-loading-container .search-loading {
  margin-bottom: 16px;
  color: #007AFF;
}
.search-result-popup .search-loading-container .loading-text {
  color: #EBEBF5;
  font-size: 14px;
  font-weight: 500;
}
.search-result-popup .no-results-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
  padding: 32px;
}
.search-result-popup .no-results-container .no-results-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}
.search-result-popup .no-results-container .no-results-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.search-result-popup .no-results-container .no-results-description {
  font-size: 14px;
  color: #EBEBF599;
  line-height: 1.4;
  max-width: 280px;
}
.search-result-popup .results-container .search-result-card {
  margin-bottom: 16px;
}
.search-result-popup .results-container .search-result-card:last-child {
  margin-bottom: 0;
}
.record-button {
  width: 130px;
  height: 130px;
  border-radius: 130px;
  background: transparent;
  color: white;
  border: 2px solid #EBEBF5;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-context-menu: none;
  -moz-context-menu: none;
  -ms-context-menu: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
  -webkit-touch-action: manipulation;
  -ms-touch-action: manipulation;
  backdrop-filter: blur(3px);
}
.record-button:active {
  transform: scale(0.93);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.record-button:focus {
  outline: none;
}
@media (hover: none) and (pointer: coarse) {
  .record-button:active:not(:disabled) {
    transform: scale(0.95);
  }
}
.record-button.recording {
  color: #fff;
  box-shadow: 0 0 20px rgba(253, 253, 253, 0.6), 0 8px 32px rgba(231, 76, 60, 0.18);
}
.record-button.processing {
  background: linear-gradient(135deg, #f39c12 0%, #f4b350 100%);
  cursor: not-allowed;
}
.record-button.disconnected {
  background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
  cursor: not-allowed;
  opacity: 0.7;
  color: #b4b4b4;
}
.record-button.initializing {
  background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
  cursor: not-allowed;
  color: #b4b4b4;
  opacity: 0.7;
  animation: pulse 2s infinite;
}
.record-button.cancelling {
  background: #ff4d4f;
  color: #fff;
  border-color: #ff4d4f;
  cursor: not-allowed;
}
.record-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.record-button .mic-icon {
  font-size: 24px;
  line-height: 1;
}
@media (max-width: 768px) {
  .record-button {
    width: 120px;
    height: 120px;
    border-radius: 120px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .record-button {
    width: 110px;
    height: 110px;
    border-radius: 110px;
    font-size: 16px;
  }
}
.record-button-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.record-button-icon.mic-icon img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}
.record-button-icon.cancel-icon {
  animation: slideInFromBottom 0.3s ease-out;
  will-change: transform, opacity;
}
.record-button-icon.cancel-icon svg {
  display: block;
  font-size: 48px;
  color: white;
}
@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translate(-50%, 0px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes pulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes scaleIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.record-button-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  font-size: 22px;
  font-weight: 500;
  user-select: none;
  touch-action: none;
}
.record-btn-wrapper {
  position: relative;
  display: inline-block;
  touch-action: none;
  pointer-events: auto;
}
.record-button-base {
  position: relative;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1000;
}
.record-button-visualizer-container {
  display: flex;
  transition: opacity 0.3s ease;
}
.record-button-visualizer-container.hidden {
  display: none;
}
.record-button-visualizer-container.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.record-button-visualizer-container:not(.hidden) {
  animation: scaleIn 0.3s ease-out;
}
.record-button-text-below {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  color: white;
  font-size: 18px;
  font-weight: 450;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .record-button-text-below {
    font-size: 16px;
    margin-top: 10px;
  }
}
@media (max-width: 480px) {
  .record-button-text-below {
    font-size: 14px;
    margin-top: 8px;
  }
}
.record-button-text-above {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 12px;
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  transition: all 0.3s ease;
  animation: slideInFromBottom 0.3s ease-out;
}
.record-button-text-above.cancelling {
  color: #FF6961;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: pulse 0.6s ease-in-out infinite;
}
@media (max-width: 768px) {
  .record-button-text-above {
    font-size: 16px;
    margin-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .record-button-text-above {
    font-size: 14px;
    margin-bottom: 8px;
  }
}
.asr-bubble {
  bottom: 110%;
}
.layered-chat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90vw;
  max-width: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.layered-chat-bubble.one-layer .bubble-layer:not(:first-child) {
  opacity: 0;
  transform: translateY(0) scale(0.95);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
}
.layered-chat-bubble.two-layers .bubble-layer {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  max-height: none;
  overflow: visible;
}
.layered-chat-bubble.destroying {
  transform: translate(60px, 40px) scale(0.2);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.layered-chat-bubble.destroying .bubble-container {
  transform: scale(0.6);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.layered-chat-bubble .bubble-container {
  margin: 0 auto;
  min-width: 100%;
}
.bubble-container {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: visible;
}
.bubble-layer {
  position: relative;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.4;
  word-break: break-word;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bubble-layer::-webkit-scrollbar {
  display: none;
}
.bubble-layer.asr-layer {
  background: transparent;
  color: #6c757d;
  position: relative;
  width: 100%;
}
.bubble-layer.asr-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.bubble-layer.asr-layer.partial::before {
  background: rgba(108, 117, 125, 0.4);
}
.bubble-layer.asr-layer.partial .typing-indicator {
  color: #6c757d;
  animation: blink 1s infinite;
}
.bubble-layer.asr-layer.final::before {
  background: rgba(108, 117, 125, 0.4);
}
.bubble-layer.llm-layer {
  background: transparent;
  color: #FFFFFF;
  position: relative;
  width: 100%;
}
.bubble-layer.llm-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.bubble-layer.llm-layer.streaming::before {
  background: rgba(0, 123, 255, 0.4);
}
.bubble-layer.llm-layer.streaming .streaming-cursor {
  color: #007bff;
  animation: blink 1s infinite;
}
.bubble-layer.llm-layer.streaming .bubble-text-container {
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
}
.bubble-layer.llm-layer.complete::before {
  background: rgba(0, 123, 255, 0.4);
}
.bubble-layer.llm-layer.complete .bubble-text-container {
  scroll-behavior: smooth;
}
.bubble-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bubble-content::-webkit-scrollbar {
  display: none;
}
.bubble-text {
  display: inline;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
  width: max-content;
  min-width: 0;
  flex-shrink: 0;
}
.bubble-text-container {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
  scroll-snap-type: x proximity;
}
.bubble-text-container::-webkit-scrollbar {
  display: none;
}
.bubble-text-container .bubble-text {
  display: inline;
  white-space: nowrap;
  word-break: keep-all;
  min-width: 0;
  text-overflow: clip;
  width: max-content;
}
.typing-indicator,
.streaming-cursor {
  margin-left: 2px;
  font-weight: bold;
  display: inline;
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
.bubble-layer.asr-layer,
.bubble-layer.llm-layer {
  scroll-behavior: smooth;
}
.bubble-layer.asr-layer.streaming .bubble-text-container,
.bubble-layer.llm-layer.streaming .bubble-text-container,
.bubble-layer.asr-layer.partial .bubble-text-container,
.bubble-layer.llm-layer.partial .bubble-text-container {
  scroll-behavior: auto;
}
.bubble-content {
  scroll-behavior: smooth;
}
.bubble-layer.partial .bubble-content,
.bubble-layer.streaming .bubble-content {
  scroll-behavior: auto;
}
.bubble-content.auto-scroll {
  scroll-behavior: auto;
}
@media (max-width: 768px) {
  .layered-chat-bubble {
    width: 90vw;
  }
  .bubble-container {
    border-radius: 16px;
  }
  .bubble-layer {
    padding: 10px 14px;
    font-size: 15px;
  }
}
@media (prefers-contrast: high) {
  .bubble-container {
    border-width: 2px;
    border-color: #ffffff;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }
  .bubble-layer.asr-layer {
    color: #ffffff;
  }
  .bubble-layer.llm-layer {
    color: #ffffff;
  }
  .bubble-layer.llm-layer::before {
    background: #ffffff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .layered-chat-bubble,
  .bubble-container,
  .bubble-layer,
  .bubble-text {
    transition: none;
    animation: none;
  }
  .typing-indicator,
  .streaming-cursor {
    animation: none;
  }
}
.chat-history-popover {
  background: #1C1C1E;
  min-height: 300px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 12px;
  border-bottom: 1px solid #48484A;
  background: #1C1C1E;
}
.popover-header .popover-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
}
.popover-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.popover-header .header-actions .clear-button {
  background: transparent;
  border: 1px solid #48484A;
  color: #EBEBF5;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.popover-header .header-actions .clear-button:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.95);
}
.popover-header .header-actions .close-button {
  background: transparent;
  color: #EBEBF5;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.popover-header .header-actions .close-button:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.95);
}
.chat-history-content {
  flex: 1;
  overflow: hidden;
}
.chat-history-content::-webkit-scrollbar {
  display: none;
}
.chat-history-content .chat-messages-list {
  background: transparent;
  max-height: 60vh;
  overflow-y: auto;
}
.chat-history-content .chat-message {
  margin: 12px;
}
.chat-history-content .chat-message .message-content .message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.chat-history-content .chat-message .message-content .message-header .message-role {
  font-size: 12px;
  font-weight: 500;
  color: #EBEBF5;
}
.chat-history-content .chat-message .message-content .message-header .message-time {
  font-size: 8px;
  color: #EBEBF599;
}
.chat-history-content .chat-message .message-content .message-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFFFFF;
  word-break: break-word;
  white-space: pre-wrap;
}
.chat-history-content .chat-message.user .message-content .message-header .message-role {
  color: #EBEBF599;
}
.chat-history-content .chat-message.user .message-content .message-text {
  background: #2C2C2E;
  padding: 12px;
  border-radius: 12px;
  color: #EBEBF599;
}
.chat-history-content .chat-message.ai .message-content .message-header .message-role {
  color: #007AFF;
}
.chat-history-content .chat-message.ai .message-content .message-text {
  background: rgba(0, 122, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #007AFF;
  color: #FFFFFF;
}
.chat-history-content .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  color: #EBEBF5;
}
.chat-history-content .empty-state .adm-empty-description {
  color: #EBEBF5;
}
.components-stack-view {
  position: absolute;
  bottom: 9.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 90%;
  max-width: 400px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.button-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layered-chat-bubble-container {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  margin-bottom: 10px;
  width: 100vw;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.list-button {
  position: absolute;
  left: -80px;
  width: 60px;
  height: 60px;
  border-radius: 60px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  backdrop-filter: blur(3px);
}
.list-button img {
  display: block;
  margin: 0;
  padding: 0;
}
.list-button:active {
  transform: scale(0.93);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}
.list-button:focus {
  outline: none;
}
@media (hover: none) and (pointer: coarse) {
  .list-button:active:not(:disabled) {
    transform: scale(0.95);
  }
}
.history-button {
  position: absolute;
  right: -80px;
  width: 60px;
  height: 60px;
  border-radius: 60px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  backdrop-filter: blur(3px);
}
.history-button img {
  display: block;
  margin: 0;
  padding: 0;
}
.history-button:active {
  transform: scale(0.93);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}
.history-button:focus {
  outline: none;
}
@media (hover: none) and (pointer: coarse) {
  .history-button:active:not(:disabled) {
    transform: scale(0.95);
  }
}
.chat-container {
  width: 100%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}
.chat-container.shifted-up {
  transform: translateY(0px);
}
.image-displayer-container {
  max-width: 75%;
  pointer-events: auto;
  background: transparent;
  min-height: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.image-displayer-container:has(.image-card-displayer.visible) {
  min-height: 200px;
}
.image-displayer {
  pointer-events: auto;
}
.__floater__overlay,
.react-joyride__overlay {
  background-color: rgba(0, 0, 0, 0.85) !important;
}
.guidance-content .guidance-text {
  color: white;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}
.custom-tooltip {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.custom-tooltip .tooltip-content {
  padding: 20px 20px 16px;
}
.custom-tooltip .tooltip-content .tooltip-title {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  line-height: 1.3;
}
.custom-tooltip .tooltip-content .tooltip-text {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.custom-tooltip .tooltip-footer .tooltip-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}
.custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}
.custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn.tooltip-btn-primary {
  background: #3b82f6;
  color: #fff;
}
.custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn.tooltip-btn-primary:active {
  background: #2563eb;
  transform: scale(0.98);
}
.custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn.tooltip-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}
.custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn.tooltip-btn-secondary:active {
  background: #e5e7eb;
  transform: scale(0.98);
}
.custom-tooltip .tooltip-footer .tooltip-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.custom-tooltip .tooltip-footer .tooltip-meta .tooltip-progress {
  font-size: 12px;
  color: #9ca3af;
}
.custom-tooltip .tooltip-footer .tooltip-meta .tooltip-skip {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.custom-tooltip .tooltip-footer .tooltip-meta .tooltip-skip:active {
  background: #f3f4f6;
  color: #6b7280;
}
@media (max-width: 768px) {
  .custom-tooltip {
    max-width: 220px;
  }
  .custom-tooltip .tooltip-content {
    padding: 12px 16px 12px;
  }
  .custom-tooltip .tooltip-content .tooltip-title {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .custom-tooltip .tooltip-content .tooltip-text {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
  }
  .custom-tooltip .tooltip-footer {
    padding: 0 12px 10px;
  }
  .custom-tooltip .tooltip-footer .tooltip-actions {
    gap: 10px;
    margin-bottom: 14px;
  }
  .custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn {
    padding: 8px 16px;
    font-size: 14px;
    min-width: 70px;
  }
  .custom-tooltip .tooltip-footer .tooltip-meta .tooltip-skip {
    font-size: 12px;
    padding: 6px 10px;
  }
}
@media (prefers-color-scheme: dark) {
  .custom-tooltip {
    background: #1f1f1f;
    border: 1px solid #333;
  }
  .custom-tooltip .tooltip-content .tooltip-title {
    color: #fff;
  }
  .custom-tooltip .tooltip-content .tooltip-text {
    color: #e5e7eb;
    font-weight: 500;
  }
  .custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn.tooltip-btn-secondary {
    background: #374151;
    color: #d1d5db;
  }
  .custom-tooltip .tooltip-footer .tooltip-actions .tooltip-btn.tooltip-btn-secondary:active {
    background: #4b5563;
  }
  .custom-tooltip .tooltip-footer .tooltip-meta .tooltip-progress {
    color: #9ca3af;
  }
  .custom-tooltip .tooltip-footer .tooltip-meta .tooltip-skip {
    color: #9ca3af;
  }
  .custom-tooltip .tooltip-footer .tooltip-meta .tooltip-skip:active {
    background: #374151;
    color: #d1d5db;
  }
}
.video-player-controller {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}
.video-player-controller .video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-player-controller .video-alpha,
.video-player-controller .video-beta {
  z-index: 1;
}
.video-player-controller .video-alpha.active,
.video-player-controller .video-beta.active {
  opacity: 1;
  transition: opacity 500ms ease-out;
}
.video-player-controller .video-alpha.inactive,
.video-player-controller .video-beta.inactive {
  opacity: 0;
  transition: opacity 200ms ease-out;
}
.video-player-controller .video-alpha.fading-in,
.video-player-controller .video-beta.fading-in {
  opacity: 1;
}
.bg-player-controller {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}
.bg-player-controller .video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-player-controller .video-alpha,
.bg-player-controller .video-beta {
  z-index: 1;
}
.bg-player-controller .video-alpha.active,
.bg-player-controller .video-beta.active {
  opacity: 1;
  transition: opacity 500ms ease-out;
}
.bg-player-controller .video-alpha.inactive,
.bg-player-controller .video-beta.inactive {
  opacity: 0;
  transition: opacity 200ms ease-out;
}
.bg-player-controller .video-alpha.fading-in,
.bg-player-controller .video-beta.fading-in {
  opacity: 1;
}
.museum-app {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.digital-human-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.digital-human-container-upper-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  z-index: 10;
}
.digital-human-container-upper-mask.search-active::before {
  opacity: 0;
}
.digital-human-container-upper-mask::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.digital-human-container-upper-mask.search-active::after {
  opacity: 1;
}
.digital-human-container-lower-mask {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  z-index: 10;
}
.digital-human {
  width: 100%;
  height: 100%;
}
.digital-human-toolbar {
  position: absolute;
  right: 16px;
  z-index: 10;
  border-radius: 8px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.image-thumbnail-viewer {
  position: absolute;
  top: 130px;
  right: 16px;
  z-index: 1000;
}
.toolbar-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 100;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}
.toolbar-popup .popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 16px;
}
.toolbar-popup .popup-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.toolbar-popup .popup-header .close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.toolbar-popup .popup-header .close-btn:hover {
  background: #e8e8e8;
}
.toolbar-popup .popup-content {
  padding: 0 20px 20px;
}
.toolbar-popup .popup-content .setting-section {
  margin-bottom: 24px;
}
.toolbar-popup .popup-content .setting-section .section-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
}
.toolbar-popup .popup-content .setting-section .radio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.toolbar-popup .popup-content .setting-section .radio-grid .radio-item {
  padding: 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: all 0.2s;
}
.toolbar-popup .popup-content .setting-section .radio-grid .radio-item:hover {
  border-color: #d9d9d9;
  background: #fafafa;
}
.toolbar-popup .popup-content .setting-section .radio-grid .radio-item .radio-content .radio-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}
.toolbar-popup .popup-content .setting-section .radio-grid .radio-item .radio-content .radio-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}
.toolbar-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.01);
  z-index: 99;
}
.portal-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000000;
  color: #FFFFFF;
  position: relative;
}
.content-area {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 120px;
  overflow: hidden;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-item {
  background: #1C1C1E;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid #48484A;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}
.feature-item:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.feature-item .feature-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
  color: #007AFF;
}
.feature-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #FFFFFF;
}
.feature-item p {
  font-size: 14px;
  color: #EBEBF599;
  margin: 0;
}
.profile-content {
  height: 100%;
  overflow-y: auto;
}
.profile-content .profile-header {
  text-align: center;
  margin-bottom: 48px;
}
.profile-content .profile-header .avatar {
  font-size: 60px;
  margin-bottom: 16px;
  display: block;
}
.profile-content .profile-header h2 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  color: #FFFFFF;
}
.profile-menu {
  background: #1C1C1E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid #48484A;
}
.bottom-nav {
  position: fixed;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid #38383A;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-width: 150px;
  max-width: 90vw;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes rgbRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.6), 0 0 0 8px rgba(139, 92, 246, 0.1);
  }
  100% {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  }
}
.center-buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.nav-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #EBEBF599;
  flex: 1;
  min-width: 0;
}
.nav-button.active {
  color: #8b5cf6;
  transform: scale(1.3);
}
.nav-button img {
  margin-bottom: 4px;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0) invert(1);
  opacity: 1;
}
.nav-button .nav-text {
  font-size: 12px;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-button.active img {
  opacity: 1;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(250deg);
}
.nav-button.active .nav-text {
  color: #8b5cf6;
}
.trending-swiper-card {
  position: relative;
  height: 398px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 1s ease;
}
.trending-swiper-card .card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.trending-swiper-card .card-background .background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.trending-swiper-card .card-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.2) 100%);
}
.trending-swiper-card .card-content {
  position: absolute;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  transition: all 1s ease;
}
.trending-swiper-card .card-content .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
}
.trending-swiper-card .card-content .card-header .category-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 12px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 1s ease;
}
.trending-swiper-card .card-content .card-info {
  margin: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  transition: all 1s ease;
}
.trending-swiper-card .card-content .card-info .artifact-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 8px rgba(0, 0, 0, 0.7);
}
.trending-swiper-card .card-content .card-info .artifact-description {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-swiper-card:not(.active) {
  transform: scale(0.93);
}
.trending-swiper-card:not(.active) .card-background .background-image {
  opacity: 0.3;
}
.trending-swiper-card:not(.active) .card-content {
  opacity: 0;
}
.trending-swiper-card.active .card-content {
  opacity: 1;
}
.trending-swiper-card.active .card-background .background-image {
  opacity: 1;
}
.exhibition-halls-button-section {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
.exhibition-halls-button-section .halls-button {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}
.exhibition-halls-button-section .halls-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.exhibition-halls-button-section .halls-button:active {
  transform: translateY(0);
}
.exhibition-halls-button-section .halls-button span {
  font-size: 16px;
  font-weight: 600;
}
.trending-page {
  color: #ffffff;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  height: 100vh;
  position: relative;
  width: 100%;
}
.trending-page .trending-nav-bar {
  position: sticky;
  top: -1px;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}
.trending-page .trending-content {
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
}
.trending-page .featured-banner-swiper {
  margin-bottom: 24px;
  position: relative;
  width: 100%;
  overflow: visible;
  padding-right: 24px;
}
.trending-page .featured-banner-swiper .custom-indicator {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  pointer-events: none;
}
.trending-page .featured-banner-swiper .custom-indicator .indicator-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.trending-page .featured-banner-swiper .custom-indicator .indicator-dot.active {
  width: 32px;
  height: 4px;
  border-radius: 8px;
  background: white;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.trending-page .featured-banner-swiper .custom-indicator .indicator-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}
.trending-page .loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}
.trending-page .loading-content .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #8c6bc1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 24px;
}
.trending-page .loading-content p {
  color: #cccccc;
  font-size: 16px;
  margin: 0;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.trending-page .recent-section {
  margin-bottom: 32px;
}
.trending-page .recent-section .section-header {
  margin-bottom: 24px;
}
.trending-page .recent-section .section-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.trending-page .recent-section .recent-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 100px;
}
.trending-page .recent-section .recent-list .recent-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.trending-page .recent-section .recent-list .recent-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.trending-page .recent-section .recent-list .recent-item .item-icon {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.trending-page .recent-section .recent-list .recent-item .item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trending-page .recent-section .recent-list .recent-item .item-info {
  flex: 1;
  min-width: 0;
}
.trending-page .recent-section .recent-list .recent-item .item-info .item-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.4;
}
.trending-page .recent-section .recent-list .recent-item .item-info .item-subtitle {
  font-size: 16px;
  color: #cccccc;
  margin: 0;
  line-height: 1.4;
}
.trending-page .recent-section .recent-list .recent-item .item-action {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trending-page .function-buttons-container {
  display: flex;
  gap: 12px;
  margin: 12px 0;
}
.trending-page .camera-button-section,
.trending-page .exhibition-halls-button-section {
  flex: 1;
  position: relative;
  overflow: visible;
}
.trending-page .camera-button-section .camera-button,
.trending-page .exhibition-halls-button-section .camera-button,
.trending-page .camera-button-section .halls-button,
.trending-page .exhibition-halls-button-section .halls-button {
  width: 100%;
  height: 48px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.trending-page .camera-button-section .camera-button:hover,
.trending-page .exhibition-halls-button-section .camera-button:hover,
.trending-page .camera-button-section .halls-button:hover,
.trending-page .exhibition-halls-button-section .halls-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.trending-page .camera-button-section .camera-button:active,
.trending-page .exhibition-halls-button-section .camera-button:active,
.trending-page .camera-button-section .halls-button:active,
.trending-page .exhibition-halls-button-section .halls-button:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.15);
}
.trending-page .trending-footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trending-page .trending-footer p {
  color: #cccccc;
  font-size: 12px;
  margin: 0;
  opacity: 0.7;
}
.profile-content {
  padding: 16px;
  height: 100%;
  color: #ffffff;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
.profile-content .profile-content-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.profile-content .profile-content-bg .profile-content-bg-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.96) 45%, rgba(0, 0, 0, 0) 100%);
}
.profile-content .museum-info-card {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(1px);
  border-radius: 24px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 40%;
}
.profile-content .museum-info-card .museum-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #444444;
}
.profile-content .museum-info-card .museum-header .museum-title {
  flex: 1;
}
.profile-content .museum-info-card .museum-header .museum-title h2 {
  text-align: center;
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
}
.profile-content .museum-info-card .museum-header .museum-title p {
  margin: 0;
  line-height: 1.75;
  font-size: 16px;
  color: #ffffff;
}
.profile-content .museum-info-card .museum-description {
  padding: 12px 16px 0px 16px;
}
.profile-content .museum-info-card .museum-description p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  color: #cccccc;
}
.profile-content .loading-placeholder,
.profile-content .empty-placeholder {
  text-align: center;
  padding: 24px;
  color: #888888;
  font-size: 12px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-content .skeleton-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}
.profile-content .skeleton-item .skeleton-icon {
  width: 20px;
  height: 20px;
  background: #333333;
  border-radius: 50%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.profile-content .skeleton-item .skeleton-text {
  flex: 1;
  height: 16px;
  background: #333333;
  border-radius: 4px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.profile-content .skeleton-item .skeleton-tag {
  width: 60px;
  height: 20px;
  background: #333333;
  border-radius: 10px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
@keyframes skeleton-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
}
.exhibition-info-popup .popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.exhibition-info-popup .popup-header .popup-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}
.exhibition-info-popup .popup-header .close-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #EBEBF5;
  font-size: 18px;
  font-weight: bold;
}
.exhibition-info-popup .popup-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: scale(1.1);
}
.exhibition-info-popup .popup-header .close-btn:active {
  transform: scale(0.95);
}
.exhibition-info-popup .info-grid {
  display: grid;
  gap: 16px;
}
.exhibition-info-popup .info-grid .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.exhibition-info-popup .info-grid .info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.exhibition-info-popup .info-grid .info-item .info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(0, 122, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007AFF;
  font-size: 20px;
}
.exhibition-info-popup .info-grid .info-item .info-content {
  flex: 1;
  min-width: 0;
}
.exhibition-info-popup .info-grid .info-item .info-content .info-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}
.exhibition-info-popup .info-grid .info-item .info-content .info-description {
  font-size: 13px;
  color: #EBEBF5;
  line-height: 1.4;
  margin: 0 0 12px 0;
  opacity: 0.8;
}
.exhibition-info-popup .info-grid .info-item .info-content .info-action-btn {
  border-color: #007AFF;
  color: #007AFF;
  border-radius: 6px;
  font-size: 11px;
  height: 28px;
  padding: 0 12px;
  transition: all 0.3s ease;
}
.exhibition-info-popup .info-grid .info-item .info-content .info-action-btn:hover {
  background: #007AFF;
  color: white;
  transform: translateY(-1px);
}
.exhibition-info-popup .info-grid .info-item .info-content .info-action-btn:active {
  transform: translateY(0);
}
.toast-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  z-index: 10000;
  animation: toastFadeIn 0.3s ease-in-out;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.museum-halls-page {
  min-height: 100%;
  background: #000000;
  color: #FFFFFF;
  padding-bottom: 120px;
}
.museum-halls-page .page-header {
  text-align: center;
  padding: 32px 24px 24px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 100%);
  border-radius: 0 0 20px 20px;
  margin-bottom: 16px;
}
.museum-halls-page .page-header .page-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.museum-halls-page .page-header .page-subtitle {
  font-size: 14px;
  color: #EBEBF5;
  margin: 0;
  opacity: 0.8;
}
.museum-halls-page .halls-tabs {
  --adm-color-primary: #8b5cf6;
  --adm-color-background: transparent;
  --adm-color-text: #FFFFFF;
  --adm-color-text-secondary: #EBEBF5;
  --adm-border-color: #48484A;
}
.museum-halls-page .halls-tabs .adm-tabs-header {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #48484A;
  margin: 0 16px;
  border-radius: 12px 12px 0 0;
}
.museum-halls-page .halls-tabs .adm-tabs-tab {
  color: #EBEBF5;
  font-weight: 500;
  font-size: 14px;
}
.museum-halls-page .halls-tabs .adm-tabs-tab.adm-tabs-tab-active {
  color: #8b5cf6;
  font-weight: 600;
}
.museum-halls-page .halls-tabs .adm-tabs-content {
  background: transparent;
  padding: 16px;
}
.museum-halls-page .halls-content .halls-swiper-section {
  margin-bottom: 48px;
}
.museum-halls-page .halls-content .halls-swiper-section .section-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}
.museum-halls-page .halls-content .halls-swiper-section .section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 2px;
  margin-right: 8px;
}
.museum-halls-page .halls-content .halls-swiper-section .swiper-hall-card {
  background: #1C1C1E;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #48484A;
  margin: 0 4px;
}
.museum-halls-page .halls-content .halls-swiper-section .swiper-hall-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
  border-color: #8b5cf6;
}
.museum-halls-page .halls-content .halls-swiper-section .swiper-hall-card .swiper-hall-info {
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.9) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.museum-halls-page .halls-content .halls-swiper-section .swiper-hall-card .swiper-hall-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #FFFFFF;
}
.museum-halls-page .halls-content .halls-swiper-section .swiper-hall-card .swiper-hall-info p {
  font-size: 14px;
  color: #EBEBF5;
  margin: 0;
  line-height: 1.4;
}
.museum-halls-page .halls-content .halls-swiper-section .custom-indicator {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
}
.museum-halls-page .halls-content .halls-swiper-section .custom-indicator .indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.museum-halls-page .halls-content .halls-swiper-section .custom-indicator .indicator-dot.active {
  width: 24px;
  background: #8b5cf6;
  border-radius: 4px;
}
.museum-halls-page .halls-content .halls-list-section .section-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}
.museum-halls-page .halls-content .halls-list-section .section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 2px;
  margin-right: 8px;
}
.museum-halls-page .halls-content .halls-list-section .halls-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.museum-halls-page .hall-card {
  background: #1C1C1E;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #48484A;
  position: relative;
}
.museum-halls-page .hall-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
  border-color: #8b5cf6;
}
.museum-halls-page .hall-card.maintenance {
  opacity: 0.7;
}
.museum-halls-page .hall-card.maintenance::after {
  content: '维护中';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 125, 0, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}
.museum-halls-page .hall-card .hall-image-container {
  position: relative;
}
.museum-halls-page .hall-card .hall-image-container .hall-status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}
.museum-halls-page .hall-card .hall-image-container .hall-floor-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}
.museum-halls-page .hall-card .hall-info {
  padding: 16px;
}
.museum-halls-page .hall-card .hall-info .hall-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #FFFFFF;
}
.museum-halls-page .hall-card .hall-info .hall-description {
  font-size: 13px;
  color: #EBEBF5;
  margin: 0 0 8px;
  line-height: 1.4;
}
.museum-halls-page .hall-card .hall-info .hall-meta {
  margin-bottom: 8px;
}
.museum-halls-page .hall-card .hall-info .hall-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  font-size: 12px;
  color: #EBEBF599;
}
.museum-halls-page .hall-card .hall-info .hall-meta .meta-item .antd-mobile-icon {
  font-size: 14px;
  color: #8b5cf6;
}
.museum-halls-page .hall-card .hall-info .hall-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.museum-halls-page .hall-card .hall-info .hall-highlights .adm-tag {
  font-size: 11px;
  border-color: #48484A;
  color: #EBEBF5;
}
.museum-halls-page .facilities-content .facilities-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.museum-halls-page .facility-card {
  background: #1C1C1E;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #48484A;
  display: flex;
  align-items: center;
  gap: 16px;
}
.museum-halls-page .facility-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.2);
  border-color: #8b5cf6;
}
.museum-halls-page .facility-card .facility-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.museum-halls-page .facility-card .facility-info {
  flex: 1;
  min-width: 0;
}
.museum-halls-page .facility-card .facility-info .facility-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #FFFFFF;
}
.museum-halls-page .facility-card .facility-info .facility-location {
  font-size: 12px;
  color: #EBEBF5;
  margin: 0 0 4px;
}
.museum-halls-page .facility-card .facility-info .facility-status .adm-tag {
  font-size: 10px;
}
.museum-halls-page .guide-content .guide-card {
  background: #1C1C1E;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #48484A;
}
.museum-halls-page .guide-content .guide-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #FFFFFF;
  padding: 16px 16px 0;
}
.museum-halls-page .guide-content .guide-card .adm-list {
  --adm-color-background: transparent;
  --adm-color-text: #FFFFFF;
  --adm-color-text-secondary: #EBEBF5;
  --adm-border-color: #48484A;
}
.museum-halls-page .guide-content .guide-card .adm-list .adm-list-item {
  padding: 8px 16px;
  border-bottom: 1px solid #48484A;
}
.museum-halls-page .guide-content .guide-card .adm-list .adm-list-item:last-child {
  border-bottom: none;
}
.museum-halls-page .guide-content .guide-card .adm-list .adm-list-item .guide-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.museum-halls-page .guide-content .guide-card .adm-list .adm-list-item .guide-item p {
  font-size: 12px;
  color: #EBEBF5;
  margin: 0;
}
.museum-halls-page .guide-content .guide-card .tips-list {
  list-style: none;
  padding: 0 16px 16px;
  margin: 0;
}
.museum-halls-page .guide-content .guide-card .tips-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
  font-size: 13px;
  color: #EBEBF5;
  line-height: 1.4;
}
.museum-halls-page .guide-content .guide-card .tips-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: bold;
}
.museum-halls-page .guide-content .guide-card .tips-list li:last-child {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .museum-halls-page .page-header {
    padding: 24px 16px 16px;
  }
  .museum-halls-page .page-header .page-title {
    font-size: 22px;
  }
  .museum-halls-page .page-header .page-subtitle {
    font-size: 13px;
  }
  .museum-halls-page .halls-tabs .adm-tabs-header {
    margin: 0 8px;
  }
  .museum-halls-page .halls-tabs .adm-tabs-content {
    padding: 8px;
  }
  .museum-halls-page .hall-card .hall-info {
    padding: 8px;
  }
  .museum-halls-page .hall-card .hall-info .hall-name {
    font-size: 16px;
  }
  .museum-halls-page .hall-card .hall-info .hall-description {
    font-size: 12px;
  }
  .museum-halls-page .facility-card {
    padding: 8px;
  }
  .museum-halls-page .facility-card .facility-icon {
    width: 36px;
    height: 36px;
  }
  .museum-halls-page .facility-card .facility-info .facility-name {
    font-size: 14px;
  }
  .museum-halls-page .facility-card .facility-info .facility-location {
    font-size: 11px;
  }
}
.museum-halls-page .image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: rgba(139, 92, 246, 0.1);
  color: #EBEBF599;
}
.museum-halls-page .image-placeholder .placeholder-icon {
  font-size: 32px;
  margin-bottom: 4px;
}
.museum-halls-page .image-placeholder .placeholder-text {
  font-size: 12px;
}
.popup-content {
  padding: 32px;
  background: #1C1C1E;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hall-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 24px;
}
.hall-image {
  width: 80vw;
  height: 60vw;
  max-width: 320px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  background: #2C2C2E;
}
.hall-name {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
  text-align: center;
  color: #FFFFFF;
}
.hall-description {
  color: #EBEBF5;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 24px;
  width: 100%;
}
.hall-details {
  width: 100%;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid #48484A;
}
.hall-details .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #48484A;
}
.hall-details .detail-item:last-child {
  border-bottom: none;
}
.hall-details .detail-item strong {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 600;
}
.hall-details .detail-item span {
  font-size: 14px;
  color: #EBEBF5;
  font-weight: 500;
}
.hall-highlights-detail {
  width: 100%;
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid #48484A;
}
.hall-highlights-detail h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #FFFFFF;
}
.hall-highlights-detail .highlights-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hall-highlights-detail .highlights-tags .adm-tag {
  font-size: 13px;
  border-color: #48484A;
  color: #EBEBF5;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 4px 8px;
  background: rgba(139, 92, 246, 0.1);
}
.hall-highlights-detail .highlights-tags .adm-tag:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.2);
}
.popup-content {
  padding: 32px;
  background: #1C1C1E;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.facility-icon-large {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 48px;
  color: #8b5cf6;
}
.facility-name {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
  text-align: center;
  color: #FFFFFF;
}
.facility-description {
  color: #EBEBF5;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 24px;
  width: 100%;
}
.facility-details {
  width: 100%;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid #48484A;
}
.facility-details .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #48484A;
}
.facility-details .detail-item:last-child {
  border-bottom: none;
}
.facility-details .detail-item strong {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 600;
}
.facility-details .detail-item span {
  font-size: 14px;
  color: #EBEBF5;
}
.floating-panel {
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}
.floating-panel.visible {
  opacity: 1;
  filter: blur(0px);
  visibility: visible;
  transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.floating-panel.hidden {
  opacity: 0;
  filter: blur(20px);
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.ai-panel-content .content-wrapper {
  background: #000000;
  border-radius: 24px;
  border: 1px solid #636366;
  box-shadow: 0 2px 28px rgba(191, 90, 242, 0.3);
  overflow: hidden;
}
.ai-panel-content .content-wrapper .page-info-dialog {
  padding: 16px 10px 8px 10px;
}
.ai-panel-content .content-wrapper .page-info-dialog .dialog-content {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 8px 16px;
  text-align: center;
}
.ai-panel-content .content-wrapper .page-info-dialog .dialog-content .dialog-text {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.9;
}
.ai-panel-content .content-wrapper .button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 2px;
  padding-bottom: 12px;
}
.ai-panel-content .content-wrapper .button-container .circular-button {
  width: 100px;
  height: 46px;
  border-radius: 23px;
  border: none;
  background: var(--button-color);
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.1s linear;
  opacity: 0;
  transform: scale(1) translateY(0);
}
.ai-panel-content .content-wrapper .button-container .circular-button.visible {
  opacity: 1;
  transition-delay: var(--delay);
}
.ai-panel-content .content-wrapper .button-container .circular-button.visible:active {
  transform: scale(0.9) translateY(0);
}
.ai-panel-content .content-wrapper .button-container .circular-button .button-icon {
  font-size: 20px;
  line-height: 1;
}
.ai-panel-content .content-wrapper .button-container .circular-button .button-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.fake-audio-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fake-audio-backdrop.hidden {
  opacity: 0;
}
.fake-audio-backdrop .fake-audio-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
}
.fake-audio-backdrop .fake-audio-visualizer .fake-audio-bar {
  background: linear-gradient(to top, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.6));
  border-radius: 10px;
  box-shadow: 0 0 8px #8b5cf6;
  position: relative;
}
.ai-floating-bubble .ai-button {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: transparent;
  border: 2px solid white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}
.ai-floating-bubble .ai-button .fake-audio-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  padding: 8px;
}
.ai-floating-bubble .ai-button .ai-persona-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.2;
  z-index: 1;
}
.arrow {
  position: absolute;
  width: 0;
  height: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}
.arrow[data-placement^='top'] {
  top: calc(100% - 1px);
  left: 50%;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid #636366;
}
.arrow[data-placement^='top']::after {
  content: '';
  position: absolute;
  top: -16px;
  left: -8px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #000;
}
.arrow[data-placement^='bottom'] {
  bottom: calc(100% - 1px);
  left: 50%;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 16px solid #636366;
}
.arrow[data-placement^='bottom']::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -8px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #000;
}
.arrow[data-placement^='left'] {
  left: calc(100% - 1px);
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 16px solid #8b5cf6;
}
.arrow[data-placement^='left']::after {
  content: '';
  position: absolute;
  right: -16px;
  top: -8px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 14px solid #000;
}
.arrow[data-placement^='right'] {
  right: calc(100% - 1px);
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #8b5cf6;
}
.arrow[data-placement^='right']::after {
  content: '';
  position: absolute;
  left: -16px;
  top: -8px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #000;
}
@keyframes rgbRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.6);
  }
}
.__floater__overlay,
.react-joyride__overlay {
  background-color: rgba(0, 0, 0, 0.85) !important;
}
.portal-guidance-content .portal-guidance-text {
  color: white;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}
.portal-custom-tooltip {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  max-width: 280px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.portal-custom-tooltip .portal-tooltip-content {
  padding: 20px 20px 16px;
}
.portal-custom-tooltip .portal-tooltip-content .portal-tooltip-title {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  line-height: 1.3;
}
.portal-custom-tooltip .portal-tooltip-content .portal-tooltip-text {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.portal-custom-tooltip .portal-tooltip-footer {
  padding: 0 20px 20px;
}
.portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions .portal-tooltip-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}
.portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions .portal-tooltip-btn.portal-tooltip-btn-primary {
  background: #3b82f6;
  color: #fff;
}
.portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions .portal-tooltip-btn.portal-tooltip-btn-primary:active {
  background: #2563eb;
  transform: scale(0.98);
}
@media (max-width: 768px) {
  .portal-custom-tooltip {
    max-width: 240px;
  }
  .portal-custom-tooltip .portal-tooltip-content {
    padding: 16px 16px 12px;
  }
  .portal-custom-tooltip .portal-tooltip-content .portal-tooltip-title {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .portal-custom-tooltip .portal-tooltip-content .portal-tooltip-text {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
  }
  .portal-custom-tooltip .portal-tooltip-footer {
    padding: 0 16px 16px;
  }
  .portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions {
    gap: 10px;
  }
  .portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions .portal-tooltip-btn {
    padding: 8px 20px;
    font-size: 14px;
    min-width: 80px;
  }
}
@media (prefers-color-scheme: dark) {
  .portal-custom-tooltip {
    background: #1f1f1f;
    border: 1px solid #333;
  }
  .portal-custom-tooltip .portal-tooltip-content .portal-tooltip-title {
    color: #fff;
  }
  .portal-custom-tooltip .portal-tooltip-content .portal-tooltip-text {
    color: #e5e7eb;
    font-weight: 500;
  }
  .portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions .portal-tooltip-btn.portal-tooltip-btn-primary {
    background: #3b82f6;
    color: #fff;
  }
  .portal-custom-tooltip .portal-tooltip-footer .portal-tooltip-actions .portal-tooltip-btn.portal-tooltip-btn-primary:active {
    background: #2563eb;
  }
}
.react-joyride__spotlight {
  border-radius: 50px !important;
}
.react-joyride__tooltip .react-joyride__tooltip-arrow::before {
  border-color: transparent transparent #fff transparent;
}
.exhibition-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000000;
  color: #FFFFFF;
  position: relative;
}
.exhibition-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.exhibition-nav-bar :global(.adm-nav-bar) {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #38383A;
}
.exhibition-content {
  flex: 1;
  margin-top: 45px;
  display: flex;
  overflow: hidden;
}
.exhibition-sidebar {
  --background-color: #1C1C1E;
  --height: 100%;
  --item-border-radius: 8px;
  --width: 120px;
  width: var(--width);
  background: var(--background-color);
  border-right: 1px solid #48484A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.exhibition-sidebar :global(.adm-side-bar) {
  height: var(--height);
}
.exhibition-sidebar :global(.adm-side-bar) .adm-side-bar-item {
  font-size: 14px;
  font-weight: 500;
  color: #EBEBF599;
  padding: 16px 8px;
  border-bottom: 1px solid #48484A;
  border-radius: var(--item-border-radius);
  position: relative;
}
.exhibition-sidebar :global(.adm-side-bar) .adm-side-bar-item.adm-side-bar-item-active {
  color: #007AFF;
  font-weight: 600;
  background: rgba(0, 122, 255, 0.1);
  border-right: 3px solid #007AFF;
}
.exhibition-sidebar :global(.adm-side-bar) .adm-side-bar-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.exhibition-sidebar :global(.adm-side-bar) .adm-side-bar-item :global(.adm-badge) {
  position: absolute;
  top: 8px;
  right: 8px;
  transform: scale(0.8);
}
.exhibition-sidebar :global(.adm-side-bar) .adm-side-bar-item :global(.adm-badge) .adm-badge-content {
  background: #ff4d4f;
  color: white;
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 8px;
  padding: 0 4px;
}
.exhibition-main-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.exhibition-main-content::-webkit-scrollbar {
  width: 4px;
}
.exhibition-main-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.exhibition-main-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.exhibition-main-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
.category-section {
  margin-bottom: 48px;
}
.category-section:last-child {
  margin-bottom: 24px;
}
.category-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  padding: 16px 16px;
  border-bottom: 2px solid #007AFF;
  position: sticky;
  top: 0;
  background: #000000;
  z-index: 10;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-left: -16px;
  margin-right: -16px;
}
.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  padding: 8px 0;
}
.artifact-card {
  background: #1C1C1E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid #48484A;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
}
.artifact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: #2C2C2E;
  border-color: #38383A;
}
.artifact-card:active {
  transform: translateY(-2px);
}
.artifact-card.viewed .artifact-info .artifact-name {
  color: #007AFF;
  font-weight: 700;
}
.artifact-image {
  position: relative;
  overflow: hidden;
}
.artifact-image :global(.adm-image) {
  border-radius: 12px 12px 0 0;
}
.artifact-image .artifact-status-container {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  flex-direction: row-reverse;
}
.artifact-image .artifact-status-container .viewed-badge {
  background: #007AFF;
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.4);
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: linear-gradient(135deg, #2C2C2E 0%, #3A3A3C 100%);
  color: #EBEBF599;
}
.image-placeholder .placeholder-icon {
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.6;
}
.image-placeholder .placeholder-text {
  font-size: 12px;
  opacity: 0.8;
}
.artifact-info {
  padding: 8px;
}
.artifact-info .artifact-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .exhibition-sidebar {
    --width: 120px;
  }
  .exhibition-sidebar :global(.adm-side-bar-item) {
    font-size: 12px;
    padding: 8px 8px;
  }
  .category-title {
    font-size: 20px;
    padding: 8px 16px;
    margin-left: -16px;
    margin-right: -16px;
  }
  .artifacts-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }
  .artifact-info {
    padding: 8px;
  }
  .artifact-info .artifact-name {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .exhibition-sidebar {
    --width: 85px;
  }
  .exhibition-sidebar :global(.adm-side-bar-item) {
    font-size: 11px;
    padding: 10px 6px;
  }
  .category-title {
    font-size: 18px;
    padding: 10px 16px;
    margin-left: -16px;
    margin-right: -16px;
  }
  .artifacts-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
}
@media (min-width: 1024px) {
  .exhibition-sidebar {
    --width: 140px;
  }
  .exhibition-sidebar :global(.adm-side-bar-item) {
    font-size: 16px;
    padding: 24px 16px;
  }
  .category-title {
    font-size: 32px;
    padding: 24px 16px;
    margin-left: -16px;
    margin-right: -16px;
  }
  .artifacts-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
  }
  .artifact-info {
    padding: 16px;
  }
  .artifact-info .artifact-name {
    font-size: 16px;
  }
}
.like-indicator {
  width: 20px;
  height: 20px;
  background: rgba(255, 71, 87, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
  animation: indicator-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.like-indicator :global(.antd-mobile-icon) {
  font-size: 12px;
  color: white;
}
@keyframes indicator-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.navigation-bar {
  background: transparent !important;
}
.artifact-detail-page {
  height: 100%;
  background-color: #000000;
  display: flex;
  flex-direction: column;
}
.artifact-detail-page .adm-mask-content {
  backdrop-filter: blur(4px);
}
.artifact-detail-page .detail-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 24px;
}
.artifact-detail-page .detail-content .artifact-image-container {
  background-color: #1C1C1E;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.artifact-detail-page .detail-content .artifact-image-container :global(.adm-image) {
  transition: opacity 0.3s ease-in-out, transform 0.2s ease-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.artifact-detail-page .detail-content .artifact-image-container .image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  background-color: #2C2C2E;
  color: #EBEBF599;
  transition: opacity 0.3s ease-in-out;
}
.artifact-detail-page .detail-content .artifact-image-container .image-placeholder .placeholder-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.artifact-detail-page .detail-content .artifact-image-container .image-placeholder .placeholder-text {
  font-size: 12px;
}
.artifact-detail-page .detail-content .artifact-image-container .view-3d-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 500;
  transition: all 0.3s ease;
}
.artifact-detail-page .detail-content .artifact-info-container {
  background-color: rgba(28, 28, 30, 0.7);
  padding: 16px;
  border-radius: 16px;
  margin: 16px;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header .artifact-name {
  font-size: 32px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header .artifact-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header .artifact-actions .action-button {
  color: #EBEBF5;
  transition: all 0.3s ease;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header .artifact-actions .action-button:hover {
  color: #007AFF;
  transform: scale(1.1);
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header .artifact-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header .artifact-actions .action-button {
  color: #EBEBF5;
  transition: all 0.3s ease;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-header .artifact-actions .action-button:hover {
  color: #007AFF;
  transform: scale(1.1);
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-category {
  padding: 12px;
  background-color: rgba(0, 122, 255, 0.1);
  border-radius: 8px;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-category .category-label {
  font-size: 16px;
  color: #EBEBF599;
  font-weight: 500;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-category .category-value {
  font-size: 16px;
  color: #007AFF;
  font-weight: 600;
  margin-left: 8px;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  background: #2a2a2a;
  border-radius: 12px;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-stats .stat-item .antd-mobile-icon {
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.9;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-stats .stat-item .stat-value {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-stats .stat-item .stat-label {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.2;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-description {
  margin-bottom: 24px;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-description .description-content {
  position: relative;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-description .description-content :global(.adm-ellipsis) {
  font-size: 16px;
  line-height: 1.6;
  color: #EBEBF5;
  text-align: justify;
  transition: all 0.3s ease;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-description .description-content :global(.adm-ellipsis-expand) {
  color: #007AFF;
  font-weight: 500;
  margin-top: 12px;
  display: inline-block;
  padding: 8px 12px;
  background: rgba(64, 158, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-description .description-content :global(.adm-ellipsis-expand):hover {
  background: rgba(64, 158, 255, 0.2);
  transform: translateY(-1px);
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-info-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #48484A;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-info-item:last-child {
  border-bottom: none;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-info-item .info-label {
  font-size: 12px;
  color: #EBEBF599;
  font-weight: 500;
  min-width: 60px;
}
.artifact-detail-page .detail-content .artifact-info-container .artifact-info-item .info-value {
  font-size: 12px;
  color: #EBEBF5;
  flex: 1;
  margin-left: 12px;
}
.overview-container {
  background-color: rgba(28, 28, 30, 0.7);
  margin: 16px;
  border-radius: 16px;
  overflow: hidden;
}
.overview-tab {
  padding: 16px;
}
.overview-tab .section-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  position: relative;
}
.overview-tab .artifact-details {
  margin-bottom: 32px;
}
.overview-tab .artifact-details .detail-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #48484A;
}
.overview-tab .artifact-details .detail-item:last-child {
  border-bottom: none;
}
.overview-tab .artifact-details .detail-item .antd-mobile-icon {
  color: #007AFF;
  margin-right: 12px;
  font-size: 16px;
}
.overview-tab .artifact-details .detail-item .detail-label {
  font-size: 12px;
  color: #EBEBF599;
  font-weight: 500;
  min-width: 80px;
}
.overview-tab .artifact-details .detail-item .detail-value {
  font-size: 12px;
  color: #EBEBF5;
  flex: 1;
}
.related-artifacts-section {
  margin-bottom: 32px;
}
.related-artifacts-section .artifact-card {
  background: #1C1C1E;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid #48484A;
  transition: all 0.3s ease;
  margin: 0 8px;
  height: 260px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.related-artifacts-section .artifact-card:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.related-artifacts-section .artifact-card .artifact-image-wrapper {
  position: relative;
  pointer-events: none;
}
.related-artifacts-section .artifact-card .artifact-image-wrapper .adm-image {
  pointer-events: auto;
  transition: transform 0.2s ease;
}
.related-artifacts-section .artifact-card .artifact-image-wrapper .adm-image:hover {
  transform: scale(1.02);
}
.related-artifacts-section .artifact-card .artifact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.related-artifacts-section .artifact-card .artifact-info .artifact-name {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.historical-timeline-section {
  margin-bottom: 32px;
  padding-bottom: 15px;
}
.historical-timeline-section .timeline {
  position: relative;
  padding-left: 12px;
}
.historical-timeline-section .timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #007AFF, #BF5AF2, #007AFF);
  border-radius: 2px;
}
.historical-timeline-section .timeline .timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 32px;
}
.historical-timeline-section .timeline .timeline-item:last-child {
  margin-bottom: 0;
}
.historical-timeline-section .timeline .timeline-item .timeline-icon {
  position: absolute;
  left: -12px;
  top: 8px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #007AFF, #0056CC);
  border: 3px solid #1C1C1E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
  z-index: 2;
  transition: all 0.3s ease;
  padding: 2px;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
}
.historical-timeline-section .timeline .timeline-item .timeline-content {
  background: #1e1e1e;
  padding: 16px;
  border-radius: 16px;
  border-left: 4px solid #007AFF;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.historical-timeline-section .timeline .timeline-item .timeline-content .timeline-event {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  position: relative;
}
.historical-timeline-section .timeline .timeline-item .timeline-content .timeline-event::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #007AFF;
  border-radius: 1px;
}
.historical-timeline-section .timeline .timeline-item .timeline-content .timeline-description {
  font-size: 16px;
  color: #EBEBF5;
  line-height: 1.5;
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  margin-top: 12px;
}
.historical-timeline-section .timeline .timeline-item::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  width: 3px;
  height: calc(100% + 24px);
  background: linear-gradient(180deg, #007AFF, transparent);
  opacity: 0.3;
}
.historical-timeline-section .timeline .timeline-item:last-child::after {
  display: none;
}
.adm-image-viewer-indicator {
  color: white;
  font-size: 16px;
}
:global(.adm-image) {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
:global(.adm-image):hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
:global(.adm-image):active {
  transform: scale(0.97);
}
.liked-artifact-card {
  background: #1C1C1E;
  border: 1px solid #48484A;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.liked-artifact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border-color: #38383A;
}
.liked-artifact-card .artifact-content {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 16px;
}
.liked-artifact-card .artifact-content .artifact-image-container {
  position: relative;
  flex-shrink: 0;
}
.liked-artifact-card .artifact-content .artifact-image-container .artifact-image {
  border-radius: 12px;
  overflow: hidden;
}
.liked-artifact-card .artifact-content .artifact-image-container .liked-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #ff4757;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1C1C1E;
}
.liked-artifact-card .artifact-content .artifact-image-container .liked-badge :global(.antd-mobile-icon) {
  font-size: 12px;
  color: white;
}
.liked-artifact-card .artifact-content .artifact-image-container .image-placeholder {
  width: 80px;
  height: 80px;
  background: #2C2C2E;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.liked-artifact-card .artifact-content .artifact-image-container .image-placeholder .placeholder-icon {
  font-size: 32px;
  color: #EBEBF599;
}
.liked-artifact-card .artifact-content .artifact-info {
  flex: 1;
  min-width: 0;
}
.liked-artifact-card .artifact-content .artifact-info .artifact-name {
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-align: left;
}
.liked-artifact-card .artifact-content .artifact-info .artifact-category {
  font-size: 12px;
  color: #007AFF;
  margin: 0 0 8px 0;
  font-weight: 500;
}
.liked-artifact-card .artifact-content .artifact-info .artifact-description {
  font-size: 12px;
  color: #EBEBF5;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.liked-artifact-card .artifact-content .artifact-actions {
  flex-shrink: 0;
}
.liked-artifacts-page {
  height: 100%;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}
.liked-artifacts-page .page-header {
  flex-shrink: 0;
  z-index: 10;
}
.liked-artifacts-page .page-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  padding-bottom: 24px;
}
.liked-artifacts-page .page-content .stats-container {
  margin-bottom: 24px;
}
.liked-artifacts-page .page-content .stats-container .stats-card {
  background: linear-gradient(135deg, #ff4757, #ff6b7a);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(255, 71, 87, 0.3);
}
.liked-artifacts-page .page-content .stats-container .stats-card .stats-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
}
.liked-artifacts-page .page-content .stats-container .stats-card .stats-icon :global(.antd-mobile-icon) {
  font-size: 24px;
  color: white;
}
.liked-artifacts-page .page-content .stats-container .stats-card .stats-info {
  flex: 1;
}
.liked-artifacts-page .page-content .stats-container .stats-card .stats-info .stats-number {
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.liked-artifacts-page .page-content .stats-container .stats-card .stats-info .stats-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.liked-artifacts-page .page-content .artifacts-container .artifacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.liked-artifacts-page .page-content .artifacts-container .loading-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.liked-artifacts-page .page-content .artifacts-container .loading-container .liked-artifact-card .artifact-content .artifact-image-skeleton {
  width: 80px;
  height: 80px;
  border-radius: 12px;
}
.liked-artifacts-page .page-content .artifacts-container .loading-container .liked-artifact-card .artifact-content .artifact-info .name-skeleton {
  width: 120px;
  height: 20px;
  margin-bottom: 8px;
}
.liked-artifacts-page .page-content .artifacts-container .loading-container .liked-artifact-card .artifact-content .artifact-info .category-skeleton {
  width: 80px;
  height: 16px;
  margin-bottom: 8px;
}
.liked-artifacts-page .page-content .artifacts-container .loading-container .liked-artifact-card .artifact-content .artifact-info .description-skeleton {
  width: 200px;
  height: 32px;
}
.liked-artifacts-page .page-content .artifacts-container .empty-container {
  text-align: center;
  padding: 48px 0;
}
.liked-artifacts-page .page-content .artifacts-container .empty-container .empty-tip {
  color: #EBEBF599;
  font-size: 14px;
  margin: 16px 0 0 0;
}
.liked-artifacts-page .page-content .artifacts-container .error-container {
  text-align: center;
  padding: 48px 0;
}
.liked-artifacts-page .page-content .artifacts-container .error-container .retry-button {
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 8px 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.liked-artifacts-page .page-content .artifacts-container .error-container .retry-button:hover {
  background: #0062cc;
}
.liked-artifacts-page .page-content .artifacts-container .error-container .retry-button:active {
  transform: scale(0.98);
}
@media (max-width: 480px) {
  .liked-artifacts-page .page-content {
    padding: 16px;
  }
  .liked-artifacts-page .page-content .stats-container .stats-card {
    padding: 16px;
  }
  .liked-artifacts-page .page-content .stats-container .stats-card .stats-icon {
    width: 50px;
    height: 50px;
    margin-right: 16px;
  }
  .liked-artifacts-page .page-content .stats-container .stats-card .stats-icon :global(.antd-mobile-icon) {
    font-size: 4px;
  }
  .liked-artifacts-page .page-content .stats-container .stats-card .stats-info .stats-number {
    font-size: 24px;
  }
  .liked-artifacts-page .page-content .stats-container .stats-card .stats-info .stats-label {
    font-size: 14px;
  }
  .liked-artifacts-page .page-content .artifacts-container .liked-artifact-card .artifact-content {
    padding: 8px;
    gap: 8px;
  }
  .liked-artifacts-page .page-content .artifacts-container .liked-artifact-card .artifact-content .artifact-image-container .artifact-image {
    width: 70px;
    height: 70px;
  }
  .liked-artifacts-page .page-content .artifacts-container .liked-artifact-card .artifact-content .artifact-image-container .image-placeholder {
    width: 70px;
    height: 70px;
  }
  .liked-artifacts-page .page-content .artifacts-container .liked-artifact-card .artifact-content .artifact-image-container .image-placeholder .placeholder-icon {
    font-size: 24px;
  }
  .liked-artifacts-page .page-content .artifacts-container .liked-artifact-card .artifact-content .artifact-info .artifact-name {
    font-size: 16px;
  }
  .liked-artifacts-page .page-content .artifacts-container .liked-artifact-card .artifact-content .artifact-info .artifact-description {
    font-size: 12px;
  }
}
.share-card-page {
  height: 100%;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}
.share-card-page .page-header {
  flex-shrink: 0;
  z-index: 10;
}
.share-card-page .page-content {
  margin-bottom: 50px;
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.share-card-page .page-content .card-preview-container {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.share-card-page .page-content .action-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.artifact-share-img-card {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}
.artifact-share-img-card .card-background-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.6);
  transform: scale(1.2);
  z-index: 1;
}
.artifact-share-img-card .card-main-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px 24px;
}
.artifact-share-img-card .card-main-content .museum-name-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.artifact-share-img-card .card-main-content .museum-name-section .museum-name {
  font-size: 24px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}
.artifact-share-img-card .card-main-content .artifact-image-section {
  flex: 6;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.artifact-share-img-card .card-main-content .artifact-image-section .artifact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.artifact-share-img-card .card-main-content .artifact-image-section .image-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}
.artifact-share-img-card .card-main-content .artifact-image-section .image-placeholder .placeholder-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.artifact-share-img-card .card-main-content .artifact-image-section .image-placeholder .placeholder-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.artifact-share-img-card .card-main-content .artifact-info-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
}
.artifact-share-img-card .card-main-content .artifact-info-card .artifact-info-left {
  flex: 2;
  min-width: 0;
}
.artifact-share-img-card .card-main-content .artifact-info-card .artifact-info-left .artifact-name {
  font-size: 24px;
  font-weight: 700;
  color: black;
  margin: 0 0 12px 0;
  line-height: 1.2;
}
.artifact-share-img-card .card-main-content .artifact-info-card .artifact-info-left .artifact-description {
  font-size: 12px;
  color: black;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.artifact-share-img-card .card-main-content .artifact-info-card .qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex: 1;
}
.artifact-share-img-card .card-main-content .artifact-info-card .qr-section .qr-code-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.artifact-share-img-card .card-main-content .artifact-info-card .qr-section .qr-code-placeholder .qr-code-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}
.artifact-share-img-card .card-main-content .artifact-info-card .qr-section .qr-tip {
  font-size: 12px;
  color: #888888;
  margin: 0;
  font-weight: 400;
}
.artifact-share-img-card .card-main-content .action-tips {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}
.artifact-share-img-card .card-main-content .action-tips .action-tip-main,
.artifact-share-img-card .card-main-content .action-tips .action-tip-sub {
  font-size: 12px;
  color: #cccccc;
  margin: 0;
  font-weight: 600;
}
.artifact-share-img-card .card-main-content .action-tips .action-tip-arrow {
  font-size: 14px;
  color: #cccccc;
  margin: 0 8px;
  flex-shrink: 0;
}
.chat-message-list {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.chat-message-list .chat-message-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 12px;
  font-weight: 500;
}
.chat-message-list .chat-message-list-header .chat-message-list-title {
  font-size: 13px;
  font-weight: 600;
}
.chat-message-list .chat-message-list-header .chat-message-list-clear-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.chat-message-list .chat-message-list-header .chat-message-list-clear-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.chat-message-list .chat-message-list-header .chat-message-list-clear-btn:active {
  background: rgba(255, 255, 255, 0.3);
}
.chat-message-list .chat-message-list-container {
  max-height: 400px;
  overflow-y: auto;
  justify-content: flex-end;
  scroll-behavior: smooth;
}
.chat-message-list .chat-message-list-container::-webkit-scrollbar {
  display: none;
}
.chat-message-list .chat-message-list-container::-webkit-scrollbar {
  width: 4px;
}
.chat-message-list .chat-message-list-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}
.chat-message-list .chat-message-list-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}
.chat-message-list .chat-message-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}
.chat-message-list .chat-message-list-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  color: #999;
  font-size: 12px;
}
.chat-message-list .chat-message-item {
  margin-bottom: 8px;
  animation: messageSlideIn 0.3s ease-out;
}
.chat-message-list .chat-message-item:last-child {
  margin-bottom: 0;
}
.chat-message-list .chat-message-item.user {
  display: flex;
  justify-content: flex-start;
}
.chat-message-list .chat-message-item.user .chat-message-bubble {
  background: white;
  color: #333;
  border-radius: 24px;
  max-width: 100%;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chat-message-list .chat-message-item.ai {
  display: flex;
  justify-content: flex-start;
}
.chat-message-list .chat-message-item.ai .chat-message-bubble {
  background: rgba(245, 247, 250, 0.5);
  color: #222;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 220, 220, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.chat-message-list .chat-message-bubble {
  padding: 8px 12px;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.chat-message-list .chat-message-bubble .chat-message-role {
  font-size: 16px;
  margin-bottom: 2px;
  font-weight: 500;
}
.chat-message-list .chat-message-bubble .chat-message-text {
  font-size: 16px;
  margin-bottom: 4px;
  white-space: pre-wrap;
}
.chat-message-list .chat-message-bubble .chat-message-text .streaming-cursor {
  animation: blink 1s infinite;
  color: #1976d2;
  font-weight: bold;
}
.chat-message-list .chat-message-bubble .chat-message-time {
  font-size: 11px;
  text-align: right;
}
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
.navigation-controller {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}
.navigation-controller .nav-bar {
  flex-shrink: 0;
  z-index: 1000;
}
.navigation-controller .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.user-profile-survey {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #1C1C1E;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease-out;
}
.user-profile-survey.intro-screen {
  background: linear-gradient(135deg, #000000 0%, #1C1C1E 50%, #000000 100%);
  justify-content: center;
  align-items: center;
  animation: none;
}
.user-profile-survey.intro-screen .intro-content {
  text-align: center;
  max-width: 80%;
  opacity: 0;
  transform: translateY(50px);
}
.user-profile-survey.intro-screen .intro-content.fadeIn {
  animation: introFadeIn 0.8s ease-out forwards;
}
.user-profile-survey.intro-screen .intro-content.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease-out;
}
.user-profile-survey.intro-screen .intro-content.fadeOut {
  animation: introFadeOut 0.8s ease-out forwards;
}
.user-profile-survey.intro-screen .intro-content .intro-title {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.user-profile-survey.intro-screen .intro-content .intro-subtitle {
  font-size: 40px;
  color: #EBEBF5;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
  font-weight: 600;
}
.user-profile-survey .survey-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 16px;
  background: #1C1C1E;
  border-bottom: 1px solid #48484A;
}
.user-profile-survey .survey-header .left-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-profile-survey .survey-header .left-buttons .skip-button {
  background: none;
  border: none;
  color: #EBEBF599;
  font-size: 14px;
  padding: 8px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.user-profile-survey .survey-header .left-buttons .skip-button:hover {
  background: #2C2C2E;
  color: #EBEBF5;
}
.user-profile-survey .survey-header .left-buttons .previous-button {
  background: #1C1C1E;
  border: 1px solid #48484A;
  color: #EBEBF5;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.user-profile-survey .survey-header .left-buttons .previous-button:hover {
  background: #2C2C2E;
  border-color: #007AFF;
  color: #007AFF;
  transform: translateY(-1px);
}
.user-profile-survey .survey-header .left-buttons .previous-button:active {
  transform: translateY(0);
}
.user-profile-survey .fixed-next-button-container {
  position: fixed;
  bottom: 0;
  z-index: 1000;
  width: 100%;
}
.user-profile-survey .fixed-next-button-container .next-button {
  position: relative;
  width: 100%;
  background: #007AFF;
  border: none;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.user-profile-survey .fixed-next-button-container .next-button.disabled {
  background: rgba(0, 122, 255, 0.1);
  color: #EBEBF52E;
  cursor: not-allowed;
  box-shadow: none;
}
.user-profile-survey .fixed-next-button-container .next-button.disabled:hover {
  transform: none;
  box-shadow: none;
}
.user-profile-survey .survey-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 48px 32px;
  text-align: center;
}
.user-profile-survey .survey-content .survey-title {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}
.user-profile-survey .survey-content .progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 8px;
  margin-bottom: 24px;
}
.user-profile-survey .survey-content .progress-container .progress-bar {
  width: 80%;
  height: 6px;
  background: #3A3A3C;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.user-profile-survey .survey-content .progress-container .progress-bar .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007AFF, #5AC8FA);
  border-radius: 4px;
  transition: width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1);
}
.user-profile-survey .survey-content .progress-container .progress-text {
  font-size: 14px;
  color: #EBEBF599;
  font-weight: 500;
}
.user-profile-survey .survey-content .options-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 80%;
  align-items: center;
  animation: fadeInUp 0.5s ease-out 0.3s both;
}
.user-profile-survey .survey-content .options-container .option-button {
  background: #1C1C1E;
  border: 2px solid #48484A;
  border-radius: 16px;
  width: 80%;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 600;
  color: #EBEBF5;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  min-width: 200px;
}
.user-profile-survey .survey-content .options-container .option-button:hover {
  border-color: #007AFF;
  background: #2C2C2E;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.user-profile-survey .survey-content .options-container .option-button.selected {
  border-color: #0056CC;
  background: #007AFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  transform: translateY(-3px);
}
.user-profile-survey .survey-content .options-container .option-button:active {
  transform: translateY(-1px);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes introFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes introFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-50px);
  }
}
@media (max-width: 480px) {
  .user-profile-survey.intro-screen .intro-content {
    max-width: 90%;
  }
  .user-profile-survey.intro-screen .intro-content .intro-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .user-profile-survey.intro-screen .intro-content .intro-subtitle {
    font-size: 16px;
  }
  .user-profile-survey .survey-header {
    padding: 16px 24px 8px;
  }
  .user-profile-survey .survey-header .left-buttons {
    gap: 8px;
  }
  .user-profile-survey .survey-header .left-buttons .previous-button {
    padding: 4px 8px;
    font-size: 12px;
  }
  .user-profile-survey .survey-header .progress-container {
    margin-bottom: 32px;
  }
  .user-profile-survey .survey-header .progress-container .progress-bar {
    width: 350px;
  }
  .user-profile-survey .survey-header .progress-container .progress-text {
    font-size: 12px;
  }
  .user-profile-survey .survey-content {
    padding: 32px 0 8px 0;
  }
  .user-profile-survey .survey-content .survey-title {
    font-size: 24px;
    margin-bottom: 32px;
  }
  .user-profile-survey .survey-content .options-container {
    gap: 16px;
  }
  .user-profile-survey .survey-content .options-container .option-button {
    padding: 16px 24px;
    font-size: 16px;
    min-width: 180px;
  }
}
.image-search-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #000000;
}
.image-search-page .search-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.image-search-page .select-image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background-color: #1C1C1E;
}
.image-search-page .select-image-container .select-options {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 300px;
}
.image-search-page .select-image-container .select-options .camera-button,
.image-search-page .select-image-container .select-options .gallery-button {
  height: 60px;
  border-radius: 12px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.image-search-page .select-image-container .select-options .camera-button :global(.antd-mobile-icon),
.image-search-page .select-image-container .select-options .gallery-button :global(.antd-mobile-icon) {
  font-size: 24px;
}
.image-search-page .select-image-container .select-options .camera-button {
  background-color: #007AFF;
  color: #FFFFFF;
  border: none;
}
.image-search-page .select-image-container .select-options .camera-button:active {
  background-color: #0056CC;
}
.image-search-page .select-image-container .select-options .gallery-button {
  background-color: #2C2C2E;
  color: #EBEBF5;
  border: 1px solid #48484A;
}
.image-search-page .select-image-container .select-options .gallery-button:active {
  background-color: #3A3A3C;
}
.image-search-page .select-image-container .select-tip {
  margin-top: 48px;
  text-align: center;
  color: #EBEBF599;
  font-size: 14px;
  line-height: 1.6;
}
.image-search-page .select-image-container .select-tip p {
  margin: 8px 0;
}
.image-search-page .captured-image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #1C1C1E;
  padding: 24px;
  gap: 24px;
}
.image-search-page .captured-image-container .image-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 24px;
}
.image-search-page .captured-image-container .image-preview :global(.adm-image) {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.image-search-page .captured-image-container .action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
}
.image-search-page .captured-image-container .action-buttons .retake-button,
.image-search-page .captured-image-container .action-buttons .confirm-button,
.image-search-page .captured-image-container .action-buttons .retake-photo-button {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.image-search-page .captured-image-container .action-buttons .retake-button :global(.antd-mobile-icon),
.image-search-page .captured-image-container .action-buttons .confirm-button :global(.antd-mobile-icon),
.image-search-page .captured-image-container .action-buttons .retake-photo-button :global(.antd-mobile-icon) {
  font-size: 18px;
}
.image-search-page .captured-image-container .action-buttons .retake-button {
  background-color: #2C2C2E;
  color: #EBEBF5;
  border: 1px solid #48484A;
}
.image-search-page .captured-image-container .action-buttons .retake-button:active {
  background-color: #3A3A3C;
}
.image-search-page .captured-image-container .action-buttons .confirm-button {
  background-color: #007AFF;
  color: #FFFFFF;
  border: none;
}
.image-search-page .captured-image-container .action-buttons .confirm-button:active {
  background-color: #0056CC;
}
.image-search-page .captured-image-container .action-buttons .retake-photo-button {
  background-color: #FF9500;
  color: #FFFFFF;
  border: none;
}
.image-search-page .captured-image-container .action-buttons .retake-photo-button:active {
  background-color: #E6850E;
}
.search-result-page {
  display: flex;
  flex-direction: column;
  background-color: #1C1C1E;
  overflow: hidden;
}
.search-result-page .result-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 0;
}
.search-result-page .result-content .result-section {
  background-color: #1C1C1E;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.search-result-page .result-content .result-section .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}
.search-result-page .result-content .result-section .relic-found .relic-image {
  margin-bottom: 16px;
  text-align: center;
}
.search-result-page .result-content .result-section .relic-found .relic-image :global(.adm-image) {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.search-result-page .result-content .result-section .relic-found .relic-info .relic-name {
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  text-align: center;
}
.search-result-page .result-content .result-section .relic-found .relic-info .relic-description {
  font-size: 14px;
  line-height: 1.6;
  color: #EBEBF5;
  margin: 0 0 16px 0;
  text-align: justify;
}
.search-result-page .result-content .result-section .relic-found .relic-info .relic-detail {
  display: flex;
  margin-bottom: 8px;
  font-size: 14px;
}
.search-result-page .result-content .result-section .relic-found .relic-info .relic-detail .detail-label {
  color: #EBEBF54D;
  min-width: 60px;
  flex-shrink: 0;
}
.search-result-page .result-content .result-section .relic-found .relic-info .relic-detail .detail-value {
  color: #FFFFFF;
  flex: 1;
}
.search-result-page .result-content .result-section .relic-not-found {
  text-align: center;
  padding: 24px 0;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-description {
  font-size: 14px;
  color: #EBEBF5;
  margin: 0 0 16px 0;
  line-height: 1.4;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-reasons {
  text-align: left;
  margin: 0 0 24px 0;
  padding-left: 24px;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-reasons li {
  font-size: 14px;
  color: #EBEBF5;
  margin-bottom: 8px;
  line-height: 1.2;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-tips {
  text-align: left;
  background-color: #2C2C2E;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-tips h4 {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-tips ul {
  margin: 0;
  padding-left: 24px;
}
.search-result-page .result-content .result-section .relic-not-found .not-found-tips ul li {
  font-size: 12px;
  color: #EBEBF5;
  margin-bottom: 4px;
  line-height: 1.2;
}
.search-result-page .result-content .action-buttons {
  display: flex;
  gap: 8px;
  padding: 0 4px 24px 4px;
  background-color: #1C1C1E;
}
.search-result-page .result-content .action-buttons .retake-button,
.search-result-page .result-content .action-buttons .view-detail-button {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.search-result-page .result-content .action-buttons .retake-button :global(.antd-mobile-icon),
.search-result-page .result-content .action-buttons .view-detail-button :global(.antd-mobile-icon) {
  font-size: 18px;
}
.search-result-page .result-content .action-buttons .retake-button {
  background-color: #2C2C2E;
  color: #EBEBF5;
  border: 1px solid #48484A;
}
.search-result-page .result-content .action-buttons .retake-button:active {
  background-color: #3A3A3C;
}
.search-result-page .result-content .action-buttons .view-detail-button {
  background-color: #007AFF;
  color: #FFFFFF;
  border: none;
}
.search-result-page .result-content .action-buttons .view-detail-button:active {
  background-color: #0056CC;
}
.beacon-test-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
}
.beacon-test-page .beacon-header {
  text-align: center;
  margin-bottom: 30px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.beacon-test-page .beacon-header h1 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 28px;
}
.beacon-test-page .beacon-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
}
.beacon-test-page .scan-controls {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.beacon-test-page .scan-controls .scan-options {
  margin-bottom: 20px;
}
.beacon-test-page .scan-controls .scan-options .option-group {
  margin-bottom: 15px;
}
.beacon-test-page .scan-controls .scan-options .option-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}
.beacon-test-page .scan-controls .scan-options .option-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
.beacon-test-page .scan-controls .scan-options .option-group input:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}
.beacon-test-page .scan-controls .scan-options .option-row {
  display: flex;
  gap: 15px;
}
.beacon-test-page .scan-controls .scan-options .option-row .option-group {
  flex: 1;
}
.beacon-test-page .scan-controls .scan-buttons {
  text-align: center;
}
.beacon-test-page .scan-controls .scan-buttons button {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.beacon-test-page .scan-controls .scan-buttons button.start-btn {
  background: #4CAF50;
  color: white;
}
.beacon-test-page .scan-controls .scan-buttons button.start-btn:hover {
  background: #45a049;
}
.beacon-test-page .scan-controls .scan-buttons button.default-btn {
  background: #2196F3;
  color: white;
  margin-right: 10px;
}
.beacon-test-page .scan-controls .scan-buttons button.default-btn:hover {
  background: #1976D2;
}
.beacon-test-page .scan-controls .scan-buttons button.stop-btn {
  background: #f44336;
  color: white;
}
.beacon-test-page .scan-controls .scan-buttons button.stop-btn:hover {
  background: #da190b;
}
.beacon-test-page .status-display {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.beacon-test-page .status-display .status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.beacon-test-page .status-display .status-item:last-child {
  border-bottom: none;
}
.beacon-test-page .status-display .status-item .label {
  font-weight: 500;
  color: #333;
}
.beacon-test-page .status-display .status-item .value {
  font-weight: 600;
}
.beacon-test-page .status-display .status-item .value.scanning {
  color: #FF9800;
}
.beacon-test-page .status-display .status-item .value.idle {
  color: #666;
}
.beacon-test-page .status-display .status-item .value.connected {
  color: #4CAF50;
}
.beacon-test-page .status-display .status-item .value.disconnected {
  color: #f44336;
}
.beacon-test-page .error-message {
  background: #ffebee;
  color: #c62828;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid #f44336;
}
.beacon-test-page .beacon-data {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.beacon-test-page .beacon-data h3 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 20px;
}
.beacon-test-page .beacon-data .data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.beacon-test-page .beacon-data .data-grid .data-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
}
.beacon-test-page .beacon-data .data-grid .data-item .label {
  font-weight: 500;
  color: #666;
}
.beacon-test-page .beacon-data .data-grid .data-item .value {
  font-weight: 600;
  color: #333;
}
.beacon-test-page .beacon-data .data-grid .data-item .value.rssi-value {
  font-weight: 700;
}
.beacon-test-page .beacon-data .data-grid .data-item .value.distance-value {
  font-weight: 700;
  font-size: 18px;
}
.beacon-test-page .beacon-data .distance-visualization .distance-gauge .gauge-container {
  text-align: center;
}
.beacon-test-page .beacon-data .distance-visualization .distance-gauge .gauge-container .gauge-background {
  width: 100%;
  height: 20px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.beacon-test-page .beacon-data .distance-visualization .distance-gauge .gauge-container .gauge-background .gauge-fill {
  height: 100%;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.beacon-test-page .beacon-data .distance-visualization .distance-gauge .gauge-container .gauge-label {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.beacon-test-page .all-devices-scan {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.beacon-test-page .all-devices-scan .scan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.beacon-test-page .all-devices-scan .scan-header h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls {
  display: flex;
  gap: 10px;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls button.start-btn {
  background: #4CAF50;
  color: white;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls button.start-btn:hover {
  background: #45a049;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls button.stop-btn {
  background: #f44336;
  color: white;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls button.stop-btn:hover {
  background: #da190b;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls button.clear-btn {
  background: #FF9800;
  color: white;
}
.beacon-test-page .all-devices-scan .scan-header .scan-controls button.clear-btn:hover {
  background: #e68900;
}
.beacon-test-page .all-devices-scan .devices-list .devices-header {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content {
  max-height: 400px;
  overflow-y: auto;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .no-devices {
  text-align: center;
  color: #999;
  padding: 20px;
  font-style: italic;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item {
  border: 1px solid #e9ecef;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 12px;
  background: #f8f9fa;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-info .device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-info .device-header .device-name {
  font-weight: 600;
  color: #333;
  flex: 1;
  margin-right: 10px;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-info .device-header .distance-badge {
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-info .device-header .distance-badge:hover {
  transform: scale(1.05);
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-info .device-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-info .device-details span {
  background: #e9ecef;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  color: #666;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-info .device-time {
  font-size: 12px;
  color: #999;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-data {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e9ecef;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-data details summary {
  cursor: pointer;
  color: #666;
  font-size: 11px;
  margin-bottom: 4px;
  transition: all 0.2s ease;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-data details summary:hover {
  color: #333;
  background-color: #e9ecef;
}
.beacon-test-page .all-devices-scan .devices-list .devices-content .device-item .device-data details pre {
  background: #f8f9fa;
  padding: 8px;
  border-radius: 4px;
  font-size: 10px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  border: 1px solid #e9ecef;
  margin-top: 4px;
}
.beacon-test-page .log-display {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.beacon-test-page .log-display .log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.beacon-test-page .log-display .log-header h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
}
.beacon-test-page .log-display .log-header .clear-log-btn {
  padding: 6px 12px;
  background: #f44336;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}
.beacon-test-page .log-display .log-header .clear-log-btn:hover {
  background: #da190b;
}
.beacon-test-page .log-display .log-content {
  max-height: 300px;
  overflow-y: auto;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 10px;
}
.beacon-test-page .log-display .log-content .no-logs {
  color: #999;
  text-align: center;
  font-style: italic;
}
.beacon-test-page .log-display .log-content .log-entry {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #333;
  margin-bottom: 4px;
  word-break: break-all;
  line-height: 1.4;
  padding: 2px 0;
  border-bottom: 1px solid #eee;
}
.beacon-test-page .log-display .log-content .log-entry:last-child {
  border-bottom: none;
}
.beacon-test-page .instructions {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.beacon-test-page .instructions h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 18px;
}
.beacon-test-page .instructions ul {
  margin: 0;
  padding-left: 20px;
  color: #666;
  line-height: 1.6;
}
.beacon-test-page .instructions ul li {
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .beacon-test-page {
    padding: 15px;
  }
  .beacon-test-page .scan-controls .scan-options .option-row {
    flex-direction: column;
    gap: 0;
  }
  .beacon-test-page .beacon-data .data-grid {
    grid-template-columns: 1fr;
  }
}
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.login-page .main-content {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.login-page .qr-section {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 12px;
  margin-bottom: 20px;
}
.login-page .qr-section .qr-code {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}
.login-page .qr-section .qr-code:hover {
  border-color: #8c6bc1;
  background: rgba(140, 107, 193, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(140, 107, 193, 0.2);
}
.login-page .qr-section .qr-code:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(140, 107, 193, 0.3);
}
.login-page .qr-section .qr-code .qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}
.login-page .qr-section .qr-code .qr-placeholder .qr-icon {
  width: 100%;
  height: 100%;
  padding: 2px;
  box-sizing: border-box;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(104%) contrast(104%);
}
.login-page .qr-section .qr-code .qr-text {
  position: absolute;
  bottom: -25px;
  font-size: 12px;
  color: #cccccc;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
.login-page .museum-brand {
  width: 100%;
  height: 20%;
  text-align: center;
}
.login-page .museum-brand .museum-logo {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #8c6bc1, #ad8cd5);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  box-shadow: 0 8px 32px rgba(140, 107, 193, 0.3);
  position: relative;
}
.login-page .museum-brand .museum-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.login-page .museum-brand .museum-logo .logo-icon {
  font-size: 50px;
  position: relative;
  z-index: 2;
}
.login-page .museum-brand .museum-title h1 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.login-page .museum-brand .museum-title p {
  font-size: 12px;
  color: #cccccc;
  margin: 0;
  letter-spacing: 1px;
  opacity: 0.8;
}
.login-page .login-form {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.login-page .login-form .start-button {
  background-color: #8c6bc1;
  border: none;
  border-radius: 16px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  box-shadow: 0 8px 24px rgba(140, 107, 193, 0.4);
  transition: all 0.3s ease;
}
.login-page .login-form .start-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(140, 107, 193, 0.5);
}
.login-page .login-form .start-button:active {
  transform: translateY(0);
}
.login-page .login-form .start-button:disabled {
  background-color: #6d4e9f;
  color: #888888;
  box-shadow: none;
  cursor: not-allowed;
}
.login-page .login-form .start-button:disabled:hover {
  transform: none;
  box-shadow: none;
}
.login-page .login-form .usage-link {
  text-align: center;
  margin-top: 8px;
}
.login-page .login-form .usage-link span {
  color: #cccccc;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.login-page .login-form .usage-link span:hover {
  color: #8c6bc1;
}
.login-page .login-form .language-switcher {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.language-trigger-btn {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.language-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}
.language-trigger-btn .global-icon {
  font-size: 18px;
  color: #cccccc;
}
.language-trigger-btn .current-lang {
  font-size: 10px;
  color: #cccccc;
  font-weight: 600;
}
.language-popover-container {
  border-radius: 8px;
  background: black;
}
.language-popover-container .language-popover .language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
}
.language-popover-container .language-popover .language-option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.language-popover-container .language-popover .language-option.active {
  background: rgba(140, 107, 193, 0.15);
}
.language-popover-container .language-popover .language-option.active .language-label {
  color: #8c6bc1;
  font-weight: 600;
}
.language-popover-container .language-popover .language-option.active .check-icon {
  color: #8c6bc1;
  font-weight: bold;
}
.language-popover-container .language-popover .language-option .language-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}
.language-popover-container .language-popover .language-option .check-icon {
  color: #8c6bc1;
  font-size: 16px;
}
.notice-popup {
  width: 100%;
  max-height: 60vh;
}
.notice-popup .notice-header {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.notice-popup .notice-header .notice-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.notice-popup .notice-content {
  width: 90%;
}
.notice-popup .notice-content .welcome-text {
  margin: 0 0 16px 0;
  color: #ffffff;
  line-height: 1.6;
  font-size: 15px;
  font-weight: 500;
}
.notice-popup .notice-content .notice-list {
  margin: 20px;
  margin-bottom: 0;
  padding: 0;
}
.notice-popup .notice-content .notice-list li {
  color: #cccccc;
  line-height: 1.6;
  font-size: 14px;
  position: relative;
}
.notice-popup .notice-content .agreement-text {
  color: #007AFF;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}
.debug-skip-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.debug-skip-button .skip-to-ai-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.debug-skip-button .skip-to-ai-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.debug-skip-button .skip-to-ai-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.qr-modal :global(.adm-modal) {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.qr-modal .qr-modal-content {
  padding: 0;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
}
.qr-modal .qr-modal-header {
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px 0 20px;
}
.qr-modal .qr-modal-header .close-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #cccccc;
}
.qr-modal .qr-modal-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}
.qr-modal .qr-modal-header .close-btn:active {
  transform: scale(0.95);
}
.qr-modal .qr-modal-header .close-btn svg {
  font-size: 18px;
}
.qr-modal .qr-modal-body {
  padding: 0 32px 32px 32px;
  text-align: center;
}
.qr-modal .qr-modal-body .qr-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.qr-modal .qr-modal-body .qr-modal-description {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 32px;
  opacity: 0.8;
}
.qr-modal .qr-modal-body .qr-modal-qr {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.qr-modal .qr-modal-body .qr-modal-qr .qr-large-icon {
  width: 200px;
  height: 200px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(104%) contrast(104%);
  transition: all 0.3s ease;
}
.qr-modal .qr-modal-body .qr-modal-qr .qr-large-icon:hover {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(104%) contrast(104%) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}
@media (max-width: 480px) {
  .login-page {
    padding: 16px;
    padding-top: 2px;
  }
  .login-page .main-content {
    gap: 32px;
  }
  .login-page .qr-section {
    gap: 16px;
  }
  .login-page .qr-section .qr-code {
    width: 100px;
    height: 100px;
  }
  .login-page .qr-section .qr-code .qr-placeholder .qr-icon {
    width: 100%;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
  }
  .login-page .qr-section .qr-code .qr-placeholder .qr-text {
    font-size: 11px;
    bottom: -25px;
  }
  .login-page .museum-brand {
    width: 110%;
    height: 20%;
  }
  .login-page .museum-brand .museum-logo {
    width: 100%;
    height: 140px;
  }
  .login-page .museum-brand .museum-logo .logo-icon {
    font-size: 40px;
  }
  .login-page .museum-brand .museum-title h1 {
    font-size: 22px;
  }
  .login-page .museum-brand .museum-title p {
    font-size: 11px;
  }
  .login-page .login-form {
    gap: 20px;
  }
  .login-page .login-form .start-button {
    height: 48px;
    font-size: 15px;
  }
}
@media (min-width: 768px) {
  .login-page .main-content {
    max-width: 450px;
    gap: 48px;
  }
  .login-page .qr-section {
    gap: 24px;
  }
  .login-page .qr-section .qr-code {
    width: 140px;
    height: 140px;
  }
  .login-page .qr-section .qr-code .qr-placeholder .qr-icon {
    width: 100%;
    height: 100%;
    padding: 10px;
  }
  .login-page .qr-section .qr-code .qr-placeholder .qr-text {
    font-size: 13px;
    bottom: -35px;
  }
  .login-page .museum-brand {
    width: 100%;
    height: 20%;
  }
  .login-page .museum-brand .museum-logo {
    width: 110px;
    height: 110px;
  }
  .login-page .museum-brand .museum-logo .logo-icon {
    font-size: 54px;
  }
  .login-page .museum-brand .museum-title h1 {
    font-size: 26px;
  }
  .login-page .museum-brand .museum-title p {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .qr-modal :global(.adm-modal) {
    margin: 20px;
    border-radius: 12px;
  }
  .qr-modal .qr-modal-content {
    border-radius: 12px;
  }
  .qr-modal .qr-modal-header {
    padding: 12px 16px 0 16px;
  }
  .qr-modal .qr-modal-header .close-btn {
    width: 28px;
    height: 28px;
  }
  .qr-modal .qr-modal-header .close-btn svg {
    font-size: 16px;
  }
  .qr-modal .qr-modal-body {
    padding: 0 24px 24px 24px;
  }
  .qr-modal .qr-modal-body .qr-modal-title {
    font-size: 18px;
  }
  .qr-modal .qr-modal-body .qr-modal-description {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .qr-modal .qr-modal-body .qr-modal-qr .qr-large-icon {
    width: 160px;
    height: 160px;
  }
}
@media (min-width: 768px) {
  .qr-modal :global(.adm-modal) {
    border-radius: 20px;
  }
  .qr-modal .qr-modal-content {
    border-radius: 20px;
  }
  .qr-modal .qr-modal-header {
    padding: 20px 24px 0 24px;
  }
  .qr-modal .qr-modal-header .close-btn {
    width: 36px;
    height: 36px;
  }
  .qr-modal .qr-modal-header .close-btn svg {
    font-size: 20px;
  }
  .qr-modal .qr-modal-body {
    padding: 0 40px 40px 40px;
  }
  .qr-modal .qr-modal-body .qr-modal-title {
    font-size: 22px;
  }
  .qr-modal .qr-modal-body .qr-modal-description {
    font-size: 15px;
    margin-bottom: 36px;
  }
  .qr-modal .qr-modal-body .qr-modal-qr .qr-large-icon {
    width: 240px;
    height: 240px;
  }
}
.permission-popup .adm-center-popup-body {
  padding: 0;
  border-radius: 16px;
  background: var(--adm-color-background);
  max-height: 90vh;
  width: 80vw;
}
.permission-popup .permission-popup-content {
  padding: 24px;
}
.permission-popup .permission-popup-header {
  text-align: center;
  margin-bottom: 20px;
}
.permission-popup .permission-popup-header .permission-popup-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--adm-color-text);
  margin: 0;
}
.permission-popup .permission-popup-body {
  margin-bottom: 24px;
}
.permission-popup .permission-popup-body .permission-popup-description {
  font-size: 14px;
  color: var(--adm-color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.permission-popup .permission-popup-body .permission-popup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.permission-popup .permission-popup-body .permission-popup-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--adm-color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.permission-popup .permission-popup-body .permission-popup-privacy {
  font-size: 12px;
  color: var(--adm-color-weak);
  line-height: 1.5;
  padding: 12px;
  background: var(--adm-color-fill-content);
  border-radius: 8px;
  margin: 0;
}
.permission-popup .permission-popup-footer {
  display: flex;
  gap: 12px;
}
.permission-popup .permission-popup-footer .permission-popup-button {
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
}
.permission-popup .permission-popup-footer .permission-popup-button.confirm {
  font-weight: 500;
  width: 100%;
}
[data-prefers-color-scheme="dark"] .permission-popup .adm-center-popup-body {
  background: #1a1a1a;
}
[data-prefers-color-scheme="dark"] .permission-popup .permission-popup-privacy {
  background: rgba(255, 255, 255, 0.05);
}
[data-prefers-color-scheme="dark"] .permission-popup .permission-popup-button.cancel {
  border-color: rgba(255, 255, 255, 0.2);
}
.entry-page {
  min-height: 100%;
  background: linear-gradient(135deg, #0a0a0a7e 0%, #1a1a1a84 50%, #0f0f0f58 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.8);
}
.entry-page .bottom-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background: linear-gradient(to top, #000000, rgba(0, 0, 0, 0));
  z-index: 5;
  pointer-events: none;
}
.entry-page .main-content {
  position: relative;
  margin-top: auto;
  margin-bottom: 30%;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  z-index: 10;
}
.entry-page .age-selection {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.entry-page .age-selection .age-label {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-align: center;
}
.entry-page .age-selection .age-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: 280px;
}
.entry-page .age-selection .age-grid .age-card {
  position: relative;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  color: #ffffff;
  min-height: 80px;
}
.entry-page .age-selection .age-grid .age-card:hover {
  border-color: #8c6bc1;
  background: rgba(140, 107, 193, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(140, 107, 193, 0.2);
}
.entry-page .age-selection .age-grid .age-card:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(140, 107, 193, 0.3);
}
.entry-page .age-selection .age-grid .age-card.active {
  border-color: #8c6bc1;
  background: rgba(140, 107, 193, 0.15);
  box-shadow: 0 8px 24px rgba(140, 107, 193, 0.3);
}
.entry-page .age-selection .age-grid .age-card.active .age-main {
  color: #8c6bc1;
  font-weight: 600;
}
.entry-page .age-selection .age-grid .age-card.active .age-desc {
  color: #8c6bc1;
  opacity: 0.8;
}
.entry-page .age-selection .age-grid .age-card .age-main {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.entry-page .age-selection .age-grid .age-card .age-desc {
  font-size: 12px;
  color: #cccccc;
  transition: color 0.3s ease;
}
.entry-page .age-selection .age-grid .age-card .age-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #8c6bc1;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.entry-page .action-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.entry-page .action-section .museum-brand {
  top: 20%;
  width: 100%;
  text-align: center;
}
.entry-page .action-section .museum-brand .museum-logo {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #8c6bc1, #ad8cd5);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  box-shadow: 0 8px 32px rgba(140, 107, 193, 0.3);
  position: relative;
}
.entry-page .action-section .museum-brand .museum-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.entry-page .action-section .museum-brand .museum-title h1 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.entry-page .action-section .museum-brand .museum-title p {
  font-size: 12px;
  color: #cccccc;
  margin: 0;
  letter-spacing: 1px;
  opacity: 0.8;
}
.entry-page .action-section .start-button {
  margin-top: 10px;
  width: 100%;
  max-width: 220px;
  background-color: white;
  border: none;
  border-radius: 16px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: black;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
.entry-page .action-section .start-button:active {
  transform: translateY(0);
}
.entry-page .action-section .start-button:disabled {
  background-color: #6d4e9f;
  color: #888888;
  box-shadow: none;
  cursor: not-allowed;
}
.entry-page .action-section .start-button:disabled:hover {
  transform: none;
  box-shadow: none;
}
.entry-page .action-section .language-switcher-below {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}
.entry-page .language-switcher {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.entry-page .language-trigger-below {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.entry-page .language-trigger-below .language-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(104%) contrast(104%);
  transition: all 0.3s ease;
}
.entry-page .language-trigger-below .current-lang {
  font-size: 12px;
  color: #cccccc;
  font-weight: 600;
  margin-top: 3px;
}
.language-trigger-btn {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.language-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}
.language-trigger-btn .global-icon {
  font-size: 18px;
  color: #cccccc;
}
.language-trigger-btn .current-lang {
  font-size: 10px;
  color: #cccccc;
  font-weight: 600;
}
.language-popover-container {
  border-radius: 8px;
  background: black;
}
.language-popover-container .language-popover .language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
}
.language-popover-container .language-popover .language-option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.language-popover-container .language-popover .language-option.active {
  background: rgba(255, 255, 255, 0.1);
}
.language-popover-container .language-popover .language-option.active .language-label {
  color: white;
  font-weight: 600;
}
.language-popover-container .language-popover .language-option.active .check-icon {
  color: white;
  font-weight: bold;
}
.language-popover-container .language-popover .language-option .language-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}
.language-popover-container .language-popover .language-option .check-icon {
  color: #8c6bc1;
  font-size: 16px;
}
/* 基础页面动画容器 */
.page-transition-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.page-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
/* Push 动画 - 新页面从右侧进入（在上方），旧页面向左退出 */
.page-transition--push-enter {
  transform: translateX(100%);
  z-index: 10;
  /* 新页面在上方 */
}
.page-transition--push-enter-active {
  transform: translateX(0);
  z-index: 10;
}
.page-transition--push-enter-done {
  transform: translateX(0);
  z-index: 10;
}
.page-transition--push-exit {
  transform: translateX(0);
  z-index: 5;
  /* 旧页面在下方 */
}
.page-transition--push-exit-active {
  transform: translateX(-100%);
  z-index: 5;
}
.page-transition--push-exit-done {
  transform: translateX(-100%);
  z-index: 5;
}
/* Pop 动画 - 旧页面向右退出（在上方），新页面从左侧进入（在下方） */
.page-transition--pop-enter {
  transform: translateX(-50%);
  z-index: 5;
  /* 新页面在下方 */
}
.page-transition--pop-enter-active {
  transform: translateX(0);
  z-index: 5;
}
.page-transition--pop-enter-done {
  transform: translateX(0);
  z-index: 5;
}
.page-transition--pop-exit {
  transform: translateX(0);
  z-index: 10;
  /* 旧页面在上方 */
}
.page-transition--pop-exit-active {
  transform: translateX(100%);
  z-index: 10;
}
.page-transition--pop-exit-done {
  transform: translateX(100%);
  z-index: 10;
}
/* 动画完成后的状态 */
.page-container.current-page {
  z-index: 10 !important;
  /* 当前页面始终在最上层 */
  pointer-events: auto;
}
.page-container.prev-page {
  z-index: 5 !important;
  /* 上一页面在中间层 */
  pointer-events: none;
}
/* 隐藏已完成的上一页面，但保持DOM结构 */
.page-container.prev-page.page-transition--push-exit-done,
.page-container.prev-page.page-transition--pop-exit-done {
  visibility: hidden;
  pointer-events: none;
}
/* 隐藏页面的样式 */
.page-container.hidden-page {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
/* 确保隐藏页面不会干扰当前页面 */
.page-container.hidden-page * {
  pointer-events: none;
}
/* 确保动画期间页面内容不可点击 */
.page-container.page-transition--push-enter-active,
.page-container.page-transition--push-exit-active,
.page-container.page-transition--pop-enter-active,
.page-container.page-transition--pop-exit-active {
  pointer-events: none;
}
/* 动画完成后的页面可以正常交互 */
.page-container.page-transition--push-enter-done,
.page-container.page-transition--pop-enter-done {
  pointer-events: auto;
}
.service-test-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.service-test-page h1 {
  color: #333;
  margin-bottom: 30px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.service-panel {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-panel h2 {
  margin-top: 0;
  color: #555;
  font-size: 1.2em;
}

.status-line {
  margin: 15px 0;
  font-size: 14px;
}

.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
}

.status-connected {
  background: #4CAF50;
  color: white;
}

.status-disconnected {
  background: #9E9E9E;
  color: white;
}

.status-connecting {
  background: #2196F3;
  color: white;
}

.status-error {
  background: #f44336;
  color: white;
}

.controls {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.controls button {
  flex: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #2196F3;
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.controls button:hover:not(:disabled) {
  background: #1976D2;
}

.controls button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.log-panel {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.log-panel h3 {
  margin-top: 0;
  color: #555;
}

.log-content {
  height: 300px;
  overflow-y: auto;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 10px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.log-entry {
  margin-bottom: 5px;
  padding: 3px 0;
}

.log-time {
  color: #666;
  margin-right: 10px;
}

.log-message {
  color: #333;
}

.log-error .log-message {
  color: #f44336;
}

.log-success .log-message {
  color: #4CAF50;
}

.log-info .log-message {
  color: #2196F3;
}:root {
	font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
	line-height: 1.5;
	font-weight: 400;
	/* 
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; */
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	overscroll-behavior: none;
}

h1 {
	font-size: 3.2em;
	line-height: 1.1;
}
