:root{
  --bg:#f6f7f9;
  --surface:#ffffff;
  --surface-2:#f0f2f5;
  --text:#111318;
  --muted:#6f7480;
  --line:#e7e9ee;
  --accent:#5b63f6;
  --accent-strong:#474fdc;
  --accent-soft:#eef0ff;
  --success:#14855f;
  --success-soft:#e9f7f1;
  --warning:#a16b0f;
  --warning-soft:#fff5dc;
  --danger:#c14444;
  --radius:18px;
  --radius-sm:13px;
  --shadow:0 10px 35px rgba(20,24,40,.07);
  --max:1180px;
  --nav-h:78px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button{border:0;cursor:pointer;color:inherit}
a{color:inherit;text-decoration:none}
[hidden]{display:none!important}
.app-shell{min-height:100vh;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}
.topbar{position:sticky;top:0;z-index:40;height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - var(--max))/2));background:rgba(246,247,249,.9);backdrop-filter:blur(18px);border-bottom:1px solid rgba(231,233,238,.8)}
.brand{display:inline-flex;align-items:center;gap:10px}
.brand-mark{display:inline-flex;gap:3px;align-items:flex-end;height:22px;width:25px}
.brand-mark span{display:block;width:5px;border-radius:5px;background:var(--accent);transform:skewX(-16deg)}
.brand-mark span:nth-child(1){height:10px}.brand-mark span:nth-child(2){height:16px}.brand-mark span:nth-child(3){height:22px}
.brand-word{font-size:21px;letter-spacing:-.7px;font-weight:650}.brand-word b{font-weight:800}
.top-actions{display:flex;align-items:center;gap:10px}.icon-button{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);position:relative}.icon-button svg{width:19px;height:19px}.notification-dot{position:absolute;top:9px;right:9px;width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 2px var(--surface)}
.avatar-button{width:42px;height:42px;border-radius:50%;background:#20232b;color:#fff;font-weight:700;font-size:13px}
.main{max-width:var(--max);margin:0 auto;padding:28px 20px 44px}.screen{display:none;animation:fadeUp .24s ease}.screen.is-active{display:block}@keyframes fadeUp{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:none}}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:2px 0 26px}.page-heading h1{margin:4px 0 6px;font-size:clamp(30px,5vw,46px);line-height:1.04;letter-spacing:-1.6px}.page-heading .subtle{margin:0}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;color:#8a8f9a}.subtle{color:var(--muted);font-size:14px;line-height:1.5}
.balance-card{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 0 rgba(255,255,255,.7) inset;margin-bottom:14px}.balance-label{display:block;color:var(--muted);font-size:13px;margin-bottom:6px}.balance-value{font-size:28px;letter-spacing:-1px}.balance-value small{font-size:13px;color:var(--muted);font-weight:600;letter-spacing:0}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:13px;font-weight:750;transition:.16s ease}.button svg{width:17px;height:17px}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--accent);color:#fff;box-shadow:0 8px 22px rgba(91,99,246,.22)}.button-primary:hover{background:var(--accent-strong)}.button-dark{background:#181b21;color:#fff}.button-ghost{background:var(--surface);border:1px solid var(--line)}.button-compact{min-height:40px;padding:0 14px;font-size:13px}.button-wide{width:100%}.button-large{min-height:54px;font-size:15px}.button:disabled{opacity:.4;cursor:not-allowed;transform:none}
.hero-create{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;text-align:left;background:#191c23;color:#fff;padding:18px 18px;border-radius:var(--radius);margin-bottom:34px;box-shadow:0 12px 30px rgba(17,19,24,.13)}.hero-create-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#6970ff,#4c53e4)}.hero-create-icon svg{width:21px}.hero-create-copy{display:flex;flex-direction:column;gap:3px}.hero-create-copy strong{font-size:16px}.hero-create-copy small{color:#c8ccd5;font-size:12px}.hero-create>svg{width:20px;color:#aeb3bf}
.section-block{margin:32px 0}.section-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:14px}.section-title-row h2,.profile-section h2{font-size:20px;letter-spacing:-.5px;margin:4px 0 0}.text-button{display:inline-flex;align-items:center;gap:4px;background:transparent;color:var(--muted);font-size:13px;font-weight:700;padding:4px}.text-button svg{width:15px}.horizontal-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,270px);gap:12px;overflow:auto;padding-bottom:5px;scrollbar-width:none}.horizontal-list::-webkit-scrollbar{display:none}
.product-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;min-width:0;transition:.16s}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.product-visual{aspect-ratio:4/3;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#f1f2f6,#e8eaf0)}.product-visual svg{width:38px;height:38px;color:#646b78}.product-visual.beauty{background:linear-gradient(145deg,#f7eeef,#eee4e7)}.product-visual.home{background:linear-gradient(145deg,#edf4f0,#e2ede7)}.product-visual.fashion{background:linear-gradient(145deg,#f0eef6,#e6e1f1)}.product-visual.fitness{background:linear-gradient(145deg,#eef2f7,#e0e7f0)}.opportunity-badge{position:absolute;left:10px;top:10px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.8);backdrop-filter:blur(10px);padding:6px 8px;border-radius:999px;font-size:10px;font-weight:800}.product-body{padding:14px}.product-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;margin-bottom:8px}.product-body h3{font-size:15px;line-height:1.25;margin:0 0 12px}.commission{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid var(--line)}.commission span{font-size:11px;color:var(--muted)}.commission strong{font-size:14px;color:var(--success)}.product-action{margin-top:10px;width:100%;min-height:40px;border-radius:11px;background:#f2f3f5;font-weight:750;font-size:13px}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.video-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.video-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;text-align:left;transition:.16s}.video-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.video-thumb{position:relative;aspect-ratio:9/16;background:linear-gradient(160deg,#dfe3ea,#bfc7d4);overflow:hidden}.video-thumb:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.55),transparent 25%),linear-gradient(180deg,transparent 58%,rgba(12,15,20,.5));}.video-thumb.alt1{background:linear-gradient(155deg,#ead9dc,#b98f98)}.video-thumb.alt2{background:linear-gradient(155deg,#d9e6df,#8eaa9b)}.video-thumb.alt3{background:linear-gradient(155deg,#e3e0ef,#9890bd)}.video-thumb .play-mini{position:absolute;left:12px;bottom:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9)}.video-thumb .play-mini svg{width:15px}.video-thumb .duration{position:absolute;right:10px;bottom:10px;color:#fff;font-size:10px;background:rgba(0,0,0,.35);padding:4px 6px;border-radius:6px}.video-body{padding:12px}.video-body h3{font-size:14px;margin:0 0 6px;line-height:1.25}.video-body p{margin:0;color:var(--muted);font-size:11px}.status-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:800}.status-pill.ready{background:var(--success-soft);color:var(--success)}.status-pill.exported{background:var(--accent-soft);color:var(--accent-strong)}.status-pill.neutral{background:#eceef2;color:#646a75}
.progress-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin:34px 0 10px}.progress-card-top{display:flex;justify-content:space-between;align-items:flex-start}.progress-card h3{font-size:18px;margin:4px 0 18px}.progress-track{height:8px;border-radius:999px;background:#eceef2;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:999px}.progress-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;margin-top:10px}.progress-meta button{background:none;color:var(--accent);font-weight:750;padding:0}
.search-box{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);height:48px;border-radius:14px;padding:0 14px;margin-bottom:13px}.search-box svg{width:18px;color:var(--muted)}.search-box input{border:0;outline:0;background:transparent;width:100%;color:var(--text);font-size:14px}.chip-row{display:flex;gap:8px;overflow:auto;scrollbar-width:none;margin-bottom:20px}.chip-row::-webkit-scrollbar{display:none}.chip{height:36px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:12px;font-weight:750;white-space:nowrap}.chip.is-active{background:#1c1f25;color:#fff;border-color:#1c1f25}.radar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.create-steps{display:flex;align-items:flex-start;justify-content:center;max-width:520px;margin:0 auto 25px}.step-dot{display:flex;flex-direction:column;align-items:center;gap:6px;color:#9a9faa;min-width:58px}.step-dot span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e8eaee;font-size:11px;font-weight:800}.step-dot small{font-size:10px;font-weight:700}.step-dot.is-active{color:var(--accent)}.step-dot.is-active span{background:var(--accent);color:#fff}.step-line{height:1px;background:#dfe2e8;flex:1;margin-top:15px}.create-panel,.generating-panel{max-width:680px;margin:0 auto;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px}.panel-heading h2{font-size:24px;letter-spacing:-.8px;margin:4px 0 18px}.choice-primary,.choice-secondary{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;padding:15px;background:#f8f8fa;border:1px solid var(--line);border-radius:15px;margin-bottom:10px}.choice-primary>span,.choice-secondary>span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#20232a;color:#fff}.choice-secondary>span{background:#eceef2;color:#555b66}.choice-primary div,.choice-secondary div{display:flex;flex-direction:column;gap:3px}.choice-primary small,.choice-secondary small{color:var(--muted);font-size:11px}.choice-primary>svg,.choice-secondary>svg{width:18px;color:#9095a0}.selected-product{margin:16px 0}.selected-mini{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:12px;background:var(--accent-soft);padding:10px;border-radius:14px}.selected-mini .mini-visual{width:58px;height:58px;border-radius:11px;display:grid;place-items:center;background:#fff}.selected-mini .mini-visual svg{width:23px}.selected-mini strong{font-size:13px}.selected-mini small{display:block;color:var(--muted);margin-top:3px}.selected-mini button{background:none;color:var(--accent);font-weight:700;font-size:11px}.approach-list{display:grid;gap:10px}.approach-card{position:relative;display:grid;grid-template-columns:auto 1fr;gap:12px;text-align:left;align-items:center;background:#fafafa;border:1px solid var(--line);border-radius:15px;padding:14px}.approach-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px rgba(91,99,246,.08)}.approach-icon{width:40px;height:40px;border-radius:12px;background:#edeef2;display:grid;place-items:center}.approach-card.is-selected .approach-icon{background:var(--accent-soft);color:var(--accent)}.approach-card strong{font-size:13px}.approach-card small{display:block;color:var(--muted);font-size:11px;margin-top:3px;line-height:1.35}.recommended{position:absolute;right:10px;top:10px;padding:4px 7px;background:var(--success-soft);color:var(--success);font-size:9px;font-weight:800;border-radius:999px}.button-row{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.generation-summary{border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:16px}.summary-row{display:flex;align-items:center;justify-content:space-between;padding:11px 2px;border-top:1px solid var(--line);font-size:12px}.summary-row span{color:var(--muted)}.summary-row.muted strong{color:var(--muted)}.generating-panel{text-align:center;padding:42px 22px}.generating-visual{width:92px;height:92px;margin:0 auto 20px;position:relative;display:grid;place-items:center}.generating-visual>svg{width:28px;z-index:2}.generation-orbit{position:absolute;inset:0;border-radius:50%;border:1px solid #dfe2e8}.generation-orbit span{position:absolute;width:10px;height:10px;background:var(--accent);border-radius:50%;top:-5px;left:41px;animation:orbit 1.6s linear infinite;transform-origin:5px 51px}@keyframes orbit{to{transform:rotate(360deg)}}.generating-panel h2{font-size:24px;margin:5px 0 8px}.generating-panel p{color:var(--muted);font-size:13px}.generating-panel small{display:block;color:#9a9faa;font-size:10px;margin-top:12px}.generation-progress{height:7px;background:#eceef2;border-radius:999px;overflow:hidden;max-width:360px;margin:18px auto 0}.generation-progress span{display:block;width:8%;height:100%;background:var(--accent);transition:width .5s ease}
.segmented{display:inline-flex;background:#e9ebef;padding:4px;border-radius:13px;margin-bottom:18px}.segmented button{height:34px;padding:0 14px;border-radius:10px;background:transparent;color:var(--muted);font-size:11px;font-weight:750}.segmented button.is-active{background:var(--surface);color:var(--text);box-shadow:0 2px 6px rgba(20,24,40,.05)}
.profile-card,.tiktok-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-bottom:14px}.profile-card{display:flex;align-items:center;gap:12px}.profile-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#20232a;color:#fff;font-weight:800}.profile-main{display:flex;flex-direction:column;gap:3px;flex:1}.profile-main strong{font-size:15px}.profile-main span{font-size:11px;color:var(--muted)}.tiktok-head{display:flex;align-items:center;gap:10px}.social-mark{width:42px;height:42px;border-radius:13px;background:#15171b;color:#fff;display:grid;place-items:center;font-weight:850}.tiktok-head>div:nth-child(2){flex:1}.tiktok-head h3{font-size:14px;margin:3px 0 0}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0}.profile-stats div{display:flex;flex-direction:column;gap:3px;border-right:1px solid var(--line);padding-right:12px;margin-right:12px}.profile-stats div:last-child{border-right:0}.profile-stats strong{font-size:20px}.profile-stats span{font-size:10px;color:var(--muted)}.sync-label{display:flex;align-items:center;gap:5px;color:#9a9faa;margin-top:9px}.sync-label svg{width:12px}.profile-section{margin-top:26px}.profile-section>h2{margin:0 0 10px}.settings-row{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);padding:13px;border-radius:14px;margin-bottom:8px;text-align:left}.settings-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f0f1f4}.settings-icon svg{width:18px}.settings-row div{display:flex;flex-direction:column;gap:3px}.settings-row strong{font-size:13px}.settings-row small{font-size:10px;color:var(--muted)}.settings-row>svg{width:17px;color:#9aa0ab}.admin-demo-link{margin-top:26px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:11px}.admin-demo-link svg{width:15px}
.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;z-index:60;width:100%;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding:8px max(14px,calc((100vw - 560px)/2)) env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(3,1fr);background:rgba(255,255,255,.94);backdrop-filter:blur(20px);border-top:1px solid var(--line)}.bottom-nav button{background:none;color:#8b909a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;font-weight:700}.bottom-nav button svg{width:20px;height:20px}.bottom-nav button.is-active{color:var(--text)}.nav-create{margin-top:-27px}.nav-create-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#20232a;color:#fff;box-shadow:0 10px 24px rgba(17,19,24,.18);border:4px solid var(--bg)}.nav-create-icon svg{width:20px!important}.nav-create>span:last-child{margin-top:-2px}
.sheet-backdrop{position:fixed;inset:0;background:rgba(13,15,20,.38);backdrop-filter:blur(2px);z-index:80}.bottom-sheet{position:fixed;z-index:90;left:50%;bottom:0;transform:translateX(-50%);width:min(720px,100%);max-height:92vh;overflow:auto;background:var(--surface);border-radius:24px 24px 0 0;padding:11px 20px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 60px rgba(12,15,20,.18);animation:sheetUp .22s ease}@keyframes sheetUp{from{transform:translate(-50%,20px);opacity:.5}to{transform:translate(-50%,0);opacity:1}}.sheet-handle{width:42px;height:4px;border-radius:999px;background:#d7dae1;margin:0 auto 16px}.sheet-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:18px}.sheet-head h2{font-size:24px;letter-spacing:-.8px;margin:4px 0}.sheet-head p{margin:0;color:var(--muted);font-size:12px}.plans-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.plan-card{position:relative;text-align:left;background:#f8f9fa;border:1px solid var(--line);border-radius:16px;padding:15px;min-height:154px;display:flex;flex-direction:column}.plan-card.is-featured{background:#1c1f25;color:#fff;border-color:#1c1f25}.plan-name{font-size:11px;font-weight:800;color:var(--muted)}.plan-card.is-featured .plan-name{color:#bfc4d0}.plan-card strong{font-size:25px;letter-spacing:-1px;margin:10px 0 13px}.plan-credits{font-size:12px;font-weight:750}.plan-card small{font-size:10px;color:var(--muted);margin-top:4px}.plan-card.is-featured small{color:#aeb4c0}.popular-badge{position:absolute;right:10px;top:10px;background:var(--accent);color:#fff;border-radius:999px;padding:4px 6px;font-size:8px;font-weight:850}.sheet-note{font-size:10px;line-height:1.5;color:#969ba5;margin:12px 2px 0}.picker-list{display:grid;gap:9px}.picker-item{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:12px;text-align:left;background:#fafafa;border:1px solid var(--line);border-radius:14px;padding:9px}.picker-visual{width:54px;height:54px;border-radius:11px;display:grid;place-items:center;background:#eceef2}.picker-visual svg{width:22px}.picker-item strong{font-size:12px}.picker-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.picker-item>svg{width:16px;color:#989ea9}.video-detail-layout{display:grid;grid-template-columns:210px 1fr;gap:18px}.video-preview{aspect-ratio:9/16;border-radius:16px;position:relative;background:linear-gradient(155deg,#ead9dc,#b98f98);display:grid;place-items:center;overflow:hidden}.video-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.34))}.play-button{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;z-index:2}.play-button svg{width:18px}.video-duration{position:absolute;right:10px;bottom:10px;z-index:2;color:#fff;font-size:10px}.content-pack{display:grid;gap:14px}.content-pack label{font-size:10px;font-weight:800;color:#8d929d;display:flex;align-items:center;justify-content:space-between}.content-pack label button{background:none;padding:0;color:#888e99}.content-pack label svg{width:14px}.content-pack p{background:#f7f8f9;border:1px solid var(--line);border-radius:12px;padding:11px;margin:5px 0 0;font-size:12px;line-height:1.5}.sheet-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.toast{position:fixed;left:50%;bottom:calc(var(--nav-h) + 18px);transform:translate(-50%,20px);z-index:120;display:flex;align-items:center;gap:8px;background:#1b1e24;color:#fff;border-radius:12px;padding:11px 14px;font-size:11px;font-weight:650;opacity:0;pointer-events:none;transition:.2s}.toast.is-visible{opacity:1;transform:translate(-50%,0)}.toast svg{width:16px;color:#7fddb5}
.skeleton{position:relative;overflow:hidden;background:#e8eaee!important;color:transparent!important;border-color:transparent!important}.skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent);animation:shimmer 1.1s infinite}@keyframes shimmer{to{transform:translateX(100%)}}
.desktop-only{display:inline-flex}
@media (min-width:840px){.app-shell{padding-bottom:0}.main{padding-bottom:60px}.bottom-nav{position:sticky;bottom:18px;width:560px;border:1px solid var(--line);border-radius:22px;height:72px;padding:7px 10px;box-shadow:0 12px 40px rgba(20,24,40,.09);margin:0 auto 18px}.nav-create{margin-top:-20px}.nav-create-icon{border-color:var(--surface)}.horizontal-list{grid-auto-columns:minmax(240px,270px)}}
@media (max-width:760px){.topbar{height:66px;padding:0 18px}.main{padding:22px 16px 32px}.brand-word{font-size:19px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:31px;letter-spacing:-1.1px}.home-heading{margin-bottom:18px}.balance-card{padding:17px}.balance-value{font-size:25px}.hero-create{margin-bottom:28px}.section-block{margin:28px 0}.section-title-row h2{font-size:18px}.horizontal-list{grid-auto-columns:78vw}.video-grid,.video-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.radar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-body{padding:11px}.product-body h3{font-size:13px}.commission{display:block}.commission strong{display:block;margin-top:2px}.product-action{font-size:11px}.plans-grid{grid-template-columns:1fr}.plan-card{min-height:auto}.video-detail-layout{grid-template-columns:125px 1fr;gap:13px}.create-panel,.generating-panel{padding:17px}.desktop-only{display:none}.profile-stats strong{font-size:17px}}
@media (max-width:390px){.horizontal-list{grid-auto-columns:82vw}.video-grid,.video-grid.compact,.radar-grid{grid-template-columns:1fr 1fr}.video-detail-layout{grid-template-columns:110px 1fr}.content-pack p{font-size:11px}.bottom-sheet{padding-left:15px;padding-right:15px}}
.product-visual img{width:100%;height:100%;object-fit:cover;display:block}.video-preview video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:3;background:#000}.video-preview:has(video):after{display:none}.video-preview .media-missing{position:relative;z-index:4;padding:14px;text-align:center;font-size:11px;font-weight:750;color:#fff;background:rgba(20,22,28,.55);border-radius:10px;margin:12px}


/* Video library preview */
.video-thumb{
  position:relative;
  overflow:hidden;
}

.video-thumb-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#111;
  pointer-events:none;
}

.video-thumb .play-mini{
  position:absolute;
  z-index:2;
}

.video-thumb .media-missing{
  position:relative;
  z-index:2;
}


/* Real video cover inside library cards */
.video-thumb-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#111;
  pointer-events:none;
  z-index:3;
}

.video-thumb:has(.video-thumb-media)::before,
.video-thumb:has(.video-thumb-media)::after{
  display:none;
}

.video-thumb .play-mini{
  z-index:4;
}

/* =========================================================
   VIDEO SHEET UI REFINEMENT
   ========================================================= */

#videoSheet .video-detail-layout{
  grid-template-columns:minmax(0,220px) minmax(0,1fr);
  align-items:start;
  gap:18px;
}

