/* AutoTube Factory — User1 private Scenario UX V3.6 */
/* Presentation only. Keep DOM nodes, textarea IDs, bindings and generated output untouched. */

/* Consistent 3-row empty-state arrangement in both columns. */
@media (min-width: 851px) {
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane #scenarioTopicView:has(#scenarioTopicsList:empty) > #scenarioTopicEmpty:not(.hidden):not([hidden]),
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane .scenario-generation-results:has(#scenarioGeneratedLocalized:placeholder-shown) .at-private-script-empty {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 48px minmax(70px, auto) 24px !important;
    align-content: center !important;
    justify-content: stretch !important;
    justify-items: center !important;
    align-items: center !important;
    row-gap: 10px !important;
    text-align: center !important;
  }

  /* The right field has a lower visual center due to the absence of bottom controls. */
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane .scenario-generation-results:has(#scenarioGeneratedLocalized:placeholder-shown) .at-private-script-empty {
    padding: 24px 24px 80px !important;
  }

  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane #scenarioTopicView:has(#scenarioTopicsList:empty) > #scenarioTopicEmpty::before {
    grid-row: 1;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
  }
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane #scenarioTopicView:has(#scenarioTopicsList:empty) > #scenarioTopicEmpty::after {
    grid-row: 3;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
  }
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane .at-private-script-empty svg {
    grid-row: 1;
    justify-self: center !important;
    align-self: center !important;
  }
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane .at-private-script-empty strong {
    grid-row: 2;
    margin: 0 !important;
    align-self: center !important;
    justify-self: center !important;
  }
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane .at-private-script-empty p:not([hidden]) {
    grid-row: 3;
    margin: 0 !important;
    align-self: center !important;
    justify-self: center !important;
  }
}

/* Apply the same vertical hierarchy at all viewports. */
html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane .at-private-script-empty svg {
  color: #F00016 !important;
  stroke: currentColor !important;
  opacity: 1 !important;
}

/* Preserve contrast and balanced icon size on mobile. */
@media (max-width: 850px) {
  html:not([data-autotube-theme="dark"]) body #scenarioGeneratePane .at-private-script-empty svg {
    color: #F00016 !important;
  }
}

/* AUTOTUBE_PRIVATE_SCENARIO_UX_V3_6_END */
