/* Book creator surface: the same warm, illustrated Lulla World language as the public pages. */
:root {
  --creator-cream: #fff5df;
  --creator-paper: #fffaf0;
  --creator-paper-bright: #fffdf7;
  --creator-ink: #3b5145;
  --creator-green: #566e59;
  --creator-green-soft: #dce8cc;
  --creator-coral: #d66e58;
  --creator-honey: #f1c96b;
  --creator-blue: #d8ebe5;
  --creator-lavender: #e9e0ed;
  --creator-line: rgba(78, 91, 61, 0.22);
  --creator-shadow: 0 12px 38px rgba(112, 84, 46, 0.08);
}

body.world-creator {
  min-width: 320px;
  color: var(--creator-ink);
  background:
    linear-gradient(90deg, rgba(255, 245, 223, 0.94), rgba(255, 245, 223, 0.82) 65%, rgba(255, 245, 223, 0.52)),
    url("/assets/lullashelf-dream-background.png") center bottom / cover fixed;
}

.world-creator main {
  overflow: hidden;
}

.world-creator h1,
.world-creator h2,
.world-creator h3,
.world-creator h4 {
  color: var(--creator-ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.world-creator p {
  color: #5d706f;
}

.creator-world-header {
  position: sticky;
  top: 0;
  background: rgba(255, 250, 240, 0.95);
  box-shadow: 0 8px 24px rgba(49, 72, 49, 0.06);
  backdrop-filter: blur(14px);
}

.creator-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin-left: auto;
}

.creator-header-tools .header-auth-link,
.creator-header-tools .header-account-summary button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--creator-green);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  background: #f4ecd5;
  border: 1px solid #bba978;
  border-radius: 999px;
}

.creator-header-tools .header-auth-link:hover,
.creator-header-tools .header-auth-link:focus-visible,
.creator-header-tools .header-account-summary button:hover,
.creator-header-tools .header-account-summary button:focus-visible {
  color: var(--creator-ink);
  background: var(--creator-honey);
}

.creator-header-tools .header-account-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667566;
  font-size: 11px;
}

