/*
 * Lightning Nowcast.
 *
 * Two themes, both chosen rather than generated: the dark surface gets its own steps of the same
 * single-hue ramp, not an inversion of the light one. The forecast ramp itself lives in app.js, which
 * has to interpolate it into a lookup table anyway; the swatches here quote its ends for the chrome.
 */

:root {
  color-scheme: light;

  --surface:        #fcfcfb;
  --surface-raised: #ffffff;
  --surface-sunken: #f3f2ef;
  --ink:            #0b0b0b;
  --ink-2:          #52514e;
  --ink-muted:      #898781;
  --line:           #e1e0d9;
  --line-strong:    #c3c2b7;
  --accent:         #ba3728;   /* step 600 of the forecast ramp */
  --accent-ink:     #ffffff;
  --observed:       #2a78d6;   /* the lightning that actually followed */
  --good:           #0ca30c;
  --shadow:         0 1px 2px rgba(11, 11, 11, .06), 0 8px 24px rgba(11, 11, 11, .08);
  --shadow-sm:      0 1px 2px rgba(11, 11, 11, .08);
  --ring:           0 0 0 2px rgba(186, 55, 40, .35);

  --radius:   10px;
  --radius-sm: 7px;
  --bar:      56px;
  --time-bar: 58px;
  --panel:    336px;

  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface:        #1a1a19;
    --surface-raised: #232322;
    --surface-sunken: #121211;
    --ink:            #ffffff;
    --ink-2:          #c3c2b7;
    --ink-muted:      #898781;
    --line:           #2c2c2a;
    --line-strong:    #383835;
    --accent:         #e3513f;   /* dark-mode step 400: the dark surface needs a lighter anchor */
    --accent-ink:     #1a1a19;
    --observed:       #3987e5;
    --good:           #0ca30c;
    --shadow:         0 1px 2px rgba(0, 0, 0, .5), 0 8px 28px rgba(0, 0, 0, .45);
    --shadow-sm:      0 1px 2px rgba(0, 0, 0, .5);
    --ring:           0 0 0 2px rgba(227, 81, 63, .4);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface:        #1a1a19;
  --surface-raised: #232322;
  --surface-sunken: #121211;
  --ink:            #ffffff;
  --ink-2:          #c3c2b7;
  --ink-muted:      #898781;
  --line:           #2c2c2a;
  --line-strong:    #383835;
  --accent:         #e3513f;
  --accent-ink:     #1a1a19;
  --observed:       #3987e5;
  --good:           #0ca30c;
  --shadow:         0 1px 2px rgba(0, 0, 0, .5), 0 8px 28px rgba(0, 0, 0, .45);
  --shadow-sm:      0 1px 2px rgba(0, 0, 0, .5);
  --ring:           0 0 0 2px rgba(227, 81, 63, .4);
}

* { box-sizing: border-box; }

/* A class that sets `display` outranks the browser's own [hidden] rule, and several here do. */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

button, input, select, output { font: inherit; color: inherit; }
h1, h2, p, dl, dd, dt, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

/* ---------------------------------------------------------------- shell */

.app {
  display: grid;
  grid-template-rows: var(--bar) 1fr var(--time-bar);
  height: 100%;
  height: 100dvh;
}
.app[hidden] { display: none; }

.bar {
  position: relative;   /* z-index does nothing without it, and the map's controls sit at 1000 */
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
  z-index: 500;
}
.bar--time {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.bar__actions { display: flex; gap: 4px; margin-left: auto; }

.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand__mark { width: 22px; height: 22px; flex: none; fill: var(--accent); }
.brand__text { min-width: 0; }
.brand h1 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand__text p {
  font-size: 11.5px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------- lead time tabs */

.leads {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface-sunken);
  border-radius: var(--radius-sm);
}
.leads button {
  border: 0;
  background: none;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
}
.leads button:hover { background: rgba(127, 127, 127, .14); }
.leads button[aria-selected="true"] {
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------- search */

.search { position: relative; flex: 1 1 260px; max-width: 380px; min-width: 120px; }
.search__icon {
  position: absolute;
  left: 9px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ink-muted);
  stroke-width: 1.6;
  stroke-linecap: round;
  pointer-events: none;
}
#search-input {
  width: 100%;
  padding: 8px 28px 8px 29px;
  background: var(--surface-sunken);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  -webkit-appearance: none;
  appearance: none;
}
#search-input::-webkit-search-cancel-button { display: none; }
#search-input:focus { outline: none; border-color: var(--accent); background: var(--surface-raised); box-shadow: var(--ring); }
.search__clear {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border: 0; border-radius: 50%;
  background: var(--line);
  color: var(--ink-2);
  font-size: 14px; line-height: 1;
  cursor: pointer;
}

