/*
 * Cashback Pro V36.7.134 — Visible animated gradients for the four Dashboard KPI cards.
 *
 * Built on V36.7.133. This patch targets the real markup:
 *   #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi
 *
 * Why this patch is more visible:
 * - V133 used broad, low-opacity background layers that could read as a static
 *   tint over the seasonal scene.
 * - This version uses more distinct colored regions, larger gradient canvases
 *   and a slower-but-clearer background-position animation.
 * - Uses background shorthand with high-specificity selectors to override
 *   older !important background shorthands in legacy theme CSS.
 *
 * The four cards keep the existing V129 glass/translucency and layout. No
 * pseudo-elements, added wrappers, size changes, shadows that obscure text,
 * or modifications to the welcome heading/header.
 */

/* Base properties and staggered movement. */
html body #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi {
  box-sizing: border-box !important;
  background-repeat: no-repeat !important;
  background-size: 260% 260%, 260% 260%, 280% 280% !important;
  background-position: 0% 0%, 100% 100%, 0% 50% !important;
  background-clip: padding-box !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  animation-duration: 22s !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
  animation-fill-mode: both !important;
  will-change: background-position;
}

html body #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi:nth-child(1) {
  animation-name: v367134KpiFlowA !important;
}
html body #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi:nth-child(2) {
  animation-name: v367134KpiFlowB !important;
  animation-delay: -5.5s !important;
}
html body #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi:nth-child(3) {
  animation-name: v367134KpiFlowC !important;
  animation-delay: -11s !important;
}
html body #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi:nth-child(4) {
  animation-name: v367134KpiFlowD !important;
  animation-delay: -16.5s !important;
}

/* DEFAULT LIGHT — keep the established pastel glass, but add a clear
   blue -> lavender -> mint gradient that moves across each card. */
html body.theme-default.default-light-mode #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi,
html body.default-light-mode #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi {
  color: #30445e !important;
  background:
    radial-gradient(ellipse 75% 115% at 4% 8%, rgba(73, 145, 222, .40), transparent 72%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(166, 119, 219, .34), transparent 72%),
    linear-gradient(118deg, rgba(145, 190, 238, .48) 0%, rgba(188, 167, 229, .43) 52%, rgba(133, 204, 191, .39) 100%) !important;
  border: 1px solid rgba(104, 143, 192, .42) !important;
  box-shadow: 0 8px 21px rgba(49, 75, 116, .085),
              inset 0 1px 0 rgba(255,255,255,.46) !important;
}

/* DEFAULT DARK — visibly shifting navy / cobalt / violet, still dark enough
   to match the pre-update V129 look and retain white-text contrast. */
html body.theme-default.default-dark-mode #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi,
html body.default-dark-mode #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi {
  color: #eaf2ff !important;
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(50, 123, 205, .42), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(130, 76, 190, .34), transparent 73%),
    linear-gradient(118deg, rgba(24, 67, 111, .72) 0%, rgba(28, 48, 91, .70) 52%, rgba(48, 35, 82, .68) 100%) !important;
  border: 1px solid rgba(117, 151, 203, .34) !important;
  box-shadow: 0 9px 23px rgba(0,0,0,.20),
              inset 0 1px 0 rgba(230,241,255,.075) !important;
}

/* Give each KPI a slightly different accent without changing their layout. */
html body.theme-default.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-cyan,
html body.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-cyan {
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(35, 174, 207, .40), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(92, 111, 204, .30), transparent 73%),
    linear-gradient(118deg, rgba(17, 88, 120, .70), rgba(24, 59, 102, .68) 52%, rgba(41, 48, 93, .66)) !important;
}
html body.theme-default.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-purple,
html body.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-purple {
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(139, 82, 203, .39), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(70, 111, 197, .29), transparent 73%),
    linear-gradient(118deg, rgba(69, 42, 111, .69), rgba(40, 46, 96, .67) 52%, rgba(27, 57, 91, .65)) !important;
}
html body.theme-default.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-blue,
html body.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-blue {
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(70, 137, 217, .39), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(106, 92, 194, .30), transparent 73%),
    linear-gradient(118deg, rgba(34, 77, 132, .70), rgba(36, 52, 105, .67) 52%, rgba(33, 53, 87, .65)) !important;
}
html body.theme-default.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-green,
html body.default-dark-mode #seasonal-dashboard .seasonal-kpis > article.seasonal-kpi.kpi-green {
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(44, 159, 140, .37), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(65, 121, 190, .29), transparent 73%),
    linear-gradient(118deg, rgba(23, 91, 91, .68), rgba(24, 62, 91, .67) 52%, rgba(37, 52, 91, .65)) !important;
}

