:root {
  --ink: #071326;
  --muted: #647892;
  --blue: #1478ff;
  --blue-2: #2f8cff;
  --line: #dce9fa;
  --soft: #f4f9ff;
  --shadow: 0 30px 90px rgba(19, 83, 162, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% -2%, rgba(98, 184, 255, .28), transparent 30%),
    radial-gradient(circle at 5% 20%, rgba(214, 233, 255, .82), transparent 25%),
    linear-gradient(180deg, #f9fcff 0%, #f3f8ff 58%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.model-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(207, 224, 245, .74);
  background: rgba(255, 255, 255, .78);
  padding: 0 26px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #1689ff, #66bbff);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(22, 137, 255, .24);
}

.brand b {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .3px;
}

.model-nav nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  padding: 5px;
  box-shadow: 0 14px 42px rgba(37, 98, 169, .08);
}

.model-nav nav a,
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #314964;
  padding: 0 15px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  box-shadow: 0 16px 36px rgba(17, 103, 255, .24);
}

#modelRoot {
  width: min(100% - 44px, 1240px);
  margin: 0 auto;
}

.model-loading,
.not-found {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
  text-align: center;
}

.model-loading span {
  width: 48px;
  height: 48px;
  border: 4px solid #d9ecff;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.seo-model-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px 0 42px;
}

.seo-model-summary .back-link {
  width: fit-content;
  margin: 0 0 18px;
}

.seo-model-copy,
.seo-model-workbench {
  border: 1px solid rgba(210, 229, 250, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 28px 82px rgba(23, 86, 160, .12);
}

.seo-model-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px;
}

.seo-model-copy h1 {
  max-width: 680px;
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.seo-model-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.58;
}

.seo-model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.seo-model-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8ddff;
  border-radius: 999px;
  padding: 0 20px;
  color: #0d7df2;
  text-decoration: none;
  font-weight: 950;
}

.seo-model-actions a:first-child {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(17, 103, 255, .22);
}

.seo-model-workbench {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(150deg, rgba(7, 19, 38, .96), rgba(20, 120, 255, .9)),
    #071326;
  color: #fff;
}

.seo-workbench-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.seo-workbench-head small,
.seo-model-workbench label span {
  display: block;
  color: #dceaff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-workbench-head b {
  display: block;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1;
  text-align: right;
}

.seo-model-workbench label {
  display: grid;
  gap: 9px;
  margin: 0;
}

.seo-model-workbench textarea {
  width: 100%;
  min-height: 150px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  padding: 16px;
  font-weight: 850;
  line-height: 1.5;
}

.seo-model-workbench textarea::placeholder {
  color: rgba(232, 242, 255, .82);
}

.seo-workbench-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  color: #0b63e5;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.seo-workbench-tags {
  display: grid;
  gap: 8px;
}

.seo-workbench-tags span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 850;
  line-height: 1.35;
}

.seo-model-content,
.seo-model-faq {
  grid-column: 1 / -1;
}

.seo-model-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-model-content article,
.seo-model-faq {
  border: 1px solid rgba(210, 229, 250, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 70px rgba(23, 86, 160, .1);
  padding: 26px;
}

.seo-model-content small,
.seo-model-faq > small {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.seo-model-content h2,
.seo-model-faq h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.seo-model-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.62;
}

.seo-model-content ul,
.seo-model-content ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #1d314d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.seo-model-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-model-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8ddff;
  border-radius: 999px;
  padding: 0 15px;
  color: #0d7df2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
}

.seo-model-faq {
  display: grid;
  gap: 10px;
}

.seo-model-faq details {
  border: 1px solid #d7e7ff;
  border-radius: 16px;
  background: rgba(245, 250, 255, .78);
  padding: 15px 16px;
}

.seo-model-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.seo-model-faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.58;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.not-found {
  max-width: 560px;
  margin: auto;
}

.not-found span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .2em;
}

.not-found h1 {
  margin: 12px 0;
  font-size: 54px;
  line-height: .98;
  letter-spacing: -2px;
}

.not-found p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.6;
}

.not-found a {
  margin-top: 16px;
  display: inline-flex;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 950;
}

.creator-workbench {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 36px 0 54px;
}

.model-summary,
.creator-card {
  border: 1px solid rgba(210, 229, 250, .9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(239, 248, 255, .84)),
    radial-gradient(circle at 100% 0%, rgba(71, 157, 255, .18), transparent 32%);
  box-shadow: 0 28px 82px rgba(23, 86, 160, .12);
}

.model-summary {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  border-radius: 34px;
  padding: 26px;
}

.summary-head {
  margin-bottom: 20px;
}

.summary-head h1 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: clamp(48px, 5vw, 72px);
  line-height: .9;
  letter-spacing: -3.6px;
}

.summary-head p {
  max-width: 360px;
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -1px;
}

.model-summary .back-link {
  margin-bottom: 18px;
}

.model-summary .hero-visual {
  min-height: 360px;
  flex: 1;
  border-radius: 30px;
}

.summary-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.summary-badges span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  color: #315271;
  font-size: 13px;
  font-weight: 950;
}

.model-simple {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 34px 0 78px;
}

.model-product-card,
.model-workspace,
.model-steps-simple {
  display: grid;
  gap: 22px;
}

.model-product-card {
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid rgba(210, 229, 250, .92);
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 0%, rgba(102, 187, 255, .24), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(235,247,255,.90));
  box-shadow: 0 34px 110px rgba(20, 92, 180, .13);
  padding: 24px;
}

.hidden-product-card {
  display: none !important;
}

.model-product-card .hero-visual {
  min-height: 360px;
  border-radius: 30px;
}

.model-product-info {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 18px;
}

.model-product-info h1 {
  max-width: 620px;
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: .9;
  letter-spacing: -3px;
}

.model-product-info p {
  max-width: 640px;
  margin: 0;
  color: #60758f;
  font-size: 17px;
  font-weight: 820;
  line-height: 1.55;
}

.model-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 16px;
}

.model-mini-stats article,
.model-price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 52px rgba(26, 75, 130, .07);
}

.model-mini-stats article {
  min-height: 88px;
  padding: 16px;
}

.model-mini-stats b {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.6px;
}

.model-mini-stats span,
.model-price-card p,
.model-price-card span {
  color: #6a829d;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.model-workspace {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: stretch;
  margin-top: 22px;
}

.model-simple .creator-card {
  padding: 24px;
}

.model-simple .creator-card textarea {
  min-height: 132px;
}

.model-simple .option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.model-price-card small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.model-price-card strong {
  display: block;
  margin: 16px 0 6px;
  color: var(--ink);
  font-size: 52px;
  line-height: .9;
  letter-spacing: -2px;
}

.model-price-card p {
  margin: 20px 0 0;
}

