/* 《孩子话翻译挑战》网页版 · 暗夜游戏风
   从小程序 childtalk.wxss 移植，rpx→px（按 375px 屏宽，1rpx≈0.5px，略放大保证可读）。
   色彩体系、布局结构完全保留小程序原貌。 */

:root {
  --ct-bg:         #140A26;
  --ct-bg-soft:    #1E1038;
  --ct-neon:       #FF2E7E;
  --ct-neon-deep:  #C4125C;
  --ct-violet:     #8B5CF6;
  --ct-gold:       #FFC53D;
  --ct-gold-deep:  #F59E0B;
  --ct-white:      #FFF7FC;
  --ct-dim:        #A78FC4;
  --ct-glass:      rgba(255, 255, 255, 0.06);
  --ct-glass-line: rgba(255, 255, 255, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background-color: var(--ct-bg);
  color: var(--ct-white);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-ct {
  position: relative;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px calc(40px + env(safe-area-inset-bottom));
  background-color: var(--ct-bg);
  background-image:
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.28) 0%, transparent 48%),
    radial-gradient(circle at 10% 32%, rgba(255, 46, 126, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(255, 197, 61, 0.08) 0%, transparent 38%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow-x: hidden;
}

.ct-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.ct-glow-top {
  top: -60px; right: -50px;
  width: 210px; height: 210px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
}
.ct-glow-bottom {
  bottom: -40px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 46, 126, 0.22) 0%, transparent 70%);
}

/* ============ 顶部返回条 ============ */
.ct-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 10px;
  font-size: 13px;
  color: var(--ct-dim);
}
.ct-topbar a {
  color: var(--ct-dim);
  text-decoration: none;
  font-size: 13px;
}

/* ============ 开场 ============ */
.ct-intro {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  text-align: center;
}

/* —— 逐条浮现动画（模糊→清晰 + 上滑）—— */
@keyframes ctFloatIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

/* —— 对话气泡区：3 条孩子原话，依次浮现 —— */
.ct-intro-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  margin-bottom: 28px;
}
.ct-chat-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 14px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.20), rgba(255, 46, 126, 0.10));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px 16px 16px 5px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
  opacity: 0;
  animation: ctFloatIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ct-chat-avatar { font-size: 20px; line-height: 1; }
.ct-chat-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ct-white);
  background: linear-gradient(100deg, #C4B5FD, #FF7EB0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-chat-bubble-1 { animation-delay: 0.3s; }
.ct-chat-bubble-2 { animation-delay: 1.0s; }
.ct-chat-bubble-3 { animation-delay: 1.7s; }

/* —— 标题区 —— */
.ct-intro-title-wrap {
  opacity: 0;
  animation: ctFloatIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 2.3s;
  margin-bottom: 20px;
}
.ct-intro-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--ct-white);
  letter-spacing: 2px;
  line-height: 1.25;
  text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}
.ct-title-accent {
  background: linear-gradient(100deg, var(--ct-neon) 0%, var(--ct-gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-intro-sub {
  margin-top: 7px;
  font-size: 14px;
  color: var(--ct-dim);
  letter-spacing: 1px;
}

/* —— 信息卡片（徽章 + 统计 + 开始按钮）—— */
.ct-intro-card {
  width: 100%;
  max-width: 340px;
  opacity: 0;
  animation: ctFloatIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 2.55s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ct-intro-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ct-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ct-glass);
  border: 1px solid var(--ct-glass-line);
  font-size: 12px;
  color: var(--ct-dim);
}

.ct-badge-hot {
  background: linear-gradient(135deg, rgba(255, 46, 126, 0.22) 0%, rgba(196, 18, 92, 0.18) 100%);
  border-color: rgba(255, 46, 126, 0.4);
  color: #FF7EB0;
  font-weight: 600;
}

.ct-intro-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 0 24px;
  padding: 18px 16px;
  width: 100%;
  background: var(--ct-glass);
  border: 1px solid var(--ct-glass-line);
  border-radius: 16px;
}
.ct-stat-num {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--ct-gold) 0%, #FF9838 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-stat-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 247, 252, 0.82);
  text-align: center;
  max-width: 260px;
}

