.masonry_container__3t3WC {
  position: relative;
  display: grid;
  align-items: start;
  width: 100%;
}
.masonry_positioned__0DJl_ {
  display: block;
}
.masonry_item__ZCO0C {
  display: flow-root;
  min-width: 0;
}
.masonry_positioned__0DJl_ > .masonry_item__ZCO0C {
  position: absolute;
}

.UrlToVideoLinkInput_bar__NzBOT,
.UrlToVideoLinkInput_emptyButton__KzeBe {
  position: absolute;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 33px;
  font-weight: 400;
  font-size: 14px;
  font-family: var(--font-sans);
  line-height: 18px;
  letter-spacing: 0;
  border: 2px solid var(--neutral-0);
  border-radius: var(--radius-16);
}
.UrlToVideoLinkInput_bar__NzBOT {
  width: 212.461px;
  padding-right: 10px;
  padding-left: 8px;
  overflow: hidden;
  background: var(--neutral-250);
}
.UrlToVideoLinkInput_editingBar__YSSQI.UrlToVideoLinkInput_workspaceCanvas__7zsWa,
.UrlToVideoLinkInput_editingBar__YSSQI.UrlToVideoLinkInput_workspaceAgentPanel__eRbCw {
  right: 0;
  width: auto;
  min-width: 212.461px;
  max-width: 300px;
}
.UrlToVideoLinkInput_filledBar__AIwao {
  left: 0;
  width: 212.461px;
  background: var(--brand-purple-subtle);
}
.UrlToVideoLinkInput_home__Y6vBX,
.UrlToVideoLinkInput_workspaceCanvas__7zsWa {
  top: 2.7px;
}
.UrlToVideoLinkInput_editingBar__YSSQI.UrlToVideoLinkInput_home__Y6vBX,
.UrlToVideoLinkInput_filledBar__AIwao.UrlToVideoLinkInput_home__Y6vBX,
.UrlToVideoLinkInput_filledBar__AIwao.UrlToVideoLinkInput_workspaceCanvas__7zsWa {
  left: 0;
}
.UrlToVideoLinkInput_workspaceAgentPanel__eRbCw {
  top: 0;
}
.UrlToVideoLinkInput_filledBar__AIwao.UrlToVideoLinkInput_workspaceAgentPanel__eRbCw {
  left: 0;
}
.UrlToVideoLinkInput_iconWrap__d16dq {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.UrlToVideoLinkInput_icon__iflYA {
  width: 10.915px;
  height: 10.913px;
  color: var(--brand-purple-soft);
}
.UrlToVideoLinkInput_inputWrap__IHljf {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.UrlToVideoLinkInput_inputSizer__QwO2Y {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  white-space: pre;
  visibility: hidden;
}
.UrlToVideoLinkInput_input__V9JGq {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  color: var(--neutral-500);
  text-align: left;
  background: transparent;
  border: 0;
  outline: 0;
}
.UrlToVideoLinkInput_input__V9JGq::placeholder {
  color: var(--neutral-500);
}
.UrlToVideoLinkInput_valueButton__Csr6D {
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--neutral-900);
  white-space: nowrap;
  text-align: left;
  text-overflow: ellipsis;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.UrlToVideoLinkInput_clearButton__fNMMB {
  position: relative;
  z-index: 10;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--neutral-800);
  background: transparent;
  border: 0;
  border-radius: var(--radius-99);
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.UrlToVideoLinkInput_clearButton__fNMMB:hover {
  background: var(--neutral-black-8);
}
.UrlToVideoLinkInput_clearIcon__NiPoq {
  width: 14px;
  height: 14px;
}
.UrlToVideoLinkInput_emptyButton__KzeBe {
  width: 66.17px;

  /* Figma 描边位于控件内部，内容边界从外框 8px 处开始。 */
  padding-right: 8px;
  padding-left: 6px;
  color: var(--neutral-300);
  background: var(--neutral-250);
  cursor: pointer;
}
.UrlToVideoLinkInput_emptyButton__KzeBe.UrlToVideoLinkInput_home__Y6vBX,
.UrlToVideoLinkInput_emptyButton__KzeBe.UrlToVideoLinkInput_workspaceCanvas__7zsWa {
  /* 首页与 Workspace 画布态的 70.621px 旋转包围盒右侧对齐 Link 容器。 */
  right: 2.225px;
  transform: rotate(-9.27deg);
}
.UrlToVideoLinkInput_emptyButton__KzeBe.UrlToVideoLinkInput_workspaceAgentPanel__eRbCw {
  left: 0;
}
.UrlToVideoLinkInput_emptyLabel__HY8g8 {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 28.17px;
  height: 18px;
}

.workspaceModeTransition_backgroundStack__WeE3A {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.workspaceModeTransition_backgroundLayer__aZ7II {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  transform: translateZ(0);
  opacity: 0;
  transition: opacity var(--virash-composer-motion-duration) var(--virash-composer-motion-ease);
}
.workspaceModeTransition_backgroundLayerVisible__x28_k {
  opacity: 1;
}

/* 选择层关闭时保留旧壳层淡出，新模式内容在下方同帧恢复。 */
.workspaceModeTransition_modeSelectionLayer__GXv31 {
  transform: translate3d(0, 8px, 0);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--virash-composer-exit-duration) var(--virash-composer-motion-ease),
    transform var(--virash-composer-exit-duration) var(--virash-composer-motion-ease),
    visibility 0s var(--virash-composer-exit-duration);
  pointer-events: none;
}
.workspaceModeTransition_modeSelectionLayerVisible__57erQ {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
  transition-duration:
    var(--virash-composer-motion-duration),
    var(--virash-composer-motion-duration),
    0s;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .workspaceModeTransition_backgroundLayer__aZ7II,
  .workspaceModeTransition_modeSelectionLayer__GXv31,
  .workspaceModeTransition_modeSelectionLayerVisible__57erQ {
    transition: none;
  }
}

.ChatDiscountBanner_marqueeViewport__4ad8B{flex:1 1 auto;min-width:0;overflow:hidden}.ChatDiscountBanner_messageTrack__8IfAG{display:flex;width:max-content}.ChatDiscountBanner_marqueeTrack__IhMih{animation:ChatDiscountBanner_chat-discount-banner-marquee__wNZku 16s linear infinite;will-change:transform}.ChatDiscountBanner_marqueeCopy___vpS6{display:flex;flex-shrink:0;gap:6px;align-items:center;padding-right:32px}@keyframes ChatDiscountBanner_chat-discount-banner-marquee__wNZku{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.empty-state_root__BEmdd {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.empty-state_image__8ji6_ {
  flex-shrink: 0;
  width: 143.458px;
  height: 145.521px;
  object-fit: contain;
}
.empty-state_content__jWAdf {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.empty-state_title__To2_O {
  width: 100%;
  margin: 0;
  color: var(--neutral-900);
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-encode-expanded);
  line-height: 18px;
  letter-spacing: 0;
}
.empty-state_desc__lbUIK {
  margin: 0;
  color: var(--neutral-black-50);
  font-weight: 500;
  font-size: 11px;
  font-family: var(--font-sans);
  line-height: normal;
  letter-spacing: 0;
}

.CreateHookTemplateList_section__y6rL7 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.CreateHookTemplateList_header__eEPss {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.CreateHookTemplateList_title__i_01f {
  margin: 0;
  color: var(--neutral-900);
  font-weight: 700;
  font-size: 20px;
  font-family: var(--font-encode-expanded);
  line-height: 30px;
}
.CreateHookTemplateList_tabs__OSFH_ {
  display: flex;
  gap: 8px;
}
.CreateHookTemplateList_tab__r_rUU {
  height: 32px;
  padding: 1px 9px;
  color: #333;
  font-weight: 700;
  font-size: 12px;
  line-height: normal;
  background: var(--neutral-50);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
}
.CreateHookTemplateList_tab__r_rUU[aria-pressed="true"] {
  background: var(--neutral-0);
}
.CreateHookTemplateList_status__lterb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #6b7280;
  font-size: 14px;
}
.CreateHookTemplateList_card__3zk5o {
  position: relative;
  width: 100%;
  max-height: 489px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #d1d5db;
  border: 0;
  border-radius: var(--radius-12);
  cursor: pointer;
}

/* 媒体与标题不接管鼠标命中，视频声音和 ReCreate 保持独立操作。 */
.CreateHookTemplateList_media__zcso8,
.CreateHookTemplateList_caption__M_c5I {
  pointer-events: none;
}
.CreateHookTemplateList_mediaLayer__VRI1F {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.CreateHookTemplateList_media__zcso8 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.CreateHookTemplateList_caption__M_c5I {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-encode-expanded);
  line-height: 18px;
  overflow-wrap: anywhere;
  background: linear-gradient(to bottom, transparent, rgb(0 0 0 / 50%) 90.273%);
  /* backdrop-filter: blur(1.75px); */
  transition: opacity 0.2s ease;
}
.CreateHookTemplateList_recreate__rCvQY {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 16px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  background: #000;
  border: 0;
  border-radius: 999px;
  transform: translateY(6px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.CreateHookTemplateList_card__3zk5o:hover .CreateHookTemplateList_caption__M_c5I,
.CreateHookTemplateList_card__3zk5o:focus-within .CreateHookTemplateList_caption__M_c5I {
  opacity: 0;
}
.CreateHookTemplateList_card__3zk5o:hover .CreateHookTemplateList_recreate__rCvQY,
.CreateHookTemplateList_card__3zk5o:focus-within .CreateHookTemplateList_recreate__rCvQY {
  transform: translateY(0);
  opacity: 1;
}
.CreateHookTemplateList_actions__xUreZ {
  display: none;
}
.CreateHookTemplateList_card__3zk5o:hover .CreateHookTemplateList_actions__xUreZ,
.CreateHookTemplateList_card__3zk5o:focus-within .CreateHookTemplateList_actions__xUreZ {
  display: flex;
}

@media (prefers-reduced-motion: reduce) {
  .CreateHookTemplateList_caption__M_c5I,
  .CreateHookTemplateList_recreate__rCvQY {
    transition: none;
  }
}

.CreatePresetDialog_scrollArea__5TBb8 {
  box-sizing: border-box;
  scrollbar-color: rgb(0 0 0 / 30%) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}
.CreatePresetDialog_scrollArea__5TBb8::-webkit-scrollbar {
  width: 3px;
}
.CreatePresetDialog_scrollArea__5TBb8::-webkit-scrollbar-track {
  background: transparent;
}
.CreatePresetDialog_scrollArea__5TBb8::-webkit-scrollbar-thumb {
  background: rgb(0 0 0 / 30%);
  border-radius: var(--radius-16);
}
.CreatePresetDialog_viralPresetDescription__1VmzT {
  display: -webkit-box;
  overflow: hidden;
  color: #d9d9d9;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.GenerateEverythingStage_stage__7_yZF {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-height: max(100px, calc(100dvh - 76px - var(--workspace-composer-scroll-padding, 300px)));
  padding: 24px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  text-align: center;
}
.GenerateEverythingStage_stack__vWWkZ {
  position: relative;
  flex-shrink: 0;
  width: 498.587px;
  height: 308.232px;
}
.GenerateEverythingStage_card__uIqse {
  position: absolute;
  top: 49.65px;
  left: 23.393px;
  z-index: 1;
  width: 160px;
  height: 242px;
  padding: 0;
  overflow: hidden;
  background: var(--neutral-0);
  border: 6px solid var(--neutral-0);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
  transform: rotate(-11.99deg);
  cursor: pointer;
  transition: top 300ms ease, left 300ms ease, width 300ms ease, height 300ms ease, transform 300ms ease;
}
.GenerateEverythingStage_card__uIqse[data-position="1"] {
  top: 0;
  left: 142.2115px;
  z-index: 2;
  width: 214.164px;
  height: 305.63px;
  transform: rotate(0deg);
}
.GenerateEverythingStage_card__uIqse[data-position="2"] {
  top: 49.6525px;
  left: 309.991px;
  transform: rotate(15deg);
}
.GenerateEverythingStage_card__uIqse:disabled {
  cursor: default;
}
.GenerateEverythingStage_media__duYm7 {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #e6e7ea, #f8f8f9);
  border-radius: 10px;
  pointer-events: none;
}
.GenerateEverythingStage_media__duYm7 img,
.GenerateEverythingStage_media__duYm7 video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.GenerateEverythingStage_heading__PxAJM {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}
.GenerateEverythingStage_heading__PxAJM > img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;

  /* 与原 WorkspaceModeHeaderIcon 一致，补偿现有 PNG 的透明留白。 */
  transform: scale(2);
}
.GenerateEverythingStage_heading__PxAJM h1 {
  margin: 0;
  color: #3a3a3a;
  font-weight: 700;
  font-size: 40px;
  font-family: var(--font-encode-expanded);
  line-height: normal;
  letter-spacing: normal;
}
.GenerateEverythingStage_chips__gOoSa {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 56px;
}

@media (max-height: 900px) {
  .GenerateEverythingStage_chips__gOoSa {
    margin-top: 24px;
  }
}
.GenerateEverythingStage_chip__YHQ6H {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 8px 12px;
  color: var(--neutral-600);
  font-weight: 600;
  font-size: 13px;
  font-family: Inter, sans-serif;
  line-height: 18px;
  white-space: nowrap;
  background: #fff;
  border-radius: 51px;
  box-shadow: inset 0 0 7.3px rgb(255 99 27 / 58%);
  cursor: pointer;
}
.GenerateEverythingStage_chip__YHQ6H img {
  flex-shrink: 0;
  height: 16px;
}
.GenerateEverythingStage_chip__YHQ6H:disabled {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .GenerateEverythingStage_card__uIqse {
    transition: none;
  }
}

.WorkspaceModeStage_transitionRoot__5rr1L {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}
.WorkspaceModeStage_transitionRootFixed__BbrJ_ {
  flex: 1 1 0%;
}
.WorkspaceModeStage_surface__SkF_8 {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}
.WorkspaceModeStage_surfaceFixed__8dRdF {
  flex: 1 1 auto;
  height: 100%;
}
.WorkspaceModeStage_surfaceEnter__ZR6j9 {
  animation:
    WorkspaceModeStage_workspace-mode-stage-enter__efrX_ var(--virash-composer-motion-duration)
    var(--virash-composer-motion-ease) both;
  will-change: opacity, transform;
}
.WorkspaceModeStage_surfaceExit__xmxpy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  animation:
    WorkspaceModeStage_workspace-mode-stage-exit__0yVV_ var(--virash-composer-exit-duration)
    var(--virash-composer-motion-ease) both;
  pointer-events: none;
  will-change: opacity, transform;
}

@keyframes WorkspaceModeStage_workspace-mode-stage-enter__efrX_ {
  from {
    transform: translate3d(0, 8px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes WorkspaceModeStage_workspace-mode-stage-exit__0yVV_ {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  to {
    transform: translate3d(0, -4px, 0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .WorkspaceModeStage_surfaceEnter__ZR6j9,
  .WorkspaceModeStage_surfaceExit__xmxpy {
    animation: none;
  }
}

.AgentPreviewCards_section__9Q34Y {
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
}
.AgentPreviewCards_rows__d_Rej,
.AgentPreviewCards_row__DdMI1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.AgentPreviewCards_rowsWithMultiColumnFirst__TLUE8 {
  margin-top: -44px;
}
.AgentPreviewCards_header__mTHzH {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  padding: 0 48px;
}
.AgentPreviewCards_rowHeader__eLJF4 {
  justify-content: flex-end;
}
.AgentPreviewCards_heading__gCqaI {
  margin: 0;
  color: var(--neutral-900);
  font-weight: 700;
  font-size: 20px;
  font-family: var(--font-encode-expanded), "Encode Sans Expanded", sans-serif;
  line-height: 30px;
  letter-spacing: 0;
  white-space: nowrap;
}
.AgentPreviewCards_controls__7eHzk {
  display: flex;
  gap: 9.6px;
  justify-content: flex-end;
  padding: 0 6.4px;
}
.AgentPreviewCards_control__cd10j {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 0.8px;
  background: var(--neutral-0);
  border: 0.8px solid var(--neutral-200);
  border-radius: 79.2px;
  cursor: pointer;
}
.AgentPreviewCards_control__cd10j:disabled {
  background: var(--neutral-100);
  cursor: default;
}
.AgentPreviewCards_controlIcon__MayTC {
  display: block;
  width: 28.8px;
  height: 28.8px;
}
.AgentPreviewCards_scroller__eBNln {
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}
.AgentPreviewCards_single-row__bWuZ2 .AgentPreviewCards_scroller__eBNln {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 48px;
}
.AgentPreviewCards_single-row__bWuZ2 .AgentPreviewCards_scroller__eBNln::-webkit-scrollbar {
  display: none;
}
.AgentPreviewCards_track__3hZTy {
  --preview-unit: calc((100cqw - 96px) / 1344);

  display: flex;
  box-sizing: border-box;
}
.AgentPreviewCards_single-row__bWuZ2 .AgentPreviewCards_track__3hZTy {
  gap: calc(12 * var(--preview-unit));
  align-items: center;
  width: max-content;
  min-width: 100%;
  padding: 0 48px;
}
.AgentPreviewCards_single-column__23ttC .AgentPreviewCards_track__3hZTy {
  flex-direction: column;
  gap: calc(12 * var(--preview-unit));
  width: 100%;
  padding: 0 48px;
}
.AgentPreviewCards_group__8W9IX {
  position: relative;
  display: flex;
  flex-shrink: 0;
  gap: calc(6 * var(--preview-unit));
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: calc(6 * var(--preview-unit));
  overflow: hidden;
  background: var(--agent-preview-background);
  background-size: 100% 100%;
  scroll-snap-align: start;
}
.AgentPreviewCards_single-row__bWuZ2 .AgentPreviewCards_group__8W9IX {
  width: max-content;
  border-radius: 24px;
}
.AgentPreviewCards_single-column__23ttC .AgentPreviewCards_group__8W9IX {
  --preview-unit: calc((100cqw - 96px) / var(--preview-base-width));

  border-radius: 24px;
}
.AgentPreviewCards_recreate-vid__pBMB9 {
  --agent-preview-background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1344 460' preserveAspectRatio='none'><g transform='matrix(4.6611 43.974 33.014 -4.3779 468.46 141.21)'><foreignObject x='-387.91' y='-387.91' width='775.82' height='775.82'><div xmlns='http://www.w3.org/1999/xhtml' style='background-image: conic-gradient(from 90deg, rgb(155, 155, 155) -12.526%, rgb(195, 195, 195) 23.15%, rgb(228, 212, 192) 70.79%, rgb(191, 183, 173) 79.132%, rgb(155, 155, 155) 87.474%, rgb(195, 195, 195) 123.15%); opacity:1; height: 100%; width: 100%;'></div></foreignObject></g></svg>");
  --agent-preview-title-color: #9c9c9c;
}
.AgentPreviewCards_url-to-video__7tjCB {
  --agent-preview-background:
    linear-gradient(132deg, rgb(200 200 200 / 0%) 5%, rgb(200 145 182 / 70%) 58%, rgb(120 99 161 / 0%) 94%),
    conic-gradient(
      from 90deg at 82% 52%,
      #884343,
      #99616d 13.305%,
      #aa7f98 26.61%,
      #bb9dc2 39.914%,
      #ccbded 53.219%,
      #bb9dc2 64.914%,
      #aa7f98 76.61%,
      #99616d 88.305%,
      #884343
    );
  --agent-preview-title-color: #975580;
}
.AgentPreviewCards_clone-id__ObnpV {
  --agent-preview-background:
    conic-gradient(
      from 28deg at 45% 33%,
      #db8282 -7.0603%,
      #d26c7f 4.4524%,
      #f0a7a9 16.311%,
      #db8282 92.94%,
      #d26c7f 104.45%
    );
  --agent-preview-title-color: #d47180;
}
.AgentPreviewCards_templateCard__1SPxs,
.AgentPreviewCards_videoCard__NbvQ_ {
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
}
.AgentPreviewCards_templateCard__1SPxs {
  background: rgb(255 255 255 / 60%);
  border-radius: 20px;
}
.AgentPreviewCards_single-row__bWuZ2 .AgentPreviewCards_templateCard__1SPxs {
  width: calc(184 * var(--preview-unit));
  height: calc(315 * var(--preview-unit));
}
.AgentPreviewCards_single-column__23ttC .AgentPreviewCards_templateCard__1SPxs {
  width: calc(300 * var(--preview-unit));
  height: calc(448 * var(--preview-unit));
}
.AgentPreviewCards_templateCopy__L9pbh {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--preview-unit));
  box-sizing: border-box;
  width: 100%;
  padding: calc(16 * var(--preview-unit)) calc(12 * var(--preview-unit));
}
.AgentPreviewCards_templateTitle__cvTTk,
.AgentPreviewCards_templateDescription__HpOSg {
  width: 100%;
  margin: 0;
  font-family: var(--font-sans), Inter, sans-serif;
}
.AgentPreviewCards_templateTitle__cvTTk {
  color: var(--agent-preview-title-color);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: pre-line;
  overflow-wrap: break-word;
}
.AgentPreviewCards_single-row__bWuZ2 .AgentPreviewCards_templateTitle__cvTTk {
  font-size: calc(32 * var(--preview-unit));
}
.AgentPreviewCards_single-column__23ttC .AgentPreviewCards_templateTitle__cvTTk {
  font-size: calc(43.33 * var(--preview-unit));
}
.AgentPreviewCards_templateDescription__HpOSg {
  color: #5c5c54;
  font-weight: 400;
  font-size: calc(14 * var(--preview-unit));
  line-height: calc(20 * var(--preview-unit));
  white-space: pre-line;
}
.AgentPreviewCards_videoCard__NbvQ_ {
  background: #d8d4cf;
  border-radius: 18px;
}
.AgentPreviewCards_single-row__bWuZ2 .AgentPreviewCards_videoCard__NbvQ_ {
  width: calc(177 * var(--preview-unit));
  height: calc(315 * var(--preview-unit));
}
.AgentPreviewCards_single-column__23ttC .AgentPreviewCards_videoCard__NbvQ_ {
  width: calc(252 * var(--preview-unit));
  height: calc(448 * var(--preview-unit));
}
.AgentPreviewCards_media__y55bA {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.UGCPreviewCards_groups__1suun {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.UGCPreviewCards_section__S7_Di {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
}
.UGCPreviewCards_scroller__JPfwe {
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}
.UGCPreviewCards_track__Ih8tS {
  --ugc-unit: calc(100cqw / var(--ugc-base-width));

  position: relative;
  display: flex;
  gap: calc(6 * var(--ugc-unit));
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: calc(460 * var(--ugc-unit));
  padding: calc(6 * var(--ugc-unit));
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
}
.UGCPreviewCards_background__hxnE9 {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.UGCPreviewCards_templateCard__ob_Yo,
.UGCPreviewCards_card__WAcS2 {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: calc(448 * var(--ugc-unit));
  margin: 0;
  overflow: hidden;
  border: 0;
}
.UGCPreviewCards_templateCard__ob_Yo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(300 * var(--ugc-unit));
  padding: calc(16 * var(--ugc-unit)) calc(12 * var(--ugc-unit));
  background: rgb(255 255 255 / 60%);
  border-radius: 20px;
}
.UGCPreviewCards_templateContent__cdX_Z {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.UGCPreviewCards_templateTag__Qu0x7 {
  display: flex;
  gap: 4px;
  align-items: center;
  box-sizing: border-box;
  padding: 4px;
  white-space: nowrap;
  background: #fff;
  border-radius: 8px;
  filter: drop-shadow(0.59px 0 0 #fff) drop-shadow(-0.59px 0 0 #fff);
}
.UGCPreviewCards_templateCategory__Jw0Ng {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.359px 3.539px;
  color: #fff;
  font-weight: 800;
  font-size: 11.797px;
  font-family: "TWK Lausanne", var(--font-sans), Inter, sans-serif;
  line-height: 16.28px;
  letter-spacing: -0.2359px;
  background: #ff631b;
  border-radius: 4px;
}
.UGCPreviewCards_templateBadge__lIw1A {
  color: #19171c;
  font-weight: 600;
  font-size: 11.797px;
  font-family: "TWK Lausanne", var(--font-sans), Inter, sans-serif;
  line-height: 11.797px;
  letter-spacing: -0.118px;
}
.UGCPreviewCards_templateAvatar__3pmzj {
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12.8px;
}
.UGCPreviewCards_templateTitle__QQohK {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  font-weight: 700;
  font-size: calc(43.33 * var(--ugc-unit));
  font-family: Inter, var(--font-sans), sans-serif;
  line-height: 0.9;
  letter-spacing: 0;
}
.UGCPreviewCards_templateTitle__QQohK span {
  display: block;
}
.UGCPreviewCards_templateTitleTiktok__4ByWG {
  color: #a19b21;
}
.UGCPreviewCards_templateTitleInstagram__n560T {
  color: #ff6fad;
  line-height: 1.05;
}
.UGCPreviewCards_templateDescription__eAR8N {
  width: 100%;
  margin: 0;
  color: #5c5c54;
  font-weight: 400;
  font-size: 14px;
  font-family: Inter, var(--font-sans), sans-serif;
  line-height: 20px;
  white-space: pre-line;
}
.UGCPreviewCards_recreateButton__rM1dD {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  box-sizing: border-box;
  height: 50px;
  padding: 0 16px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: Inter, var(--font-sans), sans-serif;
  line-height: normal;
  white-space: nowrap;
  background: #ff631b;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
}
.UGCPreviewCards_card__WAcS2 {
  display: block;
  width: calc(252 * var(--ugc-unit));
  padding: 0;
  text-align: left;
  background: #d8d4cf;
  border-radius: 18px;
}
.UGCPreviewCards_cardInteractive__Nb3kj {
  cursor: pointer;
}
.UGCPreviewCards_recreateButton__rM1dD:disabled {
  cursor: default;
}
.UGCPreviewCards_cardVideo__Gb6XW {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.UGCPreviewCards_cardVideo__Gb6XW > button {
  bottom: 10px;
  left: 10px;
}
.UGCPreviewCards_cardInteractive__Nb3kj:hover .UGCPreviewCards_cardVideo__Gb6XW > button {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.UGCPreviewCards_cardTopBar__kUvLd {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.UGCPreviewCards_cardTopBarInstagram__nWF_6 {
  align-items: center;
}
.UGCPreviewCards_platformLogo__njq87 {
  display: block;
  width: 95.051px;
  height: 23.129px;
  object-fit: contain;
  object-position: left center;
}
.UGCPreviewCards_views__ydebk {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 16px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  font-family: Inter, var(--font-sans), sans-serif;
  line-height: normal;
  white-space: nowrap;
}
.UGCPreviewCards_viewsIcon___Qcd6 {
  display: block;
  width: 22px;
  height: 16.5px;
}
.UGCPreviewCards_tiktokCardCopy__16box {
  display: contents;
}
.UGCPreviewCards_cardTitle__OLolK {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-encode-expanded), "Encode Sans Expanded", sans-serif;
  line-height: 18px;
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.UGCPreviewCards_instagramCardCopy__eIcOt {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: opacity 0.2s ease;
}
.UGCPreviewCards_instagramCardTitle__zOdSj,
.UGCPreviewCards_instagramCardDescription__aJQTC {
  width: 100%;
  margin: 0;
}
.UGCPreviewCards_instagramCardTitle__zOdSj {
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-encode-expanded), "Encode Sans Expanded", sans-serif;
  line-height: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.UGCPreviewCards_instagramCardDescription__aJQTC {
  display: -webkit-box;
  overflow: hidden;
  color: #d9d9d9;
  font-weight: 400;
  font-size: 12px;
  font-family: Inter, var(--font-sans), sans-serif;
  line-height: 18px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.UGCPreviewCards_cardRecreate__dFIJb {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 16px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: Inter, var(--font-sans), sans-serif;
  line-height: normal;
  white-space: nowrap;
  background: #000;
  border: 0;
  border-radius: 99px;
  transform: translateY(6px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.UGCPreviewCards_cardInteractive__Nb3kj:hover .UGCPreviewCards_cardTitle__OLolK,
.UGCPreviewCards_cardInteractive__Nb3kj:hover .UGCPreviewCards_instagramCardCopy__eIcOt {
  opacity: 0;
}
.UGCPreviewCards_cardRecreate__dFIJb:focus-visible,
.UGCPreviewCards_cardInteractive__Nb3kj:hover .UGCPreviewCards_cardRecreate__dFIJb {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .UGCPreviewCards_cardTitle__OLolK,
  .UGCPreviewCards_instagramCardCopy__eIcOt,
  .UGCPreviewCards_cardRecreate__dFIJb {
    transition: none;
  }
}

.WorkspaceQueueCard_count__GYpu4 {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transform-origin: left center;
}
.WorkspaceQueueCard_count__GYpu4[data-changed="true"] {
  animation: WorkspaceQueueCard_count-flash__C7N92 320ms ease;
}

/* 与 Viral Presets 的 s1-count-flash 保持相同的数字更新动效。 */
@keyframes WorkspaceQueueCard_count-flash__C7N92 {
  0% {
    transform: scale(1);
  }
  40% {
    color: #ff631b;
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .WorkspaceQueueCard_count__GYpu4[data-changed="true"] {
    animation: none;
  }
}