.price-create {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #3290ff, #126dff);
  color: #fff;
  box-shadow: 0 18px 38px rgba(18, 109, 255, .26);
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.model-steps-simple {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.model-steps-simple article {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  padding: 18px;
  box-shadow: 0 18px 52px rgba(26, 75, 130, .06);
}

.model-steps-simple i {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eaf5ff;
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.model-steps-simple b {
  font-size: 16px;
  line-height: 1.22;
  letter-spacing: -.25px;
}

.creator-card {
  align-self: stretch;
  border-radius: 34px;
  padding: 30px;
}

.creator-card .form-head {
  align-items: flex-start;
  margin-bottom: 10px;
}

.creator-card .form-head small {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.creator-card .form-head b {
  display: block;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -1.6px;
}

.creator-card .form-head > span {
  min-width: 112px;
  text-align: center;
  font-size: 16px;
}

.form-lead {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.6;
}

.advanced-inputs {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.upload-lite,
.mini-input-row label {
  border: 1px dashed #c9dff7;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(58, 147, 255, .11), transparent 34%),
    rgba(248, 251, 255, .92);
  padding: 16px;
}

.upload-lite div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.upload-lite b,
.mini-input-row b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.upload-lite span,
.upload-lite small,
.mini-input-row small {
  color: #6a829d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.upload-lite textarea {
  min-height: 74px;
  border-radius: 16px;
  padding: 13px 14px;
  font-size: 13px;
}

.mini-input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-input-row input {
  width: 100%;
  min-height: 44px;
  margin: 10px 0 7px;
  border: 1px solid #d7e6f7;
  border-radius: 15px;
  background: #fff;
  color: #415d78;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.upload-lite button {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7e6f7;
  border-radius: 16px;
  background: #fff;
  color: #7a90a8;
  font-size: 13px;
  font-weight: 950;
}

.upload-lite.disabled {
  opacity: .72;
}

.example-strip {
  margin-top: 16px;
  border: 1px solid #d8e8fb;
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 0%, rgba(70, 154, 255, .14), transparent 30%),
    rgba(255,255,255,.78);
  padding: 16px;
}

.example-strip,
.seedance-client-examples {
  display: none !important;
}

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

.example-head b {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.example-head span {
  color: #6a829d;
  font-size: 12px;
  font-weight: 800;
}

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

.example-card {
  display: grid;
  gap: 8px;
  min-height: 136px;
  border: 1px solid #d7e6f7;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.example-card:hover {
  transform: translateY(-2px);
  border-color: #88bdff;
  box-shadow: 0 16px 38px rgba(29, 111, 235, .12);
}

.example-card b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.example-card small {
  color: #6a829d;
  font-size: 11px;
  font-weight: 850;
}

.example-thumb {
  position: relative;
  height: 70px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #dff2ff, #66b1ff);
}

.example-thumb span,
.example-thumb::before,
.example-thumb::after {
  content: "";
  position: absolute;
  display: block;
}

.example-thumb.leaf {
  background:
    radial-gradient(circle at 25% 35%, rgba(255, 232, 122, .95) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 28%, rgba(255, 232, 122, .8) 0 2px, transparent 3px),
    linear-gradient(135deg, #102717, #4fa36b 58%, #e0fff0);
}

.example-thumb.leaf::before {
  width: 92px;
  height: 16px;
  left: 18px;
  top: 30px;
  border-radius: 50%;
  border-top: 4px solid rgba(174, 255, 205, .9);
  transform: rotate(-18deg);
}

.example-thumb.coffee {
  background:
    radial-gradient(circle at 62% 46%, #f7f0df 0 22px, #bd8d4d 23px 29px, transparent 30px),
    linear-gradient(145deg, #d7f0ff 0 38%, #f4dfb7 39% 55%, #69a5d3 56%);
}

.example-thumb.coffee::after {
  width: 34px;
  height: 12px;
  right: 22px;
  top: 36px;
  border: 5px solid rgba(255,255,255,.86);
  border-left: 0;
  border-radius: 0 20px 20px 0;
}

.example-thumb.toy {
  background:
    radial-gradient(circle at 50% 35%, #ffd98d 0 19px, transparent 20px),
    radial-gradient(circle at 33% 48%, #2d8cff 0 8px, transparent 9px),
    radial-gradient(circle at 67% 48%, #ff6aa4 0 8px, transparent 9px),
    linear-gradient(135deg, #eaf6ff, #89cbff);
}

.example-thumb.toy::before {
  width: 46px;
  height: 28px;
  left: 50%;
  bottom: 10px;
  border-radius: 22px 22px 12px 12px;
  background: linear-gradient(135deg, #416dff, #8ed8ff);
  transform: translateX(-50%);
}

.preview-card {
  gap: 14px;
}

.preview-only-card > small:not(.preview-head small),
.preview-only-card > strong,
.preview-only-card > span,
.preview-only-card > .price-create,
.preview-only-card > p {
  display: none !important;
}

.preview-only-card {
  justify-content: flex-start;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-head button {
  border: 1px solid #d7e6f7;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.video-preview {
  overflow: hidden;
  border: 1px solid #d7e6f7;
  border-radius: 24px;
  background: #0d172a;
  box-shadow: 0 20px 50px rgba(13, 23, 42, .12);
}

.video-preview.real-demo-preview {
  background: #071326;
}

.demo-video-lazy {
  position: relative;
  display: block;
  width: 100%;
  min-height: 190px;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: #071326;
  color: #fff;
  cursor: pointer;
}

.demo-video-lazy img,
.demo-video-lazy video,
.demo-video-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  object-fit: cover;
  border: 0;
  background: #071326;
}

.demo-video-fallback {
  background:
    radial-gradient(circle at 28% 26%, rgba(72, 153, 255, .45), transparent 28%),
    radial-gradient(circle at 74% 35%, rgba(255, 255, 255, .18), transparent 24%),
    linear-gradient(135deg, #0a1b32 0%, #123d75 55%, #071326 100%);
}

.demo-video-lazy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 38, .12), rgba(7, 19, 38, .48));
  pointer-events: none;
}

.demo-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .94);
  color: #1167ff;
  box-shadow: 0 18px 40px rgba(7, 19, 38, .20);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.demo-video-play i {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
}

.video-preview.real-demo-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  object-fit: cover;
  border: 0;
  background: #071326;
}

.video-preview.image-demo-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  object-fit: cover;
  border: 0;
  background: #071326;
}

.preview-scene {
  position: relative;
  min-height: 190px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 231, 125, .95) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 22%, rgba(255, 231, 125, .7) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(9, 31, 23, .86), rgba(68, 151, 106, .92) 60%, rgba(224, 255, 240, .82));
}

.preview-scene::before {
  content: "";
  position: absolute;
  inset: 48px 24px auto;
  height: 54px;
  border-top: 8px solid rgba(177, 255, 210, .9);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.preview-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  font-size: 44px;
  text-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.preview-scene em {
  position: absolute;
  left: 16px;
  bottom: 12px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.preview-note {
  border: 1px solid #d7e6f7;
  border-radius: 20px;
  background: rgba(248, 251, 255, .86);
  padding: 15px;
}

.preview-note b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.preview-note span {
  color: #6a829d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.gemini-kie-page {
  background:
    radial-gradient(circle at 84% 14%, rgba(78, 169, 255, .22), transparent 34%),
    linear-gradient(135deg, #f9fcff 0%, #eef7ff 56%, #f7fbff 100%);
}

.gemini-kie-page .model-simple {
  width: min(1180px, calc(100% - 42px));
  padding-top: 22px;
}

.gemini-kie-page .back-link {
  margin-bottom: 16px;
  color: #52708f;
}

.gemini-kie-page .model-workspace {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  align-items: start;
}

.gemini-kie-page .creator-card,
.gemini-kie-page .preview-card {
  border: 1px solid rgba(197, 224, 255, .92);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 151, 255, .11), transparent 36%),
    rgba(255, 255, 255, .88);
  box-shadow: 0 28px 80px rgba(22, 92, 180, .10);
}

.gemini-kie-page .creator-card {
  padding: 28px;
}

.gemini-kie-page .creator-card .form-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.gemini-kie-page .creator-card .form-head b {
  font-size: clamp(34px, 4vw, 54px);
  line-height: .92;
  letter-spacing: -2.4px;
}

.gemini-kie-page .creator-card .form-head > span {
  min-width: 112px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf5ff;
  color: #1478ff;
  font-size: 16px;
  font-weight: 950;
}

.gemini-kie-page .form-lead {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 14px;
}

.gemini-kie-page .creator-card > label > span {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.gemini-kie-page .creator-card textarea {
  min-height: 112px;
  border-color: #cfe2f8;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.gemini-kie-page .advanced-inputs {
  grid-template-columns: 1fr;
  gap: 10px;
}

.gemini-kie-page .upload-lite,
.gemini-kie-page .mini-input-row label {
  border-style: solid;
  border-color: #d6e8fb;
  border-radius: 18px;
  background: rgba(248, 252, 255, .82);
  padding: 13px;
}

.gemini-kie-page .upload-lite div {
  margin-bottom: 8px;
}

.gemini-kie-page .upload-lite textarea {
  min-height: 58px;
}

.gemini-kie-page .upload-lite small,
.gemini-kie-page .mini-input-row small {
  display: none;
}

.gemini-kie-page .upload-lite span {
  font-size: 11px;
}

.gemini-kie-page .mini-input-row input {
  min-height: 40px;
  margin-bottom: 0;
}

.gemini-kie-page .upload-lite.disabled {
  display: grid;
  grid-template-columns: 1fr 170px;
  align-items: center;
  gap: 12px;
}

.gemini-kie-page .upload-lite.disabled button {
  min-height: 40px;
}

.gemini-kie-page .option-grid {
  gap: 12px;
}

.gemini-kie-page .option-grid article {
  border-radius: 20px;
  background: rgba(247, 251, 255, .9);
}

.gemini-kie-page .option-grid button {
  min-height: 36px;
  padding: 0 14px;
}

.gemini-kie-page .wide-create {
  min-height: 58px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 109, 255, .22);
}

.gemini-kie-page .preview-card {
  min-height: 100%;
  padding: 24px;
}

.gemini-kie-page .preview-head {
  margin-bottom: 4px;
}

.gemini-kie-page .video-preview {
  border-radius: 24px;
}

.gemini-kie-page .preview-scene {
  min-height: 300px;
}

.preview-scene.coffee {
  background:
    radial-gradient(circle at 59% 48%, #f7f0df 0 46px, #bd8d4d 47px 60px, transparent 61px),
    radial-gradient(circle at 72% 55%, rgba(255,255,255,.8) 0 20px, transparent 21px),
    linear-gradient(145deg, #d7f0ff 0 38%, #f4dfb7 39% 56%, #69a5d3 57%);
}

.preview-scene.toy {
  background:
    radial-gradient(circle at 50% 33%, #ffd98d 0 45px, transparent 46px),
    radial-gradient(circle at 39% 48%, #2d8cff 0 17px, transparent 18px),
    radial-gradient(circle at 61% 48%, #ff6aa4 0 17px, transparent 18px),
    linear-gradient(135deg, #eaf6ff, #89cbff);
}

.preview-scene.coffee::before,
.preview-scene.toy::before {
  opacity: .18;
}

.gemini-kie-page .preview-note {
  padding: 16px;
}

.gemini-kie-page .example-strip {
  margin-top: 18px;
  padding: 14px;
  border-radius: 22px;
}

.gemini-kie-page .example-card.active {
  border-color: #2388ff;
  box-shadow: 0 14px 34px rgba(35, 136, 255, .16);
}

.gemini-kie-page .model-steps-simple {
  gap: 14px;
  margin-top: 20px;
}

.gemini-kie-page .model-steps-simple article {
  min-height: 92px;
  border-radius: 22px;
  padding: 16px;
}

.gemini-kie-page .similar-section {
  display: none;
}

.gemini-playground-page .model-simple {
  width: min(1280px, calc(100% - 40px));
}

.gemini-playground-page .back-link {
  font-size: 13px;
  font-weight: 900;
  color: #587493;
}

.gemini-playground-page .model-workspace {
  grid-template-columns: minmax(0, 680px) minmax(360px, 520px);
  justify-content: center;
  gap: 18px;
}

.gemini-playground-page .creator-card,
.gemini-playground-page .preview-card {
  border-radius: 16px;
  border-color: #dce8f5;
  background: #fff;
  box-shadow: 0 18px 54px rgba(24, 83, 143, .08);
}

.gemini-playground-page .creator-card {
  padding: 0;
  overflow: hidden;
}

.gemini-playground-page .creator-card .form-head,
.gemini-playground-page .preview-head {
  min-height: 58px;
  margin: 0;
  padding: 16px 22px;
  border-bottom: 1px solid #e5eef8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gemini-playground-page .creator-card .form-head small,
.gemini-playground-page .preview-head small {
  display: none;
}

.gemini-playground-page .creator-card .form-head b {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.6px;
}

.gemini-playground-page .creator-card .form-head > span {
  display: none;
}

.panel-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #f0f4fa;
  color: #5d728a;
  font-size: 12px;
  font-weight: 900;
}

.panel-tabs span {
  padding: 8px 12px;
  border-radius: 9px;
}

.panel-tabs .active {
  background: #fff;
  color: #17253a;
  box-shadow: 0 4px 14px rgba(40, 90, 140, .08);
}

.gemini-playground-page .form-lead,
.gemini-playground-page .creator-card > label,
.gemini-playground-page .advanced-inputs,
.gemini-playground-page .option-grid,
.gemini-playground-page .run-actions {
  margin-left: 22px;
  margin-right: 22px;
}

.gemini-playground-page .form-lead {
  margin-top: 16px;
  margin-bottom: 16px;
  max-width: none;
  color: #647891;
  font-size: 13px;
  font-weight: 800;
}

.gemini-playground-page .creator-card > label > span {
  color: #2e4057;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.gemini-playground-page .creator-card textarea,
.gemini-playground-page .mini-input-row input {
  border: 1px solid #d3e1ef;
  border-radius: 10px;
  background: #fff;
  color: #1c2c42;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.gemini-playground-page .creator-card > label textarea {
  min-height: 112px;
}

.gemini-playground-page .advanced-inputs {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.gemini-playground-page .upload-lite,
.gemini-playground-page .mini-input-row label {
  padding: 16px;
  border: 1px dashed #cddbea;
  border-radius: 12px;
  background: #fbfdff;
}

.gemini-playground-page .upload-lite div,
.gemini-playground-page .mini-input-row b {
  margin-bottom: 8px;
}

.gemini-playground-page .upload-lite b,
.gemini-playground-page .mini-input-row b {
  color: #33465f;
  font-size: 14px;
}

.gemini-playground-page .upload-lite span {
  color: #6b7f96;
  font-size: 12px;
  font-weight: 800;
}

.gemini-playground-page .upload-lite small,
.gemini-playground-page .mini-input-row small {
  display: block;
  margin-top: 8px;
  color: #6f8298;
  font-size: 11px;
  font-weight: 700;
}

.gemini-playground-page .upload-lite.disabled {
  grid-template-columns: 1fr;
}

.gemini-playground-page .upload-lite.disabled button {
  width: 120px;
  min-height: 38px;
  border-radius: 9px;
  background: #2c83ff;
  color: #fff;
}

.gemini-playground-page .active-upload {
  position: relative;
}

.gemini-playground-page .upload-url-cache {
  display: none;
}

.gemini-playground-page .remove-files {
  position: absolute;
  top: 12px;
  right: 12px;
  width: auto;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #ffd7e7;
  color: #dd3371;
  font-size: 12px;
  font-weight: 900;
}

.gemini-playground-page .file-drop {
  min-height: 170px;
  margin-top: 12px;
  border: 1px dashed #c5d5e6;
  border-radius: 12px;
  background: #fbfcfe;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 22px;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.gemini-playground-page .file-drop.dragging {
  border-color: #2d85ff;
  background: #eef7ff;
  box-shadow: inset 0 0 0 2px rgba(45, 133, 255, .12);
}

.gemini-playground-page .file-drop i {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f0f3f8;
  color: #9cadbf;
  font-size: 30px;
  font-style: normal;
}

.gemini-playground-page .file-drop > b {
  margin: 0;
  color: #34465d;
  font-size: 14px;
}

.gemini-playground-page .file-drop > span {
  max-width: 460px;
  color: #63778e;
  font-size: 12px;
  line-height: 1.35;
}

.gemini-playground-page .file-drop > button {
  width: auto;
  min-height: 42px;
  margin-top: 3px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: #2d7ff9;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.gemini-playground-page .file-list {
  width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.gemini-playground-page .file-pill {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dbe6f2;
  border-radius: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.gemini-playground-page .file-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1d2f47;
  font-size: 12px;
}

.gemini-playground-page .file-pill small {
  margin: 0;
  color: #6d8198;
  font-size: 11px;
}

.gemini-playground-page .file-pill button {
  width: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  background: #edf4ff;
  color: #287cff;
  font-size: 17px;
  font-weight: 900;
}

.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > i,
.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > b,
.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > span {
  display: none;
}

.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > button {
  order: 2;
  width: fit-content;
  min-height: 36px;
  margin: 0 auto;
  padding: 0 18px;
  border: 1px dashed #c5d8ee;
  background: #fff;
  color: #2d7ff9;
  box-shadow: none;
}

.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > button::before {
  content: "+ ";
}

.gemini-playground-page .active-upload.has-files .file-list {
  order: 1;
}

.gemini-playground-page .file-card {
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(20, 80, 150, .06);
}

.gemini-playground-page .file-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gemini-playground-page .file-card-head span {
  color: #243850;
  font-size: 12px;
  font-weight: 900;
}

.gemini-playground-page .file-card-head button {
  width: auto;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #ffd7e7;
  color: #dd3371;
  font-size: 11px;
  font-weight: 950;
}

.gemini-playground-page .file-preview {
  min-height: 150px;
  border: 1px solid #e0e9f4;
  border-radius: 10px;
  background: #f8fbff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gemini-playground-page .file-preview img {
  max-width: 100%;
  max-height: 180px;
  display: block;
  object-fit: contain;
}

.gemini-playground-page .file-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #6a7f97;
  font-size: 11px;
  font-weight: 800;
}

.gemini-playground-page .file-card-foot span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gemini-playground-page .file-card-foot > button {
  display: none;
}

.gemini-playground-page .option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.gemini-playground-page .option-grid article {
  padding: 14px;
  border: 1px solid #d8e6f5;
  border-radius: 12px;
  background: #fbfdff;
}

.gemini-playground-page .option-grid article > b {
  color: #33465f;
  font-size: 13px;
  text-transform: none;
}

.gemini-playground-page .option-grid article div {
  gap: 8px;
  margin-top: 10px;
}

.gemini-playground-page .option-grid button {
  min-height: 34px;
  border-radius: 10px;
  color: #465d75;
  background: #fff;
}

.gemini-playground-page .option-grid button.active {
  color: #006bff;
  border-color: #1883ff;
  background: #eef7ff;
}

.gemini-playground-page .price-calculator {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8e6f5;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: stretch;
  box-shadow: 0 16px 40px rgba(32, 125, 255, 0.08);
}

.gemini-playground-page .price-calculator small {
  display: block;
  margin-bottom: 6px;
  color: #1677ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gemini-playground-page .price-calculator strong {
  display: block;
  color: #07152b;
  font-size: 28px;
  line-height: 1.05;
}

.gemini-playground-page .price-calculator ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gemini-playground-page .price-calculator li {
  padding: 10px 11px;
  border: 1px solid #dce9f7;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.gemini-playground-page .price-calculator li span {
  display: block;
  color: #6a7f97;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gemini-playground-page .price-calculator li b {
  display: block;
  margin-top: 4px;
  color: #12223a;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.gemini-playground-page .run-actions {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.gemini-playground-page .reset-lite {
  min-height: 46px;
  border: 1px solid #d3e1ef;
  border-radius: 12px;
  background: #fff;
  color: #4e637c;
  font-weight: 900;
}

.gemini-playground-page .wide-create {
  min-height: 46px;
  margin: 0;
  border-radius: 12px;
  font-size: 14px;
}

.gemini-playground-page .preview-card {
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gemini-playground-page .preview-head button {
  display: none;
}

.gemini-playground-page .video-preview {
  margin: 22px;
  border-radius: 12px;
  border: 1px solid #dbe8f6;
}

.gemini-playground-page .preview-scene {
  min-height: 285px;
}

.gemini-playground-page .preview-note {
  margin: 0 22px 22px;
  border-radius: 12px;
  border: 1px solid #dbe8f6;
  background: #fbfdff;
}

.gemini-playground-page .model-steps-simple {
  display: none;
}

.gemini-playground-page .example-strip {
  width: min(1280px, 100%);
  margin: 18px auto 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(24, 83, 143, .08);
}

.gemini-playground-page .example-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #e5eef8;
}

.gemini-playground-page .example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gemini-playground-page .model-simple {
  width: 100%;
  padding-top: 18px;
}

.gemini-playground-page .model-workspace {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  justify-content: center;
}

.gemini-playground-page .creator-card,
.gemini-playground-page .preview-card {
  width: 100%;
}

.gemini-playground-page .form-lead,
.gemini-playground-page .creator-card > label,
.gemini-playground-page .advanced-inputs,
.gemini-playground-page .option-grid,
.gemini-playground-page .run-actions {
  margin-left: 20px;
  margin-right: 20px;
}

.gemini-playground-page .creator-card > label textarea {
  min-height: 96px;
}

.gemini-playground-page .active-upload {
  padding-top: 2px;
}

.gemini-playground-page .active-upload > div:first-child {
  display: block;
  padding-right: 118px;
}

.gemini-playground-page .remove-files {
  display: none;
  top: 14px;
  right: 16px;
  z-index: 2;
}

.gemini-playground-page .active-upload.has-files .remove-files {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gemini-playground-page .file-drop {
  min-height: 150px;
  padding: 18px;
}

.gemini-playground-page .file-drop i {
  width: 52px;
  height: 52px;
  font-size: 26px;
}

.gemini-playground-page .mini-input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gemini-playground-page .mini-input-row label {
  min-width: 0;
}

.gemini-playground-page .option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gemini-playground-page .video-preview {
  margin: 20px;
}

.gemini-playground-page .preview-scene {
  min-height: 245px;
}

.gemini-playground-page .preview-note {
  margin: 0 20px 20px;
}

.gemini-playground-page .example-strip {
  width: min(1120px, calc(100vw - 48px));
}

.gemini-playground-page .creator-card .form-head,
.gemini-playground-page .preview-head {
  padding: 16px 18px;
}

.gemini-playground-page .creator-card > label {
  display: block;
}

.gemini-playground-page .creator-card > label > span {
  display: block;
  margin-bottom: 8px;
  line-height: 1.2;
}

.gemini-playground-page .creator-card textarea,
.gemini-playground-page .mini-input-row input {
  width: 100%;
}

.gemini-playground-page .advanced-inputs {
  gap: 12px;
}

.gemini-playground-page .upload-lite,
.gemini-playground-page .mini-input-row label,
.gemini-playground-page .option-grid article {
  box-sizing: border-box;
}

.gemini-playground-page .upload-lite > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gemini-playground-page .upload-lite > div:first-child b {
  flex: 0 0 auto;
  line-height: 1.2;
}

.gemini-playground-page .upload-lite > div:first-child span {
  max-width: 210px;
  text-align: right;
  line-height: 1.25;
}

.gemini-playground-page .mini-input-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gemini-playground-page .mini-input-row b,
.gemini-playground-page .mini-input-row small {
  margin: 0;
}

.gemini-playground-page .mini-input-row input {
  height: 38px;
  padding: 0 12px;
  font-size: 12px;
}

.gemini-playground-page .file-drop {
  width: 100%;
  box-sizing: border-box;
}

.gemini-playground-page .file-drop > b,
.gemini-playground-page .file-drop > span {
  line-height: 1.25;
}

.gemini-playground-page .option-grid article {
  min-height: 130px;
  display: flex;
  flex-direction: column;
}

.gemini-playground-page .option-grid article div {
  align-content: start;
}

.gemini-playground-page .option-grid button {
  min-width: 56px;
  padding: 0 12px;
}

.gemini-playground-page .preview-card {
  align-self: start;
}

.gemini-playground-page .preview-note b,
.gemini-playground-page .preview-note span {
  display: block;
  line-height: 1.35;
}

.gemini-playground-page .prompt-helper-card {
  margin: 0 20px 20px;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow: 0 14px 36px rgba(40, 110, 190, .08);
}

.gemini-playground-page .prompt-helper-head {
  margin-bottom: 12px;
}

.gemini-playground-page .prompt-helper-head small {
  display: block;
  margin-bottom: 5px;
  color: #1674ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
}

.gemini-playground-page .prompt-helper-head b {
  display: block;
  color: #07152a;
  font-size: 18px;
  line-height: 1.12;
  letter-spacing: -.4px;
}

.gemini-playground-page .prompt-helper-card textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #cfe0f2;
  border-radius: 12px;
  resize: vertical;
  background: #fff;
  color: #17253a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  box-sizing: border-box;
}

.gemini-playground-page .prompt-helper-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3190ff, #146cff);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(31, 119, 255, .2);
}

.gemini-playground-page .prompt-helper-card p {
  margin: 10px 0 0;
  color: #607890;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > i,
.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > b,
.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > span {
  display: none !important;
}

.gemini-playground-page .active-upload.has-files .file-list {
  width: 100% !important;
  display: grid !important;
  gap: 12px !important;
  order: 1 !important;
}

.gemini-playground-page .file-card {
  display: block !important;
  width: 100% !important;
  padding: 12px !important;
  border: 1px solid #dbe6f2 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.gemini-playground-page .file-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.gemini-playground-page .file-preview {
  width: 100% !important;
  min-height: 150px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #e0e9f4 !important;
  border-radius: 10px !important;
  background: #f8fbff !important;
  overflow: hidden !important;
}

.gemini-playground-page .file-preview img {
  display: block !important;
  max-width: 100% !important;
  max-height: 180px !important;
  object-fit: contain !important;
}

.gemini-playground-page .file-preview video {
  display: block !important;
  width: 100% !important;
  max-height: 190px !important;
  object-fit: contain !important;
  border-radius: 9px !important;
  background: #0a1830 !important;
}

.gemini-playground-page .file-card-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.gemini-playground-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > button {
  order: 2 !important;
  align-self: center !important;
  width: auto !important;
  min-height: 36px !important;
  padding: 0 18px !important;
  border: 1px dashed #c5d8ee !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #2d7ff9 !important;
  box-shadow: none !important;
}

.gemini-playground-page .file-drop[data-upload-box="video_list"] {
  min-height: 160px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 22px !important;
}

.gemini-playground-page .file-drop[data-upload-box="video_list"] > i {
  flex: 0 0 auto !important;
}

.gemini-playground-page .file-drop[data-upload-box="video_list"] > b,
.gemini-playground-page .file-drop[data-upload-box="video_list"] > span {
  width: 100% !important;
  max-width: 320px !important;
  text-align: center !important;
}

.gemini-playground-page .file-drop[data-upload-box="video_list"] > button {
  align-self: center !important;
  width: auto !important;
  min-width: 112px !important;
  margin: 2px 0 0 !important;
}

.gemini-final-page .creator-card,
.gemini-final-page .preview-card {
  overflow: hidden;
}

.gemini-final-page .active-upload {
  position: relative;
}

.gemini-final-page .active-upload > div:first-child {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: start !important;
  gap: 8px !important;
}

.gemini-final-page .active-upload > div:first-child b {
  grid-column: 1 / 2 !important;
}

.gemini-final-page .active-upload > div:first-child span {
  grid-column: 2 / 3 !important;
  justify-self: end !important;
  white-space: nowrap !important;
}

.gemini-final-page .active-upload > div:first-child small {
  grid-column: 1 / -1 !important;
}

.gemini-final-page .file-drop {
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.gemini-final-page .file-drop > i {
  font-family: Arial, sans-serif !important;
  color: #9bb3ca !important;
}

.gemini-final-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] {
  display: block !important;
}

.gemini-final-page .active-upload.has-files .file-list {
  width: 100% !important;
}

.gemini-final-page .file-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.gemini-final-page .file-card-head,
.gemini-final-page .file-card-foot {
  min-width: 0 !important;
}

.gemini-final-page .file-card-head span,
.gemini-final-page .file-card-foot span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.gemini-final-page .file-preview {
  width: 100% !important;
  min-height: 150px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

.gemini-final-page .file-preview img {
  display: block !important;
  width: 100% !important;
  height: 170px !important;
  max-height: 170px !important;
  object-fit: contain !important;
}

.gemini-final-page .file-preview video {
  display: block !important;
  width: 100% !important;
  max-height: 210px !important;
  object-fit: contain !important;
}

.gemini-final-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] > button {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 14px auto 0 !important;
}

.gemini-final-page .mini-input-row input {
  min-width: 0 !important;
}

.gemini-final-page .panel-tabs span:not(.active) {
  display: none !important;
}

.gemini-final-page .price-calculator {
  grid-template-columns: 150px minmax(0, 1fr) !important;
}

.gemini-final-page .price-calculator ul {
  grid-template-columns: repeat(4, minmax(90px, 1fr)) !important;
}

.gemini-final-page .price-calculator li {
  min-width: 0 !important;
}

.gemini-final-page .price-calculator li b {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.gemini-35-flash-page {
  background:
    radial-gradient(circle at 82% 2%, rgba(64, 158, 255, .20), transparent 30%),
    radial-gradient(circle at 12% 18%, rgba(58, 196, 129, .12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 58%, #ffffff 100%);
}

.gemini-35-flash-page .model-workspace {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.gemini-35-flash-page .creator-card .form-head small {
  letter-spacing: .18em;
}

.gemini-35-flash-page .advanced-inputs {
  margin-top: 14px;
}

.gemini-35-flash-page .gemini35-inputs .seedance-client-upload {
  border: 1px solid #d7e7f8;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #f5faff 100%);
}

.gemini-35-flash-page .gemini35-inputs .seedance-upload-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.gemini-35-flash-page .gemini35-inputs .seedance-upload-head > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.gemini-35-flash-page .gemini35-inputs .seedance-upload-head b {
  white-space: nowrap;
}

.gemini-35-flash-page .gemini35-inputs .seedance-upload-head span {
  max-width: 250px;
  text-align: left;
}

.gemini-35-flash-page .gemini35-inputs .seedance-upload-head small {
  text-align: right;
}

.gemini-35-flash-page .gemini35-inputs .file-drop {
  min-height: 148px;
  justify-items: center;
  text-align: center;
}

.gemini-35-flash-page .gemini35-inputs .file-drop > i,
.gemini-35-flash-page .gemini35-inputs .file-drop > b,
.gemini-35-flash-page .gemini35-inputs .file-drop > span,
.gemini-35-flash-page .gemini35-inputs .file-drop [data-upload-pick] {
  margin-left: auto;
  margin-right: auto;
}

.gemini-35-flash-page .gemini35-inputs .file-drop > span {
  max-width: 520px;
}

.gemini-35-flash-page .creator-card > label.gemini-chat-composer {
  position: relative;
  display: block;
}

.gemini-35-flash-page .creator-card > label.gemini-chat-composer textarea#generationPrompt {
  min-height: 154px;
  padding: 22px 22px 66px;
  border: 2px solid #2f7bff;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  resize: vertical;
}

.gemini-35-flash-page .gemini-chat-attachment {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.gemini-35-flash-page .gemini-inline-file-drop {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.gemini-35-flash-page .gemini-composer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.gemini-35-flash-page .gemini-attach-button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: #eef2f7;
  color: #7b8794;
  box-shadow: none;
  font-size: 17px;
  line-height: 1;
}

.gemini-35-flash-page .gemini-attach-button svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: #7b8794;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gemini-35-flash-page .gemini-attach-button:hover,
.gemini-35-flash-page .gemini-attach-button:focus-visible {
  background: #e3efff;
  color: #1d74ff;
  outline: none;
}

.gemini-35-flash-page .gemini-composer-actions small {
  display: none;
  color: #7f8fa3;
  font-size: 11px;
  font-weight: 800;
}

.gemini-35-flash-page .gemini-chat-file-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-height: 46px;
  overflow: hidden;
  pointer-events: auto;
}

.gemini-35-flash-page .gemini-chat-file-list .file-card {
  width: auto;
  min-width: 118px;
  max-width: 170px;
  height: 42px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 7px;
  border: 1px solid #d8e7f7;
  border-radius: 9px;
  background: #f8fbff;
  padding: 4px 6px;
  box-shadow: none;
}

.gemini-35-flash-page .gemini-chat-file-list .file-card-head {
  display: none;
}

.gemini-35-flash-page .gemini-chat-file-list .file-preview {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 7px;
  background: #eaf4ff;
}

.gemini-35-flash-page .gemini-chat-file-list .file-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gemini-35-flash-page .gemini-chat-file-list .file-card-foot {
  display: contents;
}

.gemini-35-flash-page .gemini-chat-file-list .file-card-foot span,
.gemini-35-flash-page .gemini-chat-file-list .file-card-foot small {
  min-width: 0;
  overflow: hidden;
  color: #53677e;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gemini-35-flash-page .gemini-chat-file-list .file-card-foot small {
  display: none;
}

.gemini-35-flash-page .gemini-chat-file-list [data-upload-remove] {
  width: 24px;
  height: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eaf1fb;
  color: #52677f;
  font-size: 13px;
  box-shadow: none;
}

.gemini-35-flash-page .option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gemini-35-flash-page .option-grid article {
  min-height: 128px;
}

.gemini-35-flash-page .option-grid button {
  min-width: 0;
}

.gemini-35-flash-page .model-price-card {
  gap: 14px;
}

.gemini35-preview-card {
  display: grid;
  gap: 12px;
}

.gemini35-preview-frame {
  overflow: hidden;
  border: 1px solid #d8e8f7;
  border-radius: 14px;
  background: #eef6ff;
  box-shadow: 0 18px 42px rgba(26, 91, 172, .10);
}

.gemini35-preview-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gemini-35-flash-page .gemini35-price-calculator ul {
  grid-template-columns: repeat(4, minmax(74px, 1fr));
}

.gemini-35-flash-page .prompt-helper-card {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .gemini-35-flash-page .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gemini-playground-page .model-workspace {
    width: min(620px, calc(100vw - 24px));
    grid-template-columns: 1fr;
  }

  .gemini-playground-page .example-strip {
    width: min(620px, calc(100vw - 24px));
  }

  .gemini-playground-page .price-calculator {
    grid-template-columns: 1fr;
  }

  .gemini-playground-page .price-calculator ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gemini-35-flash-page .model-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .example-head {
    display: block;
  }

  .example-head span {
    display: block;
    margin-top: 4px;
  }

  .example-grid {
    grid-template-columns: 1fr;
  }

  .preview-scene {
    min-height: 160px;
  }

  .gemini-kie-page .model-workspace {
    grid-template-columns: 1fr;
  }

  .gemini-kie-page .creator-card {
    padding: 20px;
  }

  .gemini-kie-page .creator-card .form-head {
    display: block;
  }

  .gemini-kie-page .creator-card .form-head > span {
    margin-top: 12px;
  }

  .gemini-kie-page .mini-input-row,
  .gemini-kie-page .option-grid {
    grid-template-columns: 1fr;
  }

  .gemini-kie-page .upload-lite.disabled {
    grid-template-columns: 1fr;
  }

  .gemini-kie-page .preview-scene {
    min-height: 210px;
  }

  .gemini-playground-page .price-calculator ul {
    grid-template-columns: 1fr;
  }

  .gemini-35-flash-page .option-grid {
    grid-template-columns: 1fr;
  }
}

.creator-card textarea {
  min-height: 178px;
  background: #fff;
  font-size: 16px;
}

.creator-card .input-fields {
  margin-top: 12px;
}

.creator-card .option-grid {
  margin-top: 22px;
}

.creator-card .wide-create {
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  font-size: 16px;
}

.model-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 46px;
  align-items: center;
  padding: 44px 0 26px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  color: #6a7f98;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: clamp(58px, 7vw, 96px);
  line-height: .88;
  letter-spacing: -3.8px;
}

.hero-copy h2 {
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions button,
.hero-actions a,
.wide-create {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
}

.hero-actions button,
.wide-create {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  box-shadow: 0 20px 48px rgba(17, 103, 255, .26);
}

.hero-actions a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  color: #243b57;
}

.hero-badges,
.input-fields,
.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges {
  margin-top: 24px;
}

.hero-badges span,
.input-fields span,
.case-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #41617f;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(28, 105, 196, .06);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 42px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-visual::before {
  right: -116px;
  top: -82px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, .38);
}

.hero-visual::after {
  left: -120px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  background: rgba(255, 255, 255, .22);
}

.hero-visual.has-demo-image {
  background: #071326;
}

.hero-visual.has-demo-image .hero-demo-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual.has-demo-image::before {
  inset: 0;
  z-index: 2;
  width: auto;
  height: auto;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(4, 13, 31, .04), rgba(4, 13, 31, .44));
}

.hero-visual.has-demo-image::after,
.hero-visual.has-demo-image .visual-core {
  display: none;
}

.visual-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.visual-badge.top {
  left: 24px;
  top: 24px;
  background: rgba(5, 16, 34, .72);
  color: #fff;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
}

.visual-badge.right {
  right: 24px;
  top: 24px;
  background: #fff;
  color: var(--blue);
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(12, 66, 143, .14);
}

.visual-core {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background:
    linear-gradient(35deg, transparent 40%, rgba(255, 255, 255, .28) 41% 42%, transparent 43%),
    linear-gradient(145deg, transparent 46%, rgba(255, 255, 255, .22) 47% 48%, transparent 49%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, .12) 59px 60px);
}

.visual-core b {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 42px;
  background: rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 45px;
  font-weight: 950;
  transform: rotate(-5deg);
  box-shadow: 0 28px 70px rgba(8, 48, 115, .22);
  backdrop-filter: blur(16px);
}

.visual-core b::before {
  content: "";
  position: absolute;
  inset: -82px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
}

.visual-strip {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.visual-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 18px;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.art-omni {
  background:
    radial-gradient(circle at 72% 42%, rgba(255,255,255,.46), transparent 24%),
    linear-gradient(135deg, #9bd5ff, #1978ea 58%, #082f75);
}

.art-kling {
  background:
    radial-gradient(circle at 68% 54%, rgba(255,255,255,.36), transparent 24%),
    linear-gradient(135deg, #aad9ff, #3d8df0 48%, #071326);
}

.art-seedance {
  background:
    radial-gradient(circle at 52% 45%, rgba(255,255,255,.42), transparent 22%),
    linear-gradient(135deg, #b6f1ff, #2d7cf2 50%, #18235a);
}

.art-hailuo {
  background:
    radial-gradient(circle at 65% 40%, rgba(255,255,255,.35), transparent 22%),
    linear-gradient(135deg, #e5f7ff, #71bdff 48%, #2366b8);
}

.art-runway {
  background:
    radial-gradient(circle at 58% 46%, rgba(255,255,255,.36), transparent 22%),
    linear-gradient(135deg, #d9e7ff, #7f95ff 46%, #342b88);
}

.art-banana {
  background:
    radial-gradient(circle at 58% 44%, rgba(255,255,255,.40), transparent 24%),
    linear-gradient(135deg, #fff2bc, #8cc9ff 46%, #1a6cd6);
}

.art-image {
  background:
    radial-gradient(circle at 66% 40%, rgba(255,255,255,.42), transparent 24%),
    linear-gradient(135deg, #ffe2f3, #9acbff 48%, #4a62e8);
}

.art-suno {
  background:
    radial-gradient(circle at 58% 45%, rgba(255,255,255,.38), transparent 23%),
    linear-gradient(135deg, #fff4bc, #ff93ca 44%, #5b4bff);
}

.art-eleven {
  background:
    radial-gradient(circle at 64% 50%, rgba(255,255,255,.35), transparent 24%),
    linear-gradient(135deg, #d7fff3, #72d4ff 48%, #2356c6);
}

.art-doc {
  background:
    radial-gradient(circle at 70% 45%, rgba(255,255,255,.42), transparent 25%),
    linear-gradient(135deg, #ffffff, #bdeaff 46%, #1977e6);
}

.art-chat {
  background:
    radial-gradient(circle at 66% 44%, rgba(255,255,255,.42), transparent 25%),
    linear-gradient(135deg, #f3f7ff, #b4d5ff 44%, #0b61d8);
}

.model-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 72px;
}

.model-stats article,
.playground-card,
.steps article,
.similar-grid a,
.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 52px rgba(26, 75, 130, .07);
}

.model-stats article {
  min-height: 132px;
  border-radius: 24px;
  padding: 20px;
}

.model-stats small,
.playground-copy span,
.use-cases span,
.section-head > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.model-stats b {
  display: block;
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -1px;
}

.model-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.45;
}

.model-stats s {
  color: #9badc1;
}

.playground {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 72px;
}

.simple-playground {
  display: block;
  max-width: 880px;
  margin: 18px auto 78px;
}

.playground-copy {
  position: sticky;
  top: 92px;
}

.playground-copy h2,
.use-cases h2,
.section-head h2 {
  margin: 12px 0 12px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -2px;
}

.playground-copy p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.7;
}

.playground-card {
  border-radius: 30px;
  padding: 24px;
}

.simple-playground .playground-card {
  padding: 26px;
}

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

.form-head b {
  font-size: 22px;
  font-weight: 950;
}

.form-head span {
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--blue);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 950;
}

.playground-card label > span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.playground-card textarea {
  width: 100%;
  min-height: 132px;
  resize: none;
  border: 1px solid #d7e6f7;
  border-radius: 22px;
  background: #fbfdff;
  color: #60758f;
  padding: 18px;
  font-size: 15px;
  font-weight: 760;
  outline: none;
}

.input-fields {
  margin-top: 14px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.option-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fbff;
  padding: 15px;
}

.option-grid article > b {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 950;
}

.option-grid article div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.option-grid button {
  border: 1px solid #d7e6f7;
  border-radius: 999px;
  background: #fff;
  color: #4c6682;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.option-grid button.active {
  border-color: var(--blue);
  background: #eaf5ff;
  color: var(--blue);
}

.wide-create {
  width: 100%;
  margin-top: 20px;
  border-radius: 18px;
}

.use-cases {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.case-list span {
  background: #eef8ff;
  color: #0b61d8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 82px;
}

.steps article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  padding: 20px;
}

.steps i {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eaf5ff;
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.steps b {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.3px;
}

.similar-section,
.faq {
  margin-bottom: 82px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head a {
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.similar-grid a {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  color: var(--ink);
  padding: 20px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.similar-grid a:hover {
  border-color: #9bd0ff;
  transform: translateY(-3px);
}

.similar-grid small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.similar-grid b {
  font-size: 20px;
  line-height: 1.15;
}

.similar-grid span {
  color: #4d6680;
  font-size: 13px;
  font-weight: 950;
}

.faq {
  max-width: 860px;
}

.faq details {
  border-radius: 22px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.faq p {
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.65;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  opacity: 0;
  transform: translateY(15px);
  transition: .25s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.generation-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(7, 19, 38, .48);
  backdrop-filter: blur(18px);
}

.generation-modal.show {
  display: grid;
}

.generation-dialog {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(214, 232, 255, .92);
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 16%, rgba(66, 153, 255, .20), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(236,247,255,.96));
  box-shadow: 0 34px 110px rgba(1, 24, 65, .34);
  padding: 34px;
}

.generation-close {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #59738f;
  font-size: 24px;
  font-weight: 800;
}

.generation-loader {
  display: flex;
  gap: 9px;
}

.generation-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.generation-loader span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 1.1s infinite ease-in-out;
}

.generation-loader span:nth-child(2) {
  animation-delay: .15s;
  background: #55b8ff;
}

.generation-loader span:nth-child(3) {
  animation-delay: .30s;
  background: #99d9ff;
}

@keyframes pulse-dot {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50% { transform: translateY(-9px); opacity: 1; }
}

.generation-dialog small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
}

.generation-dialog h2 {
  margin: 10px 0 10px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: .96;
  letter-spacing: -2px;
}

.generation-status {
  max-width: 560px;
  margin: 0;
  color: #60758f;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.55;
}

.generation-track {
  height: 14px;
  overflow: hidden;
  margin: 26px 0 16px;
  border: 1px solid #cfe5ff;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
}

.generation-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f82ff, #63c4ff);
  transition: width .45s ease;
}

.generation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.generation-steps span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e8fb;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #7190ad;
  font-size: 11px;
  font-weight: 950;
}

.generation-steps span.active {
  border-color: #9bd3ff;
  background: #eaf5ff;
  color: var(--blue);
}

.generation-meta,
.generation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.generation-meta span {
  border: 1px solid #d7e8fb;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #44627f;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
}

.generation-meta .generation-task-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.generation-task-pill button {
  min-width: 28px;
  height: 24px;
  border: 1px solid #b9dcff;
  border-radius: 999px;
  background: #fff;
  color: #1178ff;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 950;
  cursor: pointer;
}

.generation-task-pill button:hover {
  background: #eaf5ff;
}

.generation-result {
  margin-top: 20px;
}

.generation-result video {
  width: 100%;
  max-height: 360px;
  border-radius: 24px;
  background: #071326;
  box-shadow: 0 22px 64px rgba(11, 55, 119, .18);
}

.generation-result .generation-image-result {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 24px;
  background: #f6fbff;
  box-shadow: 0 22px 64px rgba(11, 55, 119, .18);
}

.download-link,
.generation-actions a,
.generation-actions button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
}

.download-link {
  margin-top: 12px;
  background: #eaf5ff;
  color: var(--blue);
}

.generation-actions {
  margin-top: 22px;
}

.generation-actions .ghost {
  border: 1px solid #d7e8fb;
  background: #fff;
  color: #395875;
}

.generation-actions .primary {
  border: 0;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
}

.generation-actions .primary:disabled {
  cursor: wait;
  opacity: .76;
}

.generation-note {
  border: 1px solid #d7e8fb;
  border-radius: 22px;
  background: #fff;
  color: #55708d;
  padding: 18px;
  font-size: 14px;
  font-weight: 800;
}

.generation-note.error {
  border-color: #ffd0d0;
  background: #fff8f8;
  color: #9b3030;
}

.generation-restore {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 75;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 210px;
  border: 1px solid #cfe5ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 54px rgba(11, 55, 119, .18);
  color: var(--ink);
  padding: 12px 16px;
  text-align: left;
}

.generation-restore span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.generation-restore b {
  color: #18324f;
  font-size: 14px;
  font-weight: 950;
}

.generation-restore:hover {
  border-color: #8fcbff;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .model-nav nav {
    display: none;
  }

  .seo-model-summary {
    grid-template-columns: 1fr;
    padding: 22px 0 38px;
  }

  .model-product-card,
  .model-workspace,
  .model-steps-simple {
    grid-template-columns: 1fr;
  }

  .model-product-card .hero-visual {
    min-height: 300px;
  }

  .model-product-info {
    min-height: auto;
    padding: 4px;
  }

  .model-mini-stats {
    grid-template-columns: 1fr;
  }

  .model-simple .option-grid {
    grid-template-columns: 1fr;
  }

  .creator-workbench {
    grid-template-columns: 1fr;
  }

  .model-summary {
    min-height: auto;
  }

  .model-summary .hero-visual {
    min-height: 340px;
  }

  .model-hero,
  .playground,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .playground-copy {
    position: static;
  }

  .model-stats,
  .steps,
  .similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .model-nav {
    height: 58px;
    padding: 0 14px;
  }

  .nav-cta {
    padding: 0 13px;
    font-size: 12px;
  }

  #modelRoot {
    width: min(100% - 24px, 1240px);
  }

  .seo-model-summary {
    padding: 14px 0 34px;
    gap: 14px;
  }

  .seo-model-copy,
  .seo-model-workbench {
    border-radius: 20px;
    padding: 18px;
  }

  .seo-model-summary .back-link {
    margin-bottom: 14px;
  }

  .seo-model-copy h1 {
    font-size: 39px;
    line-height: 1.02;
  }

  .seo-model-copy p {
    font-size: 15px;
    line-height: 1.55;
  }

  .seo-model-actions a,
  .seo-workbench-button {
    width: 100%;
  }

  .seo-workbench-head {
    display: grid;
  }

  .seo-workbench-head b {
    text-align: left;
  }

  .seo-model-workbench textarea {
    min-height: 128px;
  }

  .creator-workbench {
    padding: 18px 0 42px;
    gap: 14px;
  }

  .model-summary,
  .creator-card {
    border-radius: 24px;
    padding: 18px;
  }

  .summary-head h1 {
    font-size: 42px;
    letter-spacing: -2.4px;
  }

  .summary-head p {
    font-size: 20px;
  }

  .model-summary .hero-visual {
    min-height: 280px;
    border-radius: 22px;
  }

  .summary-badges {
    grid-template-columns: 1fr 1fr;
  }

  .summary-badges span {
    min-height: 40px;
    font-size: 12px;
  }

  .creator-card .form-head {
    display: grid;
  }

  .creator-card .form-head b {
    font-size: 28px;
  }

  .creator-card .form-head > span {
    width: max-content;
  }

  .model-hero {
    min-height: auto;
    padding: 34px 0 30px;
  }

  .hero-copy h1 {
    font-size: 39px;
    letter-spacing: -2px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 350px;
    border-radius: 30px;
  }

  .visual-core b {
    width: 118px;
    height: 118px;
    border-radius: 32px;
    font-size: 32px;
  }

  .visual-strip,
  .option-grid,
  .model-stats,
  .steps,
  .similar-grid {
    grid-template-columns: 1fr;
  }

  .playground-copy h2,
  .use-cases h2,
  .section-head h2 {
    font-size: 34px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .generation-restore {
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-width: 0;
  }
}

/* Seedance 2.0 Mini: simple Kie-style playground */
.seedance-model-page .mini-input-row,
.seedance-model-page .advanced-inputs > .upload-lite.disabled,
.seedance-model-page .advanced-inputs > .upload-lite:has([data-upload-box="video_list"]) {
  display: none !important;
}

.seedance-model-page .option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seedance-model-page .price-calculator ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seedance-model-page .creator-card .wide-create {
  margin-top: 18px;
}

/* Seedance 2.0 Mini: KIE-like playground contract */
.seedance-kie-page .advanced-inputs {
  display: grid;
  gap: 18px;
}

.seedance-kie-page .advanced-inputs > label {
  display: grid;
  gap: 10px;
}

.seedance-kie-page .seedance-frames,
.seedance-kie-page .seedance-toggles,
.seedance-kie-page .seedance-upload {
  border: 1px solid #d4e5f8;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 40px rgba(28, 103, 190, .06);
}

.seedance-kie-page .seedance-frames {
  padding: 18px;
}

.seedance-kie-page .seedance-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.seedance-kie-page .seedance-section-title b,
.seedance-kie-page .seedance-upload > div:first-child b {
  color: #07152a;
  font-size: 15px;
  font-weight: 950;
}

.seedance-kie-page .seedance-section-title span,
.seedance-kie-page .seedance-upload > div:first-child span {
  color: #607890;
  font-size: 12px;
  font-weight: 850;
}

.seedance-kie-page .seedance-frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seedance-kie-page .seedance-frame-upload {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.seedance-kie-page .seedance-frame-upload > div:first-child {
  display: grid;
  gap: 3px;
  margin-bottom: 8px;
}

.seedance-kie-page .file-drop {
  min-height: 188px;
  border: 2px dashed #c7d8ea;
  border-radius: 14px;
  background: #fbfdff;
}

.seedance-kie-page .seedance-frame-upload .file-drop {
  min-height: 118px;
}

.seedance-kie-page .file-drop > i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  color: #8aa2bd;
  background: #f0f5fb;
  font-size: 22px;
  font-style: normal;
}

.seedance-kie-page .file-drop > b {
  display: block;
  text-align: center;
  color: #263a55;
  font-size: 14px;
}

.seedance-kie-page .file-drop > span {
  display: block;
  max-width: 420px;
  margin: 7px auto 0;
  text-align: center;
  color: #647b94;
  font-size: 12px;
  line-height: 1.35;
}

.seedance-kie-page .file-drop [data-upload-pick] {
  display: block;
  width: max-content;
  min-width: 112px;
  min-height: 42px;
  margin: 16px auto 0;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  color: #fff;
  background: #2d83ff;
  font-size: 13px;
  font-weight: 950;
}

.seedance-kie-page .seedance-upload {
  position: relative;
  padding: 18px;
}

.seedance-kie-page .seedance-upload > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.seedance-kie-page .seedance-upload .remove-files {
  position: absolute;
  top: 18px;
  right: 18px;
  width: auto;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #de3972;
  background: #ffd8e7;
  font-size: 12px;
  font-weight: 950;
}

.seedance-kie-page .seedance-frame-upload .remove-files {
  display: none;
}

.seedance-kie-page .file-list {
  margin-top: 14px;
}

.seedance-kie-page .file-card {
  border: 1px solid #d8e5f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 74, 128, .08);
}

.seedance-kie-page .file-preview {
  min-height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f7fbff;
}

.seedance-kie-page .file-preview img,
.seedance-kie-page .file-preview video {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.seedance-kie-page .seedance-frame-upload .file-preview {
  min-height: 76px;
}

.seedance-kie-page .audio-file-chip {
  width: 100%;
  padding: 18px;
  color: #263a55;
  font-weight: 850;
  text-align: center;
}

.seedance-kie-page .seedance-toggles {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.seedance-kie-page .seedance-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  color: #263a55;
}

.seedance-kie-page .seedance-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seedance-kie-page .seedance-switch i {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: #d6e1ee;
}

.seedance-kie-page .seedance-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(22, 55, 98, .2);
  transition: transform .18s ease;
}

.seedance-kie-page .seedance-switch input:checked + i {
  background: #2d83ff;
}

.seedance-kie-page .seedance-switch input:checked + i::after {
  transform: translateX(22px);
}

.seedance-kie-page .option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seedance-kie-page .option-grid article {
  min-height: 116px;
}

.seedance-kie-page .seedance-price-calculator ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .seedance-kie-page .seedance-frame-grid,
  .seedance-kie-page .option-grid {
    grid-template-columns: 1fr;
  }

  .seedance-kie-page .seedance-price-calculator ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Seedance client-facing pass: keep KIE-compatible fields, but make the UI human. */
.seedance-client-page .advanced-inputs {
  gap: 14px;
}

.seedance-client-page .seedance-intro-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #d6e7fb;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 131, 255, .16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,248,255,.82));
  box-shadow: 0 18px 44px rgba(32, 104, 192, .08);
}

.seedance-client-page .seedance-intro-card b {
  color: #07152a;
  font-size: 17px;
  font-weight: 950;
}

.seedance-client-page .seedance-intro-card span {
  color: #637b96;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.seedance-client-page .seedance-frames,
.seedance-client-page .seedance-upload,
.seedance-client-page .seedance-toggles {
  border-color: #cfe1f5;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
}

.seedance-client-page .seedance-frames {
  padding: 16px;
}

.seedance-client-page .seedance-section-title {
  margin-bottom: 12px;
}

.seedance-client-page .seedance-section-title b {
  font-size: 18px;
}

.seedance-client-page .seedance-section-title span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf6ff;
  color: #2c76d8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.seedance-client-page .seedance-upload-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.seedance-client-page .seedance-upload-head > div {
  display: grid;
  gap: 4px;
}

.seedance-client-page .seedance-upload-head b {
  color: #07152a;
  font-size: 16px;
  font-weight: 950;
}

.seedance-client-page .seedance-upload-head span,
.seedance-client-page .seedance-upload-head small {
  color: #667e99;
  font-size: 12px;
  font-weight: 800;
}

.seedance-client-page .seedance-upload-head small {
  white-space: nowrap;
}

.seedance-client-page .seedance-reference-grid {
  display: grid;
  gap: 14px;
}

.seedance-client-page .seedance-client-upload {
  padding: 16px;
}

.seedance-client-page .seedance-client-upload .remove-files {
  top: 14px;
  right: 14px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
}

.seedance-client-page .seedance-frame-upload .remove-files {
  display: none;
}

.seedance-client-page .file-drop {
  min-height: 132px;
  display: grid;
  align-content: center;
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.98));
}

.seedance-client-page .seedance-frame-upload .file-drop {
  min-height: 118px;
}

.seedance-client-page .file-drop > i {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  color: #2d83ff;
  background: #edf6ff;
  font-size: 20px;
}

.seedance-client-page .file-drop > b {
  font-size: 13px;
  font-weight: 950;
}

.seedance-client-page .file-drop > span {
  max-width: 340px;
  margin-top: 5px;
  font-size: 11px;
}

.seedance-client-page .file-drop [data-upload-pick] {
  min-height: 38px;
  margin-top: 12px;
  border-radius: 11px;
  background: linear-gradient(135deg, #3188ff, #126dff);
  box-shadow: 0 12px 24px rgba(26, 116, 255, .22);
}

.seedance-client-page .file-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seedance-client-page .seedance-frame-upload .file-list,
.seedance-client-page .audio-file-card.file-card {
  grid-template-columns: 1fr;
}

.seedance-client-page .file-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.seedance-client-page .file-card-head,
.seedance-client-page .file-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}

.seedance-client-page .file-card-head span,
.seedance-client-page .file-card-foot span {
  overflow: hidden;
  color: #203751;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seedance-client-page .file-card-head button {
  border: 0;
  border-radius: 999px;
  color: #de3972;
  background: #ffd8e7;
  font-size: 11px;
  font-weight: 950;
}

.seedance-client-page .file-preview {
  min-height: 116px;
  margin: 0 10px;
  border: 1px solid #dbe9f7;
}

.seedance-client-page .file-preview img,
.seedance-client-page .file-preview video {
  width: 100%;
  height: 150px;
  max-height: 150px;
  object-fit: cover;
}

.seedance-client-page .seedance-frame-upload .file-preview img {
  height: 110px;
}

.seedance-client-page .seedance-toggles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
}

.seedance-client-page .seedance-switch {
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #d8e7f7;
  border-radius: 16px;
  background: #fbfdff;
}

.seedance-client-page .seedance-switch b {
  font-size: 13px;
}

.seedance-client-page .option-grid article {
  min-height: 104px;
  border-radius: 18px;
}

.seedance-client-page .seedance-price-calculator {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(236,247,255,.96), rgba(255,255,255,.94));
}

.seedance-client-page .seedance-price-calculator small,
.seedance-client-page .seedance-price-calculator li span {
  color: #2f7de8;
  font-family: inherit;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seedance-client-page .seedance-client-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.seedance-client-page .seedance-example-card {
  min-height: 188px;
  padding: 12px;
  border: 1px solid #d5e7fa;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(30, 99, 176, .07);
}

.seedance-client-page .seedance-example-visual {
  height: 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dff1ff, #72b6ff);
  color: #fff;
  font-weight: 950;
}

.seedance-client-page .seedance-example-visual.frame-demo {
  grid-template-columns: 1fr 34px 1fr;
  background:
    linear-gradient(135deg, rgba(9,43,91,.85), rgba(65,158,255,.75)),
    radial-gradient(circle at 25% 40%, #ffd56b, transparent 24%);
}

.seedance-client-page .seedance-example-visual.frame-demo i {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,.8);
}

.seedance-client-page .seedance-example-visual.refs-demo {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #eaf6ff, #c9e7ff);
}

.seedance-client-page .seedance-example-visual.refs-demo span {
  width: 100%;
  height: 62px;
  border-radius: 12px;
  background: linear-gradient(145deg, #8cc7ff, #fff2bd);
}

.seedance-client-page .seedance-example-visual.refs-demo span:nth-child(2) {
  background: linear-gradient(145deg, #d8f7ff, #2d83ff);
}

.seedance-client-page .seedance-example-visual.refs-demo span:nth-child(3) {
  background: linear-gradient(145deg, #ffdfe9, #8fc4ff);
}

.seedance-client-page .seedance-example-visual.media-demo {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #113a6f, #57b6ff);
}

.seedance-client-page .seedance-example-visual.media-demo span {
  width: 100%;
  padding: 16px 4px;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
  text-align: center;
}

.seedance-client-page .seedance-example-card b {
  color: #07152a;
  font-size: 15px;
  font-weight: 950;
}

.seedance-client-page .seedance-example-card p {
  margin: 6px 0 0;
  color: #667e99;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .seedance-client-page .seedance-toggles,
  .seedance-client-page .seedance-client-examples {
    grid-template-columns: 1fr;
  }

  .seedance-client-page .file-list {
    grid-template-columns: 1fr;
  }
}

/* Seedance upload alignment: KIE-like uploaded-state cards. */
.seedance-client-page .seedance-frame-grid,
.seedance-client-page .seedance-reference-grid,
.seedance-client-page .seedance-client-upload,
.seedance-client-page .seedance-client-upload .file-drop,
.seedance-client-page .seedance-client-upload .file-list,
.seedance-client-page .seedance-client-upload .file-card {
  min-width: 0;
}

.seedance-client-page .seedance-client-upload {
  display: grid;
  gap: 12px;
}

.seedance-client-page .seedance-client-upload .file-drop {
  order: 1;
}

.seedance-client-page .seedance-client-upload .file-list {
  order: 2;
  margin-top: 0;
}

.seedance-client-page .seedance-client-upload.has-files .file-list {
  order: 1;
}

.seedance-client-page .seedance-client-upload.has-files .file-drop {
  order: 2;
}

.seedance-client-page .seedance-frame-upload.has-files .file-drop {
  display: none;
}

.seedance-client-page .seedance-client-upload.has-files:not(.seedance-frame-upload) .file-drop {
  min-height: 56px;
  padding: 8px;
  border-radius: 14px;
  background: #fbfdff;
}

.seedance-client-page .seedance-client-upload.has-files:not(.seedance-frame-upload) .file-drop > i,
.seedance-client-page .seedance-client-upload.has-files:not(.seedance-frame-upload) .file-drop > b,
.seedance-client-page .seedance-client-upload.has-files:not(.seedance-frame-upload) .file-drop > span {
  display: none;
}

.seedance-client-page .seedance-client-upload.has-files:not(.seedance-frame-upload) .file-drop [data-upload-pick] {
  margin: 0 auto;
  min-height: 38px;
  color: #2d83ff;
  border: 1px dashed #bdd8f7;
  background: #fff;
  box-shadow: none;
}

.seedance-client-page .seedance-client-upload.has-files:not(.seedance-frame-upload) .file-drop [data-upload-pick]::before {
  content: "+ ";
}

.seedance-client-page .seedance-frame-upload .file-list {
  display: block;
}

.seedance-client-page .seedance-frame-upload .file-card {
  height: 132px;
}

.seedance-client-page .seedance-frame-upload .file-card-head {
  position: absolute;
  z-index: 2;
  inset: 8px 8px auto 8px;
  padding: 0;
}

.seedance-client-page .seedance-frame-upload .file-card-head span {
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #233b59;
  background: rgba(255,255,255,.86);
  box-shadow: 0 6px 14px rgba(30, 74, 120, .08);
}

.seedance-client-page .seedance-frame-upload .file-card-head button {
  width: 30px;
  height: 30px;
  padding: 0;
  overflow: hidden;
  color: transparent;
  background: #ff5067;
  box-shadow: 0 8px 18px rgba(255, 80, 103, .24);
}

.seedance-client-page .seedance-frame-upload .file-card-head button::before {
  content: "×";
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.seedance-client-page .seedance-frame-upload .file-preview {
  height: 100%;
  min-height: 132px;
  margin: 0;
  border: 1px dashed #2d83ff;
  border-radius: 14px;
}

.seedance-client-page .seedance-frame-upload .file-preview img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  background: #f7fbff;
}

.seedance-client-page .seedance-frame-upload .file-card-foot {
  display: none;
}

.seedance-client-page .seedance-client-upload:not(.seedance-frame-upload) .file-card {
  max-width: 100%;
}

.seedance-client-page .seedance-client-upload:not(.seedance-frame-upload) .file-preview {
  height: 190px;
}

.seedance-client-page .seedance-client-upload:not(.seedance-frame-upload) .file-preview img,
.seedance-client-page .seedance-client-upload:not(.seedance-frame-upload) .file-preview video {
  height: 190px;
  object-fit: contain;
  background: #f7fbff;
}

.seedance-client-page .seedance-frame-upload .seedance-upload-head {
  margin-bottom: 8px;
}

.seedance-client-page .seedance-frame-upload .seedance-upload-head small,
.seedance-client-page .seedance-frame-upload .seedance-upload-head span {
  display: none;
}

@media (max-width: 760px) {
  .seedance-client-page .seedance-frame-upload .file-card,
  .seedance-client-page .seedance-frame-upload .file-preview,
  .seedance-client-page .seedance-frame-upload .file-preview img {
    height: 150px;
  }
}

/* Seedance preview pass: match Gemini output quality with a real demo video. */
.seedance-client-page .preview-card {
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
}

.seedance-client-page .preview-head {
  min-height: 72px;
  padding: 0 22px;
  border-bottom: 1px solid #e4eef9;
}

.seedance-client-page .video-preview.real-demo-preview {
  position: relative;
  margin: 22px;
  overflow: hidden;
  border: 1px solid #d7e6f7;
  border-radius: 12px;
  background: #071326;
  box-shadow: 0 18px 46px rgba(20, 78, 154, .10);
}

.seedance-client-page .video-preview.real-demo-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 285px;
  object-fit: cover;
  background: #071326;
}

.seedance-client-page .video-preview.real-demo-preview .demo-video-lazy,
.seedance-client-page .video-preview.real-demo-preview .demo-video-lazy img,
.seedance-client-page .video-preview.real-demo-preview .demo-video-fallback {
  min-height: 285px;
}

.seedance-client-page .video-preview.real-demo-preview::after {
  content: "Seedance 2.0 Mini";
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: rgba(7, 19, 38, .68);
  color: #fff;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.seedance-full-page .video-preview.real-demo-preview::after {
  content: "Seedance 2.0";
}

.seedance-25-page .video-preview.real-demo-preview::after {
  content: "Seedance 2.5";
}

.seedance-client-page .preview-note {
  margin: 0 22px 22px;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: #fbfdff;
}

.seedance-client-page .prompt-helper-card {
  margin: 0 22px 22px;
  border-radius: 16px;
}

@media (max-width: 760px) {
  .seedance-client-page .preview-head {
    min-height: 62px;
    padding: 0 16px;
  }

  .seedance-client-page .video-preview.real-demo-preview,
  .seedance-client-page .preview-note,
  .seedance-client-page .prompt-helper-card {
    margin-left: 16px;
    margin-right: 16px;
  }

  .seedance-client-page .video-preview.real-demo-preview video {
    min-height: 190px;
  }
}

/* Kling 3.0 Turbo preview pass: keep the right panel as real video, not a placeholder. */
.kling-turbo-page .kling-model-type {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.kling-turbo-page .kling-model-type > b {
  color: #172946;
  font-size: 14px;
}

.kling-turbo-page .kling-mode-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kling-turbo-page .kling-mode-buttons button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #cdddf0;
  border-radius: 8px;
  background: #fff;
  color: #1c2f4c;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(36, 98, 180, .06);
}

.kling-turbo-page .kling-mode-buttons button.active {
  border-color: #2d83ff;
  background: #2d83ff;
  color: #fff;
  box-shadow: 0 12px 22px rgba(45, 131, 255, .22);
}

.kling-turbo-page .kling-mode-buttons button.active::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .22);
  vertical-align: 1px;
}

.kling-turbo-page.kling-mode-text .kling-image-upload-block,
.kling-turbo-page .kling-aspect-option.is-hidden,
.kling-turbo-page [data-kling-aspect-row].is-hidden {
  display: none;
}

.kling-turbo-page .preview-card {
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
}

.kling-turbo-page .preview-head {
  min-height: 72px;
  padding: 0 22px;
  border-bottom: 1px solid #e4eef9;
}

.kling-turbo-page .video-preview.real-demo-preview {
  position: relative;
  margin: 22px;
  overflow: hidden;
  border: 1px solid #d7e6f7;
  border-radius: 12px;
  background: #06111f;
  box-shadow: 0 18px 46px rgba(20, 78, 154, .10);
}

.kling-turbo-page .video-preview.real-demo-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 285px;
  object-fit: cover;
  background: #06111f;
}

.kling-turbo-page .video-preview.real-demo-preview::after {
  content: "Kling 3.0 Turbo";
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: rgba(6, 17, 31, .70);
  color: #fff;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.kling-turbo-page .preview-note {
  margin: 0 22px 22px;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: #fbfdff;
}

.kling-turbo-page .prompt-helper-card {
  margin: 0 22px 22px;
  border-radius: 16px;
}

@media (max-width: 760px) {
  .kling-turbo-page .preview-head {
    min-height: 62px;
    padding: 0 16px;
  }

  .kling-turbo-page .video-preview.real-demo-preview,
  .kling-turbo-page .preview-note,
  .kling-turbo-page .prompt-helper-card {
    margin-left: 16px;
    margin-right: 16px;
  }

  .kling-turbo-page .video-preview.real-demo-preview video {
    min-height: 190px;
  }
}

.veo-31-page {
  background:
    radial-gradient(circle at 85% 2%, rgba(77, 169, 255, .22), transparent 30%),
    radial-gradient(circle at 10% 14%, rgba(58, 196, 129, .10), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 60%, #ffffff 100%);
}

.veo-31-page .model-workspace {
  grid-template-columns: minmax(0, 680px) minmax(360px, 520px);
}

.veo-31-page .veo-model-type {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 16px;
}

.veo-31-page .veo-model-type > div {
  display: grid;
  gap: 8px;
}

.veo-31-page .veo-model-type b {
  color: #172946;
  font-size: 13px;
}

.veo-31-page .veo-mode-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.veo-31-page .veo-mode-buttons button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #cdddf0;
  border-radius: 8px;
  background: #fff;
  color: #1c2f4c;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(36, 98, 180, .06);
}

.veo-31-page .veo-mode-buttons button.active {
  border-color: #2d83ff;
  background: #2d83ff;
  color: #fff;
  box-shadow: 0 12px 22px rgba(45, 131, 255, .22);
}

.veo-31-page .veo-mode-buttons button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.veo-31-page .veo-intro-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #d6e7fb;
  border-style: solid;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 131, 255, .16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,248,255,.82));
  box-shadow: 0 18px 44px rgba(32, 104, 192, .08);
}

.veo-31-page .veo-intro-card b {
  color: #07152a;
  font-size: 17px;
  font-weight: 950;
}

.veo-31-page .veo-intro-card span {
  color: #637b96;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.veo-31-page .veo-extra-row {
  margin: 0;
}

.veo-31-page .veo-extra-row input {
  width: 100%;
}

.veo-31-page .veo-toggles {
  margin: 0;
}

.veo-31-page .option-grid article.veo-reference-lock {
  box-shadow: inset 0 0 0 1px rgba(45, 131, 255, .20);
}

.veo-31-page .option-grid article.veo-reference-lock::after {
  content: "locked for Reference";
  display: block;
  margin-top: 8px;
  color: #5d7896;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.veo-31-page .veo-price-calculator ul {
  grid-template-columns: repeat(5, minmax(74px, 1fr));
}

.veo-31-page .veo-price-calculator li b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.veo-31-page .veo-preview-frame {
  background: #071525;
}

.veo-31-page .veo-preview-frame img,
.veo-31-page .hero-demo-image {
  object-position: center;
}

.veo-31-page .model-product-info p {
  max-width: 620px;
}

@media (max-width: 1120px) {
  .veo-31-page .veo-price-calculator ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .veo-31-page .model-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .veo-31-page .veo-mode-buttons button {
    flex: 1 1 150px;
    padding: 0 12px;
  }

  .veo-31-page .veo-price-calculator ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nano-banana-page .model-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: start;
}

.nano-banana-page .creator-card {
  border-color: #cfe4fb;
}

body.nano-banana-page .nano-description-field {
  display: grid !important;
  gap: 8px !important;
  margin: 18px 20px 0 !important;
}

body.nano-banana-page .nano-description-field > span {
  display: block !important;
  margin: 0 !important;
  color: #06152b !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.nano-banana-page .nano-description-field textarea#generationPrompt {
  min-height: 136px !important;
  max-height: 260px !important;
  padding: 16px 18px !important;
  border: 1px solid #cfe2f8 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .96) !important;
  color: #405772 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85) !important;
  resize: vertical !important;
}

body.nano-banana-page .nano-description-field textarea#generationPrompt:focus {
  border-color: #2781ff !important;
  box-shadow: 0 0 0 3px rgba(39, 129, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .85) !important;
}

body.nano-banana-page .nano-description-field textarea#generationPrompt::placeholder {
  color: #64748b !important;
  font-weight: 650 !important;
  opacity: 1 !important;
}

.nano-banana-page .nano-inputs {
  margin-top: 16px;
}

.nano-banana-page .nano-upload {
  border-style: solid;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f4faff 100%);
}

.nano-banana-page .nano-upload-head,
.nano-banana-page .nano-upload-head > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.nano-banana-page .nano-upload-head > div {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.nano-banana-page .nano-upload .remove-files {
  width: auto;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f6fbff;
  color: #5a7490;
  font-size: 11px;
}

.nano-banana-page .file-drop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  justify-content: center;
  align-content: center;
  gap: 10px;
  min-height: 172px;
  margin: 0;
  padding: 24px;
  border: 1px dashed #a9cff6;
  border-radius: 16px;
  background: #fbfdff;
  text-align: center;
}

.nano-banana-page .file-drop > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf5ff;
  color: #2685ff;
  font-style: normal;
  font-weight: 950;
}

.nano-banana-page .file-drop > b,
.nano-banana-page .file-drop > span {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.nano-banana-page .file-drop [data-upload-pick] {
  width: auto;
  min-width: 150px;
  justify-self: center;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #1f7aff;
  color: #fff;
}

.nano-banana-page .file-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.nano-banana-page .file-card {
  min-width: 0;
  border: 1px solid #d9e8f8;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.nano-banana-page .file-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.nano-banana-page .nano-price-calculator {
  margin-top: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  border: 1px solid #d8e6f5;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
  box-shadow: 0 16px 40px rgba(32, 125, 255, .08);
}

.nano-banana-page .nano-price-calculator small {
  display: block;
  margin-bottom: 6px;
  color: #1677ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nano-banana-page .nano-price-calculator strong {
  display: block;
  color: #07152b;
  font-size: 28px;
  line-height: 1.05;
}

.nano-banana-page .nano-price-calculator ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.nano-banana-page .nano-price-calculator li {
  padding: 10px 11px;
  border: 1px solid #dce9f7;
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
}

.nano-banana-page .nano-price-calculator li span {
  display: block;
  color: #6a7f97;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nano-banana-page .nano-price-calculator li b {
  display: block;
  margin-top: 4px;
  color: #12223a;
  font-size: 13px;
}

.nano-banana-page .nano-price-card {
  justify-content: flex-start;
  gap: 16px;
}

.nano-banana-page .nano-preview-card {
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: #fff;
}

.nano-banana-page .nano-preview-card .preview-head {
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid #e4eef9;
}

.nano-banana-page .nano-preview-card .preview-head span {
  color: #5c7894;
  font-size: 11px;
  font-weight: 950;
}

.nano-banana-page .nano-preview-frame {
  margin: 16px;
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: #f7fbff;
}

.nano-banana-page .nano-preview-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.nano-banana-page .preview-note {
  margin: 0 16px 16px;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: #fbfdff;
}

.gpt-image-2-page .gpt-mode-block {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #d8e8f8;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%);
}

.gpt-image-2-page .gpt-mode-block > b {
  display: block;
  margin-bottom: 10px;
  color: #13253d;
  font-size: 13px;
  font-weight: 950;
}

.gpt-image-2-page .gpt-image-mode-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gpt-image-2-page .gpt-image-mode-buttons button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #c9ddf4;
  border-radius: 10px;
  background: #fff;
  color: #163252;
  font-weight: 900;
}

.gpt-image-2-page .gpt-image-mode-buttons button.active {
  border-color: #2b82ff;
  background: linear-gradient(135deg, #3a8cff 0%, #1268f5 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 122, 255, .18);
}

.gpt-image-2-page .option-grid button:disabled,
.gpt-image-2-page .option-grid button.is-disabled {
  cursor: not-allowed;
  border-color: #e1e9f4;
  background: #f7faff;
  color: #a9b8c8;
  box-shadow: none;
}

.gpt-image-2-page .gpt-image-upload .file-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gpt-image-2-page .gpt-image-upload .file-card-head span,
.gpt-image-2-page .gpt-image-upload .file-card-foot span {
  font-size: 11px;
}

.gpt-image-2-page .gpt-image-upload .file-preview img {
  aspect-ratio: 1 / 1;
}

.qwen-image-2-page .qwen-image-upload[hidden] {
  display: none !important;
}

.qwen-image-2-page .qwen-image-price-calculator,
.qwen-image-2-page .qwen-image-price-calculator ul {
  align-items: stretch;
}

.gpt-kie-page {
  background: #f8fafc;
  color: #111827;
}

.gpt-kie-page #modelRoot {
  width: 100%;
  max-width: none;
}

.gpt-kie-page .model-simple {
  width: 100%;
  padding: 0 0 72px;
}

.gpt-kie-page .back-link {
  width: min(1200px, calc(100% - 48px));
  display: block;
  margin: 18px auto 8px;
  color: #526071;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.gpt-kie-hero {
  width: min(1200px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 28px;
  margin: 0 auto;
  padding: 10px 0 28px;
}

.gpt-kie-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gpt-kie-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.gpt-kie-title-row h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #5d6677;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0;
}

.gpt-kie-title-row h1 button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  font-size: 15px;
}

.gpt-kie-title-row em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 6px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  padding: 0 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.gpt-kie-hero-main > p {
  max-width: 760px;
  margin: 28px 0 20px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.gpt-kie-page .gpt-mode-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gpt-kie-page .gpt-mode-block > b {
  margin: 0;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.gpt-kie-page .gpt-image-mode-buttons {
  gap: 8px;
}

.gpt-kie-page .gpt-image-mode-buttons button {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
}

.gpt-kie-page .gpt-image-mode-buttons button.active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 0 rgba(15, 23, 42, .28);
}

.gpt-kie-pricing-note {
  max-width: 840px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #596579;
  font-size: 12px;
  line-height: 1.45;
}

.gpt-kie-pricing-note span {
  color: #f59e0b;
  font-size: 14px;
}

.gpt-kie-pricing-note p {
  margin: 0;
}

.gpt-kie-monitor {
  margin-top: 26px;
}

.gpt-kie-monitor > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.gpt-kie-monitor b {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.gpt-kie-monitor span {
  border: 1px solid #dbeafe;
  border-radius: 4px;
  background: #f8fafc;
  color: #047857;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 650;
}

.gpt-kie-bars {
  display: grid;
  grid-template-columns: repeat(132, 1fr);
  gap: 2px;
  height: 20px;
}

.gpt-kie-bars i {
  display: block;
  min-width: 2px;
  background: #34d399;
}

.gpt-kie-bars i.warn {
  background: #fb7185;
}

.gpt-kie-actions {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 2px;
}

.gpt-kie-actions button {
  min-height: 32px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.gpt-kie-api-run {
  border: 0;
  background: #2563eb;
  color: #fff;
}

.gpt-kie-copy {
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #334155;
}

.gpt-kie-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
}

.gpt-kie-tabs span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

.gpt-kie-tabs span.active {
  border-bottom-color: #2563eb;
  color: #2563eb;
}

.gpt-kie-page .model-workspace {
  width: min(980px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 28px auto 0;
}

.gpt-kie-page .creator-card,
.gpt-kie-page .model-price-card,
.gpt-kie-panel {
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: 0;
}

.gpt-kie-panel-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 16px;
}

.gpt-kie-panel-head > b {
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
}

.gpt-kie-mini-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 8px;
  background: #f1f5f9;
  padding: 4px;
}

.gpt-kie-mini-tabs span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  color: #64748b;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.gpt-kie-mini-tabs span.active {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.gpt-kie-panel-body {
  padding: 24px 20px 20px;
}

.gpt-kie-field {
  display: block;
  margin-bottom: 18px;
}

.gpt-kie-field > span,
.gpt-kie-field-head b {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 650;
}

.gpt-kie-field > span b {
  color: #ef4444;
}

.gpt-kie-field textarea,
.gpt-kie-field select {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  outline: none;
  font-size: 13px;
  font-weight: 500;
}

.gpt-kie-field textarea {
  min-height: 84px;
  padding: 12px;
  line-height: 1.45;
  resize: vertical;
}

.gpt-kie-field select {
  min-height: 40px;
  padding: 0 12px;
}

.gpt-kie-field small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.gpt-kie-resolution-buttons {
  display: flex;
  gap: 8px;
}

.gpt-kie-resolution-buttons button {
  min-width: 54px;
  min-height: 32px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.gpt-kie-resolution-buttons button.active {
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px #2563eb;
}

.gpt-kie-upload {
  display: block;
  margin-bottom: 18px;
  border: 1px dashed #cfd8e3;
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.gpt-image-mode-text .gpt-kie-upload {
  display: none;
}

.gpt-kie-field-head,
.gpt-kie-field-head > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.gpt-kie-field-head > div {
  display: block;
}

.gpt-kie-field-head span,
.gpt-kie-field-head small,
.gpt-kie-upload > small,
.gpt-kie-upload .file-drop > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.gpt-kie-upload .remove-files {
  width: auto;
  min-height: 28px;
  margin: 0 0 10px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
}

.gpt-kie-upload .file-drop {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 140px;
  border: 1px dashed #bfdbfe;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  text-align: center;
}

.gpt-kie-upload .file-drop > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-style: normal;
  font-weight: 800;
}

.gpt-kie-upload .file-drop > b {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.gpt-kie-upload [data-upload-pick] {
  width: auto;
  min-width: 120px;
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}

.gpt-kie-upload .file-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.gpt-kie-upload .file-card {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  text-align: left;
}

.gpt-kie-upload .file-card-head,
.gpt-kie-upload .file-card-foot {
  padding: 8px;
}

.gpt-kie-upload .file-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.gpt-kie-upload .file-card-head button {
  width: auto;
  min-height: 24px;
  border: 0;
  border-radius: 5px;
  background: #fee2e2;
  color: #be123c;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
}

.gpt-kie-upload .file-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gpt-kie-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  border-top: 1px solid #e5e7eb;
  padding-top: 14px;
}

.gpt-kie-form-actions button {
  min-height: 34px;
  border-radius: 7px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
}

.gpt-kie-form-actions .reset-lite {
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #475569;
}

.gpt-kie-run {
  border: 0;
  background: #2563eb;
  color: #fff;
}

.gpt-kie-output-card {
  justify-content: flex-start;
}

.gpt-kie-output-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #475569;
  font-size: 12px;
  font-weight: 650;
}

.gpt-kie-output-type b {
  border-radius: 999px;
  background: #dbeafe;
  color: #2563eb;
  padding: 4px 9px;
  font-size: 11px;
}

.gpt-kie-output-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #0f172a;
}

.gpt-kie-output-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gpt-kie-output-card .preview-note {
  margin-top: 18px;
  border-radius: 7px;
  background: #f8fafc;
}

.gpt-omni-page .model-simple {
  width: min(1180px, calc(100% - 42px));
  padding-top: 22px;
}

.gpt-omni-page .model-workspace {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  align-items: start;
  margin-top: 16px;
}

.gpt-omni-page .creator-card,
.gpt-omni-page .preview-card {
  border: 1px solid rgba(197, 224, 255, .92);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 151, 255, .11), transparent 36%),
    rgba(255, 255, 255, .9);
  box-shadow: 0 28px 80px rgba(22, 92, 180, .10);
}

.gpt-omni-page .creator-card {
  padding: 28px;
}

.gpt-omni-page .creator-card .form-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.gpt-omni-page .creator-card .form-head b {
  font-size: clamp(34px, 4vw, 54px);
  line-height: .92;
  letter-spacing: -2.4px;
}

.gpt-omni-page .creator-card .form-head > span {
  min-width: 112px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf5ff;
  color: #1478ff;
  font-size: 16px;
  font-weight: 950;
}

.gpt-omni-page .form-lead {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: 14px;
}

.gpt-omni-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 14px;
  border-radius: 14px;
  background: #f1f7ff;
  padding: 5px;
}

.gpt-omni-tabs span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #6b829d;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 950;
}

