:root {
  --bg-0: #0a0710;
  --bg-1: #160f22;
  --warm-0: #ff8a3d;
  --warm-1: #ff5f6d;
  --warm-2: #ffc06a;
  --glow: rgba(255, 138, 61, 0.55);
  --white-key: #f5efe6;
  --white-key-shadow: #cbc0b0;
  --black-key: #1c1622;
  --text: #f4ecff;
  --text-dim: #a99fc0;
  --panel: rgba(28, 20, 40, 0.55);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, var(--bg-1), var(--bg-0) 60%);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Slow-moving warm ambient glow behind everything */
.ambient {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(255, 95, 109, 0.18), transparent 70%),
    radial-gradient(45% 45% at 70% 60%, rgba(255, 192, 106, 0.16), transparent 70%),
    radial-gradient(35% 35% at 50% 80%, rgba(255, 138, 61, 0.14), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}

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

.app {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  padding: 24px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Top header bar */
.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px;
}

.brand {
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(120deg, var(--warm-2), var(--warm-0) 45%, var(--warm-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--warm-1); /* fallback if text-fill unsupported */
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px var(--glow);
}

.nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.nav-link {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dim);
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover:not(.active) {
  color: var(--text);
}

.nav-link.active {
  color: #2a0d00;
  background: linear-gradient(120deg, var(--warm-2), var(--warm-0));
  box-shadow: 0 0 16px var(--glow);
}

.hero {
  text-align: center;
}

.title {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--warm-2), var(--warm-0) 45%, var(--warm-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px var(--glow);
}

.subtitle {
  margin-top: 10px;
  color: var(--text-dim);
  font-weight: 300;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
}

.panel {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px clamp(16px, 4vw, 34px) 30px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-dim);
  min-height: 38px;
  transition: color 0.3s ease;
}

.now-playing.active {
  color: var(--text);
}

.np-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4b4459;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.now-playing.active .np-dot {
  background: var(--warm-0);
  box-shadow: 0 0 12px var(--glow);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Sound banks */
.bank {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* View-mode segmented control */
.mode-toggle {
  align-self: center;
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.mode-btn {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: transparent;
  border: none;
  padding: 7px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mode-btn.active {
  color: #2a0d00;
  background: linear-gradient(120deg, var(--warm-2), var(--warm-0));
  box-shadow: 0 0 16px var(--glow);
}

/* Tile (pad) grid — hidden unless the app is in tiles mode */
.tiles {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.app.mode-tiles .keyboard {
  display: none;
}

.app.mode-tiles .tiles {
  display: grid;
}

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tile.black {
  color: var(--text-dim);
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12));
}

.tile:hover {
  transform: translateY(-2px);
}

.tile:active {
  transform: scale(0.97);
}

.tile.active {
  background: linear-gradient(160deg, var(--warm-0), var(--warm-1));
  color: #2a0d00;
  border-color: transparent;
  box-shadow: 0 0 28px var(--glow), 0 12px 26px rgba(0, 0, 0, 0.45);
}

.tile-key {
  position: absolute;
  bottom: 9px;
  left: 12px;
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.4;
  white-space: nowrap;
}

.tile.sampled::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-2);
  box-shadow: 0 0 6px var(--glow);
}

.bank-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 4px;
}

.bank-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-2);
}

.bank-meta {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-dim);
}

/* Piano keyboard */
.keyboard {
  position: relative;
  display: flex;
  justify-content: center;
  height: 200px;
  padding: 0 6px;
  user-select: none;
}

.key {
  position: relative;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.08s ease, box-shadow 0.25s ease, filter 0.25s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  font-weight: 600;
}

.key .label {
  pointer-events: none;
  opacity: 0.7;
}

