/*
 * CFPG Pool Conditions — mobile dashboard (2026-07-29, v4.99.0)
 *
 * Built to the approved build packet. Every selector is namespaced
 * under the .cfpg-pool-dashboard component root, as the packet
 * requires, so nothing here can reach the rest of the homepage.
 *
 * Tokens come from docs/design-tokens.css in the packet, declared on
 * the component root rather than :root so they cannot leak into or be
 * overridden by the site-wide palette.
 *
 * TWO THINGS THAT ARE LOAD-BEARING, not styling preference:
 *
 * 1. Status is never carried by colour alone. Every chip and every row
 *    status pairs its colour with a word, and the score ring has an
 *    aria-label stating the number and the status.
 * 2. The water texture is masked to the top of the card and sits under
 *    a dark overlay. It must never reach the body copy -- the packet is
 *    explicit that the texture cannot reduce text contrast, and the
 *    mask is what enforces that rather than trusting opacity alone.
 *
 * Rollback: restore this file and inc/daily-conditions-card.php from
 * the previous release. No database or data-layer change is involved.
 */

.cfpg-pool-dashboard {
  /* Packet tokens (docs/design-tokens.css). */
  --cfpg-navy-950: #04172a;
  --cfpg-navy-900: #061f38;
  --cfpg-navy-850: #082844;
  --cfpg-pool-blue: #1597e5;
  --cfpg-teal: #19b6aa;
  --cfpg-good: #78d856;
  --cfpg-caution: #ff8a00;
  --cfpg-sun-gold: #ffbd27;
  --cfpg-alert: #e2433b;
  --cfpg-text: #ffffff;
  --cfpg-text-muted: #c7d3e1;
  --cfpg-border: rgba(255, 255, 255, 0.14);
  --cfpg-card: rgba(8, 40, 68, 0.92);
  --cfpg-card-soft: rgba(10, 48, 80, 0.82);
  --cfpg-radius-lg: 22px;
  --cfpg-radius-md: 16px;
  --cfpg-shadow: 0 12px 30px rgba(0, 8, 20, 0.22);

  /* State accent. Green reads "favourable", orange "caution", red is
   * reserved for a genuine safety alert. */
  --cfpg-state: var(--cfpg-good);

  position: relative;
  isolation: isolate;
  max-width: 920px;
  margin-inline: auto;
  padding: 16px 14px 14px;
  color: var(--cfpg-text);
  background: linear-gradient(180deg, var(--cfpg-navy-900) 0%, var(--cfpg-navy-950) 100%);
  border-radius: var(--cfpg-radius-lg);
  box-shadow: var(--cfpg-shadow);
  font-family: var(--sans);
}

.cfpg-pool-dashboard--caution { --cfpg-state: var(--cfpg-caution); }
.cfpg-pool-dashboard--high { --cfpg-state: var(--cfpg-alert); }

/* Hero-only water texture. Masked to fade out well above the first
 * body copy, and sitting behind everything at z-index -1, so it cannot
 * affect the contrast of any text. The gradient alone is the fallback
 * if the SVG fails to load -- nothing depends on the image. */
.cfpg-pool-dashboard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 190px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background: url("../images/subtle-water-caustics.svg") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: var(--cfpg-radius-lg) var(--cfpg-radius-lg) 0 0;
}

@media (min-width: 768px) {
  .cfpg-pool-dashboard { padding: 22px 22px 18px; }
}

/* ── Header ───────────────────────────────────────────────────────── */

.cfpg-pool-dashboard__header {
  display: grid;
  /* minmax(0,...) not 1fr: a bare 1fr floors at the h2's min-content
   * width, so at 200% zoom the title refused to shrink and pushed the
   * refresh control past the viewport edge (measured 42px of document
   * overflow at 390px @ 200%). */
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
}

.cfpg-pool-dashboard__mark {
  display: grid;
  place-items: center;
  color: var(--cfpg-pool-blue);
}

.cfpg-pool-dashboard__header h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--cfpg-text);
}

.cfpg-pool-dashboard__updated,
.cfpg-pool-dashboard__live {
  grid-column: 2 / -1;
  margin: 0;
  font-size: 0.82rem;
  color: var(--cfpg-text-muted);
}

