/* =====================================================================
   新玩法 ×10（js/modes-extra.js）· 所有类名以 ex- 开头，只用 style.css 的变量
   ===================================================================== */

/* ---------- 通用 ---------- */
.ex-who { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--gold2); }
.ex-step { margin: 0; text-align: center; font: 600 12.5px/1 var(--latin); letter-spacing: .3em; color: var(--gold); }
.ex-pass, .ex-secret { min-height: 56vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; animation: rise .5s var(--ease) both; }
.ex-phone { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--gold2);
  background: radial-gradient(circle at 50% 35%, #4a1426, #1a0a10 70%); border: 1px solid #d9b26f44; box-shadow: 0 0 40px -10px #d93a5e88; animation: ex-float 3.2s ease-in-out infinite; }
.ex-phone svg { width: 34px; height: 34px; }
.ex-pass-name { display: flex; align-items: center; gap: 10px; font: 700 30px/1.3 var(--serif); letter-spacing: .12em; color: var(--gold2); }
.ex-pass .primary, .ex-secret .primary { margin-top: 14px; }
.ex-score { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px; }
.ex-score::-webkit-scrollbar { display: none; }
.ex-score span { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 13px;
  background: #0d0709; border: 1px solid var(--line); color: var(--mute); transition: border-color .3s, color .3s; }
.ex-score span b { font: 600 15px/1 var(--latin); color: var(--gold2); min-width: 1ch; text-align: center; }
.ex-score span.on { border-color: var(--gold); color: var(--text); box-shadow: 0 0 16px -6px #d9b26f88; }
.ex-rule p { margin: 0; line-height: 1.8; }
.ex-rule .hint { margin-top: 8px; }
.ex-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 12px; }
.ex-chips span, .ex-chips button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; background: #0d0709; border: 1px solid var(--line); }
.ex-chips .ok { border-color: #6fc9a466; color: #a9e3c8; }
.ex-chips .no { border-color: #d93a5e66; color: #f2a0b4; }
.ex-chips.pick button.on { border-color: var(--accent); background: #3a0c1d; color: #ffd9de; box-shadow: 0 0 18px -6px #d93a5e; }
.ex-paid { opacity: .5; }

/* 计时环 */
.ex-ring { --p: 1; --rc: var(--gold); position: relative; width: 132px; height: 132px; margin: 4px auto 0; border-radius: 50%; display: grid; place-items: center; align-content: center;
  background: radial-gradient(circle, var(--bg) 0 58%, transparent 59%), conic-gradient(var(--rc) calc(var(--p) * 360deg), #ffffff10 0);
  box-shadow: 0 0 40px -14px #d9b26f66; transition: box-shadow .3s; }
.ex-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid #d9b26f22; pointer-events: none; }
.ex-ring b { font: 600 40px/1 var(--latin); color: var(--gold2); font-variant-numeric: tabular-nums; }
.ex-ring small { font-size: 11px; letter-spacing: .2em; color: var(--mute); margin-top: 4px; }
.ex-ring.hot { --rc: var(--accent); box-shadow: 0 0 46px -8px #d93a5e; animation: beat 1s ease-in-out infinite; }
.ex-ring.hot b { color: #ffd9de; }
.ex-ring.big { width: 230px; height: 230px; background: radial-gradient(circle, var(--bg) 0 66%, transparent 67%), conic-gradient(var(--rc) calc(var(--p) * 360deg), #ffffff10 0); }
.ex-ring.big b { font-size: 56px; }

/* 骰子（点阵） */
.ex-die { --s: 64px; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .22); padding: calc(var(--s) * .14); display: inline-grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); gap: 2px; place-items: center;
  background: linear-gradient(150deg, #fffaf1 0%, #f0e3cf 55%, #d6c2a4 100%); box-shadow: 0 12px 22px -10px #000, inset 0 -3px 0 #00000018, inset 0 2px 0 #fff, 0 0 0 1px #d9b26f66; vertical-align: middle; }
.ex-die i { width: 100%; aspect-ratio: 1; border-radius: 50%; }
.ex-die i.on { background: radial-gradient(circle at 40% 35%, #6e1530, #2a0914); box-shadow: inset 0 1px 1px #0007; }
.ex-die.one i.on { background: radial-gradient(circle at 40% 35%, #e0566f, #8c1534); }
.ex-die[data-n="0"] { background: #0c0609; box-shadow: none; border: 1px dashed #d9b26f55; }
.ex-die.sm { --s: 30px; gap: 1px; }
.ex-die.lg { --s: 54px; }
.ex-die.rolling { animation: ex-shake .14s linear infinite; }

/* ---------- 1 数字炸弹 ---------- */
.ex-range { padding: 18px 22px 16px; }
.ex-lohi { display: flex; align-items: baseline; justify-content: center; gap: 18px; margin: 10px 0 12px; }
.ex-lohi b { font: 600 46px/1 var(--latin); color: var(--gold2); font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.ex-lohi i { width: 34px; height: 1px; background: var(--gold3); align-self: center; }
.ex-track { position: relative; height: 8px; border-radius: 99px; background: #2a0914; overflow: hidden; box-shadow: inset 0 1px 3px #000a; margin-bottom: 10px; }
.ex-track span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold3), var(--gold2), var(--gold3)); box-shadow: 0 0 12px #d9b26f88;
  transition: left .7s var(--ease), width .7s var(--ease); }
.ex-display { text-align: center; font: 600 54px/1.1 var(--latin); color: var(--text); letter-spacing: .08em; min-height: 62px; font-variant-numeric: tabular-nums; }
.ex-display.ph { color: #ffffff22; }
.ex-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ex-pad button { font: 600 24px/1 var(--latin); padding: 16px 0; border-radius: 16px; }
.ex-pad .ex-del { color: var(--mute); font-size: 20px; }
.ex-pad .primary { font: 600 16px/1 var(--serif); letter-spacing: .2em; }
.ex-hist { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ex-hist span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font: 500 14px/1.4 var(--latin); background: #0d0709; border: 1px solid var(--line); color: var(--mute); animation: pop .3s var(--ease) both; }

/* ---------- 2 二真一假 ---------- */
.ex-123 { display: flex; justify-content: center; gap: 12px; margin-bottom: 10px; font: 600 22px/1 var(--serif); color: var(--gold); }
.ex-123.big { gap: 14px; margin: 14px 0; }
.ex-123.big button { width: 84px; height: 104px; font: 600 38px/1 var(--serif); color: var(--gold2); border-radius: 18px; }
.ex-123.res span { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; padding: 16px 0; border-radius: 18px; border: 1px solid var(--line);
  background: var(--card); font-size: 30px; animation: flipIn .7s var(--ease) both; animation-delay: var(--d); }
.ex-123.res small { font: 600 13px/1 var(--sans); letter-spacing: .3em; margin-left: .3em; }
.ex-123.res .true { color: #a9e3c8; border-color: #6fc9a455; }
.ex-123.res .lie { color: #ffd9de; border-color: var(--accent); background: radial-gradient(120% 100% at 50% 0%, #6d1028, #1b0e15); box-shadow: 0 0 30px -8px #d93a5e; }
.ex-votes { display: flex; flex-direction: column; gap: 8px; }
.ex-vrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 16px; background: linear-gradient(170deg, #1f0e17, #140a0f); border: 1px solid #ffffff0d; }
.ex-vrow .seg { flex: none; padding: 3px; }
.ex-vrow .seg > button { padding: 7px 14px; }

/* ---------- 3 热椅 ---------- */
.ex-seat { padding-top: 26px; }
.ex-chair { width: 74px; height: 74px; margin: 12px auto 4px; border-radius: 50%; display: grid; place-items: center; color: #ffd0b0;
  background: radial-gradient(circle at 50% 70%, #a3123a, #3a0c1d 70%); box-shadow: 0 0 46px -6px #d93a5e; animation: ex-flicker 2.6s ease-in-out infinite; }
.ex-chair svg { width: 36px; height: 36px; }
.ex-q { min-height: 150px; display: flex; align-items: center; justify-content: center; border-color: color-mix(in srgb, var(--lc, var(--gold)) 45%, transparent); animation: ex-in .35s var(--ease) both; }
.ex-q p.big { margin: 0; font-size: 20px; }
.ex-q.late { box-shadow: 0 0 40px -12px var(--lc, var(--gold)), var(--shadow); }
.ex-pp { display: flex; justify-content: center; gap: 12px; }
.ex-pp i { width: 12px; height: 12px; transform: rotate(45deg); border: 1px solid var(--accent); transition: background .3s, box-shadow .3s; }
.ex-pp i.on { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.ex-hbtn button { padding: 18px 10px; font-size: 17px; }
.ex-hbtn .primary { flex: 1.6; }

/* ---------- 4 红黑骑巴士 ---------- */
.ex-bus { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; margin-top: 4px; }
.ex-deck { position: relative; }
.ex-deck .ex-pc { width: 54px; box-shadow: 2px 2px 0 #3a1222, 4px 4px 0 #2a0914, 0 12px 20px -8px #000; }
.ex-deck small { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font: 500 12px/1 var(--latin); color: var(--mute); }
.ex-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; perspective: 700px; }
.ex-pc { position: relative; aspect-ratio: 5 / 7; border-radius: 9px; display: grid; place-items: center; color: #1a0a10;
  background: linear-gradient(160deg, #fffaf1, #efe2cd); box-shadow: 0 10px 18px -8px #000, 0 0 0 1px #d9b26f66, inset 0 1px 0 #fff; }
.ex-pc.red { color: #b3163f; }
.ex-pc b { font-size: 26px; line-height: 1; }
.ex-pc i { position: absolute; top: 5px; left: 6px; font: 700 12px/1.05 var(--latin); font-style: normal; text-align: center; }
.ex-pc i.r { top: auto; left: auto; bottom: 5px; right: 6px; transform: rotate(180deg); }
.ex-pc.back { background: repeating-linear-gradient(45deg, #6e1530 0 4px, #4a0f22 4px 8px); box-shadow: inset 0 0 0 3px #1b0e15, inset 0 0 0 4px #d9b26f66, 0 10px 18px -8px #000; }
.ex-pc.ghost { background: #0c0609; border: 1px dashed #d9b26f44; box-shadow: none; color: var(--mute); }
.ex-pc.ghost small { font: 600 12px/1 var(--serif); letter-spacing: .15em; }
.ex-slot.cur .ex-pc.ghost { border: 1px solid var(--gold); color: var(--gold2); box-shadow: 0 0 20px -6px #d9b26f88; animation: ex-glow 1.6s ease-in-out infinite; }
.ex-pc.new { animation: ex-flip .6s var(--ease) both; }
.ex-pc.bad { box-shadow: 0 0 0 2px var(--accent), 0 0 28px -4px #d93a5e; animation: ex-flip .6s var(--ease) both, ex-no .45s .6s both; }
.ex-q-lbl { margin: 8px 0 0; text-align: center; font: 600 19px/1.4 var(--serif); letter-spacing: .1em; }
.ex-q-lbl span { display: block; font: italic 500 12px/1.6 var(--latin); letter-spacing: .3em; color: var(--gold); }
.ex-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ex-choose.four { grid-template-columns: repeat(4, 1fr); }
.ex-choose button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 6px; border-radius: 18px; }
.ex-choose button i { font-style: normal; font-size: 22px; line-height: 1; color: var(--gold); }
.ex-choose button b { font: 600 18px/1.2 var(--serif); letter-spacing: .14em; }
.ex-choose.four button b { font-size: 30px; letter-spacing: 0; }
.ex-choose .red, .ex-choose .red i { color: #ff8fa5; }
.ex-choose .blk b { color: var(--text); }
.ex-okmsg { color: #a9e3c8; }
.ex-bad { border-color: #d93a5e66; }
.ex-bad p.big { margin: 4px 0; color: #ffd9de; }

/* ---------- 5 789 ---------- */
.ex-dice2 { display: flex; justify-content: center; gap: 22px; margin: 12px 0 2px; perspective: 600px; }
.ex-dice2 .ex-die { --s: 86px; animation: roll3d .7s var(--ease) both; }
.ex-dice2 .ex-die:nth-child(2) { animation-delay: .08s; }
.ex-msg { text-align: center; font: 500 16px/1.7 var(--serif); letter-spacing: .04em; min-height: 54px; }
.ex-msg b { color: var(--gold2); }
.ex-msg em { color: #ff8fa5; font-style: normal; }
.ex-cup { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px; }
.ex-cup > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.ex-cup > div:last-child b { font: 600 38px/1 var(--latin); color: var(--gold2); }
.ex-cup > div:last-child small { font-size: 12px; letter-spacing: .2em; color: var(--mute); }
.ex-glass { position: relative; width: 74px; height: 90px; border: 1px solid #d9b26f88; border-top-color: #d9b26f33; border-radius: 4px 4px 22px 22px;
  background: linear-gradient(90deg, #ffffff08, #ffffff14 30%, #ffffff04 60%); box-shadow: inset 0 -10px 20px -10px #d93a5e55, 0 10px 24px -12px #000;
  display: flex; flex-direction: column-reverse; align-items: center; padding: 6px 8px; gap: 2px; overflow: hidden; }
.ex-glass i { width: 100%; height: 6px; border-radius: 2px; background: var(--lc, var(--gold)); box-shadow: 0 0 6px var(--lc, var(--gold)); transform: rotate(calc((var(--k) - 4.5) * 1.5deg)); animation: ex-drop .5s var(--ease) both; }
.ex-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ex-legend span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; background: #0d0709; border: 1px solid var(--line); font-size: 11.5px; color: var(--mute); text-align: center; }
.ex-legend b { font: 600 18px/1 var(--latin); color: var(--gold2); }
.ex-legend span:last-child b { font: 600 13px/1.4 var(--serif); }
.primary svg { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; }

/* ---------- 6 大话骰 ---------- */
.ex-cupd { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px 0; }
.ex-cupd .ex-die { animation: roll3d .7s var(--ease) both; }
.ex-cupd .ex-die:nth-child(2) { animation-delay: .06s; } .ex-cupd .ex-die:nth-child(3) { animation-delay: .12s; }
.ex-cupd .ex-die:nth-child(4) { animation-delay: .18s; } .ex-cupd .ex-die:nth-child(5) { animation-delay: .24s; }
.ex-bidnow p.big { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 4px; }
.ex-bq { font: 600 44px/1 var(--latin); color: var(--gold2); }
.ex-bidder { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: #0d0709; border: 1px solid var(--line); }
.ex-qty { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ex-qty button { width: 52px; height: 52px; padding: 0; border-radius: 50%; font-size: 24px; }
.ex-qty b { font: 600 48px/1 var(--latin); color: var(--gold2); min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.ex-qty small { color: var(--mute); margin-left: -8px; }
.ex-faces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ex-faces button { padding: 8px 0; border-radius: 12px; display: grid; place-items: center; }
.ex-faces button.on { border-color: var(--gold); background: #d9b26f1a; box-shadow: 0 0 16px -4px #d9b26f88; }
.ex-count { margin: 6px 0 0; font: 500 16px/1.4 var(--serif); }
.ex-count b { font: 600 40px/1 var(--latin); color: var(--gold2); margin: 0 4px; }
.ex-reveal { display: flex; flex-direction: column; gap: 7px; }
.ex-reveal > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 8px 14px; border-radius: 14px; background: linear-gradient(170deg, #1f0e17, #140a0f); border: 1px solid #ffffff0d; }
.ex-reveal > div.lose { border-color: var(--accent); box-shadow: 0 0 20px -8px #d93a5e; }
.ex-reveal > div > span { display: flex; gap: 4px; }
.ex-reveal .ex-die { animation: pop .4s var(--ease) both; animation-delay: var(--d); }
.ex-die.hit { box-shadow: 0 0 0 2px var(--gold2), 0 0 14px 1px #d9b26f; }
.ex-die.dim { filter: brightness(.38) saturate(.4); }

/* ---------- 7 禁忌词 ---------- */
.ex-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.ex-vs > div { text-align: center; padding: 10px; border-radius: 16px; background: #0d0709; border: 1px solid var(--line); transition: border-color .3s; }
.ex-vs > div.on { border-color: var(--gold); box-shadow: 0 0 20px -8px #d9b26f88; }
.ex-vs small { display: block; font-size: 12px; letter-spacing: .2em; color: var(--mute); }
.ex-vs b { display: block; font: 600 34px/1.1 var(--latin); color: var(--gold2); }
.ex-vs span { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.ex-vs em { font: italic 600 14px var(--latin); color: var(--gold); letter-spacing: .2em; }
.ex-taboo { padding: 20px 24px; border-color: color-mix(in srgb, var(--lc, var(--gold)) 50%, transparent); animation: ex-in .35s var(--ease) both; }
.ex-word { margin: 10px 0 12px; font: 900 38px/1.25 var(--serif); letter-spacing: .12em; color: #fff3e3; text-shadow: 0 0 24px color-mix(in srgb, var(--lc, var(--gold)) 60%, transparent); }
.ex-taboo ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ex-taboo li { position: relative; padding: 7px; border-radius: 10px; background: #2a091488; font: 600 16px/1.3 var(--serif); letter-spacing: .1em; color: #f2a0b4; }
.ex-taboo li::before { content: "✕"; position: absolute; left: 12px; color: var(--accent); font-size: 12px; top: 50%; transform: translateY(-50%); }
.ex-tbtn { display: grid; grid-template-columns: 1fr .8fr 1.3fr; gap: 8px; }
.ex-tbtn button { padding: 17px 4px; font-size: 16px; }
.ex-wl { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.ex-wl span { font-size: 13px; padding: 4px 10px; border-radius: 99px; background: #0d0709; border: 1px solid var(--line); color: var(--mute); }
.ex-wl .ok { color: #a9e3c8; border-color: #6fc9a455; }
.ex-wl .no { color: #f2a0b4; border-color: #d93a5e55; }

/* ---------- 8 匿名告白箱 ---------- */
.ex-note { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.ex-note .eyebrow, .ex-note .hint { text-align: center; }
.ex-note .hint { font: 600 16px/1.6 var(--serif); color: var(--text); }
.ex-note textarea { min-height: 140px; font: 500 16px/1.8 var(--serif); background: #0a0507; border-color: #d9b26f33; }
.ex-box { min-height: 44vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.ex-box p.big { font: 600 22px/1.5 var(--serif); margin: 8px 0 0; }
.ex-env { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: var(--gold2);
  background: linear-gradient(160deg, #4a1426, #1b0e15); border: 1px solid #d9b26f55; box-shadow: 0 20px 40px -16px #000, 0 0 40px -10px #d9b26f66; animation: ex-drop .7s var(--ease) both; }
.ex-env svg { width: 46px; height: 46px; }
.ex-env.open { opacity: .6; filter: grayscale(.6); }
.ex-letter { padding: 28px 22px 22px; background: radial-gradient(100% 70% at 50% 0%, #d9b26f14, transparent 70%), linear-gradient(172deg, #241019, #130910); border-color: #d9b26f44; animation: flipIn .8s var(--ease) both; }
.ex-letter p.big { font-size: 22px; }
.ex-letter .hint { font: 500 15px/1.7 var(--serif); }
.ex-author { margin: 12px 0 0; font: 700 28px/1.3 var(--serif); letter-spacing: .1em; animation: unblur .9s var(--ease) both; }
.ex-author .ex-who { gap: 10px; }

/* ---------- 9 翻牌配对 ---------- */
.ex-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; perspective: 900px; }
.ex-mc { padding: 0; border: 0; background: none; box-shadow: none; aspect-ratio: 4 / 5; border-radius: 12px; }
.ex-mc:active { transform: scale(.96); }
.ex-mc .in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.ex-mc.open .in { transform: rotateY(180deg); }
.ex-mc .bk, .ex-mc .fc { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.ex-mc .bk { color: var(--gold); background: radial-gradient(circle at 50% 40%, #6e1530, #2a0914 75%); box-shadow: inset 0 0 0 3px #1b0e15, inset 0 0 0 4px #d9b26f55, 0 8px 16px -8px #000; }
.ex-mc .bk svg { width: 40%; height: 40%; opacity: .8; }
.ex-mc .fc { transform: rotateY(180deg); align-content: center; gap: 4px; background: linear-gradient(160deg, #fffaf1, #ecdcc4); color: #4a0f22;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lc, var(--gold)) 70%, transparent), 0 8px 16px -8px #000; }
.ex-mc .fc small { font: 600 11px/1 var(--latin); color: var(--lc, var(--gold)); }
.ex-mc .fc b { font: 700 16px/1.2 var(--serif); letter-spacing: .06em; }
.ex-mc.done .fc { box-shadow: inset 0 0 0 2px var(--gold), 0 0 18px -4px #d9b26f; animation: ex-match .6s var(--ease) both; }
.ex-mc.done { opacity: .8; }
.ex-grid.deal .ex-mc { animation: deal .45s var(--ease) both; animation-delay: calc(var(--k) * 30ms); }
.ex-mini { min-height: 2.6em; }
.ex-mini .dot { margin-right: 4px; vertical-align: 1px; }

/* ---------- 10 36 问 ---------- */
.ex-36in p.big { margin: 10px 0 6px; }
.ex-sets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 6px; text-align: left; }
.ex-sets span { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; border-radius: 14px; background: #0d0709; border: 1px solid var(--line); }
.ex-sets em { font: italic 500 12px/1 var(--latin); letter-spacing: .2em; color: var(--gold); }
.ex-sets b { font: 600 16px/1.4 var(--serif); letter-spacing: .1em; }
.ex-sets small { font-size: 11.5px; color: var(--mute); }
.ex-sets .adult { border-color: #d93a5e55; background: radial-gradient(100% 100% at 0 0, #4a0f2244, #0d0709); }
.ex-sets span:last-child { border-color: #d9b26f44; }
.ex-prog { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.ex-prog span { height: 4px; border-radius: 99px; background: #ffffff12; overflow: hidden; }
.ex-prog i { display: block; height: 100%; background: var(--goldg); transition: width .6s var(--ease); }
.ex-prog .full i { width: 100%; }
.ex-36q .idx { font-size: 17px; }
.card.task.ex-36q.lv1 { --lc: var(--gold); }
.ex-36q p.big { font-size: 20.5px; }
.ex-36q .hint .ex-who { gap: 5px; font-weight: 500; }
.ex-inter { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; animation: rise .6s var(--ease) both; }
.ex-inter .orn { width: 160px; }
.ex-inter p.big { font: 600 24px/1.5 var(--serif); letter-spacing: .1em; margin: 6px 0 0; }
.ex-inter.end p.big { font-size: 21px; max-width: 18em; }
.ex-nextset { margin: 14px 0 0; color: var(--mute); font-size: 14px; }
.ex-nextset b { color: var(--gold2); font-family: var(--serif); }
.ex-heart { width: 84px; height: 84px; color: var(--accent); filter: drop-shadow(0 0 20px #d93a5e); animation: beat 1.6s ease-in-out infinite; }
.ex-heart svg { width: 100%; height: 100%; fill: #d93a5e44; }
.ex-eye { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 8px; }
.ex-eye > .hint { line-height: 1.9; }
.ex-breath { position: relative; padding: 26px; border-radius: 50%; }
.ex-breath::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #d93a5e33, transparent 70%); opacity: .4; transition: opacity 1s; }
.ex-breath.on::before { opacity: 1; animation: ex-breathe 8s ease-in-out infinite; }
.ex-breath .ex-ring small { max-width: 9em; line-height: 1.5; letter-spacing: .1em; }

/* ---------- 动效 ---------- */
@keyframes ex-float { 50% { transform: translateY(-6px); } }
@keyframes ex-flicker { 0%, 100% { box-shadow: 0 0 46px -6px #d93a5e; } 50% { box-shadow: 0 0 60px -2px #e0566f; } }
@keyframes ex-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ex-shake { 0% { transform: rotate(-8deg) translateY(-3px); } 50% { transform: rotate(8deg) translateY(2px); } 100% { transform: rotate(-8deg) translateY(-3px); } }
@keyframes ex-flip { 0% { transform: rotateY(-180deg) scale(.9); opacity: .2; } 60% { transform: rotateY(12deg); opacity: 1; } 100% { transform: none; } }
@keyframes ex-no { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes ex-glow { 50% { box-shadow: 0 0 28px -4px #d9b26faa; } }
@keyframes ex-drop { from { transform: translateY(-18px); opacity: 0; } to { opacity: 1; } }
@keyframes ex-match { 40% { transform: rotateY(180deg) scale(1.08); } 100% { transform: rotateY(180deg); } }
@keyframes ex-breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  .ex-mc .in, .ex-track span, .ex-prog i { transition-duration: .01ms !important; }
  .ex-breath.on::before, .ex-ring.hot, .ex-phone, .ex-chair, .ex-heart { animation: none !important; }
}
@media (max-width: 359px) {
  .ex-pad button { padding: 13px 0; }
  .ex-dice2 .ex-die { --s: 72px; }
  .ex-123.big button, .ex-123.res span { width: 72px; }
  .ex-faces .ex-die.sm { --s: 24px; }
}

/* ---------- 窄屏 / 英文 / 多人 修正 ---------- */
/* 计分条：8 个人也全部看得到（换行，不用横向滑） */
.ex-score { flex-wrap: wrap; justify-content: center; overflow: visible; }
/* 红黑骑巴士：四个牌位等宽，英文提示字不会把第一张撑大 */
.ex-bus { grid-template-columns: 54px minmax(0, 1fr); }
.ex-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ex-pc.ghost small { padding: 0 3px; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
:lang(en) .ex-pc.ghost small { font-size: 10px; letter-spacing: 0; }
/* 禁忌词：英文长单词不撑破卡片 */
.ex-word { overflow-wrap: anywhere; }
:lang(en) .ex-word { font-size: 30px; letter-spacing: .02em; }
:lang(en) .ex-taboo li { letter-spacing: .02em; }
