/* 3D 骰子（js/3d-dice.js）：情趣骰子 / 789 / 大话骰 —— 舞台尺寸 + 大话骰「开」的悬念 */
.yd-hid { display: none !important; }
.g3-stage.yd-stage { width: auto; max-height: 62vh; margin: 2px -14px 10px; box-shadow: inset 0 0 0 1px #d9b26f22; }
.g3-stage.yd-dice { aspect-ratio: 5 / 4; }
.g3-stage.yd-789 { aspect-ratio: 5 / 4; margin-bottom: 4px; }
.g3-stage.yd-see { aspect-ratio: 5 / 4; margin: 10px -4px 12px; }
.g3-stage.yd-open { aspect-ratio: 4 / 3; margin: 12px -14px; }
.g3-stage.yd-open.tall { aspect-ratio: 1 / 1; }
/* 大话骰「开」：骰盅掀完之前先不公布谁输 */
.yd-op .card .hint, .yd-op .ex-reveal, .yd-op .ex-reveal ~ button { transition: opacity .5s ease, transform .5s ease; }
.yd-sus .card .hint, .yd-sus .ex-reveal, .yd-sus .ex-reveal ~ button { opacity: 0; transform: translateY(8px); pointer-events: none; }
.yd-op .ex-count b { display: inline-block; transition: transform .18s ease, color .3s, text-shadow .3s; }
.yd-op .ex-count b.bump { animation: ydBump .32s ease-out; }
.yd-op .ex-count.met b { color: #ffe7a8; text-shadow: 0 0 18px #ffd27a; }
@keyframes ydBump { 40% { transform: scale(1.4); } }
.ex-secret .g3-stage.yd-see { align-self: stretch; }
