.studio { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; padding: 8px 0 30px; }
.flow { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-height: 520px; display: flex; flex-direction: column; }
.preview { position: sticky; top: 16px; display: flex; justify-content: center; }
.preview .cc { font-size: 19px; cursor: pointer; }

.steps { display: flex; gap: 4px; margin-bottom: 22px; overflow-x: auto; }
.steps button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; background: none; border: 0; border-bottom: 2px solid var(--line);
  color: var(--muted); font: 600 13px "Inter", sans-serif; padding: 8px 4px 10px; cursor: pointer; white-space: nowrap; }
.steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--panel2); }
.steps button.done { color: var(--text); border-color: rgba(255,212,92,.4); }
.steps button.done i { background: rgba(255,212,92,.2); color: var(--gold); }
.steps button.on { color: var(--text); border-color: var(--gold); }
.steps button.on i { background: var(--gold); color: #1a1205; }

#form { flex: 1; }
.step { display: none; animation: in .25s ease; }
.step.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }
.step h2 { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 32px; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .01em; }
.step .sub { color: var(--muted); margin: -10px 0 18px; font-size: 14px; }

.f { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.f > span { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.f > span em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .7; }
.f input:not([type=range]), .n input { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  font: 600 16px "Inter", sans-serif; outline: none; width: 100%; transition: border-color .15s; }
.f input:focus, .n input:focus { border-color: var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row2 .f { margin-bottom: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 10px 16px; font: 600 14px "Inter", sans-serif; cursor: pointer; transition: all .15s; }
.chips button:hover { border-color: rgba(255,255,255,.25); }
.chips button.on { background: var(--gold); color: #1a1205; border-color: transparent; }

.drop { display: flex; align-items: center; justify-content: center; height: 120px; border: 1.5px dashed rgba(255,255,255,.18); border-radius: 14px; cursor: pointer; overflow: hidden; position: relative; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--gold); background: rgba(255,212,92,.05); }
.drop-empty { text-align: center; }
.drop-empty b { display: block; font-size: 15px; }
.drop-empty small { color: var(--muted); font-size: 12px; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop.has .drop-empty { display: none; }
#photoY { accent-color: var(--gold); width: 100%; }

.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.n { display: flex; flex-direction: column; gap: 6px; }
.n span { font-size: 12px; color: var(--muted); font-weight: 600; }
.n input { font-size: 20px; font-family: "Barlow Condensed", sans-serif; font-weight: 700; padding: 10px 12px; }
.n input::-webkit-outer-spin-button, .n input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.n input[type=number] { -moz-appearance: textfield; }
details.more { margin-top: 14px; }
details.more summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; padding: 4px 0 10px; list-style: none; }
details.more summary::before { content: "+ "; color: var(--gold); }
details.more[open] summary::before { content: "− "; }
.live { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.live div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 76px; }
.live b { display: block; font: 700 20px "Barlow Condensed", sans-serif; }
.live span { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.bowlwrap.off { opacity: .35; pointer-events: none; }
.f .dd-btn { padding: 13px 14px; font-size: 15px; border-radius: 12px; background: var(--bg); max-width: 320px; }

.sl { display: grid; grid-template-columns: 140px 1fr 34px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sl span { font-size: 14px; font-weight: 600; }
.sl input { accent-color: var(--gold); width: 100%; }
.sl output { font: 700 20px "Barlow Condensed", sans-serif; text-align: right; color: var(--gold); }

.share { display: flex; gap: 8px; flex-wrap: wrap; }
.nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.nav .btn { min-width: 110px; justify-content: center; }
.nav #back[disabled] { visibility: hidden; }

@media (max-width: 920px) {
  .studio { grid-template-columns: 1fr; gap: 16px; }
  .preview { position: static; order: -1; }
  .preview .cc { font-size: min(13px, calc((100vw - 32px) / 20)); }
  .studio.reveal .preview .cc { font-size: min(19px, calc((100vw - 32px) / 20)); }
  .flow { min-height: 0; }
  .nav { position: sticky; bottom: 0; background: var(--panel); margin: 18px -18px -18px; padding: 12px 18px; border-radius: 0 0 18px 18px; }
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .sl { grid-template-columns: 110px 1fr 28px; }
  .steps button { font-size: 0; gap: 0; } .steps button i { font-size: 11px; }
}
.hint { color: var(--muted); font-size: 12px; }
.savebox, .saved { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.toggle input { display: none; }
.toggle i { flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); position: relative; transition: background .15s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle input:checked + i { background: var(--gold); }
.toggle input:checked + i::after { transform: translateX(18px); }
.toggle b { display: block; font-size: 14px; }
.toggle small { color: var(--muted); font-size: 12px; }
.savebox #save { align-self: flex-start; }
.saved-title { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 22px; color: #4ade80; letter-spacing: .02em; }
.copyrow { display: grid; grid-template-columns: 80px 1fr auto; gap: 8px; align-items: center; }
.copyrow span { font-size: 12px; color: var(--muted); font-weight: 600; }
.copyrow input { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: 600 14px ui-monospace, monospace; min-width: 0; }
.warn { margin: 0; font-size: 13px; color: var(--gold); }
@media (max-width: 520px) { .copyrow { grid-template-columns: 1fr auto; } .copyrow span { grid-column: 1 / -1; } .links { gap: 12px; } }
