/* Estúdio de vídeos da área da empresa (gerador v2, 23/11/2026). Painel escuro dentro da área, cores da marca. */
.st, .st * { min-width: 0; }
.mb-page:has(> .st) { max-width: none; padding-left: clamp(16px, 2.4vw, 32px); padding-right: clamp(16px, 2.4vw, 32px); }
.st { --st-bg: #ffffff; --st-card: #f2f4f1; --st-line: #dfe4e0; --st-txt: #1b2430; --st-soft: #5b6672; --st-chip: #e1e7e4; --st-chip-txt: #1b2430; --st-accent: #0b6e69; --st-gold: #8a5d00; --st-deep: #eef1ee; --st-hero: #e4eeec; --st-surface: #ffffff; --st-pressed: #eaf6f4; --st-ph: #7d8996; --st-shadow: 0 14px 34px rgba(27, 36, 48, .10); width: 100%; max-width: none; margin: 0; display: grid; gap: 18px; }
html[data-theme="dark"] .st { --st-bg: #131a22; --st-card: #1c2531; --st-line: #2c3745; --st-txt: #eef1ee; --st-soft: #9aa6b2; --st-chip: #2c3745; --st-chip-txt: #ffffff; --st-accent: #2fb3a9; --st-gold: #ffc531; --st-deep: #0d1218; --st-hero: #22303f; --st-surface: #1c2531; --st-pressed: #17332f; --st-ph: #7d8996; --st-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.st a { color: var(--st-accent); }
.st-hero { text-align: center; padding: 26px 16px 6px; border-radius: 22px; background: radial-gradient(120% 140% at 50% 0%, var(--st-hero) 0%, var(--st-bg) 60%); color: var(--st-txt); border: 1px solid var(--st-line); }
.st-hero h2 { margin: 6px 0 8px; font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem, 4.6vw, 2.5rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.st-hero p { margin: 0 auto 18px; max-width: 46ch; color: var(--st-soft); }
.st-kicker { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--st-gold) !important; }

.st-box { background: var(--st-bg); color: var(--st-txt); border: 1px solid var(--st-line); border-radius: 22px; padding: 12px; display: grid; gap: 10px; box-shadow: var(--st-shadow); }
.st-modes { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: var(--st-card); justify-self: start; max-width: 100%; }
.st-mode input { position: absolute; opacity: 0; pointer-events: none; }
.st-mode span { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--st-soft); cursor: pointer; white-space: nowrap; }
.st-mode input:checked + span { background: var(--st-chip); color: var(--st-chip-txt); }
.st-mode input:focus-visible + span { outline: 2px solid var(--st-accent); outline-offset: 2px; }
.st-swap-help { padding: 12px 14px; border-radius: 14px; background: var(--st-card); color: var(--st-soft); font-size: .93rem; line-height: 1.45; }
.st-swap-help b { color: var(--st-txt); }

.st-box textarea { width: 100%; min-height: 92px; resize: vertical; border: 0; outline: 0; background: transparent; color: var(--st-txt); font-size: 1.06rem; line-height: 1.5; padding: 8px 8px 0; }
.st-box textarea::placeholder { color: var(--st-ph); }
.st-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-bar > * { flex: none; }
.st-icon, .st-bar [data-voice-slot] button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-txt); cursor: pointer; }
.st-icon:hover, .st-pill:hover { border-color: var(--st-accent); }
.st-pill { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-txt); cursor: pointer; text-align: left; }
.st-pill small { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--st-soft); line-height: 1.1; }
.st-pill b { display: block; font-size: .92rem; line-height: 1.2; }
.st-pill[aria-expanded="true"] { border-color: var(--st-accent); box-shadow: 0 0 0 1px var(--st-accent); }
.st-go { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; white-space: nowrap; border: 0; border-radius: 14px; background: #ffc531; color: #1b2430; cursor: pointer; box-shadow: 0 4px 0 #e9ac0c; transition: transform .08s ease, box-shadow .08s ease; }
.st-go b { font-family: var(--serif); font-weight: 800; font-size: 1.02rem; }
.st-go small { font-size: .74rem; opacity: .8; }
.st-bar .st-go small { display: none; }
.st-go-wide { min-height: 52px; }
/* botão com título e linha de apoio: um embaixo do outro, sem encavalar (24/11/2026) */
.st-go:has(> small) { flex-direction: column; gap: 2px; padding: 10px 22px; white-space: normal; text-align: center; line-height: 1.2; }
.st-bar .st-go:has(> small) { flex-direction: row; padding: 0 22px; white-space: nowrap; }
.st-go:has(> small) b, .st-go:has(> small) small { display: block; }
.st-go:active { transform: translateY(3px); box-shadow: 0 1px 0 #e9ac0c; }
.st-go[disabled] { opacity: .6; cursor: progress; }
.st-go-inline { margin: 0; }
.st-ghost { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--st-line); background: transparent; color: var(--st-txt); font-weight: 700; cursor: pointer; }

.st-pop { border-top: 1px solid var(--st-line); padding: 12px 6px 4px; display: grid; gap: 8px; }
.st-pop[hidden], .st [hidden] { display: none !important; }
.st-pop-t { margin: 0 0 2px; font-weight: 700; }
.st-check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--st-card); cursor: pointer; }
.st-check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--st-accent); flex: none; }
.st-check b { display: block; }
.st-check small { display: block; color: var(--st-soft); line-height: 1.4; }
.st-inf { display: grid; gap: 10px; padding: 4px 2px; }
.st-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st-chips legend { float: left; width: 62px; padding: 0; margin-right: 4px; font-size: .78rem; color: var(--st-soft); line-height: 36px; }
.st-chips input { position: absolute; opacity: 0; pointer-events: none; }
.st-chips span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--st-line); font-size: .9rem; cursor: pointer; }
.st-chips input:checked + span { background: #ffc531; border-color: #ffc531; color: #1b2430; font-weight: 700; }
.st-chips input:focus-visible + span { outline: 2px solid var(--st-accent); outline-offset: 2px; }

.st-tray { display: flex; flex-wrap: wrap; gap: 10px; }
.st-tray:empty { display: none; }
.st-file { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--st-card); border: 1px solid var(--st-line); min-width: min(100%, 290px); }
.st-file img, .st-file .st-vid { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--st-deep); display: grid; place-items: center; font-size: .72rem; color: var(--st-soft); }
.st-file label { display: grid; gap: 3px; font-size: .72rem; color: var(--st-soft); }
.st-file select { min-height: 40px; border-radius: 10px; border: 1px solid var(--st-line); background: var(--st-bg); color: var(--st-txt); padding: 0 8px; }
.st-file button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--st-soft); font-size: 1.2rem; cursor: pointer; }
.st-file.is-up { opacity: .6; }
.st-box.is-drop { border-color: var(--st-accent); }

