:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  overscroll-behavior: none;
}

h1 {
  font-size: 18px;
  margin: 0;
}

button {
  border: none;
  cursor: pointer;
}

.card {
  border-radius: 16px;
}

/* Disable long-press context menu and image saving on mobile */
img,
svg,
canvas,
video {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* Re-enable pointer events for interactive elements */
button img,
a img,
.clickable img,
[role="button"] img {
  pointer-events: auto;
}:root {
  --color-primary: #6C34BA;
  --color-bg: #0f0d18;
  --color-card: #1a1825;
  --color-text: #ffffff;
  --color-muted: #bfbfd4;
  --color-slide: #2a2a2a;
}

[data-theme='light'] {
  --color-bg: #ffffff;
  --color-card: #f6f7fb;
  --color-text: #1a1a1a;
  --color-muted: #6b6b80;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
}

.accent {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--color-card);
  color: var(--color-text);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.card {
  /* background: var(--color-card); */
  border-radius: 16px;
}

[dir="rtl"] .message-wrap .badge {
  left: -10px;
  right: auto;
}

[dir="rtl"] .tabbar-center {
  direction: rtl;
}

[dir="rtl"] .icon-arrow {
  transform: scaleX(-1);
}

.duplicate-overlay[data-v-15d30f3c] {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #14111D;
  overflow: hidden;
}
.duplicate-image[data-v-15d30f3c] {
  height: 168px;
}

/* ====== 提示文案 ====== */
.hint-text[data-v-15d30f3c] {
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 20px;
  padding: 0;
  margin: 0;
  text-align: center;
}