.gpt-omni-tabs span.active {
  background: #fff;
  color: #071326;
  box-shadow: 0 8px 20px rgba(31, 112, 210, .08);
}

.gpt-omni-page .gpt-mode-block {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #d8e8f8;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%);
}

.gpt-omni-page .gpt-mode-block > b {
  display: block;
  margin-bottom: 10px;
  color: #13253d;
  font-size: 13px;
  font-weight: 950;
}

.gpt-omni-page .gpt-image-mode-buttons button {
  min-height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 950;
}

.gpt-omni-page .gpt-kie-field {
  margin-bottom: 16px;
}

.gpt-omni-page .gpt-kie-field > span,
.gpt-omni-page .gpt-kie-field-head b {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.gpt-omni-page .gpt-kie-field textarea,
.gpt-omni-page .gpt-kie-field select {
  border-color: #cfe2f8;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  color: #213954;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.gpt-omni-page .gpt-kie-field textarea {
  min-height: 112px;
  padding: 16px;
}

.gpt-omni-page .gpt-kie-field select {
  min-height: 48px;
  padding: 0 14px;
}

.gpt-omni-page .gpt-kie-field small,
.gpt-omni-page .gpt-kie-field-head span,
.gpt-omni-page .gpt-kie-upload > small,
.gpt-omni-page .gpt-kie-upload .file-drop > span {
  color: #6a829d;
  font-size: 11px;
  font-weight: 800;
}

.gpt-omni-param-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 12px;
}

