:root {
  --bg: #0f1115;
  --surface: #1a1d24;
  --surface-2: #232733;
  --text: #e8eaed;
  --muted: #9aa0ac;
  --accent: #e50914;
  --accent-text: #ff6b70; /* readable accent for text on surfaces (dark theme) */
  --star-on: #ffd34d;     /* favorite gold — readable on dark surfaces */
  --border: #2c313c;
  --radius: 10px;
}

/* Light palette: applied by OS preference when no explicit choice, or forced
   by the theme toggle via data-theme. The attribute selectors outrank the
   media query, so a manual choice always wins. */
:root[data-theme="light"],
:root:not([data-theme]) {
  color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f4f5f7;
    --surface: #ffffff;
    --surface-2: #eceef1;
    --text: #1a1d24;
    --muted: #5c6470;
    --border: #dcdfe4;
    --accent-text: #c1121f; /* darker red for contrast on light surfaces */
    --star-on: #7a5a00;     /* dark amber — readable on light surfaces */
  }
}

:root[data-theme="light"] {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eceef1;
  --text: #1a1d24;
  --muted: #5c6470;
  --border: #dcdfe4;
  --accent-text: #c1121f;
  --star-on: #7a5a00;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.topbar h1 {
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.brand-ver {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.7;
  letter-spacing: 0;
  cursor: pointer;
}
.brand-ver:hover { opacity: 1; color: var(--accent-text); text-decoration: underline; }

.changelog h2 { font-size: 1.2rem; margin: 0 0 0.3rem; }
.changelog h3 { font-size: 1rem; margin: 1.1rem 0 0.2rem; }
.changelog h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0.8rem 0 0.3rem;
}
.changelog p { margin: 0 0 0.6rem; font-size: 0.9rem; }
.changelog ul { margin: 0 0 0.6rem; padding-left: 1.1rem; }
.changelog li { font-size: 0.9rem; margin-bottom: 0.2rem; }
.changelog a { color: var(--accent-text); }

@media (max-width: 560px) {
  .brand-sub { display: none; }
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.month-nav button {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.7rem;
  font-size: 1rem;
  cursor: pointer;
}

.month-nav button:hover { background: var(--surface); }

.today-btn { font-size: 0.85rem !important; }

.theme-btn {
  font-size: 1rem !important;
  line-height: 1;
  width: 2.2rem;
}

.actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.55rem;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--accent); }

/* Expanding header search */
.search { display: flex; align-items: center; }
.search-toggle { display: inline-flex; align-items: center; justify-content: center; }
.search-input {
  width: 0;
  min-width: 0;
  padding: 0;
  border: 1px solid transparent;
  background: var(--surface-2);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.9rem;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
}
.search-clear {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
  margin-right: 0.15rem;
}
.search-clear[hidden] { display: none; }
.search-clear:hover { color: var(--text); }

.search.open .search-input {
  width: 12rem;
  max-width: 44vw;
  padding: 0.4rem 0.6rem;
  border-color: var(--border);
  opacity: 1;
  margin-right: 0.4rem;
}
body[data-view="watchlist"] .search { display: none; }

.view-btn {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.view-btn:hover { border-color: var(--accent); }
.view-btn .count { color: var(--accent-text); font-weight: 600; }

/* Watchlist view hides month navigation and filters. */
body[data-view="watchlist"] .month-nav,
body[data-view="watchlist"] .filters,
body[data-view="watchlist"] .progress { display: none; }

.month-label {
  min-width: 9.5rem;
  text-align: center;
  font-weight: 600;
  text-transform: capitalize;
}

.filters {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.filters label {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  gap: 0.25rem;
}

.filters select,
.filters input[type="search"] {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  min-width: 11rem;
}

.reset-btn {
  align-self: flex-end;
  background: none;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.reset-btn:hover { border-color: var(--accent); color: var(--text); }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.field-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.dropdown-btn {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  min-width: 11rem;
  text-align: left;
  cursor: pointer;
}

.pill {
  display: none;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 0.02rem 0.42rem;
  margin: 0 0.15rem;
}
.pill.show { display: inline-block; }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  width: 20rem;
  max-width: 85vw;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 0.6rem;
}
.dropdown-panel[hidden] { display: none; }

.dropdown-actions { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; }
.dropdown-actions input {
  flex: 1;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
}
.dropdown-actions button {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.network-list {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.network-list label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  padding: 0.3rem 0.35rem;
  border-radius: 6px;
  cursor: pointer;
}
.network-list label:hover { background: var(--surface-2); }
.network-list input { accent-color: var(--accent); }
.network-list .none { color: var(--muted); font-size: 0.85rem; padding: 0.5rem 0.35rem; }
.net-group { display: flex; flex-direction: column; gap: 0.1rem; }
.net-group + .net-group { margin-top: 0.45rem; }
.net-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem 0.35rem 0.15rem;
}
.net-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.net-group-all {
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--accent-text);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1px 9px;
}
.net-group-all:hover { border-color: var(--accent); color: var(--accent-text); }

.filters .switch {
  flex-direction: row;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  color: var(--text);
  gap: 0.4rem;
  cursor: pointer;
}

.active-network {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.active-network[hidden] { display: none; }
.active-network:hover { opacity: 0.9; }

.result-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.85rem;
}

.progress {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.progress-bar {
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  width: 0;
  transition: width 0.2s ease;
  flex: 1;
}

.progress-text { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }

.grid { display: block; }

.month-block { border-top: 1px solid var(--border); }
.month-block:first-child { border-top: none; }

.month-heading {
  position: sticky;
  top: var(--topbar-h, 0px);
  z-index: 5;
  margin: 0;
  padding: 0.7rem 1.25rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  background: var(--bg);
  border-bottom: 2px solid var(--accent);
}

@media (max-width: 560px) {
  .month-heading { font-size: 1.4rem; }
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.1rem;
  padding: 1.25rem;
}

.month-empty { padding: 0 1.25rem 1.5rem; color: var(--muted); font-size: 0.9rem; }

.sentinel {
  min-height: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.fav-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.3rem;
  height: 2.3rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  transition: transform 0.1s ease, background 0.1s ease;
}
.fav-btn:hover { transform: scale(1.15); background: rgba(0, 0, 0, 0.75); }
.fav-btn.on {
  color: #ffd34d;
  border-color: #ffd34d;
}

.card:hover { transform: translateY(-3px); border-color: var(--accent); }

/* Already-aired days: no dimming at all — the card stays full colour like any other.
   The only differentiator is the explicit "Aired" badge below. */
/* Explicit, always-visible "already aired" marker (not colour-only, for a11y). */
.aired-flag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.card.past .card-date {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.card-img {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--surface-2);
}

.card-no-img {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  background: var(--surface-2);
  text-align: center;
  padding: 0.5rem;
}

.card-body { padding: 0.65rem 0.7rem 0.8rem; }

.card-date {
  display: inline-block;
  font-size: 0.82rem;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
}

.card-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.15rem 0 0.3rem;
}

.card-meta { font-size: 0.75rem; color: var(--muted); }
.chan-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}
.chan-link:hover { color: var(--accent-text); text-decoration: underline; }

