/* TickPit cinematic theme switch — preserves the existing #tp-theme behavior */
#tp-theme.tp-theme-cinematic{position:relative!important;display:block!important;width:74px!important;height:42px!important;min-width:74px!important;padding:0!important;border:1px solid rgba(51,65,85,.72)!important;border-radius:999px!important;overflow:hidden!important;direction:ltr!important;font-size:0!important;color:transparent!important;background:radial-gradient(ellipse at 18% 12%,#263449 0%,#111827 43%,#020617 100%)!important;box-shadow:inset 4px 4px 10px rgba(0,0,0,.88),inset -4px -4px 10px rgba(100,116,139,.24),inset 0 2px 5px rgba(0,0,0,.95),inset 0 -1px 3px rgba(100,116,139,.26),0 7px 18px rgba(0,0,0,.4)!important;transition:background .55s ease,border-color .45s ease,box-shadow .55s ease,transform .18s ease!important;isolation:isolate;-webkit-tap-highlight-color:transparent}
#tp-theme.tp-theme-cinematic:active{transform:scale(.97)!important}
#tp-theme.tp-theme-cinematic:focus-visible{outline:2px solid #ffb13b!important;outline-offset:3px!important}
#tp-theme.tp-theme-cinematic:before{content:"☾";position:absolute;z-index:2;left:5px;top:5px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:17px;line-height:1;color:#fef3c7;background:linear-gradient(145deg,#718096,#475569 52%,#293548);border:1px solid rgba(148,163,184,.4);box-shadow:inset 2px 2px 4px rgba(148,163,184,.3),inset -2px -2px 4px rgba(0,0,0,.72),inset 0 1px 1px rgba(255,255,255,.16),0 6px 16px rgba(0,0,0,.56),0 2px 5px rgba(0,0,0,.45);transform:translateX(32px);transition:transform .62s cubic-bezier(.34,1.56,.64,1),background .45s,border-color .45s,box-shadow .45s,color .45s}
#tp-theme.tp-theme-cinematic:after{content:"";position:absolute;z-index:1;right:16px;top:50%;width:8px;height:8px;margin:-4px;border-radius:50%;opacity:0;pointer-events:none;background:radial-gradient(circle,rgba(147,197,253,.75),rgba(147,197,253,0) 72%)}
#tp-theme.tp-theme-burst:after{animation:tpThemeBurst .76s ease-out both}
body.tp-light #tp-theme.tp-theme-cinematic{border-color:rgba(203,213,225,.82)!important;background:radial-gradient(ellipse at 18% 12%,#fff 0%,#f1f5f9 44%,#cbd5e1 100%)!important;box-shadow:inset 4px 4px 10px rgba(148,163,184,.48),inset -4px -4px 10px #fff,inset 0 2px 5px rgba(100,116,139,.36),inset 0 -1px 3px rgba(255,255,255,.95),0 7px 18px rgba(15,23,42,.14)!important}
body.tp-light #tp-theme.tp-theme-cinematic:before{content:"☀";color:#f59e0b;transform:translateX(0);background:linear-gradient(145deg,#fff,#f8fafc 55%,#e2e8f0);border-color:rgba(255,255,255,.96);box-shadow:inset 2px 2px 4px rgba(203,213,225,.3),inset -2px -2px 4px #fff,0 6px 16px rgba(15,23,42,.18),0 2px 5px rgba(15,23,42,.12)}
body.tp-light #tp-theme.tp-theme-cinematic:after{left:16px;right:auto;background:radial-gradient(circle,rgba(251,191,36,.85),rgba(251,191,36,0) 72%)}
@keyframes tpThemeBurst{0%{transform:scale(0);opacity:0}25%{opacity:1}100%{transform:scale(7);opacity:0}}
@media(max-width:720px){#tp-theme.tp-theme-cinematic{width:64px!important;height:34px!important;min-width:64px!important}#tp-theme.tp-theme-cinematic:before{left:4px;top:4px;width:26px;height:26px;font-size:15px;transform:translateX(28px)}body.tp-light #tp-theme.tp-theme-cinematic:before{transform:translateX(0)}#tp-theme.tp-theme-cinematic:after{right:13px}body.tp-light #tp-theme.tp-theme-cinematic:after{left:13px}}
@media(prefers-reduced-motion:reduce){#tp-theme.tp-theme-cinematic,#tp-theme.tp-theme-cinematic:before{transition:none!important}#tp-theme.tp-theme-cinematic:after{animation:none!important}}
