/* THE REVEAL'S ONE BROUGHT FORWARD, ITS EDIT AND ITS LEAVING (creator-flow-lift.js; moved out of creator-flow.css to keep
   each file short): its layer, its edit panel (the creator's own parts), its footer, its card's light */
/* ONE BROUGHT FORWARD (creator-flow-lift.js): on the page's body, the page dimmed a little behind it; its sheet from the top,
   scrolled within */
.gcf__lift { position: fixed; inset: 0; z-index: calc(var(--g-z-head, 50) + 10); display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: var(--g-5); overflow: auto; overscroll-behavior: contain; padding: calc(var(--g-head-h, 64px) + var(--g-5)) var(--g-5) var(--g-bottomfoot-h, 136px); box-sizing: border-box; background: rgb(0 0 0 / 0); transition: background .5s ease; }   /* the whole screen its surface, scrolling under its footer */
.gcf__lift.is-on { background: rgb(0 0 0 / .55); }
.gcf__lift[hidden] { display: none; }
.gcf__lift[data-face="sheet"] { justify-content: flex-start; }
.gcf__liftbox { transform-origin: 0 0; }   /* moved from its tile by its own corner (creator-flow-lift.js flip) */
.gcf__liftrow { display: flex; align-items: center; justify-content: center; gap: var(--g-7); width: 100%; }
/* EDIT (Maayan, 2026-11-23): it at the left, its edit panel (the creator's own part) fading in at its right */
.gcf__liftpanel { display: none; }
.gcf__lift.is-edit .gcf__liftrow { align-items: flex-start; }
.gcf__lift.is-edit .gcf__liftpanel { display: block; flex: 0 1 560px; min-width: 0; animation: gcf-panel-in .5s ease-out .3s both; }
/* no panel behind it (Maayan, 2026-11-23: "remove the background on the right side"): the creator's parts bare */
.gcf__liftpanel .g-fold { background: none; border: 0; box-shadow: none; padding-inline: 0; }
@keyframes gcf-panel-in { from { opacity: 0; } }
/* its sheet: "Tap to edit" above it, white, the sheet's own hand (Maayan, 2026-11-23) */
.gcf__lifthint { display: none; margin: 0; color: #fff; font: 400 24px/1.2 "Patrick Hand", cursive; }
.gcf__lift[data-face="sheet"] .gcf__lifthint { display: block; margin-top: var(--g-8, 64px); }   /* the sheet a bit lower (Maayan, 2026-11-23) */
/* under it: Edit and Close (never CTAs); while written on: Save and Cancel held at the foot, black there fading up */
.gcf__liftdo { display: flex; justify-content: center; gap: var(--g-3); }
.gcf__liftdo, .gcf__lift [data-gcf-liftsave] { opacity: 0; transition: opacity .3s ease .3s; }
.gcf__lift.is-on :is(.gcf__liftdo, [data-gcf-liftsave]) { opacity: 1; }
.gcf__liftdo .g-btn { min-width: 180px; }
/* while written on: Save and Cancel in the kit's bottom sticky footer (BottomStickyFooter.astro) */
.gcf__lift:not([data-face="sheet"], .is-edit) [data-gcf-liftsave] { display: none; }
.gcf__lift:is([data-face="sheet"], .is-edit) .gcf__liftdo { display: none; }
/* its card's edit panel (Maayan's mock, 2026-11-23) */
.gcf__cardedit { display: grid; gap: var(--g-5); }
.gcf__cardedit[hidden] { display: none; }   /* put away: never under another one's view */
.gcf__cerow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--g-5); align-items: end; }
.gcf__cerow--top { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: var(--g-3); }
.gcf__ceitem { display: grid; gap: var(--g-2); justify-items: start; }
.gcf__ceitem > .g-field__label { color: var(--g-text-2); }
.gcf__cardedit .g-field { margin: 0; }
.gcf__cardedit .g-field__input { background: rgb(255 255 255 / .1); }
.gcf__cerule { width: 100%; margin: 0; border: 0; border-top: 1px solid rgb(255 255 255 / .14); }
.gcf__cardedit [data-ce="rows"] { width: 100%; }
/* its rows, then Add another row, then its one special (Maayan, 2026-11-23: "only one": no Add special once it has it) */
.gcf__cardedit .gc-rows { display: flex; flex-direction: column; }
.gcf__cardedit .gc-rows__list { order: 1; } .gcf__cardedit .gc-rows__add { order: 2; } .gcf__cardedit [data-gc-special] { order: 3; }
.gcf__cardedit .gc-rows:has([data-gc-special]:not([hidden])) [data-gc-special-add] { display: none; }
/* its Save growl, Edit and Start over: a moment after the three are in, rising in from below (Maayan, 2026-11-23) */
/* its foot (the kit's bottomStickyFooter): Save growl, Start over under it; a moment after the three are in, rising in from
   below; gone while one of them is large or Start over is asked, back after (Maayan, 2026-11-23) */
