/* [project]/app/styles.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f4f1ea;
  --panel: #fffaf1;
  --panel-2: #fff;
  --text: #171717;
  --muted: #6b665f;
  --line: #d8d0c3;
  --accent: #d74a2f;
  --accent-2: #116a68;
  --gold: #c58b24;
  --dark: #111827;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, PingFang SC, Microsoft YaHei, Arial, sans-serif;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.shell {
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.sidebar {
  color: #f7f3e8;
  background: #151716;
  border-right: 1px solid #ffffff14;
  padding: 28px 22px;
}

.brand {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  display: flex;
}

.brand h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.brand p, .hint, .muted {
  color: var(--muted);
}

.sidebar .hint {
  color: #bbb3a7;
  line-height: 1.6;
}

.main {
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  display: flex;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.panel.white {
  background: var(--panel-2);
}

.panel-head {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  display: flex;
}

.panel h2, .panel h3 {
  margin: 0;
}

.grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.form-row {
  grid-template-columns: 1fr 180px 150px;
  gap: 12px;
  margin-bottom: 12px;
  display: grid;
}

.input, .select, .textarea {
  border: 1px solid var(--line);
  width: 100%;
  color: var(--text);
  background: #fff;
  border-radius: 8px;
  outline: none;
  padding: 12px 14px;
}

.textarea {
  resize: vertical;
  min-height: 220px;
  line-height: 1.65;
}

.input.compact, .textarea.compact {
  margin-top: 8px;
  padding: 9px 10px;
}

.textarea.compact {
  min-height: 86px;
  font-size: 14px;
  line-height: 1.5;
}

.narration-edit {
  min-height: 104px;
}

.prompt-edit {
  min-height: 118px;
}

.button-row {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.btn {
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 800;
  display: inline-flex;
}

.btn.secondary {
  color: #1f2937;
  background: #e9e2d8;
}

.btn.accent {
  background: var(--accent);
}

.btn.green {
  background: var(--accent-2);
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.scene-list {
  gap: 14px;
  display: grid;
}

.scene-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  grid-template-columns: 92px minmax(0, 1fr) 220px;
  gap: 16px;
  padding: 16px;
  display: grid;
}

.badge {
  color: #422006;
  background: #f0d69f;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
}

.scene-card h3 {
  margin: 6px 0 8px;
  font-size: 20px;
}

.scene-card p {
  margin: 0 0 8px;
  line-height: 1.55;
}

.prompt-box {
  white-space: pre-wrap;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  max-height: 220px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.55;
  overflow: auto;
}

.thumb {
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #e7e5e4;
  border-radius: 8px;
  width: 100%;
}

.upload {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.status {
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.5;
}

.result {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.voice-picker {
  border: 1px solid var(--line);
  background: #ffffffb3;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 16px;
}

.voice-picker h3 {
  margin: 0;
}

.voice-picker p {
  margin: 8px 0 14px;
  line-height: 1.55;
}

.voice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.voice-card {
  text-align: left;
  min-height: 132px;
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}

.voice-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #d74a2f2e;
}

.voice-card span {
  color: #334155;
  background: #edf2f7;
  border-radius: 999px;
  margin-bottom: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
}

.voice-card strong {
  margin-bottom: 7px;
  font-size: 16px;
  display: block;
}

.voice-card small {
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

.voice-card em {
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 5px 11px;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  display: inline-flex;
}

.voice-actions {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  display: flex;
}

.voice-audio {
  width: 100%;
  margin-top: 12px;
  display: block;
}

.bgm-panel {
  border: 1px solid var(--line);
  background: #ffffffb8;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 16px;
}

.bgm-panel p {
  margin: 8px 0 14px;
  line-height: 1.55;
}

.bgm-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.file-control {
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 800;
  display: inline-flex;
  position: relative;
}

.file-control input {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  inset: 0;
}

.volume-control {
  color: var(--muted);
  grid-template-columns: auto 180px 44px;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  display: grid;
}

.progress {
  border: 1px solid var(--line);
  background: #e9e2d8;
  border-radius: 999px;
  height: 34px;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

.progress div {
  background: var(--accent-2);
  height: 100%;
}

.progress span {
  color: #111827;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  display: flex;
  position: absolute;
  inset: 0;
}

.timeline-editor {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

.timeline-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  display: flex;
}

.timeline-head p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.timeline-list {
  gap: 10px;
  display: grid;
}

.timeline-row {
  border: 1px solid var(--line);
  background: #ffffffb8;
  border-radius: 8px;
  grid-template-columns: 88px minmax(0, 1fr) 120px 120px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: grid;
}

.timeline-title {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.timeline-title strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.timeline-title span {
  color: var(--muted);
  font-size: 13px;
}

.timeline-row label {
  color: var(--muted);
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  display: grid;
}

.timeline-row .input {
  padding: 8px 9px;
}

@media (max-width: 980px) {
  .shell, .form-row, .grid, .voice-grid, .scene-card, .timeline-head, .timeline-row, .voice-actions {
    grid-template-columns: 1fr;
  }

  .voice-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .volume-control {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/*# sourceMappingURL=app_styles_1inruc0.css.map*/