:root {
  --bg-a: #071423;
  --bg-b: #0f2a47;
  --panel: rgba(249, 252, 255, 0.92);
  --line: rgba(21, 43, 66, 0.16);
  --text: #0e243a;
  --sub: #45607a;
  --brand: #ff6f3b;
  --brand-2: #ffae4e;
  --mint: #2fbbc0;
  --radius: 18px;
  --shadow: 0 14px 32px rgba(8, 20, 37, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(255, 191, 170, 0.32), transparent 30%),
    linear-gradient(148deg, var(--bg-a), var(--bg-b) 56%, #18395c);
}

.app {
  width: min(1220px, 95vw);
  margin: 0 auto;
  padding: 48px 0 70px;
}

.hero {
  color: #f5fbff;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #a9d2ff;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.hero h1 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
}

.hero p {
  margin: 12px 0 0;
  color: #d8e6f4;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.card {
  grid-column: span 12;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.card h2 {
  margin: 0;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--sub);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}

label {
  display: grid;
  gap: 3px;
  color: #30465c;
  font-size: 0.82rem;
  font-weight: 650;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid #c9d8e6;
  background: #fff;
  padding: 0 10px;
}

input[type="range"] {
  width: min(240px, 56vw);
}

.btn {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid #cfdcec;
  background: #edf3fa;
  color: #20384d;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 650;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: 0;
}

.tag {
  border-radius: 999px;
  background: #e8f0f8;
  border: 1px solid #cfe0f0;
  color: #294761;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.note {
  font-size: 0.88rem;
  color: #33516b;
}

.meter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meter-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e3ecf5;
}

.meter-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff8049, #ffb851);
}

.radar-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.radar-ui {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle, #f2f8ff 15%, #d7ebff 100%);
  border: 1px solid #b6cde4;
}

.radar-ring,
.radar-cross {
  position: absolute;
  pointer-events: none;
}

.r1 { inset: 12px; border-radius: 50%; border: 1px solid rgba(84, 122, 158, 0.34); }
.r2 { inset: 30px; border-radius: 50%; border: 1px solid rgba(84, 122, 158, 0.34); }
.r3 { inset: 48px; border-radius: 50%; border: 1px solid rgba(84, 122, 158, 0.34); }

.radar-cross.h { left: 8px; right: 8px; top: 50%; border-top: 1px dashed rgba(74, 110, 146, 0.4); }
.radar-cross.v { top: 8px; bottom: 8px; left: 50%; border-left: 1px dashed rgba(74, 110, 146, 0.4); }

.radar-sweep {
  position: absolute;
  inset: -18px;
  background: conic-gradient(from 0deg, rgba(32, 94, 139, 0) 0deg, rgba(32, 94, 139, 0.28) 40deg, rgba(32, 94, 139, 0) 80deg);
  animation: sweep 5s linear infinite;
}

.radar-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 57px;
  margin-left: -1.5px;
  margin-top: -57px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6f3b 0 58%, rgba(41, 68, 95, 0.45) 58%);
  transform-origin: 50% 100%;
  transform: rotate(0deg);
  transition: transform 220ms ease;
  z-index: 3;
}

.radar-target {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  border-radius: 50%;
  background: #ff5d35;
  box-shadow: 0 0 0 0 rgba(255, 93, 53, 0.4);
  animation: pulse 1.6s ease-out infinite;
  transition: transform 200ms ease;
  z-index: 4;
}

.radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 50%;
  background: #26486d;
  z-index: 5;
}

.radar-label {
  position: absolute;
  font-size: 0.64rem;
  color: #4b6785;
  font-weight: 700;
}

.radar-label.n { top: 4px; left: 50%; transform: translateX(-50%); }
.radar-label.e { right: 6px; top: 50%; transform: translateY(-50%); }
.radar-label.s { bottom: 4px; left: 50%; transform: translateX(-50%); }
.radar-label.w { left: 6px; top: 50%; transform: translateY(-50%); }

.mini-stats {
  margin: 0;
  display: grid;
  gap: 8px;
}

.mini-stats > div {
  border: 1px solid #d4e1ed;
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
}

.mini-stats dt {
  color: #506980;
  font-size: 0.76rem;
}

.mini-stats dd {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 750;
}

