/* Video Atölyesi: stüdyo bölümü (cam panel, form, canlı önizleme, durum ekranları, "Siteden reklam" şeridi).
   Tasarım kaynağı: claude-shorts/docs/tasarim/studyo.png (1440x810, birincil), tam-sayfa.png, mobil.png.
   Değişkenler tokens.css'ten gelir. Görünürlüğü JS `hidden` ile yönetir ([hidden] tokens.css'te !important).
   Breakpointler: 1000 (tek sütun) / 640 (mobil). Ölçüler 1440 tasarımından alınmıştır. */

/* ================================================================== */
/* 1) Bölüm: hero'nun altına biner                                      */
/* ================================================================== */
.studio { position: relative; z-index: 5; margin-top: -60px; padding-block: 0 clamp(20px, 3vw, 36px); }
.studio > .wrap { max-width: calc(1292px + 2 * var(--gutter)); }

/* ================================================================== */
/* 2) Cam panel                                                         */
/* ================================================================== */
.studio-panel {
  --sp-px: 26px;
  --sp-line: rgba(255, 255, 255, .26);
  --sp-field: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .022));
  --sp-sel: #8169FA;
  --sp-fill: linear-gradient(135deg, #6E4EC0 0%, #553A92 100%);
  --sp-bar: rgba(10, 12, 26, .96);
  position: relative; min-width: 0;
  padding: 0 var(--sp-px) 19px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 38px;
  background:
    radial-gradient(60% 55% at 80% 46%, rgba(124, 92, 255, .15), transparent 72%),
    radial-gradient(55% 45% at 6% 0%, rgba(124, 92, 255, .10), transparent 70%),
    linear-gradient(180deg, rgba(28, 27, 58, .84), rgba(17, 17, 39, .88));
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 44px 100px -44px rgba(0, 0, 0, .85),
    0 0 90px -30px rgba(124, 92, 255, .55),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
.studio-panel > .muted { padding: 30px 16px; font-size: 15px; color: var(--mute); }

/* Başlık satırı */
.sp-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  min-height: 79px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.sp-title {
  margin: 0; padding-left: 16px;
  font: 800 clamp(30px, 2.95vw, 42px)/1.1 var(--font-display); letter-spacing: -.025em; color: var(--ink);
}
.mode-tabs {
  display: inline-grid; grid-template-columns: repeat(2, auto); gap: 4px; padding: 4px; margin-right: 8px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
}
.mode-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 8px 18px;
  border: 1px solid transparent; border-radius: 10px; background: transparent;
  font: 600 15px/1.2 var(--font-ui); color: var(--ink-2); text-align: center; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mode-tab svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.mode-tab[aria-selected="true"] {
  color: #fff; background: var(--sp-fill); border-color: rgba(167, 139, 250, .55);
  box-shadow: 0 8px 22px -10px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.mode-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 10px; }

/* İki sütun: form | önizleme */
.sp-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 29vw, 415px);
  align-items: stretch; padding: 16px 0 34px; min-width: 0;
}
.composer, .stage { min-width: 0; overflow-wrap: anywhere; }
.composer { padding: 0 28px 0 8px; }

/* Panel yalnız form fazında CTA gösterir; yükleme (açılış) sırasında da gizli */
.studio-panel:not([data-phase="form"]) .sp-cta,
.studio-panel:has(> [data-boot]) .sp-cta { display: none; }
/* Üretim sürerken / bittiğinde mod sekmeleri anlamsız */
.studio-panel:not([data-phase="form"]) .mode-tabs { display: none; }
/* Hazır fazı: oynatıcı geniş alanı kullanır, önizleme sütunu kalkar */
.studio-panel[data-phase="done"] .sp-grid { grid-template-columns: minmax(0, 1fr); }
.studio-panel[data-phase="done"] .stage { display: none; }
.studio-panel[data-phase="done"] .composer { padding-right: 8px; }

/* ================================================================== */
/* 3) Form                                                              */
/* ================================================================== */
.composer [data-view] { display: flex; flex-direction: column; align-items: stretch; gap: 16px; min-width: 0; }
.composer [data-view="form"] { gap: 0; }
.composer [data-view] > .badge { align-self: flex-start; }
.composer [data-view] > p { color: var(--ink-2); }
.composer [data-view] > p.muted, .composer .muted { color: var(--mute); font-size: 14px; }
.composer [data-view]:not([data-view="form"]) { padding-top: 6px; }

