/* Cashback Pro V32 — cinematic glass finish. No business logic changes. */
:root{
 --cinema-glow:rgba(112,170,255,.32);
 --cinema-panel:rgba(7,18,39,.72);
 --cinema-line:rgba(190,220,255,.34);
}
html{scroll-behavior:smooth}
body{isolation:isolate}
html:not(.theme-bootstrap-light) body:not(.default-light-mode){background-color:#071329!important}
html.theme-bootstrap-light,
html.theme-bootstrap-light body,
html body.default-light-mode{background:#fff!important;background-color:#fff!important;background-image:none!important}
html:not(.theme-bootstrap-light) body:not(.default-light-mode)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(3,8,22,.08) 0%,rgba(3,8,22,.22) 40%,rgba(3,8,22,.72) 100%),radial-gradient(ellipse at 50% 0%,transparent 15%,rgba(2,7,20,.22) 80%);}
#cinematic-particles{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.72}
.app-header,.main-container,#halloween-layer,.theme-ambient-fx,.seasonal-dashboard,.seasonal-theme-gallery{position:relative;z-index:1}
.app-header{background:linear-gradient(100deg,rgba(5,13,31,.91),rgba(11,20,49,.78))!important;border-bottom:1px solid rgba(164,205,255,.28)!important;box-shadow:0 12px 38px rgba(0,0,0,.26),0 1px 0 rgba(255,255,255,.07) inset!important;backdrop-filter:blur(20px) saturate(145%)!important;-webkit-backdrop-filter:blur(20px) saturate(145%)!important}
.brand-icon{filter:drop-shadow(0 0 13px var(--cinema-glow));}
.brand-title{letter-spacing:-.035em;text-shadow:0 2px 20px rgba(112,180,255,.28)}
.seasonal-dashboard{gap:clamp(10px,1.2vw,18px)!important;align-items:stretch!important}
.glass-panel,.seasonal-sidebar,.seasonal-kpi{background:linear-gradient(145deg,rgba(12,29,58,.78),rgba(7,15,37,.72))!important;border:1px solid var(--cinema-line)!important;box-shadow:0 18px 50px rgba(0,0,0,.32),0 0 26px var(--cinema-glow),inset 0 1px 0 rgba(255,255,255,.16)!important;backdrop-filter:blur(19px) saturate(150%)!important;-webkit-backdrop-filter:blur(19px) saturate(150%)!important}
.seasonal-sidebar{background:linear-gradient(160deg,rgba(8,20,44,.88),rgba(11,15,42,.76))!important}
.side-link{min-height:42px!important;font-size:clamp(11px,.92vw,13px)!important;transition:background .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease!important}
.side-link:hover{transform:translateX(3px)}
.seasonal-welcome{padding-top:clamp(10px,1.4vw,20px)!important}
.seasonal-welcome h1{letter-spacing:-.035em!important;text-shadow:0 3px 24px rgba(100,180,255,.42)!important}
.seasonal-kpi{min-height:104px;border-radius:18px!important;position:relative;overflow:hidden}
.seasonal-kpi::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.10) 48%,transparent 70%);transform:translateX(-120%);animation:cinemaSheen 9s ease-in-out infinite}
.seasonal-kpi:nth-child(2)::after{animation-delay:1.5s}.seasonal-kpi:nth-child(3)::after{animation-delay:3s}.seasonal-kpi:nth-child(4)::after{animation-delay:4.5s}
@keyframes cinemaSheen{0%,72%,100%{transform:translateX(-120%)}84%{transform:translateX(120%)}}
.seasonal-orders{background:linear-gradient(145deg,rgba(9,24,50,.83),rgba(8,14,35,.77))!important}
.dashboard-orders th{background:rgba(120,175,255,.08)!important}
.dashboard-orders tbody tr{transition:background .18s ease}
.dashboard-orders tbody tr:hover{background:rgba(117,177,255,.10)}
.seasonal-shortcuts button,.dashboard-refresh,.text-action{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.seasonal-shortcuts button:hover,.dashboard-refresh:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(80,150,255,.24)}
.theme-interaction-card,.upgrade-card,.ai-promo{background:linear-gradient(145deg,rgba(13,31,61,.82),rgba(14,17,48,.78))!important}
.ai-promo{border:1px solid rgba(143,205,255,.38)!important;box-shadow:0 12px 35px rgba(0,0,0,.25),0 0 22px rgba(89,171,255,.2)!important}
.ai-mascot{animation:mascotFloat 4.5s ease-in-out infinite;filter:drop-shadow(0 0 15px rgba(93,190,255,.55))!important}
@keyframes mascotFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
.seasonal-theme-gallery{margin-top:18px!important;padding:clamp(13px,2vw,22px)!important;border-radius:22px!important;background:linear-gradient(145deg,rgba(7,18,39,.78),rgba(14,17,43,.70))!important}
.theme-option{overflow:hidden!important;border-radius:16px!important;box-shadow:0 10px 26px rgba(0,0,0,.22)!important;transition:transform .22s ease,box-shadow .22s ease!important}
.theme-option:hover{transform:translateY(-4px)!important;box-shadow:0 16px 36px rgba(0,0,0,.34),0 0 20px var(--cinema-glow)!important}
.theme-option-art{filter:saturate(1.15) contrast(1.05)!important}
body.theme-winter{--cinema-glow:rgba(60,177,255,.32);--cinema-line:rgba(110,203,255,.40)}
body.theme-ocean{--cinema-glow:rgba(30,218,222,.30);--cinema-line:rgba(69,231,221,.40)}
body.theme-halloween{--cinema-glow:rgba(181,88,255,.30);--cinema-line:rgba(219,150,255,.38)}
body.theme-halloween .seasonal-kpi,body.theme-halloween .seasonal-orders{background:linear-gradient(145deg,rgba(35,18,57,.82),rgba(15,10,35,.76))!important}
body.theme-ocean .seasonal-kpi,body.theme-ocean .seasonal-orders{background:linear-gradient(145deg,rgba(2,39,55,.82),rgba(3,20,43,.76))!important}
body.theme-winter .seasonal-kpi,body.theme-winter .seasonal-orders{background:linear-gradient(145deg,rgba(9,37,73,.82),rgba(5,18,45,.76))!important}
@media(max-width:1120px){.seasonal-dashboard{gap:12px!important}.seasonal-right{gap:10px!important}}
@media(max-width:760px){
 #cinematic-particles{opacity:.48}
 html:not(.theme-bootstrap-light) body:not(.default-light-mode)::before{background:linear-gradient(180deg,rgba(3,8,22,.12),rgba(3,8,22,.42) 40%,rgba(3,8,22,.78))}
 .seasonal-sidebar,.glass-panel,.seasonal-kpi{backdrop-filter:blur(14px) saturate(135%)!important;-webkit-backdrop-filter:blur(14px) saturate(135%)!important}
 .seasonal-kpi{min-height:82px}
 .seasonal-orders{overflow:hidden}
 .seasonal-theme-gallery{margin:12px 0!important}
 .theme-option{min-height:112px}
 .side-link:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.seasonal-kpi::after,.ai-mascot{animation:none!important}.theme-option,.side-link{transition:none!important}}
