/* The mountain plays a tune (/gifts/music-box/): on top of the shared maker
   look (/gifts/globes/maker.css). The profile with its notes sits above the
   strip (or the 3D drum / plaque). */

.mb .mb-play { min-width: 96px; }
.mb .mb-play .bx { vertical-align: -2px; margin-right: 2px; }
.mb .mb-tempo { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.mb .mb-tempo input { width: 110px; accent-color: var(--gold); }
.mb .mb-tempo output { min-width: 54px; color: var(--ink); }

.mb .mb-prof { position: relative; margin: 0 10px 8px; border-radius: 10px; overflow: hidden; background: #151820; flex: none; }
.mb #mbProf { display: block; width: 100%; height: 230px; cursor: pointer; touch-action: manipulation; }
.mb .mb-prof-title { position: absolute; left: 10px; top: 7px; margin: 0; pointer-events: none; font-size: 0.74rem; color: rgba(236, 238, 233, 0.62); }

.mb .mb-outbar { display: flex; align-items: center; gap: 12px; padding: 0 10px 8px; flex-wrap: wrap; }
.mb .mb-outbar .wm-seg button .bx { vertical-align: -2px; margin-right: 2px; }
.mb .mb-facts { font-size: 0.78rem; color: rgba(236, 238, 233, 0.6); }

.mb .mb-strip { flex: 1; min-height: 0; margin: 0 10px; border-radius: 10px; overflow: auto hidden; background: linear-gradient(180deg, var(--tray-2), var(--tray)); display: flex; align-items: center; scrollbar-width: thin; }
.mb .mb-strip[hidden] { display: none; }
.mb .mb-strip { position: relative; }
.mb #mbStrip { display: block; flex: none; }
.mb .mb-strip-head { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: rgba(47, 165, 150, 0.95); pointer-events: none; will-change: transform; }
.mb .wm-stagebar .mb-play { background: var(--gold); color: #1d1a10; font-weight: 600; }
.mb .wm-stagebar .mb-play:hover { color: #1d1a10; filter: brightness(1.06); }
.mb .mb-view { flex: 1; }

.mb .mb-mapwrap { max-width: none; }
.mb .mb-mapwrap .wm-map { aspect-ratio: 4 / 3; cursor: crosshair; }
.mb .wm-sec .wm-seg { margin-top: 0; }
.mb .wm-sec .wm-seg + .wm-search, .mb #mbSrc + .wm-search { margin-top: 12px; }
.mb .wm-seg button { padding: 6px 8px; }
.mb .wm-seg button:disabled { opacity: 0.35; cursor: default; }
.mb .mb-file { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; cursor: pointer; }
.mb .mb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mb .mb-exp { margin: 14px 0 0; font-size: 0.84rem; font-weight: 600; color: var(--gold); }
.mb .mb-exp .bx { vertical-align: -2px; }
.mb .mb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.mb .mb-grid .wm-field > span { font-size: 0.74rem; min-height: 2.4em; display: flex; align-items: flex-end; }
.mb .wm-field input[type="number"] { width: 100%; }
.mb #mbComb { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
.mb #mbComb.is-bad { border-color: #d0605a; }
.mb .wm-dl + .wm-dl { margin-top: 8px; }

@media (max-width: 900px) {
    .mb .wm-stage { height: auto; min-height: 0; }
    .mb #mbProf { height: 180px; }
    .mb .mb-strip { flex: none; height: 190px; }
    .mb .mb-view { flex: none; height: 320px; }
    .mb .mb-tempo input { width: 90px; }
}
@media (max-width: 560px) {
    .mb .wm-seg button { padding: 6px 5px; font-size: 0.76rem; }
    .mb .mb-tempo span { display: none; }
}