.composer form { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.composer [data-mode-show] { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
[data-mode-show="reklam"] > .va-select-field { max-width: 440px; }
.composer .style-field legend { margin-bottom: 14px; }
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.composer fieldset, .stage fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; min-width: 0; }

/* Büyük etiketler (Video metni, Süre, Görsel stil, ...) */
.composer legend, .composer .field-head label {
  font: 700 clamp(16px, 1.25vw, 18px)/1.35 var(--font-display); color: var(--ink); letter-spacing: -.005em;
}
.composer legend { display: block; float: none; width: 100%; padding: 0; margin: 0 0 11px; }
.composer .field-head label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.num {
  flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font: 700 12px/1 var(--font-ui); color: var(--ink);
  background: rgba(124, 92, 255, .28); border: 1px solid rgba(167, 139, 250, .6);
}
.tag {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px;
  font: 600 11px/1.5 var(--font-ui); letter-spacing: .02em; white-space: nowrap;
  color: var(--ink); background: color-mix(in srgb, var(--coral) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--coral) 45%, transparent);
}
.tag-soft { color: var(--ink-2); background: rgba(255, 255, 255, .06); border-color: var(--line-2); }
.link-btn {
  background: none; border: 0; padding: 4px 2px; min-height: 30px; font: 600 14px/1.4 var(--font-ui); border-radius: 6px;
  color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--cyan) 45%, transparent);
  transition: color .2s ease;
}
.link-btn:hover { color: var(--ink); }

/* Metin alanı: etiket + ipucu + bağlantı aynı satırda, kutu altta */
.field-main {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "lab meta link" "ta ta ta";
  column-gap: 14px; row-gap: 11px; align-items: center; min-width: 0;
}
.field-main > .field-head { display: contents; }
.field-main > .field-head > label { grid-area: lab; }
.field-main > .field-head > .link-btn { grid-area: link; justify-self: end; }
.field-main > .ta-wrap { grid-area: ta; }
.field-main > .field-meta { grid-area: meta; display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; line-height: 1.4; }
.ta-wrap { position: relative; min-width: 0; }
.ta-wrap .counter { position: absolute; right: 30px; bottom: 9px; font-size: 13px; line-height: 1.2; pointer-events: none; }

/* Ortak giriş kutuları (stüdyo paneli içindeki hepsi) */
.studio-panel textarea,
.studio-panel input:not([type="radio"]):not([type="checkbox"]),
.studio-panel select,
.text-input {
  width: 100%; min-width: 0; font: 400 16px/1.55 var(--font-ui); color: var(--ink);
  background: var(--sp-field); border: 1px solid var(--sp-line); border-radius: 12px;
  padding: 11px 18px; min-height: 46px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.studio-panel textarea { resize: vertical; min-height: 100px; padding-top: 15px; }
.studio-panel .field-main textarea { height: 142px; padding-bottom: 36px; }
.studio-panel textarea::placeholder, .studio-panel input::placeholder { color: #8D89AB; opacity: 1; }
.studio-panel textarea:hover, .studio-panel input:not([type="radio"]):not([type="checkbox"]):hover, .studio-panel select:hover { border-color: rgba(167, 139, 250, .6); }
.studio-panel textarea:focus, .studio-panel input:not([type="radio"]):not([type="checkbox"]):focus, .studio-panel select:focus {
  outline: none; border-color: var(--sp-sel); background: rgba(22, 22, 48, .85);
  box-shadow: 0 0 0 3px rgba(129, 105, 250, .38);
}
.studio-panel textarea:focus-visible, .studio-panel input:not([type="radio"]):not([type="checkbox"]):focus-visible, .studio-panel select:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px;
}
.studio-panel input[readonly] { color: var(--ink-2); }

.field-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; line-height: 1.5; color: var(--mute); min-width: 0; }
.field-meta > span:first-child { flex: 1 1 220px; min-width: 0; }
.counter { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--mute); }
.counter.is-bad { color: var(--danger); font-weight: 700; }

