:root {
  --ink: #1f2340;
  --muted: #5f6687;
  --panel: rgba(255, 252, 245, 0.72);
  --panel-border: rgba(255, 255, 255, 0.55);
  --accent: #ff6b4a;
  --accent-dark: #ea4c2d;
  --secondary: #89efd2;
  --secondary-dark: #173e46;
  --shadow:
    0 20px 40px rgba(50, 33, 82, 0.12),
    0 6px 18px rgba(255, 124, 80, 0.1);
  --hairline: rgba(41, 37, 74, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.78), transparent 16%),
    radial-gradient(circle at 82% 16%, rgba(255, 126, 92, 0.28), transparent 18%),
    radial-gradient(circle at 22% 80%, rgba(137, 239, 210, 0.32), transparent 20%),
    radial-gradient(circle at 76% 74%, rgba(185, 196, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #fff5c7 0%, #ffd9bf 35%, #ffc9d5 68%, #d9dfff 100%);
  background-color: #ffd9bf;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.78), transparent 16%),
    radial-gradient(circle at 82% 16%, rgba(255, 126, 92, 0.28), transparent 18%),
    radial-gradient(circle at 22% 80%, rgba(137, 239, 210, 0.32), transparent 20%),
    radial-gradient(circle at 76% 74%, rgba(185, 196, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #fff5c7 0%, #ffd9bf 35%, #ffc9d5 68%, #d9dfff 100%);
  background-size: 140% 140%, 130% 130%, 135% 135%, 125% 125%, 100% 100%;
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: 5rem;
  right: 4rem;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.42), rgba(137, 239, 210, 0.26) 48%, transparent 72%);
  filter: blur(4px);
  animation: orb-float-a 14s ease-in-out infinite;
}

body::after {
  bottom: 4rem;
  left: 3rem;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(circle at 40% 38%, rgba(255, 255, 255, 0.36), rgba(255, 107, 74, 0.22) 46%, transparent 74%);
  filter: blur(6px);
  animation: orb-float-b 16s ease-in-out infinite;
}

button,
input,
label,
.card {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

select {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

input,
select {
  user-select: text;
  -webkit-user-select: text;
}

textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: text;
  -webkit-user-select: text;
  width: 100%;
  resize: vertical;
}

button {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  cursor: pointer;
  background: linear-gradient(180deg, #ff7f61 0%, var(--accent) 100%);
  color: #fff9f2;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 24px rgba(255, 107, 74, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

@media (hover: hover) {
  button:hover {
    transform: translateY(-2px);
    background: var(--accent-dark);
    box-shadow:
      0 14px 28px rgba(255, 107, 74, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

button.secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.82));
  color: var(--secondary-dark);
  box-shadow:
    0 8px 22px rgba(37, 54, 93, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 1.2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  top: 14vh;
  left: -8vw;
  width: 32vw;
  height: 32vw;
  min-width: 180px;
  min-height: 180px;
  max-width: 340px;
  max-height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(137, 239, 210, 0.18) 48%, transparent 72%);
  filter: blur(8px);
  opacity: 0.78;
  animation: orb-drift-left 20s ease-in-out infinite;
}

.page-shell::after {
  right: -7vw;
  bottom: 10vh;
  width: 28vw;
  height: 24vw;
  min-width: 180px;
  min-height: 160px;
  max-width: 320px;
  max-height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 107, 74, 0.18) 52%, transparent 74%);
  opacity: 0.46;
  transform: none;
  filter: blur(10px);
  animation: orb-drift-right 18s ease-in-out infinite;
}

.hero {
  padding: 1.35rem 0 1.9rem;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.5rem;
}

body.playing-game .hero {
  display: none;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Arial Narrow Bold", "Trebuchet MS", sans-serif;
  letter-spacing: 0.015em;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 4.9rem);
  line-height: 0.88;
  width: fit-content;
  max-width: 10ch;
  margin-inline: auto;
  transform: rotate(-1deg);
  text-shadow:
    0 10px 24px rgba(255, 255, 255, 0.32),
    0 2px 0 rgba(255, 255, 255, 0.45);
  transform-origin: center;
  animation: title-racket 3.8s ease-in-out infinite;
}

.subtitle {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.42);
  display: inline-block;
  padding: 0.8rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 30px rgba(49, 44, 92, 0.08);
  margin-inline: auto;
}

.eyebrow {
}

.layout {
  display: grid;
  gap: 1.2rem;
}

body:not(.playing-game) .layout {
  min-height: calc(100vh - 8rem);
  place-items: center;
}