.st-sec { color: var(--st-txt); margin: 6px 2px; font-weight: 800; font-family: var(--serif); font-size: 1.05rem; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.st-preset { display: grid; gap: 4px; text-align: left; padding: 14px; border-radius: 16px; border: 1.5px solid var(--st-line); background: var(--st-surface); color: var(--st-txt); cursor: pointer; transition: transform .12s ease, border-color .12s ease; }
/* Vitrine dos exemplos (23/11/2026): uma fileira por estilo, três pôsteres em vídeo, no clima da Higgsfield. */
.st-sec-sub { margin: -4px 2px 4px; color: var(--st-soft); font-size: .92rem; }
.st-row { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 12px; align-items: stretch; padding: 12px; border-radius: 22px; background: var(--st-card); border: 1px solid var(--st-line); }
.st-row .st-preset { grid-template-columns: auto 1fr; align-content: start; column-gap: 10px; }
.st-row .st-preset .st-emoji { font-size: 1.6rem; line-height: 1; }
.st-row .st-preset > span:nth-child(2) { display: grid; gap: 4px; }
.st-use { grid-column: 1 / -1; align-self: end; margin-top: 10px; justify-self: start; font-size: .82rem; font-weight: 800; color: var(--st-accent); }
.st-preset[aria-pressed="true"] .st-use::before { content: '✓ '; }
.st-reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2px; scrollbar-width: thin; }
.st-ex { position: relative; aspect-ratio: 9 / 16; max-height: 420px; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #0d1218; cursor: pointer; scroll-snap-align: start; isolation: isolate; text-align: left; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .18s ease, box-shadow .18s ease; }
.st-ex:hover, .st-ex:focus-visible { transform: translateY(-3px) scale(1.015); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.st-ex:focus-visible { outline: 3px solid #ffc531; outline-offset: 2px; }
.st-ex video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.st-ex-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 48%, rgba(0,0,0,.88) 100%); }
.st-ex-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; display: grid; gap: 3px; color: #fff; }
.st-ex-title { font-family: 'Bricolage Grotesque', var(--serif); font-weight: 800; font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0,0,0,.6); text-wrap: balance; }
.st-ex-txt small { font-size: .76rem; font-weight: 700; opacity: .9; }
.st-ex-mood { font-size: .7rem; opacity: .75; }
.st-ex-swap { display: inline-flex; align-items: center; gap: 5px; justify-self: start; margin-top: 4px; padding: 4px 8px; border-radius: 999px; background: #ffc531; color: #1b2430; font-size: .7rem; font-weight: 800; }
.st-ex-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: rgba(13, 18, 24, .72); backdrop-filter: blur(6px); color: #fff; font-size: .72rem; font-weight: 800; border: 1px solid rgba(255, 197, 49, .7); }
.st-ex-play { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); color: #fff; font-size: .7rem; }
.st-ex.is-inf { box-shadow: 0 0 0 2px #ffc531, 0 10px 28px rgba(0, 0, 0, .28); }
.st-ex.is-inf .st-ex-play { display: none; }
.st-modal { border: 0; padding: 0; background: transparent; max-width: min(920px, calc(100vw - 24px)); width: 100%; }
.st-modal::backdrop { background: rgba(5, 8, 12, .78); backdrop-filter: blur(4px); }
.st-modal-in { position: relative; display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 18px; padding: 16px; border-radius: 24px; background: var(--st-bg, #131a22); color: var(--st-txt, #eef1ee); }
.st-modal video { width: 100%; aspect-ratio: 9 / 16; max-height: 78vh; border-radius: 16px; background: #000; object-fit: cover; }
.st-modal-info { display: grid; align-content: center; gap: 10px; }
.st-modal-info h3 { margin: 0; font-family: 'Bricolage Grotesque', var(--serif); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; text-transform: uppercase; }
.st-modal-co { margin: 0; color: var(--st-soft); }
.st-modal-fala { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.st-modal-inf { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #ffc531; background: rgba(255, 197, 49, .08); }
.st-modal-inf b { display: inline-flex; align-items: center; gap: 6px; }
.st-modal-inf p { margin: 0; color: var(--st-soft); font-size: .93rem; }
.st-modal-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.st-go-sm { margin: 0; min-height: 46px; font-weight: 800; }
.st-modal-note { color: var(--st-soft); }
.st-modal-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 2; }
@media (max-width: 760px) {
  .st-row { grid-template-columns: 1fr; padding: 10px; }
  .st-reel { grid-auto-columns: 46%; }
  .st-row .st-preset { padding: 12px; }
  .st-use { margin-top: 6px; }
  .st-ex-txt { padding: 10px; }
  .st-ex-badge { top: 8px; left: 8px; padding: 4px 8px; font-size: .66rem; }
  .st-ex-swap { font-size: .64rem; padding: 3px 7px; line-height: 1.2; }
  .st-ex-txt small { font-size: .7rem; }
  .st-modal-in { grid-template-columns: 1fr; padding: 12px; max-height: calc(100vh - 24px); overflow: auto; }
  .st-modal video { max-height: 50vh; }
}
.st-preset:hover { transform: translateY(-2px); border-color: var(--st-accent); }
.st-preset[aria-pressed="true"] { border-color: var(--st-accent); background: var(--st-pressed); box-shadow: inset 0 0 0 1px var(--st-accent); }
.st-preset b { font-family: var(--serif); font-size: 1.02rem; }
.st-preset small { color: var(--st-soft); line-height: 1.4; font-size: .87rem; }
.st-emoji { font-size: 1.5rem; }

.st-work { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 18px; border: 1px solid var(--st-line); background: var(--st-bg); color: var(--st-txt); text-align: center; }
.st-work small { color: var(--st-soft); }
.st-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--st-line); border-top-color: var(--st-accent); animation: st-spin 0.9s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }
.st-err { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fde8e6; color: #8a1c14; }
html[data-theme="dark"] .st-err { background: #4a1f1f; color: #ffd9d6; }

.st-list { display: grid; gap: 8px; }
.st-item { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--st-line); text-decoration: none; color: var(--st-txt) !important; background: var(--st-surface); }
.st-item small { color: var(--st-soft); }

.st-card { background: var(--st-bg); color: var(--st-txt); border: 1px solid var(--st-line); box-shadow: var(--st-shadow); border-radius: 20px; padding: 20px; display: grid; gap: 10px; }
.st-card h2 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: -.01em; }
.st-card p { margin: 0; }
.st-log { color: var(--st-soft); }
.st-emos { font-weight: 700; color: var(--st-accent); }
.st-shots { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 8px; }
.st-shots li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--st-card); }
.st-t { font-family: var(--serif); font-weight: 800; color: var(--st-gold); }
.st-shots em { color: var(--st-soft); font-style: normal; }
.st-shots p { margin-top: 4px; font-size: 1.02rem; }
.st-tag { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--st-chip); color: var(--st-chip-txt); font-size: .72rem; }
.st-sign { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; }
.st-note { color: var(--st-soft); font-size: .9rem; }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* a página de um vídeo: uma coisa por vez */
.st-one { max-width: 760px; margin: 0 auto; }
.st-back { margin: 0; }
.st-center { justify-items: center; text-align: center; padding: 30px 22px; gap: 14px; }
.st-center .st-log { max-width: 46ch; }
.st-go-wide { margin: 4px 0 0; width: min(100%, 380px); }
.st-ghost { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--st-txt) !important; }
.st-auto { color: var(--st-soft); font-size: .92rem; }
.st-link { border: 0; background: none; color: var(--st-accent); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0 4px; min-height: 32px; }
.st-visual { display: none; color: var(--st-soft); font-size: .9rem !important; }
.st-trans { color: var(--st-soft); font-size: .85rem !important; margin-top: .25rem; }
.st-trans b, .st-music b { color: var(--st-txt); font-weight: 700; }
.st-full { color: var(--st-soft); }
.st-full summary { cursor: pointer; font-weight: 700; color: var(--st-accent); min-height: 32px; }
.st-script:has(.st-full[open]) .st-visual { display: block; }
.st-edit label { display: grid; gap: 4px; font-size: .84rem; color: var(--st-soft); }
.st-edit input, .st-edit textarea { width: 100%; border-radius: 10px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-txt); padding: 10px 12px; font-size: 1rem; }
.st-edit fieldset { border: 1px solid var(--st-line); border-radius: 14px; padding: 12px; margin: 0; display: grid; gap: 8px; }
.st-edit legend { padding: 0 6px; font-weight: 700; color: var(--st-txt); }
.st-secs input { max-width: 96px; }
.st-center h2[data-pct] { font-size: clamp(2.6rem, 9vw, 4rem); color: var(--st-gold); font-variant-numeric: tabular-nums; }
.st-meter { width: min(100%, 420px); height: 10px; border-radius: 999px; background: var(--st-card); overflow: hidden; }
.st-meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2fb3a9, #ffc531); transition: width .8s ease; }
.st-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; text-align: left; }
.st-steps li { display: flex; align-items: center; gap: 10px; color: var(--st-soft); }
.st-steps li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--st-line); flex: none; }
.st-steps li.st-on { color: var(--st-txt); font-weight: 700; }
.st-steps li.st-on::before { border-color: var(--st-accent); border-top-color: transparent; animation: st-spin .9s linear infinite; }
.st-steps li.st-ok { color: var(--st-txt); }
.st-steps li.st-ok::before { content: '✓'; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #1b2430; border-color: #2fb3a9; background: #2fb3a9; }
/* preço do vídeo quando falta crédito */
.st-pay { display: grid; gap: 10px; justify-items: center; width: 100%; }
.st-price { display: grid; gap: 2px; margin: 0; }
.st-price span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--st-soft); }
.st-price b { font-family: var(--serif); font-weight: 800; font-size: 2.2rem; color: var(--st-txt); }

