@font-face {
  font-family: "Mostm Graphik";
  src: url("/case/interactive/real-mobile/fonts/GraphikLCG-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mostm Graphik";
  src: url("/case/interactive/real-mobile/fonts/GraphikLCG-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

.mostm-demo,
.mostm-demo *,
.mostm-app,
.mostm-app * {
  box-sizing: border-box;
}

.mostm-demo {
  --mostm-paper: #f9f8f5;
  --mostm-editor: #121212;
  --mostm-editor-soft: #1b1b1b;
  --mostm-ink: #181818;
  --mostm-muted: #77746f;
  --mostm-line: rgba(28, 27, 25, 0.12);
  --mostm-white: #f8f7f3;
  --mostm-lilac: #c7b597;
  --mostm-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: clip;
  color: var(--mostm-white);
  background:
    radial-gradient(circle at 78% 46%, rgba(199, 181, 151, 0.1), transparent 26%),
    linear-gradient(135deg, #111111 0%, #0a0a0a 66%, #151418 100%);
  font-family: "Mostm Graphik", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mostm-demo::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  content: "";
  pointer-events: none;
}

.mostm-demo :is(h1, h2, h3, h4, p, figure),
.mostm-app :is(h1, h2, h3, h4, p, figure) {
  margin: 0;
  color: inherit !important;
}

:where(.mostm-demo, .mostm-app) button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:where(.mostm-demo, .mostm-app) button:focus-visible,
:where(.mostm-app) input:focus-visible,
:where(.mostm-app) select:focus-visible {
  outline: 2px solid #d8c6a9;
  outline-offset: 2px;
}

:where(.mostm-demo, .mostm-app) button:active {
  transform: scale(0.975);
}

.mostm-demo img,
.mostm-app img {
  display: block;
  max-width: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.mostm-demo img.ed-real-media,
.mostm-app img.ed-real-media {
  opacity: 1 !important;
}

.mostm-app img.mostm-editor__photo.ed-real-media {
  filter: var(--mostm-photo-filter, none) !important;
}

/* Keep the interactive artwork out of the site's editorial image treatment. */
body.brawus-v2 .mostm-app .mostm-feature-card__image img.ed-real-media {
  filter: saturate(0.82) contrast(0.94) brightness(1.04) !important;
}

body.brawus-v2 .mostm-app .mostm-editor__canvas .mostm-editor__photo.ed-real-media,
body.brawus-v2 .mostm-app .mostm-editor__canvas:hover .mostm-editor__photo.ed-real-media {
  filter: var(--mostm-photo-filter, none) !important;
}

body.brawus-v2 .mostm-app .mostm-editor__canvas.mostm-is-original .mostm-editor__photo.ed-real-media,
body.brawus-v2 .mostm-app .mostm-editor__canvas.mostm-is-original:hover .mostm-editor__photo.ed-real-media {
  filter: none !important;
}

body.brawus-v2 .mostm-app .mostm-export-preview img.ed-real-media {
  filter: var(--mostm-photo-filter, none) !important;
}

body.brawus-v2 .mostm-app .mostm-layer-thumb img.ed-real-media {
  filter: none !important;
}

.mostm-demo__shell {
  width: min(1380px, calc(100% - 48px));
  min-height: 940px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(510px, 1.18fr);
  gap: clamp(54px, 8vw, 132px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(78px, 8vw, 124px) 0;
}

.mostm-demo__intro {
  max-width: 560px;
  align-self: center;
}

.mostm-demo__mark {
  width: 52px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 42px;
}

.mostm-demo__mark i,
.mostm-build-card__mark i {
  width: 4px;
  height: 23px;
  display: block;
  background: currentColor;
  transform: skew(-38deg);
}

.mostm-demo__mark i:last-child,
.mostm-build-card__mark i:last-child {
  height: 9px;
  align-self: flex-end;
}

.mostm-demo__kicker {
  margin-bottom: 18px !important;
  color: rgba(248, 247, 243, 0.52) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mostm-demo__intro > h2 {
  max-width: 9.2ch;
  color: var(--mostm-white) !important;
  font-family: "Mont", "Mostm Graphik", Arial, sans-serif !important;
  font-size: clamp(52px, 5.2vw, 82px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.065em !important;
  line-height: 0.96 !important;
  text-wrap: balance;
}

.mostm-demo__lead {
  max-width: 47ch;
  margin-top: 28px !important;
  color: rgba(248, 247, 243, 0.63) !important;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
}

.mostm-demo__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.mostm-demo__flow span {
  min-width: 0;
  padding: 17px 18px 0 0;
}

.mostm-demo__flow strong,
.mostm-demo__flow small {
  display: block;
}

.mostm-demo__flow strong {
  color: #f7f6f2;
  font-size: 13px;
  font-weight: 600;
}

.mostm-demo__flow small {
  margin-top: 5px;
  color: rgba(248, 247, 243, 0.43);
  font-size: 11px;
  line-height: 1.35;
}

.mostm-demo__start {
  min-height: 52px;
  gap: 20px;
  margin-top: 46px;
  padding: 0 22px !important;
  border-radius: 999px;
  color: #161616 !important;
  background: #f3f1ec;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: transform 240ms var(--mostm-ease), background-color 240ms ease;
}

.mostm-demo__start:hover {
  background: #d9cbb7;
  transform: translateY(-2px);
}

.mostm-demo__start i {
  font-size: 11px;
}

.mostm-demo__stage {
  position: relative;
  min-height: 858px;
  display: grid;
  place-items: center;
}

.mostm-demo__halo {
  position: absolute;
  width: min(660px, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 38%, rgba(249, 248, 245, 0.16), rgba(199, 181, 151, 0.08) 43%, transparent 70%);
  filter: blur(1px);
}

.mostm-demo__caption {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.mostm-demo__caption--top {
  top: 84px;
  right: 5%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.mostm-demo__caption--top em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.mostm-demo__caption--side {
  left: 5%;
  bottom: 160px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.mostm-phone {
  position: relative;
  z-index: 4;
  width: min(390px, 100%);
  aspect-ratio: 390 / 844;
  padding: 8px;
  border: 1px solid rgba(236, 240, 246, 0.56);
  border-radius: 58px;
  background: linear-gradient(145deg, #707783 0%, #20242c 15%, #07090c 65%, #737b88 100%);
  box-shadow:
    0 54px 104px rgba(0, 0, 0, 0.52),
    0 16px 36px rgba(0, 0, 0, 0.3),
    0 0 0 4px #20242b,
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: rotate(0.7deg) translateZ(0);
  transition: transform 700ms var(--mostm-ease);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.mostm-demo__stage:hover .mostm-phone,
.mostm-demo.mostm-is-editing .mostm-phone {
  transform: rotate(0deg) translate3d(0, -5px, 0);
}

.mostm-phone__side {
  position: absolute;
  width: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, #747c89, #292f38 50%, #555d68);
}

.mostm-phone__side--mute { top: 112px; left: -10px; height: 31px; }
.mostm-phone__side--volume-up { top: 164px; left: -10px; height: 62px; }
.mostm-phone__side--volume-down { top: 239px; left: -10px; height: 62px; }
.mostm-phone__side--power { top: 183px; right: -10px; height: 92px; border-radius: 0 3px 3px 0; }

.mostm-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--mostm-ink);
  background: var(--mostm-paper);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.mostm-phone__island {
  position: absolute;
  z-index: 100;
  top: 11px;
  left: 50%;
  width: 116px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-right: 13px;
  border-radius: 999px;
  background: #050608;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 4px 12px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
}

.mostm-phone__island span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #141921;
}

.mostm-phone__island i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #305a85, #081323 45%, #030609 72%);
  box-shadow: 0 0 0 2px #0d1117;
}

.mostm-phone__status {
  position: absolute;
  z-index: 90;
  inset: 0 0 auto;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 26px;
  color: #1a1a1a;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
  transition: color 300ms ease;
}

.mostm-demo.mostm-is-editing .mostm-phone__status {
  color: #f5f5f3;
}

.mostm-phone__status > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}

.mostm-phone__viewport {
  position: absolute;
  inset: 46px 0 17px;
  overflow: hidden;
  overflow: clip;
}

.mostm-phone__home {
  position: absolute;
  z-index: 100;
  left: 50%;
  bottom: 6px;
  width: 132px;
  height: 4px;
  border-radius: 999px;
  background: #1a1a1a;
  transform: translateX(-50%);
  transition: background-color 300ms ease;
}

.mostm-demo.mostm-is-editing .mostm-phone__home {
  background: rgba(255, 255, 255, 0.85);
}

.mostm-demo__status {
  position: absolute;
  z-index: 5;
  right: 3%;
  bottom: 50px;
  max-width: 230px;
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

/* App foundation */
.mostm-app {
  --mostm-paper: #f9f8f5;
  --mostm-editor: #121212;
  --mostm-editor-soft: #1b1b1b;
  --mostm-ink: #181818;
  --mostm-muted: #77746f;
  --mostm-line: rgba(28, 27, 25, 0.12);
  --mostm-white: #f8f7f3;
  --mostm-lilac: #c7b597;
  --mostm-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow: clip;
  color: var(--mostm-ink);
  background: var(--mostm-paper);
  font-family: "Mostm Graphik", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.mostm-app [hidden] {
  display: none !important;
}

.mostm-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mostm-view {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8%);
  transition: opacity 280ms ease, transform 480ms var(--mostm-ease), visibility 0s linear 480ms;
}

.mostm-view.mostm-is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.mostm-library {
  display: grid;
  grid-template-rows: 57px minmax(0, 1fr);
  background: var(--mostm-paper);
}

.mostm-library__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 17px 0 18px;
}

.mostm-brand {
  gap: 3px;
  color: #151515 !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  letter-spacing: -0.075em !important;
  line-height: 1.12 !important;
}

.mostm-brand em {
  padding: 0 2px 3px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.mostm-library__actions,
.mostm-editor__top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mostm-icon-button,
.mostm-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 24, 24, 0.1) !important;
  border-radius: 50%;
  color: #252525 !important;
  background: rgba(255, 255, 255, 0.5);
  font-size: 11px !important;
}

.mostm-avatar {
  color: #f7f6f2 !important;
  border-color: #1c1c1c !important;
  background: #1c1c1c;
  font-size: 10px !important;
  font-weight: 600 !important;
}

.mostm-library__scroll {
  min-height: 0;
  overflow: hidden auto;
  padding: 10px 15px 30px;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.mostm-library__scroll::-webkit-scrollbar,
.mostm-category-rail::-webkit-scrollbar,
.mostm-editor__categories::-webkit-scrollbar,
.mostm-preset-rail::-webkit-scrollbar,
.mostm-saved-looks__rail::-webkit-scrollbar {
  display: none;
}

.mostm-library__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 3px 23px;
}

.mostm-library__title-row p {
  margin-bottom: 8px !important;
  color: #8a8781 !important;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mostm-library__title-row h2 {
  color: #171717 !important;
  font-family: "Mont", "Mostm Graphik", Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  letter-spacing: -0.065em !important;
  line-height: 0.98 !important;
}

.mostm-library__title-row h2 em {
  display: inline-block;
  padding-bottom: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.1;
}

.mostm-text-button {
  flex: 0 0 auto;
  padding-bottom: 3px !important;
  border-bottom: 1px solid #1a1a1a !important;
  color: #1a1a1a !important;
  font-size: 9px !important;
  font-weight: 600 !important;
}

.mostm-feature-card {
  position: relative;
  width: 100%;
  min-height: 184px;
  justify-content: flex-start !important;
  overflow: hidden;
  border: 1px solid rgba(28, 27, 25, 0.08) !important;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240, 239, 236, 0.75), rgba(240, 239, 236, 0.53));
  box-shadow: 0 18px 34px rgba(67, 63, 57, 0.08);
  transition: transform 320ms var(--mostm-ease), box-shadow 320ms ease;
}

.mostm-feature-card:hover {
  box-shadow: 0 22px 44px rgba(67, 63, 57, 0.13);
  transform: translateY(-2px);
}

.mostm-feature-card__image {
  position: absolute;
  inset: 0 44% 0 0;
  overflow: hidden;
}

.mostm-feature-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, rgba(240, 239, 236, 0.72));
  content: "";
}

.mostm-feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
  filter: saturate(0.82) contrast(0.94) brightness(1.04) !important;
}

.mostm-feature-card__image img.ed-real-media {
  filter: saturate(0.82) contrast(0.94) brightness(1.04) !important;
}

.mostm-feature-card__copy {
  position: relative;
  z-index: 2;
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 49%;
  color: #1a1a1a;
}

.mostm-feature-card__copy small {
  margin-bottom: 25px;
  color: #77736d;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mostm-feature-card__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.mostm-feature-card__copy > span {
  margin-top: 6px;
  color: #78746e;
  font-size: 9px;
}

.mostm-feature-card__arrow {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f8f7f3;
  background: #191919;
  font-size: 9px;
}

.mostm-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 2px 13px;
}

.mostm-section-heading h3 {
  color: #181818 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}

.mostm-section-heading > span {
  color: #8f8c86;
  font-size: 8px;
}

.mostm-category-rail,
.mostm-editor__categories {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: auto hidden;
  scrollbar-width: none;
}

.mostm-category-rail {
  margin: 0 -15px 14px;
  padding: 0 15px 3px;
}

.mostm-category-rail button {
  flex: 0 0 auto;
  min-height: 27px;
  padding: 0 11px !important;
  border: 1px solid rgba(24, 24, 24, 0.1) !important;
  border-radius: 999px;
  color: #77746f !important;
  background: rgba(255, 255, 255, 0.34);
  font-size: 8px !important;
}

.mostm-category-rail button.mostm-is-active {
  color: #f8f7f3 !important;
  border-color: #1a1a1a !important;
  background: #1a1a1a;
}

.mostm-recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mostm-recipe-card {
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: stretch !important;
  border-radius: 14px;
  color: #1b1b1b !important;
  transition: opacity 220ms ease, transform 260ms var(--mostm-ease);
}

.mostm-recipe-card[hidden] {
  display: none !important;
}

.mostm-recipe-card:hover {
  transform: translateY(-2px);
}

.mostm-recipe-card--wide {
  grid-column: span 2;
}

.mostm-recipe-card > span {
  grid-column: 1 / -1;
  width: 100%;
  height: 126px;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #ece9e4;
}

.mostm-recipe-card--wide > span {
  height: 145px;
}

.mostm-recipe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.mostm-recipe-card[data-mostm-recipe="Aesthetic"] img { filter: saturate(0.78) contrast(0.92) brightness(1.06) !important; }
.mostm-recipe-card[data-mostm-recipe="Vintage"] img { filter: sepia(0.2) saturate(0.8) contrast(0.9) brightness(1.01) !important; }
.mostm-recipe-card[data-mostm-recipe="Film"] img { filter: grayscale(0.28) contrast(1.13) brightness(0.94) !important; }
.mostm-recipe-card[data-mostm-recipe="Warm"] img { filter: sepia(0.22) saturate(1.13) brightness(1.01) !important; }
.mostm-recipe-card[data-mostm-recipe="Cold"] img { filter: saturate(0.72) hue-rotate(9deg) contrast(1.02) !important; }

.mostm-recipe-card > strong,
.mostm-recipe-card > small {
  padding-top: 7px;
}

.mostm-recipe-card > strong {
  padding-left: 2px;
  font-size: 10px;
  font-weight: 600;
}

.mostm-recipe-card > small {
  padding-right: 2px;
  color: #8b8882;
  font-size: 7px;
}

.mostm-saved-looks__rail {
  display: flex;
  gap: 8px;
  overflow: auto hidden;
  margin-inline: -15px;
  padding: 0 15px 3px;
  scrollbar-width: none;
}

.mostm-saved-look {
  flex: 0 0 114px;
  display: block !important;
  color: #1a1a1a !important;
}

.mostm-saved-look span {
  width: 114px;
  height: 135px;
  display: block;
  overflow: hidden;
  border-radius: 13px;
}

.mostm-saved-look img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.mostm-saved-look strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mostm-build-card {
  width: 100%;
  min-height: 76px;
  justify-content: flex-start !important;
  gap: 13px;
  margin-top: 20px;
  padding: 12px 13px !important;
  border: 1px solid rgba(24, 24, 24, 0.1) !important;
  border-radius: 16px;
  color: #191919 !important;
  background: rgba(240, 239, 236, 0.63);
}

.mostm-build-card__mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  color: #f7f6f2;
  background: #191919;
}

.mostm-build-card__mark i {
  width: 2px;
  height: 14px;
}

.mostm-build-card__mark i:last-child {
  height: 5px;
}

.mostm-build-card > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.mostm-build-card small {
  color: #8a8781;
  font-size: 8px;
}

.mostm-build-card strong {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
}

.mostm-build-card > i {
  margin-left: auto;
  color: #77736d;
  font-size: 10px;
}

.mostm-library-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(24, 24, 24, 0.08);
  background: rgba(249, 248, 245, 0.94);
  backdrop-filter: blur(18px);
}

.mostm-library-nav button {
  flex-direction: column;
  gap: 4px;
  color: #94908a !important;
  font-size: 8px !important;
}

.mostm-library-nav button i { font-size: 14px; }
.mostm-library-nav button.mostm-is-active { color: #191919 !important; }

.mostm-search-panel {
  position: absolute;
  z-index: 70;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.mostm-search-panel.mostm-is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mostm-search-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.3);
  backdrop-filter: blur(5px);
}

.mostm-search-panel__box {
  position: relative;
  width: calc(100% - 24px);
  min-height: 48px;
  display: grid;
  grid-template-columns: 26px 1fr 30px;
  align-items: center;
  margin: 10px auto 0;
  padding: 0 8px 0 13px;
  border: 1px solid rgba(24, 24, 24, 0.1);
  border-radius: 15px;
  color: #1b1b1b;
  background: rgba(249, 248, 245, 0.96);
  box-shadow: 0 18px 42px rgba(35, 31, 27, 0.18);
}

.mostm-search-panel__box input,
.mostm-name-field input {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  color: inherit;
  font: inherit;
  -webkit-user-select: text;
  user-select: text;
}

.mostm-search-panel__box input::placeholder { color: #97938d; opacity: 1; }
.mostm-search-panel__box button { width: 30px; height: 30px; }

/* Editor */
.mostm-editor {
  display: flex;
  flex-direction: column;
  color: #f5f4f1;
  background: var(--mostm-editor);
}

.mostm-editor__header {
  min-height: 68px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  padding: 0 11px 0 9px;
}

.mostm-editor__back,
.mostm-editor__top-actions > button:not(.mostm-editor__export) {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.045);
  font-size: 10px !important;
}

.mostm-editor__project {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  transform: translateX(24px);
}

.mostm-editor__project span {
  color: #f4f3f0;
  font-size: 10px;
  font-weight: 600;
}

.mostm-editor__project small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 7px;
}