.ct-start-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 27px;
  cursor: pointer;
  background: linear-gradient(100deg, var(--ct-neon) 0%, #FF5E3A 100%);
  box-shadow: 0 8px 24px rgba(255, 46, 126, 0.45), 0 0 0 1px rgba(255,255,255,0.15) inset;
  overflow: hidden;
}
.ct-start-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: ctSweep 2.8s ease-in-out infinite;
  animation-delay: 3s;
}
@keyframes ctSweep { 0%{left:-80%;} 55%{left:130%;} 100%{left:130%;} }
.ct-start-btn:active { transform: scale(0.97); }
.ct-start-text { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: 3px; }
.ct-start-arrow { font-size: 17px; font-weight: 800; color: #fff; }

/* 无障碍：尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .ct-chat-bubble, .ct-intro-title-wrap, .ct-intro-card {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

/* ============ HUD ============ */
.ct-hud {
  position: relative;
  z-index: 1;
  padding: 10px 12px 11px;
  margin-bottom: 12px;
  background: var(--ct-glass);
  border: 1px solid var(--ct-glass-line);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.ct-hud-row { display: flex; gap: 7px; margin-bottom: 8px; }
.ct-hud-cell {
  flex: 1;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}
.ct-hud-cell-label { font-size: 11px; font-weight: 600; color: var(--ct-dim); letter-spacing: 0.5px; }
.ct-hud-cell-value { font-size: 20px; font-weight: 900; line-height: 1; color: var(--ct-white); }
.ct-hud-cell-sub { font-size: 11px; font-weight: 600; color: var(--ct-dim); margin-left: 1px; }
.ct-hud-cell-score { background: rgba(255,197,61,0.10); border-color: rgba(255,197,61,0.28); }
.ct-hud-cell-score .ct-hud-cell-value { color: var(--ct-gold); text-shadow: 0 0 7px rgba(255,197,61,0.4); }

.ct-score-pop {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%) translateY(3px);
  opacity: 0; pointer-events: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ct-gold) 0%, #FF9838 100%);
  box-shadow: 0 4px 11px rgba(255,197,61,0.45);
  font-size: 12px; font-weight: 800; color: #4A2500;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ct-score-pop.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.ct-progress { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.ct-progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--ct-violet) 0%, var(--ct-neon) 60%, var(--ct-gold) 100%);
  box-shadow: 0 0 6px rgba(255,46,126,0.5);
  transition: width 0.4s cubic-bezier(0.2,0.8,0.2,1);
}

