.studio-create { display:flex; flex-direction:column; min-block-size:100dvh; }
.studio-create .studio-shell { flex:1; min-block-size:0; }

.place-work { padding: 30px 29px 32px; }
.place-inner { width: min(100%, 760px); margin-inline: auto; }
.place-inner h1 { margin: 0 0 23px; font: 600 27px/1.2 var(--studio-display); letter-spacing: -.035em; }
.place-inner h2 { font: 500 15px/1.4 var(--studio-display); margin: 0; }
.place-side { padding: 23px 17px; }
.place-side h2 { margin: 0 0 14px; }
.place-form { max-width: 640px; }
.place-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.place-form legend, .place-field label { padding: 0; font-weight: 600; }
.place-segment, .place-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.place-segment { margin: 7px 0 19px; }
.place-segment button[aria-pressed="true"] { border-color: var(--studio-ember); color: var(--studio-flame); }
.place-field { display: grid; gap: 5px; }
.place-field + .place-field, .place-name { margin-top: 17px; }
.place-field :is(textarea, input[type="text"]) { width: 100%; font: inherit; color: var(--studio-bone); border: 1px solid var(--studio-line); border-radius: 6px; padding: 10px 12px; background: var(--studio-panel); }
.place-field textarea { min-block-size: 120px; resize: vertical; }
.place-field textarea::placeholder { color: var(--studio-ash); }
.place-name input { max-inline-size: 390px; }
.place-hint { margin: 0; color: var(--studio-ash); font-size: 13px; }
.place-prompt-tips { margin-top: 7px; padding: 12px 14px; border: 1px solid var(--studio-line); border-radius: 6px; background: var(--studio-panel); }
.place-prompt-tips ul { margin: 6px 0 0; padding-inline-start: 19px; color: var(--studio-ash); font-size: 13px; line-height: 1.4; }
.place-prompt-tips li + li { margin-top: 4px; }
.place-prompt-tips :is(strong, a) { color: var(--studio-bone); }
.place-actions { margin-top: 20px; }
.place-feedback { color: var(--studio-ash); }
.place-feedback[data-error="true"] { color: var(--studio-danger); }
.place-drop { display: grid; gap: 9px; justify-items: center; text-align: center; border: 1px dashed #78513b; border-radius: 7px; background: var(--studio-panel); padding: 21px 12px; }
.place-drop--active { background: var(--studio-raised); border-color: var(--studio-flame); }
.place-selected { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-width: 0; }
.place-selected span { min-width: 0; overflow-wrap: anywhere; }
.place-selected button { min-block-size: 30px; padding-inline: 8px; }
.upload-preview { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 7px; border: 1px solid var(--studio-line); background: var(--studio-coal); margin-bottom: 11px; }

@media (min-width: 821px) {
  .studio-place { height: 100dvh; }
  .studio-place :is(.studio-work, .studio-side) { overflow: auto; min-height: 0; }
}
@media (max-width: 820px) {
  .studio-place { grid-template-areas: "top" "rail" "work" "panel" "status"; grid-template-rows: auto auto 1fr auto auto; }
  .place-work, .place-side { padding: 19px 16px; }
  .upload-preview { max-width: 270px; }
}

.credits-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.credits-balance { padding: 16px 18px; background: var(--studio-panel); border: 1px solid var(--studio-line); border-radius: 7px; }
.credits-balance h2 { font: 500 11px/1.4 var(--studio-mono); }
#balance { margin: 5px 0 12px; font: 600 38px/1.15 var(--studio-display); }
.credits-buckets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding-top: 12px; border-top: 1px solid var(--studio-line); }
.credits-buckets dt { color: var(--studio-ash); }
.credits-buckets dd { margin: 3px 0 0; font: 500 16px/1.4 var(--studio-mono); }
.credits-history { margin-top: 25px; }
.credits-history h2 { margin-bottom: 11px; }
.history-table-wrap { overflow: auto; }
.credits-table { width: 100%; border-collapse: collapse; text-align: start; }
.credits-table :is(td, th) { padding: 8px 9px; border-bottom: 1px solid var(--studio-line); text-align: inherit; }
.credits-table th { color: var(--studio-ash); font-weight: 500; background: var(--studio-panel); }
.credits-table :is(td, th):last-child { text-align: end; }
.credits-table td:last-child { font-family: var(--studio-mono); }
.credits-table td small { display: block; color: var(--studio-ash); }
.credits-table td time { white-space: nowrap; }
.credits-table .credit-in { color: var(--studio-green); }
#load-ledger { margin-top: 13px; }
.credit-prices { margin: 11px 0 14px; }
.credit-prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--studio-line); }
.credit-prices dd { margin: 0; font: 500 13px/1.5 var(--studio-mono); }

.create-picture-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.create-picture-pair .place-drop { align-content: start; min-width: 0; padding: 12px 8px; }
.create-picture-pair .place-hint { overflow-wrap: anywhere; }
.create-picture-pair .upload-preview { border: 0; margin: 0; max-height: 180px; }

.studio-place { grid-template-areas: "top top" "work panel"; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr) 282px; }
@media (max-width: 820px) {
  .studio-place { grid-template-areas: "top" "work" "panel"; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
}
.credit-lots > div, .credit-offer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.credit-lots { margin: 1rem 0 0; }
.credit-lots > div { padding: .4rem 0; }
.credit-lots small { display: block; }
.credits-shop { margin: 1.25rem 0; }
.credit-offers { display: grid; gap: .6rem; }
.credit-offer {
  padding: .7rem .9rem;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 28%, transparent);
  border-radius: .5rem;
}
.credit-offer h3, .credit-offer p { margin: .15rem 0; }
.credit-offer > :last-child { text-align: right; }
.credit-offer-price { font-variant-numeric: tabular-nums; }

.create-picture-pair .picture-scroll { width: 100%; max-height: 180px; }
.create-soon { padding: 10px 12px; border: 1px solid #68442f; border-radius: 10px; color: var(--studio-bone, #f4e8de); background: rgb(224 112 46 / .08); }
.create-soon p { margin: 0; }
.create-soon .founder-plans a { color: #ffb37a; font-weight: 600; }
.create-soon .founder-cta { display: grid; gap: 6px; margin-block: 10px 8px; padding: 14px 16px; border-radius: 10px; background: linear-gradient(90deg, #b5461b, #e0702e); color: #1b0b02; text-decoration: none; }
.create-soon .founder-cta strong { font-size: 16px; line-height: 1.25; font-weight: 800; }
.create-soon .founder-cta > span { font-size: 13px; line-height: 1.4; }
.create-soon .founder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.create-soon .founder-go { padding: 6px 12px; border-radius: 99px; background: #1b0b02; color: #ffb37a; font-size: 14px; }
.create-soon .founder-cta:hover .founder-go { color: #fff; }
.create-soon #founder-left { font-style: normal; font-weight: 700; font-size: 13px; }
