/* Clipwagon light theme (2026-11-15). Dark stays the brand default: every rule below only applies when the visitor
   picked light (html[data-theme=light], saved in localStorage cw_theme). The only rules that touch dark are the
   new toggle button itself and a 200 ms background colour fade on the page.
   App rules are scoped to html:not(.site), marketing pages (landing, pricing, streamers, legal) to html.site,
   because the two stylesheets share class names (.drop, .plan, .steps ...).
   Video, clip thumbnails, caption samples and the Live splash hero stay dark on purpose.
   Revert: delete this file's <link> and the inline theme <script> from each page
   (copies in Desktop/shortsmith-backups/before-light-theme-20261115). */

/* ---------- the toggle (both themes) ---------- */
.theme-toggle svg,.theme-row svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .i-moon,.theme-row .i-moon,.theme-row .t-dark{display:none}
html[data-theme=light] .theme-toggle .i-sun,html[data-theme=light] .theme-row .i-sun,html[data-theme=light] .theme-row .t-light{display:none}
html[data-theme=light] .theme-toggle .i-moon,html[data-theme=light] .theme-row .i-moon{display:block}
html[data-theme=light] .theme-row .t-dark{display:inline}
.theme-toggle svg{animation:tgIn .45s cubic-bezier(.22,1,.36,1)}
@keyframes tgIn{from{opacity:0;transform:rotate(-60deg) scale(.6)}}
html[data-theme] body{transition:background-color .2s ease}
/* app header: a round icon button next to Account */
.actions .btn.theme-toggle{width:36px;padding:0;justify-content:center;flex:none;color:var(--muted)}
.actions .btn.theme-toggle:hover{color:var(--text)}
/* marketing nav */
html.site .theme-toggle{display:inline-grid;place-items:center;flex:none;width:38px;height:38px;padding:0;border-radius:999px;border:1px solid var(--line2);
  background:transparent;color:var(--muted);cursor:pointer;box-shadow:var(--edge);
  transition:color .18s ease,border-color .18s ease,background-color .18s ease,transform .1s var(--ease)}
html.site .theme-toggle:hover{color:var(--text);border-color:rgba(255,248,235,.26)}
html.site .theme-toggle:active{transform:scale(.94)}
html.site .theme-row{display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;border:0;border-bottom:1px solid var(--line);background:none;
  color:var(--text);font:600 24px/32px Inter,system-ui,sans-serif;letter-spacing:-.02em;text-align:left;cursor:pointer;opacity:0;transform:translateY(24px)}
html.site .theme-row svg{width:22px;height:22px}
html.site .mobile-menu.open .theme-row{animation:menuIn .5s var(--ease) both;animation-delay:calc(var(--i,0) * 55ms)}
@media (max-width:1000px){html.site .nav-right{gap:10px}}
@media (max-width:480px){html.site .nav-tg{display:none}}

/* ---------- light tokens (shared) ---------- */
:root[data-theme=light]{
  --bg:#F6F4EF; --bg2:#FBFAF7; --panel:#FFFFFF; --panel2:#F2F0EA; --raise:#EAE7DF;
  --card:#FFFFFF; --card2:#F3F1EC;
  --line:rgba(22,20,15,.09); --line2:rgba(22,20,15,.16);
  --text:#16140F; --muted:#59554D; --dim:#736F66;
  --lime:#9A7329; --lime2:#C9A35A; --gold:#D4B06A; --ink:#17120A;
  --amber:#9A5B00; --tt:#0B7F7C; --yt:#E5281E;
  --edge:inset 0 1px 0 rgba(255,255,255,.75);
  --lift:0 1px 0 rgba(22,20,15,.04),0 24px 60px -32px rgba(22,20,15,.28);
  color-scheme:light;
}
html[data-theme=light] ::selection{background:rgba(212,176,106,.55);color:var(--ink)}
html[data-theme=light] .theme-toggle:hover{border-color:rgba(22,20,15,.28)}