.results {
  position: absolute;
  top: calc(100% + 5px); left: 0; right: 0;
  max-height: min(58vh, 420px);
  overflow-y: auto;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
  padding: 4px;
}
.results li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}
.results li[aria-selected="true"], .results li:hover { background: var(--surface-sunken); }
.results .r-name { font-weight: 550; }
.results .r-meta { color: var(--ink-muted); font-size: 11.5px; margin-left: auto; white-space: nowrap; }
.results .r-none { color: var(--ink-muted); cursor: default; }

/* ---------------------------------------------------------------- buttons */

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-sunken); color: var(--ink); }
.icon-btn:focus-visible, .chip:focus-visible, .leads button:focus-visible,
.disclose:focus-visible, select:focus-visible, .hotspots li:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .fill { fill: currentColor; stroke: none; }
.icon-btn--play { background: var(--surface-sunken); }
.icon-btn[aria-pressed="true"] { color: var(--accent); }
.icon-btn:disabled { opacity: .4; cursor: default; }
.icon-btn--ok { color: var(--good); }
.icon-btn--panel { display: none; }

.icon-moon, .icon-pause { display: none; }
:root[data-theme="dark"] .icon-sun, .app[data-playing="true"] .icon-play { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
.app[data-playing="true"] .icon-pause { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

.chip {
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-raised);
  font-size: 12px;
  font-weight: 550;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink-muted); color: var(--ink); }
.chip--accent { border-color: transparent; background: var(--accent); color: var(--accent-ink); }
.chip--accent:hover { filter: brightness(1.08); color: var(--accent-ink); }

/* ------------------------------------------------------------------- map */

/* z-index: 0 keeps Leaflet's controls (which sit at 1000) inside this box, so the header and its
   search results stay on top of them. */
.main { position: relative; z-index: 0; display: flex; min-height: 0; }
.map-wrap { position: relative; flex: 1; min-width: 0; }
#map { position: absolute; inset: 0; background: var(--surface-sunken); }

.leaflet-container { font: inherit; background: var(--surface-sunken); }
.leaflet-control-attribution {
  background: color-mix(in srgb, var(--surface-raised) 88%, transparent);
  color: var(--ink-muted);
  font-size: 10.5px;
  padding: 2px 7px;
}
.leaflet-control-attribution a { color: var(--ink-2); }
.leaflet-bar {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.leaflet-bar a {
  background: var(--surface-raised);
  color: var(--ink-2);
  border-bottom-color: var(--line);
  width: 30px; height: 30px; line-height: 30px;
}
.leaflet-bar a:hover { background: var(--surface-sunken); color: var(--ink); }
.leaflet-pane canvas.forecast-layer { image-rendering: auto; }
.leaflet-control-scale { margin-bottom: 20px !important; }
.leaflet-control-scale-line {
  background: color-mix(in srgb, var(--surface-raised) 86%, transparent);
  border-color: var(--line-strong);
  color: var(--ink-2);
  font-size: 10px;
}

/* the pin dropped by a search or a hotspot click */
.pin { position: relative; }
.pin i {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--surface-raised) 85%, transparent);
}
.pin i::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: ping 1.6s ease-out 3;
}
@keyframes ping { from { transform: scale(.5); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin i::after { animation: none; } }

/* ------------------------------------------------------------- readout */

.readout {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 420;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 7px 11px;
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.readout__value { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.readout__meta { font-size: 11.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- legend */

.legend {
  position: absolute;
  bottom: 12px; left: 10px;
  z-index: 420;
  width: min(330px, calc(100% - 20px));
  padding: 9px 11px 10px;
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.legend__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.legend__collapse {
  border: 0; background: none; cursor: pointer;
  color: var(--ink-muted); font-size: 15px; line-height: 1; padding: 0 2px;
}
.legend[data-collapsed="true"] .legend__body { display: none; }
.legend__ramp { margin-top: 7px; }
#legend-canvas { display: block; width: 100%; height: 12px; border-radius: 3px; }
.legend__ticks {
  position: relative;
  height: 15px;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.legend__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.legend__ticks span.is-threshold { color: var(--ink); font-weight: 600; }
.legend__ticks span.is-threshold::before {
  content: "";
  position: absolute;
  left: 50%; top: -4px;
  width: 1px; height: 4px;
  background: var(--ink);
}
.legend__note { margin-top: 7px; font-size: 11px; line-height: 1.45; color: var(--ink-muted); }
.legend__key { display: inline-flex; align-items: center; gap: 5px; }
.legend__key i {
  width: 16px; height: 9px;
  border: 1.5px solid var(--observed);
  border-radius: 2px;
  background: color-mix(in srgb, var(--observed) 18%, transparent);
}

/* ------------------------------------------------------------- loading */

.loading {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  z-index: 430;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.spinner {
  width: 12px; height: 12px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- panel */

.panel {
  width: var(--panel);
  flex: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.card__hint { margin-left: auto; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-muted); }

.stat__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-muted); }
.stat__value { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.02em; margin-top: 2px; }
.stat__sub { display: block; font-size: 12px; color: var(--ink-2); margin-top: 3px; }

.facts { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--ink-2); }
.facts dd { font-size: 12px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.facts dd small { font-weight: 500; color: var(--ink-muted); }

.switch { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__box {
  flex: none;
  position: relative;
  width: 32px; height: 19px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background .15s;
}
.switch__box::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s;
}
.switch input:checked + .switch__box { background: var(--observed); }
.switch input:checked + .switch__box::after { transform: translateX(13px); }
.switch input:focus-visible + .switch__box { box-shadow: var(--ring); }
.switch__text { font-size: 13px; line-height: 1.3; }
.switch__text em { display: block; font-style: normal; font-size: 11px; color: var(--ink-muted); margin-top: 1px; }

.slider { display: block; margin-top: 12px; }
.slider__label { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-bottom: 5px; }
.slider__label output { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
input[type="range"] {
  width: 100%;
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--line-strong); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-strong); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  margin-top: -5px;
  border: 0; border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--shadow-sm);
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--accent); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--ring); }

/* ------------------------------------------------------------ hotspots */

.hotspots { display: flex; flex-direction: column; gap: 1px; }
.hotspots li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.hotspots li:hover, .hotspots li[data-active="true"] { background: var(--surface-sunken); }
.hot__prob {
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--accent);
}
.hot__where { min-width: 0; font-size: 12.5px; line-height: 1.25; }
.hot__where b { font-weight: 550; }
.hot__where span { display: block; color: var(--ink-muted); font-size: 11px; }
.hot__badge { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.hot__badge--yes { color: var(--observed); background: color-mix(in srgb, var(--observed) 14%, transparent); }
.hot__badge--no { color: var(--ink-muted); background: var(--surface-sunken); }
.empty { font-size: 12px; line-height: 1.5; color: var(--ink-muted); }

/* --------------------------------------------------------------- about */

.card--about { padding-bottom: 12px; }
.card--about .card__title { margin-bottom: 0; }
.disclose {
  display: flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 0;
  font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink-2); cursor: pointer;
}
.disclose svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.disclose[aria-expanded="true"] svg { transform: rotate(90deg); }
.about { margin-top: 11px; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.about h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-muted); margin: 13px 0 5px; }
.about h3:first-child { margin-top: 0; }
.about p { margin-bottom: 8px; }
.about a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.about table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.about td { padding: 3px 0; vertical-align: top; }
.about td:last-child { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.about .caption { font-size: 11px; color: var(--ink-muted); margin-top: 6px; }

/* ------------------------------------------------------------ time bar */

.time-controls { display: flex; gap: 2px; flex: none; }
.timeline { position: relative; flex: 1; min-width: 0; }
.timeline input[type="range"] { display: block; }
.timeline__marks { position: relative; height: 13px; margin-top: -1px; }
.timeline__marks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.timeline__marks span::before {
  content: "";
  position: absolute;
  left: 50%; top: -3px;
  width: 1px; height: 3px;
  background: var(--line-strong);
}
.time-meta { display: flex; align-items: center; gap: 7px; flex: none; }
#day-select {
  height: 28px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
}

