/* The same warm paper, stitched bookmarks and Lulla companion throughout. */
.world-creator .is-reviewing .creator-stepper { max-width: 660px; margin: 18px auto 24px; }
.world-creator .is-reviewing .creator-builder-shell-heading { text-align: center; }
.world-creator .is-reviewing [data-creator-step="4"],
.world-creator .creator-finish { width: min(940px, 100%); margin: auto; padding: clamp(18px, 4vw, 42px); border: 1px solid #d5c29d; border-radius: 16px 32px 32px 16px; background: linear-gradient(90deg, #eadeca, #fff8e9 22px, #fffaf0); box-shadow: 0 6px #e4d5b9, 0 18px 50px #63491e12; }
.world-creator .is-reviewing .workflow-heading { padding: 0; margin: 0 0 20px; }
.world-creator .is-reviewing .workflow-heading h3 { font: 34px/1.15 Georgia, serif; color: #3b503b; }
.world-creator .is-reviewing .workflow-heading p { max-width: 620px; line-height: 1.6; }
.draft-welcome { display: flex; align-items: center; gap: 16px; padding: 14px 20px; margin-bottom: 22px; background: #edf0df; border-radius: 16px; color: #44513b; }
.draft-welcome img { width: 70px; height: 85px; object-fit: cover; border-radius: 35px 35px 12px 12px; }
.draft-welcome p { margin: 0; font-size: 14px; line-height: 1.6; }
.world-creator .storyboard-preview-panel { background: none; border: 0; padding: 0; gap: 22px; }
.world-creator .storyboard-preview-header h3 { font: 30px/1.2 Georgia, serif; }
.world-creator .storyboard-title-workshop { padding: 20px; background: #f5ead4; border: 1px solid #dcc9a5; border-radius: 14px; }
.world-creator .storyboard-title-workshop h4 { font: 22px/1.25 Georgia, serif; }
.world-creator .storyboard-title-workshop input { background: #fffdf6; font: 20px/1.4 Georgia, serif; }
.world-creator .storyboard-preview-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.world-creator .storyboard-preview-facts li { flex: 1 1 130px; padding: 12px; border-radius: 12px; background: #eeefdf; }
.world-creator .storyboard-preview-facts strong { font-size: 13px; }
.world-creator .storyboard-quick-plan { padding: 0; border: 0; background: none; }
.draft-page-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.world-creator .draft-page-tabs button { min-width: 42px; min-height: 44px; padding: 8px 12px; border: 1px solid #bdac88; border-radius: 10px 10px 0 0; background: #e6dfca; color: #43513c; }
.world-creator .draft-page-tabs [aria-pressed="true"] { background: #e8bd6f; border-color: #9c793e; font-weight: bold; box-shadow: inset 0 0 0 3px #f4daa7; }
.world-creator [data-preview-pages-quick] { display: block; padding: 0; margin: 0; }
.world-creator .storyboard-quick-page { padding: clamp(20px, 4vw, 36px); border: 1px solid #cbb791; border-radius: 0 16px 16px 16px; background: #fffdf7; box-shadow: 0 4px #e6d9bf; min-height: 280px; }
.world-creator .storyboard-quick-page[hidden] { display: none !important; }
.world-creator .storyboard-quick-words { font: 25px/1.6 Georgia, serif; color: #3e4d39; margin: 20px 0; }
.world-creator .storyboard-quick-picture { padding: 14px 16px; border-radius: 10px; background: #f0eddf; line-height: 1.65; font-size: 14px; }
.world-creator .storyboard-quick-page label { display: grid; gap: 8px; font-size: 13px; margin-top: 18px; }
.world-creator .storyboard-quick-page textarea { min-height: 100px; background: #fffcf5; font-size: 16px; }
.draft-page-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.draft-page-navigation span { font-size: 13px; text-align: center; }
.world-creator .draft-page-navigation button { min-height: 44px; font-size: 13px; }
.draft-state-note { color: #506547; font-size: 14px; line-height: 1.6; }
.world-creator .storyboard-decision-actions { position: sticky; bottom: 12px; z-index: 3; padding: 12px; border: 1px solid #d6c7a8; border-radius: 16px; background: #fff7e9f5; box-shadow: 0 5px 22px #53452420; }
.world-creator .storyboard-revision-field { margin-top: 18px; }
.world-creator .storyboard-detailed-plan { padding: 18px; background: #f2eadb; border-radius: 12px; }
.draft-checkout-summary { padding: 24px; margin: 16px 0 22px; border-radius: 18px; background: #edf0df; }
.world-creator .draft-checkout-summary h3 { font: 28px/1.3 Georgia, serif; }
.draft-checkout-summary > strong { display: block; font-size: 20px; margin-top: 20px; }
.world-creator .creator-finish .promo-code-section { background: #f5ead4; padding: 20px; border: 1px solid #d5c29d; border-radius: 16px; }
.world-creator .creator-finish .creator-step-actions { margin-top: 24px; }
.creator-working-overlay, .creator-account-gate { background: #35422f99; backdrop-filter: blur(6px); }
.creator-working-card, .creator-account-gate-card { border: 2px solid #d4bf98; border-radius: 24px; background: #fff8e8; box-shadow: 0 7px #d7c5a4, 0 24px 80px #28332355; color: #3c503c; }
.creator-working-card { position: relative; padding: 28px; width: min(500px, calc(100vw - 32px)); }
.creator-working-card h2, .creator-account-gate-card h2 { font: 30px/1.2 Georgia, serif; color: #3c503c; }
.creator-working-card .journey-lulla { display: block; margin: 0 auto 12px; width: 100px; height: 120px; object-fit: cover; border-radius: 50px 50px 18px 18px; }
.creator-working-safety { background: #e9efdc; border: 1px solid #c4d0b0; border-radius: 14px; }
.creator-working-spinner { width: 24px; height: 24px; border-color: #ded1b5; border-top-color: #627c4a; }
.book-journey-page .generation-ready-card { background: #f5ead4; border: 1px solid #d4bf98; box-shadow: 0 4px #e0d0ae; }
.book-journey-page .creator-download { background: #526b48; border-radius: 12px; color: #fffdf4; }
.book-journey-page .secondary-download { background: #edce8c; color: #394d35; }
@media (max-width: 600px) {
  .world-creator .is-reviewing .workflow-heading h3 { font-size: 28px; }
  .world-creator .storyboard-quick-words { font-size: 22px; }
  .world-creator .storyboard-decision-actions { position: static; display: grid; }
  .draft-page-navigation { flex-wrap: wrap; }
  .draft-page-navigation span { order: -1; flex-basis: 100%; }
  .draft-welcome { padding: 12px; gap: 10px; }
}

/* The help tour adds no overlay and leaves each real control available. */
.creator-tour-start { min-height: 44px; background: transparent; text-decoration: underline; }
.creator-tour-target { outline: 3px dashed #79603d !important; outline-offset: 5px; scroll-margin: 28px; }
.creator-tour-card { position: fixed; z-index: 90; width: min(350px, calc(100vw - 32px)); padding: 18px; border: 2px solid #79603d; border-radius: 16px; background: #fff8e8; color: #394d35; box-shadow: 0 8px 30px #394d3526; box-sizing: border-box; }
.creator-tour-card h2 { font: bold 18px/1.3 Georgia, serif; margin: 0 0 10px; }
.creator-tour-card p { font: 14px/1.5 sans-serif; }
.creator-tour-card > div { display: flex; flex-wrap: wrap; gap: 8px; }
.creator-tour-card button { min-height: 44px; padding: 8px 12px; }
.world-creator :focus-visible { outline: 3px solid #5b693d; outline-offset: 3px; }
.world-creator .draft-page-tabs { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; padding: 5px 3px; }
.world-creator .draft-page-tabs button { flex: 0 0 auto; }
.world-creator .creator-panel, .world-creator .storyboard-preview, .world-creator .creator-step { min-width: 0; }
@media (max-width: 600px) {
  .creator-tour-card { position: relative; inset: auto !important; width: 100%; margin: 18px 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .world-creator *, .world-creator *::before, .world-creator *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* The generation footer must wrap instead of squeezing links off a phone. */
.book-journey-page .world-footer { flex-wrap: wrap; padding: 20px 16px; }
.book-journey-page .world-footer > img { width: 140px; max-width: 100%; height: auto; }
.book-journey-page .world-footer nav { flex-wrap: wrap; justify-content: center; }
.book-journey-page .world-footer a { display: inline-flex; align-items: center; min-height: 44px; }
