/* The six questions share a photographic stage. Let tall forms grow the
   document so the action row follows the last choice, including on laptops. */
.desktop-scene {display:none}

@media (min-width:840px) and (forced-colors:none) {
  html[data-ds-page="creator"] body.creator-editing.scenic-guide:has(#designGuide[data-step]:not([hidden])) {
    --boulevard: url('/media/miami-night-boulevard-v1.webp');
    --night-panel: #11192e;
    --inset: clamp(20px, 2.8vw, 48px);
    height:auto;
    min-height:100dvh;
    overflow:auto;
    background:linear-gradient(180deg,#080b20c7,#12102f78 52%,#080c1dc4),
      var(--boulevard) center bottom / cover fixed!important;

    & > .ds-header {background:linear-gradient(110deg,#0b1429ef,#201533f2);border-bottom:1px solid #f48bc645}
    & > main.wrap {width:min(100%,1480px);flex:none;padding:clamp(18px,4vh,48px) clamp(18px,3vw,52px)}
    & .studio[data-phase="1"], & .studio[data-phase="1"] .controls, & #aiPane:not([hidden]) {
      flex:0 0 auto;height:auto;min-height:0;overflow:visible;background:transparent;
    }
    & #designGuide[data-step]:not([hidden]) {
      position:relative;isolation:isolate;display:grid;box-sizing:border-box;
      grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);
      grid-template-rows:minmax(var(--inset),1fr) repeat(6,auto) minmax(var(--inset),1fr);
      align-items:start;min-height:clamp(450px,68dvh,790px);flex:none;
      gap:0;padding:0;overflow:clip;border-radius:24px;border:1px solid #8faac262;
      background:linear-gradient(150deg,#17263c,var(--night-panel) 68%,#211830);
      box-shadow:0 24px 80px #03071b91;
      & .guide-tile:not([hidden]), & .guide-tile:not([hidden]) .question-pages {display:contents}
      & :is(.guide-head,.guide-question-heading,.guide-form,.guide-nav,:where(#reviewCreditState,#guideError)) {
        box-sizing:border-box;grid-column:2;width:auto;max-width:none;min-width:0;
        margin:0 var(--inset);padding-inline:0;align-self:start;
      }
      & .guide-head {grid-row:2;margin-bottom:20px;padding:0 0 14px;border-bottom:1px solid #86b8c440}
      & .guide-head strong {color:#b2f4e7}
      & #guideProgress {width:46%;height:6px}
      & #guideProgress::-webkit-progress-value {background:linear-gradient(90deg,#73e7de,#c4b0ff)}
      & .guide-question-heading {display:block;grid-row:3;margin-bottom:16px}
      & :is(h3,#promptLabel) {font-size:clamp(25px,2.25vw,40px);line-height:1.13}
      & .guide-intro {font-size:1rem;line-height:1.42}
      & .guide-form {grid-row:4;background:transparent}
      & #guideError {grid-row:5}
      & #reviewCreditState {grid-row:6;margin-top:12px;padding:12px 16px;border:1px solid #dfa8d452;border-radius:12px;background:#211d35;text-align:left}
      & .guide-nav {grid-row:7;padding:16px 0 0;margin-top:12px;border-top:1px solid #86b8c440;background:transparent}
      & :is(.guide-scene,.desktop-scene,:where(#inspirationSource:not([hidden]))) {
        grid-area:1/1/-1/2;align-self:stretch;justify-self:stretch;position:relative;
        display:grid;place-items:center;width:auto;max-width:none;height:auto;min-height:0;max-height:none;
        margin:0;padding:0;border-radius:0;overflow:hidden;mask-image:none;
        border-right:1px solid #b1c4dd45;
        background:linear-gradient(180deg,#170a3020,#0915320d 62%,#1a12355c),
          var(--boulevard) center / cover;
      }
      & .guide-scene > img {position:absolute;inset:0;width:92%;max-width:92%;height:88%;max-height:88%;margin:auto;object-fit:contain;object-position:center;filter:drop-shadow(0 8px 16px #0a0a2759)}
      & .guide-scene-idea {background-image:url('/media/entry-corgilla-v1.webp'),var(--boulevard);background-size:86% auto,cover;background-position:center;background-repeat:no-repeat}
      & .guide-scene-idea > img {inset:auto auto 6% 5%;width:45%;height:auto;max-height:22%;padding:4px;border:1px solid #f5bfe599;background:#192336;border-radius:8px;transform:rotate(-3deg)}
      & .desktop-scene-style {background-image:url('/media/entry-corgilla-v1.webp'),var(--boulevard);background-size:84% auto,cover;background-position:center;background-repeat:no-repeat}
      & .desktop-scene-colors {background-image:url('/media/reveal-sneaker.webp'),var(--boulevard);background-size:92% auto,cover;background-position:center;background-repeat:no-repeat}
      & .guide-scene figcaption {top:18px;left:18px;padding:5px 12px;border-radius:16px;background:#101b31dd;color:#d7f6f4}
      & #guideStyleSuggestions .style-tile-art {height:clamp(54px,9vh,104px);max-height:none}
      & #guideDetailSuggestions .hobby-tile-art {height:clamp(60px,10vh,112px)}
      & #inspirationSource:not([hidden]) {display:flex;flex-direction:column;justify-content:center;background-color:#121e30}
      & #expandInspiration {height:clamp(210px,54dvh,600px)}
    }
    &.inspiration-mode #designGuide[data-step="1"] .guide-scene-idea {display:none}
  }
}
