/* Trò Vui — kiểu dáng chung.
Đậm theo hướng người lớn tuổi: chữ to, tương phản cao, vùng chạm rộng (≥56px),
màu kem ấm đỡ chói, xanh teal đậm làm màu chính. Toàn bộ co giãn theo rem. */

:root {
  --bg: #FBF6EE;
  --surface: #FFFFFF;
  --ink: #292018;
  --muted: #66584A;
  --line: #E7DCCF;
  --primary: #0B6E59;
  --primary-deep: #085A48;
  --primary-soft: #E2F0EB;
  --on-primary: #FFFFFF;
  --amber: #E8A13A;
  --amber-deep: #8A5200;
  --amber-soft: #FFE3A6;
  --ok-bg: #E7F5E9;
  --ok-ink: #1E5B2E;
  --ok-line: #2E7D32;
  --bad-bg: #FBEAE6;
  --bad-ink: #8A2E1E;
  --bad-line: #B3402A;
  --shadow: 0 2px 10px rgba(60, 44, 20, 0.10);
  --radius: 16px;
}

html { font-size: 22px; }
html[data-textsize='normal'] { font-size: 19px; }
html[data-textsize='xlarge'] { font-size: 26px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.25; }

/* ---------- Thanh trên ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}
.topbar-right { display: flex; gap: 8px; }
.topbtn { min-height: 56px; min-width: 56px; padding: 6px 14px; }

.view {
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 14px 56px;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 10px 22px;
  border-radius: 14px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.04rem;
  cursor: pointer; text-align: center;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.985); }
.btn .ic { display: inline-flex; width: 1.35em; height: 1.35em; }
.btn .ic svg { width: 100%; height: 100%; }

.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.primary:active { background: var(--primary-deep); }
.btn.secondary { background: var(--surface); color: var(--primary-deep); border-color: var(--primary); }
.btn.ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn[disabled] { opacity: 0.45; cursor: default; }

.btn-row { display: flex; gap: 12px; margin-top: 18px; }
.btn-row.wrap { flex-wrap: wrap; }
.btn-row.col { flex-direction: column; }
.btn-row.col .btn { width: 100%; }
.btn-detail { display: block; width: 100%; font-weight: 400; font-size: 0.92rem; color: inherit; opacity: 0.92; }

.tool-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.tool-col { display: flex; flex-direction: column; gap: 10px; }
.moves { color: var(--muted); font-size: 0.95rem; }

/* ---------- Thẻ chỉ dẫn + karaoke ---------- */
.instruct {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
  margin: 4px 0 18px;
  box-shadow: var(--shadow);
}
.instruct-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 6px;
}
.instruct-title {
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--primary-deep);
}
.btn.listen { min-height: 56px; padding: 8px 16px; font-size: 1rem; }
.say {
  margin: 0;
  font-size: 1.36rem;
  font-weight: 600;
  line-height: 1.65;
}
.say .w { padding: 0 3px; border-radius: 6px; color: #635648; transition: background 0.18s ease, color 0.18s ease; }
.say .w.lit { background: var(--amber-soft); color: #241B12; }
.help-say { font-size: 1.2rem; }

/* ---------- Trang chính ---------- */
.screen-title { font-size: 1.3rem; margin: 10px 2px 12px; }
.game-cards { display: flex; flex-direction: column; gap: 14px; }
.game-card {
  display: grid;
  grid-template-columns: 84px 1fr 30px;
  grid-template-areas: "ic name go" "ic desc go";
  align-items: center; column-gap: 14px;
  min-height: 112px;
  padding: 16px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  font: inherit; color: var(--ink);
  cursor: pointer; text-align: left;
  transition: border-color 0.15s ease, transform 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}
.game-card:active { transform: scale(0.99); border-color: var(--primary); }
.game-card-ic {
  grid-area: ic; width: 84px; height: 84px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
}
.game-card-ic svg { width: 52px; height: 52px; color: var(--primary-deep); }
.game-card-name { grid-area: name; font-size: 1.5rem; font-weight: 800; }
.game-card-desc { grid-area: desc; color: var(--muted); font-size: 1.02rem; }
.game-card-go { grid-area: go; display: flex; color: var(--primary); }
.game-card-go svg { width: 28px; height: 28px; }
.foot-note { color: var(--muted); font-size: 0.95rem; margin-top: 26px; }

/* ---------- Màn vào trò: chọn mức / chơi tiếp ---------- */
.diff-list { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.diff-list .btn { flex-direction: column; gap: 2px; padding: 14px 20px; }
.entry { max-width: 480px; }
.entry-title { font-size: 1.3rem; margin: 6px 2px 14px; }
.entry-preview { margin-bottom: 6px; }
.entry-note { color: var(--muted); margin: 8px 2px; }
.ref-thumb { display: block; width: min(300px, 100%); border-radius: 14px; border: 2px solid var(--line); }
.mini-grid { display: grid; gap: 8px; max-width: 300px; margin: 4px 0; }
.mini-card {
  aspect-ratio: 3 / 4; border-radius: 10px;
  background: var(--primary); opacity: 0.35;
  display: flex; align-items: center; justify-content: center;
}
.mini-card.k { opacity: 1; background: var(--surface); border: 2px solid var(--ok-line); }
.mini-card.k svg { width: 70%; height: 70%; }

/* ---------- Trò ghép hình ---------- */
.board-wrap { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.board-wrap.done .board { opacity: 0.92; }
.board {
  position: relative;
  flex: 0 1 520px;
  width: 100%;
  max-width: min(520px, 92vw, 68vh);
  aspect-ratio: 1;
  background: #C9BBA8;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  touch-action: manipulation;
}
.tile {
  position: absolute; left: 0; top: 0;
  border: none; padding: 0; margin: 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(50, 35, 15, 0.18);
  cursor: pointer;
  transition: transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.tile.no-anim { transition: none; }
.tile.sel {
  z-index: 2;
  /* vành sáng + vành tối: một trong hai luôn đạt ≥3:1 trên mọi nền ảnh */
  box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 7px var(--ink);
  filter: brightness(1.07);
}
.board-full, .board-hint {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.7s ease;
  pointer-events: none;
}
.board-hint { transition-duration: 0.35s; }
.board-hint.show { opacity: 0.94; }
.board.won .board-full { opacity: 1; }
.board-side { flex: 0 0 190px; display: flex; flex-direction: column; gap: 12px; }
.ref-box { display: flex; flex-direction: column; gap: 6px; }
.ref-caption {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 48px;
  background: none; border: none; padding: 2px 4px;
  font: inherit; font-size: 0.95rem; color: var(--muted);
  cursor: pointer; text-align: left; justify-content: flex-start;
}
.ref-caption .ic { width: 1.2em; height: 1.2em; display: inline-flex; }
.ref-caption .ic svg { width: 100%; height: 100%; }
.after-win { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- Trò ghép cặp ---------- */
.game-head { margin: 2px 2px 10px; font-size: 1rem; color: var(--muted); }
.mgrid { display: grid; gap: 10px; }
.mcard {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 44px;
  border: none; padding: 0; margin: 0;
  background: none; cursor: pointer;
  perspective: 700px;
  -webkit-tap-highlight-color: transparent;
}
.minner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.45s ease;
}
.mcard.up .minner { transform: rotateY(180deg); }
.mface {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.mface.front { background: var(--primary); }
.mface.front svg { width: 42%; height: 42%; color: rgba(255, 255, 255, 0.5); }
.mface.back { transform: rotateY(180deg); background: var(--surface); border: 2px solid var(--line); }
.mface.back svg { width: 72%; height: 72%; }
.mcard.up .mface.front { box-shadow: none; }
.mcard.k .mface.back { border-color: var(--ok-line); background: var(--ok-bg); }
.mcard.k { animation: cardpulse 0.5s ease; }
@keyframes cardpulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

/* ---------- Trò đố vui ---------- */
.chip {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-deep);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.85rem; font-weight: 800;
}
.opt-list { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.btn.opt { justify-content: flex-start; text-align: left; padding: 12px 18px; }
.opt-num {
  flex: 0 0 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary-deep);
  border-radius: 12px; font-size: 1.15rem; font-weight: 800;
}
.btn.opt.speaking { border-color: var(--amber-deep); box-shadow: 0 0 0 3px var(--amber-soft); }
.btn.opt.right { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.btn.opt.right .opt-num { background: var(--ok-line); color: #fff; }
.btn.opt.wrong { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad-ink); animation: shake 0.4s ease; }
.btn.opt.wrong .opt-num { background: var(--bad-line); color: #fff; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  60% { transform: translateX(5px); }
}
.explain {
  margin-top: 20px;
  background: var(--surface);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  padding: 16px 18px;
  max-width: 620px;
  box-shadow: var(--shadow);
}
.explain-title { margin: 0 0 6px; font-size: 1.05rem; color: #7A5410; }
.explain-text {
  display: block; width: 100%;
  background: none; border: none; padding: 0;
  font: inherit; font-size: 1.12rem; line-height: 1.6; color: var(--ink);
  text-align: left; cursor: pointer;
}
.explain-text .ic { width: 1.2em; height: 1.2em; display: inline-flex; vertical-align: middle; color: var(--muted); }
.explain-text .ic svg { width: 100%; height: 100%; }

/* ---------- Trò tìm khác nhau ---------- */
.spot-wrap { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.spot-img {
  position: relative; display: block; width: 100%; padding: 0; margin: 0;
  border: 2px solid var(--line); border-radius: 14px;
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.spot-img img { display: block; width: 100%; height: auto; pointer-events: none; }
.spot-img:active { transform: scale(0.995); }
.spot-layer { position: absolute; inset: 0; pointer-events: none; }
.spot-found, .spot-hint, .spot-miss {
  position: absolute; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.spot-found {
  border: 4px solid var(--ok-line); background: rgba(46, 125, 50, 0.22);
  animation: spotpop 0.35s ease;
}
.spot-hint {
  border: 5px solid var(--amber-deep); background: rgba(232, 161, 58, 0.18);
  animation: spotblink 0.9s ease infinite;
}
.spot-miss {
  width: 44px; height: 44px;
  border: 4px solid var(--muted); background: rgba(102, 88, 74, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  animation: spotfade 0.9s ease forwards;
}
@keyframes spotpop {
  0% { transform: translate(-50%, -50%) scale(0.4); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
@keyframes spotblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes spotfade { 0% { opacity: 0.9; } 60% { opacity: 0.55; } 100% { opacity: 0; } }

/* ---------- Trò lô tô ---------- */
.call-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 2px solid var(--amber); border-radius: var(--radius);
  padding: 14px 18px; margin: 4px 0 16px; box-shadow: var(--shadow);
}
.call-side { display: flex; flex-direction: column; }
.call-num-lbl { color: var(--muted); font-size: 0.92rem; font-weight: 700; }
.call-num { font-size: 3.2rem; font-weight: 800; color: var(--primary-deep); line-height: 1.15; min-width: 2ch; }
.call-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lt-grid { display: grid; gap: 10px; max-width: 520px; margin-bottom: 6px; }
.lt-cell {
  position: relative; min-height: 76px;
  border: 2px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 1.55rem; font-weight: 800;
  cursor: pointer; box-shadow: var(--shadow);
  -webkit-tap-highlight-color: transparent;
}
.lt-cell:active { transform: scale(0.985); }
.lt-cell.marked { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.lt-cell .stamp { position: absolute; top: 4px; right: 6px; width: 22px; height: 22px; color: var(--ok-line); }
.lt-cell .stamp svg { width: 100%; height: 100%; }
.lt-history { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.num-chip { font-size: 1.15rem; font-weight: 800; padding: 6px 16px; }
.num-chip.now { background: var(--amber-soft); color: #241B12; }

/* ---------- Trò xếp câu ---------- */
.xc-line {
  display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start;
  min-height: 78px; background: var(--surface);
  border: 2px dashed var(--line); border-radius: 14px; padding: 12px;
}
.xc-line:not(:empty) { border-style: solid; border-color: var(--primary); background: var(--primary-soft); }
.xc-chunk {
  min-height: 56px; padding: 8px 20px;
  border-radius: 12px; border: 2px solid var(--primary);
  background: var(--surface); color: var(--primary-deep);
  font: inherit; font-weight: 800; font-size: 1.12rem;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.xc-chunk:active { transform: scale(0.97); }
.xc-chunk.placed { background: var(--surface); }
.xc-chunk.placed.right { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.xc-chunk.placed.wrong { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad-ink); animation: shake 0.4s ease; }
.xc-pool { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Trò cờ ca ro ---------- */
.caro-head {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.2rem; font-weight: 800; min-height: 44px;
  margin: 2px 2px 14px;
}
.caro-mark { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; }
.caro-mark svg { width: 100%; height: 100%; }
.caro-head .caro-mark.m1 { color: var(--primary-deep); }
.caro-head .caro-mark.m2 { color: var(--amber-deep); }
.caro-board { display: grid; gap: 6px; max-width: min(520px, 100%); margin: 0 auto; }
.caro-cell {
  aspect-ratio: 1; min-height: 44px; min-width: 44px;
  border: 2px solid var(--line); border-radius: 10px;
  background: var(--surface); padding: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.caro-cell:active { transform: scale(0.96); }
.caro-cell.p1, .caro-cell.p2 { cursor: default; }
.caro-cell.p1 { color: var(--primary-deep); }
.caro-cell.p2 { color: var(--amber-deep); }
.caro-cell .caro-mark svg { width: 74%; height: 74%; }
.caro-cell.winline { background: var(--ok-bg); border-color: var(--ok-line); }
.cr-mini { max-width: 240px; }
.cr-mini-cell {
  aspect-ratio: 1; border-radius: 8px;
  background: var(--primary); opacity: 0.3;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
}
.cr-mini-cell.p1, .cr-mini-cell.p2 {
  opacity: 1; background: var(--surface); border: 2px solid var(--line); color: var(--ink);
}

/* ---------- Màn chúc mừng ---------- */
.win {
  background: var(--surface);
  border: 2px solid var(--ok-line);
  border-radius: 20px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 480px;
  width: 100%;
  animation: rise 0.35s ease;
}
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.win-badge {
  width: 76px; height: 76px; margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--ok-line); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.win-badge svg { width: 44px; height: 44px; }
.win-title { margin: 0 0 6px; font-size: 1.4rem; }
.win-sub { margin: 0 0 4px; color: var(--muted); font-size: 1.02rem; }
.win .btn-row { justify-content: center; }

/* ---------- Hộp thoại ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(41, 32, 24, 0.45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 4vh 14px 20px;
  opacity: 0; transition: opacity 0.18s ease;
  overflow-y: auto;
}
.modal-back.show { opacity: 1; }
.modal.sheet {
  background: var(--surface);
  border-radius: 20px;
  padding: 18px 20px 22px;
  max-width: 560px; width: 100%;
  box-shadow: 0 10px 40px rgba(30, 20, 8, 0.25);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.modal-title { margin: 0; font-size: 1.25rem; }
.close-btn { min-width: 56px; min-height: 56px; padding: 8px; border-radius: 14px; }
.confirm-text { font-size: 1.15rem; margin: 6px 0 0; }

/* ---------- Cài đặt ---------- */
.set-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: none; }
.set-label { display: block; font-weight: 700; font-size: 1.02rem; margin-bottom: 8px; }
.set-ctl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.set-state { color: var(--muted); font-size: 0.95rem; }

.switch {
  position: relative; width: 84px; height: 52px;
  border-radius: 999px; border: 2px solid var(--line);
  background: #EFE7DA; cursor: pointer; padding: 0;
  transition: background 0.2s ease;
}
.switch .knob {
  position: absolute; top: 4px; left: 4px;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.switch.on { background: var(--primary); border-color: var(--primary-deep); }
.switch.on .knob { transform: translateX(32px); }

.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-btn {
  min-height: 56px; padding: 8px 18px;
  border-radius: 14px; border: 2px solid var(--line);
  background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 700; cursor: pointer;
}
.seg-btn.on { background: var(--primary); border-color: var(--primary-deep); color: #fff; }

.slider { flex: 1; min-width: 200px; }
input[type='range'] {
  width: 100%; height: 44px; margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ---------- Màn mở đầu ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: opacity 0.35s ease;
}
.overlay.hide { opacity: 0; pointer-events: none; }
.overlay-card { text-align: center; max-width: 460px; }
.overlay-logo { margin-bottom: 6px; }
.overlay-title { font-size: 2.4rem; margin: 0 0 6px; }
.overlay-sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 22px; }
.overlay-btn { min-height: 84px; min-width: 280px; font-size: 1.25rem; border-radius: 20px; }
.overlay-note { color: var(--muted); font-size: 0.92rem; margin-top: 18px; }

.noscript-note { text-align: center; color: var(--bad-ink); padding: 20px; font-size: 1.1rem; }

/* ---------- Rép phòng hẹp và máy tính bảng ---------- */
@media (max-width: 560px) {
  .topbtn .btn-label { display: none; }
  .topbtn { padding: 8px 12px; }
  .topbtn .ic { width: 1.7em; height: 1.7em; }
  .board-side { flex: 1 1 100%; flex-direction: row; align-items: flex-start; }
  .ref-box { max-width: 200px; }
  .tool-col { flex: 1; }
  .game-card { grid-template-columns: 64px 1fr 26px; min-height: 100px; }
  .game-card-ic { width: 64px; height: 64px; border-radius: 14px; }
  .game-card-ic svg { width: 40px; height: 40px; }
}

/* ---------- Ít chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
