/* Mockups of the proposed Create page and the "being made" view. Placeholders, not generated images. */
body { background: var(--bg); }
.mockflag { position: absolute; right: var(--pad); top: 70px; z-index: 99; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); padding: 4px 8px; }
main.cr { padding: 8px var(--pad) 60px; }

/* scene placeholders (illustrations of what a picture would show) */
.sc { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #1a1f2e; }
.sc::before { content: ""; position: absolute; inset: -14px; background: inherit; filter: blur(7px) saturate(1.1); }
.sc::after { content: attr(data-l); position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 9.5px; line-height: 1.2; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.sc-street { background: radial-gradient(ellipse at 70% 55%, #f3b25e 0 9%, transparent 26%), radial-gradient(ellipse at 30% 80%, #2b2f45 0 30%, transparent 60%), linear-gradient(#2a3c6b, #121a33 60%, #0b0f1d); }
.sc-booth { background: radial-gradient(circle at 50% 22%, #ffd27a 0 7%, transparent 9%), linear-gradient(90deg, transparent 18%, #7a4b22 18% 82%, transparent 82%) 0 38% / 100% 46% no-repeat, radial-gradient(ellipse at 50% 60%, #f0a64a 0 20%, transparent 50%), linear-gradient(#24345e, #0f1528); }
.sc-host { background: radial-gradient(circle at 50% 33%, #c9936b 0 11%, transparent 12%), radial-gradient(ellipse at 50% 74%, #f4f4f4 0 25%, transparent 26%), linear-gradient(#d9d9d9, #bdbdbd); }
.sc-passer { background: radial-gradient(circle at 50% 30%, #b98060 0 10%, transparent 11%), radial-gradient(ellipse at 50% 26%, #2a1a14 0 15%, transparent 16%), radial-gradient(ellipse at 50% 72%, #c3262e 0 24%, transparent 25%), linear-gradient(#d9d9d9, #bdbdbd); }
.sc-coins { background: radial-gradient(circle at 30% 60%, #e7b44a 0 6%, transparent 7%), radial-gradient(circle at 45% 64%, #d9a23c 0 6%, transparent 7%), radial-gradient(circle at 60% 58%, #f0c25c 0 6%, transparent 7%), radial-gradient(circle at 52% 70%, #c99231 0 6%, transparent 7%), radial-gradient(ellipse at 50% 65%, #7a5418 0 30%, transparent 55%), linear-gradient(#1b130a, #0c0805); }
.sc-two { background: radial-gradient(circle at 35% 40%, #b98060 0 6%, transparent 7%), radial-gradient(ellipse at 35% 70%, #c3262e 0 14%, transparent 15%), radial-gradient(circle at 66% 36%, #c9936b 0 6%, transparent 7%), radial-gradient(ellipse at 66% 66%, #f4f4f4 0 14%, transparent 15%), radial-gradient(ellipse at 50% 30%, #f0a64a 0 25%, transparent 55%), linear-gradient(#2a3c6b, #151d36); }
.sc-phone { background: linear-gradient(90deg, transparent 30%, #111 30% 70%, transparent 70%) 0 30% / 100% 50% no-repeat, linear-gradient(90deg, transparent 33%, #f2c14e 33% 67%, transparent 67%) 0 34% / 100% 40% no-repeat, linear-gradient(#2a3c6b, #121a33); }
.sc-end { background: radial-gradient(ellipse at 50% 45%, #3bff7a 0 10%, transparent 30%), radial-gradient(ellipse at 50% 90%, #6b4a12 0 20%, transparent 45%), linear-gradient(#0b0b0b, #000); }
.sc-room { background: radial-gradient(circle at 50% 36%, #a87457 0 10%, transparent 11%), radial-gradient(ellipse at 50% 76%, #586d3b 0 24%, transparent 25%), linear-gradient(#e9dcc0, #b9a57e); }
.sc-wait { background: repeating-linear-gradient(45deg, #ececec 0 8px, #f6f6f6 8px 16px); }
.sc-wait::after { color: var(--grey); text-shadow: none; }
.sc .busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; font-size: 11px; }
.sc .busy span { display: inline-flex; gap: 6px; align-items: center; }
.sc .ok { position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; display: grid; place-items: center; }
.sc .heart { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--pink); display: grid; place-items: center; font-size: 12px; }
.sc .tag { position: absolute; left: 6px; top: 6px; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; background: rgba(0,0,0,.55); color: #fff; padding: 2px 5px; }
.dot.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(249,253,0,.3); }

/* ---------- Create: the composer ---------- */
.composer { background: var(--paper); box-shadow: var(--shadow); padding: 18px 20px 16px; margin: 6px 0 22px; }
.ctabs { display: flex; gap: 2px; margin-bottom: 12px; }
.ctabs span { font-size: 12px; padding: 7px 12px; background: var(--soft); }
.ctabs span.on { background: var(--ink); color: #fff; }
.ctabs i { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--grey); align-self: center; }
.brief { font-size: 21px; line-height: 1.35; min-height: 64px; color: var(--ink); border: 0; padding: 4px 0 10px; }
.brief .ph { color: var(--muted); }
.picks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.pick { display: inline-flex; flex-direction: column; gap: 1px; padding: 6px 10px; background: var(--soft); font-size: 12.5px; min-width: 0; }
.pick i { font-style: normal; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pick b { font-weight: 600; white-space: nowrap; }
.pick.add b { font-weight: 400; color: var(--grey); }
.picks .grow { flex: 1; }
.picks .claude { font-size: 11.5px; color: var(--grey); max-width: 260px; text-align: right; line-height: 1.3; }
.btn.big { height: 44px; padding: 0 22px; font-size: 13px; }

/* format cards (like Content Factory's "pick a trending style") */
.sec3 { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 10px; }
.sec3 b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.sec3 span { font-size: 12.5px; color: var(--grey); }
.sec3 a { margin-left: auto; font-size: 12px; }
.fmts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.fmt { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 8px; }
.fmt.on { box-shadow: inset 0 0 0 2px var(--ink); }
.fmt .sc { width: 64px; }
.fmt b { font-size: 13px; display: block; }
.fmt span { font-size: 11.5px; color: var(--grey); display: block; line-height: 1.35; }
.fmt em { font-style: normal; font-size: 11.5px; font-weight: 600; display: block; margin-top: 4px; }
.fmt.new { grid-template-columns: 1fr; place-items: center; color: var(--grey); font-size: 12.5px; text-align: center; background: repeating-linear-gradient(45deg, #fff 0 8px, #f7f7f7 8px 16px); }

/* being made now */
.now { display: grid; grid-template-columns: 1fr; gap: 8px; }
.nowc { background: var(--paper); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px 16px; }
.nowc b { font-size: 14px; display: block; }
.nowc span { font-size: 12px; color: var(--grey); }
.steps6 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.steps6 i { display: block; height: 6px; background: var(--soft); }
.steps6 i.d { background: var(--green); } .steps6 i.n { background: var(--yellow); }
.steps6 + small { display: block; font-size: 11.5px; color: var(--grey); margin-top: 5px; }

/* gallery (Higgsfield's "My generations") */
.gfilt { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 10px; }
.gfilt span { font-size: 12px; padding: 6px 10px; background: var(--soft); }
.gfilt span.on { background: var(--ink); color: #fff; }
.gfilt .sp { flex: 1; background: none; }
.gal { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.gal figure { margin: 0; }
.gal figcaption { font-size: 10.5px; color: var(--grey); margin-top: 4px; line-height: 1.3; }
.gal figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- the "being made" view ---------- */
.mk-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin: 10px 0 16px; flex-wrap: wrap; }
.mk-head h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1; font-weight: 400; text-transform: uppercase; margin: 6px 0 0; }
.mk-head .crumb { font-size: 12px; color: var(--grey); }
.meter { min-width: 300px; }
.meter b { font-size: 13px; }
.meter .bar { height: 8px; background: var(--soft); margin: 6px 0 4px; position: relative; }
.meter .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.meter small { font-size: 11.5px; color: var(--grey); }
.mkgrid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.st { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 14px; }
.st::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.st:last-child::before { display: none; }
.st .n { width: 34px; height: 34px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--soft); color: var(--grey); position: relative; z-index: 1; }
.st.done .n { background: var(--green); color: #fff; }
.st.now .n { background: var(--yellow); color: var(--ink); }
.st.gate .n { background: #fff; color: var(--pink); box-shadow: inset 0 0 0 2px var(--pink); font-size: 16px; }
.st .b { background: var(--paper); box-shadow: var(--shadow); padding: 12px 16px 14px; }
.st.later .b { box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
.st .h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.st .h b { font-size: 15px; }
.st .h .s { font-size: 11.5px; color: var(--grey); }
.st .h .s.ok { color: var(--ok); }
.st .h .s.run { color: var(--warn); }
.st .h .p { margin-left: auto; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.why { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 8px 0 2px; font-size: 12px; align-items: baseline; }
.rule { display: inline-flex; gap: 5px; align-items: baseline; padding: 2px 7px; background: #fbfde0; box-shadow: inset 0 0 0 1px #e6ea8a; font-size: 11.5px; }
.rule b { font-weight: 700; font-size: 10.5px; }
.rule.studio { background: #fff0f3; box-shadow: inset 0 0 0 1px #f0a8b5; }
.rule.edit { background: #efeeff; box-shadow: inset 0 0 0 1px #c9c7fb; }
.ins { font-size: 12px; color: var(--grey); margin-top: 6px; }
.ins b { color: var(--ink); font-weight: 600; }
.model { font-size: 12px; margin-top: 6px; }
.model b { font-weight: 600; }
.thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.thumbs figure { margin: 0; }
.thumbs figcaption { font-size: 10px; color: var(--grey); margin-top: 3px; line-height: 1.25; }
.thumbs figcaption b { color: var(--ink); }
.decide { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.decide li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; font-size: 12.5px; align-items: baseline; }
.decide li > span:first-child { font-size: 11px; }
.checks2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; font-size: 12px; margin-top: 8px; }
.checks2 i { font-style: normal; color: var(--grey); margin-right: 6px; }
.mkside { position: sticky; top: 84px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.phone2 { background: #000; border-radius: 22px; box-shadow: 0 0 0 9px #0d0d0d; aspect-ratio: 9 / 16; max-width: 250px; margin: 8px auto 0; position: relative; overflow: hidden; }
.phone2 .sc { position: absolute; inset: 0; aspect-ratio: auto; }
.phone2 .cap { position: absolute; left: 10px; right: 10px; bottom: 26%; text-align: center; color: #fff; font: 800 17px/1.05 var(--cn); font-stretch: 75%; text-transform: uppercase; text-shadow: 0 2px 4px #000; }
.phone2 .cap em { color: var(--yellow); font-style: normal; }
.phone2 .badge { position: absolute; right: 10px; top: 10px; border: 1px solid #fff; color: #fff; font-size: 9px; padding: 1px 4px; }
.phone2 .tc { position: absolute; left: 10px; top: 10px; color: #fff; font-size: 10px; background: rgba(0,0,0,.5); padding: 2px 5px; }
.pbtns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: 11.5px; margin-top: 10px; }
.ask { background: var(--paper); box-shadow: var(--shadow); padding: 12px 14px; font-size: 12.5px; }
.ask .cm { padding: 8px 10px; background: var(--soft); margin: 6px 0; line-height: 1.35; }
.ask .cm.mine { background: var(--ink); color: #fff; margin-left: 30px; }
.ask .cm b { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 2px; }
.ask .inp { border: 1px solid var(--line); padding: 9px 10px; color: var(--muted); margin-top: 8px; }

/* ---------- Claude's plan (before anything is spent) ---------- */
.plan { background: var(--paper); box-shadow: var(--shadow); margin: 0 0 22px; }
.plan .ph2 { display: flex; gap: 12px; align-items: baseline; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.plan .ph2 b { font-size: 15px; }
.plan .ph2 span { font-size: 12px; color: var(--grey); }
.plan table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.plan th { text-align: left; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 10px 12px 6px; border-bottom: 1.5px solid var(--ink); }
.plan td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan td.n { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--grey); width: 34px; }
.plan td.pr { text-align: right; font-weight: 600; white-space: nowrap; }
.plan tr.gate td { color: var(--grey); background: #fff8f9; }
.plan tr.gate b { color: var(--pink); }
.plan tr.sum td { background: var(--soft); font-weight: 600; border-top: 1.5px solid var(--ink); }
.plan .pf { display: flex; gap: 10px; align-items: center; padding: 14px 20px; flex-wrap: wrap; }
.plan .pf .chg { flex: 1; min-width: 260px; border: 1px solid var(--line); padding: 10px 12px; color: var(--muted); font-size: 13px; }

/* ---------- one generation ---------- */
.lbx { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0; background: #0b0b0b; min-height: calc(100vh - 90px); }
.lbx .stage { display: grid; place-items: center; padding: 26px; }
.lbx .stage .sc { width: min(380px, 100%); }
.lbx .info { background: var(--paper); padding: 40px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.lbx .info h2 { font-size: 20px; text-transform: uppercase; font-weight: 400; margin: 0; }
.lbx .k { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.lbx .prompt { font-size: 12.5px; background: var(--soft); padding: 10px 12px; line-height: 1.4; }
.lbx .chainv { display: grid; gap: 4px; font-size: 12.5px; }
.lbx .chainv div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: center; }
.lbx .chainv .sc { width: 34px; }
.lbx .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.lbx .acts .btn { height: 34px; font-size: 11.5px; padding: 0 12px; }

@media (max-width: 760px) {
  .mockflag { position: fixed; top: auto; bottom: 8px; right: 8px; font-size: 9px; }
  .fmts { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mkgrid { grid-template-columns: 1fr; }
  .mkside { position: static; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .decide li { grid-template-columns: 1fr; gap: 2px; }
  .nowc { grid-template-columns: 1fr; }
  .picks .claude { text-align: left; }
  .checks2 { grid-template-columns: 1fr; }
  .brief { font-size: 17px; }
}

.crh { font-size: clamp(26px, 3vw, 40px); line-height: 1; font-weight: 400; text-transform: uppercase; margin: 14px 0 12px; }
