/* In-browser VOIDLINE demo. Uses the landing tokens from index.html. */

.nav-demo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-demo:hover { color: var(--cyan); }
.nav-demo:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.demo {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(0,229,255,0.1), transparent 42%),
    radial-gradient(ellipse at 78% 70%, rgba(255,43,214,0.08), transparent 40%),
    radial-gradient(ellipse at 22% 88%, rgba(255,209,102,0.06), transparent 36%),
    var(--black);
}
.demo-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.demo-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,209,102,0.5);
  background: rgba(5,5,10,0.72);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  text-wrap: balance;
}
.demo-head .section-title { margin-bottom: 12px; }
.demo-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 46ch;
  margin: 0 auto;
  text-wrap: balance;
}

.demo-shell {
  position: relative;
  width: min(740px, 100%);
  margin: 0 auto;
  padding: 18px 22px 16px;
  border-radius: 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(10,12,20,0.94), rgba(7,8,14,0.92)) padding-box,
    linear-gradient(135deg, rgba(0,229,255,0.7), rgba(255,43,214,0.38) 55%, rgba(255,209,102,0.55)) border-box;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.48),
    0 0 40px rgba(0,229,255,0.08);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 4px;
}
.demo-status {
  min-height: 1.2em;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.demo-status.is-x { color: var(--cyan); }
.demo-status.is-o { color: var(--magenta); }
.demo-status.is-hot { color: var(--gold); }

.demo-sound {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(5,5,10,0.55);
  color: var(--muted);
  cursor: pointer;
}
.demo-sound svg { width: 18px; height: 18px; display: block; }
.demo-sound .icon-on { display: none; }
.demo-sound.is-on {
  color: var(--cyan);
  border-color: rgba(0,229,255,0.55);
  box-shadow: 0 0 14px rgba(0,229,255,0.25);
}
.demo-sound.is-on .icon-off { display: none; }
.demo-sound.is-on .icon-on { display: block; }
.demo-sound:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.demo-hud {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.demo-side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.demo-side--o { justify-content: flex-end; }
.demo-pname {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-side.is-turn .demo-pname { color: var(--text); }
.demo-side--x.is-turn .demo-pname { text-shadow: 0 0 14px rgba(0,229,255,0.55); }
.demo-side--o.is-turn .demo-pname { text-shadow: 0 0 14px rgba(255,43,214,0.5); }
.demo-pip { flex: none; }
.demo-pip--x {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 100% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 100% 2px no-repeat;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 4px rgba(0,229,255,0.85));
}
.demo-pip--o {
  width: 14px;
  height: 14px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,43,214,0.75);
}

.demo-clock {
  position: relative;
  width: 86px;
  height: 86px;
}
.demo-ring { width: 100%; height: 100%; display: block; }
.demo-ring__track,
.demo-ring__value {
  fill: none;
  stroke-width: 2.4;
}
.demo-ring__track { stroke: rgba(255,255,255,0.1); }
.demo-ring__value {
  stroke: rgba(0,229,255,0.4);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.demo-clock.is-x .demo-ring__value { stroke: var(--cyan); }
.demo-clock.is-o .demo-ring__value { stroke: var(--magenta); }
.demo-clock.is-urgent .demo-ring__value { stroke: var(--gold); }
.demo-seconds {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  pointer-events: none;
}
.demo-clock.is-x .demo-seconds { color: var(--cyan); }
.demo-clock.is-o .demo-seconds { color: var(--magenta); }
.demo-clock.is-urgent .demo-seconds {
  color: var(--gold);
  animation: demoPulse 0.85s ease-in-out infinite;
}
@keyframes demoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.demo-stage {
  position: relative;
  margin-top: 4px;
  border-radius: 18px;
}
.demo.is-shattering .demo-stage,
.demo.is-sinking .demo-stage {
  overflow: hidden;
}
.demo-shadow {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 10px;
  height: 36px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.8), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.demo-perspective {
  position: relative;
  z-index: 1;
  perspective: 900px;
  perspective-origin: 50% 18%;
  padding: 16px 8px 28px;
}
.demo-board {
  --base-tilt: 15deg;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(560px, 100%);
  margin: 0 auto;
  transform: rotateX(calc(var(--base-tilt) + var(--tilt-x))) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
}
.demo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  transform-style: preserve-3d;
}
.demo-ambient {
  position: absolute;
  inset: 10% 8% 14%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.demo-mote {
  position: absolute;
  left: var(--x);
  bottom: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(210, 232, 255, 0.7);
  box-shadow: 0 0 6px rgba(0,229,255,0.45);
  animation: demoDrift var(--dur, 10s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes demoDrift {
  0% { transform: translate3d(0, 8px, 0); opacity: 0; }
  14% { opacity: 0.7; }
  100% { transform: translate3d(var(--drift, 8px), -150px, 0); opacity: 0; }
}
.demo-tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(0,229,255,0.28);
  border-top-color: rgba(255,255,255,0.28);
  border-left-color: rgba(255,43,214,0.22);
  border-bottom-width: 3px;
  border-bottom-color: rgba(140, 190, 210, 0.2);
  background:
    linear-gradient(155deg, rgba(28, 34, 48, 0.95), rgba(8, 10, 16, 0.94) 46%, rgba(6, 7, 12, 0.96));
  box-shadow:
    0 16px 22px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -16px 22px rgba(0,0,0,0.45);
  color: var(--text);
  cursor: default;
  transform: translateZ(20px);
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.demo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32), transparent 16%),
    linear-gradient(140deg, rgba(255,255,255,0.12), transparent 34%, transparent 68%, rgba(0,229,255,0.1));
  pointer-events: none;
}
.demo-tile.is-open { cursor: pointer; }
.demo-tile:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  z-index: 3;
}
.demo-tile.is-x {
  border-color: rgba(0,229,255,0.65);
  box-shadow:
    0 16px 22px rgba(0,0,0,0.5),
    0 0 18px rgba(0,229,255,0.22),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.demo-tile.is-o {
  border-color: rgba(255,43,214,0.6);
  box-shadow:
    0 16px 22px rgba(0,0,0,0.5),
    0 0 18px rgba(255,43,214,0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.demo-tile.is-hot {
  border-color: rgba(255,209,102,0.95);
  box-shadow:
    0 0 22px rgba(255,209,102,0.55),
    inset 0 0 16px rgba(255,209,102,0.28);
}
.demo-tile.is-last.is-x {
  box-shadow:
    0 0 16px rgba(0,229,255,0.55),
    0 0 32px rgba(0,229,255,0.28),
    inset 0 1px 0 rgba(255,255,255,0.28);
}
.demo-tile.is-last.is-o {
  box-shadow:
    0 0 16px rgba(255,43,214,0.5),
    0 0 32px rgba(255,43,214,0.24),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.demo-burst {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(0,229,255,0.35) 42%, transparent 70%);
}
.demo-tile.is-o .demo-burst {
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,43,214,0.4) 42%, transparent 70%);
}
.demo-tile.is-impact .demo-burst { animation: demoBurst 0.42s ease-out; }
.demo-tile.is-impact { animation: demoHit 0.42s ease-out; }
@keyframes demoBurst {
  0% { opacity: 0.95; transform: scale(0.25); }
  100% { opacity: 0; transform: scale(1.45); }
}
@keyframes demoHit {
  0% { transform: translateZ(20px) scale(0.9); }
  40% { transform: translateZ(34px) scale(1.05); filter: brightness(1.65); }
  100% { transform: translateZ(20px) scale(1); filter: brightness(1); }
}
.demo-tile.is-cold {
  border-color: rgba(255,43,214,0.7);
  box-shadow: 0 0 16px rgba(255,43,214,0.28);
}
.mark { display: block; width: 46%; height: 46%; position: relative; }
.mark[hidden] { display: none; }
.mark-x::before,
.mark-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 14%;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0,229,255,0.9), 0 0 18px rgba(0,229,255,0.45);
}
.mark-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.mark-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mark-o {
  border: 5px solid var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255,43,214,0.85), inset 0 0 10px rgba(255,43,214,0.35);
}
.demo-tile.is-hot .mark-x::before,
.demo-tile.is-hot .mark-x::after {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(255,209,102,0.95);
}
.demo-crack {
  position: absolute;
  inset: 10%;
  width: 80%;
  height: 80%;
  opacity: 0;
  pointer-events: none;
}
.demo-crack path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.6;
  stroke-linejoin: miter;
  stroke-linecap: square;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  filter: drop-shadow(0 0 4px rgba(255,209,102,0.95));
}
.demo-tile.is-cracked .demo-crack path { animation: demoZap 0.48s ease forwards; }
@keyframes demoZap { to { stroke-dashoffset: 0; } }
.demo-tile.is-cracked {
  cursor: default;
  border-color: rgba(255,209,102,0.42);
  background:
    linear-gradient(160deg, rgba(48, 36, 16, 0.55), rgba(8, 8, 12, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255,209,102,0.16),
    inset 0 0 18px rgba(0,0,0,0.45),
    0 12px 18px rgba(0,0,0,0.45);
}
.demo-tile.is-cracked .demo-crack { opacity: 1; }
.demo-tile[data-cell="1"] .demo-crack,
.demo-tile[data-cell="5"] .demo-crack,
.demo-tile[data-cell="6"] .demo-crack { transform: scaleX(-1); }
.demo-tile[data-cell="3"] .demo-crack,
.demo-tile[data-cell="8"] .demo-crack { transform: rotate(8deg); }

.demo-winline {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  height: 4px;
  width: var(--len, 0px);
  pointer-events: none;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 48px) rotate(var(--rot, 0deg));
  transform-origin: 0 50%;
}
.demo-winline {
  height: 5px;
}
.demo-winline span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #fff 18%, var(--gold) 42%, #fff6d4 58%, transparent 78%);
  background-size: 45% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 14px rgba(255,209,102,0.95), 0 0 28px rgba(255,209,102,0.65);
  transform-origin: 0 50%;
  animation: demoBolt 0.55s ease-out forwards;
}
@keyframes demoBolt {
  0% { background-position: -30% 0; transform: scaleX(0.15); opacity: 0.35; }
  100% { background-position: 130% 0; transform: scaleX(1); opacity: 1; }
}
.demo-loss-crack {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.demo-loss-crack path {
  fill: none;
  stroke: rgba(255,209,102,0.85);
  stroke-width: 1.1;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 3px rgba(255,209,102,0.7));
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}
.demo.is-sinking .demo-loss-crack path { animation: demoDraw 0.7s ease forwards; }
@keyframes demoDraw { to { stroke-dashoffset: 0; } }
.demo-flash {
  position: absolute;
  inset: -6%;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(255,248,220,0.92), rgba(255,209,102,0.28) 36%, transparent 68%);
}
.demo.is-shattering .demo-flash { animation: demoFlash 0.62s ease-out; }
@keyframes demoFlash {
  0% { opacity: 0.88; }
  100% { opacity: 0; }
}
.demo-fx {
  position: absolute;
  inset: -10%;
  z-index: 6;
  pointer-events: none;
  transform: translateZ(64px);
}