/* ============ 反馈区 ============ */
.ct-feedback {
  position: relative; z-index: 1;
  padding: 14px 13px;
  border-radius: 16px;
  margin-bottom: 14px;
  background: var(--ct-glass);
  border: 1px solid var(--ct-glass-line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  animation: ctFbIn 0.32s cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes ctFbIn { from{opacity:0;transform:translateY(-6px) scale(0.97);} to{opacity:1;transform:translateY(0) scale(1);} }

.ct-fb-verdict {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; margin-bottom: 12px; border-radius: 12px;
}
.ct-fb-verdict.ok { background: linear-gradient(135deg, rgba(16,185,129,0.20), rgba(5,150,105,0.12)); border: 1px solid rgba(16,185,129,0.45); }
.ct-fb-verdict.no { background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(153,27,27,0.12)); border: 1px solid rgba(239,68,68,0.45); }
.ct-fb-verdict-ic {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 15px; font-weight: 900; color: #fff;
}
.ct-fb-verdict.ok .ct-fb-verdict-ic { background: linear-gradient(135deg, #10B981, #059669); }
.ct-fb-verdict.no .ct-fb-verdict-ic { background: linear-gradient(135deg, #EF4444, #DC2626); }
.ct-fb-verdict-text { font-size: 16px; font-weight: 800; }
.ct-fb-verdict.ok .ct-fb-verdict-text { color: #6EE7B7; }
.ct-fb-verdict.no .ct-fb-verdict-text { color: #FCA5A5; }
.ct-fb-verdict-delta { margin-left: auto; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ct-fb-verdict.ok .ct-fb-verdict-delta { background: rgba(255,197,61,0.22); color: var(--ct-gold); }
.ct-fb-verdict.no .ct-fb-verdict-delta { background: rgba(239,68,68,0.18); color: #FCA5A5; }

.ct-fb-stat {
  margin-bottom: 12px; padding: 7px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  font-size: 12px; color: var(--ct-dim); text-align: left;
}

.ct-quote { margin-bottom: 12px; padding: 12px 13px; border-radius: 12px; }
.ct-quote-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 6px; text-align: left; }
.ct-quote-text { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--ct-white); text-align: left; }

.ct-quote-scene {
  margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(139,92,246,0.20), rgba(139,92,246,0.10));
  border: 1px solid rgba(139,92,246,0.4);
}
.ct-quote-scene .ct-quote-label { color: #C4B5FD; }

.ct-quote-react { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.ct-quote-react .ct-quote-label { color: var(--ct-dim); }
.ct-quote-react.door-slam {
  background: linear-gradient(135deg, rgba(239,68,68,0.14), rgba(153,27,27,0.08));
  border-color: rgba(239,68,68,0.30);
}
.ct-quote-react.door-slam .ct-quote-label { color: #FCA5A5; }
.ct-quote-react.door-slam .ct-quote-text { color: #FCA5A5; font-size: 17px; }

.ct-quote-inner { background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.22); }
.ct-quote-inner .ct-quote-label { color: #C4B5FD; }
.ct-quote-inner .ct-quote-text { font-weight: 500; color: rgba(255,247,252,0.9); }

.ct-fb-jury { margin-bottom: 10px; font-size: 13px; line-height: 1.65; color: rgba(255,247,252,0.82); text-align: left; }

.ct-fb-next {
  margin-top: 14px; padding: 14px 0; text-align: center;
  border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 800; letter-spacing: 1px; color: #1A0A2E;
  background: linear-gradient(100deg, var(--ct-gold) 0%, #FF9838 100%);
  box-shadow: 0 4px 12px rgba(255,197,61,0.35);
}
.ct-fb-next:active { transform: scale(0.98); opacity: 0.95; }

/* ============ 题目卡片 ============ */
.ct-qcard {
  position: relative; z-index: 1;
  margin-bottom: 14px;
  padding: 16px 15px 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border: 1px solid var(--ct-glass-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: ctCardIn 0.35s cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes ctCardIn { from{opacity:0;transform:translateY(10px);} to{opacity:1;transform:translateY(0);} }

.ct-question {
  margin-bottom: 14px;
  font-size: 17px; font-weight: 800; line-height: 1.5;
  background: linear-gradient(100deg, #FF7EB0 0%, var(--ct-gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.ct-options { display: flex; flex-direction: column; gap: 9px; }

.ct-option {
  display: flex; align-items: center;
  padding: 14px 12px;
  border-radius: 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.ct-option:active { transform: scale(0.98); }
.ct-opt-key {
  flex-shrink: 0;
  width: 27px; height: 27px; margin-right: 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(139,92,246,0.14);
  border: 1px solid rgba(139,92,246,0.35);
  font-size: 13px; font-weight: 800; color: #C4B5FD;
  transition: all 0.2s ease;
}
.ct-opt-text { flex: 1; font-size: 14px; line-height: 1.55; color: rgba(255,247,252,0.92); }

.ct-option.picked {
  background: linear-gradient(135deg, rgba(255,46,126,0.20), rgba(139,92,246,0.14));
  border-color: var(--ct-neon);
  box-shadow: 0 0 14px rgba(255,46,126,0.35), inset 0 0 10px rgba(255,46,126,0.08);
}
.ct-option.picked .ct-opt-key {
  background: linear-gradient(135deg, var(--ct-neon), var(--ct-neon-deep));
  border-color: var(--ct-neon); color: #fff;
  box-shadow: 0 0 8px rgba(255,46,126,0.6);
}
.ct-option.picked .ct-opt-text { color: #fff; font-weight: 600; }

/* 答错后展示正确项 */
.ct-option.correct {
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(5,150,105,0.10));
  border-color: rgba(16,185,129,0.5);
}
.ct-option.correct .ct-opt-key {
  background: linear-gradient(135deg, #10B981, #059669);
  border-color: #10B981; color: #fff;
}
.ct-option.wrong-picked {
  background: linear-gradient(135deg, rgba(239,68,68,0.16), rgba(153,27,27,0.08));
  border-color: rgba(239,68,68,0.5);
}
.ct-option.wrong-picked .ct-opt-key {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  border-color: #EF4444; color: #fff;
}

/* ============ 结算页 ============ */
.ctr-header {
  position: relative; z-index: 1;
  text-align: center;
  padding: 20px 0 16px;
}
.ctr-header-icon-wrap {
  width: 64px; height: 64px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,197,61,0.20), rgba(255,152,56,0.12));
  border: 1px solid rgba(255,197,61,0.4);
  font-size: 32px;
}
.ctr-header-icon-wrap.fail {
  background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(153,27,27,0.10));
  border-color: rgba(239,68,68,0.4);
}
.ctr-header-label {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--ct-gold);
}
.ctr-header-label.ctr-gameover { color: #FCA5A5; }
.ctr-header-result { font-size: 26px; font-weight: 900; color: var(--ct-white); margin: 4px 0; }
.ctr-header-sub { font-size: 13px; color: var(--ct-dim); }

.ctr-title-card {
  position: relative; z-index: 1;
  margin: 0 0 16px;
  padding: 20px 16px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,197,61,0.10), rgba(255,46,126,0.08));
  border: 1px solid rgba(255,197,61,0.30);
}
.ctr-title-emoji { font-size: 40px; line-height: 1; }
.ctr-title-name { margin-top: 8px; font-size: 22px; font-weight: 900; color: var(--ct-white); }
.ctr-title-rarity { margin-top: 4px; font-size: 11px; color: var(--ct-gold); letter-spacing: 1px; }
.ctr-title-line { margin-top: 10px; font-size: 15px; font-weight: 700; color: #FF7EB0; }
.ctr-title-tagline { margin-top: 6px; font-size: 13px; color: rgba(255,247,252,0.8); line-height: 1.6; }

.ctr-summary-card {
  position: relative; z-index: 1;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ct-glass);
  border: 1px solid var(--ct-glass-line);
}
.ctr-summary-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--ct-dim); margin-bottom: 6px; }
.ctr-summary-body { font-size: 14px; line-height: 1.65; color: rgba(255,247,252,0.9); }

.ctr-insights { position: relative; z-index: 1; margin-bottom: 16px; }
.ctr-insight {
  margin-bottom: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(139,92,246,0.10);
  border: 1px solid rgba(139,92,246,0.22);
}
.ctr-insight-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #C4B5FD; margin-bottom: 6px; }
.ctr-insight-body { font-size: 14px; line-height: 1.65; color: rgba(255,247,252,0.92); }

.ctr-wrong-list { position: relative; z-index: 1; margin-bottom: 18px; }
.ctr-wrong-head { margin-bottom: 12px; }
.ctr-wrong-title { font-size: 15px; font-weight: 800; color: var(--ct-white); }
.ctr-wrong-sub { font-size: 12px; color: var(--ct-dim); margin-top: 3px; }
.ctr-wrong-item {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--ct-glass);
  border: 1px solid var(--ct-glass-line);
}
.ctr-wrong-scene { font-size: 13px; font-weight: 600; color: var(--ct-white); line-height: 1.5; margin-bottom: 10px; }
.ctr-wrong-picked, .ctr-wrong-answer { margin-bottom: 8px; }
.ctr-wrong-mark { font-size: 11px; font-weight: 700; color: #FCA5A5; margin-right: 4px; }
.ctr-wrong-mark.ctr-mark-ok { color: #6EE7B7; }
.ctr-wrong-picked-text { font-size: 13px; color: #FCA5A5; text-decoration: line-through; }
.ctr-wrong-answer-text { font-size: 13px; color: #6EE7B7; font-weight: 600; }
.ctr-wrong-reveal { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); }
.ctr-reveal-heart { font-size: 13px; color: rgba(255,247,252,0.9); line-height: 1.6; }
.ctr-reveal-script { margin-top: 4px; font-size: 13px; color: var(--ct-gold); line-height: 1.6; font-weight: 600; }

.ctr-actions {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 16px;
}
.ctr-btn-primary {
  height: 52px; border: none; border-radius: 26px; cursor: pointer;
  font-size: 16px; font-weight: 800; color: #fff; letter-spacing: 2px;
  background: linear-gradient(100deg, var(--ct-neon), #FF5E3A);
  box-shadow: 0 6px 18px rgba(255,46,126,0.4);
}
.ctr-btn-secondary {
  height: 48px; border: 1px solid var(--ct-glass-line); border-radius: 24px; cursor: pointer;
  background: var(--ct-glass);
  font-size: 15px; font-weight: 600; color: var(--ct-white);
}
.ctr-btn-primary:active, .ctr-btn-secondary:active { transform: scale(0.98); }

.ctr-home-link {
  position: relative; z-index: 1;
  text-align: center; padding: 8px 0 16px;
  font-size: 13px; color: var(--ct-dim); cursor: pointer;
}

/* App 引流卡 */
.ctr-app-card {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,46,126,0.14), rgba(139,92,246,0.10));
  border: 1px solid rgba(255,46,126,0.30);
  text-decoration: none;
}
.ctr-app-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.ctr-app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctr-app-body { flex: 1; }
.ctr-app-title { font-size: 14px; font-weight: 800; color: var(--ct-white); }
.ctr-app-desc { font-size: 12px; color: var(--ct-dim); margin-top: 3px; line-height: 1.5; }
.ctr-app-btn {
  flex-shrink: 0;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #1A0A2E;
  background: linear-gradient(100deg, var(--ct-gold), #FF9838);
}

/* toast 提示 */
.ct-toast {
  position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%);
  z-index: 9999;
  padding: 12px 24px; border-radius: 12px;
  background: rgba(20,10,38,0.95);
  border: 1px solid var(--ct-glass-line);
  font-size: 14px; color: var(--ct-white);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.ct-toast.show { opacity: 1; }

/* 桌面端自适应：窄卡片居中 */
@media (min-width: 481px) {
  .page-ct {
    box-shadow: 0 0 60px rgba(0,0,0,0.4);
    min-height: 100vh;
  }
}