.mostm-editor__export {
  min-height: 31px;
  padding: 0 12px !important;
  border-radius: 999px;
  color: #171717 !important;
  background: #efeee9;
  font-size: 9px !important;
  font-weight: 600 !important;
}

.mostm-editor__canvas {
  position: relative;
  flex: 0 0 auto;
  width: calc(100% - 18px);
  aspect-ratio: 357 / 481;
  max-height: 481px;
  overflow: hidden;
  margin: 7px auto 0;
  border-radius: 1px;
  background: #dededb;
  transition: width 380ms var(--mostm-ease), aspect-ratio 380ms var(--mostm-ease);
}

.mostm-editor__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 29%;
  filter: var(--mostm-photo-filter, none) !important;
  transform: scale(1.001);
  transition: filter 240ms ease, opacity 180ms ease;
}

.mostm-editor__fx,
.mostm-editor__grain {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.mostm-editor__grain {
  opacity: var(--mostm-grain-opacity, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size: 132px 132px;
  mix-blend-mode: soft-light;
}

.mostm-editor__canvas.mostm-is-fx-dust .mostm-editor__fx {
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 14% 20%, white 0 0.7px, transparent 1px),
    radial-gradient(circle at 68% 39%, white 0 0.5px, transparent 1px),
    radial-gradient(circle at 37% 75%, white 0 0.8px, transparent 1.2px);
  background-size: 54px 49px, 67px 61px, 83px 73px;
  mix-blend-mode: soft-light;
}

.mostm-editor__canvas.mostm-is-fx-glow .mostm-editor__fx {
  opacity: 0.42;
  background: radial-gradient(circle at 50% 24%, rgba(255, 246, 222, 0.7), transparent 47%);
  mix-blend-mode: screen;
}

.mostm-editor__canvas.mostm-is-original .mostm-editor__photo {
  filter: none !important;
}

.mostm-editor__canvas.mostm-is-original .mostm-editor__photo.ed-real-media {
  filter: none !important;
}

.mostm-compare-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 7px;
  border-radius: 5px;
  color: #171717;
  background: rgba(249, 248, 245, 0.86);
  font-size: 8px;
  backdrop-filter: blur(10px);
}

