/* ============ 四级大冒险 · 手机模拟器样式 ============ */
:root {
  --bg: #0d1024;
  --bg2: #161b3d;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #eef0ff;
  --text-dim: #9aa0c8;
  --cyan: #00e5ff;
  --purple: #8b5cf6;
  --gold: #ffc53d;
  --green: #34d399;
  --red: #ff5c7a;
  --pink: #ff7ac3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 500px at 20% 0%, #2c2a5e 0%, transparent 60%),
    radial-gradient(800px 500px at 85% 15%, #3d1f5e 0%, transparent 55%),
    linear-gradient(160deg, #070a18 0%, #121033 100%);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 14px;
  background-attachment: fixed;
}
button { font-family: inherit; }
input { font-family: inherit; }

/* ---------- 手机外壳 ---------- */
.phone-shell {
  width: min(390px, 100vw);
  height: min(844px, 100vh);
  flex-shrink: 0;
  background: #070818;
  border: 6px solid #1b1f33;
  border-radius: 46px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 2px #2c3150, inset 0 0 12px rgba(0, 0, 0, 0.6);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.status-bar {
  height: 44px; flex-shrink: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, #111536, #0a0c1c);
}
.sb-notch { width: 96px; height: 22px; background: #000; border-radius: 12px; }
.sb-icons { display: flex; gap: 6px; font-size: 12px; }

.phone-screen {
  flex: 1; overflow-y: auto; overflow-x: hidden; position: relative;
  background: linear-gradient(160deg, #0d1024 0%, #181048 60%, #0d1f3c 100%);
  scrollbar-width: none;
}
.phone-screen::-webkit-scrollbar { display: none; }
.app-screen { display: none; min-height: 100%; }
.app-screen.active { display: block; animation: appIn .28s ease; }
@keyframes appIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

.home-indicator {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 8px;
  width: 110px; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.35); z-index: 45; pointer-events: none;
}

/* ---------- 提示气泡 ---------- */
#toastBox {
  position: absolute; top: 52px; left: 50%; transform: translateX(-50%);
  z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none; width: calc(100% - 44px);
}
.toast {
  background: rgba(20, 26, 60, 0.96);
  border: 1px solid var(--card-border);
  border-radius: 12px; padding: 10px 16px; font-size: 13px;
  opacity: 0; transform: translateY(-14px) scale(0.96);
  transition: all .3s ease; box-shadow: var(--shadow); text-align: center;
  max-width: 100%;
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast.success { border-color: var(--green); color: #b8f7dc; }
.toast.warn { border-color: var(--gold); color: #ffe7b0; }
.toast.gold { border-color: var(--gold); background: linear-gradient(135deg, rgba(255,197,61,.25), rgba(139,92,246,.2)); color: #ffe9b3; }

/* ---------- 桌面 ---------- */
.d-wall { padding: 16px 16px 52px; }
.d-hi {
  font-size: 13px; font-weight: 700; color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 10px 14px; margin-bottom: 12px;
  animation: popIn .35s ease;
}
.d-widget {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: linear-gradient(150deg, rgba(139,92,246,.35), rgba(0,229,255,.18));
  border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 16px;
  box-shadow: var(--shadow);
}
.d-rank { font-size: 12px; color: var(--gold); font-weight: 700; }
.d-lv { font-size: 22px; font-weight: 800; margin: 2px 0 6px; }
.d-xpbar { height: 7px; background: rgba(255,255,255,.14); border-radius: 99px; overflow: hidden; max-width: 200px; }
.d-xpbar div { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple)); border-radius: 99px; transition: width .5s; }
.d-sub { font-size: 11px; color: var(--text-dim); margin-top: 7px; }
.d-checkin {
  border: none; cursor: pointer; white-space: nowrap;
  border-radius: 14px; padding: 13px 16px; font-size: 14px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #ff9d3c); color: #3a2400;
  box-shadow: 0 4px 18px rgba(255,197,61,.4);
  transition: transform .15s ease;
}
.d-checkin:active { transform: scale(.94); }
.d-checkin.done { background: rgba(52,211,153,.2); color: var(--green); border: 1px solid var(--green); box-shadow: none; }
.d-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.d-stat { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 10px 4px; text-align: center; }
.d-stat b { display: block; font-size: 16px; color: var(--cyan); }
.d-stat span { font-size: 10px; color: var(--text-dim); }
.d-grid-title {
  text-align: center; font-size: 13px; font-weight: 800; color: var(--text-dim);
  margin: 18px 0 12px; letter-spacing: 2px;
}
.d-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; }
.app-icon {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
}
.app-icon .tile {
  width: 58px; height: 58px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease;
}
.app-icon:active .tile { transform: scale(.9); }
.app-icon .label { font-size: 11px; color: #e8eaff; font-weight: 600; text-align: center; }
.d-footer { text-align: center; font-size: 11px; color: #555b85; margin-top: 20px; }

/* ---------- 桌面工具（自定义壁纸 / 图标） ---------- */
.d-tools {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 10px 0 12px;
}
.d-tools .btn { padding: 7px 12px; font-size: 12px; }
.d-tools-tip { font-size: 11px; color: var(--text-dim); margin-left: auto; }

/* ---------- 长按软件图标：更换菜单 ---------- */
.icon-menu { position: absolute; inset: 0; z-index: 998; }
.icon-menu:not(.show) { display: none; }
.im-mask { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.im-menu {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(320px, calc(100% - 48px));
  background: linear-gradient(160deg, #1c2150, #141737);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 18px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  animation: appIn .22s ease;
}
.im-title { text-align: center; font-size: 15px; font-weight: 700; margin-bottom: 2px; }

/* ---------- 小软件外壳 ---------- */
.app-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(10, 12, 28, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.back-btn {
  width: 34px; height: 34px; border-radius: 12px;
  border: 1px solid var(--card-border); background: var(--card);
  color: var(--text); font-size: 14px; cursor: pointer;
}
.back-btn:active { transform: scale(.92); }
.app-title { flex: 1; text-align: center; font-size: 16px; font-weight: 800; letter-spacing: .5px; }
.app-header-right { width: 34px; }
.app-body { padding: 14px 14px 56px; }

.page-sub { color: var(--text-dim); font-size: 13px; margin-bottom: 14px; }
.page-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-title { font-size: 16px; margin: 20px 0 12px; }
.section-title.small { font-size: 14px; margin-top: 24px; }

/* ---------- 按钮 ---------- */
.btn {
  border: none; border-radius: 12px; padding: 10px 16px; font-size: 14px;
  cursor: pointer; transition: all .2s ease; font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.btn:active:not(:disabled) { transform: scale(.96); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-main { background: linear-gradient(135deg, var(--cyan), #3a7bd5); color: #04121f; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #ff9d3c); color: #3a2400;
  box-shadow: 0 4px 18px rgba(255, 197, 61, 0.35);
}
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--card-border); }
.btn-big { font-size: 16px; padding: 13px 26px; border-radius: 15px; }
.btn-small { padding: 6px 11px; font-size: 12px; border-radius: 10px; }
.btn-done { background: rgba(52, 211, 153, 0.18); color: var(--green); border: 1px solid var(--green); }

/* ---------- 统计卡 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.stat-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 14px 6px; text-align: center;
}
.stat-num {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 11px; color: var(--text-dim); margin-top: 3px; }

/* ---------- 闯关 ---------- */
.lv-overview {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 14px 16px; margin-bottom: 12px;
}
.lv-num { font-size: 13px; color: var(--text-dim); }
.lv-num b { font-size: 20px; color: var(--cyan); }
.lv-progress {
  height: 10px; background: rgba(255,255,255,.1); border-radius: 99px;
  overflow: hidden; margin: 9px 0 7px;
}
.lv-progress div { height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 99px; transition: width .5s; }
.lv-meta { font-size: 11px; color: var(--text-dim); }
.level-list { display: flex; flex-direction: column; gap: 9px; }
.level-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 12px 14px;
}
.level-card.locked { opacity: .5; }
.level-emoji { font-size: 26px; width: 40px; text-align: center; }
.level-info { flex: 1; }
.level-name { font-size: 14px; font-weight: 700; }
.level-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-top: 3px; }
.level-stars.dim { color: #555b85; }

/* ---------- 学习 ---------- */
.learn-progress { font-size: 13px; color: var(--text-dim); text-align: center; margin-bottom: 6px; }
.progress-bar {
  height: 8px; background: rgba(255,255,255,.1); border-radius: 99px;
  overflow: hidden; margin: 0 auto 22px; max-width: 300px;
}
.progress-bar div { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple)); border-radius: 99px; transition: width .4s; }
.flip-card {
  width: min(300px, 88vw); height: 215px; margin: 0 auto 24px;
  perspective: 1000px; cursor: pointer;
}
.flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .6s ease;
}
.flip-inner.flipped { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border-radius: 20px;
}
.flip-front {
  font-size: 56px;
  background: linear-gradient(150deg, rgba(139,92,246,.3), rgba(0,229,255,.2));
  border: 2px dashed rgba(255,255,255,.25);
}
.flip-tip { font-size: 13px; color: var(--text-dim); }
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #1d2448, #262e63);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}
.word-en { font-size: 32px; font-weight: 800; color: var(--cyan); letter-spacing: 1px; }
.word-zh { font-size: 20px; color: var(--gold); text-align: center; padding: 0 14px; }
.learn-actions { text-align: center; }

/* ---------- 测试 / 答题 ---------- */
.test-banner { text-align: center; font-size: 15px; font-weight: 700; color: var(--gold); margin: 8px 0 14px; }
.test-progress, .q-count { font-size: 12px; color: var(--text-dim); text-align: center; margin-bottom: 8px; }
.test-word {
  font-size: 38px; font-weight: 800; text-align: center; color: var(--cyan);
  margin: 8px 0 20px; letter-spacing: 1px;
}
.test-opts { display: flex; flex-direction: column; gap: 11px; }
.opt-btn {
  display: block; width: 100%; text-align: left;
  background: var(--card); color: var(--text);
  border: 1px solid var(--card-border); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; cursor: pointer;
  transition: all .2s ease;
}
.opt-btn:hover:not(:disabled) { border-color: var(--cyan); }
.opt-btn:disabled { cursor: default; }
.opt-btn.opt-right { border-color: var(--green); background: rgba(52,211,153,.16); color: #b8f7dc; }
.opt-btn.opt-wrong { border-color: var(--red); background: rgba(255,92,122,.16); color: #ffc3cf; }
.opt-btn.opt-hidden { opacity: .25; }
.opt-letter {
  display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); border-radius: 6px; font-size: 12px; font-weight: 700;
  margin-right: 10px;
}

/* ---------- 结算 ---------- */
.result-card {
  margin: 24px auto; text-align: center; padding: 26px 18px;
  border-radius: 20px; background: var(--card); border: 1px solid var(--card-border);
  box-shadow: var(--shadow); animation: popIn .4s ease;
}
.result-card.win { border-color: var(--green); box-shadow: 0 0 30px rgba(52,211,153,.2); }
.result-card.lose { border-color: var(--red); }
@keyframes popIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.result-emoji { font-size: 50px; }
.result-stars { font-size: 25px; color: var(--gold); letter-spacing: 4px; margin: 6px 0; }
.result-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.result-info { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.result-tip { font-size: 12px; color: var(--gold); margin-bottom: 16px; }
.result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 速配 ---------- */
.best-box {
  text-align: center; font-size: 13px; color: var(--gold);
  background: rgba(255,197,61,.1); border: 1px solid var(--gold);
  border-radius: 12px; padding: 8px; margin-bottom: 14px;
}
.matching-start { text-align: center; padding: 16px; }
.matching-rule {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  font-size: 12px; color: var(--text-dim); margin-bottom: 20px;
}
.matching-rule div { background: var(--card); border: 1px solid var(--card-border); padding: 6px 10px; border-radius: 10px; }
.matching-hud { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.mh-item { background: var(--card); border: 1px solid var(--card-border); padding: 7px 13px; border-radius: 12px; font-size: 13px; }
.mh-item b { color: var(--cyan); font-size: 17px; }
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.mcard { perspective: 600px; aspect-ratio: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mcard-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .4s ease;
}
.mcard.flipped .mcard-inner { transform: rotateY(180deg); }
.mcard-front, .mcard-back {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px; font-size: 14px; padding: 4px;
  word-break: break-word; text-align: center;
}
.mcard-front {
  background: linear-gradient(150deg, #2a3166, #3a2a6e);
  border: 1px solid rgba(255,255,255,.18); font-size: 24px; font-weight: 800; color: var(--cyan);
}
.mcard-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #1d2448, #262e63);
  border: 1px solid var(--cyan);
}
.mcard.matched .mcard-inner { transform: rotateY(180deg); }
.mcard.matched .mcard-back { border-color: var(--green); box-shadow: 0 0 14px rgba(52,211,153,.35); }

/* ---------- 挑战 / 听力 ---------- */
.quiz-intro { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.qi-item {
  background: var(--card); border: 1px solid var(--card-border);
  padding: 9px 12px; border-radius: 12px; font-size: 12px; color: var(--text-dim);
}
.quiz-start { text-align: center; margin-bottom: 14px; }
.quiz-hud {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 9px 14px; margin-bottom: 14px;
  font-size: 13px; position: sticky; top: 54px; z-index: 20;
  backdrop-filter: blur(8px);
}
.qh-mid { font-weight: 800; color: var(--gold); }
.qh-right b { color: var(--cyan); font-variant-numeric: tabular-nums; }
.danger { color: var(--red); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .4; } }
.hint-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; }
.hint-row span { font-size: 13px; color: var(--gold); font-weight: 700; }
.q-passage {
  background: rgba(255,255,255,.05); border-left: 3px solid var(--purple);
  border-radius: 10px; padding: 11px 13px; font-size: 13px; line-height: 1.7;
  color: var(--text-dim); margin-bottom: 11px;
}
.q-type {
  display: inline-block; font-size: 11px; color: var(--purple);
  border: 1px solid var(--purple); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px;
}
.q-text { font-size: 16px; font-weight: 700; margin-bottom: 15px; line-height: 1.6; }
.q-opts { display: flex; flex-direction: column; gap: 11px; }
.lis-play { text-align: center; margin: 8px 0 22px; }
.speaker-btn {
  border: none; cursor: pointer;
  font-size: 14px; padding: 13px 26px; border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan)); color: #03151f;
  font-weight: 800; box-shadow: 0 4px 16px rgba(52,211,153,.3);
  -webkit-tap-highlight-color: transparent;
}
.speaker-btn:active { transform: scale(.94); }

/* ---------- 词典 ---------- */
.dict-search input {
  width: 100%; background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 11px 14px; font-size: 14px; color: var(--text);
  outline: none;
}
.dict-search input:focus { border-color: var(--cyan); }
.dict-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dict-row {
  position: relative; background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 10px 44px 10px 12px; cursor: pointer;
}
.dict-en { font-size: 15px; font-weight: 800; color: var(--cyan); }
.dict-ph { font-size: 11px; color: var(--text-dim); font-weight: 400; margin-left: 6px; }
.dict-zh { font-size: 12px; color: var(--text-dim); margin-top: 3px; line-height: 1.5; }
.dict-star {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 20px; color: #555b85; cursor: pointer;
  padding: 4px;
}
.dict-star.on { color: var(--gold); }
.dict-detail {
  background: linear-gradient(150deg, rgba(0,229,255,.12), rgba(139,92,246,.12));
  border: 1px solid var(--cyan); border-radius: 12px; padding: 14px; margin-top: 8px;
}
.dd-en { font-size: 22px; font-weight: 800; color: var(--cyan); }
.dd-ph { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.dd-zh { font-size: 14px; color: var(--gold); margin: 8px 0 12px; line-height: 1.6; }
.dd-actions { display: flex; gap: 10px; }

/* ---------- 错题本 ---------- */
.wrong-actions { display: flex; gap: 10px; justify-content: center; margin: 16px 0; flex-wrap: wrap; }
.wrong-list { display: flex; flex-direction: column; gap: 8px; }
.wrong-word {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 9px 12px; font-size: 13px;
}
.wrong-word b { color: var(--cyan); min-width: 80px; }
.wrong-word span { color: var(--text-dim); flex: 1; }
.empty-box { text-align: center; color: var(--text-dim); padding: 22px; font-size: 13px; }

/* ---------- 成就 ---------- */
.achieve-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.achieve-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 14px 10px; text-align: center;
}
.achieve-card.got { border-color: var(--gold); background: linear-gradient(150deg, rgba(255,197,61,.12), rgba(139,92,246,.12)); }
.achieve-card.not-got { opacity: .6; }
.achieve-icon { font-size: 30px; margin-bottom: 6px; }
.achieve-name { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.achieve-desc { font-size: 11px; color: var(--text-dim); min-height: 28px; margin-bottom: 6px; }
.achieve-tag { font-size: 10px; color: var(--gold); }

/* ---------- 个人中心 ---------- */
.prof-head {
  text-align: center; padding: 20px 12px;
  background: linear-gradient(150deg, rgba(139,92,246,.3), rgba(0,229,255,.14));
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; margin-bottom: 12px;
}
.prof-avatar {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 8px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center; font-size: 32px;
  box-shadow: 0 6px 18px rgba(0,229,255,.35);
}
.prof-name { font-size: 18px; font-weight: 800; }
.prof-rank { font-size: 12px; color: var(--gold); margin: 4px 0 10px; }
.prof-xp { max-width: 240px; margin: 0 auto; }
.xp-bar { height: 8px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.xp-bar div { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple)); border-radius: 99px; transition: width .5s; }
.xp-text { font-size: 10px; color: var(--text-dim); margin-top: 5px; }
.prof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 12px; }
.pg-item {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 13px; padding: 11px 13px; font-size: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  color: var(--text-dim);
}
.pg-item b { color: var(--cyan); }
.prof-reset { text-align: center; margin-top: 18px; }

/* ---------- 小屏适配 ---------- */
@media (max-width: 440px), (max-height: 760px) {
  body { padding: 0; }
  .phone-shell {
    width: 100vw; height: 100vh;
    border-radius: 0; border: none;
  }
}

/* ============ 双人角色 · 小猫 / 小兔 ============ */

/* ---------- 角色选择（欢迎屏） ---------- */
.welcome-wrap { padding: 30px 20px 40px; text-align: center; }
.welcome-hero { margin-bottom: 18px; }
.welcome-logo {
  width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; box-shadow: 0 10px 30px rgba(0,229,255,.35);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-6px); } }
.welcome-title { font-size: 28px; font-weight: 900; letter-spacing: 2px; }
.welcome-sub { font-size: 13px; color: var(--text-dim); margin-top: 6px; }
.welcome-tip {
  font-size: 12px; color: var(--text-dim); line-height: 1.7;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 20px; text-align: left;
}
.welcome-tip b { color: var(--gold); }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-card {
  border-radius: 22px; padding: 22px 12px 18px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow);
  transition: transform .18s ease; position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.role-card:active { transform: scale(.96); }
.role-cat { background: linear-gradient(160deg, #3a2016, #5e2f1c); }
.role-rabbit { background: linear-gradient(160deg, #1c2b52, #2d3f7a); }
.role-emoji { font-size: 56px; line-height: 1; margin-bottom: 10px; }
.role-name { font-size: 20px; font-weight: 900; }
.role-tag { font-size: 11px; color: var(--gold); margin: 4px 0 10px; }
.role-slogan { font-size: 11px; color: var(--text-dim); line-height: 1.6; margin-bottom: 14px; }
.welcome-note { font-size: 11px; color: var(--text-dim); margin-top: 18px; }

/* ---------- 选错确认界面 ---------- */
.confirm-wrap {
  text-align: center; padding: 34px 24px 40px; border-radius: 24px;
  margin: 30px 16px; border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow); animation: popIn .3s ease;
}
.cf-cat { background: linear-gradient(160deg, #3a2016, #5e2f1c); }
.cf-rabbit { background: linear-gradient(160deg, #1c2b52, #2d3f7a); }
.confirm-emoji { font-size: 72px; line-height: 1; margin-bottom: 10px; animation: bob 2.2s ease-in-out infinite; }
.confirm-title { font-size: 22px; font-weight: 900; }
.confirm-tag { font-size: 12px; color: var(--gold); margin: 8px 0; }
.confirm-slogan { font-size: 13px; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.confirm-bar { height: 8px; border-radius: 99px; margin: 0 auto 16px; max-width: 180px; }
.cf-bar-cat { background: linear-gradient(90deg, #ffb25e, #ff7a4d); }
.cf-bar-rabbit { background: linear-gradient(90deg, #7ce8ff, #c4b5fd); }
.confirm-tip { font-size: 11px; color: var(--text-dim); line-height: 1.6; margin-bottom: 18px; }
.btn-lg { display: block; width: 100%; margin-top: 10px; padding: 13px; font-size: 15px; border-radius: 14px; }
.btn-lg:first-of-type { margin-top: 0; }

/* ---------- 小猫主题 · 暖橙 ---------- */
body[data-role="cat"] {
  --cyan: #ffb25e;
  --purple: #ff8a5c;
  --pink: #ff9e7d;
  background:
    radial-gradient(900px 500px at 20% 0%, #5e3a2a 0%, transparent 60%),
    radial-gradient(800px 500px at 85% 15%, #4a2a3a 0%, transparent 55%),
    linear-gradient(160deg, #1a1210 0%, #2d1a15 100%);
}
body[data-role="cat"] .phone-shell { border-color: #3a2a1e; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 2px #4a3526, inset 0 0 12px rgba(0,0,0,.6); }
body[data-role="cat"] .phone-screen {
  background: linear-gradient(160deg, #261610 0%, #3d2216 60%, #241020 100%);
}
body[data-role="cat"] .status-bar { background: linear-gradient(180deg, #3a2518, #1c120e); }
body[data-role="cat"] .d-widget,
body[data-role="cat"] .prof-head {
  background: linear-gradient(150deg, rgba(255,138,92,.30), rgba(255,178,94,.16));
}
body[data-role="cat"] .btn-main { background: linear-gradient(135deg, var(--cyan), #ff7a4d); color: #2a1405; }

/* ---------- 小兔主题 · 清新蓝紫粉 ---------- */
body[data-role="rabbit"] {
  --cyan: #7ce8ff;
  --purple: #c4b5fd;
  --pink: #f9a8d4;
  background:
    radial-gradient(900px 500px at 20% 0%, #3a5e8a 0%, transparent 60%),
    radial-gradient(800px 500px at 85% 15%, #5e3a7a 0%, transparent 55%),
    linear-gradient(160deg, #0e1428 0%, #1c2248 100%);
}
body[data-role="rabbit"] .phone-shell { border-color: #232a4a; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 2px #2f3a66, inset 0 0 12px rgba(0,0,0,.6); }
body[data-role="rabbit"] .phone-screen {
  background: linear-gradient(160deg, #101a35 0%, #241a45 60%, #0e2540 100%);
}
body[data-role="rabbit"] .status-bar { background: linear-gradient(180deg, #1a2548, #10142e); }
body[data-role="rabbit"] .d-widget,
body[data-role="rabbit"] .prof-head {
  background: linear-gradient(150deg, rgba(196,181,253,.30), rgba(124,232,255,.16));
}

/* ============ 发音按钮 ============ */
.speak-btn {
  border: 1px solid var(--card-border); background: var(--card); color: var(--cyan);
  border-radius: 99px; padding: 5px 12px; font-size: 12px; cursor: pointer;
  transition: all .15s ease; margin: 4px 0;
}
.speak-btn:hover { border-color: var(--cyan); }
.speak-btn:active { transform: scale(.94); }

/* ============ 自主默写 ============ */
.dict-intro { font-size: 12px; color: var(--text-dim); line-height: 1.7; margin-bottom: 12px; }
.dict-progress { font-size: 12px; color: var(--gold); text-align: center; margin-bottom: 10px; }
.dict-card {
  text-align: center; padding: 26px 16px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--card-border);
  box-shadow: var(--shadow); margin-bottom: 14px;
}
.dict-zh { font-size: 22px; font-weight: 800; line-height: 1.6; color: var(--text); }
.dict-ph { font-size: 13px; color: var(--text-dim); margin-top: 8px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.dict-input {
  width: 100%; padding: 14px; border-radius: 14px; font-size: 18px; text-align: center;
  background: rgba(255,255,255,.07); border: 1px solid var(--card-border); color: var(--text);
  outline: none; letter-spacing: 1px;
}
.dict-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,.15); }
.dict-actions { display: flex; gap: 10px; margin-top: 12px; }
.dict-actions .btn { flex: 1; }

/* ============ 谐音故事 ============ */
.mem-search-row { display: flex; gap: 8px; margin-bottom: 12px; }
.mem-search {
  flex: 1; padding: 11px 14px; border-radius: 12px; font-size: 13px;
  background: rgba(255,255,255,.07); border: 1px solid var(--card-border); color: var(--text);
  outline: none;
}
.mem-search:focus { border-color: var(--cyan); }
.mem-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
}
.mem-head { text-align: center; padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,.14); margin-bottom: 14px; }
.mem-en { font-size: 34px; font-weight: 900; color: var(--cyan); letter-spacing: 1px; }
.mem-ph { font-size: 13px; color: var(--text-dim); margin-top: 4px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.mem-zh { font-size: 15px; color: var(--gold); margin-top: 8px; line-height: 1.6; }
.mem-mastered { font-size: 11px; color: var(--green); margin-top: 8px; }
.mem-box { border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.mem-mnemonic { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); }
.mem-story { background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.35); }
.mem-label { font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.mem-mnemonic .mem-label { color: #7ee8a9; }
.mem-story .mem-label { color: #c4a8ff; }
.mem-text { font-size: 14px; line-height: 1.8; color: var(--text); }
.mem-index { text-align: center; font-size: 11px; color: var(--text-dim); }
.mem-nav { display: flex; gap: 10px; margin-top: 12px; }
.mem-nav .btn { flex: 1; }

/* ============ 四级真题试卷 ============ */
.paper-intro { font-size: 12px; color: var(--text-dim); line-height: 1.7; margin-bottom: 12px; }
.paper-card {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; margin-bottom: 12px; cursor: pointer;
  transition: transform .15s ease;
}
.paper-card:active { transform: scale(.97); }
.paper-icon { font-size: 26px; }
.paper-info { flex: 1; }
.paper-name { font-size: 15px; font-weight: 800; }
.paper-meta { font-size: 11px; color: var(--text-dim); margin-top: 3px; }
.paper-go { font-size: 12px; color: var(--cyan); font-weight: 700; }

.paper-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.paper-clock { font-size: 13px; font-weight: 800; color: var(--gold); background: rgba(255,197,61,.12); border-radius: 99px; padding: 5px 12px; }
.paper-sec { font-size: 12px; color: var(--text-dim); }
.paper-passage { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.paper-passage h3 { font-size: 15px; margin-bottom: 8px; }
.paper-dir { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; line-height: 1.6; }
.cloze-words { font-size: 11px; color: var(--text-dim); margin-bottom: 10px; line-height: 2; }
.chip {
  display: inline-block; padding: 2px 9px; margin: 0 3px 3px 0; border-radius: 99px;
  background: rgba(139,92,246,.15); border: 1px solid rgba(139,92,246,.4); color: #d8c6ff; font-weight: 700;
}
.cloze-text { font-size: 14px; line-height: 2.1; color: var(--text); }
.cloze-sel {
  display: inline-block; margin: 0 2px; padding: 3px 6px; font-size: 12px;
  background: rgba(0,229,255,.1); color: var(--cyan); border: 1px solid rgba(0,229,255,.4);
  border-radius: 8px; outline: none; max-width: 110px; font-family: inherit;
}
.reading-text { font-size: 13px; line-height: 1.9; color: var(--text); margin-bottom: 12px; }
.rq-item { margin-bottom: 14px; }
.rq-q { font-size: 13px; font-weight: 700; margin-bottom: 6px; line-height: 1.6; }
.rq-opt {
  display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; margin-bottom: 4px;
  border-radius: 10px; border: 1px solid transparent; font-size: 13px; line-height: 1.5;
  cursor: pointer; color: var(--text);
}
.rq-opt input { display: none; }
.rq-opt:hover { background: rgba(255,255,255,.05); }
.rq-opt.sel { background: rgba(0,229,255,.12); border-color: rgba(0,229,255,.45); color: var(--cyan); }
.tr-zh { font-size: 14px; line-height: 1.9; color: var(--gold); background: rgba(255,197,61,.08); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.tr-zh.wt { color: var(--text); background: rgba(139,92,246,.08); }
.paper-ta {
  width: 100%; min-height: 140px; padding: 12px; border-radius: 12px; font-size: 13px; line-height: 1.8;
  background: rgba(255,255,255,.07); border: 1px solid var(--card-border); color: var(--text);
  outline: none; resize: vertical; font-family: inherit;
}
.paper-ta:focus { border-color: var(--cyan); }
.paper-nav { display: flex; gap: 10px; margin-top: 14px; }
.paper-nav .btn { flex: 1; }

.paper-detail { margin-top: 16px; }
.pd-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.pd-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 8px;
  border-radius: 12px; border: 1px solid var(--card-border); background: var(--card);
  font-size: 12px; line-height: 1.7;
}
.pd-badge { font-size: 15px; font-weight: 900; }
.pd-item.ok .pd-badge { color: var(--green); }
.pd-item.no .pd-badge { color: var(--red); }
.pd-item.ok { border-color: rgba(52,211,153,.4); }
.pd-item.no { border-color: rgba(255,92,122,.4); }
.pd-body div { color: var(--text-dim); }
.ref-box { background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.35); border-radius: 14px; padding: 12px 14px; margin-top: 12px; }
.ref-title { font-size: 13px; font-weight: 800; color: #c4a8ff; margin-bottom: 6px; }
.ref-text { font-size: 13px; line-height: 1.8; color: var(--text); }

/* ============ 专项练习（选词填空 / 完形填空 / 小猫钓鱼） ============ */
.pr-card {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; margin-bottom: 12px; cursor: pointer;
  transition: transform .15s ease;
}
.pr-card:active { transform: scale(.97); }
.pr-icon { font-size: 26px; }
.pr-info { flex: 1; }
.pr-name { font-size: 15px; font-weight: 800; }
.pr-desc { font-size: 12px; color: var(--text-dim); margin-top: 3px; line-height: 1.6; }
.pr-meta { font-size: 11px; color: var(--text-dim); margin-top: 3px; }
.pr-go { font-size: 12px; color: var(--cyan); font-weight: 700; }

.pr-passage { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.pr-dir { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; line-height: 1.7; }
.pr-text { font-size: 14px; line-height: 2.1; color: var(--text); }
.pr-speak { margin-top: 10px; background: rgba(0,229,255,.1); color: var(--cyan); border: 1px solid rgba(0,229,255,.4); }
.pr-nav { display: flex; gap: 10px; margin-top: 14px; }
.pr-nav .btn { flex: 1; }

/* 选词填空：空格 + 备选词 */
.word-bank { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.word-chip {
  padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 700;
  background: rgba(139,92,246,.18); border: 1px solid rgba(139,92,246,.5); color: #d8c6ff;
  cursor: pointer; transition: transform .12s ease; font-family: inherit;
}
.word-chip:active { transform: scale(.92); }
.word-chip.off { opacity: .3; text-decoration: line-through; pointer-events: none; }
.cloze-blank {
  display: inline-block; margin: 0 2px; padding: 1px 8px; min-width: 64px; text-align: center;
  font-size: 13px; font-weight: 700; font-family: inherit; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1.5px dashed rgba(255,255,255,.3); color: var(--text-dim);
}
.cloze-blank.sel { border-color: var(--gold); background: rgba(255,197,61,.14); color: var(--gold); box-shadow: 0 0 12px rgba(255,197,61,.25); }
.cloze-blank.filled { border-style: solid; border-color: rgba(0,229,255,.6); background: rgba(0,229,255,.12); color: var(--cyan); }

/* 完形填空 */
.gap-blank { display: inline-block; margin: 0 2px; padding: 1px 8px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--text-dim); background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.3); }
.gap-blank.filled { border-style: solid; border-color: rgba(0,229,255,.6); background: rgba(0,229,255,.12); color: var(--cyan); }
.gap-item { margin-bottom: 12px; }
.gap-q { font-size: 13px; font-weight: 800; margin-bottom: 8px; color: var(--gold); }
.opt-btn.sel { border-color: var(--cyan); background: rgba(0,229,255,.16); color: var(--cyan); }

/* 小猫钓鱼：句子 ↔ 段落 */
.match-para { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-size: 13px; line-height: 1.7; }
.match-para:last-child { border-bottom: none; }
.match-key {
  flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 9px; background: linear-gradient(135deg,#14b8a6,#6366f1); color: #fff; font-size: 13px; font-weight: 800;
}
.match-list { display: flex; flex-direction: column; gap: 10px; }
.match-sent { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 11px 12px; }
.match-s { font-size: 13px; line-height: 1.7; margin-bottom: 9px; }
.match-pick { display: flex; gap: 8px; }
.match-letter {
  flex: 1; padding: 7px 0; text-align: center; font-size: 14px; font-weight: 800; font-family: inherit;
  border-radius: 10px; cursor: pointer; background: rgba(255,255,255,.05); border: 1px solid var(--card-border); color: var(--text-dim);
  transition: all .12s ease;
}
.match-letter:active { transform: scale(.92); }
.match-letter.on { background: rgba(0,229,255,.16); border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 10px rgba(0,229,255,.2); }

/* ============ 应援小屋（追星女专属） ============ */
.fan-banner {
  font-size: 12px; line-height: 1.7; text-align: center; padding: 10px 12px; margin-bottom: 12px;
  border-radius: 14px; color: #ffd9ec;
  background: linear-gradient(135deg, rgba(236,72,153,.25), rgba(139,92,246,.22));
  border: 1px solid rgba(236,72,153,.4);
}
.fan-score-card {
  text-align: center; padding: 16px; margin-bottom: 12px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(236,72,153,.18), rgba(139,92,246,.16));
  border: 1px solid rgba(236,72,153,.35);
}
.fs-head { font-size: 13px; color: var(--text-dim); }
.fs-num { font-size: 40px; font-weight: 900; color: #ff7ac3; text-shadow: 0 0 24px rgba(255,122,195,.4); margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.fs-rank { display: inline-block; padding: 4px 14px; border-radius: 99px; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg,#ec4899,#8b5cf6); }

.fan-battle { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.fb-title { font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.fb-row { display: flex; align-items: center; gap: 8px; }
.fb-side { flex: 1; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid transparent; }
.fb-side.lead { border-color: var(--gold); background: rgba(255,197,61,.1); }
.fb-side b { display: block; font-size: 14px; }
.fb-side em { display: block; font-style: normal; font-size: 11px; color: var(--text-dim); }
.fb-side.lead em { color: var(--gold); }
.fb-emoji { font-size: 24px; }
.fb-vs { font-size: 12px; font-weight: 900; color: var(--gold); }
.fb-bar { height: 9px; border-radius: 99px; background: rgba(255,255,255,.08); margin: 12px 0 9px; overflow: hidden; }
.fb-bar div { height: 100%; border-radius: 99px; background: linear-gradient(90deg,#ff7ac3,#ec4899); transition: width .4s ease; }
.fb-tip { font-size: 12px; color: var(--text-dim); text-align: center; }

.fan-ticket { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.ft-title { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.ft-tier { font-size: 13px; margin-bottom: 10px; }
.ft-progress { display: flex; gap: 6px; margin-bottom: 10px; }
.ft-seg {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; font-size: 18px;
  background: rgba(255,255,255,.05); border: 1px dashed var(--card-border); filter: grayscale(1); opacity: .5;
}
.ft-seg.got { filter: none; opacity: 1; border-style: solid; border-color: rgba(236,72,153,.5); background: rgba(236,72,153,.12); }
.ft-seg.now { filter: none; opacity: 1; border-style: solid; border-color: var(--gold); box-shadow: 0 0 12px rgba(255,197,61,.25); animation: fbPulse 1.4s infinite; }
@keyframes fbPulse { 50% { transform: translateY(-2px); } }
.ft-next { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.ft-next b { color: var(--gold); }

.fan-merch { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.fm-title { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.fm-title span { float: right; color: var(--text-dim); font-weight: 700; }
.fm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fm-item { text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--card-border); opacity: .45; filter: grayscale(1); }
.fm-item.got { opacity: 1; filter: none; border-color: rgba(236,72,153,.45); background: rgba(236,72,153,.1); }
.fm-ico { font-size: 22px; }
.fm-name { font-size: 11px; font-weight: 700; margin-top: 4px; }
.fm-lock { font-size: 10px; color: var(--text-dim); margin-top: 2px; }

.fan-words { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 14px; }
.fw-title { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.fw-list { margin-bottom: 12px; }
.fw-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.fw-row:last-child { border-bottom: none; }
.fw-en { flex: 1; font-size: 14px; font-weight: 800; color: var(--cyan); }
.fw-ph { font-size: 11px; color: var(--text-dim); font-weight: 400; margin-left: 6px; }
.fw-zh { flex: 1; font-size: 12px; color: var(--text-dim); text-align: right; }
.fw-speak {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,229,255,.45);
  background: rgba(0,229,255,.1); color: var(--cyan); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-family: inherit;
}
.fw-speak:active { transform: scale(.9); }

.prof-fan {
  margin-top: 5px; font-size: 12px; color: #ff9ecb; font-weight: 700;
  background: rgba(236,72,153,.1); border: 1px solid rgba(236,72,153,.35);
  border-radius: 10px; padding: 5px 10px; display: inline-block;
}