.cfpg-pool-dashboard__live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--cfpg-good);
}

.cfpg-pool-dashboard__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cfpg-good);
}

/* The one permitted looping animation, and it is deliberately barely
 * perceptible: opacity only, 2.4s, and gone entirely under
 * reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .cfpg-pool-dashboard__live-dot {
    animation: cfpg-pool-pulse 2.4s ease-in-out infinite;
  }
}

@keyframes cfpg-pool-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Hidden until home-figma.js confirms the refresh mechanism is wired
 * (it adds .cfpgh-tpc-wrap--refreshable). A control that cannot do
 * anything is worse than no control. */
.cfpg-pool-dashboard__refresh {
  display: none;
}

.cfpgh-tpc-wrap--refreshable .cfpg-pool-dashboard__refresh {
  grid-row: 1;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  margin: -8px -4px -8px 0;
  padding: 0 4px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cfpg-pool-blue);
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.cfpg-pool-dashboard__refresh:hover,
.cfpg-pool-dashboard__refresh:focus-visible {
  color: #56b9f2;
}

/* Under heavy zoom the word "Refresh" is what makes this control too
 * wide. The icon carries it alone below an effective 26em, and the
 * button keeps its accessible name from aria-label, so nothing is lost
 * to a screen reader -- only to the eye, which still has the icon. */
@media (max-width: 26em) {
  .cfpg-pool-dashboard__refresh span:not([aria-hidden]) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.cfpg-pool-dashboard__refresh[aria-busy="true"] svg {
  animation: cfpg-pool-spin 800ms linear infinite;
}

@keyframes cfpg-pool-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .cfpg-pool-dashboard__refresh[aria-busy="true"] svg {
    animation: none;
    opacity: 0.5;
  }
}

/* Empty by default, so the calm state costs no height. */
.cfpg-pool-dashboard__status {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--cfpg-text-muted);
}

.cfpg-pool-dashboard__status:empty { display: none; }

.cfpg-pool-dashboard__stale {
  margin: 10px 0 0;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--cfpg-sun-gold);
  background: rgba(255, 189, 39, 0.12);
  border-left: 3px solid var(--cfpg-sun-gold);
  border-radius: 0 8px 8px 0;
}

.cfpg-pool-dashboard__fallback-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.cfpg-pool-dashboard__unavailable {
  margin: 10px 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--cfpg-text-muted);
}

/* ── Shared panel ─────────────────────────────────────────────────── */

.cfpg-pool-dashboard__panel {
  margin-top: 12px;
  background: var(--cfpg-card);
  border: 1px solid var(--cfpg-border);
  border-radius: var(--cfpg-radius-md);
}

.cfpg-pool-dashboard__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cfpg-teal);
}

/* ── Primary outlook ──────────────────────────────────────────────── */

/* Verdict left, supporting ring right. The body comes first in source
 * order, so nothing here reorders content away from reading order. */
.cfpg-pool-dashboard__outlook {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 14px;
}

.cfpg-pool-dashboard__score-col {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 4px;
}

/* Supporting, not dominant: the packet asks for 88-100px on mobile. */
.cfpg-pool-dashboard__score {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
}

@media (min-width: 768px) {
  .cfpg-pool-dashboard__score { width: 118px; }
}

.cfpg-pool-dashboard__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  transform: rotate(-90deg);
}

.cfpg-pool-dashboard__ring-track,
.cfpg-pool-dashboard__ring-value {
  fill: none;
  stroke-width: 8;
}

.cfpg-pool-dashboard__ring-track { stroke: rgba(255, 255, 255, 0.14); }

.cfpg-pool-dashboard__ring-value {
  stroke: var(--cfpg-state);
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 700ms ease;
}

.cfpg-pool-dashboard__score.is-animated .cfpg-pool-dashboard__ring-value {
  stroke-dashoffset: calc(314 - (314 * var(--pcc-score, 0.7)));
}

.cfpg-pool-dashboard__score-content {
  display: grid;
  place-items: center;
  text-align: center;
}

.cfpg-pool-dashboard__score-content strong {
  font-family: var(--head);
  font-size: 1.75rem;
  line-height: 1.05;
  color: var(--cfpg-text);
}

