.mb-setup { max-width: 620px; margin: 0 auto; width: 100%; }
.mb-play { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) {
  .mb-play { grid-template-columns: minmax(0, 560px) minmax(220px, 300px); justify-content: center; align-items: start; }
}
.mb-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mb-stage {
  position: relative; width: 100%; border-radius: 18px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border);
}
.mb-canvas { display: block; margin: 0 auto; touch-action: pan-y; }
.mb-stage.is-fill .mb-canvas { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
.mb-hud {
  position: absolute; left: 8px; top: 8px; z-index: 2; pointer-events: none;
  padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; font-family: var(--font-num);
  background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--text); border: 1px solid var(--border);
}
.mb-live {
  position: absolute; right: 8px; top: 8px; z-index: 2; pointer-events: none; min-width: 104px; max-width: 46%;
  padding: 6px 8px; border-radius: 12px; font-size: 12px; font-weight: 700; line-height: 1.35;
  background: color-mix(in srgb, var(--surface) 84%, transparent); border: 1px solid var(--border); color: var(--text);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.mb-live-head { font-size: 11px; color: var(--text-3); margin-bottom: 2px; }
.mb-live-more { color: var(--text-3); text-align: center; line-height: 1; }
.mb-live-row { display: flex; align-items: center; gap: 5px; min-width: 0; }
.mb-live-row b { min-width: 1.3em; font-family: var(--font-num); color: var(--text-3); }
.mb-live-row i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mb-live-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-live-row.is-fin b { color: var(--green); }
.mb-count {
  position: absolute; inset: 0; z-index: 3; display: none; place-items: center; pointer-events: none;
  font-size: clamp(56px, 18vw, 96px); font-weight: 900; color: var(--primary); font-family: var(--font-num);
  text-shadow: 0 4px 0 var(--surface), 0 0 24px var(--surface);
}
.mb-count.is-on { display: grid; }
.mb-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mb-after .btn { min-width: 0; }
.mb-side { background: var(--surface-2); border-radius: var(--radius-lg); padding: 14px; }
.mb-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mb-row {
  --c: var(--text-3);
  display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px;
}
.mb-rk { min-width: 1.6em; font-family: var(--font-num); font-weight: 900; color: var(--text-3); }
.mb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.mb-nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-row small { font-family: var(--font-num); color: var(--text-3); font-weight: 700; }
.mb-row.is-fin .mb-rk { color: var(--green); }
.mb-row.is-hit { border-color: var(--primary); background: var(--primary-soft); }
@media (max-width: 879px) {
  .mb-board { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
/* 전체화면 */
.game-shell.is-full .mb-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.game-shell.is-full .mb-play { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
.game-shell.is-full .mb-main { min-height: 0; }
.game-shell.is-full .mb-stage { flex: 1 1 auto; min-height: 320px; }
@media (max-width: 879px) {
  .game-shell.is-full .mb-aside { display: none; }
}