.panel {
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack.tight {
  gap: 0.45rem;
}

.landing-tools {
  display: grid;
}

#landing {
  width: min(520px, 100%);
  padding: 1.6rem;
  position: relative;
  transform: rotate(-0.45deg);
  justify-self: center;
  text-align: center;
  overflow: hidden;
}

#landing::before {
  content: "";
  position: absolute;
  inset: auto auto -18px -16px;
  width: 140px;
  height: 48px;
  background: rgba(255, 91, 54, 0.2);
  border-radius: 999px;
  filter: blur(10px);
  animation: landing-scoot 6.8s ease-in-out infinite;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field input::placeholder {
  color: rgba(95, 102, 135, 0.7);
}

.field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  resize: vertical;
  min-height: 110px;
}

.field textarea::placeholder,
.field select:invalid,
.field input::placeholder {
  color: rgba(95, 102, 135, 0.7);
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.toggle-row input {
  width: 1rem;
  height: 1rem;
}

.create-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.group-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.panel-lite {
  padding: 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.invite-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.invite-room-code {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

#invite-link[readonly] {
  font-size: 0.88rem;
}

button.ghost {
  background: transparent;
  box-shadow: none;
  border-color: rgba(31, 35, 64, 0.12);
}

.custom-puzzle-list {
  display: grid;
  gap: 0.7rem;
}

.custom-puzzle-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 22px rgba(40, 38, 75, 0.06);
}

.custom-puzzle-copy {
  display: grid;
  gap: 0.2rem;
}

.custom-puzzle-copy strong {
  font-size: 0.98rem;
}

.custom-puzzle-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.custom-puzzle-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.empty-state {
  margin: 0;
  padding: 1rem;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
}

.field-hint {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 42, 54, 0.14), transparent);
}

.hidden {
  display: none !important;
}

.game-grid {
  display: grid;
}

.board-panel {
  padding: 1rem;
  animation: panel-wobble 12s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.board-panel::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.46), transparent 66%);
  pointer-events: none;
  animation: board-sheen 5s steps(8, end) infinite;
}

.board-meta {
  margin-bottom: 0.8rem;
}

.hearts {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.heart {
  font-size: 1.7rem;
  line-height: 1;
  color: #ff3b30;
  filter: drop-shadow(0 2px 0 rgba(34, 27, 58, 0.18));
}

.heart.spent {
  opacity: 0.28;
  filter: grayscale(1);
}

.solved-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.solved-group {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  color: #20303d;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 12px 26px rgba(41, 37, 74, 0.08);
  animation: solved-bounce 520ms ease;
}

.solved-group h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

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

.card {
  min-height: 92px;
  border-radius: 20px;
  padding: 0.9rem 0.55rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 243, 0.88));
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(40, 38, 75, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  animation: card-pop 260ms ease;
}

.card.assigned {
  background: var(--card-fill);
  color: var(--card-ink);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 14px 28px rgba(40, 38, 75, 0.12);
}

.card.pressed:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}

.card.locked {
  border-color: rgba(34, 27, 58, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 30px rgba(34, 27, 58, 0.14);
}

.card.just-locked {
  animation: lock-burst 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.card-word {
  display: block;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  font-weight: 900;
  font-size: clamp(1.02rem, 2vw, 1.34rem);
  line-height: 0.98;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

.game-dock {
  position: relative;
  margin-top: 1rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
  overflow: hidden;
}

.game-dock::before {
  content: "";
  position: absolute;
  inset: auto -5% -45% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 240, 203, 0.18), transparent 68%);
  pointer-events: none;
  animation: dock-bubble 5.8s steps(5, end) infinite;
}

.color-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.18rem;
  justify-items: center;
}

.color-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.color-swatch.pressed .swatch-dot,
button.pressed:not(:disabled) {
  transform: translateY(2px) scale(0.98);
}

.color-swatch.active {
  transform: translateY(-2px) scale(1.12);
}

.color-swatch.locked {
  opacity: 0.78;
}

.clear-dot {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 243, 248, 0.92));
  color: rgba(31, 35, 64, 0.82);
  border: 2px dashed rgba(31, 35, 64, 0.28);
}

.swatch-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--swatch-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 18px rgba(34, 27, 58, 0.16);
}

.color-swatch.active .swatch-dot {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 0 4px rgba(255, 255, 255, 0.95),
    0 0 0 8px rgba(31, 35, 64, 0.16),
    0 12px 20px rgba(34, 27, 58, 0.18);
}