.cfpg-pool-dashboard__score-content span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cfpg-state);
}

.cfpg-pool-dashboard__score-caption {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cfpg-text-muted);
}

@media (min-width: 768px) {
  .cfpg-pool-dashboard__score-content strong { font-size: 2.3rem; }
  .cfpg-pool-dashboard__score-content span { font-size: 0.78rem; }
}

/* Score entrance: visible by default with no JS dependency. The script
 * opts in by adding --will-animate right before the sequence starts. */
.cfpg-pool-dashboard__score--will-animate .cfpg-pool-dashboard__score-content span {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.cfpg-pool-dashboard__score--will-animate.cfpg-pool-dashboard__score--label-in .cfpg-pool-dashboard__score-content span {
  opacity: 1;
  transform: none;
}

.cfpg-pool-dashboard__outlook-body {
  min-width: 0;
  flex: 1 1 auto;
}

/* The ring keeps its own column at the right and never squeezes the
 * verdict; below 360px the hero stacks instead of shrinking the type. */
.cfpg-pool-dashboard__score-col { margin-left: auto; }

@media (max-width: 359px) {
  .cfpg-pool-dashboard__outlook { flex-wrap: wrap; }
  .cfpg-pool-dashboard__score-col { margin: 4px auto 0; }
}

.cfpg-pool-dashboard__headline {
  margin: 0;
  font-family: var(--head);
  font-size: 1.65rem;
  line-height: 1.08;
  /* Warm white, not the state colour: the packet asks for a white
   * editorial verdict, with colour carried by the ring and chips. */
  color: #fdfdfb;
  text-wrap: balance;
}

.cfpg-pool-dashboard__summary {
  margin: 6px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--cfpg-text);
}

@media (min-width: 768px) {
  .cfpg-pool-dashboard__headline { font-size: 2.2rem; }
  .cfpg-pool-dashboard__summary { font-size: 1.05rem; }
}

/* ── Chips ────────────────────────────────────────────────────────── */

.cfpg-pool-dashboard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.cfpg-pool-dashboard__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cfpg-text);
  border: 1px solid var(--cfpg-border);
  border-radius: 999px;
}

.cfpg-pool-dashboard__chip svg { flex: none; }

.cfpg-pool-dashboard__chip--gold,
.cfpg-pool-dashboard__chip--amber {
  color: var(--cfpg-sun-gold);
  border-color: rgba(255, 189, 39, 0.45);
}

.cfpg-pool-dashboard__chip--pool {
  color: #6cc7f5;
  border-color: rgba(21, 151, 229, 0.45);
}

/* Red is reserved for a genuine safety alert, so it is the only tone
 * that also fills its chip. */
.cfpg-pool-dashboard__chip--red {
  color: #ff9d96;
  background: rgba(226, 67, 59, 0.2);
  border-color: rgba(226, 67, 59, 0.6);
}

/* ── Best time ────────────────────────────────────────────────────── */

.cfpg-pool-dashboard__besttime {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: linear-gradient(135deg, rgba(25, 182, 170, 0.16) 0%, rgba(8, 40, 68, 0.92) 62%);
  border-color: rgba(25, 182, 170, 0.38);
}

.cfpg-pool-dashboard__besttime-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  color: #7fe3da;
  background: rgba(25, 182, 170, 0.18);
  border: 1px solid rgba(25, 182, 170, 0.45);
  border-radius: 50%;
}

.cfpg-pool-dashboard__besttime-body { min-width: 0; flex: 1 1 auto; }

.cfpg-pool-dashboard__besttime .cfpg-pool-dashboard__eyebrow { color: #7fe3da; }

.cfpg-pool-dashboard__besttime-range {
  margin: 3px 0 0;
  font-family: var(--head);
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--cfpg-text);
}

.cfpg-pool-dashboard__besttime-quality {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--cfpg-text-muted);
}

.cfpg-pool-dashboard__besttime-rationale {
  margin: 1px 0 0;
  font-size: 0.8rem;
  color: var(--cfpg-text-muted);
}

