/* MIB Tuner: compact controls without changing the tuning engine. */
html,
body {
  background: #0b0f11 !important;
  color-scheme: dark;
  overflow-x: hidden;
}

body.is-embedded main,
body.is-embedded .tuner-setup-panel {
  min-width: 0;
}

.pt-mobile-mode-select-wrap {
  display: none;
}

.pt-mobile-mode-select-wrap label {
  color: #9aa6aa;
  font-size: 11px;
  font-weight: 700;
}

.pt-mobile-mode-select-wrap select {
  min-height: 40px;
  width: 100%;
  min-width: 0;
  border: 1px solid #3a484f;
  border-radius: 5px;
  background: #182024;
  color: #edf1f2;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.tuner-setup-panel,
#view-beginner,
#view-single,
#view-poly,
#view-12string {
  background-image: none !important;
  box-shadow: none !important;
}

.tuner-setup-panel {
  border-radius: 7px !important;
}

@media (max-width: 720px) {
  body.is-embedded main {
    padding: 10px 9px 18px !important;
    gap: 10px !important;
  }

  body.is-embedded .tuner-setup-panel > .pt-mode-grid {
    display: none !important;
  }

  body.is-embedded .pt-mobile-mode-select-wrap {
    display: grid;
    gap: 6px;
    margin-top: 8px;
  }

  body.is-embedded .tuner-setup-panel {
    padding: 11px !important;
  }

  body.is-embedded #view-beginner,
  body.is-embedded #view-single,
  body.is-embedded #view-poly,
  body.is-embedded #view-12string {
    border-radius: 7px !important;
  }
}

@media (max-width: 420px) {
  body.is-embedded .pt-mobile-mode-select-wrap select {
    font-size: 14px;
  }

  body.is-embedded #btn-toggle-mic {
    min-width: 0;
    max-width: 100%;
  }
}
