/* ============================================================
   Q版泡泡堂 · HTML5 Remake — candy-pop interface
   ============================================================ */

:root {
  --bg: #160b26;
  --bg-2: #241040;
  --panel: rgba(44, 22, 72, 0.82);
  --panel-2: rgba(58, 30, 92, 0.9);
  --line: rgba(255, 190, 235, 0.18);
  --pink: #ff5b9d;
  --pink-deep: #d82f78;
  --cyan: #5fd7ff;
  --yellow: #ffd84d;
  --green: #6ee08a;
  --violet: #a786ff;
  --text: #fff6fc;
  --muted: #cbb5e4;
  --shadow: 0 26px 70px rgba(8, 0, 20, 0.62);
  --r-lg: 26px;
  --r-md: 16px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --display: "Arial Black", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(255, 91, 157, 0.22), transparent 60%),
    radial-gradient(820px 560px at 92% 4%, rgba(95, 215, 255, 0.16), transparent 58%),
    radial-gradient(900px 700px at 50% 112%, rgba(167, 134, 255, 0.2), transparent 62%),
    linear-gradient(180deg, #1b0d2e 0%, #120720 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 1px, transparent 1.6px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.35) 1px, transparent 1.6px);
  background-size: 90px 90px, 130px 130px;
  opacity: 0.35;
  pointer-events: none;
}

#app {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px;
  max-width: 100%;
}

.stage-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.5));
}

/* ---------------- HUD ---------------- */
.hud {
  width: 252px;
  align-self: stretch;
  border-radius: var(--r-lg);
  padding: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.25s, transform 0.25s;
}

.hud.hidden { opacity: 0; transform: translateX(-10px); pointer-events: none; }

.hud-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.logo-mini {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #ffd9ec;
  white-space: nowrap;
}
.logo-mini span { color: var(--pink); }

.stage-chip {
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  padding: 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.timer-box {
  background: linear-gradient(160deg, rgba(255, 91, 157, 0.16), rgba(95, 215, 255, 0.08));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px 10px 10px;
  text-align: center;
}

.timer-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 700;
}

.timer {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 91, 157, 0.55);
  font-variant-numeric: tabular-nums;
}
.timer.low { color: #ff879b; animation: blink 0.7s steps(2) infinite; }

.timer-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 4px;
}
.timer-track i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow));
  transition: width 0.4s linear;
}

.cards { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; }

.card {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 13px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--c) 16%, transparent), rgba(255, 255, 255, 0.04));
  border: 1px solid color-mix(in srgb, var(--c) 34%, transparent);
  overflow: hidden;
  transition: opacity 0.25s, filter 0.25s;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c);
}
.card.out { opacity: 0.35; filter: grayscale(0.7); }

.avatar {
  width: 40px;
  height: 48px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4));
  flex: none;
}

.card-main { min-width: 0; flex: 1; }

.card-top {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 1.3;
}
.cname { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag {
  font-size: 9px;
  font-weight: 800;
  color: #1a0b25;
  background: var(--c);
  border-radius: 999px;
  padding: 1px 5px;
}
.tag.ai { background: rgba(255, 255, 255, 0.22); color: #fff; }
.cscore {
  margin-left: auto;
  font-family: var(--display);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--c);
}

.card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 6px;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}
.card-stats b { color: #fff; font-weight: 700; }
.special-chip {
  font-size: 9px;
  color: #1a0b25;
  background: linear-gradient(120deg, var(--yellow), #ffb02e);
  border-radius: 999px;
  padding: 1px 6px;
  font-weight: 800;
}
.hearts { font-size: 11px; letter-spacing: 1px; color: var(--pink); align-self: flex-start; margin-top: 1px; }

.hud-foot { display: flex; gap: 6px; }
.mini-btn {
  flex: 1;
  padding: 7px 4px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--font);
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.mini-btn:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }

/* ---------------- FIELD ---------------- */
.field {
  position: relative;
  width: min(900px, calc((100vh - 110px) * 1.154), calc(100vw - 330px));
  aspect-ratio: 450 / 390;
  height: auto;
  flex: none;
  align-self: center;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0d0618;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

#game { display: block; width: 100%; height: 100%; }

.field-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.07) inset,
    0 0 60px rgba(255, 91, 157, 0.14) inset;
  pointer-events: none;
  z-index: 3;
}

/* ---------------- SCREENS ---------------- */
.screen {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 4.5%, 28px);
  background:
    radial-gradient(420px 260px at 20% 8%, rgba(255, 91, 157, 0.28), transparent 65%),
    radial-gradient(420px 280px at 90% 90%, rgba(95, 215, 255, 0.2), transparent 65%),
    linear-gradient(160deg, rgba(32, 14, 56, 0.98), rgba(18, 7, 32, 0.98));
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  overflow: hidden;
}
.screen.show { opacity: 1; visibility: visible; transform: scale(1); }
.screen.overlay {
  background: rgba(13, 5, 24, 0.72);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  z-index: 20;
}

