/* Canonical MagicMe minimal mobile mock shell.
   Reference: html-high-fidelity-dark-concept. Presentation only; not an app component. */
.mm-mobile-shell {
  position: relative;
  width: min(430px, 100%);
  height: 884px;
  padding: 20px;
  overflow: hidden;
  color: var(--mm-color-text);
  background: #050609;
  border: 1px solid #2b2e37;
  border-radius: 58px;
  box-shadow: var(--mm-shadow-elevated);
}

.mm-mobile-shell.phone-frame,
.mm-mobile-shell.phone-mock { width: min(430px, 100%); }

.mm-mobile-shell .phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--mm-color-canvas);
  border: 1px solid rgb(53 64 85 / 60%);
  border-radius: 39px;
}

.mm-mobile-shell .speaker,
.mm-mobile-shell .phone-speaker,
.mm-mobile-shell-speaker {
  position: absolute;
  z-index: 12;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 6px;
  transform: translateX(-50%);
  background: #1b1e26;
  border-radius: 999px;
}

.mm-mobile-shell .phone-home,
.mm-mobile-shell .phone-side {
  display: none;
}

.mm-mobile-shell .device-bar {
  height: 34px;
  padding: 9px 22px 0;
}

.mm-mobile-shell.phone-frame > .screen {
  height: calc(100% - 34px);
}

@media (max-width: 430px) {
  .mm-mobile-shell {
    width: 100%;
    height: 884px;
    min-height: 620px;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .mm-mobile-shell.phone-frame,
  .mm-mobile-shell.phone-mock { width: 100%; }
  .mm-mobile-shell .phone-screen { border-inline: 0; border-radius: 0; }
  .mm-mobile-shell .speaker,
  .mm-mobile-shell .phone-speaker,
  .mm-mobile-shell-speaker { display: none; }
}

@media (max-width: 360px) {
  .mm-mobile-shell,
  .mm-mobile-shell.phone-mock {
    width: 100%;
    height: 100vh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .mm-mobile-shell .phone-screen { border: 0; border-radius: 0; }
}