.cinema-icon-burst{animation:cinemaIconBurst .82s cubic-bezier(.2,.8,.2,1)!important}
@keyframes cinemaIconBurst{0%{transform:scale(1) rotate(0);filter:brightness(1)}35%{transform:scale(1.38) rotate(12deg);filter:brightness(1.9) drop-shadow(0 0 16px #83dcff)}70%{transform:scale(.88) rotate(-8deg);filter:brightness(1.5)}100%{transform:scale(1) rotate(0);filter:brightness(1)}}

/* V36.7.87 — the default-light canvas has no global dark veil or cinematic tint. */
html.theme-bootstrap-light #cinematic-particles,
html body.default-light-mode #cinematic-particles,
html.theme-bootstrap-light #cinematic-particles-front,
html body.default-light-mode #cinematic-particles-front,
html.theme-bootstrap-light #seasonal-creature-back,
html body.default-light-mode #seasonal-creature-back,
html.theme-bootstrap-light #seasonal-creature-front,
html body.default-light-mode #seasonal-creature-front,
html.theme-bootstrap-light #halloween-layer,
html body.default-light-mode #halloween-layer,
html.theme-bootstrap-light .theme-ambient-fx,
html body.default-light-mode .theme-ambient-fx {
  display:none!important; opacity:0!important; visibility:hidden!important;
}