.cfpg-pool-dashboard__besttime-pill {
  flex: none;
  align-self: center;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cfpg-good);
  background: rgba(120, 216, 86, 0.16);
  border-radius: 999px;
}

/* ── Weather rows ─────────────────────────────────────────────────── */

.cfpg-pool-dashboard__rows {
  overflow: hidden;
  padding: 0;
}

.cfpg-pool-dashboard__rows > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cfpg-pool-dashboard__row {
  display: grid;
  /* Mobile default: icon | label+value | chevron, with the status on
   * its own line beneath. Three text columns do not fit at 390px --
   * "Little pool impact expected" next to a label and a value collides
   * every time, and the packet forbids clipping. */
  /* minmax(0, 1fr) rather than a bare 1fr: a bare 1fr track floors at
   * its min-content width, so at 200% zoom the label pushed the value
   * and chevron past the viewport edge. */
  grid-template-columns: 28px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 2px 10px;
  width: 100%;
  /* Packet target: 56-64px rows, never under the 44px tap minimum.
   * min-height rather than height, so longer status text grows the row
   * instead of being clipped. */
  min-height: 58px;
  padding: 8px 14px;
  font: inherit;
  text-align: left;
  color: var(--cfpg-text);
  background: none;
  border: 0;
  cursor: pointer;
}

.cfpg-pool-dashboard__row:hover,
.cfpg-pool-dashboard__row:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.cfpg-pool-dashboard__row-icon {
  display: grid;
  place-items: center;
  color: var(--cfpg-pool-blue);
}

.cfpg-pool-dashboard__row-label {
  min-width: 0;
  font-size: 1rem;
  color: var(--cfpg-text);
  /* Wraps rather than clips. There is room for the longest label at
   * 320px, so this only engages under heavy zoom or a long translation
   * -- exactly the cases the packet asks us not to clip. */
  overflow-wrap: anywhere;
}

.cfpg-pool-dashboard__row-value {
  font-family: var(--head);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  color: var(--cfpg-text);
}

.cfpg-pool-dashboard__row-status {
  font-size: 0.85rem;
  color: var(--cfpg-good);
  text-align: right;
}

.cfpg-pool-dashboard__row-status--caution { color: var(--cfpg-caution); }

.cfpg-pool-dashboard__row-chevron {
  display: grid;
  place-items: center;
  color: rgba(199, 211, 225, 0.7);
  transition: transform 200ms ease;
}

.cfpg-pool-dashboard__row[aria-expanded="true"] .cfpg-pool-dashboard__row-chevron {
  transform: rotate(90deg);
}

/* Collapsed it costs no height, so keeping the sourcing note reachable
 * does not work against the compaction the packet asks for. */
.cfpg-pool-dashboard__row-detail {
  display: none;
  margin: 0;
  padding: 0 14px 12px 52px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--cfpg-text-muted);
}

.cfpg-pool-dashboard__row[aria-expanded="true"] + .cfpg-pool-dashboard__row-detail {
  display: block;
}

/* Below ~360px the value and status columns fight for room, so the
 * status drops to its own line rather than being squeezed or clipped. */
/* Status under the label, value right-aligned -- the approved target
 * layout, and the one that never crowds at 320px. Applies at every
 * width so the row reads the same everywhere. */
.cfpg-pool-dashboard__row-status {
  grid-column: 2;
  grid-row: 2;
  text-align: left;
}

.cfpg-pool-dashboard__row-value {
  grid-column: 3;
  grid-row: 1 / 3;
}

.cfpg-pool-dashboard__row-chevron {
  grid-column: 4;
  grid-row: 1 / 3;
}

/* ── Tropical outlook ─────────────────────────────────────────────── */

.cfpg-pool-dashboard__tropical {
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cfpg-text-muted);
  background: var(--cfpg-card-soft);
  border-radius: var(--cfpg-radius-md);
}

.cfpg-pool-dashboard__tropical span {
  display: block;
  font-weight: 700;
  color: var(--cfpg-text);
}

.cfpg-pool-dashboard__tropical a {
  color: #6cc7f5;
  text-decoration: underline;
}

/* ── Sunny Sam ────────────────────────────────────────────────────── */