.color-swatch.locked .swatch-dot {
  box-shadow:
    inset 0 -4px 0 rgba(255, 255, 255, 0.16),
    0 0 0 4px rgba(34, 27, 58, 0.22);
}

.swatch-count {
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: rgba(34, 27, 58, 0.95);
  line-height: 1;
}

.submit-row {
  display: grid;
}

.submit-row button {
  width: 100%;
}

.dock-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.player-list {
  display: flex;
  gap: 0.55rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.1rem;
}

.player-chip {
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(40, 38, 75, 0.08);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
}

.player-chip.you {
  background: rgba(255, 107, 74, 0.18);
  border: 1px solid rgba(255, 107, 74, 0.34);
}

.room-code {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100vw - 0.8rem, 100%);
    padding-bottom: 1.25rem;
  }

  h1,
  #landing {
    transform: none;
  }

  h1 {
    width: auto;
  }

  .board {
    gap: 0.42rem;
  }

  .card {
    min-height: 78px;
    padding: 0.45rem 0.15rem;
  }

  .card-word {
    font-size: clamp(0.94rem, 3.1vw, 1.12rem);
    line-height: 0.92;
  }

  .game-dock {
    gap: 0.45rem;
    padding: 0.55rem;
  }

  .color-picker {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.12rem;
  }

  .swatch-dot {
    width: 36px;
    height: 36px;
  }

  .swatch-count {
    font-size: 0.8rem;
  }

  .dock-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .dock-actions button {
    padding: 0.55rem 0.3rem;
    font-size: 0.72rem;
    box-shadow: 0 8px 18px rgba(34, 27, 58, 0.12);
  }

  .invite-actions {
    grid-template-columns: 1fr;
  }

  .group-editor-grid {
    grid-template-columns: 1fr;
  }

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

  .custom-puzzle-actions {
    justify-content: stretch;
  }

  .player-list {
    gap: 0.4rem;
  }

  .player-chip {
    padding: 0.35rem 0.6rem;
    font-size: 0.74rem;
  }
}

@keyframes card-pop {
  0% {
    transform: scale(0.92) rotate(-2deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes lock-burst {
  0% {
    transform: scale(0.92) rotate(-4deg);
  }
  45% {
    transform: scale(1.08) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(-1deg);
  }
}

@keyframes solved-bounce {
  0% {
    transform: translateY(18px) rotate(2deg);
    opacity: 0;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

@keyframes panel-wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(0.4deg);
  }
}

@keyframes orb-field {
  0% {
    background-position: 12% 18%, 82% 14%, 22% 80%, 76% 74%, 50% 50%;
  }
  50% {
    background-position: 18% 12%, 76% 20%, 28% 72%, 70% 80%, 50% 50%;
  }
  100% {
    background-position: 10% 24%, 84% 10%, 18% 84%, 80% 68%, 50% 50%;
  }
}

@keyframes orb-float-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-24px, 18px, 0) scale(1.08);
  }
}

@keyframes orb-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -22px, 0) scale(0.94);
  }
}

@keyframes orb-drift-left {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, 24px, 0) scale(1.06);
  }
}

@keyframes orb-drift-right {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-26px, -18px, 0) scale(1.08);
  }
}

@keyframes title-racket {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }
  18% {
    transform: rotate(1deg) scale(1.04);
  }
  32% {
    transform: rotate(-3deg) scale(0.99);
  }
  52% {
    transform: rotate(2deg) scale(1.03);
  }
  74% {
    transform: rotate(-1deg) scale(1);
  }
}

@keyframes subtitle-bob {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(-4px);
  }
}

@keyframes eyebrow-jitter {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  20% {
    transform: translateX(-1px) rotate(-1deg);
  }
  22% {
    transform: translateX(1px) rotate(1deg);
  }
  24% {
    transform: translateX(0) rotate(0deg);
  }
  70% {
    transform: translateX(1px) rotate(1deg);
  }
}

@keyframes landing-scoot {
  0%,
  100% {
    transform: translateX(0) scaleX(1);
  }
  50% {
    transform: translateX(22px) scaleX(1.12);
  }
}

@keyframes board-sheen {
  0% {
    transform: translate3d(-20px, -10px, 0);
  }
  50% {
    transform: translate3d(36px, 22px, 0);
  }
  100% {
    transform: translate3d(84px, 36px, 0);
  }
}

@keyframes dock-bubble {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-16px, -12px, 0) scale(1.08);
  }
}
