/* ===================================================
   小画家魔法屋 · 移动端样式
   基调：奶油底 + 暖黄主色 + 大圆角，温暖但不幼稚
   =================================================== */

:root {
  --cream: #FFFAF0;
  --card: #FFFFFF;
  --ink: #2C2440;
  --ink-2: #5B5470;
  --muted: #8E8499;
  --muted-2: #A79EB3;
  --line: #F1E8D4;
  --line-2: #EFE4CB;
  --amber: #FFC857;
  --amber-deep: #E0952F;
  --coral: #FF8C7A;
  --radius-lg: 26px;
  --radius-md: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* hidden 必须能压过 display:flex */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  padding-top: var(--safe-t);
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 6px;
  flex: 0 0 auto;
}

.brand { display: flex; align-items: center; gap: 9px; }
.brand-logo { display: block; border-radius: 11px; }
.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--ink);
}

.ai-badge {
  font-size: 10px;
  font-weight: 600;
  color: #8A7B54;
  background: #FFF3D6;
  border: 1px solid #F3E2B8;
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: .3px;
}

/* ---------------- 舞台 ---------------- */
.stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  min-height: 0;
}

.panel {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
  padding-top: 10px;
  animation: fadeUp .32s ease both;
}
.panel.is-active { display: flex; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------- ① 上传 ---------------- */
.intro { padding: 8px 4px 22px; }

.intro-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--ink);
}

.intro-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 196px;
  max-height: 400px;
  padding: 28px 20px;
  background: #FFFCF6;
  border: 2px dashed #E8D9BC;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  font-family: inherit;
}
.dropzone:active {
  transform: scale(.985);
  background: #FFF7E8;
  border-color: var(--amber);
}

.dz-icon { line-height: 0; }
.dz-icon svg { display: block; }

.dz-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.dz-hint {
  font-size: 12.5px;
  color: var(--muted-2);
}

.tips {
  list-style: none;
  margin: 22px 0 6px;
  padding: 0 4px;
}
.tips li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  padding: 5px 0;
  display: flex;
  gap: 8px;
}
.tips li b {
  color: var(--amber-deep);
  font-weight: 700;
  flex: 0 0 auto;
}

/* 每日额度提示：平时低调，用完才变醒目 */
.quota-line {
  margin: 10px 4px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-2);
  text-align: center;
}
.quota-line.is-out {
  color: #C7543F;
  background: #FFF1EC;
  border: 1px solid #FBD9CE;
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 600;
}
/* 额度用完：上传区整体降权，别让人觉得点了没反应 */
.dropzone.is-out {
  opacity: 0.62;
  border-style: dashed;
}

/* ---------------- ② 预览 + 风格 ---------------- */
.preview-row {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 24px;
}

.thumb-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border-radius: 13px;
  overflow: hidden;
  background: #FFF7E6;
}
.thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}
.thumb-tag {
  position: absolute;
  left: 5px;
  bottom: 5px;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  background: rgba(44, 36, 64, .58);
  border-radius: 5px;
  padding: 1px 5px;
}

.preview-meta { flex: 1 1 auto; min-width: 0; }
.pm-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pm-sub {
  margin: 0 0 8px;
  font-size: 11.5px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
/* 照片躺着时的一键转正：手机拍的画经常是横的 */
.pm-rotate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--amber-deep);
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
}
.pm-rotate:active { transform: scale(0.96); }
.pm-hint {
  margin: 8px 0 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--muted-2);
  opacity: 0.85;
}
.pm-change {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber-deep);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sect-title {
  margin: 0 0 14px 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.styles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 15px 14px 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.style-card:active { transform: scale(.975); }

.style-card .sw {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  margin-bottom: 3px;
  box-shadow: inset 0 -6px 10px -6px rgba(0,0,0,.22);
}

.style-card .sn {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.style-card .sd {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted-2);
}

.style-card.is-on {
  border-color: var(--ink);
  box-shadow: 0 5px 16px -6px rgba(44, 36, 64, .26);
}
.style-card.is-on::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 11px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'><path d='M4 7.6l2.4 2.4L11 5.2' stroke='%23FFC857' stroke-width='1.9' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/15px no-repeat;
}

/* 选风格页底部提示条（同时吸收多余空白） */
.style-tip {
  margin: auto 0 4px;
  padding: 14px 16px;
  background: #FFF7E4;
  border-radius: 15px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #A8762A;
}

/* ---------------- ③ 生成中 ---------------- */
.loader-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

.loader {
  position: relative;
  width: 132px;
  height: 132px;
  margin-bottom: 26px;
}