#videoSheet .video-preview{
  width:100%;
  max-width:260px;
  aspect-ratio:9/16;
  border-radius:24px;
  overflow:hidden;
  background:#0f1117;
  margin:0 auto;
  box-shadow:0 12px 32px rgba(15,17,23,.14);
}

#videoSheet .video-preview video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#000;
}

#videoSheet .video-preview .media-missing{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:18px;
}

#videoSheet [data-copy]{
  flex-shrink:0;
}

#videoSheet textarea,
#videoSheet .copy-box,
#videoSheet .content-box,
#videoSheet .field-box{
  min-height:unset;
}

#videoSheet [data-action="regenerate"],
#videoSheet [data-action="export-video"]{
  min-height:56px;
  border-radius:16px;
  font-size:18px;
}

/* =========================
   MOBILE FIRST FIX
   ========================= */
@media (max-width:760px){

  #videoSheet .sheet-card,
  #videoSheet .sheet-panel,
  #videoSheet .bottom-sheet-card{
    width:min(100vw, 100%);
    max-width:none;
    max-height:92dvh;
    border-radius:28px 28px 0 0;
    padding:18px 16px 20px;
  }

  #videoSheet .video-detail-layout{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  #videoSheet .video-preview{
    max-width:none;
    width:100%;
    aspect-ratio:9/16;
    border-radius:22px;
  }

  #videoSheet h2,
  #videoSheet h3{
    line-height:1.08;
  }

  #videoSheet .video-copy-grid,
  #videoSheet .copy-grid,
  #videoSheet .content-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  #videoSheet .sheet-actions,
  #videoSheet .video-actions,
  #videoSheet .bottom-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    position:sticky;
    bottom:0;
    background:linear-gradient(180deg, rgba(255,255,255,0), #fff 18%, #fff 100%);
    padding-top:14px;
    margin-top:18px;
  }

  #videoSheet [data-action="regenerate"],
  #videoSheet [data-action="export-video"]{
    width:100%;
    min-height:58px;
    font-size:18px;
  }
}