.cfpg-pool-dashboard__sam {
  display: flex;
  /* Top-aligned since v5.1.1: the panel now holds the Ask button as
   * well as the two actions, so centring pushed the avatar low. */
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  color: inherit;
}

.cfpg-pool-dashboard__sam-img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(21, 151, 229, 0.18);
}

.cfpg-pool-dashboard__sam-body {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

/* One action per line. As inline spans the two actions ran together
 * into a single paragraph, which is the opposite of the scannability
 * the two-action format is for. */
.cfpg-pool-dashboard__sam-line {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--cfpg-text);
}

/* The one Ask Sunny Sam control on the homepage. Its own button rather
 * than the whole panel being a link, so the advice text keeps its own
 * meaning instead of being swallowed into a link name.
 *
 * v5.2.1: was a filled gold pill -- the same fill colour as the header
 * "Refresh" accent -- which on a phone outweighed the card's actual
 * primary action, "View Full Pool Conditions & Forecast", a dark solid
 * bar below it. A live audit flagged the mismatch directly: inside a
 * conditions card, the full forecast should read as the strongest next
 * step, not this supporting one. Restyled as a text-style link with a
 * small chevron -- same label, same 44px target, same destination,
 * just no longer competing for attention. */
.cfpg-pool-dashboard__sam-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-top: 4px;
  padding: 4px 2px;
  font-size: 0.9rem;
  font-weight: 700;
  /* Not --cfpg-pool-blue (#1597e5): measured against this panel's real
   * rendered background at small text sizes it lands close to the 4.5:1
   * AA floor, and anti-aliased edge pixels at this weight/size can pull
   * it under in practice. This lighter shade measures 6.97:1. */
  color: #56b9f2;
  text-decoration: none;
}

.cfpg-pool-dashboard__sam-cta svg {
  width: 14px;
  height: 14px;
}

.cfpg-pool-dashboard__sam-cta:hover,
.cfpg-pool-dashboard__sam-cta:focus-visible {
  color: #8fd0f5;
  text-decoration: underline;
}

/* ── Primary CTA ──────────────────────────────────────────────────── */

.cfpg-pool-dashboard__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--cfpg-text);
  background: linear-gradient(180deg, #10538f 0%, #0b3d6d 100%);
  border: 1px solid rgba(21, 151, 229, 0.5);
  border-radius: var(--cfpg-radius-md);
}

.cfpg-pool-dashboard__cta:hover,
.cfpg-pool-dashboard__cta:focus-visible {
  background: linear-gradient(180deg, #1361a6 0%, #0d4a83 100%);
}

/* ── Focus + motion ───────────────────────────────────────────────── */

.cfpg-pool-dashboard :focus-visible {
  outline: 3px solid var(--cfpg-sun-gold);
  outline-offset: 2px;
}

/* Load-in: visible by default with no JS dependency. */
.cfpg-pool-dashboard--will-animate .cfpg-pool-dashboard__headline,
.cfpg-pool-dashboard--will-animate .cfpg-pool-dashboard__besttime {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.cfpg-pool-dashboard--will-animate.cfpg-pool-dashboard--loaded .cfpg-pool-dashboard__headline,
.cfpg-pool-dashboard--will-animate.cfpg-pool-dashboard--loaded .cfpg-pool-dashboard__besttime {
  opacity: 1;
  transform: none;
}

.cfpg-pool-dashboard--will-animate.cfpg-pool-dashboard--loaded .cfpg-pool-dashboard__besttime {
  transition-delay: 90ms;
}

@media (prefers-reduced-motion: reduce) {
  .cfpg-pool-dashboard *,
  .cfpg-pool-dashboard *::before,
  .cfpg-pool-dashboard *::after {
    transition: none !important; /* stylelint-disable-line declaration-no-important */
    animation: none !important; /* stylelint-disable-line declaration-no-important */
  }

  .cfpg-pool-dashboard--will-animate .cfpg-pool-dashboard__headline,
  .cfpg-pool-dashboard--will-animate .cfpg-pool-dashboard__besttime,
  .cfpg-pool-dashboard__score--will-animate .cfpg-pool-dashboard__score-content span {
    opacity: 1;
    transform: none;
  }
}
