
/* Cashback V26 — scenic seasonal experience */
body.theme-winter, body.theme-ocean, body.theme-halloween {
 background-size:cover!important;background-position:center center!important;background-attachment:fixed!important;
}
body.theme-winter{background-image:linear-gradient(180deg,rgba(3,15,37,.42),rgba(3,15,37,.70)),url('/static/assets/raster/winter-desktop.webp')!important;color:#eff8ff}
body.theme-ocean{background-image:linear-gradient(180deg,rgba(0,28,43,.36),rgba(0,17,31,.72)),url('/static/assets/raster/ocean-desktop.webp')!important;color:#e8fcff}
body.theme-halloween{background-image:linear-gradient(180deg,rgba(14,7,30,.28),rgba(15,7,24,.72)),url('/static/assets/raster/halloween-desktop.webp')!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important}
body.theme-winter .kpi-card,body.theme-winter .balance-card,body.theme-winter .converter-card,body.theme-winter .table-card,body.theme-winter .app-header,
body.theme-ocean .kpi-card,body.theme-ocean .balance-card,body.theme-ocean .converter-card,body.theme-ocean .table-card,body.theme-ocean .app-header,
body.theme-halloween .kpi-card,body.theme-halloween .balance-card,body.theme-halloween .converter-card,body.theme-halloween .table-card,body.theme-halloween .app-header{
 background:rgba(7,24,48,.70)!important;backdrop-filter:blur(13px) saturate(135%);-webkit-backdrop-filter:blur(13px) saturate(135%);
 border:1px solid rgba(190,225,255,.22)!important;box-shadow:0 12px 34px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.12)
}
body.theme-ocean .kpi-card,body.theme-ocean .balance-card{border-color:rgba(67,224,238,.32)!important}
body.theme-halloween .kpi-card,body.theme-halloween .balance-card{border-color:rgba(193,130,255,.32)!important}
.theme-interaction-icon{cursor:pointer;display:inline-grid;place-items:center;min-width:42px;min-height:42px;border-radius:14px;transition:transform .2s,filter .2s;user-select:none}
.theme-interaction-icon:focus-visible{outline:2px solid var(--pumpkin);outline-offset:3px}
.theme-interaction-icon.is-burst{animation:themeIconBurst .85s ease-out}
@keyframes themeIconBurst{0%{transform:scale(1)}35%{transform:scale(1.28) rotate(12deg);filter:drop-shadow(0 0 15px var(--pumpkin))}70%{transform:scale(.82) rotate(-8deg)}100%{transform:scale(1);filter:none}}
.theme-ambient-fx{position:fixed;inset:0;z-index:40;pointer-events:none;overflow:hidden;contain:layout paint}
.theme-particle{position:absolute;top:-8vh;left:var(--x);font-size:var(--size);opacity:var(--opacity);animation:themeFall var(--duration) linear infinite;animation-delay:var(--delay)}
@keyframes themeFall{to{transform:translate3d(var(--drift),115vh,0) rotate(360deg)}}
.theme-creature{position:fixed;left:-22vw;top:var(--y);font-size:clamp(34px,5vw,66px);z-index:45;pointer-events:none;filter:drop-shadow(0 5px 12px #0008);animation:themePass 13s linear forwards}
@keyframes themePass{0%{transform:translateX(0) translateY(0)}50%{transform:translateX(65vw) translateY(-3vh)}100%{transform:translateX(145vw) translateY(2vh)}}
body.theme-winter .brand-icon,body.theme-ocean .brand-icon,body.theme-halloween .brand-icon{cursor:pointer;filter:drop-shadow(0 0 9px var(--pumpkin))}
body.theme-winter{--pumpkin:#8bd8ff;--bg-dark:#071a36;--bg-surface:rgba(12,36,70,.78);--bg-card:rgba(17,49,88,.68);--text-main:#eff7ff;--text-muted:#b8d3ef;--border-color:rgba(190,224,255,.3)}
body.theme-ocean{--pumpkin:#50e9e1;--bg-dark:#031b2e;--bg-surface:rgba(4,51,69,.78);--bg-card:rgba(5,65,83,.68);--text-main:#e6fbff;--text-muted:#a8dce2;--border-color:rgba(95,231,241,.3)}
body.theme-halloween{--pumpkin:#ff9b43;--bg-dark:#100d22;--bg-surface:rgba(38,24,58,.8);--bg-card:rgba(47,29,68,.7);--text-main:#f5edff;--text-muted:#c5b1d6;--border-color:rgba(204,164,235,.3)}
#btn-chat-trigger.theme-chat-winter{background:linear-gradient(135deg,#1d6fb1,#7dd3fc)!important}
#btn-chat-trigger.theme-chat-ocean{background:linear-gradient(135deg,#047c9c,#22d3ee)!important}
#btn-chat-trigger.theme-chat-halloween{background:linear-gradient(135deg,#54217c,#a855f7)!important}
@media(max-width:760px){body.theme-winter,body.theme-ocean,body.theme-halloween{background-attachment:scroll!important;background-position:center top!important}.theme-creature{font-size:34px}}
@media(prefers-reduced-motion:reduce){.theme-particle,.theme-creature,.theme-interaction-icon.is-burst{animation:none!important}.theme-particle{display:none}}

/* V25 rare seasonal pass-by characters */
.theme-creature.halloween-creature{filter:drop-shadow(0 0 12px #d69aff);font-size:clamp(32px,4vw,58px);animation-duration:15s}
@media(max-width:760px){.theme-creature{font-size:32px;animation-duration:16s}.theme-ambient-fx{opacity:.72}}

/* V26 scenic backgrounds: preserve focal subjects on mobile and strengthen cinematic depth. */
body.theme-winter,body.theme-ocean,body.theme-halloween{background-size:cover!important;background-repeat:no-repeat!important;background-position:center center!important;background-attachment:fixed!important;}
body.theme-winter{background-image:linear-gradient(180deg,rgba(2,12,32,.16),rgba(2,12,32,.42) 60%,rgba(2,12,32,.72)),url('/static/assets/raster/winter-desktop.webp?v=31')!important;}
body.theme-ocean{background-image:linear-gradient(180deg,rgba(0,20,34,.12),rgba(0,20,34,.42) 60%,rgba(0,16,29,.76)),url('/static/assets/raster/ocean-desktop.webp?v=31')!important;}
body.theme-halloween{background-image:linear-gradient(180deg,rgba(12,5,28,.12),rgba(12,5,28,.38) 58%,rgba(8,5,19,.78)),url('/static/assets/raster/halloween-desktop.webp?v=31')!important;}
body.theme-winter .seasonal-kpi{background:linear-gradient(145deg,rgba(12,50,87,.78),rgba(7,25,53,.76));}
body.theme-ocean .seasonal-kpi{background:linear-gradient(145deg,rgba(0,73,87,.78),rgba(0,31,54,.76));}
body.theme-halloween .seasonal-kpi{background:linear-gradient(145deg,rgba(57,25,78,.82),rgba(23,12,42,.78));border-color:rgba(222,151,255,.42)!important;}
body.theme-halloween .glass-panel,body.theme-halloween .seasonal-sidebar{box-shadow:0 16px 44px rgba(0,0,0,.38),0 0 24px rgba(169,87,255,.12),inset 0 1px rgba(255,255,255,.16);}
@media(max-width:760px){body.theme-winter,body.theme-ocean,body.theme-halloween{background-attachment:scroll!important;background-size:auto 100vh!important;background-position:center top!important;}}

/* V27: richer seasonal motion, but decorative layers never intercept input. */
.theme-ambient-fx{z-index:18;opacity:.78;mix-blend-mode:screen}
.theme-particle{will-change:transform;pointer-events:none;text-shadow:0 0 9px currentColor}
.theme-creature{z-index:19;will-change:transform}
.halloween-ambient-layer{z-index:17!important;pointer-events:none!important}
.theme-icon-winter{filter:drop-shadow(0 0 16px #b9edff)!important}
.theme-icon-ocean.puffer-expand{filter:drop-shadow(0 0 17px #52fff0)!important;transform:scale(1.22)!important}
.theme-icon-halloween.pumpkin-glow{filter:brightness(1.75) drop-shadow(0 0 19px #ff8c36)!important}
.theme-interaction-icon.is-burst{animation:themeIconBurst .85s cubic-bezier(.2,.8,.2,1)}
@keyframes pufferPulse{0%,100%{transform:scale(1)}45%{transform:scale(1.23) rotate(5deg);filter:drop-shadow(0 0 16px #54fff0)}}
@media(max-width:760px){.theme-ambient-fx{opacity:.55}.theme-particle{font-size:calc(var(--size)*.78)}}

/* V28 — seasonal scene focal-point tuning on narrow displays. */
@media(max-width:760px){
 body.theme-winter{background-position:54% top!important;background-size:auto 112vh!important;}
 body.theme-ocean{background-position:58% top!important;background-size:auto 112vh!important;}
 body.theme-halloween{background-position:52% top!important;background-size:auto 112vh!important;}
 .theme-ambient-fx{contain:strict;}
 .theme-particle{will-change:transform;}
}
@media(max-width:420px){
 body.theme-winter,body.theme-ocean,body.theme-halloween{background-size:auto 104vh!important;}
 .theme-creature{display:none;}
}


/* V29 — richer scene depth, responsive focal points and seasonal glass treatment. */
body.theme-winter,body.theme-ocean,body.theme-halloween{
  background-color:#080d20!important;background-repeat:no-repeat!important;
  background-size:cover!important;background-position:center 42%!important;
  background-attachment:fixed!important;
}
body.theme-winter{
  background-image:
    radial-gradient(ellipse at 50% 10%,rgba(64,160,255,.16),transparent 48%),
    linear-gradient(180deg,rgba(2,12,32,.08) 0%,rgba(2,12,32,.26) 48%,rgba(2,9,24,.78) 100%),
    url('/static/assets/raster/winter-desktop.webp?v=31')!important;
}
body.theme-ocean{
  background-image:
    radial-gradient(ellipse at 72% 20%,rgba(0,226,231,.16),transparent 48%),
    linear-gradient(180deg,rgba(0,18,35,.08) 0%,rgba(0,20,35,.30) 48%,rgba(0,12,26,.82) 100%),
    url('/static/assets/raster/ocean-desktop.webp?v=31')!important;
}
body.theme-halloween{
  background-image:
    radial-gradient(ellipse at 72% 12%,rgba(174,83,255,.18),transparent 45%),
    linear-gradient(180deg,rgba(12,5,27,.08) 0%,rgba(12,5,27,.30) 50%,rgba(8,4,18,.84) 100%),
    url('/static/assets/raster/halloween-desktop.webp?v=31')!important;
}
body.theme-winter .glass-panel,body.theme-winter .seasonal-sidebar,body.theme-winter .seasonal-kpi{
  border-color:rgba(151,218,255,.38)!important;box-shadow:0 14px 38px rgba(0,12,38,.36),0 0 20px rgba(88,180,255,.10),inset 0 1px rgba(255,255,255,.18);
}
body.theme-ocean .glass-panel,body.theme-ocean .seasonal-sidebar,body.theme-ocean .seasonal-kpi{
  border-color:rgba(75,229,231,.38)!important;box-shadow:0 14px 38px rgba(0,18,35,.38),0 0 20px rgba(25,215,220,.10),inset 0 1px rgba(255,255,255,.16);
}
body.theme-halloween .glass-panel,body.theme-halloween .seasonal-sidebar,body.theme-halloween .seasonal-kpi{
  border-color:rgba(202,147,255,.40)!important;box-shadow:0 14px 38px rgba(12,4,24,.42),0 0 22px rgba(175,89,255,.13),inset 0 1px rgba(255,255,255,.17);
}
.theme-ambient-fx.ambient-paused *,body.ambient-paused .halloween-ambient-layer *{animation-play-state:paused!important}
.theme-icon-ocean.puffer-expand{position:relative;isolation:isolate;filter:drop-shadow(0 0 18px #4bfff0)!important;animation:pufferExpandV29 .82s cubic-bezier(.2,.8,.2,1)!important}
@keyframes pufferExpandV29{0%,100%{transform:scale(1)}38%{transform:scale(1.28) rotate(7deg)}65%{transform:scale(1.12) rotate(-4deg)}}
.theme-icon-halloween.pumpkin-glow{animation:pumpkinPulseV29 .9s ease-out!important}
@keyframes pumpkinPulseV29{0%,100%{filter:none}40%{filter:brightness(1.8) drop-shadow(0 0 22px #ff9b35);transform:scale(1.15)}70%{filter:brightness(1.35) drop-shadow(0 0 12px #ff9b35)}}
@media(max-width:760px){
  body.theme-winter,body.theme-ocean,body.theme-halloween{background-attachment:scroll!important;background-size:auto 112vh!important;background-position:center top!important;}
  body.theme-winter{background-position:52% top!important}
  body.theme-ocean{background-position:57% top!important}
  body.theme-halloween{background-position:54% top!important}
  .theme-ambient-fx{opacity:.48}
}
@media(max-width:420px){
  body.theme-winter,body.theme-ocean,body.theme-halloween{background-size:auto 106vh!important}
  .theme-ambient-fx{opacity:.38}
}
@media(prefers-reduced-motion:reduce){
  .theme-ambient-fx,.theme-creature,.halloween-ambient-layer{display:none!important}
  .theme-icon-ocean.puffer-expand,.theme-icon-halloween.pumpkin-glow{animation:none!important}
}

/* V30 ULTIMATE — layered scenic worlds, clearer glass and mobile-safe ambience. */
:root{--scene-accent:#a78bfa;--scene-glow:rgba(167,139,250,.22)}
body.theme-winter{--scene-accent:#8de4ff;--scene-glow:rgba(66,184,255,.2)}
body.theme-ocean{--scene-accent:#55f4e5;--scene-glow:rgba(0,226,231,.2)}
body.theme-halloween{--scene-accent:#ffad61;--scene-glow:rgba(190,105,255,.22)}
body.theme-winter,body.theme-ocean,body.theme-halloween{background-color:#070d1d!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;background-attachment:fixed!important;}
body.theme-winter{background-image:radial-gradient(ellipse at 50% 10%,rgba(80,210,255,.16),transparent 52%),linear-gradient(180deg,rgba(2,10,28,.10),rgba(2,10,28,.34) 54%,rgba(2,8,22,.80)),url('/static/assets/raster/winter-desktop.webp?v=31')!important;}
body.theme-ocean{background-image:radial-gradient(ellipse at 58% 0%,rgba(44,255,230,.18),transparent 50%),linear-gradient(180deg,rgba(0,17,32,.10),rgba(0,18,31,.38) 54%,rgba(0,10,23,.84)),url('/static/assets/raster/ocean-desktop.webp?v=31')!important;}
body.theme-halloween{background-image:radial-gradient(ellipse at 72% 8%,rgba(255,129,60,.17),transparent 42%),linear-gradient(180deg,rgba(11,5,25,.08),rgba(11,5,25,.36) 55%,rgba(7,4,17,.84)),url('/static/assets/raster/halloween-desktop.webp?v=31')!important;}
body.theme-winter .glass-panel,body.theme-winter .seasonal-sidebar,body.theme-winter .seasonal-kpi{background:linear-gradient(145deg,rgba(8,39,73,.78),rgba(7,20,48,.76));border-color:rgba(150,222,255,.48)!important;box-shadow:0 14px 42px rgba(0,12,38,.4),0 0 22px rgba(88,190,255,.15),inset 0 1px rgba(255,255,255,.2)}
body.theme-ocean .glass-panel,body.theme-ocean .seasonal-sidebar,body.theme-ocean .seasonal-kpi{background:linear-gradient(145deg,rgba(0,54,69,.8),rgba(2,23,46,.78));border-color:rgba(76,235,226,.46)!important;box-shadow:0 14px 42px rgba(0,15,30,.42),0 0 22px rgba(40,230,220,.13),inset 0 1px rgba(255,255,255,.18)}
body.theme-halloween .glass-panel,body.theme-halloween .seasonal-sidebar,body.theme-halloween .seasonal-kpi{background:linear-gradient(145deg,rgba(43,20,67,.84),rgba(15,10,35,.8));border-color:rgba(208,154,255,.48)!important;box-shadow:0 14px 42px rgba(10,4,24,.46),0 0 24px rgba(174,91,255,.16),inset 0 1px rgba(255,255,255,.19)}
body.theme-winter .seasonal-welcome h1,body.theme-ocean .seasonal-welcome h1,body.theme-halloween .seasonal-welcome h1{text-shadow:0 3px 24px var(--scene-glow)}
.theme-option-halloween .theme-option-art{background-image:url('/static/assets/raster/halloween-desktop.webp?v=31')!important}
.theme-option-winter .theme-option-art{background-image:url('/static/assets/raster/winter-desktop.webp?v=31')!important}
.theme-option-ocean .theme-option-art{background-image:url('/static/assets/raster/ocean-desktop.webp?v=31')!important}
.theme-ambient-fx{z-index:18!important;opacity:.72;mix-blend-mode:screen;pointer-events:none!important}
.theme-particle{will-change:transform;pointer-events:none!important;text-shadow:0 0 10px currentColor}
.theme-creature{z-index:19!important;pointer-events:none!important;will-change:transform}
.theme-icon-burst-layer{position:fixed;inset:0;z-index:1500;pointer-events:none;overflow:hidden}
.theme-icon-spark{position:absolute;left:var(--sx);top:var(--sy);font-size:var(--ss);opacity:0;animation:themeSparkV30 .72s ease-out forwards;filter:drop-shadow(0 0 8px currentColor)}
@keyframes themeSparkV30{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}18%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(.1) rotate(170deg)}}
.theme-interaction-icon,.brand-icon{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.theme-interaction-icon:focus-visible,.brand-icon:focus-visible{outline:2px solid var(--scene-accent);outline-offset:4px}
body.ambient-paused .theme-ambient-fx *,body.ambient-paused .halloween-ambient-layer *{animation-play-state:paused!important}
@media(max-width:760px){
 body.theme-winter,body.theme-ocean,body.theme-halloween{background-attachment:scroll!important;background-size:auto 100vh!important;background-repeat:repeat-y!important;background-position:center top!important}
 body.theme-winter{background-position:52% top!important}body.theme-ocean{background-position:56% top!important}body.theme-halloween{background-position:54% top!important}
 .theme-ambient-fx{opacity:.42}.theme-creature{font-size:30px;animation-duration:17s}
 .seasonal-dashboard,.seasonal-theme-gallery{content-visibility:visible}
}
@media(max-width:420px){.theme-ambient-fx{opacity:.32}.theme-creature{display:none!important}.theme-particle{font-size:calc(var(--size)*.7)}}
@media(prefers-reduced-motion:reduce){.theme-icon-spark,.theme-particle,.theme-creature{display:none!important}.theme-ambient-fx,.halloween-ambient-layer{animation:none!important}}