/* o vídeo pronto: o vídeo num palco escuro, as ações ao lado (embaixo no celular) */
.st-one:has(.st-done) { max-width: 1240px; }
.st-done { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--st-bg); color: var(--st-txt); border: 1px solid var(--st-line); box-shadow: var(--st-shadow); border-radius: 24px; padding: 24px; }
.st-done-wide { grid-template-columns: minmax(0, 1fr); }
.st-stage { display: grid; place-items: center; border-radius: 20px; padding: 14px; background: radial-gradient(110% 90% at 50% 0%, #26384a 0%, #0d1218 70%); }
.st-player { margin: 0; width: 100%; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 22px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.st-player.st-v { aspect-ratio: 9 / 16; max-height: 74vh; width: auto; max-width: 100%; }
.st-player.st-h { aspect-ratio: 16 / 9; }
.st-player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.st-side { display: grid; gap: 14px; align-content: center; }
.st-side h2 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.st-side p { margin: 0; }
.st-dl { display: grid; gap: 10px; }
.st-dl .st-go-wide { width: 100%; max-width: 420px; }
.st a.st-go, .st a.st-go:hover { color: #1b2430; text-decoration: none; }
.st a.st-ghost { text-decoration: none; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--st-line); font-weight: 700; }
.st-tabs { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 12px; background: var(--st-card); justify-self: start; }
.st-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--st-soft); font-weight: 700; cursor: pointer; }
.st-tabs button.on { background: var(--st-chip); color: var(--st-chip-txt); }
@media (max-width: 760px) {
  .st-done { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 18px; }
  .st-player.st-v { max-height: 66vh; }
  .st-side { text-align: center; justify-items: center; }
  .st-tabs { justify-self: center; }
  .st-actions { justify-content: center; }
}
.st.is-working > :not([data-work]) { display: none !important; }

@media (max-width: 640px) {
  .st-go { width: 100%; margin-left: 0; order: 9; }
  .st-bar > span:not([data-voice-slot]) { flex: 1 1 auto; display: flex; }
  .st-pill { flex: 1 1 auto; }
  .st-modes { width: 100%; grid-auto-columns: 1fr; }
  .st-mode span { justify-content: center; padding: 0 8px; font-size: .86rem; }
  .st-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-mode span { white-space: normal; text-align: center; line-height: 1.15; min-height: 48px; }
  .st-modes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: row; }
  .st-preset small { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .st-spin { animation-duration: 2.5s; } .st-preset, .st-go, .st-ex { transition: none; } }

/* ---- 24/11/2026: abas Criar vídeo / Meus vídeos, dados da empresa, produto e o Pix por cima da tela */
.st-tabs-top { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: var(--st-card); border: 1px solid var(--st-line); justify-self: start; }
.st-tabs-top a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 700; color: var(--st-soft); text-decoration: none; white-space: nowrap; }
.st-tabs-top a.on { background: var(--st-bg); color: var(--st-txt); box-shadow: 0 1px 3px rgba(27, 36, 48, .12); }
.st-tabs-top a:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; }
.st-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ffc531; color: #1b2430; font-size: .74rem; font-weight: 800; }

