/* Copeak Learning Activity — luminous gradient treatment, isolated to the home dashboard. */
#copeakHomeHub .cp-extra.cp-activity-premium{
  position:relative;
  isolation:isolate;
  padding:clamp(11px,1.35vw,19px) clamp(12px,1.5vw,22px);
  border:1px solid rgba(190,216,236,.8);
  border-radius:22px;
  background:
    radial-gradient(ellipse 60% 90% at 0% 100%,rgba(115,207,234,.14),transparent 75%),
    radial-gradient(ellipse 65% 110% at 100% -10%,rgba(97,161,253,.12),transparent 85%),
    linear-gradient(120deg,rgba(255,255,255,.98),rgba(246,250,255,.97) 65%,rgba(252,253,255,.99));
  box-shadow:0 12px 30px rgba(38,93,146,.095),inset 0 1px 0 rgba(255,255,255,.93);
  overflow:hidden;
}
#copeakHomeHub .cp-activity-premium::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,#83e6d9 0%,#36b6dd 54%,#558af4 100%);
  opacity:.75;
}
#copeakHomeHub .cp-activity-premium .cp-record-header,
#copeakHomeHub .cp-activity-premium .cp-record-content{position:relative;z-index:1}
#copeakHomeHub .cp-activity-premium .cp-record-header{
  display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;
}
#copeakHomeHub .cp-activity-premium .cp-record-header h3{
  display:flex;align-items:center;gap:7px;
  margin:0;color:#173957;font-size:clamp(12px,1.14vw,15px);
  font-weight:900;letter-spacing:.025em;white-space:nowrap;
}
#copeakHomeHub .cp-activity-premium .cp-record-heading-mark{
  display:grid;place-items:center;
  width:25px;height:25px;
  flex:none;border-radius:8px;
  color:#136e91;background:linear-gradient(145deg,#dbfff5,#dceeff);
  box-shadow:inset 0 1px 0 #fff,0 2px 7px #58a9d01a;
  font-size:15px;
}
#copeakHomeHub .cp-activity-premium .cp-record-overline{
  font-size:clamp(8px,.7vw,10px);font-weight:850;
  line-height:1;letter-spacing:.12em;
  color:#7b98b5;white-space:nowrap;
}
#copeakHomeHub .cp-activity-premium .cp-record-content{
  display:flex;align-items:center;
  gap:clamp(11px,1.5vw,22px);
  height:calc(100% - 27px);
  min-width:0;
  margin-top:3px;
}
#copeakHomeHub .cp-activity-premium .cp-ring-stack{position:relative;display:flex;justify-content:center;align-items:center;flex:none}
#copeakHomeHub .cp-activity-premium .cp-progress-ring{
  position:relative;display:grid;place-items:center;
  flex:none;
  width:clamp(82px,9.4vw,122px);height:clamp(82px,9.4vw,122px);
  border-radius:50%;
  background:radial-gradient(circle at 50% 55%,rgba(232,248,253,.95) 0%,rgba(248,252,255,.7) 63%,transparent 73%);
  filter:drop-shadow(0 4px 10px rgba(55,134,179,.1));
}
#copeakHomeHub .cp-activity-premium .cp-progress-svg{display:block;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}
#copeakHomeHub .cp-activity-premium :is(.cp-ring-track,.cp-ring-halo,.cp-ring-progress){
  fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke;
}
#copeakHomeHub .cp-activity-premium .cp-ring-track{
  stroke:#e4edf7;stroke-width:11px;
}
#copeakHomeHub .cp-activity-premium .cp-ring-halo{
  stroke-width:16px;opacity:.28;filter:blur(3px);
  transition:stroke-dasharray 850ms cubic-bezier(.22,.8,.28,1);
}
#copeakHomeHub .cp-activity-premium .cp-ring-progress{
  stroke-width:11px;
  filter:drop-shadow(0 1px 3px rgba(36,151,198,.16));
  transition:stroke-dasharray 850ms cubic-bezier(.22,.8,.28,1);
}
#copeakHomeHub .cp-activity-premium .cp-progress-core{
  position:absolute;inset:0;
  width:auto;height:auto;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;
  border:0;border-radius:50%;background:transparent;
  color:#184b7b;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:inherit;
}
#copeakHomeHub .cp-activity-premium .cp-progress-core strong{
  color:#185181;font-size:clamp(17px,1.75vw,23px);
  font-weight:850;line-height:1;letter-spacing:-.04em;white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