/* -------------------------------------------------------------- splash */

.splash { position: fixed; inset: 0; display: grid; place-items: center; background: var(--surface); z-index: 1000; padding: 24px; }
.splash[hidden] { display: none; }
.splash__inner { max-width: 620px; text-align: center; }
.splash__mark { width: 34px; height: 34px; fill: var(--accent); }
.splash h1 { font-size: 17px; margin: 8px 0 6px; }
.splash p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.splash pre {
  margin-top: 16px;
  padding: 12px 14px;
  text-align: left;
  overflow-x: auto;
  font-size: 11.5px;
  line-height: 1.6;
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
}

/* ------------------------------------------------------------ narrower */

@media (max-width: 1080px) {
  .brand__text p { display: none; }
}

@media (max-width: 900px) {
  :root { --bar: 52px; --time-bar: 56px; }
  .brand h1 { font-size: 14px; }
  .icon-btn--panel { display: grid; }
  #locate { display: none; }
  .panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    z-index: 600;
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform .18s ease-out;
  }
  .panel[data-open="true"] { transform: none; }
  .legend { width: min(300px, calc(100% - 20px)); }
}

@media (max-width: 640px) {
  /* The time bar needs a row of its own down here: a slider squeezed between the buttons and the
     day picker is too short to aim at, and its hour marks collapse into each other. */
  :root { --time-bar: 96px; }
  .bar--time {
    flex-wrap: wrap;
    align-content: center;
    padding: 6px 12px 4px;
    gap: 8px 10px;
  }
  .timeline { order: 3; flex-basis: 100%; }
  .time-meta { margin-left: auto; }

  .brand__text { display: none; }
  .leads button { padding: 6px 9px; font-size: 12px; }
  .search { flex-basis: 120px; }
  .time-meta #day-select { max-width: 124px; }
  #share { display: none; }
  .leaflet-control-scale { display: none; }
  .readout { top: auto; bottom: 12px; left: 10px; right: 10px; }
  .legend { bottom: 62px; }
  .legend__note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