.gpt-omni-page .gpt-kie-resolution-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gpt-omni-page .gpt-kie-resolution-buttons button {
  min-width: 54px;
  min-height: 38px;
  border-radius: 999px;
  border-color: #cfe2f8;
  background: #fff;
  color: #48637d;
  font-weight: 950;
}

.gpt-omni-page .gpt-kie-resolution-buttons button.active {
  border-color: #1478ff;
  background: #eaf5ff;
  color: #1478ff;
  box-shadow: inset 0 0 0 1px #1478ff;
}

.wan-27-image-page .gpt-image-mode-buttons button {
  border: 1px solid #cfe2f8;
  background: #fff;
  color: #213954;
  box-shadow: none;
}

.wan-27-image-page .gpt-image-mode-buttons button.active {
  border-color: #1478ff;
  background: linear-gradient(135deg, #338dff, #176eff);
  color: #fff;
  box-shadow: 0 14px 30px rgba(23, 110, 255, .20);
}

.wan-27-image-page .gpt-kie-resolution-buttons button.is-disabled {
  opacity: .42;
  cursor: not-allowed;
  box-shadow: none;
}

.gpt-omni-page .gpt-kie-upload {
  margin-bottom: 16px;
  border: 1px dashed #b9d8fa;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f4faff 100%);
  padding: 14px;
}

.gpt-omni-page.gpt-image-mode-text .gpt-kie-upload {
  display: none;
}

.gpt-omni-page .gpt-kie-upload .remove-files {
  min-height: 32px;
  border-radius: 999px;
  background: #f6fbff;
  color: #5a7490;
  font-weight: 950;
}

.gpt-omni-page .gpt-kie-upload .file-drop {
  min-height: 154px;
  border-color: #a9cff6;
  border-radius: 16px;
  background: #fbfdff;
}

.gpt-omni-page .gpt-kie-upload .file-drop > i {
  width: 42px;
  height: 42px;
  background: #eaf5ff;
  color: #2685ff;
}

.gpt-omni-page .gpt-kie-upload [data-upload-pick] {
  min-height: 42px;
  border-radius: 12px;
  background: #1f7aff;
  font-weight: 950;
}

.gpt-omni-page .gpt-image-price-calculator {
  margin-top: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  border: 1px solid #d8e6f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
  box-shadow: 0 16px 40px rgba(32, 125, 255, .08);
}

.gpt-omni-page .gpt-image-price-calculator small {
  display: block;
  margin-bottom: 6px;
  color: #1677ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gpt-omni-page .gpt-image-price-calculator strong {
  display: block;
  color: #07152b;
  font-size: 28px;
  line-height: 1.05;
}

.gpt-omni-page .gpt-image-price-calculator ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gpt-omni-page .gpt-image-price-calculator li {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #dce9f7;
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
}

.gpt-omni-page .gpt-image-price-calculator li span {
  display: block;
  color: #6a7f97;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gpt-omni-page .gpt-image-price-calculator li b {
  display: block;
  margin-top: 4px;
  color: #12223a;
  font-size: 12px;
}

.gpt-omni-page .gpt-kie-form-actions {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  margin-top: 18px;
  border-top: 0;
  padding-top: 0;
}

.gpt-omni-page .gpt-kie-form-actions button {
  min-height: 54px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 950;
}

.gpt-omni-page .gpt-kie-form-actions .reset-lite {
  border: 1px solid #d7e6f7;
  background: #fff;
  color: #48637d;
}

.gpt-omni-page .gpt-kie-run {
  border: 0;
  background: linear-gradient(135deg, #3290ff, #126dff);
  color: #fff;
  box-shadow: 0 18px 40px rgba(18, 109, 255, .22);
}

.gpt-omni-page .preview-card {
  min-height: 100%;
  padding: 24px;
}

.gpt-omni-page .gpt-omni-preview-body {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.gpt-omni-page .gpt-kie-output-type {
  margin-bottom: 0;
  color: #5f7892;
  font-weight: 950;
}

.gpt-omni-page .gpt-kie-output-type b {
  background: #eaf5ff;
  color: #1478ff;
  font-weight: 950;
}

.gpt-omni-page .gpt-kie-output-figure {
  border: 1px solid #d7e6f7;
  border-radius: 24px;
  background: #f7fbff;
  box-shadow: 0 20px 50px rgba(13, 23, 42, .08);
}

.gpt-omni-page .gpt-kie-output-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  object-fit: cover;
}

.gpt-omni-page .preview-note {
  border-radius: 20px;
  background: rgba(248, 251, 255, .86);
}

.z-image-page .gpt-omni-param-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.z-image-page .z-image-select-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d5e2f1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
}

.z-image-page .z-image-switch-field {
  gap: 8px;
}

.z-image-page .z-image-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.z-image-page .z-image-switch {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
  cursor: pointer;
}

.z-image-page .z-image-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.z-image-page .z-image-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d9e1ec;
  transition: background .18s ease;
}

.z-image-page .z-image-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
  transition: transform .18s ease;
}

.z-image-page .z-image-switch input:checked + span {
  background: #8badff;
}

.z-image-page .z-image-switch input:checked + span::after {
  transform: translateX(20px);
}

.z-image-page .z-image-switch-field em {
  color: #f97316;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

.z-image-page .z-image-output-card {
  align-self: start;
  min-height: 0;
  padding: 0;
}

.z-image-page .z-image-output-card .preview-head {
  min-height: 62px;
  padding: 18px 20px;
  border-bottom: 1px solid #dce8f5;
}

.z-image-page .z-image-output-card .gpt-omni-preview-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
  padding: 20px;
}

.z-image-page .z-image-output-card .gpt-kie-output-type {
  margin: 0;
}

.z-image-page .z-image-output-card .gpt-kie-output-figure {
  margin: 0;
  border: 1px solid #d7e6f7;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: none;
}

.z-image-page .z-image-output-card .gpt-kie-output-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  object-fit: cover;
}

.z-image-page .z-image-output-card .preview-note {
  margin-top: 0;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fbfdff;
}

.z-image-page .z-image-output-card .preview-note b {
  margin-bottom: 6px;
  font-size: 14px;
}

.z-image-page .z-image-output-card .preview-note span {
  font-size: 12px;
  line-height: 1.45;
}

.gpt-omni-page .similar-section {
  display: none !important;
}

.runway-video-page .model-workspace {
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
}

.runway-video-page .creator-card,
.runway-video-page .preview-card {
  overflow: hidden;
}

.runway-video-page .creator-card .form-head b {
  font-size: 40px;
  line-height: .98;
  letter-spacing: 0;
}

.runway-video-page .runway-mode-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.runway-video-page .runway-family-block {
  margin-bottom: 16px;
}

.runway-video-page .runway-family-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.runway-video-page .runway-family-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #c9ddf4;
  border-radius: 12px;
  background: #fff;
  color: #163252;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
  box-shadow: 0 10px 22px rgba(31, 122, 255, .06);
}

.runway-video-page .runway-family-buttons a.active {
  border-color: #2b82ff;
  background: linear-gradient(135deg, #3a8cff 0%, #1268f5 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 122, 255, .18);
}

.runway-video-page .runway-family-block small {
  display: block;
  margin-top: 8px;
  color: #607890;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.runway-video-page .runway-mode-buttons button {
  min-width: 0;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid #c9ddf4;
  border-radius: 12px;
  background: #fff;
  color: #163252;
  font-weight: 950;
  white-space: normal;
  line-height: 1.15;
}

.runway-video-page .runway-mode-buttons button.active {
  border-color: #2b82ff;
  background: linear-gradient(135deg, #3a8cff 0%, #1268f5 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 122, 255, .18);
}

.runway-video-page .runway-param-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.runway-video-page .runway-button-field {
  margin-bottom: 0;
}

.runway-video-page .runway-button-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.runway-video-page .runway-option-buttons {
  width: 100%;
}

.runway-video-page .runway-option-buttons button {
  flex: 1 1 70px;
  min-width: 0;
}

.runway-video-page .runway-option-buttons button:disabled,
.runway-video-page .runway-option-buttons button.is-disabled {
  cursor: not-allowed;
  border-color: #e2edf8;
  background: #f8fbff;
  color: #9fb2c6;
  box-shadow: none;
}

.runway-video-page .gpt-kie-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfe2f8;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  color: #213954;
  outline: none;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.runway-video-page .runway-extend-section {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px dashed #b9d8fa;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f4faff 100%);
}

.runway-video-page .runway-extend-section .gpt-kie-field {
  margin: 0;
}

.runway-video-page.runway-mode-text .runway-image-section,
.runway-video-page.runway-mode-extend .runway-image-section,
.runway-video-page.runway-mode-extend .runway-duration-section,
.runway-video-page.runway-mode-extend .runway-aspect-section,
.runway-video-page:not(.runway-mode-extend) .runway-extend-section {
  display: none;
}

.runway-video-page .runway-upload .file-list {
  grid-template-columns: minmax(0, 1fr);
}

.runway-video-page .runway-upload .file-preview img {
  aspect-ratio: 16 / 9;
}

.runway-video-page .runway-upload .file-preview img,
.runway-video-page .runway-upload .file-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 300px;
  background: #08172b;
  object-fit: contain;
}

.runway-video-page .runway-upload .file-preview video {
  border-radius: 0;
}

.runway-video-page .gpt-kie-field-head b em {
  color: #ff3b5c;
  font-style: normal;
}

.runway-video-page .runway-price-calculator ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.runway-video-page .runway-price-calculator li b {
  overflow-wrap: anywhere;
}

.runway-video-page .runway-output-figure img {
  aspect-ratio: 16 / 9 !important;
  min-height: 230px !important;
  object-position: center;
}

.runway-video-page .runway-output-figure video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 230px;
  border-radius: 14px;
  background: #08172b;
  object-fit: cover;
}

.runway-video-page .runway-output-card .prompt-helper-card {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow: 0 14px 36px rgba(40, 110, 190, .08);
}

.runway-video-page .prompt-helper-head small,
.runway-video-page .prompt-helper-head b {
  display: block;
}

.runway-video-page .prompt-helper-head small {
  margin-bottom: 5px;
  color: #1674ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
}

.runway-video-page .prompt-helper-head b {
  color: #07152a;
  font-size: 18px;
  line-height: 1.12;
}

.runway-video-page .prompt-helper-card textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #cfe0f2;
  border-radius: 12px;
  resize: vertical;
  background: #fff;
  color: #17253a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  box-sizing: border-box;
}

.runway-video-page .prompt-helper-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3190ff, #146cff);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(31, 119, 255, .2);
}

.runway-video-page .prompt-helper-card p {
  margin: 0;
  color: #607890;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.runway-video-page .preview-note {
  margin: 0;
}

.wan-27-video-page .model-workspace {
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
}

.wan-27-video-page .creator-card,
.wan-27-video-page .preview-card {
  overflow: hidden;
}

.wan-27-video-page .creator-card .form-head b {
  font-size: 40px;
  line-height: .98;
  letter-spacing: 0;
}

.wan-27-video-page .wan-mode-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.wan-27-video-page .wan-mode-buttons button {
  min-width: 0;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid #c9ddf4;
  border-radius: 12px;
  background: #fff;
  color: #163252;
  font-weight: 950;
  white-space: normal;
  line-height: 1.15;
}

