/* Copeak Reading Results — Aurora semicircle gauges.
   Isolated styles override legacy tablet score-row rules only. */
#scoreSummaryRow.cp-score-surface,
body.result-layout-active #scoreSummaryRow.cp-score-surface {
  --cp-surface: #101419;
  position: relative !important;
  isolation: isolate;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  align-items: stretch !important;
  gap: clamp(2px,.6vw,11px) !important;
  width: 100% !important;
  min-height: 140px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 40px 9px 11px !important;
  border: 1px solid rgba(187,207,230,.19) !important;
  border-radius: 17px !important;
  background:
    radial-gradient(ellipse 70% 96% at 50% -45%,rgba(139,180,219,.14),transparent 85%),
    linear-gradient(122deg,#161e27 0%,#0f151e 56%,#171c23 100%) !important;
  box-shadow: 0 14px 36px rgba(12,17,24,.21),inset 0 1px 0 rgba(255,255,255,.11) !important;
  overflow: hidden !important;
}
#scoreSummaryRow.cp-score-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg,transparent 10%,rgba(255,255,255,.025) 48%,transparent 75%);
  z-index: 0;
}
#scoreSummaryRow.cp-score-surface > .cp-gauge-card {
  position: relative !important;
  z-index: 1;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 2px 2px 1px !important;
  border: 0 !important;
  margin: 0 !important;
  background: none !important;
  text-align: center !important;
}
#scoreSummaryRow.cp-score-surface > .cp-gauge-card:nth-of-type(2) {
  border-left: 0 !important;
  border-right: 0 !important;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  min-height: 19px;
  margin: 0 !important;
  color: #c7d2dd !important;
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size: clamp(8px,.9vw,11px) !important;
  font-weight: 700 !important;
  line-height: 1.17 !important;
  letter-spacing: .035em !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-figure {
  width: min(100%,170px);
  max-width: 170px;
  aspect-ratio: 200 / 120;
  position: relative;
  flex: 0 0 auto;
  margin: 0 auto;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-rail,
#scoreSummaryRow.cp-score-surface .cp-gauge-fill,
#scoreSummaryRow.cp-score-surface .cp-gauge-halo {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-rail {
  stroke: #465261;
  stroke-opacity: .52;
  stroke-width: 14px;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-halo {
  stroke-width: 18px;
  opacity: .27;
  filter: blur(4px);
}
#scoreSummaryRow.cp-score-surface .cp-gauge-fill {
  stroke-width: 14px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.25));
}
#scoreSummaryRow.cp-score-surface .cp-gauge-number,
#scoreSummaryRow.cp-score-surface #bigAccValue,
#scoreSummaryRow.cp-score-surface #bigWpmValue,
#scoreSummaryRow.cp-score-surface #bigCompValue,
body.result-layout-active #scoreSummaryRow.cp-score-surface #bigAccValue,
body.result-layout-active #scoreSummaryRow.cp-score-surface #bigWpmValue,
body.result-layout-active #scoreSummaryRow.cp-score-surface #bigCompValue {
  display: block !important;
  position: absolute !important;
  inset: auto 0 12% 0 !important;
  margin: 0 !important;
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif !important;
  font-size: clamp(23px,3.2vw,44px) !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em !important;
  color: var(--cp-gauge-color) !important;
  text-align: center;
  text-shadow: 0 2px 22px color-mix(in srgb,var(--cp-gauge-color),transparent 75%);
  white-space: nowrap;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-caption {
  min-height: 16px;
  width: 100%;
  padding: 0 1px;
  margin-top: -2px;
  color: #a3b2c2;
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size: clamp(8px,.77vw,10px);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.25;
  white-space: nowrap;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-history {
  position: absolute !important;
  top: 9px !important;
  right: 9px !important;
  z-index: 6 !important;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0 !important;
  border: 1px solid rgba(204,219,232,.27);
  border-radius: 50% !important;
  background: linear-gradient(140deg,rgba(235,243,252,.17),rgba(117,144,175,.08)) !important;
  color: #e7edf5 !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.16);
  cursor: pointer;
  transform: none !important;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-history:hover {
  background: rgba(198,224,249,.25) !important;
  border-color: rgba(230,245,255,.6);
}
#scoreSummaryRow.cp-score-surface .cp-gauge-history:focus-visible {
  outline: 2px solid #9fd5ff;
  outline-offset: 2px;
}
#scoreSummaryRow.cp-score-surface .cp-score-celebration-layer {
  position: absolute !important;
  inset: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-card.is-celebrating .cp-gauge-figure {
  animation: cp-gauge-bloom 980ms ease-out both;
}
#scoreSummaryRow.cp-score-surface .cp-gauge-card.is-celebrating .cp-gauge-fill {
  animation: cp-gauge-glow 1500ms ease-out both;
}
#scoreSummaryRow.cp-score-surface .cp-confetti-piece {
  position: absolute;
  top: 21%;
  width: 5px;
  height: 9px;
  border-radius: 2px;
  opacity: 0;
  background: var(--cp-confetti-color);
  box-shadow: 0 0 8px var(--cp-confetti-color);
  animation: cp-confetti-fly 2.1s var(--cp-confetti-delay) cubic-bezier(.19,.8,.25,1) both;
}
#scoreSummaryRow.cp-score-surface .cp-confetti-piece:nth-child(3n) {
  width: 3px;
  height: 3px;
  border-radius: 50%;
}
@keyframes cp-gauge-bloom {
  0% {transform:scale(.96);filter:brightness(.9);}
  40% {transform:scale(1.025);filter:brightness(1.25);}
  100% {transform:scale(1);filter:brightness(1);}
}
@keyframes cp-gauge-glow {
  0%,100% {filter:drop-shadow(0 0 0 transparent);}
  40% {filter:drop-shadow(0 0 9px rgba(190,231,255,.55));}
}
@keyframes cp-confetti-fly {
  0% {opacity:0;transform:translate3d(0,-8px,0) rotate(0deg) scale(.65);}
  14% {opacity:1;}
  80% {opacity:1;}
  100% {opacity:0;transform:translate3d(var(--cp-confetti-drift),118px,0) rotate(var(--cp-confetti-rotation)) scale(1);}
}
@media(max-width:680px) {
 #scoreSummaryRow.cp-score-surface,body.result-layout-active #scoreSummaryRow.cp-score-surface{
   min-height:110px !important;
   gap: 1px !important;
   padding: 8px 27px 8px 6px !important;
   border-radius: 12px !important;
 }
 #scoreSummaryRow.cp-score-surface > .cp-gauge-card {padding:1px 0 !important;}
 #scoreSummaryRow.cp-score-surface .cp-gauge-title {min-height:26px;font-size:8px !important;line-height:1.17 !important;}
 #scoreSummaryRow.cp-score-surface .cp-gauge-number,
 #scoreSummaryRow.cp-score-surface #bigAccValue,
 #scoreSummaryRow.cp-score-surface #bigWpmValue,
 #scoreSummaryRow.cp-score-surface #bigCompValue,
 body.result-layout-active #scoreSummaryRow.cp-score-surface #bigAccValue,
 body.result-layout-active #scoreSummaryRow.cp-score-surface #bigWpmValue,
 body.result-layout-active #scoreSummaryRow.cp-score-surface #bigCompValue {
   font-size:clamp(20px,6vw,29px) !important;bottom:13% !important;
 }
 #scoreSummaryRow.cp-score-surface .cp-gauge-caption {font-size:8px;letter-spacing:0;min-height:12px;}
 #scoreSummaryRow.cp-score-surface .cp-gauge-history {width:24px;height:24px;top:6px !important;right:5px !important;}
 #scoreSummaryRow.cp-score-surface .cp-gauge-history svg {width:15px;height:15px;}
 #scoreSummaryRow.cp-score-surface .cp-gauge-rail,
 #scoreSummaryRow.cp-score-surface .cp-gauge-fill {stroke-width:13px;}
}
@media (prefers-reduced-motion:reduce) {
 #scoreSummaryRow.cp-score-surface .cp-gauge-card,
 #scoreSummaryRow.cp-score-surface .cp-gauge-fill,
 #scoreSummaryRow.cp-score-surface .cp-confetti-piece {
  animation:none !important;transition:none !important;
 }
}