/* HALLOWEEN — retain deep plum and scene visibility; gradient is purple with
   restrained ember/orange variation, not a bright magenta fill. */
html body.theme-halloween #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi {
  color: #f8efff !important;
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(158, 77, 184, .39), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(205, 91, 69, .27), transparent 73%),
    linear-gradient(118deg, rgba(88, 42, 112, .63) 0%, rgba(54, 29, 78, .69) 52%, rgba(92, 39, 66, .63) 100%) !important;
  border: 1px solid rgba(195, 143, 218, .34) !important;
  box-shadow: 0 9px 23px rgba(10, 3, 18, .22),
              inset 0 1px 0 rgba(255,232,220,.07) !important;
}

/* WINTER — deep glacier blue / ice cyan / subtle silver-blue. Keep snow scene
   visible through the glass instead of washing the cards out. */
html body.theme-winter #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi {
  color: #eef8ff !important;
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(60, 156, 222, .39), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(113, 190, 232, .28), transparent 73%),
    linear-gradient(118deg, rgba(15, 86, 139, .61) 0%, rgba(14, 54, 98, .68) 52%, rgba(20, 91, 121, .60) 100%) !important;
  border: 1px solid rgba(139, 205, 244, .34) !important;
  box-shadow: 0 9px 23px rgba(0, 12, 30, .22),
              inset 0 1px 0 rgba(235,250,255,.075) !important;
}

/* OCEAN — deep teal / blue / turquoise, restrained translucent surfaces. */
html body.theme-ocean #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi {
  color: #eaffff !important;
  background:
    radial-gradient(ellipse 76% 116% at 5% 8%, rgba(20, 177, 169, .38), transparent 73%),
    radial-gradient(ellipse 78% 118% at 96% 92%, rgba(53, 139, 211, .30), transparent 73%),
    linear-gradient(118deg, rgba(5, 105, 111, .60) 0%, rgba(5, 57, 83, .68) 52%, rgba(9, 99, 123, .59) 100%) !important;
  border: 1px solid rgba(83, 210, 204, .34) !important;
  box-shadow: 0 9px 23px rgba(0, 12, 20, .22),
              inset 0 1px 0 rgba(226,255,251,.07) !important;
}

/* Large travel across the background gradient; stagger each card so the
   dashboard does not look like four synchronized solid-color blocks. */
@keyframes v367134KpiFlowA {
  0% { background-position: 0% 0%, 100% 100%, 0% 50%; }
  50% { background-position: 65% 38%, 28% 72%, 55% 48%; }
  100% { background-position: 100% 100%, 0% 0%, 100% 52%; }
}
@keyframes v367134KpiFlowB {
  0% { background-position: 100% 0%, 0% 100%, 100% 50%; }
  50% { background-position: 35% 62%, 72% 28%, 45% 52%; }
  100% { background-position: 0% 100%, 100% 0%, 0% 48%; }
}
@keyframes v367134KpiFlowC {
  0% { background-position: 0% 100%, 100% 0%, 100% 50%; }
  50% { background-position: 52% 35%, 44% 66%, 45% 48%; }
  100% { background-position: 100% 0%, 0% 100%, 0% 52%; }
}
@keyframes v367134KpiFlowD {
  0% { background-position: 100% 100%, 0% 0%, 0% 50%; }
  50% { background-position: 42% 64%, 58% 36%, 55% 52%; }
  100% { background-position: 0% 0%, 100% 100%, 100% 48%; }
}

@media (prefers-reduced-motion: reduce) {
  html body #seasonal-dashboard .seasonal-main .seasonal-kpis > article.seasonal-kpi {
    animation: none !important;
    will-change: auto !important;
  }
}
