/* MENU-AB-001 / B. Scoped to the experimental hangar menu. */
.menu-preview[data-theme="b"] {
  --mb-gold: #e3c47d;
  --mb-text: #f0eee5;
  --mb-muted: #b8b2a3;
  --mb-line: #7c6943;
  --mb-stage-height: clamp(410px, 57dvh, 490px);
  --mb-feedback: 140ms;
}
.mb-home {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 12px 12px 16px;
  color: var(--mb-text);
  background: #090b09;
}
.menu-preview[data-theme="b"] .menu-hud {
  position: relative;
  z-index: 4;
  margin-bottom: 8px;
}
.mb-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--mb-stage-height);
  isolation: isolate;
}
.mb-art {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 80%, #34291a 0, #12150f 40%, #080a08 76%);
}
.mb-backdrop, .mb-vignette, .mb-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mb-backdrop {
  display: block;
  object-fit: cover;
  object-position: 50% 100%;
}
.mb-vignette {
  z-index: 1;
  background: linear-gradient(180deg, #090b0966, transparent 20%, transparent 66%, #090b091c 86%, #090b09 100%);
}
.mb-atmosphere {
  z-index: 1;
  background: radial-gradient(ellipse at 50% 64%, #d5a75a14, transparent 58%);
}
.mb-contact-shadow {
  position: absolute;
  z-index: 2;
  left: 30%;
  right: 24%;
  bottom: 8px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #000d 0, #0009 28%, #0000 72%);
}
.mb-hero-motion {
  position: absolute;
  z-index: 3;
  inset: 12px 0 0;
  transform-origin: 50% 98%;
  pointer-events: none;
}
.mb-hero {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}
.mb-scene-mark {
  position: absolute;
  z-index: 4;
  top: 32px;
  left: 12px;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .18em;
  color: var(--mb-gold);
}
.mb-scene-motto {
  position: absolute;
  z-index: 4;
  top: 84px;
  right: 10px;
  text-align: center;
  color: #d6bb80;
  font-family: Georgia, serif;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .13em;
}
.mb-side-panels {
  grid-area: 1 / 1;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 64px;
  pointer-events: none;
}
.mb-panel {
  min-height: 44px;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--mb-line);
  border-radius: 4px;
  background: linear-gradient(145deg, #141812f2, #060906f5);
  color: var(--mb-text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transition: background-color var(--mb-feedback), border-color var(--mb-feedback), box-shadow var(--mb-feedback);
}
.mb-stat-panel { width: 134px; }
.mb-gear-panel { width: 112px; }
.mb-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 34px;
  padding: 7px 8px;
  border-bottom: 1px solid #6f63433d;
  color: var(--mb-gold);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.mb-chevron {
  flex: 0 0 auto;
  color: var(--mb-gold);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.mb-stat-list {
  display: grid;
  gap: 9px;
  padding: 12px 8px 8px;
}
.mb-stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px;
  font-size: 12px;
  line-height: 1.35;
}
.mb-stat-row > :last-child {
  color: var(--mb-gold);
  font-variant-numeric: tabular-nums;
}
.mb-panel-note {
  display: block;
  padding: 5px 8px 9px;
  color: var(--mb-muted);
  font-size: 11px;
  line-height: 1.3;
}
.mb-demo-note { color: #debf79; }
.mb-sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 7px;
}
.mb-equipment-sample {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #615637;
  border-radius: 3px;
  background: #050705;
}
.mb-equipment-sample img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
}
.mb-sample-fallback {
  padding: 3px;
  color: var(--mb-muted);
  font-size: 10px;
  text-align: center;
  overflow-wrap: anywhere;
}
.mb-shortcuts {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 10px;
}
.mb-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  padding: 9px 10px;
  border: 1px solid var(--mb-line);
  border-radius: 4px;
  background: linear-gradient(130deg, #151912f2, #070a07fa);
  color: var(--mb-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color var(--mb-feedback), box-shadow var(--mb-feedback);
}
.mb-shortcut-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  stroke: var(--mb-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mb-shortcut-copy { flex: 1 1 auto; min-width: 0; }
.mb-shortcut-copy strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}
.mb-shortcut-copy > span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--mb-muted);
}
.mb-primary-wrap { position: relative; z-index: 5; }
.menu-preview[data-theme="b"] .menu-primary {
  width: 100%;
  min-height: 94px;
}
.menu-preview[data-theme="b"] .menu-primary-title {
  white-space: normal;
  text-wrap: balance;
}
.mb-history {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--mb-muted);
  background: #090b09;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  touch-action: manipulation;
}
.mb-history-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mb-history .mb-chevron { font-size: 18px; }
.mb-panel:focus-visible, .mb-shortcut:focus-visible, .mb-history:focus-visible {
  outline: 2px solid #ffe7a4;
  outline-offset: 3px;
}
.mb-panel:active, .mb-shortcut:active, .mb-history:active {
  border-color: #eed190;
  box-shadow: inset 0 0 0 2px #dfb85d35;
}
.mb-art-fallback {
  grid-area: 1 / 1;
  align-self: start;
  justify-self: center;
  position: relative;
  z-index: 4;
  margin-top: 32px;
  padding: 12px 16px;
  border: 1px solid var(--mb-line);
  border-radius: 4px;
  background: #0e120ff2;
  color: var(--mb-text);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
}
.mb-image-unavailable { visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  .mb-panel:hover, .mb-shortcut:hover, .mb-history:hover {
    border-color: #e3c47d;
    box-shadow: inset 0 0 0 1px #dec17f26;
  }
}
@media (max-width: 379px) {
  .menu-preview[data-theme="b"] { --mb-stage-height: clamp(360px, 54dvh, 435px); }
  .mb-home { padding-inline: 10px; }
  .mb-scene { grid-template-rows: var(--mb-stage-height) auto; row-gap: 12px; }
  .mb-side-panels {
    grid-area: 2 / 1;
    padding: 0;
    align-items: stretch;
  }
  .mb-panel { width: calc(50% - 6px); }
  .mb-stat-list { gap: 7px; }
  .mb-sample-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .mb-gear-panel .mb-panel-note { padding-top: 8px; }
  .mb-panel-heading { font-size: 12px; }
  .mb-shortcuts { margin-top: 12px; }
  .mb-shortcut { gap: 6px; padding-inline: 8px; }
  .mb-shortcut-icon { flex-basis: 18px; width: 18px; height: 18px; }
  .mb-shortcut-copy strong { font-size: 13px; }
  .mb-shortcut-copy > span { font-size: 11px; }
  .mb-scene-mark { top: 28px; }
  .mb-scene-motto { top: 74px; }
}
@media (min-width: 430px) {
  .mb-home { padding-inline: 16px; }
  .mb-stat-panel { width: 140px; }
  .mb-gear-panel { width: 120px; }
}
@media (max-height: 720px) and (min-width: 380px) {
  .menu-preview[data-theme="b"] { --mb-stage-height: 390px; }
}
@media (prefers-reduced-motion: reduce) {
  .mb-panel, .mb-shortcut, .mb-history { transition: none; }
}