.creator-header-tools .header-account-summary strong {
  max-width: 170px;
  overflow: hidden;
  color: var(--creator-ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-creator .world-release {
  background: #edf0dd;
}

.world-creator .world-release p {
  color: #39523c;
}

.world-creator .world-release strong {
  color: var(--creator-ink);
}

.world-creator .button,
.world-creator .creator-button {
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.world-creator .button:hover,
.world-creator .button:focus-visible,
.world-creator .creator-button:hover,
.world-creator .creator-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(39, 69, 45, 0.16);
}

.world-creator .button.primary,
.world-creator .creator-button {
  color: #fffdf7;
  background: var(--creator-green);
}

.world-creator .button.primary:hover,
.world-creator .button.primary:focus-visible,
.world-creator .creator-button:hover,
.world-creator .creator-button:focus-visible {
  background: #2f5233;
}

.world-creator .button.secondary {
  color: var(--creator-green);
  background: #fffaf0;
  border-color: #bcae83;
}

.app-download-strip {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto clamp(30px, 5vw, 60px);
  padding: clamp(18px, 3vw, 27px) clamp(20px, 4vw, 34px);
  background: linear-gradient(135deg, #3e623c, #567653);
  border: 1px solid rgba(28, 67, 35, 0.24);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(52, 71, 45, 0.16);
}

.app-download-strip .eyebrow {
  color: #f5db8b;
  font-size: 10px;
}

.app-download-strip h2,
.app-download-strip p:not(.eyebrow),
.app-download-strip-qr strong,
.app-download-strip-qr span {
  color: #fffaf0;
}

.app-download-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.app-download-strip p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.app-download-strip-actions {
  margin-top: 16px;
}

.app-download-strip .button.primary {
  color: var(--creator-ink);
  background: var(--creator-honey);
}

.app-download-strip .button.primary:hover,
.app-download-strip .button.primary:focus-visible {
  background: #f8d886;
}

.app-download-strip-link {
  color: #fffaf0;
}

.app-download-strip-qr {
  padding: 10px;
  background: rgba(255, 250, 240, 0.14);
  border-color: rgba(255, 250, 240, 0.24);
  border-radius: 15px;
}

.app-download-strip-qr img {
  width: 66px;
  height: 66px;
  border-radius: 6px;
}

.creator-section {
  padding: 20px clamp(14px, 4vw, 58px) 36px;
  background: transparent;
  scroll-margin-top: 90px;
}

.creator-builder-shell {
  max-width: 1280px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.creator-builder-shell-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  position: relative;
  min-height: 112px;
  margin: 0 8px 18px;
  padding: 4px 150px 4px 0;
}

.creator-welcome-lulla {
  display: none;
  flex: 0 0 auto;
  width: 64px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #d0c39e;
  border-radius: 32px 32px 18px 18px;
}

.creator-welcome-book {
  position: absolute;
  right: 0;
  top: -12px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(6deg);
  mask-image: radial-gradient(ellipse at center, #000 52%, transparent 73%);
  pointer-events: none;
}

.creator-builder-shell-heading h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
}

.creator-builder-shell-heading h1 em {
  color: #a15f48;
  font-weight: 400;
}

.creator-builder-shell-heading p {
  max-width: none;
  margin: 4px 0 0;
  color: #64736d;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
}

.creator-builder-shell-heading .creator-welcome-promise {
  margin-top: 2px;
  color: #74664b;
  font-size: 12px;
}

.creator-stepper {
  gap: 7px;
  padding: 0 0 12px;
  margin: 0 0 18px;
  border-bottom: 1px solid #b89a6250;
}

.creator-stepper button,
.creator-stepper-future {
  min-height: 52px;
  color: #64736d;
  font-size: 0.76rem;
  background: rgba(255, 250, 240, 0.38);
  border: 1px solid transparent;
  border-radius: 26px 17px 24px 15px;
  font-weight: 600;
}

.creator-stepper button:hover,
.creator-stepper button:focus-visible {
  color: var(--creator-ink);
  background: #f4ecd5;
}

.creator-stepper button > span,
.creator-stepper-future > span {
  width: 25px;
  height: 25px;
  color: var(--creator-ink);
  background: var(--creator-honey);
}

.creator-stepper button[aria-current="step"] {
  color: #344d39;
  background: #dce5cd;
  border-color: #afbf9d;
  box-shadow: 0 4px 12px rgba(62, 98, 60, 0.06);
}

.creator-stepper button[aria-current="step"] > span {
  color: var(--creator-green);
  background: #fffaf0;
}

.creator-stepper li.is-complete button {
  color: var(--creator-green);
  background: var(--creator-green-soft);
  border-color: #adc397;
}

.creator-wizard-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
}

.creator-panel {
  padding: clamp(16px, 2vw, 24px);
  background:
    linear-gradient(rgba(255, 251, 239, 0.93), rgba(255, 251, 239, 0.96)),
    url("/assets/lullashelf-dream-background.png") center top / 100% auto;
  border: 1px solid rgba(162, 125, 70, 0.26);
  border-radius: 14px 28px 19px 25px;
  box-shadow: var(--creator-shadow);
}

.creator-step {
  gap: 16px;
}

.creator-story-setup {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 18px;
}

/* Explain automatic titles only when that option is selected. */
.creator-story-setup > .field-group > .field-help {
  display: none;
}

.creator-story-setup > .field-group:has([data-ai-choice-for]:checked) > .field-help {
  display: block;
}

.workflow-heading {
  position: relative;
  gap: 5px;
  padding-bottom: 3px;
}

/* Small story companions sit in the paper margin, never over a control. */
.workflow-heading::after {
  content: "";
  position: absolute;
  top: -22px;
  right: 0;
  width: 68px;
  height: 68px;
  background: url("/assets/lullaworld-characters/pip.jpg") center / cover;
  mask-image: radial-gradient(ellipse, #000 45%, transparent 72%);
  pointer-events: none;
}

[data-creator-step="2"] .workflow-heading::after {
  background-image: url("/assets/lullaworld-characters/bunny-and-fern.jpg");
}

[data-creator-step="3"] .workflow-heading::after {
  background-image: url("/assets/lullaworld-characters/hazel.jpg");
}

[data-creator-step="4"] .workflow-heading::after {
  background-image: url("/assets/lullaworld-characters/toadstool.jpg");
}

.workflow-heading span {
  color: var(--creator-coral);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.workflow-heading h3 {
  padding-right: 76px;
  margin-bottom: 1px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.05;
  font-weight: 400;
}

.workflow-heading p {
  color: #667774;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}

.world-creator .creator-panel label {
  color: var(--creator-ink);
  font-size: 0.83rem;
  font-weight: 600;
}

.world-creator .creator-panel input:not([type="checkbox"]):not([type="radio"]),
.world-creator .creator-panel select,
.world-creator .creator-panel textarea,
.world-creator .storyboard-plan-editor input,
.world-creator .storyboard-plan-editor textarea,
.world-creator .storyboard-page-editor textarea,
.world-creator .storyboard-revision-field textarea {
  color: var(--creator-ink);
  background: var(--creator-paper-bright);
  border-color: #cdbf99;
  border-radius: 10px;
  font-weight: 400;
}

.world-creator .creator-panel input:not([type="checkbox"]):not([type="radio"]):focus,
.world-creator .creator-panel select:focus,
.world-creator .creator-panel textarea:focus,
.world-creator .storyboard-plan-editor input:focus,
.world-creator .storyboard-plan-editor textarea:focus,
.world-creator .storyboard-page-editor textarea:focus,
.world-creator .storyboard-revision-field textarea:focus {
  outline: 3px solid rgba(62, 98, 60, 0.17);
  border-color: var(--creator-green);
}

.world-creator .creator-panel input:not([type="checkbox"]):not([type="radio"]),
.world-creator .creator-panel select {
  min-height: 46px;
}

.world-creator .creator-panel textarea {
  padding: 13px;
  line-height: 1.48;
}

.world-creator .creator-panel input[type="checkbox"],
.world-creator .creator-panel input[type="radio"] {
  accent-color: var(--creator-green);
}

.field-help,
.shape-help {
  color: #708078;
  font-size: 0.76rem;
  line-height: 1.42;
}

.ai-choice {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  color: #718078 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
}

.creator-length-first,
.page-by-page-creator,
.reference-photo-priority-card,
.creator-format-guide {
  border-radius: 16px;
}

.creator-length-first {
  gap: 10px;
  padding: 10px;
  background: #f5ebd552;
  border-color: #d8c89d8c;
}

.creator-length-heading span,
.page-by-page-intro span,
.reference-photo-heading span,
.reference-style-balance-heading span {
  color: var(--creator-coral);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.creator-length-heading h4,
.page-by-page-intro h4,
.reference-photo-heading h4 {
  color: var(--creator-ink);
}

.creator-length-heading p,
.page-by-page-intro p,
.page-by-page-count-note span,
.reference-photo-section > p {
  color: #697872;
  font-size: 0.82rem;
}

.package-card-grid {
  gap: 9px;
}

.package-card {
  position: relative;
  min-height: 92px;
  gap: 5px;
  padding: 10px 6px;
  text-align: center;
  background: rgba(255, 253, 247, 0.92);
  border-color: #cbbb91;
  border-radius: 8px 13px 7px 12px;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.package-card:nth-child(2) { background: #edf1e4; }
.package-card:nth-child(3) { background: #f2e9ec; }

.package-card input {
  position: absolute;
  top: 7px;
  left: 6px;
  width: 13px;
  height: 13px;
}

.package-card span {
  padding-top: 14px;
  gap: 3px;
}

.package-card:hover,
.package-card:has(input:checked) {
  border-color: var(--creator-green);
  box-shadow: inset 0 0 0 2px rgba(62, 98, 60, 0.15), 0 7px 15px rgba(62, 98, 60, 0.1);
  transform: translateY(-1px);
}

.package-card small {
  color: #718078;
  line-height: 1.35;
}

.package-card b {
  color: var(--creator-green);
}

.package-card-popular {
  border-color: #c79c51;
  box-shadow: inset 0 0 0 1px rgba(199, 156, 81, 0.22);
}

.brief-mode-switch {
  gap: 7px;
  margin: 2px 0 4px;
}

.brief-mode-switch button {
  min-height: 51px;
  color: var(--creator-green);
  font-size: 0.78rem;
  background: #f5efe1;
  border-color: #cdbf99;
  border-radius: 18px 12px 17px 11px;
  font-weight: 600;
}

.brief-mode-switch button:hover,
.brief-mode-switch button:focus-visible {
  background: #eee4cb;
}

.brief-mode-switch button.active {
  color: #fffaf0;
  background: var(--creator-green);
  border-color: var(--creator-green);
}

.page-by-page-creator {
  padding: clamp(16px, 2.5vw, 24px);
  background: linear-gradient(145deg, rgba(216, 235, 229, 0.76), rgba(255, 253, 247, 0.95));
  border-color: #aacbc0;
}

.page-by-page-count-note {
  border-left-color: var(--creator-coral);
  background: rgba(255, 253, 247, 0.76);
}

.page-by-page-card {
  padding: 13px;
  background: rgba(255, 253, 247, 0.93);
  border-color: #cdbf99;
  border-radius: 12px;
}

.theme-picture-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.theme-picture-grid-featured {
  margin-top: 3px;
}

.theme-picture-grid > p {
  color: var(--creator-green);
  font-size: 0.83rem;
}

.theme-picture-grid button {
  min-height: 139px;
  padding: 7px;
  color: var(--creator-ink);
  font-size: 0.73rem;
  background: #fffaf0;
  border-color: #cbbb91;
  border-radius: 12px;
}

.theme-picture-grid button:hover,
.theme-picture-grid button:focus-visible,
.theme-picture-grid button.active {
  border-color: var(--creator-green);
  box-shadow: 0 0 0 2px rgba(62, 98, 60, 0.18), 0 8px 16px rgba(62, 98, 60, 0.1);
}

.theme-picture-grid img {
  border-radius: 8px;
}

.theme-custom-option {
  background: linear-gradient(135deg, rgba(241, 201, 107, 0.4), rgba(233, 224, 237, 0.64)) !important;
  border-style: dashed !important;
}

.more-style-options,
.creator-optional-section,
.storyboard-page-plan {
  background: rgba(255, 253, 247, 0.74);
  border-color: #d0c39e;
  border-radius: 13px;
}

.creator-optional-section > summary,
.storyboard-page-plan > summary {
  color: var(--creator-green);
}

.reference-photo-priority-card {
  padding: clamp(17px, 2.5vw, 24px);
  background: linear-gradient(145deg, #fff8e7, #f7f0da);
  border: 1px solid #d3ad62;
  box-shadow: 0 10px 24px rgba(99, 76, 34, 0.08);
}

.reference-photo-heading > strong {
  color: var(--creator-ink);
  background: var(--creator-honey);
}

.reference-priority-points li,
.reference-choice-grid label,
.reference-image-notes article,
.output-options label,
.creator-consent-plain {
  background: rgba(255, 253, 247, 0.88);
  border-color: #d0c39e;
  border-radius: 11px;
}

.reference-priority-points b {
  color: #fffaf0;
  background: var(--creator-coral);
}

.reference-choice-grid label:has(input:checked) {
  border-color: var(--creator-green);
  box-shadow: inset 0 0 0 1px rgba(62, 98, 60, 0.18);
}

.reference-photo-priority-card .image-upload-box {
  background: rgba(216, 235, 229, 0.5);
  border-color: #8ab5a8;
  border-radius: 11px;
}

.reference-style-balance {
  background: linear-gradient(145deg, rgba(216, 235, 229, 0.65), rgba(255, 253, 247, 0.96));
  border-color: #aacbc0;
  border-radius: 14px;
}

.creator-panel .reference-style-slider::-webkit-slider-runnable-track,
.creator-panel .reference-style-slider::-moz-range-track {
  background: linear-gradient(90deg, var(--creator-coral), var(--creator-honey) 50%, var(--creator-green));
}

.creator-panel .reference-style-slider::-webkit-slider-thumb,
.creator-panel .reference-style-slider::-moz-range-thumb {
  border-color: var(--creator-green);
}

.reference-style-output {
  background: rgba(255, 253, 247, 0.9);
  border-color: #d0c39e;
  border-radius: 10px;
}

.creator-format-guide {
  padding: clamp(16px, 2.5vw, 23px);
  background: linear-gradient(135deg, rgba(216, 235, 229, 0.72), rgba(255, 253, 247, 0.97));
  border: 1px solid #aacbc0;
}

.creator-format-icon {
  color: #fffaf0;
  background: var(--creator-green);
  border-radius: 12px;
}

.creator-format-guide > p,
.creator-format-warning span {
  color: #526c68;
}

.creator-format-warning {
  border-left-color: var(--creator-honey);
  background: rgba(241, 201, 107, 0.25);
}

.output-options label > b,
.creator-price-summary > div strong {
  color: var(--creator-green);
}

.price-box {
  background: #f7f0da;
  border-color: #d8c89d;
  border-radius: 14px;
}

.creator-price-summary > div strong {
  font-size: 1.8rem;
}

.promo-code-status[data-tone="success"] {
  color: var(--creator-green);
}

.creator-step-actions,
.storyboard-decision-actions {
  gap: 9px;
}

.creator-step-actions .button,
.creator-step-actions .creator-button,
.storyboard-decision-actions .button,
.storyboard-decision-actions .creator-button {
  border-radius: 12px;
}

.creator-journey-card {
  top: 84px;
  gap: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.creator-world-invitation {
  margin: -18px 0 0;
  text-align: center;
}

.creator-world-portrait {
  position: relative;
  height: 280px;
  margin: 0 auto;
  max-width: 270px;
}

.creator-world-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 43%, transparent 72%);
}

.creator-lantern-glow {
  position: absolute;
  left: 32%;
  top: 67%;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd16c80, #ffd16c00 70%);
  pointer-events: none;
  animation: creator-lantern-welcome 4s ease-out both;
}

@keyframes creator-lantern-welcome {
  0%, 100% { opacity: 0.35; }
  45% { opacity: 1; }
}

.creator-world-invitation figcaption strong {
  color: #526449;
  font: 400 29px/1.12 Georgia, serif;
  letter-spacing: -0.03em;
}

.creator-world-invitation figcaption {
  position: relative;
  isolation: isolate;
}

.creator-world-invitation figcaption::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14px -10px;
  background: #fff6e1e8;
  border-radius: 45%;
  filter: blur(14px);
  pointer-events: none;
}

.creator-world-invitation figcaption p {
  max-width: 280px;
  margin: 12px auto 0;
  color: #726a55;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
}

.creator-world-friends {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.creator-world-friends img {
  width: 64px;
  height: 74px;
  object-fit: cover;
  border: 3px solid #fff3da;
  border-radius: 48% 48% 38% 38%;
  box-shadow: 0 3px 8px #775c3420;
  transform: rotate(-5deg);
}

.creator-world-friends img:nth-child(even) {
  margin-top: 9px;
  transform: rotate(5deg);
}

.creator-world-closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 800px;
  margin: 34px auto 0;
}

.creator-world-closing img {
  display: block;
  width: 330px;
  height: 186px;
  object-fit: cover;
  border-radius: 46% 48% 14px 18px;
  border: 5px solid #fff4dd;
  box-shadow: 0 7px 20px #76593416;
}

.creator-world-closing p {
  color: #726a55;
  font: 400 19px/1.65 Georgia, serif;
}

.creator-world-closing em {
  color: #925d45;
}

.creator-guide-link {
  color: var(--creator-green);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.creator-plan-promise {
  gap: 10px;
  padding: 20px;
  background: rgba(255, 247, 227, 0.85);
  border: 1px solid #bca57366;
  border-radius: 9px 22px 14px 18px;
  box-shadow: none;
}

.creator-plan-promise > span {
  padding: 0;
  color: #84633c;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
}

.creator-plan-promise strong {
  color: var(--creator-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 23px;
}

.creator-plan-promise p {
  color: #726a55;
  font-size: 13px;
  font-weight: 400;
}

.creator-journey-list li {
  padding: 10px 4px;
  background: rgba(255, 247, 227, 0.85);
  border: 0;
  border-bottom: 1px solid #bca57344;
  border-radius: 0;
}

.creator-journey-list li > span {
  color: var(--creator-green);
  background: var(--creator-honey);
}

.creator-journey-list small {
  color: #6d7a72;
  font-weight: 400;
}

.storyboard-preview-panel {
  padding: 0;
  background: rgba(255, 253, 247, 0.82);
  border-color: #cdbf99;
  border-radius: 17px;
}

.storyboard-preview-header {
  background: linear-gradient(135deg, var(--creator-green), #557751);
  border-radius: 15px 15px 7px 7px;
}

.storyboard-preview-header span {
  color: var(--creator-honey);
}

.storyboard-preview-facts li,
.storyboard-preview-section,
.storyboard-continuity > div,
.storyboard-page-card {
  background: rgba(255, 253, 247, 0.9);
  border-color: #d0c39e;
}

.storyboard-page-plan-heading {
  background: #f7f0da;
  border-color: #d8c89d;
}

.storyboard-page-illustration {
  background: rgba(216, 235, 229, 0.34);
}

.creator-account-gate,
.creator-working-overlay {
  background: rgba(20, 54, 58, 0.66);
}

.creator-account-gate-card,
.creator-working-card {
  background: var(--creator-paper);
  border: 1px solid #cdbf99;
  border-radius: 22px;
}

.creator-account-gate-close {
  color: var(--creator-green);
  background: var(--creator-paper-bright);
  border-color: #cdbf99;
}

.creator-working-spinner {
  border-color: rgba(62, 98, 60, 0.2);
  border-top-color: var(--creator-green);
}

.creator-working-safety {
  background: var(--creator-blue);
  border-color: #aacbc0;
}

.creator-working-safety > span {
  background: var(--creator-green);
}

.creator-policy-section {
  padding-block: clamp(28px, 5vw, 58px);
  background: rgba(245, 238, 216, 0.66);
}

.creator-policy-notice {
  background: rgba(255, 253, 247, 0.78);
  border-color: #d3ad62;
  border-left-color: var(--creator-coral);
  border-radius: 17px;
}

.creator-policy-notice strong {
  color: var(--creator-ink);
}

.creator-policy-notice p {
  color: #667671;
}

.how-section {
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.72), rgba(233, 224, 237, 0.42));
}

.how-list li {
  background: rgba(255, 253, 247, 0.86);
  border-color: #d0c39e;
  border-radius: 14px;
}

.how-list li > span {
  color: var(--creator-green);
  background: var(--creator-honey);
}

.world-creator > footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px 18px 32px;
  text-align: center;
  background: rgba(255, 250, 240, 0.86);
}

.world-creator > footer img {
  width: min(260px, 70vw);
}

.world-creator > footer p {
  margin: 3px 0;
}

.world-creator > footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 16px;
  margin-top: 11px;
  color: #6e786a;
  font-size: 10px;
}

.world-creator > footer nav a {
  text-decoration: none;
}

.world-creator > footer nav a:hover,
.world-creator > footer nav a:focus-visible {
  color: var(--creator-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1000px) {
  .creator-header-tools .header-account-summary strong {
    max-width: 130px;
  }
}

@media (max-width: 900px) {
  .creator-wizard-layout {
    grid-template-columns: 1fr;
  }

  .creator-journey-card {
    display: none;
  }

  .creator-welcome-lulla {
    display: block;
    width: 94px;
    height: 118px;
    order: 2;
    border: 0;
    border-radius: 0;
    mix-blend-mode: multiply;
    mask-image: radial-gradient(ellipse, #000 42%, transparent 72%);
  }

  .creator-builder-shell-heading {
    justify-content: space-between;
    padding: 0;
  }

  .creator-welcome-book {
    display: none;
  }
}

@media (max-width: 720px) {
  .creator-world-header {
    gap: 8px;
  }

  .creator-header-tools {
    order: 2;
  }

  .creator-header-tools .header-auth-link,
  .creator-header-tools .header-account-summary button {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .creator-header-tools .header-account-summary {
    gap: 5px;
  }

  .creator-header-tools .header-account-summary > span,
  .creator-header-tools .header-account-summary strong {
    display: none;
  }

  .creator-header-tools .header-account-summary button {
    display: inline-flex !important;
  }

  .app-download-strip {
    width: calc(100% - 28px);
    border-radius: 18px;
  }

  .creator-section {
    padding: 12px 10px 32px;
  }

  .creator-builder-shell {
    padding: 0;
  }

  .creator-builder-shell-heading {
    gap: 0;
    margin: 0 4px 14px;
    min-height: 118px;
    padding: 0;
  }

  .creator-welcome-lulla {
    width: 85px;
    height: 110px;
  }

  .creator-builder-shell-heading h1 {
    max-width: 300px;
    font-size: clamp(1.7rem, 6.5vw, 2.2rem);
    line-height: 1.08;
  }

  .creator-builder-shell-heading p {
    font-size: 12px;
    line-height: 1.4;
  }

  .creator-builder-shell-heading .creator-welcome-promise {
    font-size: 10px;
  }

  .creator-story-setup {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brief-mode-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brief-mode-switch button {
    min-height: 56px;
    padding: 7px 4px;
    font-size: 11px;
    line-height: 1.3;
  }

  .brief-mode-switch button small {
    font-size: 9px;
  }

  .creator-stepper {
    top: 52px;
    margin-inline: -1px;
    padding: 7px 1px;
    background: rgba(255, 247, 228, 0.85);
    border-block: 1px solid rgba(126, 109, 67, 0.12);
    margin-bottom: 12px;
  }

  .creator-stepper button,
  .creator-stepper-future {
    min-height: 47px;
    font-size: 0.62rem;
  }

  .creator-stepper button > span,
  .creator-stepper-future > span {
    width: 21px;
    height: 21px;
    font-size: 0.7rem;
  }

  .creator-panel {
    padding: 14px;
    border-radius: 10px 22px 17px 20px;
  }

  .workflow-heading > span {
    display: none;
  }

  .workflow-heading::after {
    top: -26px;
    width: 58px;
    height: 58px;
  }

  .workflow-heading h3 {
    padding-right: 62px;
  }

  .creator-step {
    gap: 12px;
  }

  .creator-length-heading p {
    font-size: 11px;
  }

  .creator-world-closing {
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
    text-align: center;
  }

  .creator-world-closing img {
    width: min(100%, 380px);
    height: auto;
  }

.creator-world-closing p {
    margin: 0;
    font-size: 17px;
  }

  .theme-picture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-picture-grid button {
    min-height: 132px;
  }

  .creator-step-actions {
    margin-inline: -4px;
    padding: 7px;
    background: rgba(255, 250, 240, 0.96);
    border-color: #d0c39e;
    border-radius: 11px;
  }

  .world-creator > footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .app-download-strip-actions {
    display: grid;
  }

  .app-download-strip .button,
  .app-download-strip-link {
    width: 100%;
    text-align: center;
  }

  .reference-photo-heading {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creator-lantern-glow {
    animation: none;
  }

  .world-creator .button,
  .world-creator .creator-button,
  .package-card {
    transition: none;
  }
}