.st-brief { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--st-line); background: var(--st-bg); color: var(--st-txt); font-size: .93rem; }
.st-brief svg { flex: none; color: var(--st-accent); }
.st-brief-ok small { color: var(--st-soft); }
.st-brief-ok form { margin-left: auto; }
.st-brief-ask { flex-wrap: wrap; gap: 10px 14px; border-style: dashed; }
.st-brief-t { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; }
.st-brief-t span { display: grid; gap: 1px; }
.st-brief-t small { color: var(--st-soft); line-height: 1.35; }
.st-brief-f { display: flex; gap: 8px; flex: 2 1 420px; }
.st-brief-f input { flex: 1 1 140px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-txt); font-size: 1rem; }
.st-brief-f input:focus { outline: 2px solid var(--st-accent); outline-offset: 0; border-color: transparent; }
.st-brief-go { flex: none; }
.st-brief .st-err { flex-basis: 100%; }
.st-link { border: 0; background: none; padding: 0; color: var(--st-accent); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; }

.st-pop-s { margin: -4px 0 4px; color: var(--st-soft); font-size: .88rem; }
.st-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; max-height: 320px; overflow: auto; }

.st-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.st-mine-i { display: grid; gap: 10px; padding: 10px; border-radius: 18px; border: 1px solid var(--st-line); background: var(--st-bg); color: var(--st-txt) !important; text-decoration: none; transition: transform .12s ease, border-color .12s ease; }
.st-mine-i:hover { transform: translateY(-2px); border-color: var(--st-accent); }
.st-mine-th { display: grid; place-items: center; aspect-ratio: 9 / 16; max-height: 300px; border-radius: 12px; overflow: hidden; background: var(--st-deep); }
.st-mine-th.is-h { aspect-ratio: 16 / 9; }
.st-mine-th video { width: 100%; height: 100%; object-fit: cover; }
.st-mine-ph { color: var(--st-soft); }
.st-mine-txt { display: grid; gap: 4px; }
.st-mine-txt b { font-family: var(--serif); line-height: 1.2; }
.st-mine-txt small { color: var(--st-soft); }
.st-chip-s { justify-self: start; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--st-chip); color: var(--st-chip-txt); }
.st-chip-s.is-pronto { background: #d8f2ee; color: #0b4f4b; }
.st-chip-s.is-produzindo, .st-chip-s.is-escrevendo { background: #fff1c9; color: #6b4a00; }
.st-chip-s.is-falhou { background: #fde8e6; color: #8a1c14; }
html[data-theme="dark"] .st-chip-s.is-pronto { background: #14403c; color: #bff0e8; }
html[data-theme="dark"] .st-chip-s.is-produzindo, html[data-theme="dark"] .st-chip-s.is-escrevendo { background: #4a3a10; color: #ffe7a3; }
html[data-theme="dark"] .st-chip-s.is-falhou { background: #4a1f1f; color: #ffd9d6; }

.st-pix { max-width: min(440px, calc(100vw - 24px)); }
.st-pix-in { position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 22px 18px 18px; border-radius: 24px; background: var(--st-bg, #fff); color: var(--st-txt, #1b2430); }
.st-pix-in h3 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: 1.15rem; line-height: 1.25; padding: 0 30px; }
.st-pix-in .st-modal-x { background: var(--st-card); color: var(--st-txt); }
.st-pix-val { margin: 0; display: grid; gap: 2px; }
.st-pix-val span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--st-soft); }
.st-pix-val b { font-family: var(--serif); font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-pix-qr { width: min(240px, 70vw); aspect-ratio: 1; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--st-line); }
.st-pix-qr svg { width: 100%; height: 100%; display: block; }
.st-pix-how { margin: 0; color: var(--st-soft); font-size: .9rem; max-width: 34ch; }
.st-pix-code { display: flex; gap: 8px; width: 100%; }
.st-pix-code input { flex: 1; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-txt); font-family: ui-monospace, monospace; font-size: .8rem; text-overflow: ellipsis; }
.st-pix-wait { margin: 0; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--st-soft); text-align: left; }
.st-pix-wait .st-spin { width: 20px; height: 20px; border-width: 2px; flex: none; }
@media (max-width: 640px) {
  .st-tabs-top { width: 100%; grid-auto-columns: 1fr; }
  .st-tabs-top a { justify-content: center; padding: 0 8px; }
  .st-brief-f { flex-wrap: wrap; }
  .st-brief-go { width: 100%; }
  .st-mine { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .st-pix-code .st-go { width: auto; order: 0; }
}

/* "A IA está escrevendo o roteiro" (Thinking, thinking.js): contador, barra, etapas e a IA pensando (26/11/2026) */
.st-think { --tk-bg: var(--st-card, #141a22); --tk-txt: var(--st-txt, #eef2f5); --tk-soft: var(--st-soft, #9aa8b3); --tk-line: var(--st-line, rgba(255, 255, 255, .1)); --tk-a: var(--st-accent, #2fb3a9); --tk-g: #ffc531;
  display: grid; justify-items: center; gap: 12px; padding: 34px 20px 26px; border-radius: 22px; border: 1px solid var(--tk-line); background: var(--tk-bg); color: var(--tk-txt); text-align: center; max-width: 560px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.st-think[hidden] { display: none; }
.tr-body .st-think { --tk-bg: #141a22; --tk-txt: #eef2f5; --tk-soft: #a9b5bf; --tk-line: rgba(255, 255, 255, .09); --tk-a: #2fb3a9; }
.st-think-orb { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 4px; }
.st-think-orb span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--tk-a); border-right-color: color-mix(in srgb, var(--tk-a) 40%, transparent); animation: st-think-spin 1.6s linear infinite; }
.st-think-orb span:nth-child(2) { inset: 12px; border-top-color: var(--tk-g); border-right-color: transparent; border-left-color: color-mix(in srgb, var(--tk-g) 40%, transparent); animation-duration: 2.3s; animation-direction: reverse; }
.st-think-orb span:nth-child(3) { inset: 26px; border: 0; background: radial-gradient(circle, color-mix(in srgb, var(--tk-a) 55%, transparent), transparent 70%); animation: st-think-pulse 1.8s ease-in-out infinite; }
.st-think-orb i { font-style: normal; font-size: 1.5rem; color: var(--tk-g); animation: st-think-twinkle 1.8s ease-in-out infinite; }
.st-think-t { margin: 0; font-size: clamp(1.2rem, 4.6vw, 1.55rem); line-height: 1.2; color: var(--tk-txt); }
.st-think-now { margin: 0; min-height: 1.6em; font-weight: 700; color: var(--tk-a); display: inline-flex; align-items: baseline; gap: 2px; }
.st-think-now [data-think-now].is-in { animation: st-think-in .45s ease both; }
.st-think-dots { display: inline-flex; gap: 3px; margin-left: 3px; }
.st-think-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: st-think-dot 1.2s ease-in-out infinite; }
.st-think-dots i:nth-child(2) { animation-delay: .15s; }
.st-think-dots i:nth-child(3) { animation-delay: .3s; }
.st-think-bar { width: 100%; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--tk-soft) 22%, transparent); overflow: hidden; }
.st-think-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--tk-a), var(--tk-g), var(--tk-a)); background-size: 200% 100%; transition: width .5s ease; animation: st-think-flow 2s linear infinite; }
.st-think-meta { margin: 0; color: var(--tk-soft); font-size: .92rem; }
.st-think-meta b { color: var(--tk-txt); font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.st-think-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; max-width: 320px; text-align: left; }
.st-think-steps li { display: flex; align-items: center; gap: 10px; color: var(--tk-soft); opacity: .55; transition: opacity .3s ease, color .3s ease; }
.st-think-steps li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
.st-think-steps li.is-on { opacity: 1; color: var(--tk-txt); font-weight: 700; }
.st-think-steps li.is-on::before { border-color: var(--tk-a); border-top-color: transparent; animation: st-think-spin .9s linear infinite; }
.st-think-steps li.is-done { opacity: .9; color: var(--tk-soft); }
.st-think-steps li.is-done::before { content: '✓'; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #1b2430; background: var(--tk-a); border-color: var(--tk-a); }
.st-think-note { color: var(--tk-soft); font-size: .84rem; margin-top: 4px; }
@keyframes st-think-spin { to { transform: rotate(360deg); } }
@keyframes st-think-pulse { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes st-think-twinkle { 0%, 100% { transform: scale(.85) rotate(0); } 50% { transform: scale(1.15) rotate(20deg); } }
@keyframes st-think-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes st-think-flow { to { background-position: -200% 0; } }
@keyframes st-think-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .st-think-orb span, .st-think-orb i, .st-think-dots i, .st-think-bar i, .st-think-steps li.is-on::before, .st-think-now [data-think-now].is-in { animation: none; } }