.demo-dust,
.demo-shard,
.demo-fall {
  position: absolute;
  pointer-events: none;
  border-radius: 1px;
}
.demo-dust {
  left: 50%;
  top: 50%;
  width: 3px;
  height: 6px;
  animation: demoDust 0.55s ease-out forwards;
}
.demo-fall {
  width: 5px;
  height: 8px;
  background: linear-gradient(#fff6d4, var(--gold));
  box-shadow: 0 0 6px rgba(255,209,102,0.8);
  animation: demoFall 0.72s ease-in forwards;
}
.demo-shard {
  width: 3px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 8px currentColor;
  animation: demoShard 1.55s cubic-bezier(.15,.7,.2,1) forwards;
}
@keyframes demoDust {
  to { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)); }
}
@keyframes demoFall {
  to { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)); }
}
@keyframes demoShard {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scaleY(1); }
  100% { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scaleY(1.4); }
}

.demo.is-shattering .demo-tile {
  animation: demoFly 1.7s cubic-bezier(.15,.7,.2,1) both;
}
@keyframes demoFly {
  0% { transform: translate3d(0, 0, 18px) rotate(0deg); opacity: 1; filter: brightness(1); }
  22% { transform: translate3d(calc(var(--dx, 0px) * 0.45), calc(var(--dy, 0px) * 0.45), 30px) rotate(calc(var(--rot, 0deg) * 0.45)); opacity: 1; filter: brightness(1.85); }
  68% { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 40px) rotate(var(--rot, 0deg)); opacity: 1; filter: brightness(1.25); }
  100% { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 40px) rotate(var(--rot, 0deg)); opacity: 0; filter: brightness(1); }
}
.demo.is-sinking .demo-board {
  animation: demoSink 1.15s ease forwards;
}
@keyframes demoSink {
  to {
    transform: rotateX(36deg) translateY(42px) scale(0.84);
    filter: brightness(0.2);
    opacity: 0.3;
  }
}

