.nc-node-short-drama {
  width: 280px;
  border-color: rgba(245, 158, 11, 0.38);
}

.nc-node-short-drama .nc-body {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), transparent 72%);
}

.nc-short-drama-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.nc-short-drama-summary div {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.06);
}

.nc-short-drama-summary span,
.nc-short-drama-summary strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nc-short-drama-summary span {
  margin-bottom: 3px;
  color: #94a4bb;
  font-size: 11px;
}

.nc-short-drama-summary strong {
  color: #f1c768;
  font-size: 12px;
}

.nc-short-drama-open {
  width: 100%;
  color: #1a1206;
  background: linear-gradient(135deg, #f1c768, #e7b24c);
}

.nc-short-drama-open:disabled {
  cursor: wait;
  opacity: 0.65;
}

.nc-short-drama-host {
  position: fixed;
  inset: 0;
  z-index: 10020;
}

.nc-short-drama-workspace {
  --sd-ink: #eaf1fa;
  --sd-muted: #94a4bb;
  --sd-line: #273447;
  --sd-paper: #101827;
  --sd-canvas: #070b13;
  --sd-accent: #e7b24c;
  --sd-accent-dark: #f1c768;
  color-scheme: dark;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--sd-ink);
  background:
    radial-gradient(circle at 76% -15%, rgba(231, 178, 76, 0.12), transparent 32%),
    var(--sd-canvas);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.nc-short-drama-production-slot {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.nc-short-drama-topbar {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(520px, 1.5fr) minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(148, 164, 187, 0.16);
  background: rgba(8, 13, 22, 0.94);
  backdrop-filter: blur(18px);
}

.nc-short-drama-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nc-short-drama-brand > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  color: #1a1206;
  background: linear-gradient(145deg, #f1c768, #e7b24c);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.23);
  font: 800 13px/1 Georgia, serif;
  letter-spacing: 1px;
}

.nc-short-drama-brand div,
.nc-short-drama-brand strong,
.nc-short-drama-brand small {
  display: block;
  min-width: 0;
}

.nc-short-drama-brand strong,
.nc-short-drama-brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nc-short-drama-brand strong { font: 650 15px/1.4 Georgia, "Songti SC", serif; }
.nc-short-drama-brand small { margin-top: 2px; color: var(--sd-muted); font-size: 10px; }

.nc-short-drama-topbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nc-short-drama-stage {
  position: relative;
  min-width: 116px;
  padding: 27px 14px 23px;
  border: 0;
  border-radius: 0;
  color: #94a4bb;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.nc-short-drama-stage::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}

.nc-short-drama-stage:hover:not(:disabled) { color: var(--sd-accent-dark); }
.nc-short-drama-stage.is-active { color: var(--sd-ink); }
.nc-short-drama-stage.is-active::after { background: var(--sd-accent); }
.nc-short-drama-stage:disabled { cursor: not-allowed; opacity: 0.38; }

.nc-short-drama-close {
  justify-self: end;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sd-line);
  border-radius: 50%;
  color: #94a4bb;
  background: rgba(148, 164, 187, 0.06);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}

.nc-short-drama-readonly {
  padding: 9px 24px;
  color: #f1c768;
  border-bottom: 1px solid rgba(231, 178, 76, 0.24);
  background: rgba(231, 178, 76, 0.09);
  text-align: center;
  font-size: 12px;
}

.nc-short-drama-layout {
  display: grid;
  grid-template-columns: 224px minmax(560px, 1fr) 286px;
  flex: 1;
  min-height: 0;
}

.nc-short-drama-character-rail,
.nc-short-drama-inspector {
  min-height: 0;
  overflow: auto;
  padding: 22px 16px;
  background: rgba(13, 20, 32, 0.92);
}

.nc-short-drama-character-rail { border-right: 1px solid rgba(148, 164, 187, 0.14); }
.nc-short-drama-inspector { border-left: 1px solid rgba(148, 164, 187, 0.14); }

.nc-short-drama-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 16px;
  color: #cbd6e4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nc-short-drama-section-title span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  color: #f1c768;
  background: rgba(231, 178, 76, 0.12);
  letter-spacing: 0;
}

.nc-short-drama-character-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: inherit;
  background: transparent;
  text-align: left;
}

.nc-short-drama-character-chip:hover {
  border-color: rgba(231, 178, 76, 0.28);
  background: rgba(231, 178, 76, 0.08);
}