.key.white {
  flex: 1 1 0;
  max-width: 78px;
  height: 100%;
  background: linear-gradient(180deg, var(--white-key), #e7ddce);
  border-radius: 0 0 10px 10px;
  box-shadow:
    inset 0 -6px 10px rgba(0, 0, 0, 0.12),
    0 8px 14px rgba(0, 0, 0, 0.35);
  color: #7a6f5c;
  margin: 0 2px;
}

.key.black {
  position: absolute;
  top: 0;
  width: 8.4%;
  max-width: 46px;
  height: 62%;
  background: linear-gradient(180deg, #2a2233, var(--black-key));
  border-radius: 0 0 7px 7px;
  box-shadow:
    inset 0 -4px 6px rgba(255, 255, 255, 0.06),
    0 8px 16px rgba(0, 0, 0, 0.55);
  color: #d8cdea;
  z-index: 2;
  font-size: 0.72rem;
}

.key.white:active,
.key.black:active {
  transform: translateY(2px);
}

.key.active.white {
  background: linear-gradient(180deg, #fff2df, var(--warm-2));
  box-shadow:
    0 0 26px var(--glow),
    inset 0 -6px 12px rgba(255, 138, 61, 0.4),
    0 8px 18px rgba(0, 0, 0, 0.35);
  color: #7a3e10;
}

.key.active.black {
  background: linear-gradient(180deg, var(--warm-0), var(--warm-1));
  box-shadow:
    0 0 26px var(--glow),
    0 8px 18px rgba(0, 0, 0, 0.5);
  color: #2a0d00;
}

/* Controls */
.controls {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.control label {
  font-size: 0.85rem;
  color: var(--text-dim);
  min-width: 48px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 130px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--warm-0);
  box-shadow: 0 0 10px var(--glow);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--warm-0);
  box-shadow: 0 0 10px var(--glow);
  cursor: pointer;
}

.stop-btn {
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 95, 109, 0.16);
  border: 1px solid rgba(255, 95, 109, 0.4);
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.08s ease;
}

.stop-btn:hover {
  background: rgba(255, 95, 109, 0.28);
}

.stop-btn:active {
  transform: scale(0.96);
}

.hint {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 300;
  text-align: center;
}

.hint.error {
  color: var(--warm-1);
}

.status-bar {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 138, 61, 0.12);
  border: 1px solid rgba(255, 138, 61, 0.3);
  border-radius: 12px;
  text-align: center;
}

.status-bar.error {
  background: rgba(255, 95, 109, 0.12);
  border-color: rgba(255, 95, 109, 0.3);
}

.status-message {
  font-size: 0.9rem;
  color: var(--warm-0);
  font-weight: 400;
}

.status-bar.error .status-message {
  color: var(--warm-1);
}

.app.show-about .status-bar {
  display: none;
}

.app.loading .key {
  pointer-events: none;
  filter: grayscale(0.5) brightness(0.8);
}

/* A key whose exact recording exists gets a subtle dot marker */
.key.sampled::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warm-0);
  box-shadow: 0 0 6px var(--glow);
  opacity: 0.9;
}

/* Physical-key hint badge at the top of each major key */
.keycap {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.12);
  color: inherit;
  opacity: 0.55;
  pointer-events: none;
}

.key.black .keycap {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 4px;
}

.key.active .keycap {
  opacity: 0.8;
}

/* Footer credits */
.site-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 300;
}

.site-foot a {
  color: var(--warm-2);
  text-decoration: none;
  font-weight: 500;
}

.site-foot a:hover {
  text-decoration: underline;
}

.foot-sep {
  opacity: 0.4;
}