.card-watch {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
}
.card-watch:hover { text-decoration: underline; }

.tag-stream {
  display: inline-block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-text);
  border: 1px solid var(--accent-text);
  border-radius: 4px;
  padding: 0 0.25rem;
  margin-left: 0.2rem;
  vertical-align: middle;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.05rem 0.4rem;
  margin-top: 0.3rem;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.modal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  height: min(85vh, 520px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
}
/* Body fills the fixed-height card; the summary scrolls, the header stays put. */
#modalBody { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.changelog, .settings { flex: 1; min-height: 0; overflow-y: auto; }
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.modal-nav[hidden] { display: none; }
.modal-nav.prev { left: max(0.5rem, calc(50% - 340px)); }
.modal-nav.next { right: max(0.5rem, calc(50% - 340px)); }
.modal-nav:hover { border-color: var(--accent); }
@media (max-width: 560px) {
  .month-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .modal { padding: 0.6rem; }
  .modal-card { padding: 1.1rem; height: min(90vh, 560px); }
  .modal-close { top: 0.4rem; right: 0.5rem; }
  .modal-head { gap: 0.75rem; }
  .modal-head img { width: 88px; }
  .modal-title { font-size: 1.15rem; }
  /* Leave room so the bottom pager doesn't cover the last summary lines. */
  .modal-summary { padding-bottom: 3.2rem; }

  /* Carousel arrows become a centered pager at the bottom (no mid-text overlap). */
  .modal-nav {
    top: auto;
    bottom: 0.6rem;
    transform: none;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.4rem;
  }
  .modal-nav.prev { left: calc(50% - 3.2rem); right: auto; }
  .modal-nav.next { right: calc(50% - 3.2rem); left: auto; }
}

.modal-close {
  position: absolute; top: 0.6rem; right: 0.8rem;
  background: none; border: none; color: var(--muted);
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.modal-head { display: flex; gap: 1rem; flex-shrink: 0; }
.modal-head img { width: 120px; border-radius: 8px; flex-shrink: 0; }
.modal-title { margin: 0 0 0.3rem; }
.modal-sub {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.6rem;
}
.channel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  margin-right: 0.5rem;
  flex-shrink: 0;
}
.channel-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.channel-chip.is-initial { background: var(--chip-bg, var(--accent)); border-color: transparent; }
.channel-chip.is-initial::before {
  content: attr(data-initial);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.modal-summary { margin-top: 1rem; color: var(--text); font-size: 0.92rem; flex: 1; min-height: 0; overflow-y: auto; }
.modal-summary p { margin: 0 0 0.6rem; }
.modal-genres { margin-top: 0.6rem; }

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.modal-watch {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.modal-watch:hover { opacity: 0.9; }
.modal-fav {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.modal-fav:hover { border-color: var(--accent); }
.modal-fav.on { border-color: var(--star-on); color: var(--star-on); }
.modal-epguides {
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}
.modal-epguides:hover { color: var(--text); text-decoration: underline; }

/* Watch settings (channel → provider mappings) */
.settings .modal-title { margin: 0 0 0.3rem; }
.ov-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.9rem 0; }
.ov-row { display: flex; align-items: center; gap: 0.5rem; }
.ov-row select {
  flex: 1;
  min-width: 0;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
}
.ov-arrow { color: var(--muted); flex-shrink: 0; }
.ov-del { flex-shrink: 0; line-height: 1; }
.ov-empty { color: var(--muted); font-size: 0.9rem; margin: 0.9rem 0; }
.ov-add {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.ov-add:hover { border-color: var(--accent); }

.settings-h { font-size: 0.95rem; margin: 1.3rem 0 0.3rem; }
.settings-note { color: var(--muted); font-size: 0.85rem; margin: 0 0 0.6rem; }
.settings-note a { color: var(--accent-text); }
.tmdb-row { display: flex; gap: 0.5rem; margin-bottom: 0.4rem; }
.tmdb-input {
  flex: 1;
  min-width: 0;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.4rem 0.55rem;
  font-size: 0.85rem;
}
.tmdb-save {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.tmdb-save:hover { border-color: var(--accent); }

/* ---------- Accessibility ---------- */
/* Clear keyboard-focus ring for interactive elements (cards are role="button"). */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.modal-card:focus-visible { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
  .fav-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