.wan-27-video-page .wan-mode-buttons button.active {
  border-color: #2b82ff;
  background: linear-gradient(135deg, #3a8cff 0%, #1268f5 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 122, 255, .18);
}

.wan-27-video-page .wan-param-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wan-27-video-page .wan-button-field {
  margin-bottom: 0;
}

.wan-27-video-page .wan-button-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.wan-27-video-page .wan-option-buttons {
  width: 100%;
}

.wan-27-video-page .wan-option-buttons button {
  flex: 1 1 70px;
  min-width: 0;
}

.wan-27-video-page .gpt-kie-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfe2f8;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  color: #213954;
  outline: none;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.wan-27-video-page.wan-mode-text .wan-i2v-section,
.wan-27-video-page.wan-mode-text .wan-r2v-section,
.wan-27-video-page.wan-mode-text .wan-edit-section,
.wan-27-video-page.wan-mode-image .wan-r2v-section,
.wan-27-video-page.wan-mode-image .wan-edit-section,
.wan-27-video-page.wan-mode-r2v .wan-i2v-section,
.wan-27-video-page.wan-mode-r2v .wan-edit-section,
.wan-27-video-page.wan-mode-edit .wan-i2v-section,
.wan-27-video-page.wan-mode-edit .wan-r2v-section,
.wan-27-video-page.wan-mode-edit .wan-audio-section {
  display: none;
}

.wan-27-video-page .wan-upload .file-list {
  grid-template-columns: minmax(0, 1fr);
}

.wan-27-video-page .wan-upload .file-preview img,
.wan-27-video-page .wan-upload .file-preview video {
  aspect-ratio: 16 / 9;
}

.wan-27-video-page .wan-price-calculator ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wan-27-video-page .wan-price-calculator li b {
  overflow-wrap: anywhere;
}

.wan-27-video-page .wan-output-figure img,
.wan-27-video-page .wan-output-figure video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  min-height: 230px !important;
  object-position: center;
}

.wan-27-video-page .wan-output-figure video {
  background: #050b15;
  object-fit: cover;
}

.wan-27-video-page .wan-output-card .prompt-helper-card {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow: 0 14px 36px rgba(40, 110, 190, .08);
}

.wan-27-video-page .prompt-helper-head small,
.wan-27-video-page .prompt-helper-head b {
  display: block;
}

.wan-27-video-page .prompt-helper-head small {
  margin-bottom: 5px;
  color: #1674ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
}

.wan-27-video-page .prompt-helper-head b {
  color: #07152a;
  font-size: 18px;
  line-height: 1.12;
}

.wan-27-video-page .prompt-helper-card textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #cfe0f2;
  border-radius: 12px;
  resize: vertical;
  background: #fff;
  color: #17253a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  box-sizing: border-box;
}

.wan-27-video-page .prompt-helper-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3190ff, #146cff);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(31, 119, 255, .2);
}

.wan-27-video-page .prompt-helper-card p {
  margin: 0;
  color: #607890;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.wan-27-video-page .preview-note {
  margin: 0;
}

.wan-30-kie-page .model-workspace {
  grid-template-columns: minmax(0, 620px) minmax(360px, 430px);
}

.wan-30-kie-page .creator-card .form-head b {
  font-size: 18px;
  line-height: 1.15;
}

.wan-30-kie-page .creator-card .form-head span {
  font-size: 15px;
}

.wan-30-kie-page .wan-kie-body {
  gap: 14px;
}

.wan-30-kie-page .wan-kie-frames,
.wan-30-kie-page .wan-kie-url-field,
.wan-30-kie-page .wan-kie-switches {
  margin: 0;
  border: 1px solid #d5e4f7;
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.wan-30-kie-page .wan-kie-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wan-30-kie-page .wan-kie-section-title b {
  color: #0b1728;
  font-size: 13px;
  font-weight: 850;
}

.wan-30-kie-page .wan-kie-section-title span,
.wan-30-kie-page .wan-kie-frames > small {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.wan-30-kie-page .wan-kie-frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.wan-30-kie-page .wan-kie-frame-upload,
.wan-30-kie-page .wan-kie-reference-upload {
  margin: 0;
  border-color: #d7e6f8;
  background: #fff;
}

.wan-30-kie-page .wan-kie-frame-upload {
  padding: 10px;
}

.wan-30-kie-page .wan-kie-reference-upload {
  padding: 14px;
}

.wan-30-kie-page .wan-kie-frame-upload .file-drop {
  min-height: 112px;
  padding: 12px;
}

.wan-30-kie-page .wan-kie-reference-upload .file-drop {
  min-height: 150px;
}

.wan-30-kie-page .wan-kie-frame-upload .file-drop > b,
.wan-30-kie-page .wan-kie-reference-upload .file-drop > b {
  font-size: 12px;
}

.wan-30-kie-page .wan-kie-frame-upload .file-list,
.wan-30-kie-page .wan-kie-reference-upload .file-list {
  grid-template-columns: minmax(0, 1fr);
}

.wan-30-kie-page .wan-kie-reference-upload .file-preview img,
.wan-30-kie-page .wan-kie-reference-upload .file-preview video {
  object-fit: contain;
  background: #f8fafc;
  max-height: 210px;
}

.wan-30-kie-page .wan-kie-url-field {
  display: grid;
  gap: 8px;
}

.wan-30-kie-page .wan-kie-url-field textarea {
  min-height: 72px;
}

.wan-30-kie-page .wan-kie-switches {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wan-30-kie-page .wan-kie-actions .reset-lite {
  border-radius: 8px;
}

.wan-30-kie-page .wan-kie-actions .gpt-kie-run {
  border-radius: 8px;
}

.eleven-dialogue-panel {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px dashed #b9d8fa;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
}

.eleven-section-head,
.eleven-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.eleven-section-head {
  margin-bottom: 12px;
}

.eleven-section-head b {
  display: block;
  color: #10213a;
  font-size: 15px;
  font-weight: 950;
}

.eleven-section-head span,
.eleven-section-head small,
.eleven-audio-demo span {
  color: #6a829d;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.45;
}

.eleven-section-head small {
  white-space: nowrap;
}

.eleven-dialogue-list {
  display: grid;
  gap: 12px;
}

.eleven-dialogue-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 12px;
  padding: 14px;
  border: 1px solid #d7e8fa;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
}

.eleven-row-head {
  grid-column: 1 / -1;
}

.eleven-row-head b {
  color: #0b1b31;
  font-size: 13px;
  font-weight: 950;
}

.eleven-row-head button,
.eleven-add-row {
  min-height: 32px;
  border: 1px solid #d6e7f8;
  border-radius: 999px;
  background: #f6fbff;
  color: #2d79de;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
}

.eleven-row-head button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.eleven-dialogue-row .gpt-kie-field {
  margin: 0;
}

.eleven-dialogue-row .gpt-kie-field textarea {
  min-height: 92px;
}

.eleven-add-row {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border-style: dashed;
  background: #fff;
}

.eleven-param-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eleven-output-card .gpt-omni-preview-body {
  gap: 16px;
}

.eleven-output-figure img {
  aspect-ratio: 16 / 9 !important;
  min-height: 220px !important;
}

.eleven-audio-demo {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d7e8fa;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.eleven-audio-demo b {
  display: block;
  margin-bottom: 4px;
  color: #10213a;
  font-size: 14px;
  font-weight: 950;
}

.eleven-audio-demo audio,
.generation-result .generation-audio-result {
  width: 100%;
  min-height: 42px;
}

.generation-result .generation-audio-result {
  display: block;
  border-radius: 14px;
  background: #f4f9ff;
}

@media (max-width: 980px) {
  .nano-banana-page .model-workspace {
    grid-template-columns: 1fr;
  }

  .nano-banana-page .nano-price-calculator,
  .nano-banana-page .nano-price-calculator ul {
    grid-template-columns: 1fr;
  }

  .gpt-image-2-page .gpt-image-upload .file-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpt-kie-hero,
  .gpt-kie-page .model-workspace {
    grid-template-columns: 1fr;
  }

  .gpt-kie-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpt-omni-page .model-workspace,
  .gpt-omni-param-grid,
  .runway-video-page .model-workspace,
  .runway-video-page .runway-family-buttons,
  .runway-video-page .runway-param-grid,
  .wan-27-video-page .model-workspace,
  .wan-27-video-page .wan-param-grid,
  .wan-30-kie-page .wan-kie-frame-grid,
  .wan-30-kie-page .wan-kie-switches,
  .eleven-param-grid,
  .eleven-dialogue-row {
    grid-template-columns: 1fr;
  }

  .gpt-omni-page .gpt-image-price-calculator,
  .gpt-omni-page .gpt-image-price-calculator ul,
  .runway-video-page .runway-price-calculator,
  .runway-video-page .runway-price-calculator ul,
  .wan-27-video-page .wan-price-calculator,
  .wan-27-video-page .wan-price-calculator ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nano-banana-page .file-list {
    grid-template-columns: 1fr;
  }

  .gpt-image-2-page .gpt-image-mode-buttons button {
    flex: 1 1 220px;
  }

  .gpt-kie-hero,
  .gpt-kie-page .model-workspace,
  .gpt-kie-page .back-link {
    width: min(100% - 24px, 1200px);
  }

  .gpt-kie-page .gpt-mode-block,
  .gpt-kie-monitor > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .gpt-kie-tabs {
    gap: 14px;
    overflow-x: auto;
    padding: 0 12px;
  }

  .gpt-kie-panel-body {
    padding: 18px 14px;
  }

  .gpt-kie-form-actions {
    justify-content: stretch;
  }

  .gpt-kie-form-actions button {
    flex: 1;
  }

  .gpt-kie-bars {
    grid-template-columns: repeat(66, 1fr);
  }

  .gpt-omni-page .model-simple {
    width: min(100% - 24px, 1180px);
  }

  .gpt-omni-page .creator-card .form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gpt-omni-page .gpt-image-mode-buttons button {
    flex: 1 1 220px;
  }

  .runway-video-page .runway-mode-buttons {
    grid-template-columns: 1fr;
  }

  .runway-video-page .creator-card .form-head b {
    font-size: 34px;
  }

  .gpt-omni-page .gpt-kie-form-actions {
    grid-template-columns: 1fr;
  }
}

.generation-text-result {
  max-height: min(46vh, 520px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #dbe8f6;
  border-radius: 16px;
  background: #fbfdff;
}

.generation-text-result pre {
  margin: 0;
  color: #10213a;
  font: 13px/1.65 Inter, Arial, sans-serif;
  white-space: pre-wrap;
  word-break: break-word;
}

.claude-fable-page .model-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  align-items: start;
}

.claude-fable-page .creator-card,
.claude-fable-page .model-price-card {
  border-color: #d5e4f4;
}

.claude-fable-page .creator-card textarea#generationPrompt {
  min-height: 230px;
}

.claude-messages-page .creator-card > label.claude-chat-composer {
  position: relative;
  display: block;
}

.claude-messages-page .creator-card > label.claude-chat-composer textarea#generationPrompt {
  padding-bottom: 66px;
}

.claude-messages-page .claude-chat-attachment {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.claude-messages-page .gemini-inline-file-drop {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.claude-messages-page .gemini-composer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.claude-messages-page .gemini-attach-button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: #eef2f7;
  color: #7b8794;
  box-shadow: none;
  font-size: 17px;
  line-height: 1;
}

.claude-messages-page .gemini-attach-button svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: #7b8794;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.claude-messages-page .gemini-attach-button:hover,
.claude-messages-page .gemini-attach-button:focus-visible {
  background: #e3efff;
  color: #1d74ff;
  outline: none;
}

.claude-messages-page .gemini-chat-file-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-height: 46px;
  overflow: hidden;
  pointer-events: auto;
}

.claude-messages-page .gemini-chat-file-list .file-card {
  width: auto;
  min-width: 118px;
  max-width: 170px;
  height: 42px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 7px;
  border: 1px solid #d8e7f7;
  border-radius: 9px;
  background: #f8fbff;
  padding: 4px 6px;
  box-shadow: none;
}

.claude-messages-page .gemini-chat-file-list .file-card-head {
  display: none;
}

.claude-messages-page .gemini-chat-file-list .file-preview {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 7px;
  background: #eaf4ff;
}

.claude-messages-page .gemini-chat-file-list .file-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.claude-messages-page .gemini-chat-file-list .file-card-foot {
  display: contents;
}

.claude-messages-page .gemini-chat-file-list .file-card-foot span,
.claude-messages-page .gemini-chat-file-list .file-card-foot small {
  min-width: 0;
  overflow: hidden;
  color: #53677e;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.claude-messages-page .gemini-chat-file-list .file-card-foot small {
  display: none;
}

.claude-messages-page .gemini-chat-file-list [data-upload-remove] {
  width: 24px;
  height: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eaf1fb;
  color: #52677f;
  font-size: 13px;
  box-shadow: none;
}

.claude-fable-page .option-grid article {
  min-height: 132px;
}

.claude-fable-page .claude-price-calculator {
  margin-top: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  border: 1px solid #d9e6f3;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8fe 100%);
  box-shadow: 0 16px 40px rgba(23, 90, 164, .07);
}

.claude-fable-page .claude-price-calculator small {
  display: block;
  margin-bottom: 6px;
  color: #1d72d2;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.claude-fable-page .claude-price-calculator strong {
  display: block;
  color: #07152b;
  font-size: 28px;
  line-height: 1.05;
}

.claude-fable-page .claude-price-calculator ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.claude-fable-page .claude-price-calculator li {
  padding: 10px 11px;
  border: 1px solid #dde9f5;
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
}

.claude-fable-page .claude-price-calculator li span {
  display: block;
  color: #6b7f95;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.claude-fable-page .claude-price-calculator li b {
  display: block;
  margin-top: 4px;
  color: #12223a;
  font-size: 13px;
}

.claude-fable-page .claude-price-card {
  justify-content: flex-start;
  gap: 16px;
}

.claude-fable-page .claude-preview-card {
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: #fff;
}

.claude-fable-page .claude-preview-card .preview-head {
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid #e4eef9;
}

.claude-fable-page .claude-preview-card .preview-head span {
  color: #5c7894;
  font-size: 11px;
  font-weight: 950;
}

.claude-fable-page .claude-preview-frame {
  margin: 16px 16px 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid #dbe8f6;
  border-radius: 16px;
  background: #eef6ff;
}

.claude-fable-page .claude-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.claude-fable-page .claude-output-preview {
  margin: 16px;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 251, 255, .96)),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(66, 133, 244, .08) 36px);
}

.claude-fable-page .claude-output-preview b {
  display: block;
  color: #07152b;
  font-size: 17px;
}

.claude-fable-page .claude-output-preview p {
  margin: 10px 0 14px;
  color: #60728c;
  font-size: 13px;
  line-height: 1.55;
}

.claude-fable-page .claude-output-preview ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.claude-fable-page .claude-output-preview li {
  padding: 9px 10px;
  border: 1px solid #e0ebf6;
  border-radius: 10px;
  background: #fff;
  color: #213a5a;
  font-size: 12px;
  font-weight: 850;
}

.openai-codex-page .option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.openai-codex-page .option-grid article {
  min-height: 118px;
}

.openai-codex-page .option-grid button {
  min-width: 0;
}

.openai-codex-page .codex-price-calculator {
  margin-top: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  border: 1px solid #d9e6f3;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8fe 100%);
  box-shadow: 0 16px 40px rgba(23, 90, 164, .07);
}

.openai-codex-page .codex-price-calculator small {
  display: block;
  margin-bottom: 6px;
  color: #1d72d2;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.openai-codex-page .codex-price-calculator strong {
  display: block;
  color: #07152b;
  font-size: 28px;
  line-height: 1.05;
}

.openai-codex-page .codex-price-calculator ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.openai-codex-page .codex-price-calculator li {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #dde9f5;
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
}

.openai-codex-page .codex-price-calculator li span {
  display: block;
  color: #6b7f95;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.openai-codex-page .codex-price-calculator li b {
  display: block;
  margin-top: 4px;
  color: #12223a;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.openai-codex-page .codex-preview-frame {
  background: #edf6ff;
}

.openai-codex-page .codex-output-preview li {
  color: #183b67;
}

@media (max-width: 1180px) {
  .openai-codex-page .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .openai-codex-page .codex-price-calculator ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .claude-fable-page .model-workspace,
  .claude-fable-page .claude-price-calculator,
  .claude-fable-page .claude-price-calculator ul,
  .openai-codex-page .codex-price-calculator,
  .openai-codex-page .codex-price-calculator ul {
    grid-template-columns: 1fr;
  }
}

body.veo-31-page {
  margin: 0;
  overflow-x: hidden;
  background: #f5f5f5;
  color: #1f2937;
}

.veo-31-page .model-nav,
.veo-31-page .back-link,
.veo-31-page .model-product-card,
.veo-31-page .model-steps-simple,
.veo-31-page .similar-section,
.veo-31-page .example-strip,
.veo-31-page .prompt-helper-card {
  display: none !important;
}

.veo-31-page #modelRoot,
.veo-31-page .model-simple {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: #f5f5f5;
}

.veo-31-page .model-workspace {
  width: 100% !important;
  min-height: 100vh;
  margin: 0 !important;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: stretch;
  justify-content: stretch;
  background: #f5f5f5;
}

.veo-31-page .creator-card {
  width: 272px !important;
  min-height: 100vh;
  align-self: stretch;
  padding: 0 3px 8px !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}

.veo-31-page .creator-card .form-head,
.veo-31-page .creator-card > .wide-create,
.veo-31-page .run-actions,
.veo-31-page .veo-price-calculator,
.veo-31-page .price-calculator {
  display: none !important;
}

.veo-31-page .creator-card .advanced-inputs,
.veo-31-page .creator-card .option-grid {
  width: auto !important;
  margin: 0 !important;
  padding: 0 4px !important;
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.veo-31-page .creator-card .advanced-inputs {
  padding-top: 2px !important;
}

.veo-31-page .veo-panel-block,
.veo-31-page .option-grid article {
  min-width: 0;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid #edf0f4 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.veo-31-page .veo-panel-block {
  display: grid;
  gap: 8px;
}

.veo-31-page .veo-panel-block > b,
.veo-31-page .veo-model-type b,
.veo-31-page .veo-prompt-block > span,
.veo-31-page .option-grid article > b {
  margin: 0 !important;
  color: #1f2937 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.veo-31-page .veo-mode-buttons {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px !important;
}

.veo-31-page .veo-mode-buttons button,
.veo-31-page .option-grid button {
  width: 100%;
  min-height: 30px !important;
  padding: 0 6px !important;
  border: 1px solid #d4dbe8 !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.12;
  letter-spacing: 0 !important;
  white-space: normal;
  box-shadow: none !important;
}

.veo-31-page .veo-mode-buttons button.active,
.veo-31-page .option-grid button.active {
  border-color: #2f6df6 !important;
  background: #3b82f6 !important;
  color: #fff !important;
}

.veo-31-page .veo-mode-buttons button:focus-visible,
.veo-31-page .option-grid button:focus-visible,
.veo-31-page #veoModelSelect:focus-visible,
.veo-31-page .veo-file-drop > button:focus-visible,
.veo-31-page .veo-action-foot .wide-create:focus-visible {
  outline: 2px solid rgba(37, 99, 235, .34);
  outline-offset: 1px;
}

.veo-31-page .veo-mode-buttons button:disabled {
  opacity: .58;
  cursor: not-allowed;
}

.veo-31-page .veo-model-type label {
  display: grid;
  gap: 8px;
}

.veo-31-page #veoModelSelect {
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d4dbe8;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.veo-31-page .veo-mode-text .veo-image-upload,
.veo-mode-text .veo-image-upload {
  display: none !important;
}

.veo-31-page .veo-block-head,
.veo-31-page .active-upload > div:first-child {
  padding-right: 0 !important;
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.veo-31-page .veo-block-head b {
  color: #1f2937;
  font-size: 12px;
  font-weight: 800;
}

.veo-31-page .veo-block-head span {
  color: #e11d48;
}

.veo-31-page .veo-block-head small {
  color: #667085;
  font-size: 10px;
  font-weight: 700;
}

.veo-31-page .veo-block-head small:empty {
  display: none;
}

.veo-31-page .remove-files {
  top: 8px !important;
  right: 8px !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 7px !important;
  background: #f7f8fb !important;
  color: #667085 !important;
  font-size: 10px !important;
  box-shadow: none !important;
}

.veo-31-page .veo-file-drop,
.veo-31-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] {
  min-height: 124px !important;
  margin: 0 !important;
  padding: 8px !important;
  display: grid !important;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 7px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #fff !important;
  text-align: center;
  cursor: pointer;
}

.veo-31-page .veo-file-drop > b {
  display: block;
  width: 100%;
  color: #344054;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.veo-31-page .veo-file-drop > span {
  display: block;
  width: 100%;
  color: #667085;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.veo-31-page .veo-file-drop > button {
  min-height: 28px !important;
  padding: 0 12px !important;
  border: 1px solid #d4dbe8 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #2563eb !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.veo-31-page .veo-file-drop .file-list {
  width: 100%;
  margin: 0 !important;
  display: block !important;
}

.veo-31-page .veo-slot-grid {
  width: 100%;
  display: grid;
  gap: 6px;
}

.veo-31-page .veo-frame-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.veo-31-page .veo-reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.veo-31-page .veo-upload-slot {
  position: relative;
  min-height: 72px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  border: 1px dashed #c8d7e9;
  border-radius: 5px;
  background: #f8fafc;
}

.veo-31-page .veo-upload-slot > span {
  display: block;
  padding: 4px 5px 2px;
  color: #344054;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}

.veo-31-page .veo-upload-slot img {
  width: 100%;
  height: 56px;
  display: block;
  object-fit: cover;
}

.veo-31-page .veo-upload-slot i {
  width: auto !important;
  height: auto !important;
  align-self: center;
  justify-self: center;
  display: block !important;
  color: #2563eb;
  background: transparent !important;
  font-style: normal;
  font-size: 18px !important;
  font-weight: 700;
}

.veo-31-page .veo-upload-slot.veo-slot-pick {
  cursor: pointer;
}

.veo-31-page .veo-upload-slot.veo-slot-pick:hover,
.veo-31-page .veo-upload-slot.veo-slot-pick:focus-visible {
  border-color: #2d7ff9;
  background: #eef6ff;
  outline: none;
}

.veo-31-page .veo-upload-slot.veo-slot-pick:hover i,
.veo-31-page .veo-upload-slot.veo-slot-pick:focus-visible i {
  transform: scale(1.08);
}

.veo-31-page .veo-upload-slot button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 39, .7);
  color: transparent;
}

.veo-31-page .veo-upload-slot button::before {
  content: "x";
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.veo-31-page .veo-prompt-block textarea#generationPrompt {
  width: 100%;
  min-height: 116px !important;
  padding: 10px !important;
  border: 1px solid #d4dbe8 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  resize: vertical;
  box-shadow: none !important;
}

.veo-31-page .option-grid article {
  display: grid;
  gap: 8px;
}

