/* ========== 设计系统 · 羊了个羊双人合作版（20261104-6 视觉升级） ========== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
:root {
  --pink: #ff5b9b; --pink-soft: #ffd2e4; --blue: #6b7cff; --gold: #ffb300;
  --ink: #3a3a4a; --sub: #8a8fa3;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: linear-gradient(160deg, #ffe9f2 0%, #fef6ff 45%, #e6f0ff 100%);
  color: var(--ink);
  min-height: 100%;
  display: flex; justify-content: center;
  padding: 16px 12px 40px;
  position: relative; overflow-x: hidden;
}
/* 背景氛围：柔光斑 + 漂浮小羊 */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%; filter: blur(60px);
  z-index: -1; opacity: .55; pointer-events: none;
}
body::before { width: 320px; height: 320px; left: -80px; top: -60px;
  background: radial-gradient(circle, #ffc6dd, transparent 70%); animation: blob 14s ease-in-out infinite alternate; }
body::after { width: 380px; height: 380px; right: -120px; bottom: -100px;
  background: radial-gradient(circle, #c9d8ff, transparent 70%); animation: blob 18s ease-in-out infinite alternate-reverse; }
@keyframes blob { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.15); } }
.sheepFloat { position: fixed; font-size: 26px; opacity: .16; z-index: -1; pointer-events: none;
  animation: drift linear infinite; }
@keyframes drift { from { transform: translateY(15vh) rotate(-8deg); } to { transform: translateY(-115vh) rotate(10deg); } }
#app { width: 100%; max-width: 420px; }
.hidden { display: none !important; }

/* ---------- 菜单 ---------- */
.menu { text-align: center; margin-top: 4vh; animation: rise .5s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero {
  width: 84px; height: 84px; margin: 0 auto 6px; border-radius: 28px;
  display: flex; align-items: center; justify-content: center; font-size: 46px;
  background: linear-gradient(145deg, #fff, #ffeef6);
  box-shadow: 0 12px 28px rgba(255,91,155,.28), inset 0 2px 0 #fff;
  animation: heroBounce 2.6s var(--spring) infinite;
}
@keyframes heroBounce { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.title {
  font-size: 32px; font-weight: 900; margin: 0 0 6px; letter-spacing: 1px;
  background: linear-gradient(90deg, #ff5b9b, #ff8a5c, #6b7cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hue 6s linear infinite alternate;
}
@keyframes hue { to { filter: hue-rotate(18deg); } }
.title span { display: block; font-size: 14px; color: #6b7cff; font-weight: 600; margin-top: 4px; }
.sub { color: var(--sub); margin: 0 0 18px; font-size: 14px; }
.progCard {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,.75); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 16px;
  padding: 10px 16px; margin-bottom: 14px; font-size: 14px; color: #666;
  box-shadow: 0 4px 14px rgba(138,95,191,.1);
}
.progCard b { color: var(--pink); }
.progStar { font-size: 18px; animation: starPulse 2s ease-in-out infinite; }
@keyframes starPulse { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(8deg); } }
.lvLabel { color: var(--sub); font-size: 13px; margin: 4px 0 8px; }

/* 关卡选择芯片 */
.levelRow, .levelGrid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.lvChip {
  position: relative; width: 42px; height: 42px; border-radius: 14px; border: 2px solid #e8d5f0;
  background: #fff; color: #8a5fbf; font-size: 15px; font-weight: 800; cursor: pointer;
  transition: all .18s var(--spring); box-shadow: 0 2px 6px rgba(138,95,191,.12);
}
.lvChip:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(138,95,191,.25); }
.lvChip.on {
  background: linear-gradient(135deg, #ff7eb3, #b385ff); color: #fff; border-color: transparent;
  box-shadow: 0 5px 14px rgba(255,126,179,.4); transform: translateY(-2px);
}
.lvChip.done::after {
  content: '✓'; position: absolute; top: -6px; right: -6px; width: 16px; height: 16px;
  border-radius: 50%; background: #34d399; color: #fff; font-size: 10px; font-weight: 900;
  line-height: 16px; text-align: center; box-shadow: 0 2px 5px rgba(52,211,153,.5);
}
.lvChip.lock { opacity: .55; filter: saturate(.4); cursor: not-allowed; }
.lvChip.lock:hover { transform: none; box-shadow: 0 2px 6px rgba(138,95,191,.12); }

.input {
  width: 100%; padding: 12px 14px; border: 2px solid var(--pink-soft); border-radius: 14px;
  font-size: 16px; outline: none; background: #fff; margin-bottom: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: #ff8ab8; box-shadow: 0 0 0 4px rgba(255,138,184,.15); }

.row { display: flex; gap: 8px; }
.row .input { flex: 1; margin-bottom: 12px; }

/* 按钮体系 */
.btn {
  width: 100%; padding: 13px; border: none; border-radius: 14px; font-size: 16px;
  font-weight: 800; cursor: pointer; color: #fff; margin-bottom: 12px; position: relative;
  background: linear-gradient(135deg, #ff7eb3, #ff5b9b);
  box-shadow: 0 6px 16px rgba(255,91,155,.35);
  transition: transform .15s var(--spring), box-shadow .2s, filter .2s;
}
.btn:hover { filter: brightness(1.06); box-shadow: 0 8px 20px rgba(255,91,155,.45); }
.btn:active { transform: scale(.96); }
.btn.small { width: auto; flex: 0 0 auto; padding: 0 18px; margin-bottom: 12px; }
.btn.primary { background: linear-gradient(135deg, #8f9dff, #6b7cff); box-shadow: 0 6px 16px rgba(107,124,255,.35); }
.btn.primary:hover { box-shadow: 0 8px 22px rgba(107,124,255,.5); }
.btn.prop {
  background: #fff; color: var(--pink); border: 2px solid var(--pink-soft);
  box-shadow: 0 2px 8px rgba(255,91,155,.12); flex: 1; font-size: 14px; padding: 11px 4px;
}
.btn.prop:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; filter: none !important; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--blue); border: 2px solid #d9e2ff; box-shadow: none; }
.btn.exit {
  width: auto; flex: 0 0 auto; padding: 6px 14px; font-size: 13px; margin-bottom: 0;
  background: #fff; color: #e05575; border: 2px solid #ffc9d9; box-shadow: none;
}
.btn.exit:hover { background: #ffeef3; }
.btn.lvBtn { color: var(--blue); border-color: #d9e2ff; }
.btn.rescue { color: #b07a00; border-color: #ffe3a3; }
.btn.rescue:not(:disabled):active { background: #fff7e6; }
.btn.move3 { color: #8d5a2b; border-color: #ecd9c6; }
.btn.move3:not(:disabled):active { background: #f7f0e8; }

/* ---------- 游戏 ---------- */
.game { display: flex; flex-direction: column; gap: 10px; animation: rise .45s var(--ease) backwards; }
.game.shake { animation: shakeX .55s var(--ease); }
@keyframes shakeX {
  10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); }
}
.header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.codeTag {
  font-weight: 800; color: var(--pink); background: rgba(255,255,255,.9); padding: 4px 10px;
  border-radius: 10px; font-size: 14px; box-shadow: 0 2px 6px rgba(255,91,155,.15);
}
.players { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: flex; align-items: center; gap: 5px; font-size: 13px; background: #fff;
  padding: 3px 9px; border-radius: 20px; border: 2px solid #ddd; font-weight: 600;
  transition: box-shadow .2s;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; animation: breath 2s ease-in-out infinite; }
@keyframes breath { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.headRight { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.mute { border: none; background: #fff; border-radius: 50%; width: 34px; height: 34px; font-size: 16px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.1); transition: transform .15s var(--spring); }
.mute:active { transform: scale(.88); }

/* 状态横幅 */
.banner {
  text-align: center; padding: 10px; border-radius: 14px; font-weight: 700; font-size: 15px;
  background: #fff; color: #555; transition: all .3s var(--ease);
}
.banner.waiting { color: #b07a00; background: linear-gradient(90deg, #fff7e6, #fffdf5); }
.banner.playing {
  color: #2b6cff; background: linear-gradient(90deg, #eaf1ff, #f5f0ff, #eaf1ff); background-size: 200% 100%;
  animation: slide 6s linear infinite;
}
@keyframes slide { to { background-position: 200% 0; } }
.banner.won { color: #1a9d5a; background: linear-gradient(90deg, #e6fbf0, #f0fff6); font-size: 18px; animation: winPop .5s var(--spring); }
@keyframes winPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.banner.lost { color: #d8506a; background: linear-gradient(90deg, #ffe9ee, #fff5f7); }

/* 进度条 */
.progress {
  position: relative; height: 18px; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
}
.barFill {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, #ff8ab8, #b385ff, #6b7cff, #ff8ab8);
  background-size: 300% 100%; animation: slide 4s linear infinite; transition: width .45s var(--ease);
}
.barText { position: absolute; top: 0; left: 0; right: 0; text-align: center; font-size: 12px; line-height: 18px; font-weight: 700; color: #555; }

/* 棋盘 */
.stageWrap { width: 100%; display: flex; justify-content: center; overflow: hidden; border-radius: 16px; }
.stage {
  position: relative; border-radius: 16px; background: rgba(255,255,255,.55);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.04), 0 8px 24px rgba(255,138,184,.12);
  margin: 0 auto;
}
.tile {
  position: absolute; width: 44px; height: 44px; line-height: 44px; text-align: center;
  font-size: 26px; border-radius: 10px; background: #fff; border: 2px solid #ffe0ec;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.06), 0 3px 6px rgba(0,0,0,.12);
  user-select: none;
  transition: transform .25s var(--spring), opacity .3s var(--ease), filter .25s, box-shadow .2s;
}
.tile.enter { animation: tileIn .3s var(--spring) backwards; }
@keyframes tileIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
.tile.clickable { cursor: pointer; }
.tile.clickable:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 14px rgba(0,0,0,.18); z-index: 99; }
.tile.clickable:active { transform: scale(.9); }
.tile:not(.clickable):not(.removed) { filter: brightness(.6) saturate(.65); }
/* 消除：快速缩小淡出（手速党的节奏） */
.tile.removed { pointer-events: none; }
.tile.removed.out { animation: tileOut .15s ease-out forwards; }
@keyframes tileOut { to { transform: scale(.4); opacity: 0; } }
/* 撤销/救援：弹回 */
.tile.back { animation: tileBack .22s var(--spring); }
@keyframes tileBack { from { opacity: 0; transform: scale(.4); } }

/* 槽位 */
.tray {
  display: flex; gap: 6px; justify-content: center; padding: 8px; background: #fff;
  border-radius: 14px; box-shadow: 0 4px 14px rgba(138,95,191,.1);
  transition: box-shadow .3s;
}
.tray.warn { box-shadow: 0 0 0 2px rgba(255,107,107,.5), 0 4px 14px rgba(255,107,107,.25); }
.tray.flash { animation: trayFlash .25s var(--ease); }
@keyframes trayFlash {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,207,63,.7); }
  40% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(255,207,63,0); }
  100% { transform: scale(1); }
}
.slot {
  width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 24px;
  border-radius: 10px; background: #f6f7fb; border: 2px dashed #dfe3ef;
  transition: transform .2s var(--spring), background .2s, border-color .2s;
}
.slot:not(:empty) { border-style: solid; }
.slot.pop { animation: pop .14s var(--spring); }
@keyframes pop { from { transform: scale(.3); } to { transform: scale(1); } }

/* 三连消除飘字 */
.floatFx {
  position: fixed; transform: translate(-50%, 0); font-size: 26px; pointer-events: none;
  z-index: 1500; animation: floatUp .6s var(--ease) forwards;
}
@keyframes floatUp { to { transform: translate(-50%, -60px) scale(1.25); opacity: 0; } }

/* 控制 */
.ctrl { display: flex; gap: 8px; flex-wrap: wrap; }

/* 选关条（开始前显示） */
.levelBar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.levelBarLabel { font-size: 13px; color: var(--sub); font-weight: 700; }
.levelBar .levelRow { margin-bottom: 0; }

/* 聊天 */
.chat { background: #fff; border-radius: 14px; padding: 8px; }
.chatLog { max-height: 120px; overflow-y: auto; font-size: 13px; line-height: 1.5; margin-bottom: 6px; }
.msg { margin: 2px 0; word-break: break-word; animation: rise .25s var(--ease) backwards; }
.msg b { font-weight: 700; }
.msg.big { font-size: 26px; line-height: 1.3; }
.msg.big b { font-size: 13px; }
.msg.sys { text-align: center; color: #b07a00; background: #fffaf0; border-radius: 10px; padding: 2px 6px; }
.quickEmoji { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.quickBtn {
  border: 1px solid #f0f0f5; background: #fafafc; border-radius: 10px; font-size: 20px;
  width: 40px; height: 34px; line-height: 1; cursor: pointer; transition: transform .15s var(--spring), background .15s;
}
.quickBtn:hover { background: #ffeef5; transform: translateY(-2px); }
.quickBtn:active { transform: scale(.85); }

/* 选关浮层 */
.overlay {
  position: fixed; inset: 0; background: rgba(60,40,80,.45); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
  animation: fadeIn .25s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.overlayPanel {
  width: 88%; max-width: 360px; max-height: 76vh; overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 18px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: pop .3s var(--spring);
}
.ovTitle { font-size: 20px; font-weight: 900; color: var(--pink); }
.ovSub { font-size: 13px; color: var(--sub); margin: 6px 0 14px; }
.levelGrid { max-height: 46vh; overflow-y: auto; }
.ovClose {
  margin-top: 14px; padding: 9px 30px; display: inline-block; border-radius: 12px;
  background: #f3f4fa; color: #666; font-weight: 700; cursor: pointer; transition: background .15s;
}
.ovClose:hover { background: #e9ebf5; }

/* Toast 提示 */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translate(-50%, -80px);
  background: rgba(50,40,60,.92); color: #fff; padding: 11px 20px; border-radius: 14px;
  font-size: 14px; font-weight: 600; z-index: 2000; max-width: 86vw; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .35s var(--spring), opacity .35s;
  opacity: 0; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* 过关彩蛋卡片 */
.winCard {
  background: linear-gradient(160deg, #fff6fb, #eef3ff); border: 2px solid var(--pink-soft); border-radius: 18px;
  padding: 16px; text-align: center; box-shadow: 0 8px 24px rgba(255,107,157,.25);
  animation: winIn .55s var(--spring) backwards;
}
@keyframes winIn { from { opacity: 0; transform: scale(.7) translateY(30px); } to { opacity: 1; transform: none; } }
.winCard.special { border-color: #ffcf3f; background: linear-gradient(160deg, #fff8e1, #ffe9f3); box-shadow: 0 8px 30px rgba(255,180,40,.35); }
.wcTitle { font-size: 24px; font-weight: 900; color: var(--pink); }
.winCard.special .wcTitle { color: #e09600; }
.wcSub { font-size: 13px; color: #888; margin: 4px 0 10px; letter-spacing: 2px; }
.wcBody { background: #fff; border-radius: 12px; padding: 10px 12px; text-align: left; font-size: 14px; }
.wcRow { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed #eee; }
.wcRow:last-child { border-bottom: none; }
.wcRow span { color: #999; }
.wcRow b { color: #444; }
.wcBless { font-size: 13px; color: #ff7eb3; margin: 10px 0; line-height: 1.6; }
.wcBtnRow { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.wcBtn {
  display: inline-block; margin-top: 4px; padding: 11px 22px; color: #fff; border-radius: 14px;
  font-weight: 800; cursor: pointer; background: linear-gradient(135deg, #ff7eb3, #ff5b9b);
  box-shadow: 0 6px 16px rgba(255,91,155,.35); transition: transform .15s var(--spring), filter .2s;
}
.wcBtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.wcBtn:active { transform: scale(.95); }
.wcBtn.ghostBtn { background: #fff; color: var(--blue); border: 2px solid #d9e2ff; box-shadow: none; }
.winCard.special .wcBtn { background: linear-gradient(135deg, #ffc23d, #ffb300); box-shadow: 0 6px 16px rgba(255,179,0,.35); }
.winCard.special .wcBtn.ghostBtn { background: #fff; color: #b07a00; border-color: #ffe3a3; }
.wcReplay { margin-top: 10px; font-size: 13px; color: #999; cursor: pointer; text-decoration: underline; }
.wcImg {
  display: block; width: 100%; max-width: 220px; margin: 0 auto 12px; border-radius: 14px;
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18);
  animation: imgIn .6s var(--spring) .2s backwards;
}
@keyframes imgIn { from { opacity: 0; transform: scale(.6) rotate(-4deg); } to { opacity: 1; transform: none; } }
.winCard.special .wcImg { border-color: #ffcf3f; }

/* 刮刮乐 */
.scratchWrap { position: relative; width: 300px; max-width: 100%; height: 80px; margin: 12px auto 4px; border-radius: 10px; overflow: hidden; }
.scratchPrize {
  display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 12px;
  background: linear-gradient(90deg, #fff8e1, #ffe9f3); border-radius: 10px;
  font-weight: 800; color: #e09600; font-size: 16px; text-align: center; line-height: 1.4;
}
.scratchCv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: pointer; }

/* 协作榜 */
.wcMvp { background: #fff; border-radius: 12px; padding: 8px 12px; margin-top: 10px; font-size: 14px; }
.mvpTitle { font-weight: 800; color: var(--blue); font-size: 13px; margin-bottom: 4px; }
.mvpRow { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed #eee; }
.mvpRow:last-of-type { border-bottom: none; }
.mvpRow.top b { color: #e09600; }
.mvpTip { text-align: center; margin-top: 5px; color: #ff7eb3; font-weight: 700; font-size: 13px; }

/* 提示高亮：金色呼吸光圈 + 「点我」标签 */
.tile.hint { border-color: #ffcf3f; animation: hintGlow 1s infinite; }
.hint::after {
  content: '点我'; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  font-size: 10px; line-height: 1; padding: 2px 6px; white-space: nowrap;
  background: #ffcf3f; color: #5b4500; border-radius: 8px; font-weight: 800;
  box-shadow: 0 2px 6px rgba(255,179,0,.5); z-index: 2;
}
@keyframes hintGlow {
  0%, 100% { box-shadow: inset 0 -3px 0 rgba(0,0,0,.06), 0 0 0 0 rgba(255, 207, 63, .75); }
  50% { box-shadow: inset 0 -3px 0 rgba(0,0,0,.06), 0 0 0 9px rgba(255, 207, 63, 0); }
}

/* ---------- 每日情话任务卡 ---------- */
.taskCard {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff; border-radius: 14px; padding: 8px 10px; font-size: 13px;
  box-shadow: 0 4px 14px rgba(138,95,191,.08);
}
.taskTag {
  background: linear-gradient(135deg, #ff7eb3, #b385ff); color: #fff;
  border-radius: 8px; padding: 2px 8px; font-weight: 800; font-size: 12px; white-space: nowrap;
}
.taskText { flex: 1; color: #666; font-weight: 600; min-width: 140px; }
.taskClaim {
  border: none; background: linear-gradient(135deg, #ff7eb3, #ff5b9b); color: #fff;
  border-radius: 10px; padding: 6px 12px; font-weight: 800; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--spring), filter .2s;
}
.taskClaim:hover { filter: brightness(1.06); transform: translateY(-1px); }
.taskClaim:active { transform: scale(.94); }
.taskDone { color: #2f9e44; font-weight: 800; white-space: nowrap; }

/* ---------- 惩罚转盘 ---------- */
.wheelWrap { position: relative; width: 230px; height: 230px; margin: 10px auto 4px; }
.wheel {
  position: absolute; inset: 0; border-radius: 50%; border: 6px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.2), inset 0 0 0 2px rgba(0,0,0,.05);
  transition: transform 2.8s cubic-bezier(.15, .85, .3, 1);
  overflow: hidden;
}
.wheelItem {
  position: absolute; left: 50%; top: 50%; font-size: 11px; font-weight: 800;
  color: #5b4500; white-space: nowrap; text-shadow: 0 0 4px rgba(255,255,255,.8);
}
.wheelPin {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 26px; color: #f04f97; z-index: 2; text-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.wheelResult { min-height: 44px; font-size: 15px; color: #e03131; font-weight: 800; margin: 8px 0; line-height: 1.5; }
.wheelEdit { margin-top: 10px; font-size: 12px; color: #999; cursor: pointer; text-decoration: underline; }
.wheelEdit:hover { color: #666; }

/* ---------- 暂停 ---------- */
.pauseOverlay {
  position: fixed; inset: 0; background: rgba(60,40,80,.55); backdrop-filter: blur(8px);
  z-index: 1800; display: flex; align-items: center; justify-content: center;
  animation: fadeIn .2s var(--ease);
}
.pauseCard {
  background: #fff; border-radius: 20px; padding: 26px 30px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); animation: pop .3s var(--spring);
}
.pauseTitle { font-size: 24px; font-weight: 900; color: var(--pink); }
.pauseSub { font-size: 13px; color: var(--sub); margin: 8px 0 16px; }

/* ---------- 默契值 ---------- */
.tacitLine {
  background: #fff; border-radius: 12px; padding: 8px; margin-top: 10px;
  font-size: 13px; color: #666; line-height: 1.8;
}
.tacitLine b { color: var(--pink); }

.mute.dim { opacity: .35; }
.taskTag.coop { background: linear-gradient(135deg, #4d96ff, #6b7cff); }
.lvTimer { font-variant-numeric: tabular-nums; }

/* ---------- 战绩 & 排行榜 ---------- */
.histRow {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 10px; margin: 4px 0; font-size: 13px;
  background: #fafafc; text-align: left;
}
.histRow.win { background: #f0fff6; }
.histRow.lose { background: #fff5f7; }
.histSub { color: #999; font-size: 11px; text-align: right; white-space: nowrap; }
.lbSection { margin-bottom: 12px; text-align: left; }
.lbTitle { font-weight: 900; color: var(--pink); font-size: 14px; margin: 8px 0 6px; }
.lbRow {
  display: flex; justify-content: space-between; padding: 5px 8px;
  border-bottom: 1px dashed #eee; font-size: 13px;
}
.lbRow b { color: #555; }

/* ---------- 商店 / 广告位 ---------- */
.shopItem {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fafafc; border-radius: 12px; padding: 10px 12px; margin: 8px 0; text-align: left;
}
.shopName { font-weight: 800; font-size: 14px; color: var(--ink); }
.shopDesc { font-size: 12px; color: var(--sub); margin-top: 2px; }
.shopNote { font-size: 11px; color: #b0b4c0; margin-top: 10px; }
.adBanner {
  margin-top: 14px; padding: 14px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,.6); border: 1px dashed #d9c9ec;
  color: #a08cc0; font-size: 12px; font-weight: 600;
}
