/* SimmerNote creator and app explanation — website-20261203-mobile-preview-r4. */

.sn-how-app { position: relative; }
.sn-anchor-alias { position: absolute; top: 0; }
.sn-how-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  max-width: 1060px;
}
.sn-how-app-copy { max-width: 560px; }
.sn-how-app .sn-how-app-copy h2 {
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.15;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.sn-how-app-copy > p {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.7;
  color: #606974;
  max-width: 460px;
}
.sn-how-app-copy > .button { margin-top: 30px; min-width: 180px; font-size: 18px; }
.sn-how-app-copy > .sn-how-appeal { max-width: 460px; margin-top: 32px; font-size: 18px; line-height: 1.75; color: #606974; }
.sn-how-app-example { margin: 0; min-width: 0; width: 100%; }
.sn-how-app-example .sn-app-showcase-phone { width: 100%; }

#create .creator-heading { display: block; max-width: 790px; margin-bottom: 36px; }
#create .creator-heading h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.2; }
#create .creator-lead { margin-top: 16px; font-size: 20px; line-height: 1.65; color: #665c53; }
#create .no-signup { margin-top: 10px; font-size: 16px !important; }
#create .creator-grid { align-items: start; }
#create .form-fields { padding-top: 0; }
#create .form-fields textarea { font-size: 18px; }
#create .creator-name-input {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #d7c7b5;
  border-radius: 7px;
  background: #fffefa;
  color: #182538;
  font: inherit;
  font-size: 18px;
}
#create .creator-name-input:focus { outline: 2px solid #e57248; outline-offset: 2px; }
#create .creator-name-input[readonly] { color: #6e6257; }
#create .creator-name-input[aria-invalid="true"] { border-color: #b44029; }
#themes .theme-gift { background: #391421; }
#themes .theme-gift-art {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1.3;
  height: auto;
  background: #391421 url('/_sn_site/assets/creator/gift-scene.webp') center / cover no-repeat;
}
#themes .theme-gift-art .theme-card-image {
  position: absolute;
  inset: 16px 22px 0;
  display: block;
  width: calc(100% - 44px);
  height: calc(100% - 16px);
  max-height: none;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 601px) and (max-width: 800px) {
  #themes .theme-gift-art { aspect-ratio: auto; min-height: 280px; align-self: stretch; }
}
#themes .theme-gift .theme-card-copy { background: #fffaf3; }
#create .timing-note { display: block; margin-top: 0; margin-bottom: 22px; font-size: 16px; line-height: 1.7; }
#create .create-button { min-height: 56px; font-size: 18px; white-space: normal; }
#create .form-footnote { margin-top: 12px; font-size: 15px; }
#create .preview-column { padding-top: 0; }
#create .sealed-note-example { margin: 0; }
#create .sealed-note-example .sealed-envelope-art { margin-bottom: 10px; }
#create .creator-app-note h3 { font-size: 25px; }
#create .creator-app-note p { font-size: 18px; }
#create #preview-again[hidden] { display: none !important; }

/* The modal contains a sandboxed, separate preview. Its own document handles
   the note's theme; these rules only lay out the surrounding creator controls. */
#creator-preview {
  width: min(560px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #ddc8b1;
  border-radius: 20px;
  background: #fffaf3;
  color: #182538;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
#creator-preview::backdrop { background: #041220c9; backdrop-filter: blur(6px); }
#creator-preview [hidden] { display: none !important; }
.creator-preview-header {
  position: relative;
  top: auto;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px 12px;
  border-bottom: 1px solid #e7d8c6;
  background: #fffaf3;
}
.creator-preview-header > div { min-width: 0; }
.creator-preview-header h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; }
.creator-preview-header p { font-size: 14px; line-height: 1.4; color: #6e6257; margin-top: 5px; }
.creator-preview-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #ddc8b1;
  border-radius: 50%;
  background: #fffdf8;
  color: #46392c;
}
.creator-preview-close .icon { width: 20px; height: 20px; }
.creator-preview-body { padding: 12px 20px 16px; }
.creator-preview-frame-wrap {
  position: relative;
  width: 360px;
  height: 700px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: #061522;
  box-shadow: 0 3px 18px #0615221a;
}
#preview-frame {
  display: block;
  border: 0;
  position: absolute;
  inset: 0 auto auto 0;
  width: 360px;
  max-width: none;
  height: 700px;
  transform-origin: top left;
  background: #061522;
}
.creator-preview-status { font-size: 15px; line-height: 1.6; color: #665746; text-align: center; }
#preview-loading { margin-bottom: 14px; }
.creator-preview-controls { max-width: 380px; margin: 16px auto 0; }
.creator-preview-quick-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.creator-preview-quick-actions .button { min-height: 44px; padding: 10px 16px; font-size: 16px; }
.creator-preview-quick-actions .text-button { min-height: 44px; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
#creator-preview .button-outline { background: #fff8ef; color: #91452b; border: 1px solid #d8bca0; }
.creator-preview-feedback { font-size: 16px; line-height: 1.65; color: #873e27; margin: 18px 0 0; }
.creator-preview-actions {
  position: relative;
  bottom: auto;
  z-index: 3;
  display: flex;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid #e7d8c6;
  background: #fffaf3;
  box-shadow: 0 -5px 18px #1d120608;
}
.creator-preview-actions .button { flex: 1; font-size: 16px; min-height: 50px; white-space: normal; padding: 12px 16px; }

@media (max-width: 800px) {
  .sn-how-app-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .sn-how-app-copy { max-width: 600px; margin: 0 auto; text-align: center; }
  .sn-how-app-copy > p { margin-inline: auto; }
  .sn-how-app-example { max-width: 350px; margin: 0 auto; }
  #create .creator-heading { margin-bottom: 30px; }
}
@media (max-width: 540px) {
  .sn-how-app .sn-how-app-copy h2 { font-size: 36px; }
  .sn-how-app-copy > p { margin-top: 18px; font-size: 18px; }
  .sn-how-app-copy > .button { margin-top: 24px; font-size: 17px; }
  .sn-how-app-example { max-width: 330px; }
  #create .creator-heading h2 { font-size: 36px; }
  #create .creator-lead { font-size: 18px; }
  #create .form-fields textarea { font-size: 17px; }
  #create .create-button { font-size: 17px; }
  #creator-preview { width: calc(100vw - 16px); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
  .creator-preview-header { padding: 10px 12px; gap: 8px; align-items: center; }
  .creator-preview-header h2 { font-size: 20px; line-height: 1.2; }
  .creator-preview-header p { font-size: 12px; margin-top: 4px; }
  .creator-preview-body { padding: 8px 12px 14px; }
  .creator-preview-frame-wrap { border-radius: 10px; }
  .creator-preview-quick-actions { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .creator-preview-actions { padding: 12px 14px max(12px, env(safe-area-inset-bottom)); flex-direction: column; gap: 8px; }
  .creator-preview-actions .button { flex: none; min-height: 46px; padding: 10px 14px; }
}
@media (max-width: 360px) {
  .sn-how-app .sn-how-app-copy h2, #create .creator-heading h2 { font-size: 32px; }
  .creator-preview-header h2 { font-size: 18px; }
}

/* The entire native note is uniformly fitted by creator-app-v3.js. Only this
   dialog scrolls; the action buttons remain below the complete note. */
#creator-preview { scrollbar-gutter: auto; overflow-anchor: none; }
#creator-preview .creator-preview-header,
#creator-preview .creator-preview-actions { flex-shrink: 0; }