.veo-31-page .option-grid article div {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.veo-31-page .option-grid article.veo-reference-lock::after {
  content: none !important;
  display: none !important;
}

.veo-mode-reference .option-grid [data-veo-option="duration"] button:not(.active) {
  display: none !important;
}

.veo-mode-reference .option-grid [data-veo-option="duration"] div {
  grid-template-columns: 1fr !important;
}

.veo-31-page .veo-action-foot {
  margin: 8px 4px 0 !important;
  display: grid;
  gap: 8px;
}

.veo-31-page .veo-action-foot .wide-create {
  width: 100%;
  min-height: 34px !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.veo-31-page .veo-action-foot p {
  margin: 0 12px;
  color: #667085;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.veo-31-page .preview-card {
  min-width: 0;
  min-height: 100vh !important;
  padding: clamp(72px, 13vh, 180px) 28px 0 !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  justify-content: flex-start;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}

.veo-31-page .preview-head,
.veo-31-page .preview-note,
.veo-31-page .preview-card > small,
.veo-31-page .preview-card > strong,
.veo-31-page .preview-card > p,
.veo-31-page .preview-card > button {
  display: none !important;
}

.veo-31-page .video-preview {
  width: min(640px, calc(100vw - 360px)) !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.veo-31-page .video-preview img,
.veo-31-page .video-preview video {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .veo-31-page .model-workspace {
    grid-template-columns: 1fr !important;
  }

  .veo-31-page .creator-card {
    width: 100% !important;
    min-height: auto;
    padding: 8px !important;
  }

  .veo-31-page .preview-card {
    min-height: auto !important;
    padding: 18px 12px 28px !important;
  }

  .veo-31-page .video-preview {
    width: 100% !important;
  }
}

/* Veo 3.1 should follow the Aiveno/Gemini playground layout, not the compact KIE sidebar. */
body.veo-31-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 8%, rgba(80, 170, 255, .18), transparent 35%),
    linear-gradient(180deg, #f6fbff 0%, #edf7ff 100%) !important;
  color: #0f1f34;
}

.veo-31-page #modelRoot {
  width: 100% !important;
  max-width: none !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.veo-31-page .model-simple {
  width: min(1280px, calc(100% - 40px)) !important;
  max-width: 1280px !important;
  min-height: auto !important;
  margin: 28px auto 56px !important;
  padding: 0 !important;
  background: transparent !important;
}

.veo-31-page .back-link {
  display: inline-flex !important;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 900;
  color: #587493;
}

.veo-31-page .model-workspace {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 680px) minmax(360px, 520px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 18px !important;
  background: transparent !important;
}

.veo-31-page .creator-card,
.veo-31-page .preview-card {
  width: auto !important;
  min-width: 0 !important;
  min-height: auto !important;
  align-self: start !important;
  overflow: hidden;
  border: 1px solid #dce8f5 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 54px rgba(24, 83, 143, .08) !important;
}

.veo-31-page .creator-card {
  padding: 0 !important;
}

.veo-31-page .creator-card .form-head,
.veo-31-page .preview-head {
  min-height: 58px !important;
  margin: 0 !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid #e5eef8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.veo-31-page .creator-card .form-head small,
.veo-31-page .preview-head small,
.veo-31-page .creator-card .form-head > span {
  display: none !important;
}

.veo-31-page .creator-card .form-head b {
  color: #071328 !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.veo-31-page .form-lead,
.veo-31-page .creator-card .advanced-inputs,
.veo-31-page .creator-card .option-grid,
.veo-31-page .veo-action-foot {
  margin-left: 22px !important;
  margin-right: 22px !important;
}

.veo-31-page .form-lead {
  display: block !important;
  margin-top: 16px !important;
  margin-bottom: 16px !important;
  color: #647891;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.veo-31-page .creator-card .advanced-inputs {
  margin-top: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

.veo-31-page .veo-panel-block,
.veo-31-page .option-grid article {
  margin: 0 !important;
  padding: 16px !important;
  border: 1px dashed #cddbea !important;
  border-radius: 12px !important;
  background: #fbfdff !important;
}

.veo-31-page .veo-prompt-block {
  order: -1;
}

.veo-31-page .veo-panel-block > b,
.veo-31-page .veo-model-type b,
.veo-31-page .veo-prompt-block > span,
.veo-31-page .option-grid article > b {
  color: #2e4057 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.veo-31-page .veo-mode-buttons {
  gap: 8px !important;
}

.veo-31-page .veo-mode-buttons button,
.veo-31-page .option-grid button {
  min-height: 38px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.veo-31-page #veoModelSelect,
.veo-31-page .veo-prompt-block textarea#generationPrompt {
  border: 1px solid #d3e1ef !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #1c2c42 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.veo-31-page .veo-prompt-block textarea#generationPrompt {
  min-height: 112px !important;
  padding: 14px !important;
}

.veo-31-page .veo-image-upload {
  border-style: dashed !important;
}

.veo-31-page .veo-file-drop,
.veo-31-page .active-upload.has-files .file-drop[data-upload-box="image_urls"] {
  min-height: 170px !important;
  padding: 16px !important;
  border: 1px dashed #c5d5e6 !important;
  border-radius: 12px !important;
  background: #fbfcfe !important;
}

.veo-31-page .veo-file-drop > b {
  font-size: 14px !important;
  font-weight: 900 !important;
}

.veo-31-page .veo-file-drop > span {
  max-width: 460px;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.veo-31-page .veo-file-drop > button {
  min-height: 38px !important;
  padding: 0 18px !important;
  border-radius: 9px !important;
  background: #2d7ff9 !important;
  color: #fff !important;
}

.veo-31-page .creator-card .option-grid {
  margin-top: 18px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.veo-31-page .option-grid article div {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.veo-31-page .veo-action-foot {
  margin-top: 18px !important;
  margin-bottom: 22px !important;
}

.veo-31-page .veo-action-foot .wide-create {
  min-height: 48px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #3190ff, #146cff) !important;
  font-size: 14px !important;
}

.veo-31-page .veo-action-foot p {
  margin: 0;
  font-size: 11px;
  color: #607890;
}

.veo-31-page .preview-card {
  padding: 0 0 22px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.veo-31-page .preview-head,
.veo-31-page .preview-note,
.veo-31-page .prompt-helper-card {
  display: grid !important;
}

.veo-31-page .preview-head {
  display: flex !important;
}

.veo-31-page .preview-card > small,
.veo-31-page .preview-card > strong,
.veo-31-page .preview-card > span,
.veo-31-page .preview-card > .price-create,
.veo-31-page .preview-card > p {
  display: none !important;
}

.veo-31-page .video-preview {
  width: auto !important;
  max-width: none !important;
  margin: 0 22px !important;
  aspect-ratio: 16 / 9;
  border: 1px solid #d7e6f7 !important;
  border-radius: 12px !important;
  background: #071326 !important;
  box-shadow: none !important;
}

.veo-31-page .video-preview img,
.veo-31-page .video-preview video {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 11px;
}

.veo-31-page .preview-note {
  margin: 0 22px !important;
  padding: 16px !important;
  border: 1px solid #dbe8f6 !important;
  border-radius: 12px !important;
  background: #fbfdff !important;
  gap: 6px;
}

.veo-31-page .preview-note b {
  color: #071328;
  font-size: 15px;
}

.veo-31-page .preview-note span {
  color: #607890;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.veo-31-page .prompt-helper-card {
  margin: 0 20px !important;
}

@media (max-width: 1120px) {
  .veo-31-page .model-workspace {
    grid-template-columns: minmax(0, 620px) !important;
  }
}

@media (max-width: 760px) {
  .veo-31-page .model-simple {
    width: min(100% - 24px, 620px) !important;
    margin-top: 18px !important;
  }

  .veo-31-page .creator-card .option-grid {
    grid-template-columns: 1fr !important;
  }

  .veo-31-page .video-preview,
  .veo-31-page .preview-note,
  .veo-31-page .prompt-helper-card {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}

.nano-banana-pro-page .nano-pro-aspect-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nano-banana-pro-page .nano-pro-select-field {
  position: relative;
  display: block;
}

.nano-banana-pro-page .nano-pro-select-field select {
  width: 100%;
  min-height: 46px;
  appearance: none;
  border: 1px solid #cfe0f7;
  border-radius: 14px;
  background: #fff;
  color: #07152f;
  font: inherit;
  font-weight: 800;
  padding: 0 44px 0 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.nano-banana-pro-page .nano-pro-select-field::before {
  content: "x";
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa9bf;
  font-weight: 800;
  pointer-events: none;
}

.nano-banana-pro-page .nano-pro-select-field::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6c7d96;
  border-bottom: 2px solid #6c7d96;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.nano-banana-pro-page .nano-pro-aspect-control > small {
  color: #65748b;
  font-size: 12px;
  font-weight: 700;
}

.happyhorse-page .happyhorse-model-type,
.happyhorse-page .happyhorse-info {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d7e6f7;
  border-radius: 14px;
  background: #fbfdff;
}

.happyhorse-page .happyhorse-model-type > b,
.happyhorse-page .happyhorse-info > b {
  color: #07152f;
  font-size: 14px;
  font-weight: 900;
}

.happyhorse-page .happyhorse-info > span {
  color: #607890;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.happyhorse-page .happyhorse-mode-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.happyhorse-page .happyhorse-mode-buttons button {
  min-height: 44px;
  border: 1px solid #cfe0f7;
  border-radius: 10px;
  background: #fff;
  color: #07152f;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.happyhorse-page .happyhorse-mode-buttons button.active {
  border-color: #2d7ff9;
  background: #2d7ff9;
  color: #fff;
}

.happyhorse-page .active-upload.is-hidden,
.happyhorse-page .upload-lite.is-hidden,
.happyhorse-page .option-grid article.is-hidden,
.happyhorse-page .price-calculator li.is-hidden {
  display: none !important;
}

.happyhorse-page .seedance-client-upload {
  border-style: dashed;
}

.happyhorse-page .file-drop {
  min-height: 172px;
  padding: 18px;
}

.happyhorse-page .file-drop > b {
  text-align: center;
}

.happyhorse-page .price-calculator {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .happyhorse-page .happyhorse-mode-buttons {
    grid-template-columns: 1fr;
  }
}

.grok-imagine-page .grok-param-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grok-imagine-page .grok-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grok-imagine-page .grok-duration-field input {
  width: 100%;
  min-height: 48px;
  margin: 8px 0 10px;
  padding: 0 14px;
  border: 1px solid #cfe0f7;
  border-radius: 12px;
  background: #fff;
  color: #07152f;
  font: inherit;
  font-weight: 900;
}

.grok-imagine-page .grok-upload .gpt-kie-field-head {
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 6px;
}

.grok-imagine-page .grok-upload .gpt-kie-field-head > div {
  min-width: 0;
}

.grok-imagine-page .grok-upload .gpt-kie-field-head span {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.grok-imagine-page .grok-upload .gpt-kie-field-head small {
  display: block;
  width: 100%;
  white-space: normal;
}

.grok-imagine-page .grok-output-figure video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #07152f;
  object-fit: cover;
}

.grok-imagine-page .prompt-helper-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow: 0 14px 36px rgba(40, 110, 190, .08);
}

.grok-imagine-page .prompt-helper-head {
  margin-bottom: 12px;
}

.grok-imagine-page .prompt-helper-head small {
  display: block;
  margin-bottom: 5px;
  color: #1674ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
}

.grok-imagine-page .prompt-helper-head b {
  display: block;
  color: #07152a;
  font-size: 18px;
  line-height: 1.12;
}

.grok-imagine-page .prompt-helper-card textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #cfe0f2;
  border-radius: 12px;
  resize: vertical;
  background: #fff;
  color: #17253a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  box-sizing: border-box;
}

.grok-imagine-page .prompt-helper-button {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3190ff, #146cff);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(31, 119, 255, .2);
  cursor: pointer;
}

.grok-imagine-page .prompt-helper-card p {
  margin: 10px 0 0;
  color: #607890;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.grok-imagine-page .grok-price-calculator ul {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grok-imagine-page .grok-param-grid,
  .grok-imagine-page .grok-price-calculator ul {
    grid-template-columns: 1fr;
  }
}

.omnihuman-page .model-workspace {
  align-items: start;
}

.omnihuman-page .omnihuman-mode-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.omnihuman-page .omnihuman-mode-buttons button {
  min-height: 48px;
  white-space: normal;
  line-height: 1.15;
}

.omnihuman-page .omnihuman-avatar-only {
  display: grid;
  gap: 16px;
}

.omnihuman-mode-human-identification .omnihuman-avatar-only,
.omnihuman-mode-subject-detection .omnihuman-avatar-only {
  display: none;
}

.omnihuman-mode-avatar .omnihuman-detect-note {
  display: none;
}

.omnihuman-page .omnihuman-param-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(190px, .8fr);
}

.omnihuman-page .omnihuman-switch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.omnihuman-page .omnihuman-switch {
  min-height: 70px;
  padding: 14px;
  border: 1px solid #d7e6f7;
  border-radius: 14px;
  background: #fbfdff;
}

.omnihuman-page .omnihuman-switch span small {
  display: block;
  margin-top: 4px;
  color: #6d7f98;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.omnihuman-page .omnihuman-seed-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfe0f7;
  border-radius: 14px;
  padding: 0 14px;
  color: #07152f;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.omnihuman-page .omnihuman-prompt-field textarea {
  min-height: 108px;
  resize: vertical;
}

.omnihuman-page .omnihuman-output-figure {
  min-height: 300px;
  background: #071326;
}

.omnihuman-page .omnihuman-output-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  object-fit: contain;
  object-position: center center;
  border-radius: 14px;
  background: #071326;
}

.omnihuman-page .omnihuman-output-video img,
.omnihuman-page .omnihuman-output-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  object-fit: contain;
  object-position: center center;
  background: #071326;
}

.omnihuman-page .omnihuman-price-calculator li.is-hidden {
  display: none;
}

@media (max-width: 760px) {
  .omnihuman-page .omnihuman-mode-buttons,
  .omnihuman-page .omnihuman-param-grid {
    grid-template-columns: 1fr;
  }

  .omnihuman-page .omnihuman-output-figure,
  .omnihuman-page .omnihuman-output-video {
    min-height: 220px;
  }
}

.grok-imagine-page .grok-upload .gpt-kie-field-head span,
.grok-imagine-page .grok-upload .gpt-kie-field-head small {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.grok-imagine-page.gemini-final-page .active-upload.grok-upload > .gpt-kie-field-head:first-child span,
.grok-imagine-page.gemini-final-page .active-upload.grok-upload > .gpt-kie-field-head:first-child small {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.kling-motion-page .model-workspace {
  width: min(1180px, calc(100% - 42px));
  grid-template-columns: minmax(0, 720px) minmax(360px, 420px);
  gap: 24px;
  align-items: start;
}

.kling-motion-page .creator-card,
.kling-motion-page .preview-card {
  overflow: hidden;
}

.kling-motion-page .creator-card .form-head {
  align-items: flex-start;
  padding: 28px 28px 0;
}

.kling-motion-page .creator-card .form-head b {
  max-width: 460px;
  font-size: 38px;
  line-height: .98;
  letter-spacing: 0;
}

.kling-motion-page .creator-card .form-head span {
  min-width: 118px;
  min-height: 46px;
}

.kling-motion-page .kling-motion-lead {
  max-width: 660px;
  margin: 10px 28px 18px;
}

.kling-motion-page .gpt-omni-tabs {
  margin: 0 28px;
}

.kling-motion-page .kling-motion-body {
  padding: 20px 28px 28px;
}

.kling-motion-page .kling-motion-prompt textarea {
  min-height: 112px;
}

.kling-motion-upload-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.kling-motion-upload {
  border: 1px solid #cfe2f8;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
  padding: 14px;
}

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

.kling-motion-upload-head b {
  display: block;
  color: #07152b;
  font-size: 14px;
  font-weight: 950;
}

.kling-motion-upload-head span {
  display: block;
  margin-top: 4px;
  color: #6a829d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.kling-motion-upload .remove-files {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid #d7e6f7;
  border-radius: 999px;
  background: #fff;
  color: #5a7490;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 950;
}

.kling-motion-upload .kling-motion-drop {
  min-height: 116px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px dashed #a9cff6;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  padding: 18px;
  text-align: left;
}

.kling-motion-upload .kling-motion-drop.dragging {
  border-color: #1478ff;
  background: #eef7ff;
}

.kling-motion-upload .kling-motion-drop > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eaf5ff;
  color: #1478ff;
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.kling-motion-upload .kling-motion-drop > div {
  min-width: 0;
}

.kling-motion-upload .kling-motion-drop b {
  display: block;
  color: #07152b;
  font-size: 14px;
  font-weight: 950;
}

.kling-motion-upload .kling-motion-drop span {
  display: block;
  margin-top: 5px;
  color: #6a829d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.kling-motion-upload [data-upload-pick] {
  min-width: 142px;
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: #1f7aff;
  color: #fff;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 950;
}

.kling-motion-upload .file-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.kling-motion-upload .file-card {
  overflow: hidden;
  border: 1px solid #d7e6f7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(26, 88, 154, .08);
}

.kling-motion-upload .file-card-head,
.kling-motion-upload .file-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
}

.kling-motion-upload .file-card-head span,
.kling-motion-upload .file-card-foot span,
.kling-motion-upload .file-card-foot small {
  min-width: 0;
  overflow: hidden;
  color: #5f7892;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kling-motion-upload .file-card-head button {
  border: 0;
  border-radius: 999px;
  background: #ffe4ed;
  color: #d62c67;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 950;
}

.kling-motion-upload .file-preview img,
.kling-motion-upload .file-preview video {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #07152b;
}

.kling-motion-upload .image-file-card .file-preview img {
  aspect-ratio: 16 / 10;
}

.kling-motion-upload .video-file-card .file-preview video {
  aspect-ratio: 16 / 9;
}

.kling-motion-page .kling-motion-param-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kling-motion-page .kling-motion-option-card {
  margin-bottom: 0;
  border: 1px solid #d7e6f7;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  padding: 14px;
}

.kling-motion-page .kling-motion-option-card small {
  min-height: 36px;
}

.kling-motion-page .kling-motion-price-calculator {
  margin-top: 16px;
}

.kling-motion-page .kling-motion-output-card {
  min-height: 0;
}

.kling-motion-page .kling-motion-preview-body {
  gap: 16px;
}

.kling-motion-page .kling-motion-output-figure {
  border-radius: 22px;
}

.kling-motion-page .kling-motion-output-figure img {
  aspect-ratio: 16 / 10;
  min-height: 250px;
  object-fit: cover;
}

.kling-motion-preview-steps {
  display: grid;
  gap: 8px;
}

.kling-motion-preview-steps span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid #d7e6f7;
  border-radius: 14px;
  background: #fff;
  color: #26435f;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 950;
}

@media (max-width: 980px) {
  .kling-motion-page .model-workspace {
    grid-template-columns: 1fr;
  }

  .kling-motion-page .preview-card {
    order: 2;
  }
}

@media (max-width: 680px) {
  .kling-motion-page .model-workspace {
    width: min(100%, calc(100% - 24px));
  }

  .kling-motion-page .creator-card .form-head {
    padding: 22px 16px 0;
  }

  .kling-motion-page .creator-card .form-head b {
    font-size: 30px;
  }

  .kling-motion-page .kling-motion-lead,
  .kling-motion-page .gpt-omni-tabs {
    margin-left: 16px;
    margin-right: 16px;
  }

  .kling-motion-page .kling-motion-body {
    padding: 18px 16px 20px;
  }

  .kling-motion-page .kling-motion-param-grid {
    grid-template-columns: 1fr;
  }

  .kling-motion-upload .kling-motion-drop {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .kling-motion-upload [data-upload-pick] {
    width: 100%;
  }
}

.kling-motion-kie-page .model-simple {
  width: min(1120px, calc(100% - 32px));
  padding-top: 12px;
}

.kling-motion-kie-page .model-workspace {
  width: 100%;
  max-width: 1120px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 22px auto 36px;
}

.kling-motion-kie-page .creator-card,
.kling-motion-kie-page .model-price-card {
  min-height: 0;
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: 0;
}

.kling-motion-kie-page .model-price-card {
  display: block;
}

.kling-motion-kie-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5eaf1;
  padding: 0 18px;
}

.kling-motion-kie-head b {
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.kling-motion-kie-tabs {
  display: flex;
  gap: 4px;
  align-items: center;
  border-radius: 8px;
  background: #f3f4f6;
  padding: 4px;
}

.kling-motion-kie-tabs span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #6b7280;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}

.kling-motion-kie-tabs span.active {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
}

.kling-motion-kie-body,
.kling-motion-kie-output-body {
  padding: 24px 20px 22px;
}

.kling-motion-kie-field {
  display: block;
  margin-bottom: 22px;
}

.kling-motion-kie-field > span,
.kling-motion-kie-upload-title span {
  display: block;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.kling-motion-kie-field textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.kling-motion-kie-field textarea:focus {
  border-color: #2f73ff;
  box-shadow: 0 0 0 2px rgba(47, 115, 255, .12);
  outline: 0;
}

.kling-motion-kie-field small,
.kling-motion-kie-upload p,
.kling-motion-kie-upload em,
.kling-motion-kie-limit {
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.kling-motion-kie-field small {
  display: block;
  margin-top: 8px;
}

.kling-motion-kie-upload {
  position: relative;
  margin-bottom: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.kling-motion-kie-upload-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.kling-motion-kie-upload .remove-files {
  min-height: 28px;
  border: 0;
  border-radius: 7px;
  background: #ffd7e6;
  color: #e44d82;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
}

.kling-motion-kie-upload .remove-files:hover {
  background: #ffc2d9;
}

.kling-motion-kie-drop {
  min-height: 150px;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 8px;
  border: 1px dashed #d5dce6;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  text-align: center;
}

.kling-motion-kie-drop.dragging {
  border-color: #2f73ff;
  background: #f7fbff;
}

.kling-motion-kie-drop i {
  width: 42px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef2f7;
  color: #64748b;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-transform: none;
}

.kling-motion-kie-drop b {
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.kling-motion-kie-drop span {
  max-width: 340px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.4;
}

.kling-motion-kie-drop [data-upload-pick] {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: #3b82f6;
  color: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
}

.kling-motion-kie-upload.has-files .kling-motion-kie-drop {
  display: none;
}

.kling-motion-kie-upload .file-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.kling-motion-kie-upload .file-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.kling-motion-kie-upload .file-card-head,
.kling-motion-kie-upload .file-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
}

.kling-motion-kie-upload .file-card-head span,
.kling-motion-kie-upload .file-card-foot span,
.kling-motion-kie-upload .file-card-foot small {
  min-width: 0;
  overflow: hidden;
  color: #4b5563;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kling-motion-kie-upload .file-card-head button {
  border: 0;
  border-radius: 7px;
  background: #ffd7e6;
  color: #e44d82;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
}

.kling-motion-kie-upload .file-preview {
  background: #f8fafc;
}

.kling-motion-kie-upload .file-preview img,
.kling-motion-kie-upload .file-preview video {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  background: #f8fafc;
}

.kling-motion-kie-upload .image-file-card .file-preview img {
  aspect-ratio: 16 / 9;
}

.kling-motion-kie-upload .video-file-card .file-preview video {
  aspect-ratio: 16 / 9;
  background: #07152b;
}

.kling-motion-kie-limit {
  display: block;
  margin-top: 10px;
  text-align: center;
}

.kling-motion-kie-upload:not(.has-files) .kling-motion-kie-limit {
  display: none;
}

.kling-motion-kie-upload p {
  margin: 12px 0 0;
}

.kling-motion-kie-upload p b {
  color: #4b5563;
  font-weight: 700;
}

.kling-motion-kie-upload em {
  display: block;
  margin-top: 3px;
  font-style: normal;
}

.kling-motion-kie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.kling-motion-kie-buttons button {
  min-height: 34px;
  border: 1px solid #d5dce6;
  border-radius: 7px;
  background: #fff;
  color: #374151;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
}

.kling-motion-kie-buttons button.active {
  border-color: #2f73ff;
  background: #eef5ff;
  color: #0b61ff;
}

.kling-motion-kie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e5eaf1;
  margin-top: 26px;
  padding-top: 16px;
}

.kling-motion-kie-actions button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
}

.kling-motion-kie-actions .reset-lite {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
}

.kling-motion-kie-actions .gpt-kie-run {
  min-width: 72px;
  border: 0;
  background: #3b82f6;
  color: #fff;
}

.kling-motion-kie-output-body .gpt-kie-output-type {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.kling-motion-kie-output-body .gpt-kie-output-type span {
  color: #374151;
  font-size: 12px;
  font-weight: 600;
}

.kling-motion-kie-output-body .gpt-kie-output-type b {
  border-radius: 999px;
  background: #dbeafe;
  color: #2563eb;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.kling-motion-kie-page .kling-motion-output-figure {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: none;
}

.kling-motion-kie-page .kling-motion-output-figure img {
  width: 100%;
  min-height: 420px;
  max-height: 560px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.kling-motion-kie-output-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.kling-motion-kie-output-actions button,
.kling-motion-kie-output-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.kling-motion-kie-output-actions button {
  width: 34px;
  border: 0;
  background: #3b82f6;
  color: #fff;
}

.kling-motion-kie-output-actions a {
  border: 1px solid #2f73ff;
  color: #2f73ff;
  padding: 0 14px;
}

.kling-avatar-page .kling-avatar-lead {
  margin: 0 0 20px;
  color: #4f637f;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.kling-avatar-page .kling-avatar-variant-buttons button.active {
  border-color: #2f73ff;
  background: #3b82f6;
  color: #fff;
}

.kling-avatar-page .kling-avatar-upload p {
  max-width: 520px;
}

.kling-avatar-page .audio-file-card .file-preview {
  padding: 18px;
}

.kling-avatar-page .audio-file-chip {
  min-height: 70px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  color: #1f4d86;
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.kling-avatar-page .kling-avatar-output-figure {
  background: #07152b;
}

.kling-avatar-page .kling-avatar-output-figure video {
  display: block;
  width: 100%;
  min-height: 420px;
  max-height: 560px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #07152b;
}

.kling-avatar-page .kling-avatar-note {
  margin: 16px 0 0;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #fbfdff;
}

.kling-avatar-page .kling-avatar-price-calculator {
  margin-top: 8px;
}

.kling-avatar-page .kling-avatar-price-calculator ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .kling-motion-kie-page .model-workspace {
    grid-template-columns: 1fr;
  }

  .kling-motion-kie-page .model-price-card {
    order: 2;
  }
}

@media (max-width: 640px) {
  .kling-motion-kie-page .model-simple {
    width: min(100%, calc(100% - 20px));
  }

  .kling-motion-kie-body,
  .kling-motion-kie-output-body {
    padding: 18px 14px;
  }

  .kling-motion-kie-head {
    padding: 0 14px;
  }

  .kling-motion-kie-page .kling-motion-output-figure img {
    min-height: 320px;
  }

  .kling-avatar-page .kling-avatar-output-figure video {
    min-height: 320px;
  }

  .kling-avatar-page .kling-avatar-price-calculator ul {
    grid-template-columns: 1fr;
  }
}

.kling-30-page .kling-30-lead {
  margin: 0 0 20px;
  color: #526783;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.kling-30-page .kling-30-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kling-30-page .kling-30-grid .kling-motion-kie-field {
  margin-bottom: 0;
}

.kling-30-page .kling-motion-kie-buttons button.active {
  border-color: #2f73ff;
  background: #2f73ff;
  color: #fff;
}

.kling-30-page .kling-30-frame-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kling-30-page .kling-30-frame-slot {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px dashed #bfd4f2;
  border-radius: 8px;
  background: #f8fbff;
  color: #2563eb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kling-30-page .kling-30-frame-slot span {
  color: #1f2f46;
  font-size: 12px;
}

.kling-30-page .kling-30-frame-slot b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf3ff;
  color: #1877ff;
  font-size: 18px;
}

.kling-30-page .kling-30-frame-slot:hover {
  border-color: #2f73ff;
  background: #eef6ff;
}

.kling-30-page .kling-30-upload.is-hidden,
.kling-30-page .kling-30-shots.is-hidden {
  display: none;
}

.kling-o3-shot-builder {
  margin-bottom: 22px;
}

.kling-o3-shot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.kling-o3-shot-top > div {
  min-width: 0;
}

.kling-o3-shot-top span {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.kling-o3-shot-top small {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.kling-o3-shot-top button,
.kling-o3-elements {
  min-height: 30px;
  border: 1px solid #d5e6ff;
  border-radius: 7px;
  background: #fff;
  color: #0b61ff;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
}

.kling-o3-shot-top button:disabled,
.kling-o3-elements:disabled,
.kling-o3-shot-head button:disabled,
.kling-o3-duration-buttons button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.kling-o3-total {
  border: 1px solid #dce8f7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.kling-o3-total > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.kling-o3-total b {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.kling-o3-total span {
  color: #526783;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.kling-o3-total i {
  height: 5px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #e5efff;
}

.kling-o3-total i b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f73ff, #55b8ff);
}

.kling-o3-shot-list {
  display: grid;
  gap: 12px;
}

.kling-o3-shot-card {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.kling-o3-shot-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.kling-o3-shot-head b {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #2f73ff;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.kling-o3-shot-head span {
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.kling-o3-shot-head button {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 0;
  border-radius: 7px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 14px;
  font-weight: 900;
}

.kling-o3-shot-card label {
  display: block;
}

.kling-o3-shot-card label span,
.kling-o3-duration-row > span {
  display: block;
  margin-bottom: 6px;
  color: #637894;
  font-size: 11px;
  font-weight: 800;
}

.kling-o3-shot-prompt {
  min-height: 74px !important;
  border-color: #e1e8f2 !important;
  background: #f7f7f8 !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.kling-o3-duration-row {
  margin-top: 10px;
}

.kling-o3-duration-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.kling-o3-duration-buttons button {
  min-height: 32px;
  border: 1px solid #d5dce6;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 800;
}

.kling-o3-duration-buttons button.active {
  border-color: #2f73ff;
  background: #2f73ff;
  color: #fff;
}

.kling-o3-elements {
  margin-top: 10px;
  border-style: dashed;
}

.kling-o3-shot-builder.is-over-limit .kling-o3-total {
  border-color: #ffb4b4;
  background: #fff5f5;
}

.kling-30-page .kling-30-price-calculator {
  margin-top: 24px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #f8fbff;
  box-shadow: none;
}

.kling-30-page .kling-30-price-calculator ul {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kling-30-page .kling-30-price-calculator li b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
}

.kling-30-page .kling-30-output-figure {
  background: #06111f;
}

.kling-30-page .kling-30-output-figure video {
  display: block;
  width: 100%;
  min-height: 420px;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #06111f;
}

.kling-30-page .preview-note {
  margin-top: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 10px;
  background: #fbfdff;
}

@media (max-width: 980px) {
  .kling-30-page .kling-30-price-calculator ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kling-30-page .kling-30-grid {
    grid-template-columns: 1fr;
  }

  .kling-30-page .kling-30-frame-grid {
    grid-template-columns: 1fr;
  }

  .kling-30-page .kling-30-price-calculator ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kling-30-page .kling-30-output-figure video {
    min-height: 230px;
  }
}

/* Shared finished-model card shell: keeps every ready model close to the clean KIE two-panel layout. */
.ready-card-page body,
body.ready-card-page {
  overflow-x: hidden;
}

.ready-card-page .model-simple {
  width: min(1120px, calc(100% - 32px)) !important;
  max-width: 1120px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 12px 0 42px !important;
  background: transparent !important;
}

.ready-card-page .back-link {
  width: max-content;
  display: inline-flex !important;
  margin: 0 0 20px !important;
  color: #5c728b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none;
}

.ready-card-page .model-product-card,
.ready-card-page .model-steps-simple,
.ready-card-page .similar-section {
  display: none !important;
}

.ready-card-page .model-workspace {
  width: 100% !important;
  max-width: 1120px !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 20px !important;
  margin: 22px auto 36px !important;
  background: transparent !important;
}

.ready-card-page .creator-card,
.ready-card-page .model-price-card,
.ready-card-page .preview-card {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  align-self: start !important;
  overflow: hidden !important;
  border: 1px solid #dbe4ee !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ready-card-page .model-price-card {
  display: block !important;
}

.ready-card-page .creator-card > .form-head.ready-card-head,
.ready-card-page .creator-card > .kling-motion-kie-head,
.ready-card-page .model-price-card > .ready-card-head,
.ready-card-page .model-price-card > .kling-motion-kie-head,
.ready-card-page .gpt-kie-panel-head {
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid #e5eaf1 !important;
  padding: 0 18px !important;
  background: #fff !important;
}

.ready-card-page .creator-card > .form-head.ready-card-head small,
.ready-card-page .creator-card > .form-head.ready-card-head > span {
  display: none !important;
}

.ready-card-page .creator-card > .form-head.ready-card-head b,
.ready-card-page .creator-card > .kling-motion-kie-head b,
.ready-card-page .model-price-card > .ready-card-head b,
.ready-card-page .model-price-card > .kling-motion-kie-head b,
.ready-card-page .gpt-kie-panel-head > b {
  color: #111827 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.ready-card-page .kling-motion-kie-tabs,
.ready-card-page .gpt-kie-mini-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  border-radius: 8px !important;
  background: #f3f4f6 !important;
  padding: 4px !important;
}

.ready-card-page .kling-motion-kie-tabs span,
.ready-card-page .gpt-kie-mini-tabs span {
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #6b7280 !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.ready-card-page .kling-motion-kie-tabs span.active,
.ready-card-page .gpt-kie-mini-tabs span.active {
  background: #fff !important;
  color: #111827 !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .12) !important;
}

.ready-card-page .creator-card .gpt-omni-tabs,
.ready-card-page .creator-card .panel-tabs,
.ready-card-page .model-price-card .gpt-omni-tabs,
.ready-card-page .model-price-card .panel-tabs,
.ready-card-page .model-price-card > .ready-card-head ~ .preview-head,
.ready-card-page .model-price-card > .ready-card-head ~ * .preview-head {
  display: none !important;
}

.ready-card-page .creator-card .ready-card-head .kling-motion-kie-tabs,
.ready-card-page .creator-card .kling-motion-kie-head .kling-motion-kie-tabs,
.ready-card-page .model-price-card .ready-card-head .kling-motion-kie-tabs,
.ready-card-page .model-price-card .kling-motion-kie-head .kling-motion-kie-tabs {
  display: inline-flex !important;
}

.ready-card-page .form-lead {
  margin: 16px 20px !important;
  color: #526783 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.ready-card-page .gpt-omni-body,
.ready-card-page .gpt-kie-panel-body,
.ready-card-page .kling-motion-kie-body,
.ready-card-page .kling-motion-kie-output-body,
.ready-card-page .nano-preview-card,
.ready-card-page .claude-preview-card,
.ready-card-page .gemini35-preview-card,
.ready-card-page .gpt-omni-preview-body {
  padding: 24px 20px 22px !important;
}

.ready-card-page .creator-card > label,
.ready-card-page .creator-card > .advanced-inputs,
.ready-card-page .creator-card > .option-grid,
.ready-card-page .creator-card > .price-calculator,
.ready-card-page .creator-card > .prompt-helper-card,
.ready-card-page .creator-card > .wide-create {
  margin-left: 20px !important;
  margin-right: 20px !important;
}

.ready-card-page .creator-card > label,
.ready-card-page .creator-card > .advanced-inputs,
.ready-card-page .creator-card > .option-grid,
.ready-card-page .creator-card > .price-calculator,
.ready-card-page .creator-card > .prompt-helper-card {
  margin-bottom: 18px !important;
}

.ready-card-page .creator-card > .wide-create {
  width: calc(100% - 40px) !important;
  margin-bottom: 22px !important;
  border-radius: 8px !important;
}

.ready-card-page .gpt-kie-field textarea,
.ready-card-page .kling-motion-kie-field textarea,
.ready-card-page textarea#generationPrompt {
  border-radius: 7px !important;
  letter-spacing: 0 !important;
}

.ready-card-page .gpt-kie-upload,
.ready-card-page .active-upload,
.ready-card-page .kling-motion-kie-upload {
  border-radius: 8px !important;
}

.ready-card-page .file-drop,
.ready-card-page .kling-motion-kie-drop {
  border-radius: 8px !important;
}

.ready-card-page .option-grid article,
.ready-card-page .gpt-mode-block,
.ready-card-page .veo-panel-block,
.ready-card-page .kling-motion-kie-field,
.ready-card-page .runway-extend-section,
.ready-card-page .eleven-dialogue-panel {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.ready-card-page .price-calculator {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.ready-card-page.gemini-35-flash-page .gemini35-price-calculator {
  grid-template-columns: 150px minmax(0, 1fr) !important;
}

.ready-card-page.gemini-35-flash-page .gemini35-price-calculator ul {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.ready-card-page.gemini-35-flash-page .gemini35-price-calculator li {
  min-width: 0;
  overflow: hidden;
}

.ready-card-page.gemini-35-flash-page .gemini35-price-calculator li span {
  font-size: 8px !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ready-card-page .model-price-card > small,
.ready-card-page .model-price-card > strong,
.ready-card-page .model-price-card > span,
.ready-card-page .model-price-card > p,
.ready-card-page .model-price-card > .price-create {
  display: none !important;
}

.ready-card-page .nano-preview-card,
.ready-card-page .claude-preview-card,
.ready-card-page .gemini35-preview-card {
  display: grid !important;
  gap: 14px !important;
}

.ready-card-page .preview-note {
  margin: 16px 0 0 !important;
  border: 1px solid #dbe8f6 !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
}

.ready-card-page .preview-note b {
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.ready-card-page .preview-note span,
.ready-card-page .preview-note p {
  color: #5c7088 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
}

.ready-card-page .gpt-kie-output-figure,
.ready-card-page .nano-preview-frame,
.ready-card-page .claude-preview-frame,
.ready-card-page .gemini35-preview-frame,
.ready-card-page .video-preview {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

.ready-card-page .gpt-kie-output-figure img,
.ready-card-page .gpt-kie-output-figure video,
.ready-card-page .nano-preview-frame img,
.ready-card-page .claude-preview-frame img,
.ready-card-page .gemini35-preview-frame img,
.ready-card-page .video-preview img,
.ready-card-page .video-preview video {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 8px !important;
}

.ready-card-page.ready-card-image .gpt-kie-output-figure,
.ready-card-page.ready-card-image .nano-preview-frame {
  background: #fff !important;
}

.ready-card-page.ready-card-image .gpt-kie-output-figure img,
.ready-card-page.ready-card-image .nano-preview-frame img {
  aspect-ratio: 4 / 5 !important;
  max-height: 620px !important;
  object-fit: contain !important;
}

.ready-card-page.ready-card-chat .claude-preview-frame img,
.ready-card-page.ready-card-chat .gemini35-preview-frame img {
  aspect-ratio: 16 / 10 !important;
  max-height: 300px !important;
  object-fit: cover !important;
}

.ready-card-page.ready-card-video:not(.kling-motion-kie-page) .video-preview,
.ready-card-page.ready-card-video:not(.kling-motion-kie-page) .gpt-kie-output-figure {
  aspect-ratio: 16 / 9 !important;
}

.ready-card-page.ready-card-video:not(.kling-motion-kie-page) .video-preview img,
.ready-card-page.ready-card-video:not(.kling-motion-kie-page) .video-preview video,
.ready-card-page.ready-card-video:not(.kling-motion-kie-page) .gpt-kie-output-figure img,
.ready-card-page.ready-card-video:not(.kling-motion-kie-page) .gpt-kie-output-figure video {
  aspect-ratio: 16 / 9 !important;
  min-height: 260px !important;
  max-height: 420px !important;
  object-fit: cover !important;
}

.ready-card-page.omnihuman-page .gpt-kie-output-figure .omnihuman-output-video,
.ready-card-page.omnihuman-page .gpt-kie-output-figure .omnihuman-output-video img,
.ready-card-page.omnihuman-page .gpt-kie-output-figure .omnihuman-output-video video,
.ready-card-page.omnihuman-page .gpt-kie-output-figure video.omnihuman-output-video {
  object-fit: contain !important;
  object-position: center center !important;
  background: #071326 !important;
}

.ready-card-page .kling-motion-kie-output-actions,
.ready-card-page .gpt-kie-output-actions {
  margin-top: 16px !important;
}

.ready-card-page .gpt-kie-run,
.ready-card-page .wide-create,
.ready-card-page .price-create,
.ready-card-page .prompt-helper-button,
.ready-card-page [data-upload-pick] {
  border-radius: 8px !important;
}

@media (max-width: 980px) {
  .ready-card-page .model-simple {
    width: min(100%, calc(100% - 24px)) !important;
  }

  .ready-card-page .model-workspace {
    grid-template-columns: 1fr !important;
  }

  .ready-card-page .model-price-card {
    order: 2;
  }
}

@media (max-width: 640px) {
  .ready-card-page .model-simple {
    width: min(100%, calc(100% - 16px)) !important;
    padding-bottom: 28px !important;
  }

  .ready-card-page .creator-card > .form-head.ready-card-head,
  .ready-card-page .creator-card > .kling-motion-kie-head,
  .ready-card-page .model-price-card > .ready-card-head,
  .ready-card-page .model-price-card > .kling-motion-kie-head {
    padding: 0 14px !important;
  }

  .ready-card-page .gpt-omni-body,
  .ready-card-page .gpt-kie-panel-body,
  .ready-card-page .kling-motion-kie-body,
  .ready-card-page .kling-motion-kie-output-body,
  .ready-card-page .nano-preview-card,
  .ready-card-page .claude-preview-card,
  .ready-card-page .gemini35-preview-card,
  .ready-card-page .gpt-omni-preview-body {
    padding: 18px 14px !important;
  }

  .ready-card-page .form-lead,
  .ready-card-page .creator-card > label,
  .ready-card-page .creator-card > .advanced-inputs,
  .ready-card-page .creator-card > .option-grid,
  .ready-card-page .creator-card > .price-calculator,
  .ready-card-page .creator-card > .prompt-helper-card {
    margin-left: 14px !important;
    margin-right: 14px !important;
  }

  .ready-card-page .creator-card > .wide-create {
    width: calc(100% - 28px) !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
}

/* Final ready-card typography normalization. */
body.ready-card-page,
body.ready-card-page input,
body.ready-card-page textarea,
body.ready-card-page select,
body.ready-card-page button {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body.ready-card-page .creator-card,
body.ready-card-page .model-price-card,
body.ready-card-page .preview-card {
  color: #111827 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.ready-card-page label,
body.ready-card-page .gpt-kie-field > span,
body.ready-card-page .kling-motion-kie-field > span,
body.ready-card-page .gpt-kie-field-head > b,
body.ready-card-page .seedance-upload-head b,
body.ready-card-page .upload-head b,
body.ready-card-page .nano-upload-head b {
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.ready-card-page small,
body.ready-card-page .gpt-kie-field > small,
body.ready-card-page .kling-motion-kie-field > small,
body.ready-card-page .preview-note p,
body.ready-card-page .preview-note span {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}

/* Gemini 3 Flash follows the Kie chat playground: settings sidebar + chat canvas. */
body.gemini3-flash-kie-page,
body.gemini3-flash-kie-page input,
body.gemini3-flash-kie-page textarea,
body.gemini3-flash-kie-page select,
body.gemini3-flash-kie-page button {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body.gemini3-flash-kie-page {
  background: #f7f9fc !important;
  color: #111827 !important;
}

body.gemini3-flash-kie-page #modelRoot {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.gemini3-chat-shell {
  min-height: calc(100vh - 64px);
  padding: 22px 20px 30px;
}

.gemini3-back-link {
  display: block;
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto 14px;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.gemini3-chat-layout {
  width: min(1200px, calc(100vw - 40px));
  min-height: calc(100vh - 126px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 10px;
  box-shadow: 0 22px 50px rgba(31, 58, 96, 0.06);
}

.gemini3-settings-panel {
  padding: 26px 16px;
  border-right: 1px solid #d9e2ee;
  background: #fff;
}

.gemini3-control {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.gemini3-control span,
.gemini3-setting-row b,
.gemini3-group-head span,
.gemini3-reasoning > b {
  color: #334155;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.gemini3-control select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 650;
}

.gemini3-setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin: 0 0 22px;
}

.gemini3-setting-row.compact {
  align-items: center;
  margin-bottom: 16px;
}

.gemini3-setting-row p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.gemini3-switch {
  width: 38px;
  height: 22px;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.18s ease;
}

.gemini3-switch span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
  transition: transform 0.18s ease;
}

.gemini3-switch.active {
  background: #2f80ed;
}

.gemini3-switch.active span {
  transform: translateX(16px);
}

.gemini3-settings-group {
  margin: 0 0 22px;
}

.gemini3-group-head {
  width: 100%;
  min-height: 32px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #334155;
  cursor: default;
}

.gemini3-group-head b {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
}

.gemini3-edit-label {
  justify-self: end;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 650;
}

.gemini3-reasoning {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.gemini3-reasoning div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gemini3-reasoning button {
  min-height: 36px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
}

.gemini3-reasoning button.active {
  border-color: #2678ff;
  background: #eaf2ff;
  color: #1267e8;
}

.gemini3-price-pill {
  margin-top: auto;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
}

.gemini3-price-pill span {
  display: block;
  margin-bottom: 6px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.gemini3-price-pill b {
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.gemini3-chat-panel {
  position: relative;
  min-height: calc(100vh - 126px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #fff;
}

.gemini3-messages {
  min-height: 0;
  padding: 34px 40px 18px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 14px;
}

.gemini3-empty {
  position: absolute;
  inset: 0 0 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  pointer-events: none;
  color: #7b8794;
}

.gemini3-empty[hidden] {
  display: none !important;
}

.gemini3-empty span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f1f5f9;
  color: #b7c3d0;
}

.gemini3-empty svg {
  width: 26px;
  height: 26px;
}

.gemini3-empty p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
}

.gemini3-message {
  max-width: min(680px, 86%);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.gemini3-message.user {
  justify-self: end;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.gemini3-message.error {
  background: #fff1f2;
  border-color: #fecdd3;
}

.gemini3-message b {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 850;
}

.gemini3-message p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
}

.gemini3-composer-wrap {
  padding: 0 18px 18px;
  background: #fff;
}

.gemini3-upload-strip {
  margin: 0 0 8px;
}

.gemini3-inline-upload {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.gemini3-inline-upload.dragging {
  outline: 2px solid #93c5fd;
  outline-offset: 4px;
}

.gemini3-inline-upload .gemini3-file-list:empty {
  display: none;
}

.gemini3-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gemini3-file-list .file-card {
  width: 152px !important;
  min-height: 58px !important;
  padding: 8px !important;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid #dbeafe !important;
  border-radius: 10px !important;
  background: #f8fbff !important;
}

.gemini3-file-list .file-card-head,
.gemini3-file-list .file-card-foot small {
  display: none !important;
}

.gemini3-file-list .file-preview {
  grid-row: 1 / span 2;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #e2e8f0;
}

.gemini3-file-list .file-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.gemini3-file-list .file-card-foot {
  align-self: center;
  min-width: 0;
}

.gemini3-file-list .file-card-foot span {
  display: block;
  overflow: hidden;
  color: #475569;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gemini3-composer {
  min-height: 86px;
  padding: 14px;
  display: grid;
  grid-template-rows: minmax(36px, auto) 30px;
  gap: 8px;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.gemini3-composer:focus-within {
  border-color: #2678ff;
  box-shadow: 0 0 0 2px rgba(38, 120, 255, 0.08);
}

.gemini3-composer textarea {
  width: 100%;
  min-height: 36px;
  max-height: 180px;
  resize: none;
  border: 0;
  outline: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.gemini3-composer textarea::placeholder {
  color: #94a3b8;
}

.gemini3-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gemini3-icon-button,
.gemini3-send-button {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
}

.gemini3-icon-button {
  background: #f1f5f9;
  color: #7b8794;
}

.gemini3-send-button {
  background: #eef2f7;
  color: #9aa5b1;
}

.gemini3-send-button:not(:disabled) {
  cursor: pointer;
}

.gemini3-send-button:disabled {
  opacity: 0.55;
}

.gemini3-icon-button svg,
.gemini3-send-button svg {
  width: 18px;
  height: 18px;
}

.gemini3-chat-panel.is-busy .gemini3-send-button {
  background: #dbeafe;
  color: #2678ff;
}

@media (max-width: 900px) {
  .gemini3-chat-shell {
    padding: 14px 12px 22px;
  }

  .gemini3-back-link,
  .gemini3-chat-layout {
    width: 100%;
  }

  .gemini3-chat-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gemini3-settings-panel {
    border-right: 0;
    border-bottom: 1px solid #d9e2ee;
  }

  .gemini3-chat-panel {
    min-height: 620px;
  }

  .gemini3-messages {
    padding: 24px 16px 16px;
  }
}

/* Z Image: keep the example output compact after shared ready-card rules. */
body.z-image-page .z-image-output-card {
  display: block !important;
  min-height: 0 !important;
  align-self: start !important;
  padding: 0 !important;
}

body.z-image-page .z-image-output-card .preview-head,
body.z-image-page .z-image-output-card .ready-card-head,
body.z-image-page .z-image-output-card .gpt-kie-panel-head {
  min-height: 56px !important;
  padding: 0 20px !important;
  border-bottom: 1px solid #dce8f5 !important;
}

body.z-image-page .z-image-output-card .gpt-omni-preview-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 20px !important;
}

body.z-image-page .z-image-output-card .gpt-kie-output-type {
  margin: 0 !important;
}

body.z-image-page .z-image-output-card .gpt-kie-output-figure {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #d7e6f7 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

body.z-image-page.ready-card-image .z-image-output-card .gpt-kie-output-figure img,
body.z-image-page .z-image-output-card .gpt-kie-output-figure img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
}

body.z-image-page .z-image-output-card .preview-note {
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #dbe8f6 !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
  box-shadow: none !important;
}

body.z-image-page .z-image-output-card .preview-note b {
  margin: 0 0 6px !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.z-image-page .z-image-output-card .preview-note span,
body.z-image-page .z-image-output-card .preview-note p {
  color: #5c7088 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}

/* Flux 2: close to Kie playground, with Russian labels and Aiveno pricing. */
body.flux-2-page {
  background: #f8fafc !important;
}

body.flux-2-page .model-workspace {
  width: min(1120px, calc(100% - 48px)) !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
  margin-top: 24px !important;
}

body.flux-2-page .creator-card,
body.flux-2-page .model-price-card {
  align-self: start !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.flux-2-page.flux2-mode-text .flux2-upload {
  display: none !important;
}

body.flux-2-page .flux2-panel-head {
  min-height: 52px !important;
  border-bottom-color: #e5e7eb !important;
  padding: 0 16px !important;
}

body.flux-2-page .flux2-panel-head > b {
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 750 !important;
}

body.flux-2-page .flux2-panel-body {
  padding: 22px 18px 18px !important;
}

body.flux-2-page .flux2-panel-body > .gpt-kie-field:first-child textarea {
  min-height: 92px !important;
}

body.flux-2-page .flux2-model-type {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.flux-2-page .flux2-model-type > b {
  display: block !important;
  margin: 0 0 8px !important;
  color: #374151 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body.flux-2-page .flux2-model-type > small {
  display: block !important;
  margin-top: 8px !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.flux-2-page .flux2-mode-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.flux-2-page .flux2-mode-buttons button {
  min-height: 36px !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #1f2937 !important;
  padding: 0 12px !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

body.flux-2-page .flux2-mode-buttons button.active {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 2px 0 rgba(15, 23, 42, .2) !important;
}

body.flux-2-page .flux2-param-stack {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

body.flux-2-page .flux2-param-stack .gpt-kie-field {
  margin-bottom: 0 !important;
}

body.flux-2-page .flux2-nsfw-field .gpt-kie-resolution-buttons button {
  min-width: 58px !important;
}

body.flux-2-page .flux2-upload {
  margin: 0 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

body.flux-2-page .flux2-upload .gpt-kie-field-head {
  margin-bottom: 10px !important;
}

body.flux-2-page .flux2-upload .remove-files {
  float: right !important;
  min-height: 28px !important;
  border: 0 !important;
  background: #ffe4ef !important;
  color: #e11d48 !important;
}

body.flux-2-page .flux2-upload .file-drop {
  clear: both !important;
  min-height: 150px !important;
  border: 1px dashed #cfd8e3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 18px !important;
}

body.flux-2-page .flux2-upload .file-drop > i {
  background: #f1f5f9 !important;
  color: #64748b !important;
}

body.flux-2-page .flux2-upload [data-upload-pick] {
  min-width: 116px !important;
  min-height: 34px !important;
  border-radius: 7px !important;
}

body.flux-2-page .flux2-output-card {
  display: block !important;
  min-height: 0 !important;
}

body.flux-2-page .flux2-output-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 20px !important;
}

body.flux-2-page .flux2-output-card .gpt-kie-output-type {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

body.flux-2-page .flux2-output-card .gpt-kie-output-figure {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 7px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.flux-2-page.ready-card-image .flux2-output-card .gpt-kie-output-figure img,
body.flux-2-page .flux2-output-card .gpt-kie-output-figure img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
}

body.flux-2-page .flux2-output-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-top: 2px !important;
}

body.flux-2-page .flux2-output-actions button,
body.flux-2-page .flux2-output-actions a {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.flux-2-page .flux2-output-actions button {
  width: 34px !important;
  border: 0 !important;
  background: #3b82f6 !important;
  color: #fff !important;
  opacity: .65 !important;
}

body.flux-2-page .flux2-output-actions a {
  border: 1px solid #2563eb !important;
  background: #fff !important;
  color: #2563eb !important;
  padding: 0 14px !important;
}

body.flux-2-page .flux2-output-card .preview-note {
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #dbe8f6 !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
  box-shadow: none !important;
}

body.flux-2-page .flux2-output-card .preview-note b {
  margin: 0 0 6px !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

body.flux-2-page .flux2-output-card .preview-note span,
body.flux-2-page .flux2-output-card .preview-note p {
  color: #5c7088 !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  line-height: 1.45 !important;
}

body.topaz-upscale-page .topaz-intro {
  margin: 0 0 16px !important;
  color: #52677f !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
}

body.topaz-upscale-page .model-workspace {
  width: min(1040px, calc(100% - 48px)) !important;
  gap: 18px !important;
}

body.topaz-upscale-page .topaz-input-card,
body.topaz-upscale-page .topaz-output-card {
  border-color: #cfe2f6 !important;
  box-shadow: 0 18px 48px rgba(45, 128, 238, .08) !important;
}

body.topaz-upscale-page .topaz-upload {
  padding: 14px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #fbfdff 0%, #f6fbff 100%) !important;
}

body.topaz-upscale-page .topaz-upload .file-drop {
  min-height: 176px !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}

body.topaz-upscale-page .topaz-upload .file-drop > i {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
}

body.topaz-upscale-page .topaz-param-stack {
  margin-bottom: 18px !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
  gap: 14px !important;
}

body.topaz-upscale-page .topaz-param-stack .gpt-kie-field {
  padding: 14px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
}

body.topaz-upscale-page .topaz-price-calculator ul {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.topaz-upscale-page .topaz-price-calculator li {
  min-height: 58px !important;
  padding: 10px 12px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 8px !important;
  background: #fff !important;
}

body.topaz-upscale-page .topaz-price-calculator li span {
  color: #6b7f97 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.topaz-upscale-page .topaz-price-calculator li b {
  display: block !important;
  margin-top: 4px !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body.topaz-upscale-page .topaz-upload.has-files .file-drop {
  display: block !important;
  text-align: left !important;
}

body.topaz-upscale-page .topaz-upload.has-files .file-card-head span {
  color: #0f172a !important;
  font-weight: 850 !important;
}

body.topaz-upscale-page .topaz-upload.has-files .file-card-head button {
  color: #e11d48 !important;
  background: #ffe4ef !important;
}

body.topaz-upscale-page .topaz-upload.has-files .file-preview img {
  max-height: 210px !important;
  object-fit: contain !important;
}

body.topaz-upscale-page .topaz-output-card .gpt-kie-output-figure img {
  aspect-ratio: 4 / 3 !important;
  object-position: center !important;
}

body.topaz-video-upscaler-page .topaz-video-upload .file-drop {
  min-height: 154px !important;
  margin-top: 12px !important;
  padding: 18px !important;
}

body.topaz-video-upscaler-page .topaz-video-upload.has-files .file-preview video {
  width: 100% !important;
  max-height: 240px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 8px !important;
  background: #071426 !important;
  object-fit: contain !important;
}

body.topaz-video-upscaler-page .model-workspace {
  width: min(1000px, calc(100% - 48px)) !important;
  grid-template-columns: minmax(0, 520px) minmax(360px, 480px) !important;
  align-items: start !important;
}

body.topaz-video-upscaler-page .topaz-input-card .gpt-kie-panel-body,
body.topaz-video-upscaler-page .topaz-output-card .gpt-kie-panel-body {
  padding: 20px 18px 18px !important;
}

body.topaz-video-upscaler-page .topaz-intro {
  margin-bottom: 18px !important;
  color: #425a75 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body.topaz-video-upscaler-page .topaz-video-upload {
  position: relative !important;
  margin-bottom: 18px !important;
  padding: 16px !important;
  border: 1px solid #d6e7fb !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
}

body.topaz-video-upscaler-page .topaz-video-upload .gpt-kie-field-head {
  padding-right: 82px !important;
}

body.topaz-video-upscaler-page .topaz-video-upload .remove-files {
  position: absolute !important;
  top: 46px !important;
  right: 16px !important;
  margin: 0 !important;
  border: 0 !important;
  background: #ffe4ef !important;
  color: #e11d48 !important;
  min-height: 30px !important;
  padding: 0 12px !important;
}

body.topaz-video-upscaler-page .topaz-video-upload .file-drop > i {
  width: 34px !important;
  height: 34px !important;
  font-size: 10px !important;
}

body.topaz-video-upscaler-page .topaz-video-upload > small {
  margin-top: 10px !important;
  color: #516985 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

body.topaz-video-upscaler-page .topaz-video-param-stack {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  margin: 0 0 16px !important;
}

body.topaz-video-upscaler-page .topaz-video-param-stack .gpt-kie-field {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.topaz-video-upscaler-page .topaz-video-param-stack .gpt-kie-field > span {
  margin-bottom: 8px !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

body.topaz-video-upscaler-page .topaz-video-param-stack .gpt-kie-field small {
  display: block !important;
  max-width: 380px !important;
  margin-top: 8px !important;
  color: #5b718c !important;
  line-height: 1.45 !important;
}

body.topaz-video-upscaler-page .topaz-video-param-stack .gpt-kie-resolution-buttons {
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.topaz-video-upscaler-page .topaz-video-param-stack .gpt-kie-resolution-buttons button {
  flex: 0 0 auto !important;
  min-width: 66px !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  white-space: nowrap !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator {
  display: grid !important;
  grid-template-columns: 138px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 4px 0 16px !important;
  padding: 12px !important;
  border: 1px solid #d6e7fb !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
  box-shadow: none !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 3px !important;
  min-width: 0 !important;
  padding-right: 10px !important;
  border-right: 1px solid #e3effc !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator > div:first-child small {
  display: block !important;
  color: #2563eb !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator > div:first-child strong {
  display: block !important;
  color: #0f172a !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator li {
  min-height: 50px !important;
  padding: 8px 10px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 8px !important;
  background: #fff !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator li span {
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.topaz-video-upscaler-page .topaz-video-price-calculator li b {
  display: block !important;
  margin-top: 4px !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

body.topaz-video-upscaler-page .gpt-kie-form-actions {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  gap: 10px !important;
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid #e5eef9 !important;
}

body.topaz-video-upscaler-page .gpt-kie-form-actions button {
  width: 100% !important;
  min-height: 42px !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

body.topaz-video-upscaler-page .topaz-video-output-figure {
  aspect-ratio: 16 / 9 !important;
  background: #071426 !important;
}

body.topaz-video-upscaler-page .topaz-video-output-figure video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  background: #071426 !important;
}

@media (max-width: 980px) {
  body.topaz-video-upscaler-page .model-workspace {
    width: min(640px, calc(100% - 28px)) !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body.topaz-video-upscaler-page .topaz-video-price-calculator {
    grid-template-columns: 1fr !important;
  }

  body.topaz-video-upscaler-page .topaz-video-price-calculator > div:first-child {
    padding-right: 0 !important;
    padding-bottom: 10px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e3effc !important;
  }

  body.topaz-video-upscaler-page .topaz-video-price-calculator ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.flux-2-page .model-workspace,
  body.flux-2-page .flux2-mode-buttons {
    grid-template-columns: 1fr !important;
  }

  body.topaz-upscale-page .topaz-price-calculator ul {
    grid-template-columns: 1fr !important;
  }

  body.topaz-upscale-page .topaz-param-stack {
    grid-template-columns: 1fr !important;
  }

  body.topaz-video-upscaler-page .topaz-video-param-stack {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  body.topaz-video-upscaler-page .topaz-video-price-calculator ul,
  body.topaz-video-upscaler-page .gpt-kie-form-actions {
    grid-template-columns: 1fr !important;
  }
}

body.hailuo-23-page .gpt-mode-block {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.hailuo-23-page .gpt-mode-block > b {
  display: block !important;
  margin: 0 0 8px !important;
  color: #374151 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: normal !important;
}

body.hailuo-23-page .gpt-mode-block > small {
  display: block !important;
  margin-top: 8px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

body.hailuo-23-page .gpt-mode-block .flux2-mode-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  max-width: 260px !important;
}

body.hailuo-23-page .gpt-mode-block .flux2-mode-buttons button {
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 7px !important;
  white-space: nowrap !important;
}

body.hailuo-23-page .hailuo-upload {
  margin-bottom: 18px !important;
}

body.hailuo-23-page .hailuo-upload .gpt-kie-field-head {
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.hailuo-23-page .hailuo-upload .gpt-kie-field-head b {
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

body.hailuo-23-page .hailuo-upload .gpt-kie-field-head span,
body.hailuo-23-page .hailuo-upload .gpt-kie-field-head small,
body.hailuo-23-page .hailuo-upload > small {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

body.hailuo-23-page .hailuo-price-calculator {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

body.hailuo-23-page .hailuo-price-calculator ul {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.hailuo-23-page .hailuo-price-calculator li {
  min-width: 0 !important;
  overflow: hidden !important;
}

body.hailuo-23-page .hailuo-price-calculator li span {
  font-size: 9px !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
}

body.hailuo-23-page .hailuo-price-calculator li b {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media (max-width: 640px) {
  body.hailuo-23-page .hailuo-price-calculator {
    grid-template-columns: 1fr !important;
  }

  body.hailuo-23-page .hailuo-price-calculator ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 380px) {
  body.hailuo-23-page .gpt-mode-block .flux2-mode-buttons,
  body.hailuo-23-page .hailuo-price-calculator ul {
    grid-template-columns: 1fr !important;
  }
}

/* Kling AI Avatar: cleaner Kie-like playground typography and spacing. */
body.kling-avatar-page,
body.kling-avatar-page input,
body.kling-avatar-page textarea,
body.kling-avatar-page select,
body.kling-avatar-page button {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body.kling-avatar-page .creator-card,
body.kling-avatar-page .model-price-card,
body.kling-avatar-page .preview-card {
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

body.kling-avatar-page .kling-motion-kie-head b {
  font-size: 16px !important;
  font-weight: 650 !important;
}

body.kling-avatar-page .kling-motion-kie-tabs span {
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.kling-avatar-page .kling-avatar-lead {
  margin: 0 0 20px !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

body.kling-avatar-page .kling-motion-kie-field {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.kling-avatar-page .kling-motion-kie-field > span,
body.kling-avatar-page .kling-motion-kie-upload-title span {
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.kling-avatar-page .kling-motion-kie-field > small,
body.kling-avatar-page .kling-avatar-upload p,
body.kling-avatar-page .kling-motion-kie-limit {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body.kling-avatar-page .kling-avatar-upload {
  border-color: #d8e2ef !important;
  background: #fff !important;
  padding: 16px !important;
}

body.kling-avatar-page .kling-motion-kie-drop {
  min-height: 170px !important;
  border-color: #c9d8ea !important;
  background: #fbfdff !important;
}

body.kling-avatar-page .kling-motion-kie-drop i {
  width: 44px !important;
  height: 44px !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: lowercase !important;
}

body.kling-avatar-page .kling-motion-kie-drop b {
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.kling-avatar-page .kling-motion-kie-drop span {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

body.kling-avatar-page .kling-motion-kie-drop button,
body.kling-avatar-page [data-upload-pick] {
  min-height: 36px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.kling-avatar-page .kling-avatar-prompt-field textarea {
  min-height: 104px !important;
  border-color: #cfd9e8 !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

body.kling-avatar-page .kling-avatar-prompt-field textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

body.kling-avatar-page .kling-avatar-mode-field {
  display: grid !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
}

body.kling-avatar-page .kling-avatar-variant-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.kling-avatar-page .kling-avatar-variant-buttons button {
  min-height: 40px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.kling-avatar-page .kling-avatar-price-calculator {
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 10px !important;
}

body.kling-avatar-page .kling-avatar-price-calculator small,
body.kling-avatar-page .kling-avatar-price-calculator li span {
  font-size: 10px !important;
  font-weight: 650 !important;
}

body.kling-avatar-page .kling-avatar-price-calculator strong {
  font-size: 26px !important;
  font-weight: 750 !important;
}

body.kling-avatar-page .kling-avatar-price-calculator li b {
  font-size: 13px !important;
  font-weight: 600 !important;
  overflow-wrap: anywhere !important;
}

body.kling-avatar-page .kling-motion-kie-actions {
  border-top: 1px solid #e5eaf1 !important;
  padding-top: 18px !important;
}

body.kling-avatar-page .kling-motion-kie-actions .reset-lite,
body.kling-avatar-page .kling-motion-kie-actions .gpt-kie-run {
  min-height: 44px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

body.kling-avatar-page .kling-avatar-output-figure {
  width: min(100%, 420px) !important;
  margin: 0 auto !important;
  aspect-ratio: 4 / 5 !important;
  max-height: 620px !important;
  background: #020617 !important;
}

body.kling-avatar-page .kling-avatar-output-figure video,
body.kling-avatar-page .kling-avatar-output-figure img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
}

body.kling-avatar-page .gpt-kie-output-type span,
body.kling-avatar-page .gpt-kie-output-type b {
  font-size: 12px !important;
  font-weight: 600 !important;
}

@media (max-width: 640px) {
  body.kling-avatar-page .kling-avatar-variant-buttons,
  body.kling-avatar-page .kling-avatar-price-calculator,
  body.kling-avatar-page .kling-avatar-price-calculator ul {
    grid-template-columns: 1fr !important;
  }

  body.kling-avatar-page .kling-avatar-output-figure {
    width: 100% !important;
    max-height: none !important;
  }
}

body.imagen-4-page .imagen4-panel-body {
  gap: 18px !important;
  color: #13253d !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

body.imagen-4-page .imagen4-lead {
  margin: 0 !important;
  color: #536981 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body.imagen-4-page .imagen4-negative-field textarea {
  min-height: 86px !important;
}

body.imagen-4-page .imagen4-model-type {
  gap: 10px !important;
}

body.imagen-4-page .imagen4-model-type > small {
  color: #6f8399 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

body.imagen-4-page .imagen4-mode-buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.imagen-4-page .imagen4-mode-buttons button {
  min-height: 62px !important;
  display: grid !important;
  gap: 5px !important;
  align-content: center !important;
  justify-items: start !important;
  text-align: left !important;
  padding: 12px 14px !important;
  line-height: 1.15 !important;
}

body.imagen-4-page .imagen4-mode-buttons button b {
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body.imagen-4-page .imagen4-mode-buttons button span {
  color: inherit !important;
  opacity: .76 !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

body.imagen-4-page .imagen4-param-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

body.imagen-4-page .imagen4-param-stack .gpt-kie-field {
  min-height: 156px !important;
}

body.imagen-4-page .imagen4-price-calculator {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  align-items: stretch !important;
  margin: 2px 0 0 !important;
  padding: 14px !important;
  border: 1px solid #d8e8f8 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%) !important;
}

body.imagen-4-page .imagen4-price-calculator > div {
  display: grid !important;
  align-content: center !important;
  gap: 4px !important;
}

body.imagen-4-page .imagen4-price-calculator small {
  color: #1478ff !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

body.imagen-4-page .imagen4-price-calculator strong {
  color: #071326 !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.imagen-4-page .imagen4-price-calculator ul {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.imagen-4-page .imagen4-price-calculator li {
  min-width: 0 !important;
  min-height: 58px !important;
  display: grid !important;
  align-content: center !important;
  padding: 10px 11px !important;
  border: 1px solid #dce9f7 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .9) !important;
}

body.imagen-4-page .imagen4-price-calculator li span {
  display: block !important;
  color: #6a7f97 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

body.imagen-4-page .imagen4-price-calculator li b {
  display: block !important;
  margin-top: 4px !important;
  overflow-wrap: anywhere !important;
  color: #12223a !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

body.imagen-4-page .imagen4-output-body {
  align-content: start !important;
  gap: 16px !important;
}

body.imagen-4-page .imagen4-output-figure {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #f5f9ff !important;
}

body.imagen-4-page .imagen4-output-figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body.imagen-4-page .imagen4-output-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

body.imagen-4-page .imagen4-output-actions button,
body.imagen-4-page .imagen4-output-actions a {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.imagen-4-page .imagen4-output-actions button {
  width: 34px !important;
  min-width: 34px !important;
  border: 0 !important;
  background: #2c84ff !important;
  color: #fff !important;
  opacity: .72 !important;
}

body.imagen-4-page .imagen4-output-actions button:disabled {
  cursor: not-allowed !important;
}

body.imagen-4-page .imagen4-output-actions a {
  border: 1px solid #2c84ff !important;
  background: #fff !important;
  color: #0f6fff !important;
  padding: 0 14px !important;
}

@media (min-width: 1180px) {
  body.imagen-4-page .imagen4-price-calculator {
    grid-template-columns: 170px minmax(0, 1fr) !important;
  }

  body.imagen-4-page .imagen4-price-calculator ul {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.imagen-4-page .imagen4-mode-buttons,
  body.imagen-4-page .imagen4-param-stack,
  body.imagen-4-page .imagen4-price-calculator,
  body.imagen-4-page .imagen4-price-calculator ul {
    grid-template-columns: 1fr !important;
  }
}

body.coming-soon-page .model-simple {
  max-width: 1180px;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 24px;
  align-items: start;
}

.coming-soon-hero,
.coming-soon-preview {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(38, 125, 255, 0.08);
}

.coming-soon-hero {
  padding: 32px;
}

.coming-soon-hero small,
.coming-soon-preview .preview-head b {
  color: #1673ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.coming-soon-hero h1 {
  margin: 12px 0 14px;
  color: #061226;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.96;
}

.coming-soon-hero p {
  max-width: 720px;
  margin: 0;
  color: #506887;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.coming-soon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.coming-soon-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe4ff;
  border-radius: 999px;
  padding: 0 14px;
  color: #0b4fae;
  background: #f2f8ff;
  font-size: 13px;
  font-weight: 900;
}

.coming-soon-note {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #f9fcff, #edf6ff);
}

.coming-soon-note b,
.coming-soon-preview article b {
  color: #061226;
  font-size: 16px;
  font-weight: 950;
}

.coming-soon-note span,
.coming-soon-preview article span {
  color: #506887;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.coming-soon-market-link {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border-radius: 999px;
  padding: 0 22px;
  background: #1673ff;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.coming-soon-preview {
  padding: 18px;
}

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

.coming-soon-preview .preview-head span {
  color: #061226;
  font-size: 18px;
  font-weight: 950;
}

.coming-soon-media {
  overflow: hidden;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  background: #061226;
  aspect-ratio: 16 / 10;
}

.coming-soon-media img,
.coming-soon-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.coming-soon-media.is-empty {
  background:
    linear-gradient(135deg, rgba(245, 250, 255, 0.98), rgba(232, 243, 255, 0.98)),
    #f5faff;
}

.coming-soon-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, #74c4ff, #1673ff 62%, #061226);
}

.coming-soon-fallback b {
  font-size: 42px;
}

.coming-soon-fallback span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coming-soon-preview article {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.aiveno-result-guide {
  display: grid;
  gap: 10px;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 16px;
  color: #061226;
}

.aiveno-result-guide > b {
  color: #061226;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.aiveno-result-guide p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.aiveno-result-guide strong {
  color: #1673ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.aiveno-result-guide span {
  color: #5b7390;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.ready-card-page .ready-card-prompt-helper {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 16px;
  color: #061226;
}

.ready-card-page .ready-card-prompt-helper .prompt-helper-head {
  display: grid;
  gap: 4px;
}

.ready-card-page .ready-card-prompt-helper .prompt-helper-head small {
  color: #1673ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ready-card-page .ready-card-prompt-helper .prompt-helper-head b {
  color: #061226;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.ready-card-page .ready-card-prompt-helper textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  color: #10233e;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ready-card-page .ready-card-prompt-helper .prompt-helper-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #3392ff, #1769ff);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ready-card-page .ready-card-prompt-helper p {
  margin: 0;
  color: #5b7390;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.ready-card-page .file-drop,
.ready-card-page .kling-motion-kie-drop,
.seedance-client-page .file-drop,
.seedance-kie-page .file-drop {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  justify-items: center !important;
  text-align: center !important;
}

.ready-card-page .file-drop > i,
.ready-card-page .file-drop > b,
.ready-card-page .file-drop > span,
.ready-card-page .kling-motion-kie-drop > i,
.ready-card-page .kling-motion-kie-drop > b,
.ready-card-page .kling-motion-kie-drop > span,
.seedance-client-page .file-drop > i,
.seedance-client-page .file-drop > b,
.seedance-client-page .file-drop > span,
.seedance-kie-page .file-drop > i,
.seedance-kie-page .file-drop > b,
.seedance-kie-page .file-drop > span {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.ready-card-page .file-drop [data-upload-pick],
.ready-card-page .kling-motion-kie-drop [data-upload-pick],
.seedance-client-page .file-drop [data-upload-pick],
.seedance-kie-page .file-drop [data-upload-pick] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  align-self: center !important;
  width: max-content !important;
  min-width: 112px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  white-space: normal !important;
  text-align: center !important;
}

.seedance-client-page .example-strip,
.seedance-client-page .seedance-client-examples {
  display: none !important;
}

body.seedream-5-page .seedream-output-card .seedream-pro-demo-figure,
body.seedream-5-page .seedream-output-card .seedream-pro-demo-figure img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

body.seedream-5-page .seedream-output-card .seedream-pro-demo-figure img {
  height: auto !important;
  min-height: 260px !important;
  max-height: 360px !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #f8fafc !important;
}

@media (max-width: 720px) {
  body.seedream-5-page .seedream-output-card .seedream-pro-demo-figure img {
    min-height: 190px !important;
    max-height: 260px !important;
  }
}

body.seedream-5-page .seedream-settings-note {
  margin-top: 10px;
}

body.seedream-5-page .seedream-price-calculator ul {
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}

body.seedream-5-page .seedream-upload .file-list {
  grid-template-columns: 1fr !important;
  gap: 12px;
}

body.seedream-5-page .seedream-upload.has-files .file-drop {
  display: block;
  min-height: 0;
  padding: 14px;
  text-align: left;
}

body.seedream-5-page .seedream-upload.has-files .file-drop > i,
body.seedream-5-page .seedream-upload.has-files .file-drop > b,
body.seedream-5-page .seedream-upload.has-files .file-drop > span {
  display: none;
}

body.seedream-5-page .seedream-upload.has-files [data-upload-pick] {
  display: flex;
  margin: 0 auto 12px;
}

body.seedream-5-page .seedream-upload .file-card {
  width: 100%;
  max-width: 100%;
}

body.seedream-5-page .seedream-upload .file-card-head,
body.seedream-5-page .seedream-upload .file-card-foot {
  align-items: center;
}

body.seedream-5-page .seedream-upload .file-card-head span,
body.seedream-5-page .seedream-upload .file-card-foot span,
body.seedream-5-page .seedream-upload .file-card-foot small {
  font-size: 12px;
}

body.seedream-5-page .seedream-upload .file-preview {
  padding: 0 10px;
}

body.seedream-5-page .seedream-upload .file-preview img {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  max-height: 240px;
  border-radius: 8px;
  object-fit: cover;
}

body.grok-imagine-page .grok-task-help {
  display: grid;
  gap: 8px;
  padding: 14px;
}

body.grok-imagine-page .grok-task-required {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}

body.grok-imagine-page .grok-task-badge {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #0b63f6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.grok-imagine-page .grok-task-help b {
  color: #071326;
  font-size: 15px;
}

body.grok-imagine-page .grok-task-help p {
  margin: 0;
  color: #30445f;
  font-size: 12px;
  line-height: 1.45;
}

body.grok-imagine-page .grok-task-link,
body.grok-imagine-page .grok-flow-head a {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3694ff, #1f6fff);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(30, 111, 255, .18);
}

body.grok-imagine-page .grok-task-help small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

body.grok-imagine-page .grok-task-help ul {
  margin: 2px 0 0;
  padding-left: 18px;
  color: #30445f;
  font-size: 12px;
  line-height: 1.45;
}

body.grok-imagine-page .grok-task-help li + li {
  margin-top: 5px;
}

body.grok-imagine-page .grok-task-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

body.grok-imagine-page .grok-task-card-head b {
  color: #071326;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

body.grok-imagine-page .grok-task-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0;
}

body.grok-imagine-page .grok-task-card-grid div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d5e9ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
}

body.grok-imagine-page .grok-task-card-grid strong {
  color: #071326;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

body.grok-imagine-page .grok-task-card-grid small,
body.grok-imagine-page .grok-task-note {
  color: #526983;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.42;
}

body.grok-imagine-page .grok-task-note {
  margin: 0;
}

body.grok-imagine-page .grok-flow-guide {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border-color: #b9dcff;
  background: linear-gradient(180deg, #fbfdff 0%, #f1f8ff 100%);
}

body.grok-imagine-page .grok-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.grok-imagine-page .grok-flow-head span {
  color: #071326;
  font-size: 14px;
  font-weight: 950;
}

body.grok-imagine-page .grok-flow-head a {
  align-items: center;
  background: #2684ff;
  border: 1px solid #1472ea;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

body.grok-imagine-page .grok-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.grok-imagine-page .grok-flow-steps div {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 88px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #d5e9ff;
  border-radius: 9px;
  background: rgba(255, 255, 255, .78);
}

body.grok-imagine-page .grok-flow-steps b {
  color: #071326;
  font-size: 12px;
  font-weight: 950;
}

body.grok-imagine-page .grok-flow-steps small {
  color: #526983;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

body.grok-imagine-page.grok-tool-upscale .grok-duration-field {
  display: none !important;
}

body.grok-imagine-page .grok-flow-guide,
body.grok-imagine-page .grok-task-help {
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
}

body.grok-imagine-page .grok-flow-head,
body.grok-imagine-page .grok-task-card-head {
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

body.grok-imagine-page .grok-flow-head span,
body.grok-imagine-page .grok-task-card-head b {
  font-size: 16px;
  line-height: 1.25;
}

body.grok-imagine-page .grok-flow-steps,
body.grok-imagine-page .grok-task-card-grid {
  gap: 10px;
}

body.grok-imagine-page .grok-flow-steps div,
body.grok-imagine-page .grok-task-card-grid div {
  min-height: 106px;
  align-content: start;
  padding: 12px;
  border-radius: 8px;
}

body.grok-imagine-page .grok-flow-steps b,
body.grok-imagine-page .grok-task-card-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.3;
}

body.grok-imagine-page .grok-flow-steps small,
body.grok-imagine-page .grok-task-card-grid small {
  font-size: 11px;
  line-height: 1.45;
}

body.grok-imagine-page .grok-task-link,
body.grok-imagine-page .grok-flow-head a {
  border-radius: 8px;
  white-space: normal;
}

@media (max-width: 920px) {
  body.grok-imagine-page .grok-flow-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.grok-imagine-page .grok-flow-steps {
    grid-template-columns: 1fr;
  }

  body.grok-imagine-page .grok-task-card-grid {
    grid-template-columns: 1fr;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr;
  }

  .coming-soon-hero {
    padding: 24px;
  }
}