.mostm-editor__controls {
  min-height: 0;
  display: grid;
  grid-template-rows: 31px minmax(68px, 1fr) 34px;
  flex: 1;
}

.mostm-editor__categories {
  gap: 2px;
  padding: 1px 9px 0;
}

.mostm-editor__categories button {
  flex: 0 0 auto;
  min-height: 22px;
  padding: 0 8px !important;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.46) !important;
  background: transparent;
  font-family: "Helvetica Neue", "Mostm Graphik", Arial, sans-serif;
  font-size: 8px !important;
}

.mostm-editor__categories button.mostm-is-active {
  color: #fff !important;
  background: rgba(217, 217, 217, 0.04);
}

.mostm-preset-rail {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  overflow: auto hidden;
  padding: 3px 9px 4px;
  scrollbar-width: none;
}

.mostm-preset-rail button {
  flex: 0 0 51px;
  flex-direction: column;
  gap: 4px;
  color: rgba(255, 255, 255, 0.52) !important;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 7px !important;
}

.mostm-preset-rail button[hidden] { display: none !important; }

.mostm-preset-rail button > span {
  width: 51px;
  height: 51px;
  display: block;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #292929;
  transition: border-color 180ms ease, transform 220ms var(--mostm-ease);
}

.mostm-preset-rail button.mostm-is-active > span {
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.mostm-preset-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.mostm-preset-rail button[data-mostm-preset="Clean"] img { filter: saturate(0.95) contrast(0.98) brightness(1.02) !important; }
.mostm-preset-rail button[data-mostm-preset="Aesthetic"] img { filter: saturate(0.72) contrast(0.9) brightness(1.08) !important; }
.mostm-preset-rail button[data-mostm-preset="Vintage"] img { filter: sepia(0.3) saturate(0.82) contrast(0.92) !important; }
.mostm-preset-rail button[data-mostm-preset="Film"] img { filter: grayscale(0.36) contrast(1.16) brightness(0.92) !important; }
.mostm-preset-rail button[data-mostm-preset="Warm"] img { filter: sepia(0.25) saturate(1.15) brightness(1.02) !important; }
.mostm-preset-rail button[data-mostm-preset="Cold"] img { filter: saturate(0.72) hue-rotate(10deg) contrast(1.04) !important; }

.mostm-preset-rail button:nth-child(2) small { color: #a58f75; }
.mostm-preset-rail button:nth-child(3) small { color: #e4ceac; }
.mostm-preset-rail button:nth-child(4) small { color: #fff; }
.mostm-preset-rail button:nth-child(5) small { color: #ffbb36; }

.mostm-intensity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 24px 28px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.56);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 8px;
}

.mostm-intensity input,
.mostm-sheet input[type="range"] {
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
}

.mostm-intensity input::-webkit-slider-runnable-track,
.mostm-sheet input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.mostm-intensity input::-webkit-slider-thumb,
.mostm-sheet input[type="range"]::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -5.5px;
  appearance: none;
  border: 2px solid #191919;
  border-radius: 50%;
  background: #f2f1ed;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.mostm-intensity input::-moz-range-track,
.mostm-sheet input[type="range"]::-moz-range-track { height: 1px; background: rgba(255, 255, 255, 0.25); }
.mostm-intensity input::-moz-range-thumb,
.mostm-sheet input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid #191919; border-radius: 50%; background: #f2f1ed; }

.mostm-intensity output {
  color: rgba(255, 255, 255, 0.84);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.mostm-intensity button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px !important;
}

.mostm-editor__toolbar {
  min-height: 59px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  background: #121212;
}

.mostm-editor__toolbar button {
  flex-direction: column;
  gap: 5px;
  color: rgba(255, 255, 255, 0.42) !important;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 7px !important;
}

.mostm-editor__toolbar button i { font-size: 12px; }
.mostm-editor__toolbar button.mostm-is-active { color: rgba(255, 255, 255, 0.94) !important; }

/* Sheets */
.mostm-sheet {
  position: absolute;
  z-index: 80;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 360ms;
}

.mostm-sheet.mostm-is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mostm-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.mostm-sheet__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 69%;
  overflow: hidden auto;
  padding: 18px 17px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px 22px 0 0;
  color: #f3f2ee;
  background: rgba(28, 28, 28, 0.985);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(104%);
  transition: transform 420ms var(--mostm-ease);
  scrollbar-width: none;
}

.mostm-sheet.mostm-is-open .mostm-sheet__panel {
  transform: translateY(0);
}

.mostm-sheet__panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.mostm-sheet__panel > header small,
.mostm-sheet__panel > header h3 {
  display: block;
}

.mostm-sheet__panel > header small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mostm-sheet__panel > header h3 {
  color: #f4f3ef !important;
  font-family: "Mont", "Mostm Graphik", Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  letter-spacing: -0.04em !important;
}

.mostm-sheet__panel > header > button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.055);
  font-size: 9px !important;
}