.link-btn {
  background: none;
  border: none;
  color: var(--warm-0);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.link-btn:hover {
  text-decoration: underline;
}

/* About page */
.about {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.app.show-about .panel,
.app.show-about > .hero {
  display: none;
}

.app.show-about .about {
  display: flex;
}

.app.show-about .hint {
  display: none;
}

/* Manual page */
.manual {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.app.show-manual .panel,
.app.show-manual > .hero {
  display: none;
}

.app.show-manual .manual {
  display: flex;
}

.app.show-manual .hint {
  display: none;
}

.manual-card {
  width: 100%;
  max-width: 650px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.manual-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  background: linear-gradient(120deg, var(--warm-2), var(--warm-0) 45%, var(--warm-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.manual-subtitle {
  color: var(--text-dim);
  font-weight: 300;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.manual-table {
  overflow-x: auto;
}

.manual-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.manual-table thead {
  border-bottom: 2px solid rgba(255, 138, 61, 0.3);
}

.manual-table th {
  padding: 10px 8px;
  text-align: center;
  font-weight: 600;
  color: var(--warm-2);
  letter-spacing: 0.05em;
}

.manual-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.manual-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.note-name {
  display: inline;
  color: var(--warm-0);
  font-weight: 600;
  margin-right: 6px;
  font-size: 0.85rem;
}

.manual-table kbd {
  display: inline;
  padding: 3px 6px;
  margin: 0 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--warm-0);
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.connection-info {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 138, 61, 0.2);
}

.connection-info h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.connection-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.connection-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 138, 61, 0.15);
  border-radius: 6px;
  font-size: 0.8rem;
}

.conn-icon {
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
}

.conn-text {
  color: var(--text-dim);
  line-height: 1.3;
}

.conn-text strong {
  color: var(--warm-0);
  font-weight: 600;
}

.connection-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin: 0;
  padding: 8px 10px;
  background: linear-gradient(135deg, rgba(255, 192, 106, 0.06), rgba(255, 138, 61, 0.04));
  border-radius: 6px;
}

.back-btn {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 16px;
}

.back-btn:hover {
  color: var(--text);
}

.about-card {
  width: 100%;
  max-width: 520px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* Animated musician-developer avatar */
.avatar {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--warm-2), var(--warm-1), var(--warm-0), var(--warm-2));
  filter: blur(7px);
  opacity: 0.7;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.avatar-inner {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, #2a1f3a, #160f22);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.55);
  animation: bob 3s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.avatar-inner svg {
  width: 100%;
  height: 100%;
  display: block;
}

.note {
  position: absolute;
  font-size: 1.4rem;
  color: var(--warm-2);
  text-shadow: 0 0 10px var(--glow);
  opacity: 0;
  animation: floatUp 3.2s ease-in infinite;
  z-index: 3;
}

.note.n1 { left: 8%; bottom: 22%; animation-delay: 0s; }
.note.n2 { right: 6%; bottom: 32%; animation-delay: 1.1s; font-size: 1.7rem; }
.note.n3 { right: 20%; top: 4%; animation-delay: 2.1s; }

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(12px) rotate(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-42px) rotate(14deg); }
}

.eq {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 20px;
  z-index: 2;
}

.eq span {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(var(--warm-2), var(--warm-0));
  transform-origin: bottom;
  animation: eq 1s ease-in-out infinite;
}

.eq span:nth-child(2) { animation-delay: 0.15s; }
.eq span:nth-child(3) { animation-delay: 0.3s; }
.eq span:nth-child(4) { animation-delay: 0.45s; }
.eq span:nth-child(5) { animation-delay: 0.6s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.about-name {
  font-size: 1.7rem;
  margin-top: 16px;
  letter-spacing: -0.01em;
}

.about-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warm-2);
  font-weight: 500;
  margin-top: 4px;
}

.about-role .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm-0);
  box-shadow: 0 0 10px var(--glow);
}

.about-bio {
  color: var(--text-dim);
  font-weight: 300;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.chip {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 26px 0 18px;
}

.connect-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  border: 1px solid var(--border);
  transition: transform 0.1s ease, box-shadow 0.25s ease;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social.pf svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.social:hover {
  transform: translateY(-2px);
}

.social.ig {
  background: linear-gradient(135deg, #feda75, #d62976 45%, #962fbf 75%, #4f5bd5);
  box-shadow: 0 8px 20px rgba(214, 41, 118, 0.35);
}

.social.yt {
  background: #ff0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.social.pf {
  background: linear-gradient(135deg, var(--warm-0), var(--warm-1));
  color: #2a0d00;
  box-shadow: 0 8px 20px var(--glow);
}

@media (prefers-reduced-motion: reduce) {
  .avatar-ring, .avatar-inner, .note, .eq span, .ambient {
    animation: none;
  }
}

@media (max-width: 560px) {
  .tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}