[data-gcf-rvfoot] { flex-direction: row; gap: var(--g-5); }
[data-gcf-rvfoot] [data-gcf-again] { position: absolute; inset-inline-start: var(--g-7); bottom: calc(var(--g-6) + env(safe-area-inset-bottom, 0px) + var(--g-4)); }   /* Start over at the row's far start */
@media (max-width: 599px) { [data-gcf-rvfoot] { flex-wrap: wrap; } [data-gcf-rvfoot] [data-gcf-again] { position: static; order: 3; flex-basis: 100%; } }
[data-gcf-rvfoot] :is([data-gcf-save], [data-gcf-rvback]) { min-height: 64px; padding-inline: var(--g-7); font-size: 1.3em; }
[data-gcf-rvfoot] [data-gcf-again] { font-size: var(--g-t-title3, 1.15rem); }
[data-step="reveal"] [data-gcf-rvfoot] { opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s .5s; }
[data-step="reveal"].is-ready [data-gcf-rvfoot] { opacity: 1; visibility: visible; transform: none; transition-delay: .6s, .6s, 0s; }
html:is(.gcf-lifted, .gcf-again, .gcf-returning) [data-step="reveal"].is-ready [data-gcf-rvfoot] { opacity: 0; visibility: hidden; transform: none; transition: opacity .3s ease, visibility 0s .3s; }
.gcf [data-step="reveal"] { padding-bottom: var(--g-bottomfoot-h, 136px); }
/* leaving the large one: its editor and its footer out first (creator-flow-lift.js finish) */
.gcf__lift.is-leaving :is(.gcf__liftpanel, .gcf__lifthint, .gcf__liftdo) { animation: gcf-panel-out .25s ease forwards; }
.gcf__lift.is-leaving [data-gcf-liftsave] { opacity: 0; transition: opacity .25s ease; }
@keyframes gcf-panel-out { to { opacity: 0; } }
html.gcf-lifted { overflow: hidden; } html.gcf-lifted.gcf-gutter { scrollbar-gutter: stable; }   /* its scrollbar's room kept: nothing behind moves */
/* its miniature alone, large (Maayan, 2026-11-23: "the card bg is not needed. so is it's name"): its steps under it, its pose's name between */
.gcf__lift[data-face="miniature"] .g-gcard.g-gcard--growl .g-gcard__card { background: none; border-color: transparent; box-shadow: none; }
.gcf__lift[data-face="miniature"] .g-gcard__head { display: none; }
/* its card, large: a light crossing it now and then, at random (Maayan, 2026-11-23: "a light flicker from time to time. randomly") */
.gcf__glint { position: absolute; inset: -8.5px; z-index: 7; border-radius: 21px; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent 42%, rgb(255 250 232 / .6) 50%, transparent 58%) 100% 0 / 300% 100% no-repeat; }
.gcf__glint.is-on { animation: gcf-card-glint 1.2s ease-in-out; }
@keyframes gcf-card-glint { 0% { opacity: 1; background-position: 100% 0; } 100% { opacity: 1; background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .gcf__glint.is-on { animation: none; } }
.gcf__liftbox > .gc-prev__stage { position: relative; inset: auto; }   /* the creator's miniature stage brought in: its own size (creator-flow-lift.js) */
/* the creator's miniature part in the edit panel: shown though its tab is not the one open; its references not here */
.gcf__lift .gcf__liftpanel > .gc__face[data-gc-of] { display: block !important; }
.gcf__lift .gcf__liftpanel .gc__made[data-gc-when="made"] { display: block !important; }
.gcf__lift .gcf__liftpanel [data-gc-refs] { display: none !important; }
/* its miniature edited (Maayan, 2026-11-23): its stage held where it is while its settings scroll; nothing of the page behind
   showing through it */
.gcf__lift.is-edit { background: rgb(0 0 0 / .92); }
.gcf__lift.is-edit .gcf__liftbox { position: sticky; top: 0; align-self: flex-start; }
/* A PHONE (Maayan, 2026-11-24: "make all the create flow steps work on mobile"): editing, its card over its fields, one
   column, the whole width; its fields one under the other; scrolled, its Save and Cancel kept at the foot */
@media (max-width: 599px) {
  .gcf__lift { padding-inline: var(--g-4); justify-content: flex-start; padding-top: var(--g-5); }
  .gcf__lift.is-edit .gcf__liftrow { flex-direction: column; align-items: center; gap: var(--g-5); }
  .gcf__lift.is-edit .gcf__liftpanel { flex: none; width: 100%; padding-bottom: calc(var(--g-bottomfoot-h, 136px) + var(--g-4)); }   /* its last field above its Save */
  html .gcf__lift.is-edit .gcf__liftbox { position: static; align-self: center; width: fit-content; margin-inline: auto; }   /* a phone: it scrolls away over its fields, never over them */
  .gcf__cerow, .gcf__cerow--top { grid-template-columns: minmax(0, 1fr); }
  .gcf__liftdo { width: 100%; } .gcf__liftdo .g-btn { min-width: 0; flex: 1; }
}