.loader-svg { display: block; width: 132px; height: 132px; }

.arc {
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset .9s cubic-bezier(.4,0,.2,1);
}

.loader-dot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  animation: brushWiggle 1.5s ease-in-out infinite;
}

@keyframes brushWiggle {
  0%, 100% { transform: rotate(-11deg) scale(1); }
  50%      { transform: rotate(11deg) scale(1.08); }
}

.ld-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.ld-sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.ld-time {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

/* ---------------- ④ 结果 ---------------- */
.result-head { padding: 6px 4px 14px; }

.rs-title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.rs-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted-2);
}

.result-frame {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 9px;
  box-shadow: 0 12px 30px -18px rgba(44, 36, 64, .3);
  margin: auto 0;
}

.result-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52vh;
  object-fit: contain;
  border-radius: 19px;
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
}

.save-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px 0 0;
  font-size: 12px;
  color: #A79EB3;
}

/* ---------------- 待处理动画提示条 ---------------- */
.pending-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 6px 0 14px;
  padding: 12px 15px;
  background: #FFF3D6;
  border: 1.5px solid #F0DFAF;
  border-radius: 16px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.pending-bar:active { transform: scale(.99); }

.pb-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-deep);
  animation: pbPulse 1.6s ease-in-out infinite;
}
@keyframes pbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.8); }
}

.pb-text {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  color: #8A6A1F;
  line-height: 1.4;
}
.pb-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  color: #B99A55;
  line-height: 1;
}

/* ---------------- 升级入口卡（动效） ---------------- */
.upgrade-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #FFF3D6 0%, #FFE9C7 100%);
  border: 1.5px solid #F2DFB2;
  border-radius: var(--radius-md);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease;
}
.upgrade-card:active {
  transform: scale(.985);
  box-shadow: 0 8px 20px -12px rgba(200, 150, 60, .55);
}

.uc-badge {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  background: #E0684F;
  border-radius: 999px;
  padding: 3px 8px;
  margin-top: 1px;
}

.uc-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.uc-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.uc-desc {
  font-size: 11.5px;
  color: #A8762A;
  line-height: 1.4;
}
.uc-arrow {
  flex: 0 0 auto;
  font-size: 20px;
  color: #C79E52;
  line-height: 1;
}

/* ---------------- ⑤ 排队中 ---------------- */
.queue-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 30px;
}

.queue-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 18px;
  animation: qFloat 2.6s ease-in-out infinite;
}
@keyframes qFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.queue-sub {
  margin: 6px 0 22px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 290px;
}

/* 排队中的三点呼吸动画：让等待看起来是"在动"，而不是卡住 */
/* ------------------------------------------------------------------ *
 * 轻动效：不花一分钱、不用排队，纯前端让这张画轻轻动起来
 * 缩放的基准都 >1，保证摇摆/推近时不会露出边角白缝
 * ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ *
 * 轻动效预览：动幅与最终 GIF 完全一致（千分之几的位移）
 * 以前放大到 1.13 倍会把画面边缘切掉，现在只在原尺寸内轻轻动
 * ------------------------------------------------------------------ */
.light-motion {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54vh;
  object-fit: contain;
  border-radius: 19px;
  background: #fff;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}
.light-motion.lm-breathe {
  animation: lmBreathe 6.5s ease-in-out infinite;
}
.light-motion.lm-sway {
  animation: lmSway 5s ease-in-out infinite;
}
.light-motion.lm-dance {
  animation: lmDance 2.6s ease-in-out infinite;
}
.light-motion.lm-sunshine {
  animation: lmSunshine 6s ease-in-out infinite;
}

@keyframes lmBreathe {
  0%, 100% { transform: scale(1.006); }
  50%      { transform: scale(1.016); }
}
@keyframes lmSway {
  0%, 100% { transform: scale(1.01) translateX(-0.4%) rotate(-0.5deg); }
  50%      { transform: scale(1.01) translateX(0.4%)  rotate(0.5deg); }
}
@keyframes lmDance {
  0%   { transform: scale(1.016) translateY(0.7%)  rotate(0.8deg); }
  25%  { transform: scale(1.012) translateY(-0.2%) rotate(0deg); }
  50%  { transform: scale(1.016) translateY(-0.7%) rotate(-0.8deg); }
  75%  { transform: scale(1.012) translateY(-0.2%) rotate(0deg); }
  100% { transform: scale(1.016) translateY(0.7%)  rotate(0.8deg); }
}
@keyframes lmSunshine {
  0%, 100% { transform: scale(1.005); filter: brightness(1); }
  50%      { transform: scale(1.01);  filter: brightness(1.045) saturate(1.03); }
}

/* 动效页：让"画 + 保存提示"作为一个整体竖直居中
   （横图时图片高度小，否则会孤零零挂在中间、提示被推到底部） */
#panel-motion .motion-frame {
  margin: auto 0 0;
}
#panel-motion::after {
  content: '';
  display: block;
  margin-top: auto;
}