/* Süre (3'lü segment) + Üretim sistemi (seçim) */
.va-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 20px 30px; align-items: start; min-width: 0; }
.va-select-field { gap: 11px; }
.select-wrap { position: relative; min-width: 0; }
.studio-panel select {
  -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; padding-right: 52px; font-size: 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6CEDF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 17px 17px,
    var(--sp-field);
}
.studio-panel select option { background: #151A2B; color: #F4F6FB; }
.engine-hint { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.engine-hint:empty { display: none; }

.seg {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 2px; min-height: 48px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--sp-line); border-radius: 12px;
}
.seg label { position: relative; display: block; min-width: 0; cursor: pointer; }
.seg input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; opacity: 0; border: 0; }
.seg span {
  display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 10px; border-radius: 10px;
  font: 500 16px/1.2 var(--font-ui); color: var(--ink-2); border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.seg label:hover span { color: var(--ink); background: rgba(255, 255, 255, .05); }
.seg input:checked + span {
  font-weight: 700; color: #fff; background: var(--sp-fill); border-color: rgba(167, 139, 250, .6);
  box-shadow: 0 6px 18px -8px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.seg label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 10px; }
.field-row .seg { max-width: 440px; }

/* Görsel stil kartları */
.style-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.style-opt {
  position: relative; display: flex; flex-direction: column; min-width: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  background: #1A1F2C; border: 1px solid rgba(255, 255, 255, .16); border-radius: 13px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.style-opt input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; opacity: 0; border: 0; }
.style-thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.style-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.style-name { display: block; padding: 10px 8px 11px; font: 700 16px/1.25 var(--font-display); color: #fff; text-align: center; background: #1A1F2C; }
.style-opt:hover { transform: translateY(-2px); border-color: rgba(167, 139, 250, .6); }
.style-opt:hover .style-thumb img { transform: scale(1.04); }
.style-opt:has(input:checked) {
  border-color: var(--sp-sel);
  box-shadow: 0 0 0 1px var(--sp-sel), 0 12px 34px -10px rgba(129, 105, 250, .75);
}
.style-opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.style-opt::after {
  content: ""; position: absolute; top: 8px; right: 8px; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #7C5CFF, #C45DE0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45); opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}

/* Yönlendirme (açılır) */
.adv { min-width: 0; margin-top: -10px; }
.adv > summary {
  display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 2px; list-style: none; cursor: pointer;
  font: 500 14.5px/1.4 var(--font-ui); color: var(--mute); border-radius: 8px; transition: color .2s ease;
}
.adv > summary::-webkit-details-marker { display: none; }
.adv > summary::before {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 0 2px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(-45deg); transition: transform .2s ease;
}
.adv[open] > summary::before { transform: rotate(45deg); }
.adv > summary:hover, .adv[open] > summary { color: var(--ink-2); }
.adv > summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.adv > .field { margin-top: 12px; }

/* Hızlı yönlendirme çipleri */
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset {
  min-height: 40px; padding: 7px 15px; border-radius: 999px; font: 500 14px/1.2 var(--font-ui);
  color: var(--ink-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.preset:hover { color: var(--ink); border-color: rgba(167, 139, 250, .6); background: rgba(124, 92, 255, .13); }
.preset:active { transform: scale(.97); }
.preset[aria-pressed="true"] {
  color: #fff; border-color: rgba(167, 139, 250, .7); background: var(--sp-fill);
  box-shadow: 0 6px 18px -8px rgba(124, 92, 255, .9);
}

/* JS için DOM'da kalan radyolar: tamamen gizli (.checked okumayı bozmaz) */
.engine-field.va-hide, .va-hide { display: none; }

/* ---------- Reklam kipi: biçim / süre ---------- */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.choice-field { gap: 0; }
.choice-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; min-height: 44px;
  padding: 14px; cursor: pointer; background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-2); border-radius: 13px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.choice-opt input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; border: 0; padding: 0; }
.choice-opt > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice-opt b { font: 700 15px/1.2 var(--font-display); color: var(--ink); }
.choice-opt small { font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.choice-opt:hover { border-color: rgba(167, 139, 250, .6); }
.choice-opt:has(input:checked) {
  border-color: var(--sp-sel); background: rgba(124, 92, 255, .14);
  box-shadow: 0 0 0 1px var(--sp-sel), 0 10px 28px -12px rgba(129, 105, 250, .75);
}
.choice-opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.ratio { display: block; flex: none; border: 2px solid var(--mute); border-radius: 5px; background: rgba(255, 255, 255, .05); transition: border-color .2s ease, background .2s ease; }
.ratio.r-9x16 { width: 18px; height: 32px; }
.ratio.r-16x9 { width: 32px; height: 18px; margin-block: 7px; }
.ratio.r-1x1 { width: 24px; height: 24px; margin-block: 4px; }
.choice-opt:has(input:checked) .ratio { border-color: var(--sp-sel); background: rgba(129, 105, 250, .4); }

/* ================================================================== */
/* 4) CTA (yalnız form fazı)                                            */
/* ================================================================== */
.sp-cta { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.btn-go {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  min-height: 56px; padding: 14px 26px; border: 0; border-radius: 15px; cursor: pointer;
  font: 700 17px/1.2 var(--font-display); color: #fff; text-align: center; text-decoration: none;
  background: var(--grad);
  box-shadow: 0 16px 40px -14px rgba(255, 92, 138, .6), 0 0 0 1px rgba(255, 255, 255, .06) inset, inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, opacity .2s ease;
}
.btn-go svg { flex: none; width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-go:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 22px 48px -14px rgba(255, 92, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .34); }
.btn-go:active { transform: translateY(0); }
.btn-go:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 15px; }
.btn-go:disabled, .btn-go[aria-busy="true"] { opacity: .72; cursor: progress; transform: none; filter: none; }
.btn-go[aria-busy="true"]::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: st-spin .8s linear infinite;
}
.sp-cta .btn-go { min-height: 58px; font-size: clamp(18px, 1.67vw, 24px); letter-spacing: -.01em; }
.btn-go-sm { display: inline-flex; width: auto; min-height: 48px; padding: 11px 22px; font-size: 15px; border-radius: 14px; }
.btn-line, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 20px; border-radius: 12px;
  font: 600 15px/1.2 var(--font-display); color: var(--ink); text-decoration: none; white-space: nowrap;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-line:hover, .btn-ghost:hover { background: rgba(124, 92, 255, .18); border-color: rgba(167, 139, 250, .6); }
.btn-line:active, .btn-ghost:active { transform: scale(.98); }
.btn-ghost { padding-inline: 22px; font-weight: 700; background: rgba(120, 118, 175, .34); border-color: rgba(255, 255, 255, .22); }
.btn-ghost:disabled { opacity: .55; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.form-status { margin: 0; min-height: 0; font-size: 14px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error { padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid; font-weight: 500; }
.form-status.is-success { color: var(--cyan); background: color-mix(in srgb, var(--cyan) 9%, #0B0E1E); border-color: color-mix(in srgb, var(--cyan) 38%, transparent); }
.form-status.is-error { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, #0B0E1E); border-color: color-mix(in srgb, var(--danger) 42%, transparent); }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 4px 6px 0; min-width: 0; }
.notice svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice p { min-width: 0; font-size: 13.5px; line-height: 1.55; color: var(--mute); }
.notice b, .notice strong { color: var(--ink-2); font-weight: 600; }

/* ================================================================== */
/* 5) Sağ sütun: canlı önizleme + kredi + erişim kodu                   */
/* ================================================================== */
.stage { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 0 0 0 24px; border-left: 1px solid var(--line); }
.stage-title { margin: 0 0 12px; font: 700 clamp(17px, 1.4vw, 20px)/1.3 var(--font-display); color: var(--ink); letter-spacing: -.01em; }

.device-preview {
  position: relative; width: 217px; max-width: 100%; margin-inline: auto; padding: 0;
  background: #0D111E; border: 1px solid rgba(255, 255, 255, .34); border-radius: 12px;
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .85);
}
.device-preview .screen { position: relative; aspect-ratio: 217 / 363; overflow: hidden; isolation: isolate; border-radius: 11px; background: #0D111E; }
.scr-glow {
  position: absolute; inset: -20%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background:
    radial-gradient(circle at 25% 20%, rgba(124, 92, 255, .6), transparent 45%),
    radial-gradient(circle at 80% 78%, rgba(255, 92, 138, .36), transparent 50%),
    radial-gradient(circle at 50% 55%, rgba(53, 224, 208, .14), transparent 60%);
  animation: st-glow 12s ease-in-out infinite alternate;
}
.stage[data-phase="running"] .scr-glow { opacity: 1; }
.scr-idle, .scr-run { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; text-align: center; transition: opacity .4s ease; }
.scr-run { opacity: 0; pointer-events: none; }
.scr-play { display: grid; place-items: center; width: 58px; height: 44px; border: 2px solid rgba(255, 255, 255, .72); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.scr-play svg { width: 20px; height: 20px; margin-left: 2px; fill: #fff; stroke: none; }
.scr-hint { font: 400 clamp(14.5px, 1.18vw, 17px)/1.45 var(--font-ui); color: #AAA7C4; }
.ring { width: 132px; height: 132px; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: rgba(255, 255, 255, .14); }
.ring-fg { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--p, 0))); transition: stroke-dashoffset .8s ease; filter: drop-shadow(0 0 7px color-mix(in srgb, var(--cyan) 70%, transparent)); }
.scr-pct { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); font: 800 30px/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; text-align: center; }
.scr-stage { position: absolute; left: 16px; right: 16px; bottom: 22px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.stage[data-phase="running"] .scr-idle { opacity: 0; }
.stage[data-phase="running"] .scr-run { opacity: 1; }
.stage[data-phase="done"] .device-preview, .stage[data-phase="done"] .stage-title { display: none; }

/* Kredi + erişim kodu: yalnız form fazında */
.stage-extras { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; min-width: 0; }
.stage:not([data-phase="form"]) .stage-extras, .stage:not([data-phase="form"]) .form-note { display: none; }
.stage .field-head label { font: 600 14px/1.4 var(--font-ui); color: var(--ink-2); display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.stage .field { gap: 8px; }
.stage .text-input { padding-block: 10px; }

.credit-box { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 0; background: none; border: 0; }
.credit-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.credit-head::before {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: conic-gradient(from 200deg, #8F6FFF 0 66%, rgba(255, 255, 255, .17) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
}
.credit-head strong { min-width: 0; font: 500 17px/1.3 var(--font-ui); color: var(--ink); }
.credit-balance {
  display: inline-flex; align-items: center; margin-left: auto; padding: 4px 13px; border-radius: 999px; font: 700 13.5px/1.4 var(--font-ui); color: #fff;
  background: var(--sp-fill); border: 1px solid rgba(167, 139, 250, .55);
}
.credit-balance.is-zero { background: color-mix(in srgb, var(--danger) 28%, var(--surface-solid)); border-color: color-mix(in srgb, var(--danger) 60%, transparent); }
.credit-note { font-size: 13px; line-height: 1.55; color: var(--mute); }
.credit-note b { color: var(--ink-2); }
.credit-packs { display: flex; flex-wrap: wrap; gap: 10px; }
.credit-packs:empty { display: none; }
.credit-packs a {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1 1 140px; min-height: 46px; padding: 9px 16px;
  border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.credit-packs a span { font-weight: 800; color: var(--amber); white-space: nowrap; }
.credit-packs a:hover { border-color: var(--sp-sel); background: rgba(124, 92, 255, .18); transform: translateY(-1px); }
.credit-box [data-credit-login] { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.credit-box [data-credit-login] > label { font-size: 13px; font-weight: 500; color: var(--mute); }
.credit-who { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }

.link-box { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.link-box > label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.link-row { display: flex; gap: 12px; align-items: stretch; min-width: 0; }
.link-row input { flex: 1 1 auto; min-width: 0; }
.link-row .btn-ghost { flex: none; }
[data-slot="link"] { min-width: 0; }

.form-note { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--mute); }
.stage > .form-note { margin-top: 14px; }
.form-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--ink); }

/* ================================================================== */
/* 6) Durum ekranları (sırada / üretiliyor / hazır / hata / yok)         */
/* ================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; font: 700 12.5px/1.2 var(--font-ui);
  letter-spacing: .05em; text-transform: uppercase; border: 1px solid;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.badge-wait { color: var(--warn); background: color-mix(in srgb, var(--warn) 11%, transparent); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.badge-live { color: #CFC4FF; background: color-mix(in srgb, var(--violet) 18%, transparent); border-color: color-mix(in srgb, var(--violet) 55%, transparent); }
.badge-live i { background: var(--violet); box-shadow: 0 0 0 0 color-mix(in srgb, var(--violet) 70%, transparent); animation: st-pulse 1.6s ease-out infinite; }
.badge-ok { color: var(--cyan); background: color-mix(in srgb, var(--cyan) 10%, transparent); border-color: color-mix(in srgb, var(--cyan) 42%, transparent); }
.badge-err { color: var(--danger); background: color-mix(in srgb, var(--danger) 11%, transparent); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.state-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; line-height: 1.12; }
.state-title:focus { outline: none; }
.job-site { font-size: 14px; font-weight: 600; color: var(--cyan); }

.queue-pos { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.queue-num { font: 800 clamp(64px, 11vw, 96px)/.95 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.queue-cap { font-size: 15px; font-weight: 600; color: var(--ink-2); }

.stage-line { font: 600 17px/1.4 var(--font-display); color: var(--ink); }
.bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); overflow: hidden; }
.bar-fill {
  position: relative; height: 100%; width: 3%; border-radius: inherit; background: var(--grad);
  box-shadow: 0 0 18px color-mix(in srgb, var(--coral) 60%, transparent); transition: width .8s cubic-bezier(.3, .7, .2, 1);
}
.bar-fill::before { content: ""; position: absolute; right: 0; top: -2px; bottom: -2px; width: 10px; border-radius: 999px; background: #fff; filter: blur(3px); opacity: .85; }
.bar-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .38) 50%, transparent 80%); background-size: 200% 100%; animation: st-shimmer 2s linear infinite; }
.bar-meta { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; font-size: 14px; color: var(--mute); }
.bar-meta span:first-child { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.pipeline { display: flex; flex-direction: column; gap: 0; padding: 4px 0; }
.pipeline li { position: relative; display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 5px 0; color: var(--mute); font-size: 15px; transition: color .3s ease; }
.pipeline li > span { min-width: 0; }
.pipeline li i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg-2); transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.pipeline li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 29px; bottom: -6px; width: 2px; background: var(--line); }
.pipeline li.is-done { color: var(--ink-2); }
.pipeline li.is-done i { border-color: transparent; background: var(--cyan); }
.pipeline li.is-done i::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid var(--bg); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.pipeline li.is-done:not(:last-child)::before { background: color-mix(in srgb, var(--cyan) 70%, transparent); }
.pipeline li.is-active { color: var(--ink); font-weight: 700; }
.pipeline li.is-active i { border-color: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 28%, transparent); animation: st-ring 1.5s ease-in-out infinite; }
.pipeline li.is-active i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--violet); }

/* Hazır: biçim sekmeleri, oynatıcı, rapor */
.format-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.format-tab {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.format-tab:hover { color: var(--ink); border-color: rgba(167, 139, 250, .6); }
.format-tab[aria-pressed="true"] { color: #fff; border-color: var(--sp-sel); background: var(--sp-fill); box-shadow: 0 6px 18px -8px rgba(124, 92, 255, .9); }
.video-info { font-size: 14px; color: var(--mute); }
.video-info:empty { display: none; }

.ad-report { display: flex; flex-direction: column; gap: 12px; padding: 18px; min-width: 0; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ad-report h3 { font-size: 18px; }
.ad-report h4 { font-size: 15px; color: var(--warn); font-family: var(--font-display); }
.ad-one { font: 600 16px/1.5 var(--font-display); color: var(--ink); padding-left: 14px; border-left: 3px solid var(--violet); }
.ad-lines { counter-reset: adl; display: flex; flex-direction: column; gap: 10px; }
.ad-lines li { counter-increment: adl; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ad-lines li::before { content: counter(adl); flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; font: 700 12px/1 var(--font-ui); color: var(--ink); background: rgba(124, 92, 255, .28); border: 1px solid rgba(167, 139, 250, .6); }
.ad-warn { padding: 14px 16px; border-radius: var(--r-md); background: color-mix(in srgb, var(--amber) 10%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 42%, transparent); }
.ad-warn ul { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.ad-warn li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ad-warn li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.fail-msg { padding: 14px 16px; border-radius: var(--r-md); font-size: 15px; line-height: 1.55; color: var(--ink); background: color-mix(in srgb, var(--danger) 11%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); }
.fail-msg:empty { display: none; }
.composer .conn-warn { padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 38%, transparent); }

/* Oynatıcı telefonu (hazır fazı) */
.device-player {
  position: relative; width: 100%; max-width: min(100%, 320px); margin-inline: auto; padding: 8px;
  border-radius: 36px; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .85), 0 0 70px -20px rgba(124, 92, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.device-player .screen { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 28px; background: #000; isolation: isolate; }
.device-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.device-player[data-ratio="16x9"] { max-width: 100%; border-radius: 22px; padding: 6px; }
.device-player[data-ratio="16x9"] .screen { aspect-ratio: 16 / 9; border-radius: 17px; }
.device-player[data-ratio="1x1"] { max-width: min(100%, 440px); border-radius: 26px; padding: 6px; }
.device-player[data-ratio="1x1"] .screen { aspect-ratio: 1 / 1; border-radius: 21px; }

/* ================================================================== */
/* 7) "Siteden reklam" şeridi (panelin hemen altında)                    */
/* ================================================================== */
.ad-strip {
  display: flex; align-items: center; gap: 18px; min-width: 0; margin-top: 14px; padding: 9px 10px 9px 24px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 27, 58, .74), rgba(17, 17, 39, .8));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px -36px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.ad-strip-ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--ink); }
.ad-strip-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ad-strip > label { flex: none; font: 700 16px/1.3 var(--font-display); color: var(--ink); white-space: nowrap; }
.ad-strip input {
  flex: 1 1 auto; min-width: 0; width: 100%; height: 40px; padding: 0 14px; font: 400 15px/1.4 var(--font-ui); color: var(--ink);
  background: rgba(8, 10, 24, .5); border: 1px solid rgba(255, 255, 255, .24); border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ad-strip input::placeholder { color: #8D89AB; opacity: 1; }
.ad-strip input:hover { border-color: rgba(167, 139, 250, .6); }
.ad-strip input:focus { outline: none; border-color: var(--sp-sel, #8169FA); box-shadow: 0 0 0 3px rgba(129, 105, 250, .38); }
.ad-strip input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.strip-go {
  flex: none; display: grid; place-items: center; width: 54px; height: 40px; padding: 0; border: 0; border-radius: 12px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #6C5CFF 0%, #A45DE6 100%);
  box-shadow: 0 10px 24px -10px rgba(108, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .18s ease, filter .18s ease;
}
.strip-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.strip-go:hover { transform: translateY(-1px); filter: brightness(1.1); }
.strip-go:active { transform: translateY(0); }
.strip-go:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 12px; }

/* ================================================================== */
/* 8) Orta ekran (<= 1000): tek sütun                                   */
/* ================================================================== */
@media (max-width: 1000px) {
  .studio { margin-top: -28px; }
  .studio-panel { --sp-px: 22px; border-radius: 30px; }
  .sp-grid { grid-template-columns: minmax(0, 1fr); padding: 18px 0 26px; }
  .composer { padding: 0; }
  .studio-panel[data-phase="done"] .composer { padding-right: 0; }
  .stage { margin-top: 26px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  /* Form fazında: önizleme telefonu solda, kredi/kod sağda */
  .stage[data-phase="form"] {
    display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 28px; row-gap: 14px; align-items: start;
  }
  .stage[data-phase="form"] .stage-title { grid-column: 1 / -1; margin: 0; }
  .stage[data-phase="form"] .device-preview { width: 200px; margin: 0; }
  .stage[data-phase="form"] .stage-extras { margin-top: 0; }
  .stage[data-phase="form"] .form-note { grid-column: 1 / -1; margin-top: 0; }
  .stage:not([data-phase="form"]) .stage-title { text-align: center; }
}

/* ================================================================== */
/* 9) Mobil (<= 640): yığılmış form, yapışkan CTA                        */
/* ================================================================== */
@media (max-width: 640px) {
  .studio { margin-top: 0; padding-bottom: 20px; }
  .studio > .wrap { padding-inline: 12px; }
  .studio-panel { --sp-px: 18px; display: flex; flex-direction: column; border-radius: 22px; padding-bottom: 18px; }
  .sp-head { flex-direction: column; align-items: stretch; gap: 14px; min-height: 0; padding: 22px 0 6px; border-bottom: 0; }
  .sp-title { padding-left: 0; font-size: 30px; }
  .mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-right: 0; }
  .mode-tab { min-height: 42px; padding-inline: 8px; font-size: 14px; }
  .mode-tab svg { display: none; }
  .sp-grid { padding: 14px 0 0; }

  .composer form, .composer [data-mode-show] { gap: 20px; }
  .adv { margin-top: -6px; }
  /* Metin alanı: etiket + bağlantı üstte, ipucu altta */
  .field-main { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lab link" "ta ta" "meta meta"; row-gap: 8px; }
  .field-main > .field-meta { white-space: normal; overflow: visible; font-size: 12.5px; }
  .studio-panel .field-main textarea { height: 100px; padding-bottom: 32px; }
  .studio-panel textarea, .studio-panel input:not([type="radio"]):not([type="checkbox"]) { padding-inline: 16px; }
  .studio-panel textarea, .studio-panel input:not([type="radio"]):not([type="checkbox"]), .studio-panel select { border-radius: 11px; }
  .studio-panel textarea { padding-top: 12px; }

  .va-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .seg { border-radius: 11px; }
  .seg span { min-height: 40px; border-radius: 9px; font-size: 15px; }
  .seg input:checked + span { background: linear-gradient(90deg, #7A4DFF 0%, #E55BD0 100%); border-color: rgba(255, 255, 255, .22); box-shadow: 0 6px 20px -8px rgba(229, 91, 208, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
  .mode-tab[aria-selected="true"] { background: linear-gradient(90deg, #7A4DFF 0%, #B25DDC 100%); }

  /* Görsel stil: 2x2, fotoğraf kartın tamamı, ad altta solda, seçili kartta onay rozeti */
  .style-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .style-opt { display: block; background: var(--surface-2); border-radius: 12px; }
  .style-thumb { aspect-ratio: 3 / 2; }
  .style-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(5, 8, 20, .82)); pointer-events: none; }
  .style-name { position: absolute; left: 11px; right: 11px; bottom: 8px; z-index: 1; padding: 0; background: none; text-align: left; font-size: 15px; text-shadow: 0 1px 8px rgba(0, 0, 0, .65); }
  .style-opt:has(input:checked)::after { opacity: 1; transform: scale(1); }

  .choice-opts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .choice-opt { flex-direction: row; align-items: center; gap: 14px; }
  .ratio.r-9x16, .ratio.r-16x9, .ratio.r-1x1 { margin-block: 0; }
  .field-row .seg { max-width: none; }

  /* Sağ sütun: yalnız kredi/kod/not; önizleme telefonu yalnız üretim sürerken */
  .stage { margin-top: 20px; padding: 0; border-top: 0; }
  .stage[data-phase="form"] { display: flex; }
  .stage[data-phase="form"] .device-preview, .stage[data-phase="form"] .stage-title,
  .stage[data-phase="queued"], .stage[data-phase="failed"], .stage[data-phase="missing"] { display: none; }
  .stage[data-phase="running"] { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
  .stage[data-phase="running"] .device-preview { width: 220px; }
  .stage-extras { margin-top: 0; gap: 14px; }
  .link-row { flex-direction: column; }
  .link-row .btn-ghost { width: 100%; }
  .credit-box .link-row { flex-direction: row; }
  .credit-box .link-row .btn-ghost { width: auto; }
  .actions .btn-go-sm, .actions .btn-line { flex: 1 1 140px; }

  /* Yapışkan CTA: panel akışında doğrudan çocuk olur; çubuk düğmenin kutu gölgesiyle çizilir */
  .sp-cta { display: contents; }
  .sp-cta .btn-go, .sp-cta .form-status { position: sticky; }
  .sp-cta .btn-go {
    order: 2; z-index: 20; isolation: isolate; width: 100%; min-height: 50px; margin-top: 36px; padding-block: 12px;
    font-size: 17px; border-radius: 0; background: none;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 0 0 18px var(--sp-bar), 0 -1px 0 18px rgba(255, 255, 255, .09);
  }
  .sp-cta .btn-go:hover { transform: none; filter: none; background: none; box-shadow: 0 0 0 18px var(--sp-bar), 0 -1px 0 18px rgba(255, 255, 255, .09); }
  .sp-cta .btn-go::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 13px; background: var(--grad);
    box-shadow: 0 14px 34px -12px rgba(255, 92, 138, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
  }
  .sp-cta .btn-go:focus-visible { outline: none; }
  .sp-cta .btn-go:focus-visible::before { outline: 3px solid var(--cyan); outline-offset: 3px; }
  .sp-cta .form-status { order: 1; z-index: 21; margin-top: 18px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .sp-cta .notice { order: 3; margin-top: 34px; padding: 0 2px; }
}

/* ---- Şerit: mobilde sarmalı ---- */
@media (max-width: 640px) {
  .ad-strip {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 12px;
    margin-top: 12px; padding: 14px 14px 14px 16px; border-radius: 18px;
  }
  .ad-strip-ico { grid-column: 1; grid-row: 1; }
  .ad-strip > label { grid-column: 2 / -1; grid-row: 1; white-space: normal; }
  .ad-strip input { grid-column: 1 / 3; grid-row: 2; height: 46px; font-size: 16px; }
  .strip-go { grid-column: 3; grid-row: 2; width: 54px; height: 46px; }
}

/* ================================================================== */
/* 10) Animasyonlar + azaltılmış hareket                                */
/* ================================================================== */
@keyframes st-spin { to { transform: rotate(360deg); } }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--violet) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes st-ring { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 30%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--violet) 10%, transparent); } }
@keyframes st-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes st-glow { from { transform: translate3d(-4%, -3%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .scr-glow, .bar-fill::after, .badge-live i, .pipeline li.is-active i, .btn-go[aria-busy="true"]::after { animation: none; }
  .bar-fill, .ring-fg, .btn-go, .strip-go, .preset, .style-opt, .style-thumb img, .style-opt::after, .scr-glow, .seg span, .mode-tab, .adv > summary::before { transition: none; }
  .style-opt:hover, .style-opt:hover .style-thumb img, .btn-go:hover, .strip-go:hover, .credit-packs a:hover { transform: none; }
}