.nc-short-drama-character-chip strong,
.nc-short-drama-character-chip small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-short-drama-character-chip strong { font-size: 12px; }
.nc-short-drama-character-chip small { margin-top: 3px; color: var(--sd-muted); font-size: 10px; }

.nc-short-drama-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 178, 76, 0.24);
  border-radius: 50%;
  color: #f1c768;
  background: linear-gradient(145deg, rgba(231, 178, 76, 0.18), rgba(231, 178, 76, 0.08));
  font: 700 15px/1 Georgia, "Songti SC", serif;
}

.nc-short-drama-avatar.is-large { width: 48px; height: 48px; font-size: 18px; }
.nc-short-drama-empty { padding: 30px 10px; color: var(--sd-muted); font-size: 11px; line-height: 1.8; text-align: center; }

.nc-short-drama-editor {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 26px clamp(20px, 3vw, 48px) 60px;
}

.nc-short-drama-panel {
  width: min(980px, 100%);
  margin: 0 auto;
}

.nc-short-drama-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.nc-short-drama-panel h2,
.nc-short-drama-complete h2 {
  margin: 4px 0 0;
  font: 650 clamp(23px, 2vw, 30px)/1.2 Georgia, "Songti SC", serif;
  letter-spacing: -0.02em;
}

.nc-short-drama-kicker {
  color: var(--sd-accent-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nc-short-drama-panel button,
.nc-short-drama-error button {
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid var(--sd-line);
  border-radius: 8px;
  color: #cbd6e4;
  background: rgba(148, 164, 187, 0.06);
  font-size: 12px;
  font-weight: 650;
}

.nc-short-drama-panel button:hover:not(:disabled) { border-color: rgba(231, 178, 76, 0.38); color: #f1c768; }
.nc-short-drama-panel button.is-primary { border-color: var(--sd-accent); color: #1a1206; background: linear-gradient(135deg, #f1c768, #e7b24c); }
.nc-short-drama-panel button:disabled { cursor: not-allowed; opacity: 0.42; }
.nc-short-drama-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.nc-short-drama-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.nc-short-drama-form-grid label,
.nc-short-drama-shot-fields label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: #cbd6e4;
  font-size: 11px;
  font-weight: 650;
}

.nc-short-drama-form-grid label.is-wide,
.nc-short-drama-shot-fields label.is-wide { grid-column: 1 / -1; }

.nc-short-drama-form-grid label > small,
.nc-short-drama-shot-fields label > small { color: #94a4bb; font-weight: 400; line-height: 1.5; }

.nc-short-drama-workspace input,
.nc-short-drama-workspace select,
.nc-short-drama-workspace textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--sd-line);
  border-radius: 9px;
  outline: 0;
  color: var(--sd-ink);
  background: #0c1420;
  font: 400 12px/1.55 Inter, "PingFang SC", sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nc-short-drama-workspace input,
.nc-short-drama-workspace select { min-height: 39px; padding: 8px 10px; }
.nc-short-drama-workspace textarea { min-height: 72px; padding: 9px 10px; resize: vertical; }
.nc-short-drama-workspace input:focus,
.nc-short-drama-workspace select:focus,
.nc-short-drama-workspace textarea:focus { border-color: #e7b24c; box-shadow: 0 0 0 3px rgba(231, 178, 76, 0.14); }
.nc-short-drama-workspace :disabled { color: #5c6b82; background: rgba(148, 164, 187, 0.06); }
.nc-short-drama-asset-graph{margin-top:20px;padding:18px;border:1px solid rgba(231,178,76,.32);border-radius:14px;background:rgba(231,178,76,.06)}
.nc-short-drama-asset-graph>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.nc-short-drama-asset-graph h3{margin:3px 0 0}.nc-short-drama-asset-summary{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.nc-short-drama-asset-summary span{padding:5px 9px;border-radius:999px;background:rgba(231,178,76,.12);color:#f2c96d;font-size:12px}
.nc-short-drama-asset-create{display:grid;grid-template-columns:120px minmax(150px,.8fr) minmax(220px,1.5fr) auto;gap:8px;margin:12px 0}
.nc-short-drama-asset-create select,.nc-short-drama-asset-create input{min-width:0}
.nc-short-drama-asset-bind{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1.2fr) 120px auto;gap:8px;margin:0 0 12px}
.nc-short-drama-asset-hint{margin:0 0 8px;color:#94a4bb}
@media(max-width:900px){.nc-short-drama-asset-create,.nc-short-drama-asset-bind{grid-template-columns:1fr}}
.nc-short-drama-asset-graph ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin:0 0 12px;padding:0;list-style:none}
.nc-short-drama-asset-graph li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid rgba(148,164,187,.18);border-radius:10px;background:#111827}
.nc-short-drama-asset-graph li span{display:grid;gap:3px}.nc-short-drama-asset-graph li small{color:#94a4bb}

.nc-short-drama-character-cards,
.nc-short-drama-shot-list { display: grid; gap: 16px; }

.nc-short-drama-character-card,
.nc-short-drama-shot-card {
  border: 1px solid rgba(148, 164, 187, 0.16);
  border-radius: 14px;
  background: rgba(16, 24, 39, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.nc-short-drama-character-card { padding: 18px; }
.nc-short-drama-character-reference {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--nc-short-drama-border, #d8dce5);
  border-radius: 12px;
}
.nc-short-drama-character-reference img {
  width: 96px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 9px;
}
.nc-short-drama-character-reference > span,
.nc-short-drama-character-reference > small { flex: 1; }
.nc-short-drama-avatar-picker {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid var(--nc-short-drama-border, #d8dce5);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.78);
}
.nc-short-drama-avatar-picker-head,
.nc-short-drama-avatar-picker-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nc-short-drama-avatar-picker-head { margin-bottom: 11px; }
.nc-short-drama-avatar-picker-head strong { font-size: 12px; }
.nc-short-drama-avatar-picker-head small,
.nc-short-drama-avatar-state { color: var(--sd-muted); font-size: 10px; }
.nc-short-drama-avatar-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 9px;
}
.nc-short-drama-avatar-option {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 7px;
  border: 1px solid var(--nc-short-drama-border, #d8dce5);
  border-radius: 10px;
  color: inherit;
  background: #101827;
  text-align: left;
}
.nc-short-drama-avatar-option:hover { border-color: #d89a3b; }
.nc-short-drama-avatar-option.is-selected {
  border-color: #d88716;
  background: #fff8e9;
  box-shadow: 0 0 0 2px rgba(216, 135, 22, 0.12);
}
.nc-short-drama-avatar-option img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf0f5;
}
.nc-short-drama-avatar-option .nc-short-drama-avatar-copy,
.nc-short-drama-avatar-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-short-drama-avatar-option span { font-size: 11px; font-weight: 650; }
.nc-short-drama-avatar-option small { margin-top: 3px; color: var(--sd-muted); font-size: 9px; }
.nc-short-drama-avatar-state { padding: 10px 2px; }
.nc-short-drama-avatar-state.is-error { color: #c2415d; }
.nc-short-drama-avatar-picker-actions { justify-content: flex-start; margin-top: 11px; }
.nc-short-drama-avatar-picker-actions button { min-height: 32px; padding: 6px 11px; }
.nc-short-drama-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.nc-short-drama-card-heading strong,
.nc-short-drama-card-heading small { display: block; }
.nc-short-drama-card-heading strong { font: 650 16px/1.4 Georgia, "Songti SC", serif; }
.nc-short-drama-card-heading small { margin-top: 2px; color: var(--sd-muted); font-size: 10px; }

.nc-short-drama-version-tabs { display: flex; gap: 7px; margin: -4px 0 18px; overflow-x: auto; }
.nc-short-drama-version-tabs button { min-height: 30px; padding: 5px 11px; color: var(--sd-muted); background: transparent; }
.nc-short-drama-version-tabs button.is-active { color: #f1c768; border-color: rgba(231, 178, 76, 0.34); background: rgba(231, 178, 76, 0.1); }
.nc-short-drama-dialogue-list { margin-top: 24px; }
.nc-short-drama-dialogue-list > header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px;
}
.nc-short-drama-dialogue-list h3 { margin: 0; font: 650 16px/1.4 Georgia, "Songti SC", serif; }
.nc-short-drama-dialogue-list header small { display: block; color: var(--nc-muted); margin-top: 3px; }
.nc-short-drama-dialogue {
  display: grid; grid-template-columns: minmax(170px,.8fr) minmax(220px,1fr) minmax(280px,2fr) auto;
  gap: 10px; align-items: end; margin-bottom: 10px; padding: 12px;
  border: 1px solid var(--nc-line); border-radius: 12px;
}
.nc-short-drama-dialogue label { min-width: 0; }
.nc-short-drama-dialogue textarea { min-height: 68px; }
.nc-short-drama-dialogue input[readonly] { color: var(--nc-muted); cursor: default; }
.nc-short-drama-dialogue-actions { display: flex; gap: 6px; padding-bottom: 1px; }

.nc-short-drama-shot-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  overflow: hidden;
}

.nc-short-drama-shot-number {
  padding: 20px 12px;
  border-right: 1px solid rgba(148, 164, 187, 0.12);
  color: #94a4bb;
  background: linear-gradient(180deg, #111a29, #0c1420);
  text-align: center;
}

.nc-short-drama-shot-number span,
.nc-short-drama-shot-number strong { display: block; }
.nc-short-drama-shot-number span { font: 650 17px/1.2 Georgia, serif; }
.nc-short-drama-shot-number strong { margin-top: 11px; padding: 5px 2px; border-radius: 10px; color: #f1c768; background: rgba(231, 178, 76, 0.12); font-size: 10px; }
.nc-short-drama-shot-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 18px; }

.nc-short-drama-cost-card {
  padding: 18px;
  border: 1px solid rgba(231, 178, 76, 0.26);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(231, 178, 76, 0.12), rgba(231, 178, 76, 0.05));
}

.nc-short-drama-cost-card > span { color: #94a4bb; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.nc-short-drama-cost-card > strong { display: block; margin: 7px 0; color: #f1c768; font: 700 30px/1 Georgia, serif; }
.nc-short-drama-cost-card > strong small { font: 650 12px/1 sans-serif; }
.nc-short-drama-cost-card p { margin: 0; color: #94a4bb; font-size: 10px; line-height: 1.65; }
.nc-short-drama-inspector dl { margin: 18px 0; }
.nc-short-drama-inspector dl div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 2px; border-bottom: 1px solid var(--sd-line); font-size: 11px; }
.nc-short-drama-inspector dt { color: var(--sd-muted); }
.nc-short-drama-inspector dd { margin: 0; color: #cbd6e4; font-weight: 650; text-align: right; }

.nc-short-drama-plan-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 64px;
  padding: 13px 15px;
  border: 0;
  border-radius: 12px;
  color: #1a1206;
  background: linear-gradient(135deg, #f1c768, #e7b24c);
  box-shadow: 0 12px 25px rgba(180, 83, 9, 0.18);
  text-align: left;
}

.nc-short-drama-plan-button span { font-size: 13px; font-weight: 750; }
.nc-short-drama-plan-button small { margin-top: 5px; color: rgba(26, 18, 6, 0.68); font-size: 9px; }
.nc-short-drama-plan-button:disabled { cursor: not-allowed; color: #5c6b82; background: rgba(148, 164, 187, 0.08); box-shadow: none; }
.nc-short-drama-plan-button:disabled small { color: #5c6b82; }

.nc-short-drama-progress,
.nc-short-drama-error { margin-top: 14px; padding: 13px; border-radius: 10px; }
.nc-short-drama-progress { border: 1px solid rgba(231, 178, 76, 0.26); background: rgba(231, 178, 76, 0.08); }
.nc-short-drama-progress > div { height: 5px; overflow: hidden; border-radius: 3px; background: rgba(231, 178, 76, 0.14); }
.nc-short-drama-progress > div span { display: block; height: 100%; border-radius: inherit; background: var(--sd-accent); transition: width 0.25s; }
.nc-short-drama-progress strong,
.nc-short-drama-progress small { display: block; }
.nc-short-drama-progress strong { margin-top: 9px; color: #f1c768; font-size: 11px; }
.nc-short-drama-progress small { margin-top: 3px; color: #94a4bb; font-size: 9px; }
.nc-short-drama-error { border: 1px solid rgba(244, 112, 138, 0.34); color: #f4708a; background: rgba(244, 112, 138, 0.08); }
.nc-short-drama-error strong { font-size: 11px; }
.nc-short-drama-error p { margin: 6px 0 10px; font-size: 10px; line-height: 1.55; }
.nc-short-drama-error button { min-height: 30px; color: #f4708a; border-color: rgba(244, 112, 138, 0.34); background: rgba(244, 112, 138, 0.08); font-size: 10px; }

.nc-short-drama-complete {
  width: min(660px, 100%);
  margin: clamp(40px, 9vh, 120px) auto 0;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(231, 178, 76, 0.24);
  border-radius: 20px;
  background: rgba(16, 24, 39, 0.94);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.nc-short-drama-complete-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: #1a1206;
  background: #e7b24c;
  box-shadow: 0 10px 30px rgba(184, 121, 29, 0.2);
  font-size: 26px;
}

.nc-short-drama-complete p:last-child { max-width: 480px; margin: 17px auto 0; color: var(--sd-muted); font-size: 12px; line-height: 1.8; }
.nc-short-drama-loading { display: grid; place-items: center; height: 100%; color: var(--sd-muted); font-size: 13px; }

.nc-short-drama-load-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1;
}

.nc-short-drama-load-state {
  width: min(460px, calc(100% - 36px));
  margin: auto;
  padding: 42px;
  border: 1px solid rgba(148, 164, 187, 0.16);
  border-radius: 18px;
  background: rgba(16, 24, 39, 0.96);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.nc-short-drama-load-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #f1c768;
  background: rgba(231, 178, 76, 0.12);
  font: 700 23px/1 Georgia, serif;
}

.nc-short-drama-load-state h2 { margin: 0; font: 650 24px/1.3 Georgia, "Songti SC", serif; }
.nc-short-drama-load-state p { margin: 14px 0 22px; color: var(--sd-muted); font-size: 12px; line-height: 1.7; }
.nc-short-drama-load-actions { display: flex; justify-content: center; gap: 9px; }
.nc-short-drama-load-actions button { min-width: 92px; min-height: 38px; border: 1px solid var(--sd-line); border-radius: 9px; color: #cbd6e4; background: rgba(148, 164, 187, 0.06); font-size: 12px; font-weight: 650; }
.nc-short-drama-load-actions button:first-child { color: #1a1206; border-color: var(--sd-accent); background: linear-gradient(135deg, #f1c768, #e7b24c); }

@media (max-width: 1080px) {
  .nc-short-drama-topbar { grid-template-columns: 190px 1fr 44px; gap: 8px; padding: 0 14px; }
  .nc-short-drama-stage { min-width: 95px; padding-right: 8px; padding-left: 8px; font-size: 11px; }
  .nc-short-drama-layout { grid-template-columns: 190px minmax(500px, 1fr); }
  .nc-short-drama-inspector {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    align-items: start;
    gap: 14px 24px;
    max-height: none;
    border-top: 1px solid rgba(148, 164, 187, 0.14);
    border-left: 0;
  }
  .nc-short-drama-inspector > .nc-short-drama-section-title { grid-column: 1 / -1; margin-bottom: 0; }
  .nc-short-drama-inspector > .nc-short-drama-cost-card,
  .nc-short-drama-inspector > dl { grid-row: span 2; }
}

@media (max-width: 760px) {
  .nc-short-drama-topbar { min-height: 112px; grid-template-columns: 1fr 42px; align-content: center; }
  .nc-short-drama-topbar nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; justify-content: flex-start; }
  .nc-short-drama-stage { min-width: 100px; padding: 10px 6px 12px; }
  .nc-short-drama-layout { display: block; overflow: auto; }
  .nc-short-drama-character-rail { display: none; }
  .nc-short-drama-editor { min-height: 100%; overflow: visible; padding: 20px 14px 60px; }
  .nc-short-drama-inspector { display: block; padding: 20px 14px 40px; }
  .nc-short-drama-form-grid,
  .nc-short-drama-shot-fields { grid-template-columns: 1fr; }
  .nc-short-drama-form-grid label.is-wide,
  .nc-short-drama-shot-fields label.is-wide { grid-column: auto; }
  .nc-short-drama-panel > header { flex-direction: column; }
  .nc-short-drama-actions { justify-content: flex-start; }
  .nc-short-drama-shot-card { grid-template-columns: 54px minmax(0, 1fr); }
  .nc-short-drama-dialogue { grid-template-columns: 1fr; }
}
.nc-short-drama-script-conflicts{
  margin:12px 0;padding:12px;border:1px solid #d97706;border-radius:10px;
  background:rgba(217,119,6,.1)
}
.nc-short-drama-script-conflicts>p{margin:6px 0 10px}
.nc-short-drama-script-conflict{
  display:grid;grid-template-columns:minmax(120px,.7fr) minmax(220px,1.8fr) auto auto;
  gap:8px;align-items:center;padding:8px 0;border-top:1px solid rgba(217,119,6,.25)
}
.nc-short-drama-script-conflict small{overflow-wrap:anywhere}
@media(max-width:760px){
  .nc-short-drama-script-conflict{grid-template-columns:1fr 1fr}
  .nc-short-drama-script-conflict small{grid-column:1/-1}
}