/* surfaces that show video or thumbnails keep the dark palette inside them */
html:not(.site)[data-theme=light] .frame,html:not(.site)[data-theme=light] .sty,html:not(.site)[data-theme=light] .live-hero,html:not(.site)[data-theme=light] .mini,html:not(.site)[data-theme=light] .sc-pic,
html.site[data-theme=light] .wide-card,html.site[data-theme=light] .phone,html.site[data-theme=light] .fan,html.site[data-theme=light] .create-phone,html.site[data-theme=light] .ed-frame,html.site[data-theme=light] .inl{
  --bg:#0A0A0C; --bg2:#0D0D10; --panel:#121215; --panel2:#18181B; --raise:#1F1F23; --card:#111114; --card2:#17171A;
  --line:rgba(255,248,235,.07); --line2:rgba(255,248,235,.13); --text:#F4F1EA; --muted:#A9A59C; --dim:#78746C;
  --lime:#D9B97C; --gold:#D9B97C; --edge:inset 0 1px 0 rgba(255,255,255,.055); color:var(--text)}

/* ====================================================================== */
/* ============================== APP =================================== */
/* ====================================================================== */
html:not(.site)[data-theme=light] body{background:radial-gradient(1000px 420px at 50% -160px,rgba(212,176,106,.12),transparent 70%),var(--bg)}
html:not(.site)[data-theme=light] .top{background:rgba(246,244,239,.94)}
html:not(.site)[data-theme=light] .tally{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.6' y='2.6' width='5' height='18.8' rx='2.5' fill='%2316140F'/%3E%3Crect x='9.6' y='5.9' width='5' height='12.2' rx='2.5' fill='%2316140F'/%3E%3Crect x='16.6' y='9.2' width='5' height='5.6' rx='2.5' fill='%23B8913F'/%3E%3C/svg%3E") center/contain no-repeat}
html:not(.site)[data-theme=light] .field{background:#fff}
html:not(.site)[data-theme=light] .btn:hover{border-color:rgba(22,20,15,.25)}
html:not(.site)[data-theme=light] .chip-btn:hover{border-color:rgba(22,20,15,.3)}
/* white-on-dark buttons become dark-on-light */
html:not(.site)[data-theme=light] .btn.primary,html:not(.site)[data-theme=light] .tab.on,html:not(.site)[data-theme=light] .seg button.on,html:not(.site)[data-theme=light] .pg.on,html:not(.site)[data-theme=light] #playBtn,html:not(.site)[data-theme=light] .tabbar .plus{background:#16140F;color:#F6F4EF;border-color:#16140F}
html:not(.site)[data-theme=light] .btn.primary:hover{background:#2B2822}
html:not(.site)[data-theme=light] #playBtn svg{fill:#F6F4EF}
html:not(.site)[data-theme=light] .btn.primary,html:not(.site)[data-theme=light] .btn.make{box-shadow:inset 0 -1.5px 0 rgba(0,0,0,.14),0 8px 24px -12px rgba(154,115,41,.45)}
/* gold fills keep the bright gold with dark ink on top */
html:not(.site)[data-theme=light] .btn.make{background:var(--gold)!important;border-color:var(--gold)!important;color:var(--ink)!important}
html:not(.site)[data-theme=light] .btn.make:hover{background:#C9A35A!important}
html:not(.site)[data-theme=light] .acct-btn i,html:not(.site)[data-theme=light] .am-head i,html:not(.site)[data-theme=light] .saved i,html:not(.site)[data-theme=light] .score-chip,html:not(.site)[data-theme=light] .sw[aria-checked=true],html:not(.site)[data-theme=light] .demo-pill,html:not(.site)[data-theme=light] .ribbon,html:not(.site)[data-theme=light] .bt.done,
html:not(.site)[data-theme=light] .work-steps li.done::before,html:not(.site)[data-theme=light] #working.done .work-steps li::before,html:not(.site)[data-theme=light] .ico-btn:hover,html:not(.site)[data-theme=light] .demo-panel li.ok::before{background:var(--gold);color:var(--ink);border-color:var(--gold)}
html:not(.site)[data-theme=light] .sw{background:#D3CFC6}
/* menus, sheets, dialogs, toasts */
html:not(.site)[data-theme=light] .menu{background:#fff;box-shadow:0 20px 60px -20px rgba(22,20,15,.28),0 0 0 1px rgba(22,20,15,.03)}
html:not(.site)[data-theme=light] .modal,html:not(.site)[data-theme=light] .m-head{background:#fff}
html:not(.site)[data-theme=light] .modal{box-shadow:var(--edge),0 40px 120px -30px rgba(22,20,15,.4)}
html:not(.site)[data-theme=light] .modal::backdrop{background:rgba(22,20,15,.38)}
html:not(.site)[data-theme=light] .scrim,html:not(.site)[data-theme=light] .sheet-scrim{background:rgba(22,20,15,.35)}
html:not(.site)[data-theme=light] .toast{color:#F6F4EF;box-shadow:0 20px 50px -20px rgba(22,20,15,.5)}
html:not(.site)[data-theme=light] .toast.bad{background:#C0352B;color:#fff}
html:not(.site)[data-theme=light] .settings,html:not(.site)[data-theme=light] .demo-panel{box-shadow:0 30px 60px -20px rgba(22,20,15,.22)}
html:not(.site)[data-theme=light] .demo-bar{background:#F3EEDF}
html:not(.site)[data-theme=light] .frame{box-shadow:0 0 0 1px rgba(22,20,15,.08),0 40px 90px -40px rgba(22,20,15,.55)}
@media (max-width:980px){
  html:not(.site)[data-theme=light] .tabbar{background:#fff;box-shadow:0 18px 50px -10px rgba(22,20,15,.25)}
  html:not(.site)[data-theme=light] .tabbar button.on{background:var(--raise);color:var(--text)}
  html:not(.site)[data-theme=light] .sheet-actions{background:#fff}
  html:not(.site)[data-theme=light] .menu,html:not(.site)[data-theme=light] .acct-menu{box-shadow:0 24px 80px -10px rgba(22,20,15,.35)}
}
/* sign-in card */
html:not(.site)[data-theme=light] .auth{background:radial-gradient(900px 500px at 50% -100px,rgba(212,176,106,.16),transparent 70%),var(--bg)}
html:not(.site)[data-theme=light] .auth-card{background:#fff;box-shadow:var(--edge),0 30px 80px -40px rgba(22,20,15,.3)}
html:not(.site)[data-theme=light] .auth-card label input:not([type=checkbox]){background:var(--bg2)}
html:not(.site)[data-theme=light] #authErr[style*="8fd19e"]{color:#2E7D32!important}
/* studio */
html:not(.site)[data-theme=light] .card.on{box-shadow:var(--edge),0 0 0 1px rgba(154,115,41,.22),0 18px 40px -24px rgba(154,115,41,.35)}
html:not(.site)[data-theme=light] .grade small{color:#fff}
html:not(.site)[data-theme=light] .lg-loud{background:#D3CEC4}
html:not(.site)[data-theme=light] #tlSvg path[stroke="#343a43"]{stroke:#D6D1C7}
html:not(.site)[data-theme=light] #tlSvg polyline[stroke="#D9B97C"]{stroke:var(--lime)}
html:not(.site)[data-theme=light] #tlSvg text{fill:var(--lime);stroke:none}
html:not(.site)[data-theme=light] #tlSvg line{stroke:#16140F}
html:not(.site)[data-theme=light] .pro .swatch{border-color:rgba(22,20,15,.2)}
html:not(.site)[data-theme=light] .plans .plan.best{background:radial-gradient(120% 80% at 50% 0%,#F6EAD0,#FFFFFF 70%)}
html:not(.site)[data-theme=light] .auth-fine a{color:var(--text)}
/* loading screen: the reel skeletons turn into light cards (they are placeholders, not video) */
html:not(.site)[data-theme=light] .rb{background:#EFECE5;border-color:var(--line2)}
html:not(.site)[data-theme=light] .rb-frame{background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.8) 50%,transparent 70%)}
html:not(.site)[data-theme=light] .rb-face{background:#D6D1C6}
html:not(.site)[data-theme=light] .rb-cap i{background:#2B2822}
html:not(.site)[data-theme=light] .rb-cap i:nth-child(3),html:not(.site)[data-theme=light] .rb-score{background:var(--gold)}
html:not(.site)[data-theme=light] #working .meter{background:#E4E0D6}
html:not(.site)[data-theme=light] .meter-sheen{background:repeating-linear-gradient(115deg,transparent 0 14px,rgba(255,255,255,.6) 14px 22px)}
/* reds and golds that were tuned for a black page */
html:not(.site)[data-theme=light] .btn.danger{color:#B3261E;border-color:#F0C9C4;background:#FDF0EE}
html:not(.site)[data-theme=light] .menu .del:hover{color:#B3261E;background:#FDECEA}
html:not(.site)[data-theme=light] .demo-panel li.no::before{background:#FDECEA;color:#B3261E}
html:not(.site)[data-theme=light] .work-card .err,html:not(.site)[data-theme=light] .auth-err,html:not(.site)[data-theme=light] .status.bad,html:not(.site)[data-theme=light] .bt.err,html:not(.site)[data-theme=light] .wd.cut,html:not(.site)[data-theme=light] .acct-menu .danger,html:not(.site)[data-theme=light] .st.rejected,html:not(.site)[data-theme=light] .set-msg.bad{color:#B3261E}
html:not(.site)[data-theme=light] .bt.err{border-color:#F0C9C4}
html:not(.site)[data-theme=light] .live-bar b,html:not(.site)[data-theme=light] .live-kicker,html:not(.site)[data-theme=light] .live-steps b,html:not(.site)[data-theme=light] .soon.new{color:#C62828}
html:not(.site)[data-theme=light] .soon.new{background:rgba(229,40,30,.1)}
html:not(.site)[data-theme=light] .pub .yt{color:#C4291F}
html:not(.site)[data-theme=light] .pub .tt{color:var(--tt)}
html:not(.site)[data-theme=light] .soon,html:not(.site)[data-theme=light] .extra-row b,html:not(.site)[data-theme=light] .am-tag,html:not(.site)[data-theme=light] .bal b,html:not(.site)[data-theme=light] .promo-card b,html:not(.site)[data-theme=light] .camp-top .rate,html:not(.site)[data-theme=light] .st.approved,html:not(.site)[data-theme=light] .st.paid,html:not(.site)[data-theme=light] #growthModal input[readonly],html:not(.site)[data-theme=light] .set-msg.good{color:var(--lime)}
html:not(.site)[data-theme=light] .soon{background:rgba(212,176,106,.22)}
html:not(.site)[data-theme=light] .soon.admin{background:rgba(22,20,15,.06);color:var(--text)}
/* Live splash: the hero stays dark, its close button stays readable on it */
html:not(.site)[data-theme=light] .live-modal>.x{color:#F4F1EA;border-color:rgba(255,255,255,.2)}

/* ====================================================================== */
/* =========================== MARKETING ================================ */
/* ====================================================================== */
html.site[data-theme=light] .mark{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.6' y='2.6' width='5' height='18.8' rx='2.5' fill='%2316140F'/%3E%3Crect x='9.6' y='5.9' width='5' height='12.2' rx='2.5' fill='%2316140F'/%3E%3Crect x='16.6' y='9.2' width='5' height='5.6' rx='2.5' fill='%23B8913F'/%3E%3C/svg%3E") center/contain no-repeat}
html.site[data-theme=light] .announce{color:#2A2620;background:linear-gradient(90deg,#EFEBE1,#EADFC5 50%,#EFEBE1)}
html.site[data-theme=light] .announce:hover{color:#000}
html.site[data-theme=light] .announce.promo{background:linear-gradient(90deg,rgba(212,176,106,.32),rgba(212,176,106,.1))}
html.site[data-theme=light] .announce .new,html.site[data-theme=light] .feat-phone b,html.site[data-theme=light] .steps button.on b,html.site[data-theme=light] .skip-link,html.site[data-theme=light] .ribbon{background:var(--gold);color:var(--ink)}
html.site[data-theme=light] .nav.scrolled,html.site[data-theme=light].menu-open .nav{background:rgba(246,244,239,.94)}
html.site[data-theme=light] .nav::after{background:linear-gradient(rgba(246,244,239,.85),transparent)}
html.site[data-theme=light] .mobile-menu{background:rgba(246,244,239,.985)}
/* buttons */
html.site[data-theme=light] .pill.white{background:#16140F;color:#F6F4EF;border-color:#16140F;box-shadow:inset 0 -1.5px 0 rgba(0,0,0,.2),0 10px 30px -12px rgba(154,115,41,.5)}
html.site[data-theme=light] .pill.white:hover{background:#2B2822;box-shadow:inset 0 -1.5px 0 rgba(0,0,0,.2),0 14px 38px -12px rgba(154,115,41,.6)}
html.site[data-theme=light] .beam::after{background:#16140F}
html.site[data-theme=light] .pill.ghost:hover{background:rgba(22,20,15,.05);border-color:rgba(22,20,15,.25)}
html.site[data-theme=light] .ed-tabs button.on{background:#16140F;color:#F6F4EF;border-color:#16140F}
html.site[data-theme=light] .ed-tabs button:hover:not(.on){border-color:rgba(22,20,15,.26)}
html.site[data-theme=light] .faq summary:hover{color:#000}
/* hero */
html.site[data-theme=light] .sub,html.site[data-theme=light] .lead{color:var(--muted)}
html.site[data-theme=light] .drop{background:#fff;box-shadow:var(--edge),0 18px 50px -24px rgba(22,20,15,.25)}
html.site[data-theme=light] .drop:focus-within{box-shadow:var(--edge),0 0 0 4px rgba(212,176,106,.25),0 18px 50px -24px rgba(22,20,15,.25)}
html.site[data-theme=light] .chips span{background:#fff;color:var(--text)}
html.site[data-theme=light] .hero::before{background:radial-gradient(50% 50% at 50% 40%,rgba(212,176,106,.2),rgba(212,176,106,.05) 45%,transparent 70%)}
html.site[data-theme=light] .inl.wide{box-shadow:0 0 0 1.5px rgba(22,20,15,.1),0 14px 30px -12px rgba(22,20,15,.45)}
html.site[data-theme=light] .inl.fan3 img{box-shadow:0 0 0 1.5px #F6F4EF,0 10px 24px -10px rgba(22,20,15,.5)}
/* walkthrough */
html.site[data-theme=light] .steps{background:rgba(255,255,255,.94);box-shadow:var(--edge),0 18px 40px -20px rgba(22,20,15,.25)}
html.site[data-theme=light] .steps button b,html.site[data-theme=light] .steps button.on{background:rgba(22,20,15,.06)}
html.site[data-theme=light] .steps button.done b{background:rgba(212,176,106,.25);color:var(--lime)}
html.site[data-theme=light] .wide-card,html.site[data-theme=light] .ed-frame{box-shadow:var(--edge),0 20px 50px -24px rgba(22,20,15,.4)}
html.site[data-theme=light] .create-phone,html.site[data-theme=light] .phone{box-shadow:0 0 0 1px rgba(22,20,15,.06),0 50px 120px -40px rgba(22,20,15,.45),0 30px 120px -40px rgba(212,176,106,.3)}
html.site[data-theme=light] .strip figure,html.site[data-theme=light] .fan figure,html.site[data-theme=light] .feat-phone,html.site[data-theme=light] .rf-tall,html.site[data-theme=light] .stack img{box-shadow:0 14px 30px -14px rgba(22,20,15,.45)}
/* feature cards */
html.site[data-theme=light] .feat-vis.warm{background:radial-gradient(110% 120% at 30% 10%,#F2E3C6,#FBF8F2 70%)}
html.site[data-theme=light] .feat-vis.olive{background:radial-gradient(110% 120% at 70% 10%,#EAE4D6,#F9F7F2 70%)}
html.site[data-theme=light] .prompt-box{background:#fff}
html.site[data-theme=light] .tags span{background:rgba(22,20,15,.06)}
html.site[data-theme=light] .pick-strip i{background:rgba(22,20,15,.05)}
html.site[data-theme=light] .pick-strip i.sel{background:rgba(212,176,106,.3)}
html.site[data-theme=light] .rf-tall small{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7)}
html.site[data-theme=light] .flow{background:radial-gradient(120% 140% at 50% 0%,#F3E7CF,#FBF9F4 70%)}
html.site[data-theme=light] .mini-card,html.site[data-theme=light] .sched{background:#fff}
html.site[data-theme=light] .mini-card .yt,html.site[data-theme=light] .plat .y{color:#fff}
html.site[data-theme=light] .ticker-track .o{-webkit-text-stroke:1.5px rgba(22,20,15,.4)}
html.site[data-theme=light] .reveal-words .w{color:rgba(22,20,15,.18)}
html.site[data-theme=light] .reveal-words .w.on{color:var(--text)}
html.site[data-theme=light] .reveal-words .w.lime.on{color:var(--lime)}
html.site[data-theme=light] .stack-cards li{background:#fff;box-shadow:var(--edge),0 -14px 40px rgba(22,20,15,.08)}
html.site[data-theme=light] .stack-cards li:nth-child(2){background:#FDFCF9}
html.site[data-theme=light] .stack-cards li:nth-child(3){background:#FBF9F5}
html.site[data-theme=light] .stack-cards li:nth-child(4){background:#F9F7F2}
html.site[data-theme=light] .plan.best{background:radial-gradient(120% 80% at 50% 0%,#F6EAD0,#FFFFFF 70%);box-shadow:var(--edge),0 0 0 1px rgba(154,115,41,.18),0 30px 80px -30px rgba(154,115,41,.3)}
html.site[data-theme=light] .cta{background:radial-gradient(80% 120% at 50% 0%,#F3E2BF,#FBF8F1 70%);border-color:rgba(154,115,41,.3)}
html.site[data-theme=light] .try-bar{background:rgba(22,20,15,.08)}
@media (max-width:620px){
  html.site[data-theme=light] .flow{background:none}
  html.site[data-theme=light] .flow>.flow-step{background:#fff}
}
/* legal page (hard-coded colours in its own <style>) */
html.site[data-theme=light] body[style]{background:var(--bg)!important}
html.site[data-theme=light] .legal{color:#3A362F}
html.site[data-theme=light] .legal h1,html.site[data-theme=light] .legal h2,html.site[data-theme=light] .legal h3,html.site[data-theme=light] .legal .back{color:var(--text)}
html.site[data-theme=light] .legal p,html.site[data-theme=light] .legal li{color:#4A463F}
html.site[data-theme=light] .legal a{color:var(--lime)}
html.site[data-theme=light] .legal .tabs a{border-color:rgba(22,20,15,.15);color:var(--text)}
html.site[data-theme=light] .legal .meta{color:var(--dim)}
html.site[data-theme=light] .back{color:var(--text)}