#copeakHomeHub .cp-activity-premium .cp-progress-core small{
  color:#7891a7;font-size:clamp(8px,.7vw,10px);
  line-height:1.15;font-weight:750;white-space:nowrap;
}
#copeakHomeHub .cp-activity-premium .cp-record-metrics{
  display:grid;
  flex:1;min-width:0;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:auto auto;
  column-gap:clamp(8px,1.35vw,19px);
  row-gap:clamp(6px,1.05vw,12px);
  align-content:center;
}
#copeakHomeHub .cp-activity-premium .cp-record-stat{
  position:relative;display:flex;flex-direction:column;justify-content:center;
  gap:3px;min-width:0;
}
#copeakHomeHub .cp-activity-premium .cp-record-stat-label{
  color:#67849f;font-size:clamp(9px,.82vw,12px);
  line-height:1.33;font-weight:750;
}
#copeakHomeHub .cp-activity-premium .cp-record-stat-label small{font-size:9px;color:#8ca3b7}
#copeakHomeHub .cp-activity-premium .cp-record-stat strong{
  display:block;align-self:flex-start;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:clamp(17px,2.05vw,27px);
  font-weight:850;line-height:1.05;
  letter-spacing:-.036em;font-variant-numeric:tabular-nums;
  color:#184b85;
}
#copeakHomeHub .cp-activity-premium .cp-record-streak strong{
  background:linear-gradient(120deg,#16877f,#1aaebc 65%,#48badc);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
#copeakHomeHub .cp-activity-premium .cp-record-average{grid-column:2;grid-row:1 / span 2}
#copeakHomeHub .cp-activity-premium .cp-record-average strong{
  background:linear-gradient(108deg,#2064bd,#328bea 58%,#4bbde3);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
#copeakHomeHub .cp-activity-premium .cp-record-stat-total{grid-column:1;grid-row:2}
#copeakHomeHub .cp-activity-premium .cp-record-stat-total strong{color:#24507e}
#copeakHomeHub .cp-activity-premium .cp-average-meter{
  position:relative;height:6px;max-width:136px;width:96%;
  margin-top:5px;border-radius:20px;overflow:hidden;
  background:linear-gradient(90deg,#e7eef8,#dfe8f2);
  box-shadow:inset 0 1px 2px rgba(29,87,132,.08);
}
#copeakHomeHub .cp-activity-premium .cp-average-meter-fill{
  display:block;width:0;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#2478d6 0%,#379fed 60%,#63d8e4 100%);
  box-shadow:0 0 10px rgba(61,156,236,.37);
  transition:width 850ms cubic-bezier(.22,.8,.28,1);
}
@media(max-width:900px){
 #copeakHomeHub .cp-activity-premium .cp-record-overline{display:none}
 #copeakHomeHub .cp-activity-premium .cp-record-metrics{column-gap:8px}
 #copeakHomeHub .cp-activity-premium .cp-record-stat-label small{display:none}
}
@media(max-width:700px){
 #copeakHomeHub .cp-extra.cp-activity-premium{padding:8px 8px 7px;border-radius:16px}
 #copeakHomeHub .cp-activity-premium .cp-record-heading-mark{width:18px;height:18px;font-size:11px;border-radius:5px}
 #copeakHomeHub .cp-activity-premium .cp-record-header h3{font-size:10px;gap:4px}
 #copeakHomeHub .cp-activity-premium .cp-record-content{display:flex;align-items:center;gap:4px;margin-top:3px;height:calc(100% - 20px)}
 #copeakHomeHub .cp-activity-premium .cp-progress-ring{width:clamp(40px,10.7vw,64px);height:clamp(40px,10.7vw,64px)}
 #copeakHomeHub .cp-activity-premium .cp-ring-track{stroke-width:8px}
 #copeakHomeHub .cp-activity-premium :is(.cp-ring-progress,.cp-ring-halo){stroke-width:8px}
 #copeakHomeHub .cp-activity-premium .cp-progress-core{gap:1px}
 #copeakHomeHub .cp-activity-premium .cp-progress-core strong{font-size:clamp(10px,2.6vw,14px)}
 #copeakHomeHub .cp-activity-premium .cp-progress-core small{font-size:7px}
 #copeakHomeHub .cp-activity-premium .cp-record-metrics{display:flex;flex-direction:column;gap:4px;justify-content:center}
 #copeakHomeHub .cp-activity-premium .cp-record-stat{gap:1px}
 #copeakHomeHub .cp-activity-premium .cp-record-stat-label{font-size:9px;line-height:1.2}
 #copeakHomeHub .cp-activity-premium .cp-record-stat strong{font-size:clamp(12px,3.25vw,17px)}
 #copeakHomeHub .cp-activity-premium .cp-average-meter{margin-top:2px;height:4px;width:100%;max-width:76px}
}
@media(max-width:390px){
 #copeakHomeHub .cp-activity-premium .cp-progress-ring{width:38px;height:38px}
 #copeakHomeHub .cp-activity-premium .cp-progress-core strong{font-size:10px}
 #copeakHomeHub .cp-activity-premium .cp-progress-core small{font-size:6px}
 #copeakHomeHub .cp-activity-premium .cp-record-metrics{gap:2px}
 #copeakHomeHub .cp-activity-premium .cp-record-stat-label{font-size:8px}
 #copeakHomeHub .cp-activity-premium .cp-record-stat strong{font-size:12px}
}
@media(max-height:620px){
 #copeakHomeHub .cp-extra.cp-activity-premium{padding-top:6px;padding-bottom:5px}
 #copeakHomeHub .cp-activity-premium .cp-record-content{margin-top:1px}
 #copeakHomeHub .cp-activity-premium .cp-progress-ring{width:clamp(38px,8vw,74px);height:clamp(38px,8vw,74px)}
 #copeakHomeHub .cp-activity-premium .cp-average-meter{margin-top:2px}
}
@media(prefers-reduced-motion:reduce){
 #copeakHomeHub .cp-activity-premium :is(.cp-ring-halo,.cp-ring-progress,.cp-average-meter-fill){transition:none!important}
}