/* ---------------- TITLE ---------------- */
#titleScreen {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  background:
    radial-gradient(300px 220px at 50% 20%, rgba(255, 91, 157, 0.42), transparent 70%),
    radial-gradient(320px 240px at 20% 88%, rgba(95, 215, 255, 0.24), transparent 70%),
    radial-gradient(320px 240px at 84% 82%, rgba(255, 216, 77, 0.16), transparent 70%),
    linear-gradient(160deg, #2a1048, #140824 70%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.5;
  pointer-events: none;
}
.blob-a { width: 180px; height: 180px; background: #ff5b9d; left: -60px; top: -40px; animation: float 9s ease-in-out infinite; }
.blob-b { width: 200px; height: 200px; background: #5fd7ff; right: -70px; bottom: -60px; animation: float 11s ease-in-out infinite reverse; }

.title-lockup { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; }

.bomb-word {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.7);
  transform: skewX(-6deg);
}
.bomb-word em { color: var(--yellow); font-style: normal; margin-left: 6px; }

#titleScreen h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 10vw, 66px);
  line-height: 1.02;
  letter-spacing: 1px;
  color: #fff;
  text-shadow:
    0 3px 0 #b52b6b,
    0 5px 0 #7d1a4a,
    0 12px 30px rgba(255, 91, 157, 0.6);
}
#titleScreen h1 .q {
  display: inline-block;
  font-size: 0.42em;
  vertical-align: super;
  color: var(--yellow);
  text-shadow: 0 2px 0 #b3821c;
  margin-right: 4px;
  transform: rotate(-8deg);
}

.subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: #f2d7ea;
  letter-spacing: 1px;
}

.hero-row { display: flex; gap: 10px; margin-top: 10px; }
.hero-row img {
  width: 46px;
  height: 56px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45));
  animation: bob 1.8s ease-in-out infinite;
}
.hero-row img:nth-child(2) { animation-delay: 0.15s; }
.hero-row img:nth-child(3) { animation-delay: 0.3s; }
.hero-row img:nth-child(4) { animation-delay: 0.45s; }

.title-actions { display: flex; flex-direction: column; gap: 10px; width: min(360px, 88%); z-index: 2; }
.mode-buttons { display: flex; gap: 9px; }

.title-foot {
  position: absolute;
  bottom: 10px;
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------------- BUTTONS ---------------- */
.btn {
  position: relative;
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.2;
  transition: transform 0.16s, filter 0.16s, box-shadow 0.16s;
  overflow: hidden;
}
.btn small { font-weight: 500; font-size: 10px; opacity: 0.75; letter-spacing: 0.5px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.6); }
.btn:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:not(:disabled):active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  box-shadow: 0 8px 22px rgba(255, 91, 157, 0.35), 0 2px 0 rgba(255, 255, 255, 0.22) inset;
}
.btn-secondary {
  background: linear-gradient(135deg, #4fc9ef, #2277cc);
  box-shadow: 0 8px 22px rgba(79, 201, 239, 0.3), 0 2px 0 rgba(255, 255, 255, 0.2) inset;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  padding: 8px 12px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.13); }
.btn-lg { padding: 13px 18px; font-size: 15px; }
.mode-buttons .btn { flex: 1; padding: 15px 10px; }

/* ---------------- SETUP ---------------- */
#setupScreen { gap: 12px; }

.setup-head { display: flex; align-items: center; gap: 10px; }
.back-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  flex: none;
}
.back-btn:hover { background: rgba(255, 255, 255, 0.16); }
.setup-head h2 { margin: 0; font-size: 21px; }
.setup-head p { margin: 1px 0 0; font-size: 11px; color: var(--muted); }

.setup-body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; overflow-y: auto; padding-right: 2px; }
.setup-block h3 { margin: 0 0 6px; font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 700; }

.seg { display: flex; gap: 5px; background: rgba(255, 255, 255, 0.06); padding: 4px; border-radius: 12px; }
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 4px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1px;
  transition: background 0.15s, color 0.15s;
}
.seg button small { font-size: 9px; font-weight: 500; opacity: 0.7; }
.seg button.on { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; box-shadow: 0 4px 12px rgba(255, 91, 157, 0.3); }

.pick-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pick-label {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800;
  color: #1a0b25;
  flex: none;
}
.pick-label.p1 { background: var(--pink); }
.pick-label.p2 { background: var(--cyan); }
.pick-heroes { display: flex; gap: 6px; flex: 1; }

