/* Companion app page: section-level hooks on top of the ported design CSS.

   misfit/css/app.css carries the page exactly as the approved design draws it.
   This file only adds what the section's own settings drive, so the design stays
   the default and the settings stay real. */

.misfit-app-page {
  background: var(--mm-surface-app, var(--mm-ink, #17142f));
}

/* Coming soon (section setting): the fallback panel on its own, on the same
   frame surface, sized to its content instead of the iframe's 16:10 box. */
.app-frame--soon {
  aspect-ratio: auto;
  height: auto;
  min-height: 60vh;
  display: flex;
}
.app-frame--soon .app-fallback {
  position: relative;
  inset: auto;
  flex: 1;
  gap: 16px;
  padding: 48px 24px;
}
.app-frame--soon .app-fallback h2 {
  margin: 0;
  font-family: var(--mm-font-display, Cinzel, Georgia, serif);
  font-size: calc(clamp(1.5rem, 3vw, 2.2rem) * var(--mm-fs-head, 1));
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--mm-gold-light, #f5dfae);
}
.app-frame--soon .app-fallback .btn {
  width: auto;
  max-width: 100%;
  align-self: center;
  margin-top: 6px;
  padding-inline: 28px;
}
@media (max-width: 580px) {
  .app-frame--soon {
    height: auto;
    min-height: 0;
  }
  .app-frame--soon .app-fallback {
    padding: 36px 18px;
  }
}
