.create-layout { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(300px, 0.78fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.create-main { min-width: 0; }
.create-head { max-width: 820px; margin-bottom: 34px; }
.create-head .lead { margin-top: 20px; max-width: 760px; }
.create-form { display: grid; gap: 23px; }
.field { display: grid; gap: 8px; }
.field-label-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.character-count { color: var(--muted); font-size: 0.82rem; }
.story-textarea { min-height: 230px; resize: vertical; }
.prompt-examples { min-width: 0; margin: 0; border: 0; padding: 0; }
.prompt-examples legend { margin-bottom: 10px; font-size: 0.94rem; font-weight: 800; }
.prompt-examples legend span { color: var(--muted); font-weight: 500; }
.prompt-example-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.prompt-example-list button { min-height: 44px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; color: var(--violet); font-size: 0.86rem; font-weight: 750; cursor: pointer; }
.prompt-example-list button:hover { border-color: var(--violet); background: var(--surface-soft); }
.create-submit { display: grid; gap: 12px; margin-top: 4px; }
.create-submit .button { width: 100%; min-height: 56px; font-size: 1.05rem; }
.create-submit p { margin: 0; color: var(--muted); text-align: center; font-size: 0.88rem; }
.create-submit i { margin-right: 6px; }

.story-helper { position: sticky; top: 110px; overflow: hidden; min-height: 610px; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: linear-gradient(180deg, #fbfaff, #f2effc); color: var(--violet); }
.helper-wave { width: calc(100% + 80px); height: 60px; margin: -6px -40px 38px; color: #c6bbe1; }
.story-helper blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.25rem); font-style: italic; line-height: 1.5; }
.helper-checklist { margin-top: 68px; padding-top: 34px; border-top: 1px solid var(--border); }
.helper-checklist h2 { margin: 0 0 22px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; }
.helper-checklist ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.helper-checklist li { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-weight: 700; }
.helper-checklist i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #9b8acf; color: #fff; font-size: 0.75rem; }

#lyrics-spinner-overlay { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(37, 16, 57, 0.52); backdrop-filter: blur(5px); }
#lyrics-spinner-overlay.active { display: grid; }
.loading-card { width: min(430px, 100%); display: grid; justify-items: center; gap: 8px; border-radius: var(--radius); padding: 32px; background: #fff; color: var(--text); text-align: center; box-shadow: var(--shadow); }
.loading-card span { color: var(--muted); font-size: 0.9rem; }
.spinner { width: 46px; height: 46px; margin-bottom: 8px; border: 4px solid var(--surface-tint); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 940px) {
  .create-layout { grid-template-columns: 1fr; }
  .story-helper { position: static; min-height: 0; }
  .helper-checklist { margin-top: 38px; }
}
@media (max-width: 680px) {
  .prompt-example-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .prompt-example-list { grid-template-columns: 1fr; }
}