.pick-btn {
  flex: 1;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 11px;
  padding: 3px 2px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  font-family: var(--font);
  color: var(--muted);
  font-size: 8px;
}
.pick-btn img { width: 32px; height: 40px; object-fit: contain; object-position: center bottom; }
.pick-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); }
.pick-btn.sel {
  border-color: var(--pink);
  background: linear-gradient(160deg, rgba(255, 91, 157, 0.3), rgba(255, 91, 157, 0.08));
  color: #fff;
  box-shadow: 0 0 0 1px var(--pink) inset, 0 6px 16px rgba(255, 91, 157, 0.25);
}
.pick-btn.disabled { opacity: 0.28; pointer-events: none; }
.pick-hint { margin: 0; font-size: 10px; color: var(--muted); }

.setup-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.setup-summary { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* ---------------- SHEETS / HOW ---------------- */
.sheet {
  background: linear-gradient(160deg, rgba(58, 30, 92, 0.9), rgba(30, 13, 52, 0.92));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.sheet h2 { margin: 0; font-size: 18px; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  overflow-y: auto;
  flex: 1;
  padding-right: 2px;
}
.how-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
}
.how-card.wide-card { grid-column: 1 / -1; }
.how-card h4 { margin: 0 0 4px; font-size: 12px; color: var(--yellow); }
.how-card p { margin: 0; font-size: 10.5px; line-height: 1.55; color: #e6d7f2; }
.how-card b { color: #fff; }

.keys { display: flex; flex-direction: column; gap: 4px; font-size: 10px; }
.keys > div { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.keys b { color: var(--cyan); min-width: 18px; }
.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom-width: 2px;
  font-size: 8px;
  font-weight: 700;
}
.kbd.wide { min-width: 34px; }
.sheet-foot { display: flex; justify-content: flex-end; }

/* ---------------- DIALOGS ---------------- */
.dialog {
  width: min(420px, 92%);
  max-height: 94%;
  overflow-y: auto;
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(160deg, #3a1d5e, #230f3c);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: popIn 0.28s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.dialog-mark { font-size: 18px; color: var(--cyan); letter-spacing: 2px; }
.dialog h2 { margin: 6px 0 2px; font-size: 22px; }
.dialog p { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.dialog-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }

.result-badge {
  display: inline-block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 3px;
  color: #1a0b25;
  background: linear-gradient(120deg, var(--yellow), #ffb02e);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 6px;
}
.result-badge.lose { background: linear-gradient(120deg, #ff8aa8, #d82f78); color: #fff; }
.result-badge.final { background: linear-gradient(120deg, #8affc0, #35c46f); color: #0f2a1a; }

.result-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  text-align: left;
}
.r-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 11px;
}
.r-row img { width: 26px; height: 32px; object-fit: contain; object-position: center bottom; }
.r-row .rname { font-weight: 700; }
.r-row .rbreak { color: var(--muted); font-size: 9.5px; }
.r-row .rscore { margin-left: auto; font-family: var(--display); font-size: 13px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.r-row.human { background: rgba(255, 91, 157, 0.12); border-color: rgba(255, 91, 157, 0.3); }

/* ---------------- COUNTDOWN / TOAST ---------------- */
.countdown {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: rgba(10, 4, 20, 0.28);
  transition: opacity 0.2s;
}
.countdown.hidden { opacity: 0; }
.countdown span {
  font-family: var(--display);
  font-size: 104px;
  color: #fff;
  text-shadow: 0 4px 0 #b52b6b, 0 0 40px rgba(255, 91, 157, 0.8);
  animation: popNum 0.5s ease-out;
}

.toast {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translate(-50%, -12px);
  z-index: 14;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(20, 8, 34, 0.86);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.page-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.36);
  letter-spacing: 0.5px;
}
.page-foot .dot { opacity: 0.5; }

/* ---------------- ANIMATIONS ---------------- */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -18px) scale(1.08); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes blink { 50% { opacity: 0.35; } }
@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes popNum {
  from { transform: scale(1.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 800px) {
  body { align-items: flex-start; overflow-y: auto; }
  #app { padding: 10px; width: 100%; }
  .stage-wrap { flex-direction: column; width: 100%; max-width: 560px; gap: 8px; }
  .hud { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 10px; }
  .hud-head { flex: 1 1 100%; }
  .timer-box { flex: 0 0 108px; padding: 5px 8px 7px; }
  .timer { font-size: 21px; }
  .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 5px; flex: 1 1 100%; }
  .card { min-width: 0; padding: 5px 6px; }
  .avatar { width: 24px; height: 30px; }
  .card-stats { display: none; }
  .hud-foot { flex: 0 0 100%; }
  .field { width: 100%; height: auto; aspect-ratio: 450 / 390; }
  .page-foot { display: none; }
}

@media (max-width: 430px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-card.wide-card { grid-column: auto; }
  .hero-row img { width: 30px; height: 38px; }
  #titleScreen h1 { font-size: 42px; }
  .pick-btn img { width: 22px; height: 28px; }
  .setup-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .setup-summary { text-align: center; }
}

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