/* Editor (/create/ and the host's Edit details page) and the landing page */
.create-page, .landing { background: radial-gradient(120% 60% at 50% 0, #121c5e, var(--navy-900) 60%); min-height: 100vh; }
.create-bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(7, 11, 36, .92); box-shadow: 0 1px 0 rgba(127, 212, 255, .25); }
.create-bar__brand { font: 400 12px/1 var(--pixel); color: var(--yellow); text-decoration: none; }
.create-bar__step { font: 400 9px/1.2 var(--pixel); color: var(--muted); text-align: right; }
.create { display: grid; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 18px 16px 60px; }
@media (min-width: 980px) { .create { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } }
.create__form .panel { margin-bottom: 14px; }
.create__form input[type=text], .create__form input[type=email], .create__form input[type=password], .create__form input[type=number],
.create__form input[type=date], .create__form input[type=time], .create__form select { width: 100%; }
.create__form select { min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 2px solid rgba(127, 212, 255, .45); background: #0a1035; color: var(--cream); font: inherit; }
.grid2, .grid3 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1.3fr 1fr 1fr; } }
.field--short { max-width: 240px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.seg legend { margin-bottom: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(127, 212, 255, .35); cursor: pointer; font-weight: 700; }
.seg input:checked + span { background: rgba(255, 210, 63, .14); box-shadow: inset 0 0 0 2px var(--yellow); color: var(--yellow); }
.seg input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.castrow { display: grid; grid-template-columns: 70px 1fr; gap: 8px 12px; align-items: center; margin-top: 14px; }
.castrow > label { font-weight: 800; color: var(--muted); font-size: 14px; }
.castrow input[type=text] { text-transform: uppercase; }
.swatches { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { position: relative; width: 32px; height: 32px; border-radius: 8px; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3); }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch:has(input:checked) { box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px var(--cream); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 4px; }
.create__errors { padding: 12px 16px 12px 32px; margin: 0 0 14px; border-radius: 10px; background: rgba(255, 61, 154, .12); box-shadow: inset 0 0 0 2px var(--pink); }
.create__errors li { margin: 4px 0; }
.create__fine { color: var(--muted); font-size: 14px; text-align: center; margin: 12px 0 0; }
.create__fine a { color: var(--cyan); }
.create__preview { position: sticky; top: 70px; }
.phone { position: relative; height: min(760px, 78vh); border-radius: 34px; overflow: hidden; background: #000; box-shadow: 0 0 0 10px #1b2250, 0 0 0 12px #2c377a, 0 24px 60px rgba(0, 0, 0, .55); }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--navy-900); }
.phone__empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--muted); font: 400 11px/1.6 var(--pixel); }
@media (max-width: 979px) { .create__preview { position: static; } .phone { height: 640px; max-width: 380px; margin: 0 auto; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.create-bar__brand small { font-size: 7px; color: var(--muted); letter-spacing: .06em; margin-left: 6px; }