.demo-overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(5, 5, 10, 0.34);
}
.demo-overlay[hidden] { display: none; }
.demo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 320px);
  padding: 18px 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,229,255,0.38);
  background:
    linear-gradient(180deg, rgba(0,229,255,0.08), transparent 42%),
    rgba(8, 10, 18, 0.88);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 24px rgba(0,229,255,0.08);
}
.demo-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(100%, 300px);
}
.demo-field > span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.demo-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,229,255,0.4);
  background: rgba(5,5,10,0.72);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.demo-field input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.demo-diffs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.demo-diffs button {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.4);
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.demo-diffs button[aria-checked="true"] {
  color: #12100a;
  border-color: transparent;
  background: linear-gradient(135deg, #FFE08A, var(--gold));
  box-shadow: 0 0 16px rgba(255,209,102,0.28);
}
.demo-diffs button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.demo-overlay .btn { width: min(100%, 280px); }
.demo-result {
  font-size: clamp(2rem, 7vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}
.demo-result.is-win {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255,209,102,0.55);
}
.demo-result.is-loss { color: #c5cad3; }
.demo-result.is-draw { color: var(--cyan); }
.demo-beta {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-beta:hover { color: var(--cyan); }
.demo-beta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.demo-note {
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

@media (hover: hover) and (pointer: fine) {
  .demo-tile.is-open:hover {
    border-color: rgba(0,229,255,0.8);
    transform: translateZ(32px);
  }
  .demo.is-shattering .demo-tile:hover { transform: none; }
}

@media (max-width: 520px) {
  .demo { padding: 48px 16px; }
  .demo-kicker { letter-spacing: 0.06em; font-size: 0.62rem; padding: 6px 10px; }
  .demo-shell { padding: 14px 12px 12px; border-radius: 18px; }
  .demo-clock { width: 72px; height: 72px; }
  .demo-seconds { font-size: 1.15rem; }
  .demo-pname { font-size: 0.72rem; letter-spacing: 0.04em; }
  .demo-board,
  .demo-row { gap: 7px; }
  .demo-perspective { perspective: 680px; padding: 8px 2px 18px; }
  .demo-board { --base-tilt: 11deg; }
  .demo-tile { border-radius: 11px; }
  .mark-o { border-width: 4px; }
}
@media (max-width: 380px) {
  .demo-hud { gap: 6px; }
  .demo-side { gap: 5px; }
  .demo-clock { width: 60px; height: 60px; }
  .demo-seconds { font-size: 1rem; }
  .demo-pname { font-size: 0.64rem; letter-spacing: 0; }
  .demo-diffs { gap: 6px; }
  .demo-diffs button {
    padding: 8px 10px;
    font-size: 0.75rem;
    letter-spacing: 0;
  }
  .demo-board,
  .demo-row { gap: 5px; }
  .demo-tile { border-radius: 9px; }
  .mark-o { border-width: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo.is-shattering .demo-tile,
  .demo.is-sinking .demo-board,
  .demo-clock.is-urgent .demo-seconds,
  .demo-dust,
  .demo-shard,
  .demo-fall,
  .demo-mote,
  .demo-flash,
  .demo-tile.is-impact,
  .demo-tile.is-impact .demo-burst,
  .demo-tile.is-cracked .demo-crack path,
  .demo-winline span,
  .demo-loss-crack path {
    animation: none !important;
  }
  .demo-loss-crack path,
  .demo-tile.is-cracked .demo-crack path { stroke-dashoffset: 0; }
  .demo-mote { display: none; }
  .demo-tile.is-open:hover { transform: translateZ(20px); }
}