.mostm-sheet__panel > label:not(.mostm-name-field):not(.mostm-quality) {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 40px;
}

.mostm-sheet__panel > label > span {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
}

.mostm-sheet__panel output { color: rgba(255, 255, 255, 0.38); font-variant-numeric: tabular-nums; }

.mostm-sheet__done {
  width: 100%;
  min-height: 42px;
  gap: 10px;
  margin-top: 14px;
  border-radius: 999px;
  color: #171717 !important;
  background: #f1f0ec;
  font-size: 9px !important;
  font-weight: 600 !important;
}

.mostm-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.mostm-choice-grid--crop { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mostm-choice-grid > button {
  min-width: 0;
  min-height: 84px;
  flex-direction: column;
  gap: 5px;
  padding: 8px 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px !important;
}

.mostm-choice-grid > button.mostm-is-active {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.06);
}

.mostm-choice-grid > button > i { font-size: 16px; }
.mostm-choice-grid > button strong { font-size: 8px; font-weight: 600; }
.mostm-choice-grid > button small { color: rgba(255, 255, 255, 0.32); font-size: 6px; }

.mostm-fx-swatch {
  width: 42px;
  height: 35px;
  display: block;
  border-radius: 6px;
  background-color: #2b2b2b;
}

.mostm-fx-swatch--grain { background-image: radial-gradient(rgba(255,255,255,.5) .5px, transparent .7px); background-size: 4px 4px; }
.mostm-fx-swatch--dust { background-image: radial-gradient(circle at 25% 30%, white 0 .7px, transparent 1px), radial-gradient(circle at 68% 70%, white 0 .8px, transparent 1px); background-size: 17px 15px, 23px 19px; }
.mostm-fx-swatch--glow { background: radial-gradient(circle, rgba(255,242,207,.86), #3b3935 48%, #242424 72%); }

.mostm-layer-list {
  display: grid;
  gap: 6px;
}

.mostm-layer-list > button {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start !important;
  gap: 10px;
  padding: 6px 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.025);
}

.mostm-layer-list > button.mostm-is-disabled { opacity: 0.42; }
.mostm-layer-list > button[data-mostm-layer="original"] { cursor: default; }

.mostm-layer-thumb {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  border-radius: 7px;
  background: #303030;
}

.mostm-layer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mostm-layer-thumb--grade { background: linear-gradient(145deg, #d8d1c8, #746a60); }
.mostm-layer-thumb--grain { background-image: radial-gradient(rgba(255,255,255,.56) .5px, transparent .7px); background-size: 4px 4px; }

.mostm-layer-list > button > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.mostm-layer-list strong { font-size: 9px; font-weight: 500; }
.mostm-layer-list small { margin-top: 2px; color: rgba(255, 255, 255, 0.34); font-size: 7px; }
.mostm-layer-list > button > i { color: rgba(255, 255, 255, 0.5); font-size: 9px; }

.mostm-add-layer {
  width: 100%;
  min-height: 38px;
  gap: 8px;
  margin-top: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 8px !important;
}

.mostm-name-field {
  display: block;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
}

.mostm-name-field > span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.36) !important;
  font-size: 7px !important;
}

.mostm-name-field input {
  color: #f6f5f1;
  font-size: 12px;
}

.mostm-recipe-summary {
  display: flex;
  gap: 5px;
  overflow: auto hidden;
  margin-top: 9px;
}

.mostm-recipe-summary span {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.045);
  font-size: 7px;
}