@media (max-width:420px){
  #videoSheet .sheet-card,
  #videoSheet .sheet-panel,
  #videoSheet .bottom-sheet-card{
    padding:16px 14px 18px;
  }

  #videoSheet [data-action="regenerate"],
  #videoSheet [data-action="export-video"]{
    font-size:17px;
    min-height:56px;
  }
}

/* =========================================================
   VIDEO SHEET UI REFINEMENT
   ========================================================= */

#videoSheet .video-detail-layout{
  grid-template-columns:minmax(0,220px) minmax(0,1fr);
  align-items:start;
  gap:18px;
}

#videoSheet .video-preview{
  width:100%;
  max-width:260px;
  aspect-ratio:9/16;
  border-radius:24px;
  overflow:hidden;
  background:#0f1117;
  margin:0 auto;
  box-shadow:0 12px 32px rgba(15,17,23,.14);
}

#videoSheet .video-preview video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#000;
}

#videoSheet .video-preview .media-missing{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:18px;
}

#videoSheet [data-copy]{
  flex-shrink:0;
}

#videoSheet textarea,
#videoSheet .copy-box,
#videoSheet .content-box,
#videoSheet .field-box{
  min-height:unset;
}

#videoSheet [data-action="regenerate"],
#videoSheet [data-action="export-video"]{
  min-height:56px;
  border-radius:16px;
  font-size:18px;
}

/* =========================
   MOBILE FIRST FIX
   ========================= */
@media (max-width:760px){

  #videoSheet .sheet-card,
  #videoSheet .sheet-panel,
  #videoSheet .bottom-sheet-card{
    width:min(100vw, 100%);
    max-width:none;
    max-height:92dvh;
    border-radius:28px 28px 0 0;
    padding:18px 16px 20px;
  }

  #videoSheet .video-detail-layout{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  #videoSheet .video-preview{
    max-width:none;
    width:100%;
    aspect-ratio:9/16;
    border-radius:22px;
  }

  #videoSheet h2,
  #videoSheet h3{
    line-height:1.08;
  }

  #videoSheet .video-copy-grid,
  #videoSheet .copy-grid,
  #videoSheet .content-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  #videoSheet .sheet-actions,
  #videoSheet .video-actions,
  #videoSheet .bottom-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    position:sticky;
    bottom:0;
    background:linear-gradient(180deg, rgba(255,255,255,0), #fff 18%, #fff 100%);
    padding-top:14px;
    margin-top:18px;
  }

  #videoSheet [data-action="regenerate"],
  #videoSheet [data-action="export-video"]{
    width:100%;
    min-height:58px;
    font-size:18px;
  }
}

@media (max-width:420px){
  #videoSheet .sheet-card,
  #videoSheet .sheet-panel,
  #videoSheet .bottom-sheet-card{
    padding:16px 14px 18px;
  }

  #videoSheet [data-action="regenerate"],
  #videoSheet [data-action="export-video"]{
    font-size:17px;
    min-height:56px;
  }
}

