.creation-page { min-width: 0; padding-bottom: 28px; }
.creation-heading h1 { font-size: 28px; line-height: 1.35; max-width: 280px; }
.creation-kind-tabs { display: flex; gap: 8px; margin: 18px 0; padding: 5px; background: #f9edf4; border-radius: 18px; }
.creation-kind-tab { flex: 1; min-height: 44px; border: 0; border-radius: 14px; background: transparent; color: var(--deep); }
.creation-kind-tab.active { background: white; box-shadow: 0 3px 10px #dfb4c52b; font-weight: 700; }
.creation-section { min-width: 0; margin: 12px 0; padding: 17px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.creation-section-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.creation-section-heading > div { display: flex; align-items: center; min-width: 0; }
.creation-section-heading h2 { margin: 0; font-size: 16px; line-height: 1.45; }
.creation-step { display: none; }
.creation-required, .creation-optional { color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.creation-required { color: #b76c8e; }
.creation-help { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 8px 0 12px; }
.creation-upload-card { position: relative; display: flex; min-width: 0; min-height: 168px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; overflow: hidden; border: 1px dashed #e5c5d6; border-radius: 17px; background: #fff8fc; text-align: center; }
.creation-upload-card b { font-size: 13px; }
.creation-upload-card small { color: var(--muted); font-size: 11px; }
.creation-upload-plus { font-size: 25px; color: #d488a9; }
.creation-upload-card.has-image { height: 180px; }
.creation-upload-card.has-image > :not(img) { display: none; }
.creation-preview { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; background: #fff4f8; }
.creation-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.creation-extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.creation-upload-item { min-width: 0; }
.creation-upload-card.compact { min-height: 110px; height: 120px; padding: 8px; }
.creation-upload-card.compact b { font-size: 12px; }
.creation-remove { min-height: 44px; max-width: 100%; }
.creation-person-extra-section > summary { list-style: none; cursor: pointer; min-height: 44px; }
.creation-person-extra-section > summary::-webkit-details-marker { display: none; }
.creation-person-extra-section > summary .creation-section-heading { margin: 0; }
.creation-person-extra-section > summary .creation-section-heading:after { content: '＋'; color: #c98ca6; }
.creation-person-extra-section[open] > summary .creation-section-heading:after { content: '−'; }
.creation-avatar-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.creation-avatar-style { display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: #fffafd; color: var(--deep); text-align: left; }
.creation-avatar-style.active { border-color: #da91b0; background: #fff1f8; box-shadow: 0 0 0 1px #da91b033; }
.creation-avatar-style > b { font-size: 13px; padding: 3px 1px; }
.creation-avatar-style > small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.creation-style-swatch { display: flex; align-items: center; justify-content: center; height: 68px; border-radius: 11px; font-size: 11px; line-height: 1.6; text-align: center; color: #977b87; background: linear-gradient(145deg,#fff6f4,#f3e8ef); }
.creation-style-swatch.film { background: linear-gradient(145deg,#f7e4c9,#d6bbab); color: #8f7463; }
.creation-style-swatch.drawing { background: linear-gradient(135deg,#f7edfc,#e9def5); color: #9271a0; }
.creation-style-swatch.cartoon { background: linear-gradient(145deg,#e6f4fc,#f6e5f1); color: #7e94ad; }
.creation-switch, .creation-consent { display: flex; align-items: flex-start; gap: 9px; line-height: 1.6; }
.creation-switch { min-height: 44px; padding: 8px 0; }
.creation-switch input, .creation-consent input { flex: 0 0 auto; margin-top: 4px; accent-color: #db8dac; }
.creation-switch b, .creation-switch small { display: block; }
.creation-switch small { color: var(--muted); font-size: 11px; }
.creation-scene-options { margin-top: 14px; }
.creation-scene-options textarea { width: 100%; min-height: 76px; margin-top: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; resize: vertical; color: var(--deep); background: #fffafd; }
.creation-field-label { font-size: 13px; font-weight: 600; }
.creation-scene-options .scene-upload { min-height: 115px; }
.creation-strength-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 5px; font-size: 12px; }
.creation-strength-top output { font-weight: 600; color: #b47896; text-align: right; }
.creation-strength-range { width: 100%; min-height: 44px; }
.creation-strength-labels { display: flex; justify-content: space-between; gap: 6px; font-size: 10px; color: var(--muted); }
.creation-ratio-options { display: flex; gap: 6px; }
.creation-ratio { flex: 1; min-height: 44px; min-width: 0; padding: 8px 4px; border: 1px solid var(--line); border-radius: 12px; color: var(--deep); background: #fff9fc; font-size: 12px; }
.creation-ratio.active { border-color: #d996b2; background: #fff0f7; }
.creation-readiness { font-size: 12px; color: var(--muted); line-height: 1.65; }
.creation-consent { font-size: 11px; color: var(--muted); margin: 14px 0; }
.creation-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.creation-actions #creation-back { display: none; }
.creation-actions > button:not(#creation-back) { flex: 1 1 115px; min-height: 48px; min-width: 0; padding: 10px 8px; }
.creation-status, .creation-inline-status { word-break: break-word; line-height: 1.7; }
.creation-result { margin-top: 22px; }
.creation-result-frame { overflow: hidden; border: 6px solid white; border-radius: 22px; box-shadow: 0 4px 24px #d7adbe25; }
.creation-result-frame img { display: block; width: 100%; max-height: 580px; object-fit: contain; cursor: zoom-in; background: #fff5fa; }
.creation-result-actions { display: flex; gap: 8px; margin: 15px 0; }
.creation-result-actions button { flex: 1; min-width: 0; min-height: 48px; }
.creation-page [hidden] { display: none !important; }
@media(max-width:350px) { .creation-section { padding: 13px; } .creation-heading h1 { font-size: 25px; } .creation-section-heading h2 { font-size: 15px; } }