.mostm-export-preview {
  position: relative;
  height: 126px;
  overflow: hidden;
  border-radius: 11px;
}

.mostm-export-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: var(--mostm-photo-filter, none) !important;
}

.mostm-export-preview img.ed-real-media {
  filter: var(--mostm-photo-filter, none) !important;
}

.mostm-layer-thumb img.ed-real-media {
  filter: none !important;
}

.mostm-export-preview span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  border-radius: 5px;
  color: #171717;
  background: rgba(249, 248, 245, 0.88);
  font-size: 7px;
  backdrop-filter: blur(8px);
}

.mostm-export-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 10px;
}

.mostm-export-options button {
  min-height: 33px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.48) !important;
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px !important;
}

.mostm-export-options button.mostm-is-active {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
}

.mostm-quality {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
}

.mostm-quality select {
  appearance: none;
  min-width: 86px;
  padding: 5px 24px 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.8);
  background: #272727;
  font: inherit;
}

.mostm-toast {
  position: absolute;
  z-index: 120;
  top: 13px;
  left: 50%;
  min-width: 170px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #f6f5f1;
  background: rgba(24, 24, 24, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity 220ms ease, transform 340ms var(--mostm-ease);
  backdrop-filter: blur(16px);
  font-size: 8px;
}

.mostm-toast i { color: #e8dfd1; font-size: 8px; }

.mostm-toast.mostm-is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1040px) {
  .mostm-demo__shell {
    grid-template-columns: 1fr;
    width: min(780px, calc(100% - 36px));
    gap: 56px;
  }

  .mostm-demo__intro {
    max-width: 620px;
  }

  .mostm-demo__intro > h2 { max-width: 10ch; }
  .mostm-demo__stage { min-height: 858px; }
  .mostm-demo__caption--top { right: 8%; }
  .mostm-demo__caption--side { left: 9%; }
}

@media (max-width: 600px) {
  .mostm-demo__shell {
    width: calc(100% - 20px);
    min-height: 0;
    padding: 68px 0 58px;
  }

  .mostm-demo__mark { margin-bottom: 30px; }
  .mostm-demo__intro { padding-inline: 8px; }
  .mostm-demo__intro > h2 { font-size: clamp(43px, 13vw, 62px) !important; }
  .mostm-demo__flow { grid-template-columns: 1fr; gap: 12px; }
  .mostm-demo__flow span { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding-top: 12px; }
  .mostm-demo__flow small { margin-top: 0; }
  .mostm-demo__start { width: 100%; }
  .mostm-demo__stage { min-height: auto; display: flex; flex-direction: column; }
  .mostm-demo__caption { display: none; }
  .mostm-phone { width: min(390px, calc(100vw - 34px)); }
  .mostm-demo__status { position: static; max-width: 300px; margin-top: 34px !important; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mostm-demo *,
  .mostm-app * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The site-wide quality pass intentionally normalizes generic controls. The
   editor is a fixed-size app surface, so restore its native geometry here. */
body.brawus-v2 .mostm-app .mostm-icon-button {
  flex: 0 0 34px;
  width: 34px !important;
  min-width: 34px;
  max-width: 34px;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px;
  padding: 0 !important;
  border-radius: 50% !important;
}

body.brawus-v2 .mostm-app .mostm-text-button {
  width: auto !important;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 0 3px !important;
  border-radius: 0 !important;
}

body.brawus-v2 .mostm-app :is(.mostm-search-panel__box input, .mostm-name-field input) {
  color: inherit !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.brawus-v2 .mostm-app .mostm-search-panel__box input::placeholder {
  color: #97938d !important;
  opacity: 1 !important;
}

body.brawus-v2 .mostm-app input[type="range"] {
  height: 18px !important;
  padding: 0 !important;
  color: inherit !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.brawus-v2 .mostm-app .mostm-quality select {
  color: rgba(255, 255, 255, .8) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 7px !important;
  background: #272727 !important;
  box-shadow: none !important;
}

html.brawus-v2-html body#body.brawus-v2 :is(
  .mostm-demo__caption--top em,
  .mostm-app .mostm-brand em,
  .mostm-app .mostm-library__title-row h2 em,
  .mostm-app .mostm-feature-card__copy strong
) {
  font-family: Georgia, "Times New Roman", serif !important;
}

html.brawus-v2-html body#body.brawus-v2 .mostm-app :is(
  .mostm-feature-card__copy strong,
  .mostm-library .mostm-recipe-card > strong,
  .mostm-library .mostm-build-card strong,
  .mostm-library .mostm-saved-look strong
) {
  color: #1a1a1a !important;
}

@media (prefers-reduced-transparency: reduce) {
  .mostm-library-nav,
  .mostm-search-panel__box,
  .mostm-toast { backdrop-filter: none; }
  .mostm-sheet__backdrop { backdrop-filter: none; }
}

/* Canonical saved-state checkmark supplied by the client. */
html body [data-mostm-app] .mostm-toast i > svg { width: 11px !important; height: 11px !important; color: #e8dfd1; }

/* Control audit: five implemented editor tools share one centered, legible rhythm. */
html body [data-mostm-app] .mostm-editor__toolbar {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: center !important;
}

html body [data-mostm-app] .mostm-editor__toolbar > button[type="button"] {
  width: 100% !important;
  min-height: 59px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 9px !important;
  line-height: 1 !important;
  text-align: center !important;
}

html body [data-mostm-app] .mostm-editor__toolbar > button[type="button"] > i {
  min-width: 18px;
  font-size: 14px !important;
  line-height: 18px !important;
  text-align: center !important;
}

/* ctl2 — stable editor stage, honest original preview and MOST-native controls. */
html body [data-mostm-app] {
  --mostm-accent: #c7b597;
  --mostm-accent-soft: #e8dfd1;
  --mostm-focus: #826f52;
  --mostm-crop-scale: 1;
  --mostm-crop-composite-scale: 1;
  --mostm-crop-x: 0%;
  --mostm-crop-y: 0%;
  --mostm-muted: #706d68;
}

html body [data-mostm-app] :is(button, input, select):focus-visible {
  outline: 2px solid var(--mostm-focus) !important;
  outline-offset: -2px !important;
  box-shadow: none !important;
}

html body [data-mostm-app] :is(input, textarea) {
  caret-color: var(--mostm-accent) !important;
  accent-color: var(--mostm-accent) !important;
}

html body [data-mostm-app] :is(input, textarea)::selection {
  color: #171615 !important;
  background: var(--mostm-accent-soft) !important;
}

.mostm-demo__start:hover {
  background: #d9cbb7;
}

html body [data-mostm-app] .mostm-library {
  grid-template-rows: 68px minmax(0, 1fr);
}

html body [data-mostm-app] .mostm-library__header {
  padding: 8px 16px 0 18px;
}

html body [data-mostm-app] .mostm-brand {
  min-height: 44px !important;
  padding: 0 2px !important;
}

html body [data-mostm-app] :is(.mostm-icon-button, .mostm-avatar) {
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
}

html body [data-mostm-app] .mostm-text-button {
  width: auto !important;
  min-width: 64px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 2px !important;
  border-radius: 0 !important;
}

html body [data-mostm-app] .mostm-category-rail button {
  min-width: 44px !important;
  min-height: 44px !important;
  padding-inline: 14px !important;
}

html body [data-mostm-app] .mostm-search-panel__box {
  grid-template-columns: 28px minmax(0, 1fr) 44px;
  min-height: 56px;
}

html body [data-mostm-app] .mostm-search-panel__box button {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
}

html body [data-mostm-app] .mostm-editor {
  display: grid !important;
  grid-template-rows: 60px minmax(0, 1fr) 154px 64px;
  min-height: 0;
  overflow: hidden !important;
  overflow: clip !important;
  overscroll-behavior: none;
  contain: layout paint;
  background: #11110f;
}

html body [data-mostm-app] .mostm-editor__header {
  min-height: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: #11110f;
}

html body [data-mostm-app] .mostm-editor__back {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  font-size: 12px !important;
}

html body [data-mostm-app] .mostm-editor__project {
  transform: none;
}

html body [data-mostm-app] .mostm-editor__top-actions {
  min-width: 72px;
  justify-content: flex-end;
}

html body [data-mostm-app] .mostm-editor__export {
  min-width: 72px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border-radius: 13px;
  color: #171614 !important;
  background: #f1eee7;
}

html body [data-mostm-app] .mostm-editor__canvas {
  position: relative;
  grid-row: 2;
  align-self: stretch;
  width: calc(100% - 18px) !important;
  min-width: 0;
  height: calc(100% - 10px) !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 5px auto !important;
  overflow: hidden;
  border-radius: 14px;
  background: #23221f;
  touch-action: none;
  transition: none !important;
}

html body [data-mostm-app] .mostm-editor__canvas:focus-visible {
  outline: 2px solid var(--mostm-focus);
  outline-offset: -4px;
}

html body [data-mostm-app] .mostm-editor__crop-viewport {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: block;
  overflow: hidden;
  background: #d8d5ce;
  transform: translate(-50%, -50%);
  transition: width 300ms var(--mostm-ease), height 300ms var(--mostm-ease);
}

html body [data-mostm-app] .mostm-editor__photo,
html body [data-mostm-app] .mostm-editor__photo.ed-real-media,
body.brawus-v2 [data-mostm-app] .mostm-editor__canvas .mostm-editor__photo.ed-real-media,
body.brawus-v2 [data-mostm-app] .mostm-editor__canvas:hover .mostm-editor__photo.ed-real-media {
  position: absolute !important;
  top: var(--mostm-render-top, 0px) !important;
  left: var(--mostm-render-left, 0px) !important;
  width: var(--mostm-render-width, 100%) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--mostm-render-height, 100%) !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: fill !important;
  object-position: 50% 50% !important;
  filter: var(--mostm-photo-filter, none) !important;
  transform: none !important;
  will-change: top, left, width, height, filter;
  transition: filter 220ms ease, top 220ms var(--mostm-ease), left 220ms var(--mostm-ease), width 220ms var(--mostm-ease), height 220ms var(--mostm-ease) !important;
}

html body [data-mostm-app] .mostm-editor__canvas.mostm-is-dragging .mostm-editor__photo {
  transition: filter 220ms ease !important;
}

html body [data-mostm-app] .mostm-editor__compare {
  position: absolute;
  z-index: 18;
  top: 12px;
  right: 12px;
  width: auto !important;
  min-width: 88px !important;
  height: 44px !important;
  min-height: 44px !important;
  gap: 7px;
  padding: 0 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 13px;
  color: #f7f4ee !important;
  background: rgba(19, 18, 16, 0.64);
  box-shadow: 0 8px 28px rgba(15, 13, 10, 0.2);
  backdrop-filter: blur(14px);
  font-size: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html body [data-mostm-app] .mostm-editor__compare i {
  font-size: 12px;
}

html body [data-mostm-app].mostm-is-original-preview .mostm-editor__photo,
html body [data-mostm-app].mostm-is-original-preview .mostm-editor__photo.ed-real-media,
body.brawus-v2 [data-mostm-app].mostm-is-original-preview .mostm-editor__canvas .mostm-editor__photo.ed-real-media,
body.brawus-v2 [data-mostm-app].mostm-is-original-preview .mostm-editor__canvas:hover .mostm-editor__photo.ed-real-media {
  object-fit: contain !important;
  object-position: 50% 50% !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

html body [data-mostm-app].mostm-is-original-preview .mostm-editor__crop-viewport {
  width: 100% !important;
  height: 100% !important;
  background: #1b1a18;
  transition: none !important;
}

html body [data-mostm-app].mostm-is-original-preview :is(.mostm-editor__fx, .mostm-editor__grain, .mostm-crop-guide) {
  opacity: 0 !important;
  visibility: hidden !important;
}

html body [data-mostm-app].mostm-is-original-preview .mostm-editor__canvas {
  background: #1b1a18;
}

html body [data-mostm-app].mostm-is-original-preview .mostm-editor__compare {
  color: #171614 !important;
  border-color: #f1eee7 !important;
  background: #f1eee7;
}

html body [data-mostm-app] .mostm-compare-label {
  z-index: 19;
  top: 12px;
  left: 12px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding-inline: 10px;
  border-radius: 9px;
  color: #171614;
  background: #f1eee7;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html body [data-mostm-app] .mostm-compare-label[hidden] {
  display: none !important;
}

html body [data-mostm-app] .mostm-crop-guide {
  position: absolute;
  z-index: 14;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid rgba(249, 246, 238, 0.94);
  border-radius: 2px;
  box-shadow: 0 0 0 999px rgba(13, 12, 10, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

html body [data-mostm-app].mostm-is-cropping .mostm-crop-guide {
  opacity: 1;
}

html body [data-mostm-app] .mostm-crop-guide > i {
  position: absolute;
  width: 32%;
  height: 32%;
  border-color: rgba(255, 255, 255, 0.2);
  border-style: solid;
  border-width: 0;
}

html body [data-mostm-app] .mostm-crop-guide > i:nth-child(1) { top: 33.333%; left: 0; width: 100%; border-top-width: 1px; }
html body [data-mostm-app] .mostm-crop-guide > i:nth-child(2) { top: 66.666%; left: 0; width: 100%; border-top-width: 1px; }
html body [data-mostm-app] .mostm-crop-guide > i:nth-child(3) { top: 0; left: 33.333%; height: 100%; border-left-width: 1px; }
html body [data-mostm-app] .mostm-crop-guide > i:nth-child(4) { top: 0; left: 66.666%; height: 100%; border-left-width: 1px; }

html body [data-mostm-app] .mostm-editor__controls {
  grid-row: 3;
  min-height: 154px;
  display: grid;
  grid-template-rows: 44px 66px 44px;
  background: #11110f;
}

html body [data-mostm-app] .mostm-editor__categories {
  min-width: 0;
  padding: 0 9px;
}

html body [data-mostm-app] .mostm-editor__categories button {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 10px !important;
  font-size: 8px !important;
}

html body [data-mostm-app] .mostm-preset-rail {
  min-height: 66px;
  align-items: center;
  padding-block: 4px;
}

html body [data-mostm-app] .mostm-preset-rail button {
  min-height: 58px !important;
}

html body [data-mostm-app] .mostm-preset-rail button > span {
  width: 48px;
  height: 48px;
}

html body [data-mostm-app] .mostm-intensity {
  min-height: 44px;
  grid-template-columns: auto minmax(0, 1fr) 28px 44px;
}

html body [data-mostm-app] .mostm-intensity button {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
}

html body [data-mostm-app] .mostm-editor__toolbar {
  grid-row: 4;
  min-height: 64px !important;
  height: 64px;
  background: #11110f;
}

html body [data-mostm-app] .mostm-editor__toolbar > button[type="button"] {
  min-height: 64px !important;
}

html body [data-mostm-app] .mostm-sheet__panel > header > button {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
}

html body [data-mostm-app] .mostm-sheet__done {
  min-height: 48px !important;
  border-radius: 13px;
}

html body [data-mostm-app] :is(
  [data-mostm-sheet="adjust"],
  [data-mostm-sheet="crop"],
  [data-mostm-sheet="fx"],
  [data-mostm-sheet="layers"]
) {
  inset: auto 0 64px;
  height: min(376px, calc(100% - 60px));
}

html body [data-mostm-app] :is(
  [data-mostm-sheet="adjust"],
  [data-mostm-sheet="crop"],
  [data-mostm-sheet="fx"],
  [data-mostm-sheet="layers"]
) .mostm-sheet__backdrop {
  display: none;
}

html body [data-mostm-app] :is(
  [data-mostm-sheet="adjust"],
  [data-mostm-sheet="crop"],
  [data-mostm-sheet="fx"],
  [data-mostm-sheet="layers"]
) .mostm-sheet__panel {
  max-height: 100%;
  border-radius: 22px 22px 0 0;
  background: rgba(25, 24, 22, 0.985);
}

html body [data-mostm-app] .mostm-choice-grid > button {
  min-height: 64px !important;
}

html body [data-mostm-app] .mostm-crop-controls {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

html body [data-mostm-app] .mostm-crop-controls > label {
  min-height: 44px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

html body [data-mostm-app] .mostm-crop-controls > label > span {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
}

html body [data-mostm-app] .mostm-crop-controls output {
  color: var(--mostm-accent-soft);
  font-variant-numeric: tabular-nums;
}

html body [data-mostm-app] .mostm-crop-nudges {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}

html body [data-mostm-app] .mostm-crop-nudges button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.035);
  font-size: 8px !important;
}

html body [data-mostm-app] .mostm-crop-nudges [data-mostm-crop-reset] {
  color: #171614 !important;
  background: var(--mostm-accent-soft);
  font-weight: 600 !important;
}

html body [data-mostm-app] .mostm-crop-controls > p {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 8px;
  text-align: center;
}

html body [data-mostm-app] .mostm-layer-list > button,
html body [data-mostm-app] .mostm-add-layer,
html body [data-mostm-app] .mostm-export-options button {
  min-height: 44px !important;
}

html body [data-mostm-app] .mostm-name-field {
  border-color: rgba(199, 181, 151, 0.24) !important;
  background: rgba(232, 223, 209, 0.035) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

html body [data-mostm-app] .mostm-name-field:focus-within {
  border-color: var(--mostm-accent) !important;
  box-shadow: 0 0 0 3px rgba(199, 181, 151, 0.12) !important;
}

html body [data-mostm-app] .mostm-name-field input:focus-visible {
  outline: 0 !important;
}

html body [data-mostm-app] .mostm-recipe-summary span {
  color: rgba(247, 242, 233, 0.68);
  background: rgba(199, 181, 151, 0.09);
}

html body [data-mostm-app] .mostm-toast i,
html body [data-mostm-app] .mostm-toast i > svg {
  color: var(--mostm-accent-soft) !important;
}

html body [data-mostm-app] .mostm-editor__project small,
html body [data-mostm-app] .mostm-editor__categories button,
html body [data-mostm-app] .mostm-editor__toolbar button,
html body [data-mostm-app] .mostm-sheet__panel > header small,
html body [data-mostm-app] .mostm-sheet__panel output,
html body [data-mostm-app] .mostm-choice-grid > button small,
html body [data-mostm-app] .mostm-layer-list small,
html body [data-mostm-app] .mostm-name-field > span {
  color: rgba(255, 255, 255, 0.68) !important;
}

html body [data-mostm-app] .mostm-editor__toolbar button:not(.mostm-is-active) {
  color: rgba(255, 255, 255, 0.66) !important;
}

html body [data-mostm-app] .mostm-editor__toolbar button.mostm-is-active {
  color: #fff !important;
}

html body [data-mostm-app] .mostm-choice-grid > button:not(.mostm-is-active) {
  color: rgba(255, 255, 255, 0.68) !important;
}

/* Paper surfaces keep supporting copy readable without borrowing the host palette. */
html body [data-mostm-app] :is(
  .mostm-library__title-row p,
  .mostm-feature-card__copy small,
  .mostm-feature-card__copy > span,
  .mostm-section-heading > span,
  .mostm-category-rail button:not(.mostm-is-active),
  .mostm-recipe-card > small,
  .mostm-build-card small,
  .mostm-build-card > i
) {
  color: var(--mostm-muted) !important;
}

html body.brawus-v2 [data-mostm-app] .mostm-search-panel__box input::placeholder {
  color: var(--mostm-muted) !important;
  opacity: 1 !important;
}

@media (max-width: 420px) {
  html body [data-mostm-app] .mostm-editor {
    grid-template-rows: 58px minmax(0, 1fr) 148px 62px;
  }

  html body [data-mostm-app] .mostm-editor__controls {
    min-height: 148px;
    grid-template-rows: 44px 60px 44px;
  }

  html body [data-mostm-app] .mostm-editor__toolbar {
    min-height: 62px !important;
    height: 62px;
  }

  html body [data-mostm-app] .mostm-editor__toolbar > button[type="button"] {
    min-height: 62px !important;
    font-size: 8px !important;
  }

  html body [data-mostm-app] :is(
    [data-mostm-sheet="adjust"],
    [data-mostm-sheet="crop"],
    [data-mostm-sheet="fx"],
    [data-mostm-sheet="layers"]
  ) {
    bottom: 62px;
  }
}

/* ctl3 — the host control normalizer must not flatten the library search. */
html.brawus-v2-html body#body.brawus-v2 [data-mostm-app]
  button.mostm-icon-button[data-mostm-search] {
  flex: 0 0 44px !important;
  inline-size: 44px !important;
  min-inline-size: 44px !important;
  max-inline-size: 44px !important;
  block-size: 44px !important;
  min-block-size: 44px !important;
  max-block-size: 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
}
