/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.2.9_@babel+core@7.28.0_@opentelemetry+api@1.9.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/.pnpm/next@15.2.9_@babel+core@7.28.0_@opentelemetry+api@1.9.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.driver-active .driver-overlay,.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in .2s ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in .2s}.driver-popover{all:unset;box-sizing:border-box;color:#2d2d2d;margin:0;padding:15px;border-radius:5px;min-width:250px;max-width:300px;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0;background-color:#fff}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif}.driver-popover-title{font:19px/normal sans-serif;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1;margin:0}.driver-popover-close-btn{all:unset;position:absolute;top:0;right:0;width:32px;height:28px;cursor:pointer;font-size:18px;font-weight:500;color:#d2d2d2;z-index:1;text-align:center;transition:color;transition-duration:.2s}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;font-weight:400;zoom:1}.driver-popover-footer{margin-top:15px;text-align:right;zoom:1;display:flex;align-items:center;justify-content:space-between}.driver-popover-progress-text{font-size:13px;font-weight:400;color:#727272;zoom:1}.driver-popover-footer button{all:unset;display:inline-block;box-sizing:border-box;padding:3px 7px;text-decoration:none;text-shadow:1px 1px 0 #fff;background-color:#fff;color:#2d2d2d;font:12px/normal sans-serif;cursor:pointer;outline:0;zoom:1;line-height:1.3;border:1px solid #ccc;border-radius:3px}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:hover,.driver-popover-footer button:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{display:flex;flex-grow:1;justify-content:flex-end}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";position:absolute;border:5px solid #fff}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{left:100%;border-right-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-right{right:100%;border-left-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-top{top:100%;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.driver-popover-arrow-side-bottom{bottom:100%;border-left-color:transparent;border-top-color:transparent;border-right-color:transparent}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-start,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-end,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{top:50%;margin-top:-5px}.driver-popover-arrow-side-top.driver-popover-arrow-align-center,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center{left:50%;margin-left:-5px}.driver-popover-arrow-none{display:none}

/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.2.9_@babel+core@7.28.0_@opentelemetry+api@1.9.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/.pnpm/next@15.2.9_@babel+core@7.28.0_@opentelemetry+api@1.9.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/camera-studio/composer.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Shared video creator surface; model capabilities remain independent. */
.video-composer {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 26px;
  background: #1c1e20;
  color: #f4f4f5;
  padding: 4px;
  box-shadow:
    0 20px 48px -24px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.cinema-setting {
  background: linear-gradient(180deg, #2b2d2f, #27292b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.cinema-setting:hover {
  background: #333537;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.cinema-setting:focus-visible {
  outline: 2px solid #d5f06d;
  outline-offset: 2px;
}
.cinema-setting-icon {
  background: linear-gradient(145deg, #383b3e, #181a1d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 2px 3px rgba(0, 0, 0, 0.25);
}
.video-composer [data-tour="prompt-input"] {
  background: #252729;
  border-radius: 20px 20px 0 0;
  margin: 0 6px;
  padding: 12px 8px 0;
}
.video-composer textarea {
  color: #f4f4f5;
  line-height: 1.65;
}
.video-composer textarea::placeholder {
  color: #8a8c8f;
}
.video-composer-toolbar {
  margin: 0 6px 6px;
  padding: 10px 12px 12px;
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: #252729;
}
.video-composer-toolbar button:not(.video-composer-generate) {
  border-color: transparent;
  border-radius: 12px;
  background-color: #323436;
  color: #e6e6e7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.video-composer-toolbar button:not(.video-composer-generate):hover {
  background-color: #3b3d40;
}
:is(.video-composer-toolbar, .creator-workbench) .video-composer-generate {
  height: 48px;
  min-width: 150px;
  border-radius: 15px;
  background: #d5f06d;
  color: #191d0b;
  font-weight: 700;
  box-shadow:
    0 4px 0 #85983b,
    0 7px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
:is(.video-composer-toolbar, .creator-workbench)
  .video-composer-generate:hover {
  background: #e0f68b;
}
:is(.video-composer-toolbar, .creator-workbench)
  .video-composer-generate:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #85983b;
}
.video-composer-generate > div {
  background: rgba(0, 0, 0, 0.08);
  color: #191d0b;
}
@media (max-width: 640px) {
  .video-composer {
    border-radius: 20px;
  }
  :is(.video-composer-toolbar, .creator-workbench) .video-composer-generate {
    width: 100%;
    min-width: 0;
  }
  .video-composer[data-workspace-composer]
    .video-composer-toolbar
    .video-composer-generate {
    width: auto;
    flex: 1 1 0%;
  }
}

@media (max-width: 639px) {
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar]) {
    --pixwit-mobile-card-radius: 20px;
    --pixwit-mobile-pill-radius: 9999px;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar]) {
    border-radius: var(--pixwit-mobile-card-radius, 20px);
  }
  .video-composer[data-home-form] {
    padding: 0;
  }
  .video-composer[data-home-form] [data-tour="prompt-input"] {
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--pixwit-mobile-card-radius, 20px)
      var(--pixwit-mobile-card-radius, 20px) 0 0;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .video-composer-toolbar {
    border-radius: 0 0 var(--pixwit-mobile-card-radius, 20px)
      var(--pixwit-mobile-card-radius, 20px);
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .video-composer-toolbar
    button:not(.video-composer-generate) {
    border-radius: var(--pixwit-mobile-pill-radius, 9999px) !important;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .video-composer-toolbar
    .video-composer-generate {
    border-radius: var(--pixwit-mobile-pill-radius, 9999px) !important;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .video-composer-toolbar.home-form-toolbar {
    box-sizing: border-box;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 10px 12px 12px;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chips {
    width: 100%;
    max-width: 100%;
    flex: none;
    align-items: stretch;
    box-sizing: border-box;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chips
    .home-form-toolbar-extra {
    display: none;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip {
    min-width: 0;
    width: 100%;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip
    > span {
    width: 100%;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip
    button {
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-content: flex-start;
    overflow: hidden;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip
    [data-tour="model-selector"]
    > div {
    min-width: 0;
    width: 100%;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip
    [data-tour="model-selector"]
    span.truncate {
    flex: 1;
    min-width: 0;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .video-composer-toolbar.home-form-toolbar
    .video-composer-generate {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip
    > button,
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip
    [data-video-generation-settings],
  .video-composer:is([data-home-form], [data-mobile-composer-toolbar])
    .home-form-toolbar-chip
    [data-video-model-selector] {
    box-sizing: border-box;
  }
  .video-composer[data-workspace-composer]
    .video-composer-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .video-composer[data-workspace-composer]
    .video-composer-toolbar
    [data-tour="generation-mode-selector"] {
    flex: 0 0 auto;
    max-width: 2.25rem;
  }
  .video-composer[data-workspace-composer]
    .video-composer-toolbar
    .video-composer-generate {
    width: auto;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
  }
  [data-workspace-image-composer-toolbar] .video-composer-generate {
    width: auto;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
  }
  .mobile-settings-picker-popover {
    z-index: 120;
  }
  .video-composer[data-mobile-composer-toolbar]
    .workspace-mobile-more-settings {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .video-composer[data-mobile-composer-toolbar]
    .workspace-mobile-more-settings
    .composer-settings-icon {
    display: block;
    flex-shrink: 0;
    transform: none;
  }
  .video-composer[data-mobile-composer-toolbar]
    .workspace-mobile-more-settings
    .workspace-mobile-more-settings-leading {
    line-height: 0;
  }
  .video-composer[data-workspace-composer]
    .workspace-toolbar-model-param-chips {
    display: none !important;
  }
}

:is(.video-composer-toolbar, .creator-workbench)
  .video-composer-generate:disabled {
  opacity: 0.45;
  transform: none;
  box-shadow: 0 2px 0 #85983b;
}

/* Radix menus render in portals, outside the composer DOM subtree. */
body:has(.video-composer)
  :is(
    [data-slot="popover-content"],
    [data-slot="dropdown-menu-content"],
    [data-slot="dropdown-menu-sub-content"],
    [data-slot="dialog-content"]
  ) {
  background: rgba(36, 40, 43, 0.9) !important;
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 22px !important;
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
body:has(.video-composer)
  :is(
    [data-slot="dropdown-menu-content"],
    [data-slot="dropdown-menu-sub-content"]
  ) {
  padding: 8px;
}
body:has(.video-composer)
  :is(
    [data-slot="dropdown-menu-item"],
    [data-slot="dropdown-menu-radio-item"],
    [data-slot="dropdown-menu-checkbox-item"]
  ) {
  min-height: 38px;
  border-radius: 12px;
  color: #e7e8e9;
}
body:has(.video-composer) [data-highlighted] {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: white !important;
}
body:has(.video-composer) [data-state="checked"] {
  color: #d5f06d;
}
body:has(.video-composer) [data-slot="dialog-content"] .text-white\/45 {
  color: #a0a3a6;
}
.video-model-menu {
  color: #f4f4f5;
}
.video-model-menu [role="menu"] {
  padding: 8px;
  border-color: rgba(255, 255, 255, 0.06);
}
.video-model-menu [role="menuitem"] {
  border-radius: 14px;
  padding: 12px;
  color: #e9e9eb;
}
.video-model-menu [role="menuitem"]:hover,
.video-model-menu [role="menuitem"]:focus-visible,
.video-model-menu [aria-expanded="true"],
.video-model-menu [aria-current="true"] {
  background: rgba(255, 255, 255, 0.085);
}
.video-model-menu [aria-current="true"] > svg {
  color: #d5f06d;
}
.video-model-menu .bg-muted {
  background-color: rgba(255, 255, 255, 0.055);
}
.video-model-menu .text-muted-foreground {
  color: #979b9f;
}
.video-model-menu input::placeholder {
  color: #93979b;
}
@supports not (backdrop-filter: blur(1px)) {
  body:has(.video-composer)
    :is(
      [data-slot="popover-content"],
      [data-slot="dropdown-menu-content"],
      [data-slot="dialog-content"]
    ) {
    background: #25292c !important;
  }
}

.video-composer .video-material-row {
  order: 1;
  padding-bottom: 8px;
}
.video-composer .cinema-director-wrapper {
  order: 2;
}
.video-composer [data-tour="prompt-input"] {
  order: 4;
}
.video-composer p[role="alert"] {
  order: 3;
}
.video-composer .cinema-director .cinema-setting {
  padding-top: 8px;
  padding-bottom: 8px;
}

@media (max-width: 639px) {
  .cinema-director .cinema-director-settings-rail .cinema-setting {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .director-panel-mobile-sheet::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 0.25rem;
    margin: 0 auto 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
  }
}
.video-composer textarea {
  background: transparent !important;
}

.creator-workbench
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.creator-workbench textarea,
.creator-workbench select,
.creator-workbench [role="combobox"] {
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
  background: #252729 !important;
  color: #f4f4f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.creator-workbench textarea {
  padding: 14px;
  font-size: 14px;
  line-height: 1.65;
}
.creator-workbench input::placeholder,
.creator-workbench textarea::placeholder {
  color: #898d91;
}
.creator-workbench label {
  color: #b5b7bb;
}
.creator-workbench .text-muted-foreground {
  color: #999da2;
}
.creator-workbench [role="combobox"]:hover {
  background: #2e3033 !important;
}
.opus-workbench-form {
  gap: 16px;
}
.opus-workbench-form button.border-dashed {
  min-height: 88px;
  background: #252729;
  border-color: rgba(255, 255, 255, 0.13);
  color: #e3e4e6;
}
.opus-workbench-form button.border-dashed:hover {
  border-color: #d5f06d;
  background: #2c2f30;
}

/* Film setup: real moving examples, centered selection, quiet neighboring cards. */
.film-preview {
  outline: none;
  min-width: 0;
}
.film-preview header h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 5px;
}
.film-preview header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}
.film-preview-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 270px;
  margin: 24px -16px 16px;
  padding: 24px 0;
}
.film-preview-arc {
  background: radial-gradient(
    ellipse at 50% 120%,
    rgba(255, 255, 255, 0.07),
    transparent 68%
  );
}
.film-preview-screen {
  position: relative;
  width: 72%;
  max-width: 550px;
  aspect-ratio: 16/9;
  border-radius: 28px;
  overflow: hidden;
  background: #17191a;
  border: 2px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 0 0 5px #191b1c,
    0 14px 32px #0004;
  z-index: 2;
}
.film-preview-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.film-preview-neighbor {
  position: absolute;
  top: 50%;
  width: 36%;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  opacity: 0.5;
  border: 2px solid #ffffff20;
  transform: translateY(-50%);
  transition: opacity 0.2s;
}
.film-preview-neighbor:hover {
  opacity: 0.8;
}
.film-preview-neighbor.left {
  left: -22%;
}
.film-preview-neighbor.right {
  right: -22%;
}
.film-preview-arc .film-preview-neighbor.left {
  transform: translateY(-10%) rotate(35deg);
}
.film-preview-arc .film-preview-neighbor.right {
  transform: translateY(-10%) rotate(-35deg);
}
.film-preview-neighbor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-preview-neighbor span {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  font-size: 12px;
  color: white;
  text-shadow: 0 1px 4px #000;
}
.film-preview-play {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 8px;
  border-radius: 50%;
  color: white;
  background: #0005;
  opacity: 0;
  transition: opacity 0.2s;
}
.film-preview-screen:hover .film-preview-play,
.film-preview-play:focus-visible {
  opacity: 1;
}
.film-preview-cuts {
  position: absolute;
  bottom: 16px;
  left: 5%;
  right: 5%;
  display: flex;
  gap: 5px;
  height: 5px;
}
.film-preview-cuts span {
  background: #ffffff55;
  border-radius: 4px;
}
.film-preview-cuts i {
  position: absolute;
  inset: 0 auto 0 0;
  background: #fff8;
  border-radius: 4px;
  pointer-events: none;
}
.film-preview-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 20px;
}
.film-preview-navigation button {
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(#ffffff18, #ffffff08);
  border: 1px solid #ffffff25;
  box-shadow: inset 0 1px 5px #ffffff15;
}
.film-preview-navigation strong {
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  min-width: 120px;
  border-radius: 24px;
  padding: 8px 20px;
  background: #ffffff0a;
  border: 1px solid #ffffff20;
}
.film-era-ruler {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  margin: 10px 4%;
}
.film-era-ruler i {
  width: 3px;
  height: 13px;
  background: #ffffff15;
  border-radius: 3px;
}
.film-era-ruler i:nth-child(3n) {
  height: 20px;
}
.film-era-ruler i.active {
  height: 32px;
  background: #d5f06d;
}
.film-preview:has(.film-era-ruler) .film-preview-navigation strong {
  color: #d5f06d;
  font-size: 28px;
  border: 0;
  background: none;
}
.film-preview-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.film-preview-options button {
  font-size: 12px;
  color: #ffffff60;
  padding: 7px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
}
.film-preview-options button:hover {
  background: #ffffff08;
  color: white;
}
.film-preview-options button[aria-pressed="true"] {
  color: #d5f06d;
  background: #d5f06d0b;
  border-color: #d5f06d25;
}
.film-preview-credit {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #ffffff30;
  margin-top: 16px;
}
.film-preview-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0009;
  font-size: 13px;
}
.film-preview-error button {
  display: flex;
  gap: 6px;
  align-items: center;
  border-radius: 15px;
  padding: 6px 14px;
  background: #ffffff20;
}
@media (max-width: 640px) {
  .film-preview-stage {
    min-height: 200px;
    margin-top: 10px;
  }
  .film-preview-screen {
    width: 84%;
    border-radius: 20px;
  }
  .film-preview-navigation strong {
    font-size: 18px;
  }
  .film-preview header h3 {
    font-size: 17px;
  }
  .film-preview header p {
    font-size: 12px;
  }
  .film-preview-play {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .film-preview * {
    transition: none !important;
  }
}

.film-preview-note {
  font-size: 12px;
  color: #d5f06daa;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 14px;
}
@media (max-height: 800px) and (min-width: 641px) {
  .film-preview-stage {
    min-height: 200px;
    margin-top: 12px;
    margin-bottom: 8px;
    padding: 12px 0;
  }
  .film-preview-screen {
    max-width: 400px;
  }
  .film-preview-navigation {
    margin: 8px 0 12px;
  }
  .film-preview-credit {
    margin-top: 10px;
  }
}

.film-preview-loading {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 20px;
  background: rgba(20, 22, 23, 0.75);
  color: #eee;
  font-size: 12px;
  pointer-events: none;
}

/* Pointer-driven film selector: vertical gestures retain page scrolling. */
.film-preview-stage {
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.film-preview-stage.is-dragging,
.film-preview-stage.is-dragging * {
  cursor: grabbing;
}
.film-preview-screen {
  transform: translateX(var(--film-drag-x, 0px))
    rotate(var(--film-drag-angle, 0deg));
  transition: transform 220ms ease-out;
}
.film-preview-neighbor {
  translate: var(--film-drag-x, 0px) 0;
  rotate: var(--film-drag-angle, 0deg);
  transition:
    translate 220ms ease-out,
    rotate 220ms ease-out,
    opacity 200ms;
}
.film-preview-stage.is-dragging .film-preview-screen,
.film-preview-stage.is-dragging .film-preview-neighbor {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .film-preview-screen,
  .film-preview-neighbor {
    transition: none;
  }
}

/* Film selectors fit the viewport; only the preview shrinks on short screens. */
.cinema-film-dialog {
  height: min(760px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  gap: 12px;
}
.cinema-film-dialog > :not(.cinema-film-body) {
  flex-shrink: 0;
}
.cinema-film-body {
  flex: 1;
  min-height: 0;
}
.cinema-film-content {
  min-height: 0;
  height: 100%;
}
.cinema-film-content .film-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.cinema-film-content .film-preview > :not(.film-preview-stage) {
  flex-shrink: 0;
}
.cinema-film-content .film-preview-stage {
  flex: 1;
  min-height: 0;
  margin: 8px -16px;
  padding: 8px 0;
}
.cinema-film-content .film-preview-screen {
  height: calc(100% - 12px);
  width: auto;
  max-width: 72%;
  max-height: 310px;
  flex-shrink: 0;
}
.cinema-film-content .film-preview-navigation {
  margin: 6px 0;
}
.cinema-film-content .film-preview-note {
  margin-bottom: 6px;
  font-size: 11px;
}
.cinema-film-content .film-era-ruler {
  height: 24px;
  margin: 4px 4%;
}
.cinema-film-content .film-era-ruler i.active {
  height: 24px;
}
.cinema-film-content .film-preview-options {
  gap: 2px;
}
.cinema-film-content .film-preview-options button {
  padding: 5px 9px;
}
@media (max-width: 767px) {
  .cinema-film-dialog {
    padding: 14px;
    gap: 8px;
  }
  .cinema-film-body {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
  }
  .cinema-film-body > nav button {
    padding: 8px 12px;
  }
  .cinema-film-content .film-preview-screen {
    max-width: 88%;
  }
}
@media (max-height: 600px) {
  .cinema-film-dialog > [id] + p {
    display: none;
  }
  .cinema-film-content .film-preview header h3 {
    font-size: 16px;
  }
  .cinema-film-content .film-preview header p {
    font-size: 11px;
    margin-top: 2px;
  }
  .cinema-film-content .film-preview-navigation strong {
    font-size: 18px;
    padding: 4px 14px;
  }
  .cinema-film-content .film-preview-navigation button {
    padding: 5px;
  }
}

/* Stable option cards travel along their tracks; selection never swaps slots. */
.setup-selection-track {
  position: relative;
  height: 264px;
  overflow: hidden;
  touch-action: pan-x;
  user-select: none;
  cursor: grab;
}
.setup-selection-track.is-dragging {
  cursor: grabbing;
}
.setup-selection-track .setup-selection-card {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 112px;
  margin: 0;
  transform-origin: center;
  transition:
    transform 300ms cubic-bezier(0.22, 0.68, 0.25, 1),
    opacity 300ms ease,
    border-color 300ms ease;
  will-change: transform;
}
.setup-selection-track.is-dragging .setup-selection-card {
  transition: none;
}
.film-selection-track .film-selection-card,
.cinema-film-content .film-selection-track .film-selection-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: auto;
  max-width: 550px;
  max-height: calc(100% - 16px);
  aspect-ratio: 16/9;
  margin: 0;
  translate: none;
  rotate: none;
  transform-origin: center;
  transition:
    transform 340ms cubic-bezier(0.22, 0.68, 0.25, 1),
    opacity 340ms ease;
  will-change: transform;
}
.film-selection-track.is-dragging .film-selection-card {
  transition: none;
}
.film-selection-poster,
.film-selection-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.film-selection-track .film-preview-neighbor span {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .setup-selection-track .setup-selection-card,
  .film-selection-track .film-selection-card {
    transition: none;
  }
}

.palette-editor-dialog {
  width: calc(100vw - 32px);
  max-width: 1100px;
  height: min(760px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
}
.palette-editor-body {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  background: #27292b;
}
.palette-editor-source {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 20px;
  border-right: 1px solid #ffffff08;
}
.palette-image-picker {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 20px;
  background: #323436;
  overflow: hidden;
  font-size: 18px;
}
.palette-image-picker img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.palette-color-wheel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: #ffffff80;
}
.palette-color-wheel input {
  width: 180px;
  height: 180px;
  border: none;
  border-radius: 50%;
  background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red);
  padding: 20px;
  cursor: pointer;
}
.palette-editor-colors {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
}
.palette-editor-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.palette-edit-swatch,
.palette-empty-swatch {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 0;
  background: #323436;
}
.palette-edit-swatch.is-main {
  box-shadow: inset 0 0 0 3px white;
}
.palette-edit-swatch > input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}
.palette-remove-color {
  position: absolute;
  right: 6px;
  top: 6px;
  background: #0005;
  border-radius: 50%;
  padding: 5px;
}
.palette-swatch-tools {
  display: flex;
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  gap: 4px;
  align-items: center;
  padding: 8px;
  background: #0005;
  font-size: 12px;
}
.palette-swatch-tools input {
  width: 100%;
  min-width: 0;
  background: transparent;
  color: white;
  outline: none;
}
.palette-empty-swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.palette-empty-swatch:disabled {
  opacity: 0.35;
}
.palette-editor-save {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .palette-editor-body {
    grid-template-columns: 1fr;
    grid-template-rows: 150px minmax(0, 1fr);
  }
  .palette-editor-source {
    padding: 12px;
    gap: 8px;
    flex-direction: row;
  }
  .palette-editor-source > .flex {
    flex-direction: column;
    font-size: 12px;
  }
  .palette-image-picker {
    font-size: 13px;
  }
  .palette-color-wheel {
    flex-direction: row;
    gap: 8px;
  }
  .palette-color-wheel input {
    width: 70px;
    height: 70px;
    padding: 10px;
  }
  .palette-editor-colors {
    padding: 12px;
  }
  .palette-editor-save {
    gap: 8px;
    padding-top: 10px;
    font-size: 12px;
  }
  .palette-swatch-tools {
    font-size: 10px;
    padding: 5px;
  }
}

/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.2.9_@babel+core@7.28.0_@opentelemetry+api@1.9.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/.pnpm/next@15.2.9_@babel+core@7.28.0_@opentelemetry+api@1.9.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/components/ai-text-image-to-video/studio.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.video-studio-page {
  --background: #111214;
  --foreground: #f3f4f5;
  --card: #161719;
  --card-foreground: #f3f4f5;
  --muted: #242527;
  --muted-foreground: #96999e;
  --border: #303236;
  --input: #303236;
  color: #f3f4f5;
  background: #111214;
  border-radius: 24px;
}
.video-studio-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.video-studio-sidebar { min-width: 0; scroll-margin-top: 16px; }
.video-studio-form[data-slot="card"] {
  width: 100%; min-width: 0; max-width: none; height: 100%; padding: 0;
  border: 1px solid #ffffff12; border-radius: 24px; background: #161719;
  box-shadow: none; backdrop-filter: none; transform: none; translate: none;
}
.video-studio-form[data-slot="card"]:hover { border-color: #ffffff18; box-shadow: none; transform: none; translate: none; }
.video-studio-form [data-slot="card-header"] { padding: 20px 20px 12px; border: 0; gap: 8px; }
.video-studio-form [data-slot="card-title"] { font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.video-studio-form-subtitle { max-width: 32ch; font-size: 12px; line-height: 1.6; color: #93969b; }
.video-studio-form [data-video-form-scroll] { padding: 0 20px 20px; scrollbar-width: thin; scrollbar-color: #424448 transparent; }
.video-studio-form [data-video-form-scroll] > * + * { margin-top: 20px; }
.video-studio-form label { color: #bfc1c6; font-size: 12px; font-weight: 500; }
.video-studio-form [data-video-mode-tabs] { border: 0; border-bottom: 1px solid #ffffff10; border-radius: 0; background: transparent; gap: 12px; }
.video-studio-form [data-video-mode] {
  flex: 1; min-height: 46px; padding: 8px 0 12px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: #8f9298; font-size: 12px; line-height: 1.35; border-radius: 0;
}
.video-studio-form [data-video-mode] svg { display: none; }
.video-studio-form [data-video-mode]:hover { color: #e8e9eb; background: transparent; }
.video-studio-form [data-video-mode][aria-selected="true"] { color: #f3f4f5; border-bottom-color: #d4f58a; background: transparent; }
.video-studio-model-field > button { min-height: 70px; padding: 12px 14px; border-radius: 15px; border: 1px solid #ffffff12; background: #222325; }
.studio-model-caption { font-size: 11px; line-height: 1.4; color: #90959d; }
.video-studio-model-menu { max-width: calc(100vw - 32px); border: 1px solid #ffffff18; border-radius: 18px; background: #222325; color: #eef0f3; box-shadow: 0 16px 48px #00000060; }
.video-studio-model-menu .video-model-menu { min-width: 0; }
.video-studio-model-menu .video-model-menu > div { min-width: 0; max-height: min(28rem, calc(100dvh - 180px)); }
.video-studio-model-menu [role="menu"]:first-child { flex-shrink: 0; }
.video-studio-model-menu [role="menu"] + [role="menu"] { min-width: 0; width: 20rem; }
.video-studio-model-menu button[aria-current="true"] { background: #ffffff0a; }
.studio-model-list-panel { width: 100%; max-width: calc(100vw - 32px); }
.studio-model-search { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #ffffff0d; color: #969ca4; }
.studio-model-search input { width: 100%; min-width: 0; background: transparent; color: #f0f1f3; font-size: 14px; outline: none; }
.studio-model-search input::placeholder { color: #858b94; }
.studio-model-list-heading { display: flex; align-items: center; gap: 8px; padding: 14px 16px 8px; color: #9da3ab; font-size: 12px; }
.studio-model-list-heading > span { padding: 1px 6px; border-radius: 5px; background: #ffffff08; font-size: 10px; }
.studio-model-list { display: flex; max-height: min(440px, calc(100dvh - 210px)); flex-direction: column; gap: 4px; overflow-y: auto; padding: 0 10px 12px; scrollbar-width: thin; }
.studio-model-option { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; text-align: left; }
.studio-model-option:hover, .studio-model-option[aria-checked="true"] { background: #ffffff06; }
.studio-model-option:focus-visible { outline: 2px solid #b7f52a; outline-offset: -2px; }
.studio-model-option:disabled { opacity: .4; cursor: not-allowed; }
.studio-model-icon { display: flex; width: 46px; height: 46px; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid #ffffff04; border-radius: 13px; background: linear-gradient(145deg, #34373a, #2c2f32); }
.studio-model-option-body { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 7px; }
.studio-model-option-name { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 14px; line-height: 1.4; color: #f1f2f4; }
.studio-model-badge { padding: 2px 5px; border-radius: 4px; background: #b7f52a; color: #192107; font-size: 9px; font-weight: 600; }
.studio-model-specs { display: flex; flex-wrap: wrap; gap: 5px; }
.studio-model-specs > span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 5px; border-radius: 5px; background: #ffffff07; color: #a2a7ae; font-size: 10px; line-height: 1.1; }
.studio-model-selected { flex-shrink: 0; color: #b7f52a; }
.studio-parameters { display: flex; flex-direction: column; gap: 10px; }
.studio-parameter-grid { display: grid; gap: 8px; }
.studio-parameter-card, .studio-parameter-row { display: flex; min-width: 0; align-items: center; gap: 8px; border: 1px solid #ffffff06; border-radius: 13px; background: #222426; color: #e0e3e7; }
.studio-parameter-card { min-height: 52px; justify-content: center; padding: 10px 8px; }
.studio-parameter-row { width: 100%; min-height: 52px; justify-content: space-between; padding: 12px 14px; }
.studio-parameter-card:hover, .studio-parameter-row:hover { border-color: #ffffff16; background: #2a2c2f; }
.studio-parameter-card:focus-visible, .studio-parameter-row:focus-visible { outline: 2px solid #b7f52a; outline-offset: 2px; }
.studio-parameter-name { display: flex; min-width: 0; align-items: center; gap: 8px; font-size: 13px; color: #a6adb6; }
.studio-parameter-card .studio-parameter-value { font-size: 14px; font-weight: 500; }
.studio-parameter-value { min-width: 0; font-size: 12px; color: #f0f2f5; }
.studio-parameter-row .studio-parameter-value { margin-left: auto; }
.studio-aspect-icon { display: inline-block; flex-shrink: 0; border: 1.5px solid currentColor; border-radius: 2px; }
.studio-parameter-input { display: flex; flex-direction: column; gap: 8px; }
.studio-parameter-menu { width: 200px; max-width: calc(100vw - 32px); padding: 6px; border-color: #ffffff12; border-radius: 15px; background: #202224; color: #edeff2; box-shadow: 0 12px 32px #00000050; }
.studio-parameter-menu [role="menu"] { display: flex; max-height: min(320px, calc(100dvh - 100px)); flex-direction: column; gap: 3px; overflow-y: auto; }
.studio-parameter-menu [role="menuitemradio"] { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 12px; border-radius: 9px; text-align: left; font-size: 13px; }
.studio-parameter-menu [role="menuitemradio"]:hover, .studio-parameter-menu [role="menuitemradio"][aria-checked="true"] { background: #ffffff07; }
.studio-parameter-menu [role="menuitemradio"]:focus-visible { outline: 2px solid #b7f52a; outline-offset: -2px; }
.video-studio-form [data-video-prompt] { border-radius: 16px; border: 1px solid #ffffff12; background: #202123; transition: border-color .15s, box-shadow .15s; }
.video-studio-form [data-video-prompt]:focus-within { border-color: #b7f52a66; box-shadow: 0 0 0 3px #b7f52a08; }
.video-studio-form [data-video-prompt-heading] { padding: 12px 16px 0; }
.video-studio-form [data-video-prompt-heading] label { color: #969da6; }
.video-studio-form [data-video-prompt] textarea { min-height: 148px; padding: 16px; background: transparent; font-size: 14px; line-height: 1.7; }
.video-studio-form [data-video-prompt] textarea::placeholder { color: #797d84; }
.video-studio-form [data-video-prompt] > div:last-child { border-color: #ffffff08; background: transparent; padding: 10px; }
.video-studio-form [data-video-prompt] > p { background: #ffffff03; border-color: #ffffff08; color: #8e939a; }
.video-studio-form [data-video-form-scroll] .border-dashed { border-width: 1px; border-color: #ffffff20; border-radius: 16px; background: #202123; }
.video-studio-form [data-video-form-scroll] input:not([type="file"]) { background: #222325; border-color: #ffffff12; border-radius: 12px; }
.video-studio-form [data-video-parameter] { min-height: 34px; border: 1px solid #ffffff0c; border-radius: 10px; background: #242628; color: #b6bac1; font-size: 12px; }
.video-studio-form [data-video-parameter]:hover { background: #303235; color: #f3f4f5; }
.video-studio-form [data-video-parameter][aria-pressed="true"] { border-color: #b7f52a40; background: #b7f52a10; color: #d2eaa8; }
.video-studio-form [data-slot="card-footer"] { padding: 16px 20px 20px; border-color: #ffffff0d; background: #161719; }
.video-studio-form [data-video-generate] {
  height: 54px; border-radius: 15px; background: #b7f52a; color: #152004;
  box-shadow: 0 3px 0 #749821; font-size: 15px; font-weight: 600; transition: background .15s, box-shadow .15s;
}
.video-studio-form [data-video-generate]:hover { background: #c5ff3e; box-shadow: 0 3px 0 #749821, 0 0 24px #b7f52a12; }
.video-studio-form [data-video-generate]:disabled { box-shadow: none; }
.video-studio-stage { display: flex; min-width: 0; min-height: 420px; flex-direction: column; border: 1px solid #ffffff12; border-radius: 24px; background: #151618; overflow: hidden; }
.video-studio-stage-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #ffffff0b; }
.video-studio-stage-heading { display: flex; min-width: 0; align-items: center; gap: 10px; }
.video-studio-stage-heading h2 { font-size: 14px; font-weight: 500; line-height: 1.4; }
.video-studio-stage-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: #26282b; color: #b7bbc0; }
.video-studio-stage-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.video-studio-stage-links a { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 9px; font-size: 12px; color: #9b9fa5; transition: color .15s, background .15s; }
.video-studio-stage-links a:hover { background: #ffffff06; color: #f3f4f5; }
.video-studio-stage-links a:focus-visible { outline: 2px solid #b7f52a; outline-offset: 2px; }
.video-studio-stage-body { display: flex; flex: 1; min-height: 0; align-items: center; justify-content: center; overflow: auto; padding: 24px; background: radial-gradient(ellipse at 50% 35%, #ffffff04, transparent 65%); }
.video-studio-empty { display: flex; width: min(100%, 620px); min-height: 340px; flex-direction: column; align-items: center; justify-content: center; padding: 32px 24px; text-align: center; }
.video-studio-empty-art { position: relative; width: 144px; height: 104px; margin-bottom: 30px; }
.video-studio-empty-frame { position: absolute; inset: 8px 10px 0; display: flex; align-items: center; justify-content: center; border: 1px solid #ffffff18; border-radius: 22px; background: linear-gradient(145deg, #2c2f32, #1e2022); color: #bbbec3; box-shadow: 0 16px 24px #00000024; }
.video-studio-empty-frame-back { transform: translate(-9px, -7px) rotate(-10deg); background: #202225; border-color: #ffffff0a; }
.video-studio-empty-spark { position: absolute; right: -2px; top: 0; display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #b7f52a30; border-radius: 12px; background: #272e1d; color: #b7f52a; }
.video-studio-empty .video-studio-empty-eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: .2em; color: #727880; }
.video-studio-empty h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.03em; color: #ebedef; }
.video-studio-empty > p:last-child { max-width: 38ch; margin-top: 12px; font-size: 13px; line-height: 1.8; color: #92969d; }
.video-studio-result { width: 100%; padding: 0; }
.video-studio-result > .container, .video-studio-result .video-result-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.video-studio-result .video-result-player { max-width: 100%; max-height: none; border: 1px solid #ffffff12; border-radius: 18px; background: #090a0b; box-shadow: 0 12px 48px #00000040; }
.video-studio-result .video-result-player video { display: block; width: auto; height: auto; max-width: 100%; max-height: min(60dvh, calc(100dvh - 300px), 580px); border-radius: 17px; object-fit: contain; }
.video-studio-result .video-result-actions { margin-top: 24px; }
.video-studio-result .video-result-progress { background: #202225; border-color: #ffffff12; box-shadow: none; }
.video-studio-guide { margin: 32px 8px 0; scroll-margin-top: 24px; padding-bottom: 32px; }
@media (min-width: 1024px) {
  .video-studio-layout { grid-template-columns: 360px minmax(0, 1fr); height: calc(100dvh - 96px); min-height: 480px; }
  .video-studio-sidebar { height: 100%; min-height: 0; }
  .video-studio-stage { min-height: 0; }
}
@media (min-width: 1600px) { .video-studio-layout { grid-template-columns: 390px minmax(0, 1fr); } }
@media (max-width: 1023px) {
  .video-studio-page { padding-bottom: 100px; }
  .video-studio-form [data-video-form-scroll] { overflow: visible; }
  .video-studio-form [data-slot="card-footer"] { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding-top: 12px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff14; background: #161719f5; backdrop-filter: blur(16px); }
  .video-studio-stage-body { padding: 20px 14px; }
  .video-studio-result .video-result-player video { max-height: 440px; }
}
@media (max-width: 480px) {
  .video-studio-model-menu [role="menu"]:first-child { width: 8rem; }
  .video-studio-model-menu [role="menu"] + [role="menu"] { width: calc(100vw - 160px); }
  .video-studio-form [data-slot="card-header"], .video-studio-stage-header { padding-left: 16px; padding-right: 16px; }
  .video-studio-form [data-video-form-scroll], .video-studio-form [data-slot="card-footer"] { padding-left: 16px; padding-right: 16px; }
  .video-studio-stage-links { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .video-studio-page *, .video-studio-page *::before, .video-studio-page *::after { scroll-behavior: auto; transition-duration: 0s; }
}

