/* 線上擲筊頁專用樣式；分頁沿用 site.css 的 .qr-tabs */
.mb-tabs { grid-template-columns: repeat(2, 1fr); }
.mb-fun { background: #fffbeb; border-left: 4px solid #d97706; padding: 10px 14px; border-radius: 6px; font-size: 1rem; }
.mb-chk { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.mb-chk input { width: 22px; height: 22px; flex: none; }
.mb-go { width: 100%; min-height: 56px; font-size: 1.2rem; margin-top: 10px; }
.mb-stage { margin-top: 12px; background: #eff4ff; border: 2px solid var(--brand); border-radius: 12px; padding: 14px 10px 10px; text-align: center; }
.mb-blocks { display: flex; justify-content: center; gap: 28px; min-height: 96px; align-items: center; }
.mb-blk { width: 110px; text-align: center; }
.mb-blk > div { width: 100px; height: 60px; margin: 0 auto; }
.mb-blk svg { width: 100%; height: 100%; display: block; }
.mb-blk small { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.mb-blocks.spin .mb-blk > div { animation: mb-tumble .32s linear infinite; }
.mb-blocks.spin .mb-blk:nth-child(2) > div { animation-duration: .4s; animation-direction: reverse; }
@keyframes mb-tumble { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } }
.mb-result { font-size: 1.8rem; font-weight: 800; margin: 10px 0 2px; min-height: 1.3em; color: var(--brand-dark); overflow-wrap: anywhere; }
.mb-result.holy { color: #15803d; }
.mb-result.laugh { color: #b45309; }
.mb-result.yin { color: #b91c1c; }
.mb-result.goal { font-size: 1.4rem; }
.mb-detail { margin: 0 0 4px; color: var(--muted); min-height: 1.5em; }
.mb-three { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; text-align: center; }
.mb-dots { display: flex; justify-content: center; gap: 10px; margin: 6px 0; }
.mb-dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #15803d; box-sizing: border-box; }
.mb-dot.on { background: #15803d; }
.mb-stat { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 14px 12px; }
.mb-stat dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; text-align: center; }
.mb-stat dt { color: var(--muted); font-size: .95rem; }
.mb-stat dd { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--brand-dark); }
.mb-h2 { font-size: 1.05rem; margin: .5rem 0; }
.mb-hist { display: flex; flex-wrap: wrap; gap: 4px; }
.mb-h { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; color: #fff; }
.mb-h.holy { background: #15803d; } .mb-h.laugh { background: #b45309; } .mb-h.yin { background: #b91c1c; }
.mb-live { min-height: 1.4em; margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.mb-three [hidden] { display: none; }
@media (max-width: 480px) { .mb-blocks { gap: 8px; } .mb-stat dl { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mb-blocks.spin .mb-blk > div { animation: none; } }