/* 动效页里给"排队中"留一条安静的提示带 */
.lm-note {
  margin: 10px auto 0;
  max-width: 30em;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted-2);
  text-align: center;
  text-wrap: balance;   /* 别让最后一行只剩一两个字 */
}

.queue-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 18px;
}
.queue-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-deep);
  opacity: 0.35;
  animation: qdPulse 1.3s ease-in-out infinite;
}
.queue-dots i:nth-child(2) { animation-delay: 0.18s; }
.queue-dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes qdPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

.queue-card {
  width: 100%;
  padding: 15px 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
}

.qc-line {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.qc-line b { color: var(--ink); }
.qc-mute {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-2);
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------------- ⑤ 选动作 ---------------- */
.mp-preview {
  width: 100%;
  max-width: 230px;
  margin: 0 auto 18px;
  padding: 7px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px -20px rgba(44, 36, 64, .3);
}
.mp-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28vh;
  object-fit: contain;
  border-radius: 12px;
}

.motions {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.motion-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.motion-card:active { transform: scale(.98); }

.motion-card .me {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  line-height: 1;
  background: #FFF7E8;
  border-radius: 14px;
}

.motion-card .mt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-right: 16px;
}
.motion-card .mn {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.motion-card .md {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted-2);
}

.motion-card.is-on {
  border-color: var(--ink);
  box-shadow: 0 5px 16px -6px rgba(44, 36, 64, .26);
}
.motion-card.is-on::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 13px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'><path d='M4 7.6l2.4 2.4L11 5.2' stroke='%23FFC857' stroke-width='1.9' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/15px no-repeat;
}

.mp-tip {
  margin: 16px 0 4px;
  padding: 13px 15px;
  background: #FFF7E4;
  border-radius: 15px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #A8762A;
}

/* ---------------- ⑥ 动效结果 ---------------- */
.motion-frame {
  position: relative;
  margin: auto 0;
}

.motion-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54vh;
  object-fit: contain;
  border-radius: 19px;
  background: #FFF7E6;
}

.play-cover {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border: none;
  border-radius: 50%;
  background: rgba(44, 36, 64, .74);
  color: #fff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}

/* ---------------- ⑤ 出错 ---------------- */
.err-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

.err-face {
  font-size: 54px;
  font-weight: 800;
  color: #E3D6BC;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.err-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.err-msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 280px;
}

/* ---------------- 底部操作 ---------------- */
.actionbar {
  flex: 0 0 auto;
  padding: 14px 20px calc(16px + var(--safe-b));
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(to top, var(--cream) 62%, rgba(255, 250, 240, 0));
}

.btn {
  width: 100%;
  height: 54px;
  border-radius: 27px;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .14s ease, opacity .14s ease, background .14s ease;
}
.btn:active { transform: scale(.977); }
.btn:disabled { cursor: default; }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 9px 22px -9px rgba(255, 175, 40, .78);
}
.btn-primary:disabled {
  background: #EFE7D8;
  color: #B7AC9C;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--line-2);
  font-weight: 600;
  font-size: 14.5px;
  height: 48px;
}

/* ---------------- 微信内提示浮层 ---------------- */
.wx-tip {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 16, 30, .62);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 22px;
  animation: fadeIn .2s ease both;
}
.wx-tip[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.wx-tip-inner {
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 268px;
  margin-top: 64px;
  position: relative;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.4);
}
.wx-tip-inner::before {
  content: "";
  position: absolute;
  top: -19px;
  right: 30px;
  width: 0; height: 0;
  border: 10px solid transparent;
  border-bottom-color: #fff;
}
.wx-tip-title {
  margin: 0 0 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.wx-tip-body {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.wx-tip-close {
  margin-top: 13px;
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 19px;
  background: var(--amber);
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

/* 小屏微调 */
@media (max-width: 360px) {
  .intro-title { font-size: 26px; }
  .styles { gap: 9px; }
  .style-card { padding: 13px 12px 14px; }
}


/* ---- 本站版本：只保留上色，动效（GIF）功能已下线 ---- */
#upgradeBtn,
#panel-motion-pick,
#panel-motion,
#panel-queue { display: none !important; }