/* =========================================================
   VIDEO DETAIL — MOBILE V2
   Full-screen, video-first
   ========================================================= */

@media (max-width:760px){

  #videoSheet{
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    max-width:none;
    height:100dvh;
    max-height:100dvh;
    margin:0;
    transform:none;
    border-radius:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:
      calc(18px + env(safe-area-inset-top))
      18px
      calc(100px + env(safe-area-inset-bottom));
  }

  #videoSheetTitle{
    font-size:24px;
    line-height:1.08;
    letter-spacing:-0.65px;
    margin-right:54px;
  }

  /* Desktop layout must disappear completely on mobile */
  #videoSheet .video-detail-layout{
    display:block;
    width:100%;
  }

  /* VIDEO FIRST */
  #videoPreview{
    position:relative;
    width:min(100%, 340px);
    aspect-ratio:9 / 16;
    margin:22px auto 30px;
    border-radius:24px;
    overflow:hidden;
    background:#090a0d;
    box-shadow:
      0 18px 45px rgba(15,17,23,.16),
      0 2px 8px rgba(15,17,23,.08);
  }

  #videoPreview video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    background:#000;
  }

  /* Text content below the video */
  #videoSheet .content-pack{
    width:100%;
    margin:0 0 20px;
  }

  #videoSheet .content-pack > label,
  #videoSheet .content-pack > span:first-child,
  #videoSheet .content-pack > small:first-child{
    display:block;
    margin-bottom:8px;
  }

  #videoTitleText,
  #videoCaptionText,
  #videoHashtagsText{
    width:100%;
    min-height:auto;
    padding:15px 16px;
    border-radius:16px;
    font-size:14px;
    line-height:1.5;
  }

  #videoCaptionText{
    min-height:110px;
  }

  /* Actions remain visible and easy to tap */
  #videoSheet [data-action="regenerate"],
  #videoSheet [data-action="export-video"]{
    min-height:56px;
    border-radius:16px;
    font-size:16px;
  }
}

@media (max-width:390px){

  #videoSheet{
    padding-left:15px;
    padding-right:15px;
  }

  #videoSheetTitle{
    font-size:22px;
  }

  #videoPreview{
    width:min(100%, 310px);
  }
}


/* =========================================================
   VIDEO MOBILE DETAIL V3
   Dedicated full-screen experience
   ========================================================= */

.video-mobile-detail{
  position:fixed;
  inset:0;
  z-index:5000;
  background:#fff;
  color:#111318;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.vmd-page{
  width:100%;
  max-width:520px;
  min-height:100%;
  margin:0 auto;
  padding:
    calc(24px + env(safe-area-inset-top))
    18px
    calc(112px + env(safe-area-inset-bottom));
}

.vmd-header{
  margin:0 0 22px;
}

.vmd-eyebrow{
  display:block;
  margin-bottom:8px;
  color:#858a95;
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.12em;
}

.vmd-header h1{
  margin:0;
  max-width:440px;
  color:#111318;
  font-size:25px;
  line-height:1.08;
  letter-spacing:-.7px;
  font-weight:800;
}

.vmd-player{
  position:relative;
  width:min(100%,360px);
  aspect-ratio:9 / 16;
  margin:0 auto 30px;
  overflow:hidden;
  border-radius:24px;
  background:#090a0d;
  box-shadow:0 12px 34px rgba(17,19,24,.12);
}

.vmd-player video{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#000;
}

.vmd-player-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  color:#fff;
  text-align:center;
  font-size:13px;
}

.vmd-content{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.vmd-field{
  display:block;
  width:100%;
}

.vmd-field-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:30px;
  margin-bottom:7px;
}

.vmd-field-head > span{
  color:#7b818d;
  font-size:12px;
  line-height:1;
  font-weight:800;
}

.vmd-copy{
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#8b919d;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.vmd-copy svg{
  width:17px;
  height:17px;
}

.vmd-box{
  display:block;
  width:100%;
  margin:0;
  padding:15px 16px;
  border:1px solid #e3e6eb;
  border-radius:17px;
  background:#f8f9fb;
  color:#181b21;
  font-size:14px;
  line-height:1.55;
  overflow-wrap:anywhere;
}

/* fixed app-style action menu */
.vmd-bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:5010;

  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  gap:4px;

  min-height:76px;
  padding:
    8px
    10px
    calc(8px + env(safe-area-inset-bottom));

  border-top:1px solid #e7e9ee;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.vmd-nav-item{
  min-width:0;
  min-height:58px;
  padding:6px 4px;
  border:0;
  border-radius:14px;
  background:transparent;
  color:#5e6571;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;

  font:inherit;
  font-size:11px;
  font-weight:750;
  cursor:pointer;
}

.vmd-nav-item svg{
  width:21px;
  height:21px;
  stroke-width:2;
}

.vmd-nav-primary{
  color:#5860f5;
}

.vmd-nav-item:active{
  background:#f2f3f6;
  transform:scale(.98);
}

/* this detail screen has no top grabber and no X */
#videoMobileDetail::before,
#videoMobileDetail::after{
  display:none;
  content:none;
}

@media (max-width:390px){

  .vmd-page{
    padding-left:15px;
    padding-right:15px;
  }

  .vmd-header h1{
    font-size:23px;
  }

  .vmd-player{
    width:min(100%,330px);
    border-radius:21px;
  }
}


/* =========================================================
   PRODUCT LINK IMPORT V1
   ========================================================= */

.product-link-import{
  margin-top:14px;
  padding:16px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  background:#fff;
}

.product-link-import label{
  display:block;
  margin-bottom:8px;
  font-size:.88rem;
  font-weight:700;
}

.product-link-row{
  display:flex;
  align-items:stretch;
  gap:10px;
}

.product-link-input{
  width:100%;
  min-width:0;
  min-height:48px;
  padding:0 14px;
  border:1px solid rgba(15,23,42,.14);
  border-radius:14px;
  background:#fff;
  color:inherit;
  font:inherit;
  outline:none;
}

.product-link-input:focus{
  border-color:rgba(15,23,42,.38);
}

.product-link-help{
  display:block;
  margin-top:8px;
  opacity:.64;
  line-height:1.4;
}

.product-link-status{
  min-height:20px;
  margin-top:8px;
  font-size:.84rem;
  line-height:1.4;
}

@media (max-width:640px){
  .product-link-row{
    flex-direction:column;
  }

  .product-link-row .button{
    width:100%;
  }
}


/* VOICE_PROFILE_UI_V1 */
.voice-picker{margin-top:20px}
.voice-picker-label{display:block;margin-bottom:9px;color:var(--muted);font-size:11px;font-weight:800}
.voice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.voice-card{width:100%;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:13px;text-align:left;background:#fafafa;border:1px solid var(--line);border-radius:15px;cursor:pointer}
.voice-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px rgba(91,99,246,.08)}
.voice-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edeef2}
.voice-card.is-selected .voice-icon{background:var(--accent-soft);color:var(--accent)}
.voice-icon svg{width:18px;height:18px}
.voice-card strong{font-size:13px}
/* =========================================================
   CREATE FLOW POLISH V2 — 2026-10-05
   ========================================================= */