.impact-pad {
  min-height: 52px;
  border-radius: 12px;
  border: 1px dashed #98b2c9;
  background: linear-gradient(160deg, #f7fbff, #ebf5ff);
  color: #34546f;
  cursor: pointer;
  font-weight: 700;
}

.impact-pad.active {
  background: linear-gradient(160deg, #e4f1ff, #d4e8ff);
}

.smash-stage {
  position: relative;
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid #ccd9e6;
  background: radial-gradient(circle at 74% 20%, #f8fcff, #e5eef8 60%, #d8e3f2);
  overflow: hidden;
}

.smash-panel {
  position: absolute;
  inset: 12px;
  border-radius: 10px;
  border: 1px solid #b4c7d9;
  background:
    linear-gradient(120deg, #fff 0 30%, #edf2f7 30% 64%, #f7fbff 64%),
    repeating-linear-gradient(0deg, rgba(66, 93, 121, 0.07) 0 2px, transparent 2px 15px);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #2a445e;
  letter-spacing: 0.07em;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.smash-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(60deg, transparent 45%, rgba(45, 72, 99, 0.44) 48%, transparent 51%),
    linear-gradient(115deg, transparent 39%, rgba(45, 72, 99, 0.32) 41%, transparent 43%),
    linear-gradient(8deg, transparent 73%, rgba(45, 72, 99, 0.26) 76%, transparent 79%);
  transition: opacity 180ms ease;
}

.smash-panel.level-1::before { opacity: 0.35; }
.smash-panel.level-2::before { opacity: 0.62; }
.smash-panel.broken { opacity: 0.08; transform: scale(0.94); filter: saturate(1.2); }

.shards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shard {
  position: absolute;
  width: 18px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(140deg, #ffffff, #d7e6f6);
  border: 1px solid rgba(117, 142, 167, 0.55);
  animation: shard 700ms ease-out forwards;
}

.mosaic-grid {
  --grid: 18;
  display: grid;
  grid-template-columns: repeat(var(--grid), 1fr);
  gap: 2px;
  width: min(460px, 90vw);
}

.mosaic-cell {
  border: 1px solid #d5e1ed;
  border-radius: 4px;
  background: #f5faff;
  width: 100%;
  aspect-ratio: 1/1;
  padding: 0;
  cursor: pointer;
}

.mosaic-cell.on {
  background: linear-gradient(145deg, #1ca0ae, #1d6ea7);
  border-color: transparent;
}

.mic-bars {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
  height: 76px;
  align-items: end;
}

.mic-bar {
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #53c6d0, #236da2);
  height: 8%;
}

.scratch-wrap {
  position: relative;
  width: min(640px, 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d0dce8;
}

.scratch-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}

#scratch-mask {
  position: absolute;
  inset: 0;
  touch-action: none;
}

.journey-board {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
}

.journey-cell {
  min-height: 36px;
  border: 1px solid #d5e0ec;
  border-radius: 8px;
  background: #f7fbff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #56708a;
}

.journey-cell.player {
  background: linear-gradient(135deg, #ff9967, #ff6f3b);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

.journey-cell.goal {
  background: #e9f5ff;
  border-color: #b6d4eb;
  color: #214a6d;
  font-weight: 700;
}

.impact-list {
  display: grid;
  gap: 8px;
}

.impact-item {
  border: 1px solid #d7e4ef;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}

.impact-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
}

.impact-bar {
  margin-top: 7px;
  height: 8px;
  background: #e1f0ef;
  border-radius: 999px;
  overflow: hidden;
}

.impact-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mint), #66d0d0);
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.slot-reels strong {
  border: 1px solid #d5e2ee;
  border-radius: 10px;
  background: #fff;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: #1d3a54;
}

.draw-canvas {
  width: min(720px, 100%);
  border: 1px solid #d0dce8;
  border-radius: 12px;
  background: #ffffff;
  touch-action: none;
}

.label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: #45627d;
  font-weight: 700;
}

.memory-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.memory-card {
  border: 1px solid #d3e0ec;
  border-radius: 10px;
  min-height: 62px;
  background: linear-gradient(140deg, #f2f8ff, #e7f0fb);
  color: #33556f;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.memory-card::before {
  content: \"\";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(68, 103, 136, 0.12) 0 6px, transparent 6px 12px);
}

.memory-card > span {
  position: relative;
  z-index: 1;
}

.memory-card.open,
.memory-card.matched {
  background: #ffffff;
}

.memory-card.matched {
  border-color: #73b7e4;
  color: #1e5885;
}

.puzzle-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.puzzle-cell {
  min-height: 38px;
  border: 1px solid #d2deea;
  border-radius: 7px;
  background: #f8fbff;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #355572;
}

.coin-scene {
  min-height: 74px;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  background: linear-gradient(180deg, #fafdff, #eef5ff);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.coin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #d5a227;
  background: radial-gradient(circle at 35% 35%, #ffe09a, #e0ab2b);
}

.seq-steps {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.seq-step {
  border: 1px solid #d0dce8;
  border-radius: 8px;
  min-height: 52px;
  background: #f4f9ff;
  color: #355675;
  font-weight: 700;
  cursor: pointer;
}

.seq-step.on {
  background: linear-gradient(150deg, #54c9c9, #2f88b4);
  border-color: transparent;
  color: #fff;
}

.seq-step.playhead {
  box-shadow: 0 0 0 2px #ff8f55 inset;
}

.marker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.marker-grid > div {
  border: 1px solid #d3dfeb;
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
}

.marker-grid dt {
  color: #4e6983;
  font-size: 0.78rem;
}

.marker-grid dd {
  margin: 2px 0 0;
  font-weight: 800;
  color: #1f4466;
}

.guess-ring {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid #c3d5e6;
  background: radial-gradient(circle, #f6fbff 16%, #deecfa 100%);
}

.guess-needle,
.target-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 62px;
  margin-left: -1.5px;
  margin-top: -62px;
  transform-origin: 50% 100%;
}

.guess-needle {
  background: linear-gradient(180deg, #ff7e49 0 58%, rgba(40, 67, 93, 0.4) 58%);
  border-radius: 999px;
}

.target-needle {
  background: linear-gradient(180deg, #28b7b8 0 58%, rgba(40, 67, 93, 0.3) 58%);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.target-needle.visible {
  opacity: 1;
}

.guess-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  background: #2a4d71;
}

.seq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.window-scene {
  border: 1px solid #d0ddeb;
  border-radius: 12px;
  background: linear-gradient(180deg, #dcecff, #d3e4f9);
  padding: 10px;
}

.window-frame {
  height: 130px;
  border: 8px solid #f6f9fc;
  border-radius: 8px;
  background: linear-gradient(180deg, #7fb1e6, #355f8d);
  position: relative;
  overflow: hidden;
}

.window-sun {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff9c0, #ffd259);
  left: 20px;
  top: 18px;
  transition: left 240ms ease, top 240ms ease, opacity 240ms ease;
}

.cross-grid {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  grid-template-rows: repeat(3, 44px);
  gap: 6px;
  width: fit-content;
}

.cross-grid input {
  width: 44px;
  height: 44px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

#cross-top {
  grid-column: 2;
  grid-row: 1;
}

#cross-left {
  grid-column: 1;
  grid-row: 2;
}

#cross-center {
  grid-column: 2;
  grid-row: 2;
}

#cross-right {
  grid-column: 3;
  grid-row: 2;
}

#cross-bottom {
  grid-column: 2;
  grid-row: 3;
}

.collage-board {
  position: relative;
  min-height: 240px;
  border: 1px dashed #b8cbe0;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 249, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(80, 112, 141, 0.06) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(80, 112, 141, 0.06) 0 1px, transparent 1px 22px);
  overflow: hidden;
}

.paper-piece {
  position: absolute;
  min-width: 92px;
  min-height: 34px;
  border: 1px solid #b9cade;
  border-radius: 7px;
  background: linear-gradient(150deg, #fff, #eef3f8);
  box-shadow: 0 6px 12px rgba(31, 56, 80, 0.12);
  color: #23405c;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 10px;
  cursor: grab;
  user-select: none;
}

.paper-piece.dragging {
  cursor: grabbing;
}

.headline-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.headline-line strong {
  border: 1px solid #d1ddec;
  border-radius: 10px;
  background: #fff;
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #274764;
}

.tap-pad {
  min-height: 86px;
  border-radius: 12px;
  border: 1px solid #a9c2d8;
  background: linear-gradient(160deg, #f6fbff, #e7f2ff);
  color: #2c4b69;
  font-weight: 800;
  cursor: pointer;
}

.tap-pad.active {
  background: linear-gradient(160deg, #deefff, #d0e5ff);
}

.lights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  max-width: 280px;
}

.light-cell {
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid #cad7e6;
  background: #f4f8fd;
  cursor: pointer;
}

.light-cell.on {
  background: radial-gradient(circle at 35% 35%, #fff8c9, #ffca48);
  border-color: #f2bf3b;
  box-shadow: 0 0 18px rgba(255, 193, 56, 0.42);
}

.tilt-stage {
  perspective: 780px;
  min-height: 200px;
  border: 1px solid #d0deec;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 30%, #f9fcff, #e8f0fa);
  display: grid;
  place-items: center;
}

.tilt-card {
  width: min(320px, 90%);
  height: 130px;
  border-radius: 14px;
  border: 1px solid #aec2d7;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(233, 244, 255, 0.85)),
    repeating-linear-gradient(45deg, rgba(56, 89, 120, 0.08) 0 8px, transparent 8px 16px);
  box-shadow: 0 20px 40px rgba(31, 56, 82, 0.22);
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 120ms ease;
}

.tilt-card span {
  color: #3f5f7c;
  font-size: 0.84rem;
}

.tilt-card strong {
  color: #1c4266;
  letter-spacing: 0.08em;
  font-size: 1.4rem;
}

.wipe-wrap {
  position: relative;
  min-height: 150px;
  border-radius: 12px;
  border: 1px solid #cfdeeb;
  overflow: hidden;
}

.wipe-base,
.wipe-front {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wipe-base {
  background: linear-gradient(160deg, #f9fcff, #e8f1fb);
  color: #3b5c79;
}

.wipe-front {
  background: linear-gradient(160deg, #ffe7d4, #ffc18f);
  color: #7a3000;
  clip-path: inset(0 50% 0 0);
}

.wipe-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(42, 78, 108, 0.45);
}

.palette-swatches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.swatch {
  border: 1px solid #cdd9e6;
  border-radius: 8px;
  min-height: 60px;
  position: relative;
  overflow: hidden;
}

.swatch span {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 5px;
}

.reaction-pad {
  min-height: 96px;
  border-radius: 12px;
  border: 1px solid #a8c2d8;
  background: linear-gradient(160deg, #f6fbff, #e7f1ff);
  font-weight: 800;
  color: #2a4863;
  cursor: pointer;
}

.reaction-pad.ready {
  background: linear-gradient(160deg, #d7ffe3, #8de8ab);
}

.reaction-pad.early {
  background: linear-gradient(160deg, #ffe3de, #ffb8a8);
}

.maze-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  max-width: 320px;
}

.maze-cell {
  min-height: 36px;
  border-radius: 6px;
  border: 1px solid #d3dfeb;
  background: #f8fbff;
}

.maze-cell.wall {
  background: #334960;
  border-color: #2a3f54;
}

.maze-cell.player {
  background: radial-gradient(circle, #ffcc70, #ff8f46);
  border-color: #f08742;
}

.maze-cell.goal {
  background: radial-gradient(circle, #8ef0f0, #41b8bc);
  border-color: #3ba3a7;
}

.dot-grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 3px;
  max-width: 360px;
}

.dot-cell {
  min-height: 16px;
  border-radius: 3px;
  background: #edf3fa;
}

.dot-cell.on {
  background: #274766;
}

.particle-canvas {
  width: min(720px, 100%);
  border: 1px solid #ccd9e7;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #fcfeff, #edf4fb);
  touch-action: none;
}

@media (min-width: 900px) {
  .card {
    grid-column: span 6;
  }

  #sec-draw {
    grid-column: span 12;
  }

  #sec-marker-check {
    grid-column: span 12;
  }

  #sec-collage {
    grid-column: span 12;
  }

  #sec-particles {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .app {
    padding-top: 30px;
  }

  .radar-shell {
    grid-template-columns: 1fr;
  }

  .puzzle-wrap {
    grid-template-columns: 1fr;
  }
}

@keyframes sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 93, 53, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 93, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 93, 53, 0);
  }
}

@keyframes shard {
  from {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.9;
  }
  to {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.7);
    opacity: 0;
  }
}
