/* ==========================================================================
   Synbrains site host - premium dark interface
   ========================================================================== */

:root {
  /* Surfaces */
  --canvas: #08090c;
  --panel: #101218;
  --panel-2: #161a22;
  --sunken: #0d0f14;

  /* Lines */
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Ink */
  --ink: #eef1f7;
  --ink-muted: #9aa3b5;
  --ink-faint: #6b7488;

  /* Accent ramp */
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-grad: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --accent-soft: rgba(99, 102, 241, 0.16);
  --ring: rgba(99, 102, 241, 0.45);

  /* Semantic */
  --good: #34d399;
  --good-soft: rgba(52, 211, 153, 0.14);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.14);
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, 0.14);

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 64px -16px rgba(0, 0, 0, 0.8);

  /* Type */
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Aurora backdrop - three blurred gradient blooms plus a noise veil.
   Fixed layer so it never participates in layout or scrolling.
   -------------------------------------------------------------------------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--canvas);
}

.aurora::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(30rem 24rem at 20% 18%, rgba(99, 102, 241, 0.5), transparent 62%),
    radial-gradient(28rem 22rem at 82% 26%, rgba(34, 211, 238, 0.34), transparent 64%),
    radial-gradient(34rem 26rem at 62% 92%, rgba(139, 92, 246, 0.38), transparent 66%),
    radial-gradient(42rem 34rem at 50% 50%, rgba(76, 88, 190, 0.22), transparent 70%);
  filter: blur(40px);
  animation: drift 28s ease-in-out infinite alternate;
}

/* Noise veil kills the banding that large soft gradients produce. */
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.08);
  }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.muted {
  color: var(--ink-muted);
}

.faint {
  color: var(--ink-faint);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

.hint {
  margin-top: 0.4rem;
  color: var(--ink-faint);
  font-size: 0.75rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   Brand mark
   -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Centered auth / gate layout
   -------------------------------------------------------------------------- */

body.centered {
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.card {
  position: relative;
  width: 100%;
  max-width: 25rem;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 26, 34, 0.92), rgba(13, 15, 20, 0.92));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-lift), var(--highlight);
  animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Gradient hairline border, drawn as a masked ring so the fill stays glassy. */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.5), rgba(34, 211, 238, 0.22) 40%, rgba(255, 255, 255, 0.06) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Block-level inside a card so a following pill starts its own line. */
.card .brand {
  display: flex;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.card-lede {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.card-foot {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink-faint);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Pills
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.62rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.pill-on {
  color: var(--good);
  background: var(--good-soft);
  border-color: rgba(52, 211, 153, 0.28);
}

.pill-off {
  color: var(--ink-faint);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.pill-warn {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: rgba(251, 191, 36, 0.28);
}

.pill-accent {
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.28);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field + .field {
  margin-top: 1.1rem;
}

label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

input[type="text"],
input[type="password"],
input:not([type]),
select {
  width: 100%;
  padding: 0.68rem 0.8rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  background: var(--sunken);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder {
  color: var(--ink-faint);
}

input:hover,
select:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 3px var(--ring);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%239aa3b5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}

/* Input with a trailing affordance (eye toggle) */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  padding-right: 2.7rem;
}

.icon-btn {
  position: absolute;
  right: 0.35rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.icon-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

/* Endpoint field with a leading slash */
.prefixed {
  display: flex;
  align-items: stretch;
  background: var(--sunken);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.prefixed:focus-within {
  border-color: var(--accent);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 3px var(--ring);
}

.prefixed > span {
  display: grid;
  place-items: center;
  padding-left: 0.8rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.prefixed input {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.prefixed input:focus {
  box-shadow: none;
}

/* Checkbox row */
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.7rem 0 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
}

.checkbox input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

button {
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent-grad);
  color: #0a0b10;
  font-weight: 600;
  box-shadow: 0 6px 20px -8px rgba(99, 102, 241, 0.9), var(--highlight);
}

.btn-primary:hover {
  background: var(--accent-grad);
  filter: brightness(1.08);
  box-shadow: 0 10px 26px -8px rgba(99, 102, 241, 1), var(--highlight);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-muted);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.btn-block {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Toggle switch
   -------------------------------------------------------------------------- */

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: relative;
  width: 42px;
  height: 24px;
  flex: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cfd5e2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.switch input:checked + .switch-track {
  background: var(--accent-grad);
  border-color: transparent;
  box-shadow: 0 4px 14px -4px rgba(99, 102, 241, 0.8);
}

.switch input:checked + .switch-track::after {
  transform: translateX(18px);
  background: #fff;
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.75rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.75rem 5rem;
}

.page-head {
  margin-bottom: 1.5rem;
}

.page-head p {
  margin-top: 0.3rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Site cards
   -------------------------------------------------------------------------- */

.site {
  position: relative;
  margin-bottom: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 26, 34, 0.86), rgba(16, 18, 24, 0.86));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card), var(--highlight);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.site:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift), var(--highlight);
}

/* Amber edge marks the one state that silently breaks a share. */
.site.needs-password::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--warn), rgba(251, 191, 36, 0.15));
}

.site-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.4rem 1.1rem;
}

.site-head h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.site-path {
  margin-top: 0.3rem;
  color: var(--ink-faint);
}

.pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.4rem;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toggle-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.link-chip:hover {
  color: var(--accent-2);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
  text-decoration: none;
}

.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-faint);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.copy-btn:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.24);
}

.copy-btn.copied {
  color: var(--good);
  border-color: rgba(52, 211, 153, 0.45);
  background: var(--good-soft);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.1rem 1.25rem;
  align-items: start;
  padding: 1.3rem 1.4rem;
}

.grid .field + .field {
  margin-top: 0;
}

.grid-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 0 1.4rem 1.3rem;
}

.warn-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 1.4rem 1.2rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  color: #f5d78a;
  font-size: 0.82rem;
}

.warn-note svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* Empty state */
.empty {
  padding: 3rem 2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  color: var(--ink-muted);
}

.empty h2 {
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.empty pre {
  display: inline-block;
  margin: 1.25rem 0 0;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sunken);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Flash messages: inline on auth cards, toasts in the console
   -------------------------------------------------------------------------- */

.flashes {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.flash {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.flash-error {
  color: #fca5a5;
  background: var(--bad-soft);
  border-color: rgba(248, 113, 113, 0.32);
}

.flash-success {
  color: #6ee7b7;
  background: var(--good-soft);
  border-color: rgba(52, 211, 153, 0.32);
}

.toasts {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: grid;
  gap: 0.6rem;
  width: min(22rem, calc(100vw - 2.5rem));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(22, 26, 34, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lift);
  font-size: 0.86rem;
  animation: toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.toast.dismissed {
  animation: toast-out 0.3s ease forwards;
}

.toast-error {
  border-left: 3px solid var(--bad);
}

.toast-success {
  border-left: 3px solid var(--good);
}

.toast-close {
  margin-left: auto;
  padding: 0 0.2rem;
  border: 0;
  background: transparent;
  color: var(--ink-faint);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.toast-close:hover {
  color: var(--ink);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .wrap {
    padding: 1.5rem 1rem 4rem;
  }

  .topbar {
    padding: 0.8rem 1rem;
  }

  .topbar .brand-sub {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .site-head,
  .site-bar {
    padding: 1rem;
  }

  .grid-actions {
    padding: 0 1.1rem 1.1rem;
  }

  .grid-actions .btn {
    flex: 1;
  }

  .toasts {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }
}

@media (max-width: 380px) {
  .topbar-meta .pill {
    display: none;
  }

  .card {
    padding: 1.75rem 1.25rem 1.5rem;
  }
}

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