.home-content-section{margin-top:30px}
.hero-create{
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:0 10px 30px rgba(20,24,40,.055);
  padding:17px 18px;
  margin-bottom:30px;
}
.hero-create:hover{box-shadow:0 14px 36px rgba(20,24,40,.085)}
.hero-create-icon{background:var(--accent-soft);color:var(--accent);box-shadow:none}
.hero-create-copy small{color:var(--muted)}
.hero-create-arrow{width:34px;height:34px;border-radius:11px;background:#f3f4f7;display:grid;place-items:center;color:#747a86}
.hero-create-arrow svg{width:16px;height:16px}

.create-page-heading{margin-bottom:20px}
.create-panel{box-shadow:0 12px 34px rgba(20,24,40,.045)}
.create-panel .panel-heading h2{margin-bottom:16px}
.field-kicker{display:block;margin-bottom:9px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.02em}

.marketplace-block{margin-bottom:18px}
.marketplace-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.marketplace-option{
  min-width:0;
  min-height:66px;
  display:grid;
  grid-template-columns:38px 1fr 22px;
  gap:10px;
  align-items:center;
  text-align:left;
  padding:10px 12px;
  background:#fafbfc;
  border:1px solid var(--line);
  border-radius:15px;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.marketplace-option img{width:36px;height:36px;object-fit:contain;border-radius:10px;background:#fff;padding:5px;border:1px solid #eceef2}
.marketplace-option span{display:flex;min-width:0;flex-direction:column;gap:2px}
.marketplace-option strong{font-size:13px;line-height:1.2}
.marketplace-option small{font-size:10px;color:var(--muted)}
.marketplace-option>svg{width:17px;height:17px;color:transparent}
.marketplace-option.is-selected{border-color:var(--accent);background:#f8f8ff;box-shadow:0 0 0 2px rgba(91,99,246,.08)}
.marketplace-option.is-selected>svg{color:var(--accent)}

.product-link-import{margin:0;padding:0;border:0;background:transparent}
.product-link-import label{font-size:12px;margin-bottom:8px}
.product-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:stretch}
.product-link-control{
  min-width:0;
  min-height:50px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 13px;
  border:1px solid #dfe2e8;
  border-radius:14px;
  background:#fafbfc;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.product-link-control:focus-within{background:#fff;border-color:var(--accent);box-shadow:0 0 0 3px rgba(91,99,246,.08)}
.product-link-control.is-error{border-color:#d65a5a;background:#fffafa;box-shadow:0 0 0 3px rgba(193,68,68,.07)}
.product-link-control>svg{width:17px;height:17px;flex:0 0 auto;color:#8d929d}
.product-link-input{min-height:48px;padding:0;border:0;background:transparent}
.product-link-input:focus{border:0}
.product-link-input::placeholder{color:#a2a6af}
.product-search-button{min-width:154px;box-shadow:none}
.product-link-help{display:none}
.product-link-status{min-height:0;margin-top:7px;color:var(--muted);font-size:11px}
.product-link-status:empty{display:none}
.product-link-error{margin:7px 2px 0;color:var(--danger);font-size:11px;font-weight:700;line-height:1.4}

.selected-product{margin:15px 0 13px}
.selected-mini{
  grid-template-columns:64px minmax(0,1fr) auto;
  padding:10px;
  background:#f7f8ff;
  border:1px solid #e4e6ff;
  border-radius:16px;
}
.selected-mini .mini-visual{width:64px;height:64px;overflow:hidden;border:1px solid rgba(15,23,42,.06)}
.selected-mini .mini-visual img{width:100%;height:100%;object-fit:cover;display:block}
.selected-mini strong{display:block;font-size:13px;line-height:1.3}
.selected-mini small{font-size:10px;line-height:1.35}
.selected-mini button{padding:7px 6px}
.create-continue{margin-top:6px}

.approach-list{gap:11px}
.approach-card{
  min-height:88px;
  grid-template-columns:42px minmax(0,1fr) 74px;
  gap:12px;
  padding:11px 12px;
  background:#fafbfc;
  border-color:#e2e4e9;
  overflow:hidden;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease;
}
.approach-card:hover{transform:translateY(-1px)}
.approach-card.is-selected{background:#f8f8ff;border-color:var(--accent);box-shadow:0 0 0 2px rgba(91,99,246,.075)}
.approach-icon{width:42px;height:42px;background:#f0f1f4}
.approach-copy{min-width:0;display:block}
.approach-copy strong{font-size:14px;line-height:1.2}
.approach-copy small{font-size:10.5px;line-height:1.35;margin-top:4px}
.approach-preview{position:relative;width:74px;height:62px;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#eef0f5,#e0e3ea);border:1px solid rgba(15,23,42,.06)}
.approach-preview-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.approach-preview-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#737986}
.approach-preview-fallback svg{width:23px;height:23px}
.approach-preview-badge{position:absolute;right:5px;bottom:5px;padding:3px 5px;border-radius:6px;background:rgba(17,19,24,.76);color:#fff;font-size:7px;font-weight:850;letter-spacing:.06em}
.approach-check{position:absolute;right:79px;top:8px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;opacity:0;transform:scale(.8);transition:.16s ease}
.approach-check svg{width:12px;height:12px}
.approach-card.is-selected .approach-check{opacity:1;transform:scale(1)}

.voice-picker{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);animation:voiceIn .18s ease}
@keyframes voiceIn{from{opacity:.25;transform:translateY(-4px)}to{opacity:1;transform:none}}
.voice-picker-label{margin-bottom:8px;font-size:11px}
.voice-list{gap:9px}
.voice-card{position:relative;grid-template-columns:38px minmax(0,1fr) 18px;padding:10px 11px;background:#fafbfc;border-color:#e2e4e9}
.voice-card span:nth-child(2){display:flex;flex-direction:column;gap:2px}
.voice-card strong{font-size:12.5px}
.voice-card small{font-size:9.5px;color:var(--muted)}
.voice-card.is-selected{background:#f8f8ff}
.voice-check{width:16px;height:16px;color:transparent}
.voice-card.is-selected .voice-check{color:var(--accent)}
.create-actions{align-items:center}

.bottom-nav{grid-template-columns:repeat(3,1fr)}

.credits-alert{margin:0 0 7px!important;color:var(--danger)!important;font-size:11px!important;font-weight:800;line-height:1.35}
.plan-card.is-featured{background:#f7f8ff;color:var(--text);border-color:#cfd3ff;box-shadow:0 0 0 2px rgba(91,99,246,.06)}
.plan-card.is-featured .plan-name,.plan-card.is-featured small{color:var(--muted)}

.blocking-overlay{
  position:fixed;
  inset:0;
  z-index:500;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(246,247,249,.96);
  backdrop-filter:blur(16px);
}
.blocking-overlay-card{width:min(360px,100%);text-align:center;padding:26px 22px;background:rgba(255,255,255,.9);border:1px solid rgba(231,233,238,.95);border-radius:24px;box-shadow:0 22px 70px rgba(20,24,40,.10)}
.blocking-overlay-card h2{margin:14px 0 7px;font-size:22px;letter-spacing:-.7px}
.blocking-overlay-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.search-overlay-visual{width:58px;height:58px;margin:0 auto;display:grid;place-items:center;border-radius:18px;background:var(--accent-soft);color:var(--accent)}
.search-spinner{width:25px;height:25px;border:3px solid rgba(91,99,246,.18);border-top-color:var(--accent);border-radius:50%;animation:searchSpin .85s linear infinite}
@keyframes searchSpin{to{transform:rotate(360deg)}}
.product-search-overlay.is-error .search-overlay-visual{background:#fff0f0;color:var(--danger)}
.product-search-overlay.is-error .search-spinner{display:none}
.product-search-overlay.is-error .search-overlay-visual:before{content:"!";width:28px;height:28px;display:grid;place-items:center;border:2px solid currentColor;border-radius:50%;font-weight:900}
.product-search-overlay.is-error h2{color:var(--danger)}

.generation-overlay{background:rgba(246,247,249,.985)}
.generation-overlay-card{width:min(390px,100%);padding:24px 22px 26px}
.generation-lottie{width:150px;height:150px;margin:0 auto 2px;display:grid;place-items:center}
.generation-lottie:empty:before{content:"";width:38px;height:38px;border:4px solid #e1e3ff;border-top-color:var(--accent);border-radius:50%;animation:searchSpin .9s linear infinite}
.generation-overlay-progress{height:6px;max-width:270px;margin:18px auto 10px;background:#e9ebf0;border-radius:999px;overflow:hidden}
.generation-overlay-progress span{display:block;width:8%;height:100%;background:var(--accent);border-radius:999px;transition:width .45s ease}
.generation-overlay-card small{display:block;color:#999eaa;font-size:10px;line-height:1.45}
.generation-overlay.is-error .generation-lottie{display:none}
.generation-overlay.is-error h2{color:var(--danger)}

@media (max-width:640px){
  .marketplace-switch{grid-template-columns:1fr 1fr}
  .marketplace-option{grid-template-columns:34px 1fr 18px;padding:9px;gap:8px}
  .marketplace-option img{width:32px;height:32px}
  .product-link-row{grid-template-columns:1fr}
  .product-search-button{width:100%;min-width:0}
  .approach-card{grid-template-columns:40px minmax(0,1fr) 68px;padding:10px}
  .approach-preview{width:68px;height:58px}
  .approach-check{right:73px}
  .voice-list{grid-template-columns:1fr 1fr}
  .blocking-overlay{padding:18px}
  .blocking-overlay-card{border-radius:22px}
}


/* =========================================================
   CREATE FLOW VISUAL HIERARCHY V3 — 2026-10-05
   ========================================================= */

.screen[data-screen="criar"] .create-panel{
  padding:24px;
  border-color:#e9ebf0;
  border-radius:24px;
  box-shadow:
    0 1px 1px rgba(18,24,40,.02),
    0 18px 48px rgba(18,24,40,.055);
}

.screen[data-screen="criar"] .panel-heading{
  margin-bottom:20px;
}

.screen[data-screen="criar"] .panel-heading h2{
  margin:5px 0 0;
  font-size:25px;
  line-height:1.14;
  letter-spacing:-.85px;
}

.screen[data-screen="criar"] .field-kicker{
  margin-bottom:10px;
  color:#737985;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.035em;
}


/* MARKETPLACE — brand first */

.screen[data-screen="criar"] .marketplace-block{
  margin-bottom:22px;
}

.screen[data-screen="criar"] .marketplace-switch{
  gap:11px;
}

.screen[data-screen="criar"] .marketplace-option{
  position:relative;
  min-width:0;
  min-height:72px;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:14px 38px 14px 16px;

  background:#fff;
  border:1px solid #e3e6eb;
  border-radius:17px;

  box-shadow:
    0 1px 2px rgba(18,24,40,.02);

  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    transform .16s ease;
}

.screen[data-screen="criar"] .marketplace-option:hover{
  transform:translateY(-1px);
  border-color:#d4d8df;
}

.screen[data-screen="criar"] .marketplace-option img{
  width:auto;
  max-width:118px;
  height:30px;

  display:block;
  object-fit:contain;

  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}

.screen[data-screen="criar"]
.marketplace-option[data-marketplace="shopee"] img{
  max-width:112px;
  height:31px;
}

.screen[data-screen="criar"] .marketplace-option-check{
  position:absolute;
  top:9px;
  right:9px;

  width:21px;
  height:21px;

  display:grid;
  place-items:center;

  border-radius:50%;
  background:var(--accent);
  color:#fff;

  opacity:0;
  transform:scale(.82);

  transition:
    opacity .16s ease,
    transform .16s ease;
}

.screen[data-screen="criar"] .marketplace-option-check svg{
  width:12px;
  height:12px;
}

.screen[data-screen="criar"] .marketplace-option.is-selected{
  background:#fff;
  border-color:#747bff;

  box-shadow:
    0 0 0 3px rgba(91,99,246,.075),
    0 5px 18px rgba(18,24,40,.035);
}

.screen[data-screen="criar"]
.marketplace-option.is-selected
.marketplace-option-check{
  opacity:1;
  transform:scale(1);
}


/* PRODUCT INPUT */

.screen[data-screen="criar"] .product-link-import label{
  display:block;
  margin:0 0 8px;

  color:#343943;
  font-size:11.5px;
  font-weight:750;
}

.screen[data-screen="criar"] .product-link-row{
  gap:10px;
}

.screen[data-screen="criar"] .product-link-control{
  min-height:54px;
  padding:0 15px;

  background:#fff;
  border-color:#dfe2e8;
  border-radius:15px;

  box-shadow:
    0 1px 2px rgba(18,24,40,.018);
}

.screen[data-screen="criar"]
.product-link-control:focus-within{
  border-color:#747bff;

  box-shadow:
    0 0 0 3px rgba(91,99,246,.075);
}

.screen[data-screen="criar"] .product-link-input{
  min-height:52px;
  font-size:13.5px;
}

.screen[data-screen="criar"] .product-search-button{
  min-height:54px;
  min-width:158px;

  border-radius:15px;

  box-shadow:
    0 8px 20px rgba(91,99,246,.16);
}


/* SUCCESS STATE — one primary CTA only */

.screen[data-screen="criar"]
.create-panel.has-product
.product-link-import{
  display:none;
}

.screen[data-screen="criar"] .selected-product{
  margin:4px 0 0;
}

.screen[data-screen="criar"] .selected-mini{
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:13px;

  padding:12px;

  background:#fff;
  border:1px solid #e6e9ef;
  border-radius:18px;

  box-shadow:
    0 8px 26px rgba(18,24,40,.035);
}

.screen[data-screen="criar"]
.selected-mini .mini-visual{
  width:72px;
  height:72px;

  border:1px solid #edf0f3;
  border-radius:14px;
  background:#f7f8fa;
}

.screen[data-screen="criar"]
.selected-mini .mini-visual img{
  width:100%;
  height:100%;

  display:block;
  object-fit:cover;
}

.screen[data-screen="criar"] .selected-mini-copy{
  min-width:0;
}

.screen[data-screen="criar"] .selected-mini strong{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;

  font-size:13px;
  line-height:1.32;
  letter-spacing:-.12px;
}

.screen[data-screen="criar"] .selected-mini small{
  display:block;
  margin-top:5px;

  color:#8a909b;
  font-size:10px;
  line-height:1.3;
}

.screen[data-screen="criar"] .selected-mini button{
  align-self:center;

  padding:8px 10px;

  background:#f4f5f7;
  color:#606672;
  border-radius:10px;

  font-size:10.5px;
  font-weight:750;

  transition:
    background .15s ease,
    color .15s ease;
}

.screen[data-screen="criar"] .selected-mini button:hover{
  background:#eceef2;
  color:#262a32;
}

.screen[data-screen="criar"] .create-continue{
  min-height:54px;
  margin-top:16px;

  border-radius:15px;

  box-shadow:
    0 10px 24px rgba(91,99,246,.18);
}


/* Mobile */

@media (max-width:640px){

  .screen[data-screen="criar"] .create-panel{
    padding:20px 17px 18px;
    border-radius:23px;
  }

  .screen[data-screen="criar"] .panel-heading h2{
    font-size:24px;
  }

  .screen[data-screen="criar"] .marketplace-switch{
    grid-template-columns:1fr 1fr;
    gap:9px;
  }

  .screen[data-screen="criar"] .marketplace-option{
    min-height:68px;
    padding:13px 30px 13px 12px;
    border-radius:15px;
  }

  .screen[data-screen="criar"] .marketplace-option img{
    max-width:104px;
    height:27px;
  }

  .screen[data-screen="criar"]
  .marketplace-option[data-marketplace="shopee"] img{
    max-width:98px;
    height:28px;
  }

  .screen[data-screen="criar"] .marketplace-option-check{
    top:8px;
    right:8px;

    width:19px;
    height:19px;
  }

  .screen[data-screen="criar"] .product-search-button{
    width:100%;
  }

  .screen[data-screen="criar"] .selected-mini{
    grid-template-columns:64px minmax(0,1fr) auto;
    gap:11px;
    padding:10px;
  }

  .screen[data-screen="criar"]
  .selected-mini .mini-visual{
    width:64px;
    height:64px;
  }

  .screen[data-screen="criar"] .selected-mini strong{
    -webkit-line-clamp:3;
    font-size:12.5px;
  }

}


/* SUBSCRIPTION_SHEET_V1 */
.subscription-plans-grid{
  display:grid;
  gap:12px;
}

.subscription-plan-card{
  position:relative;
  width:100%;
  text-align:left;
}

.subscription-plan-card:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.subscription-price{
  display:block;
  font-size:24px;
  line-height:1.1;
}

.subscription-plan-action{
  display:block;
  margin-top:8px;
  font-size:12px;
  font-weight:800;
}

.subscription-sheet .sheet-note{
  margin-top:14px;
}

/* FORMAT_MEDIA_GENDER_V2_START */

/* Format cards use fixed reference media, never product media. */
.approach-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  overflow:hidden;
}

.format-option-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#f4f5f8;
}

.format-option-icon svg{
  width:19px;
  height:19px;
}

.format-option-copy{
  flex:1 1 auto;
  min-width:0;
  text-align:left;
}

.format-option-copy strong,
.format-option-copy small{
  display:block;
}

.format-option-media{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:block;
  overflow:hidden;
  border-radius:12px;
  background:#f4f5f8;
}

.format-option-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.format-selected-check{
  position:absolute;
  top:7px;
  right:59px;
  width:18px;
  height:18px;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#6268f5;
  pointer-events:none;
}

.approach-card.is-selected .format-selected-check{
  display:flex;
}

.format-selected-check svg,
.gender-selected-check svg{
  width:12px;
  height:12px;
  fill:none;
  stroke:#fff;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* Gender cards use inline semantic SVGs. */
.voice-card{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-height:54px;
  text-align:left;
}

.gender-option-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
}

.gender-option-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gender-option-icon--female{
  color:#e64980;
  background:#fff0f6;
}

.gender-option-icon--male{
  color:#3787f5;
  background:#eef6ff;
}

.gender-option-copy{
  flex:1 1 auto;
  min-width:0;
  text-align:left;
}

.gender-option-copy strong,
.gender-option-copy small{
  display:block;
}

.gender-selected-check{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#6268f5;
}

.voice-card.is-selected .gender-selected-check{
  display:flex;
}

.voice-card > .voice-icon{
  display:none;
}

@media (max-width:640px){
  .format-option-media{
    width:50px;
    height:50px;
    flex-basis:50px;
  }

  .format-selected-check{
    right:57px;
  }

  .gender-option-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
  }
}

/* FORMAT_MEDIA_GENDER_V2_END */

/* SUBSCRIPTION_SAFE_MODERN_V2_START */

/*
 * CSS-only enhancement.
 * No modal behavior or checkout logic is touched.
 */
.subscription-sheet .subscription-plans-grid{
  gap:14px;
}

.subscription-sheet .subscription-plan-card{
  position:relative;
  overflow:hidden;
  padding:18px 18px 16px;
  border:1px solid #e4e7ef;
  border-radius:20px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafbfc 100%
    );
  box-shadow:
    0 5px 18px rgba(15,23,42,.045);
  text-align:left;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.subscription-sheet .subscription-plan-card:hover{
  transform:translateY(-1px);
  border-color:#d8dcf0;
  box-shadow:
    0 9px 24px rgba(15,23,42,.07);
}

.subscription-sheet .subscription-plan-card:active{
  transform:translateY(0);
}

.subscription-sheet .subscription-plan-card .plan-name{
  display:block;
  margin-bottom:8px;
  font-size:12px;
  font-weight:700;
  color:#73798a;
}

.subscription-sheet .subscription-plan-card .subscription-price{
  display:block;
  margin-bottom:10px;
  font-size:26px;
  line-height:1.05;
  letter-spacing:-.035em;
}

.subscription-sheet .subscription-plan-card .plan-credits{
  display:block;
  margin-bottom:12px;
  font-size:13px;
  font-weight:700;
}

.subscription-sheet .subscription-plan-action{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-top:2px;
  padding:0 11px;
  border-radius:999px;
  background:#f0f2ff;
  color:#4f58df;
  font-size:12px;
  font-weight:800;
  letter-spacing:-.01em;
  transition:
    background .16s ease,
    transform .16s ease;
}

.subscription-sheet .subscription-plan-card:hover
.subscription-plan-action{
  background:#e7eaff;
  transform:translateX(1px);
}

@media (max-width:640px){
  .subscription-sheet .subscription-plan-card{
    padding:17px 15px 15px;
    border-radius:19px;
  }

  .subscription-sheet .subscription-plan-card
  .subscription-price{
    font-size:25px;
  }
}

/* SUBSCRIPTION_SAFE_MODERN_V2_END */


/* ============================================================
   WHATSAPP_GATE_STYLE_V1
   Modal deliberately stays ~2 cm below viewport top so
   the mobile keyboard does not push the primary action away.
   ============================================================ */

.whatsapp-gate-backdrop{
  position:fixed;
  inset:0;
  z-index:12000;
  background:rgba(17,19,24,.42);
  backdrop-filter:blur(3px);
}

.whatsapp-gate-modal{
  position:fixed;
  z-index:12001;

  top:calc(
    env(safe-area-inset-top,0px)
    + 76px
  );

  left:50%;
  transform:translateX(-50%);

  width:min(
    420px,
    calc(100vw - 28px)
  );

  max-height:calc(
    100dvh
    - 100px
  );

  overflow:auto;

  padding:24px;

  border:1px solid #e1e3e8;
  border-radius:22px;

  background:#fff;

  box-shadow:
    0 28px 80px
    rgba(19,23,35,.22);
}

.whatsapp-gate-modal[hidden],
.whatsapp-gate-backdrop[hidden]{
  display:none!important;
}

.whatsapp-gate-close{
  position:absolute;
  top:13px;
  right:14px;

  width:34px;
  height:34px;

  border:0;
  border-radius:50%;

  background:#f0f1f4;
  color:#4f545e;

  font-size:23px;
  line-height:1;

  cursor:pointer;
}

.whatsapp-gate-kicker{
  display:block;

  margin-right:40px;

  color:#777ff5;

  font-size:9px;
  font-weight:850;
  letter-spacing:.13em;
}

.whatsapp-gate-modal h2{
  margin:
    8px
    38px
    0
    0;

  font-size:25px;
  line-height:1.08;
  letter-spacing:-.8px;
}

.whatsapp-gate-modal>p{
  margin:9px 0 20px;

  color:#767c87;

  font-size:12px;
  line-height:1.45;
}

.whatsapp-gate-field{
  display:block;
  margin-bottom:14px;
}

.whatsapp-gate-field>span{
  display:block;

  margin-bottom:7px;

  color:#555b65;

  font-size:10px;
  font-weight:750;
}

.whatsapp-gate-field input{
  width:100%;
  height:52px;

  padding:0 15px;

  border:1px solid #d9dce3;
  border-radius:14px;

  background:#f8f9fb;
  color:#17191d;

  outline:none;

  font:inherit;
  font-size:16px;
}

.whatsapp-gate-field input:focus{
  border-color:#737bf5;

  box-shadow:
    0 0 0 3px
    rgba(91,99,246,.10);

  background:#fff;
}

.whatsapp-gate-error{
  margin:
    -3px
    0
    12px;

  padding:9px 11px;

  border-radius:10px;

  background:#fff0f0;
  color:#b33131;

  font-size:10px;
  line-height:1.4;
}

@media(max-height:560px){
  .whatsapp-gate-modal{
    top:20px;

    max-height:
      calc(
        100dvh
        - 40px
      );
  }
}

/* TURBOVENDAS_PWA_INSTALL_MODAL_V1 */
.tv-pwa-install-backdrop{
  position:fixed;
  inset:0;
  z-index:10050;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:18px;
  background:rgba(15,17,22,.46);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}

.tv-pwa-install-card{
  position:relative;
  width:min(100%,420px);
  padding:24px 20px 20px;
  border:1px solid rgba(21,24,30,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 50px rgba(15,17,22,.18);
  text-align:center;
}

.tv-pwa-install-close{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#f1f2f5;
  color:#15181e;
  font:400 27px/38px Arial,sans-serif;
  cursor:pointer;
}

.tv-pwa-install-icon{
  display:block;
  width:72px;
  height:72px;
  margin:2px auto 15px;
  border-radius:18px;
}

.tv-pwa-install-copy small{
  display:block;
  margin-bottom:5px;
  color:#6a72ff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.tv-pwa-install-copy h2{
  margin:0;
  color:#15181e;
  font-size:24px;
  line-height:1.12;
  font-weight:750;
}

.tv-pwa-install-copy p{
  max-width:320px;
  margin:9px auto 18px;
  color:#626773;
  font-size:14px;
  line-height:1.45;
}

.tv-pwa-install-button{
  width:100%;
  min-height:52px;
  border:0;
  border-radius:15px;
  background:#15181e;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.tv-pwa-install-button:active{
  transform:translateY(1px);
}

.tv-pwa-install-status{
  min-height:18px;
  margin:10px 8px 0;
  color:#737987;
  font-size:12px;
  line-height:1.4;
}

@media (min-width:700px){
  .tv-pwa-install-backdrop{
    align-items:center;
  }
}


/* TV_BRAND_ONLINE_V1 */
.brand-word .brand-domain {
  font-size:.72em;
  font-weight:500;
  letter-spacing:-.35px;
}


/* TV_HOME_CREATE_CTA_V2 */
/* Botao principal maior, sem alterar a navegacao */
.hero-create{
  min-height:148px;
  padding:30px 28px;
  gap:22px;
}

.hero-create-copy strong{
  font-size:clamp(19px,2.4vw,24px);
  font-weight:750;
  letter-spacing:-.025em;
  line-height:1.25;
}

.hero-create-copy small{
  font-size:13px;
  line-height:1.5;
}

.hero-create-icon{
  transform:scale(1.12);
}

@media(max-width:600px){
  .hero-create{
    min-height:140px;
    padding:25px 19px;
    gap:14px;
  }

  .hero-create-copy strong{
    font-size:20px;
  }

  .hero-create-copy small{
    font-size:12px;
  }
}

/* TV_PRODUCT_LINK_PASTE_CLEAR_V1 */
.product-link-control{
  position:relative;
}
.product-link-control .product-link-input{
  flex:1 1 auto;
  min-width:0;
  padding-right:104px!important;
}
.product-link-inline-action{
  position:absolute;
  right:7px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-width:77px;
  min-height:35px;
  padding:6px 9px;
  border:1px solid var(--line, #e4e6eb);
  border-radius:9px;
  background:#f4f5f8;
  color:#343943;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
  white-space:nowrap;
}
.product-link-inline-action:hover{
  background:#e9ebf2;
}
.product-link-inline-action:focus-visible{
  outline:2px solid var(--accent, #5b63f6);
  outline-offset:2px;
}
.product-link-inline-action .when-paste,
.product-link-inline-action .when-clear{
  align-items:center;
  justify-content:center;
  gap:5px;
}
.product-link-inline-action .when-paste{display:inline-flex}
.product-link-inline-action .when-clear{display:none}
.product-link-inline-action.is-clear .when-paste{display:none}
.product-link-inline-action.is-clear .when-clear{display:inline-flex}
.product-link-inline-action svg{
  width:15px;
  height:15px;
  flex:0 0 auto;
}

/* TV_CREDITS_MODAL_POLISH_V1 */
.tv-credit-card-polish{
  position:relative !important;
  padding-right:76px !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.tv-credit-card-polish:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(17,24,39,.08);
}
.tv-credit-card-polish .tv-credit-choice-arrow{
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid #d7dce7;
  background:#ffffff;
  color:#161b26;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:800;
  line-height:1;
  box-shadow:0 6px 16px rgba(17,24,39,.07);
  pointer-events:none;
}
.tv-credit-card-featured{
  background:#ffffff !important;
  box-shadow:none !important;
}
.tv-credit-card-featured:hover{
  box-shadow:0 10px 26px rgba(17,24,39,.08) !important;
}
.tv-credit-card-featured::before{
  display:none !important;
}


/* TV_CREDIT_VIDEO_ESTIMATE_V2 */

#creditsSheet #plansGrid .plan-card{
  position:relative;
}

#creditsSheet #plansGrid .tv-credit-video-estimate{
  position:absolute;
  right:15px;
  bottom:15px;

  display:block;
  max-width:calc(100% - 115px);

  font-family:Manrope,system-ui,sans-serif;
  font-size:12.5px;
  font-weight:650;
  line-height:1.3;
  letter-spacing:-.15px;
  text-align:right;
  white-space:nowrap;

  color:#d63885;
  background:linear-gradient(
    105deg,
    #f08332 0%,
    #e93686 46%,
    #8243dd 100%
  );

  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;

  pointer-events:none;
}

@media(max-width:390px){
  #creditsSheet #plansGrid .tv-credit-video-estimate{
    right:12px;
    bottom:13px;
    font-size:11.5px;
  }
}


/* TV_CREDIT_MONEY_ICON_V1 */

#creditsSheet #plansGrid .tv-credit-money-icon{
  display:inline-block;
  width:15px;
  height:15px;
  margin-left:4px;
  vertical-align:-3px;
  flex-shrink:0;

  stroke:#c83d9c;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;

  pointer-events:none;
}


/* TV_CREDIT_MONEY_ICON_VISIBLE_V2 */

/* Oculta o SVG anterior, mantendo o restante do cartão. */
#creditsSheet #plansGrid
.tv-credit-video-estimate > .tv-credit-money-icon{
  display:none!important;
}

/* Moeda desenhada por CSS, sem depender de SVG. */
#creditsSheet #plansGrid
.tv-credit-video-estimate::after{
  content:"$";
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;

  width:17px;
  height:17px;
  margin-left:6px;
  vertical-align:-4px;

  border:1.6px solid #bd3eb8;
  border-radius:50%;

  color:#bd3eb8!important;
  -webkit-text-fill-color:#bd3eb8!important;

  background:transparent!important;
  background-image:none!important;
  background-clip:border-box!important;
  -webkit-background-clip:border-box!important;

  font-family:Manrope,Arial,sans-serif;
  font-size:11px;
  font-weight:800;
  line-height:1;
  letter-spacing:0;

  flex:none;
  pointer-events:none;
}

#creditsSheet #plansGrid .tv-credit-video-estimate{
  overflow:visible;
}

@media(max-width:390px){
  #creditsSheet #plansGrid
  .tv-credit-video-estimate::after{
    width:15px;
    height:15px;
    font-size:10px;
    margin-left:4px;
    vertical-align:-3px;
  }
}


/* TV_CREDIT_MONEY_ALIGNMENT_V3 */
#creditsSheet #plansGrid .tv-credit-video-estimate::after{
  vertical-align:middle!important;
  position:relative;
  top:-1px;
  margin-left:6px;
}

@media(max-width:390px){
  #creditsSheet #plansGrid .tv-credit-video-estimate::after{
    vertical-align:middle!important;
    top:-1px;
  }
}


/* TV_VIDEO_EMPTY_CREATE_CTA_V1 */

#videoGrid .tv-video-empty-create{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;

  box-sizing:border-box;
  width:100%;
  min-height:104px;
  margin-top:18px;
  padding:17px 16px;

  border:1.5px dashed #d9cffa;
  border-radius:15px;
  background:#faf8ff;

  color:#302742;
  font-family:Manrope,system-ui,sans-serif;
  text-align:center;
  cursor:pointer;

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

#videoGrid .tv-video-empty-create-plus{
  display:grid;
  place-items:center;

  width:36px;
  height:36px;

  border-radius:11px;
  background:#e9ddff;
  color:#7547e6;

  font-family:inherit;
  font-size:26px;
  font-weight:500;
  line-height:1;
}

#videoGrid .tv-video-empty-create-title{
  font-size:14px;
  font-weight:700;
  letter-spacing:-.2px;
  line-height:1.3;
}

#videoGrid .tv-video-empty-create:hover{
  background:#f2edff;
  border-color:#ab92f5;
  transform:translateY(-1px);
}

#videoGrid .tv-video-empty-create:active{
  transform:scale(.99);
}

#videoGrid .tv-video-empty-create:focus-visible{
  outline:3px solid #a98df2;
  outline-offset:3px;
}

@media(max-width:600px){
  #videoGrid .tv-video-empty-create{
    min-height:100px;
    padding:16px 12px;
  }
}

@media(prefers-reduced-motion:reduce){
  #videoGrid .tv-video-empty-create{
    transition:none;
  }
}


/* TV_CREDIT_ESTIMATES_TEMP_HIDDEN_V1 */
/* Ocultacao temporaria: manter HTML e JS originais. */

#plansGrid .tv-credit-video-estimate{
  display:none!important;
}

/* TV_VIDEO_DETAIL_DOWNLOAD_NAV_V1 — tactile yet clean action buttons */
#videoMobileDetail .vmd-bottom-nav{
  grid-template-columns:1fr 1.15fr 1fr;
  gap:9px;
  padding-left:12px;
  padding-right:12px;
  padding-top:10px;
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-item{
  box-sizing:border-box;
  min-height:57px;
  padding:7px 5px;
  border:1px solid #e0e5ef;
  border-radius:13px;
  background:#f7f8fb;
  color:#414c60;
  box-shadow:0 1px 3px rgba(15,23,42,.045);
  text-decoration:none;
  font-size:11px;
  font-weight:750;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .16s,border-color .16s,transform .12s;
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-primary{
  background:#eaf0ff;
  border-color:#bfcdf9;
  color:#2756c9;
  box-shadow:0 1px 4px rgba(39,86,201,.085);
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-item:active{
  background:#e8ecf4;
  transform:scale(.975);
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-primary:active{
  background:#dce7ff;
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-item:focus-visible{
  outline:2px solid #3c73ec;
  outline-offset:2px;
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-item[aria-disabled="true"]{
  opacity:.55;
  pointer-events:none;
}

/* TV_VIDEO_DETAILS_COPY_PRODUCT_LINK_V1 — 4 balanced mobile detail actions */
#videoMobileDetail .vmd-bottom-nav{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  padding-left:max(9px, env(safe-area-inset-left));
  padding-right:max(9px, env(safe-area-inset-right));
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-item{
  width:100%;
  min-width:0;
  min-height:56px;
  box-sizing:border-box;
  padding:7px 2px;
  gap:4px;
  font-size:clamp(9px,2.65vw,11px);
  line-height:1.15;
  white-space:nowrap;
  text-align:center;
  overflow:hidden;
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-item svg{
  width:19px;
  height:19px;
}
#videoMobileDetail .vmd-bottom-nav .vmd-nav-item:disabled{
  opacity:.5;
  cursor:default;
}
#videoMobileDetail .vmd-product-copy-feedback{
  position:fixed;
  z-index:5020;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(.96);
  display:block;
  max-width:calc(100vw - 40px);
  box-sizing:border-box;
  padding:12px 18px;
  border-radius:13px;
  background:rgba(27,37,56,.96);
  color:#fff;
  font-size:13px;
  font-weight:750;
  line-height:1.4;
  text-align:center;
  white-space:nowrap;
  box-shadow:0 9px 26px rgba(0,0,0,.20);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .15s ease, transform .15s ease, visibility .15s;
}
#videoMobileDetail .vmd-product-copy-feedback.is-visible{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,-50%) scale(1);
}
@media (max-width:330px){
  #videoMobileDetail .vmd-bottom-nav{
    gap:4px;
    padding-left:7px;
    padding-right:7px;
  }
  #videoMobileDetail .vmd-bottom-nav .vmd-nav-item{
    font-size:9px;
    gap:3px;
    padding-left:1px;
    padding-right:1px;
  }
  #videoMobileDetail .vmd-bottom-nav .vmd-nav-item svg{
    width:17px;
    height:17px;
  }
}
