/* 闯关答题引擎的公共样式（配合 kit.css） */
.qz-room { position: relative; min-height: 520px; padding: 58px 12px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qz-stat { position: absolute; top: 30px; z-index: 11; font-weight: 800; font-size: 14px; background: rgba(255,255,255,.92); border-radius: 20px; padding: 2px 10px; }
.qz-stat.l { left: 12px; } .qz-stat.r { right: 12px; } .qz-stat.low { color: #ff4f6d; }
.qz-ask { background: #fff; border: 4px solid #ffd23f; border-radius: 22px; padding: 8px 16px; text-align: center; max-width: 660px; width: 100%;
  font-size: clamp(16px, 4.2vw, 22px); font-weight: 800; line-height: 1.5; box-shadow: 0 5px 0 rgba(0,0,0,.06); }
.qz-ask b { color: #ff4f8b; }
.qz-ask .eq, .eq { display: inline-block; background: #3b2a5c; color: #ffe066; border-radius: 10px; padding: 0 10px; margin: 2px; white-space: nowrap; }
.qz-play { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qz-play:empty { display: none; }
.qz-opts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; width: 100%; max-width: 660px; }
.qz-opts:empty { display: none; }
.qz-opts button { border: 4px solid #fff; border-radius: 18px; background: #fff; font-family: inherit; font-weight: 900; font-size: 26px; color: #3b2a5c;
  min-width: 78px; padding: 6px 14px; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.15); line-height: 1.3; }
.qz-opts.small button { font-size: 19px; min-width: 64px; }
.qz-opts button:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.qz-opts button.good { border-color: #22c55e; background: #eafff0; }
.qz-opts button.bad { border-color: #ff4f6d; background: #fff0f2; opacity: .75; }
.qz-btn { border: none; cursor: pointer; font-family: inherit; font-size: 19px; font-weight: 900; color: #fff; padding: 9px 22px; border-radius: 40px;
  background: linear-gradient(#ffa21f, #ff4f8b); box-shadow: 0 5px 0 #c2185b; }
.qz-btn.sec { background: linear-gradient(#7fd3ff, #2b9cff); box-shadow: 0 5px 0 #1769aa; }
.qz-btn:active { transform: translateY(4px); box-shadow: none; }
.qz-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.qz-card { background: #fff; border: 4px solid #ffd23f; border-radius: 20px; padding: 8px 12px; box-shadow: 0 5px 0 rgba(0,0,0,.07); }
.shake { animation: qz-shake .4s; }
@keyframes qz-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.pop { animation: qz-pop .3s cubic-bezier(.3,1.6,.6,1); }
@keyframes qz-pop { from { transform: scale(.4); } }
.emo { font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif; }
@media (max-width: 520px) { .qz-room { padding: 54px 8px 14px; } .qz-opts button { font-size: 22px; min-width: 64px; } }

/* ---------- 动作答题：拳击 / 射击 / 跳一跳 / 投篮 ---------- */
.qz-opts.arena-host { max-width: 680px; }
.qz-arena { position: relative; width: 100%; height: 260px; border-radius: 24px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(60,40,120,.18); --a: 14px; --spd: 1.8s; }
.qz-opts .qz-t, .qz-opts .qz-t.good, .qz-opts .qz-t.bad { position: absolute; top: 0; bottom: 78px; border: none; background: none; padding: 0; margin: 0; min-width: 0; box-shadow: none; cursor: pointer; display: flex; justify-content: center; font-family: inherit; }
.qz-opts .qz-t:active { transform: none; box-shadow: none; }
.qz-t .mv { display: flex; justify-content: center; will-change: transform; }
.qz-t .lab { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-weight: 900; color: #3b2a5c; font-size: clamp(17px, 4.4vw, 25px); line-height: 1.15; min-width: 58px; min-height: 58px; padding: 6px 10px; position: relative; }
.qz-t .lab svg { max-width: 64px; max-height: 64px; }
.qz-t .lab small { display: block; font-size: 12px; }
.qz-opts .qz-t.bad { opacity: .45; cursor: default; }
.qz-t.good .lab { outline: 5px solid #22c55e; outline-offset: 3px; }
.qz-actor { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 54px; line-height: 1; pointer-events: none; z-index: 5; filter: drop-shadow(0 4px 0 rgba(0,0,0,.2)); }
.qz-fx { position: absolute; z-index: 6; pointer-events: none; transform: translate(-50%, -50%); font-size: 30px; font-weight: 900; animation: qz-fx .85s ease-out forwards; font-family: 'Apple Color Emoji','Segoe UI Emoji',inherit; }
.qz-fx.big { font-size: 54px; }
.qz-fx.ko-t { font-size: 34px; color: #ff4f6d; -webkit-text-stroke: 6px #fff; paint-order: stroke fill; }
@keyframes qz-fx { from { opacity: 1; transform: translate(-50%, -50%) scale(.6); } 60% { opacity: 1; transform: translate(-50%, -80%) scale(1.15); } to { opacity: 0; transform: translate(-50%, -110%) scale(1); } }
.qz-bullet { position: absolute; height: 4px; background: linear-gradient(90deg, #fff6a8, #ff9f2e); border-radius: 2px; transform-origin: 0 50%; z-index: 4; box-shadow: 0 0 8px #ffd23f; }
@keyframes qz-sway { from { transform: translateX(calc(var(--a) * -1)); } to { transform: translateX(var(--a)); } }
@keyframes qz-bob { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
@keyframes qz-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }

/* 拳击：吊着的沙袋 */
.st-boxing { background: repeating-linear-gradient(180deg, transparent 0 150px, #ff6b6b 150px 156px, transparent 156px 178px, #ff6b6b 178px 184px, transparent 184px), linear-gradient(#fff1f1, #ffd0d0 70%, #4a90d9 70%, #3b7ac0); }
.st-boxing::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: #8b5a2b; z-index: 1; }
.st-boxing .mv { animation: qz-swing var(--spd) ease-in-out infinite alternate; animation-delay: var(--d); transform-origin: 50% 0; padding-top: 34px; position: relative; }
.st-boxing .mv::before { content: ""; position: absolute; top: 0; left: 50%; width: 4px; height: 36px; margin-left: -2px; background: #5a4a80; }
.st-boxing .lab { background: radial-gradient(circle at 35% 25%, #ff8a8a, #e53935 55%, #a31515); color: #fff; border-radius: 26px 26px 34px 34px; min-height: 104px; min-width: 70px; text-shadow: 0 2px 0 rgba(0,0,0,.3); border: 3px solid #7a1010; }
.st-boxing .lab svg { background: #fff; border-radius: 10px; }
.st-boxing .lab.ko { animation: qz-ko .6s ease-in forwards; }
@keyframes qz-ko { to { transform: translate(40px, -160px) rotate(160deg) scale(.6); opacity: 0; } }

/* 射击：左右移动的靶子 */
.st-shoot { background: linear-gradient(#bfe6ff, #eaf8ff 64%, #c98a4b 64%, #b07436 72%, #8a5a2b); }
.st-shoot .qz-t { cursor: crosshair; align-items: center; }
.st-shoot .mv { animation: qz-sway var(--spd) ease-in-out infinite alternate; animation-delay: var(--d); }
.st-shoot .lab { background: #fff; border-radius: 999px; border: 6px solid #ff4f6d; box-shadow: 0 0 0 4px #fff, 0 0 0 8px #ff4f6d, 0 5px 0 8px rgba(0,0,0,.12); min-width: 60px; min-height: 60px; }
.st-shoot .lab.boom { animation: qz-boom .45s ease-out forwards; }
@keyframes qz-boom { to { transform: scale(1.6); opacity: 0; } }
.st-shoot .qz-actor { transform: translateX(-50%) rotate(-90deg); font-size: 50px; }

/* 跳一跳：浮动的荷叶 */
.st-jump { background: linear-gradient(#c8eeff 0 22%, #69c3ee 22%, #3a9fd6); }
.st-jump::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(#7fd36a, #4ea83d); border-top: 5px solid #3c8a2e; border-radius: 40% 40% 0 0 / 30px 30px 0 0; }
.st-jump .qz-t { align-items: flex-end; padding-bottom: 6px; }
.st-jump .mv { animation: qz-bob var(--spd) ease-in-out infinite alternate; animation-delay: var(--d); }
.st-jump .lab { background: radial-gradient(circle at 40% 35%, #8ee07a, #3fae4f); color: #fff; border-radius: 50% / 42%; border: 4px solid #2a7d3a; min-width: 82px; min-height: 64px; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.st-jump .lab svg { background: #fff; border-radius: 8px; }
.st-jump .lab.glow { box-shadow: 0 0 0 6px #ffd23f, 0 0 24px #ffd23f; }
.st-jump .lab.sink { animation: qz-sink .5s ease-in forwards; }
@keyframes qz-sink { to { transform: translateY(30px) scale(.8); opacity: .25; } }
.st-jump .qz-actor { z-index: 7; }

/* 投篮：左右移动的篮筐 */
.st-hoop { background: linear-gradient(#ffe7c2, #ffd08a 72%, #d98c3a 72%, #c97a2a); }
.st-hoop .qz-t { align-items: flex-start; padding-top: 12px; }
.st-hoop .mv { animation: qz-sway var(--spd) ease-in-out infinite alternate; animation-delay: var(--d); flex-direction: column; align-items: center; }
.st-hoop .lab { background: #fff; border: 5px solid #3b2a5c; border-radius: 10px; min-width: 76px; min-height: 58px; }
.st-hoop .lab::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 54px; height: 14px; margin-left: -27px; border: 5px solid #ff6a00; border-radius: 50%; background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(255,255,255,.9) 6px 8px); }
.st-hoop .lab.swish::after { animation: qz-net .4s ease-out 2; }
@keyframes qz-net { 50% { transform: scaleY(1.8); } }

/* 长答案和图案答案 */
.qz-arena.long .lab { white-space: nowrap; font-size: clamp(14px, 3.7vw, 21px); }
.qz-arena.xlong .lab { font-size: clamp(13px, 3.3vw, 18px); line-height: 1.2; }
.qz-arena.long.st-shoot .lab, .qz-arena.xlong.st-shoot .lab { border-radius: 20px; }
.qz-t .lab.pic { font-size: 38px; font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif; }

@media (max-width: 520px) {
  .qz-arena { height: 236px; }
  .qz-actor { font-size: 44px; }
  .qz-t .lab { min-width: 50px; padding: 5px 6px; }
  .st-boxing .lab { min-height: 90px; min-width: 58px; }
  .st-shoot .lab { min-width: 52px; min-height: 52px; border-width: 5px; }
  .st-jump .lab { min-width: 62px; }
  .st-hoop .lab { min-width: 60px; }
}
