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

html,
body {
  margin: 0;
  padding: 0;
  background: #fdf3e7;
  overscroll-behavior: none;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: #22314e;
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #5b8fd6;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.app {
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  background: #fdf3e7;
  padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  overscroll-behavior: none;
}

.shell {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.panel[hidden],
.toast[hidden],
.overlay[hidden],
.plate__empty[hidden],
.chef-chip[hidden],
.deal-badge[hidden],
.fx-flash[hidden],
.fx-shock[hidden],
.fx-fuse[hidden] {
  display: none !important;
}

.icon-btn--share {
  background: #fbc943;
  box-shadow: 0 3px 0 #d9a616;
}

.icon-btn--share:hover {
  background: #ffd45a;
}

@media (max-height: 720px) {
  .header__title {
    font-size: 22px;
  }

  .counter__value {
    font-size: 40px;
  }

  .plate__hint {
    font-size: 9.5px;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .stack__item {
    width: 100px;
    height: 76px;
  }

  .stack__item .sushi-piece {
    width: 100px;
    height: 76px;
  }

  .round-btn {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }

  .tab {
    font-size: 10.5px;
    padding: 9px 2px;
  }

  .plate__hint {
    gap: 6px;
    font-size: 9px;
  }
}

.card {
  background: #fffdf8;
  border: 3px solid #22314e;
  border-radius: 22px;
  box-shadow: 0 5px 0 #ebdbc6;
}

.header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo {
  width: 38px;
  height: 32px;
  flex: 0 0 auto;
}

.header__logo .sushi-piece {
  width: 38px;
  height: 32px;
}

.header__center {
  flex: 1;
  text-align: center;
  line-height: 1;
}

.header__title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.02em;
  color: #22314e;
}

.header__sub {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #8a7b6b;
  margin-top: 3px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2.6px solid #22314e;
  background: #fffdf8;
  box-shadow: 0 3px 0 #e3d3be;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22314e;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.icon-btn:hover {
  background: #fff1de;
  transform: translateY(-2px);
}

.icon-btn:active {
  transform: scale(0.92);
}

.counter {
  padding: 10px 12px 12px;
}

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

.counter__center {
  flex: 1;
  text-align: center;
}

.counter__label {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #a2917e;
}

.counter__value {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 46px;
  line-height: 1.05;
  color: #22314e;
}

.counter__meta {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: #bcab95;
  margin-top: -1px;
}

.round-btn {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid #22314e;
  color: #fffdf8;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.15s ease;
}

.round-btn span {
  font-family: "Nunito", sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.round-btn--plus {
  background: #f5766a;
  box-shadow: 0 4px 0 #c9483e;
}

.round-btn--plus:hover {
  transform: translateY(-3px) rotate(-3deg);
}

.round-btn--minus {
  background: #5b8fd6;
  box-shadow: 0 4px 0 #3b6aab;
}

.round-btn--minus:hover {
  transform: translateY(-3px) rotate(3deg);
}

.round-btn:active {
  transform: scale(0.9);
}

.progress {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress__track {
  flex: 1;
  height: 12px;
  border-radius: 8px;
  background: #f3e9da;
  border: 2.4px solid #22314e;
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #fbc943, #f5766a);
  border-radius: 6px;
  transition: width 0.35s cubic-bezier(0.3, 1.2, 0.5, 1);
}

.progress__label {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  color: #8a7b6b;
  white-space: nowrap;
}

.plate {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(#fff8ed, #fdefde);
  border: 3px solid #22314e;
  box-shadow: 0 5px 0 #ebdbc6;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.3s cubic-bezier(0.3, 1.1, 0.5, 1);
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.wood {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 236px;
  height: 52px;
}

.wood__lip {
  position: absolute;
  left: 4px;
  top: 14px;
  width: 228px;
  height: 34px;
  border-radius: 50%;
  background: #c4863f;
  border: 3px solid #22314e;
}

.wood__top {
  position: absolute;
  left: 0;
  top: 0;
  width: 236px;
  height: 38px;
  border-radius: 50%;
  background: #dea463;
  border: 3px solid #22314e;
}

.wood__shine {
  position: absolute;
  left: 34px;
  top: 9px;
  width: 168px;
  height: 14px;
  border-radius: 50%;
  background: #e9ba82;
}

.stack-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 244px;
}

.stack-squash {
  transform-origin: 50% 100%;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transform-origin: 50% 100%;
  transition: transform 0.35s cubic-bezier(0.3, 1.3, 0.5, 1);
  will-change: transform;
}

.stack__item {
  width: 112px;
  height: 84px;
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.stack__item .sushi-piece {
  width: 112px;
  height: 84px;
}

.plate__empty {
  position: absolute;
  left: 0;
  right: 0;
  top: 84px;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #bcab95;
  letter-spacing: 0.04em;
}

.plate__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  color: #a2917e;
  letter-spacing: 0.03em;
}

.plate__hint .sep {
  color: #d9c7ae;
}

.chef-chip {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fffdf8;
  border: 2.4px solid #22314e;
  border-radius: 12px;
  padding: 3px 7px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: #4c7a2e;
}

.chef-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fbf5c;
}

.fx-origin {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.fx-part {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
  will-change: transform;
}

.fx-float {
  position: absolute;
  left: 50%;
  top: 34%;
  pointer-events: none;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 32px;
  -webkit-text-stroke: 3px #fffdf8;
  paint-order: stroke;
}

.fx-flash {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #fffdf8 0%, #ffe9a8 45%, rgba(255, 233, 168, 0) 72%);
  animation: flashBall 0.5s ease-out forwards;
}

.fx-shock {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  pointer-events: none;
  border: 5px solid #fbc943;
  animation: shockRing 0.55s ease-out forwards;
}

.fx-fuse {
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  text-align: center;
  pointer-events: none;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 31px;
  color: #f2604a;
  animation: fuseLabel 0.9s ease-out forwards;
  -webkit-text-stroke: 4px #fffdf8;
  paint-order: stroke;
}

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

.panel-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 3px solid #22314e;
  background: #fffdf8;
  box-shadow: 0 4px 0 #ebdbc6;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.panel-toggle:hover {
  background: #fff1de;
}

.panel-toggle:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #ebdbc6;
}

.panel-toggle__title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 13.5px;
  color: #22314e;
  letter-spacing: 0.02em;
}

.panel-toggle__chips {
  flex: 1;
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  align-items: center;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: #8a7b6b;
}

.chip {
  padding: 2px 6px;
  border-radius: 8px;
  background: #fff3df;
  border: 2px solid #ebdbc6;
}

.deal-badge {
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  border: 2px solid #22314e;
  background: #fbc943;
  color: #22314e;
  font-size: 9.5px;
  line-height: 12px;
  text-align: center;
  padding: 0 3px;
}

.chevron {
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tabs {
  display: flex;
  gap: 6px;
}

.tab {
  flex: 1;
  padding: 9px 4px;
  border-radius: 14px;
  border: 2.6px solid #22314e;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  position: relative;
  transition: transform 0.12s ease;
}

.tab:active {
  transform: translateY(2px);
}

.tab--on {
  background: #22314e;
  color: #fffdf8;
  box-shadow: 0 3px 0 #101b2e;
}

.tab--off {
  background: #fffdf8;
  color: #22314e;
  box-shadow: 0 3px 0 #ebdbc6;
}

.tab__badge {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  border: 2px solid #22314e;
  background: #fbc943;
  font-size: 9px;
  line-height: 12px;
  color: #22314e;
  padding: 0 3px;
}

.panel-body {
  padding: 12px;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.panel-head__title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 15px;
}

.panel-head__meta {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  color: #a2917e;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.col-card {
  border: 2.6px solid #22314e;
  border-radius: 16px;
  padding: 8px 6px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.col-card__art {
  width: 100%;
  height: 46px;
}

.col-card__art .sushi-piece {
  width: 100%;
  height: 46px;
}

.col-card__art--locked {
  filter: grayscale(1) brightness(0.9) opacity(0.35);
}

.col-card__name {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  color: #6e6152;
  text-align: center;
  line-height: 1.15;
}

.col-card__count {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.up-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.up-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2.6px solid #22314e;
  border-radius: 16px;
  padding: 9px 10px;
}

.up-row__info {
  flex: 1;
  min-width: 0;
}

.up-row__name {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.1;
}

.up-row__desc {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #7a6c5b;
  line-height: 1.3;
}

.up-row__pips {
  display: flex;
  gap: 3px;
  margin-top: 5px;
}

.pip {
  width: 14px;
  height: 6px;
  border-radius: 4px;
  border: 1.6px solid #22314e;
}

.buy-btn {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 9px 8px;
  border-radius: 14px;
  border: 2.8px solid #22314e;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 11.5px;
}

.buy-btn:active:not(:disabled) {
  transform: translateY(2px);
}

.ach-card {
  border: 2.6px solid #22314e;
  border-radius: 16px;
  padding: 9px;
}

.ach-card__top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ach-card__dot {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2.2px solid #22314e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fffdf8;
  line-height: 1;
}

.ach-card__title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.1;
}

.ach-card__text {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  color: #8a7b6b;
  margin-top: 4px;
  line-height: 1.3;
}

.ach-card__reward {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 9.5px;
  color: #c08a18;
  margin-top: 4px;
}

.skin-btn {
  border-radius: 16px;
  padding: 8px 6px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.skin-btn:active:not(:disabled) {
  transform: translateY(2px);
}

.skin-btn__art {
  width: 100%;
  height: 44px;
}

.skin-btn__art .sushi-piece {
  width: 100%;
  height: 44px;
}

.skin-btn__name {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #4c4437;
}

.skin-btn__hint {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 9.5px;
}

.toast {
  position: fixed;
  left: 0;
  right: 0;
  top: 14px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 14px;
  pointer-events: none;
}

.toast__inner {
  max-width: 340px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffdf8;
  border: 3px solid #22314e;
  border-radius: 18px;
  box-shadow: 0 5px 0 rgba(34, 49, 78, 0.18);
  padding: 9px 12px;
  animation: toastIn 2.8s ease-out forwards;
}

.toast__star {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2.4px solid #22314e;
  background: #fbc943;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.toast__title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.1;
}

.toast__text {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #7a6c5b;
  line-height: 1.25;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(34, 49, 78, 0.42);
  display: flex;
  justify-content: center;
  padding: 18px;
}

.overlay--help {
  align-items: center;
}

.overlay--settings {
  align-items: flex-end;
  padding: 14px;
}

.modal {
  width: 100%;
  background: #fffdf8;
  border: 3px solid #22314e;
  border-radius: 24px;
  box-shadow: 0 8px 0 rgba(34, 49, 78, 0.25);
  animation: modalIn 0.32s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.modal--help {
  max-width: 360px;
  max-height: 86dvh;
  overflow: auto;
  padding: 18px;
}

.modal--settings {
  max-width: 400px;
  padding: 16px;
}

.modal__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.modal__title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 19px;
}

.modal__title--sm {
  font-size: 18px;
  margin-bottom: 12px;
}

.help-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #4c4437;
  line-height: 1.45;
}

.help-copy strong.coral {
  color: #f2604a;
}

.help-copy strong.blue {
  color: #3b6aab;
}

.primary-btn {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 3px solid #22314e;
  background: #f5766a;
  color: #fffdf8;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 0 #c9483e;
}

.primary-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #c9483e;
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  border: 2.8px solid #22314e;
  background: #fff8ed;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #22314e;
  text-align: left;
  width: 100%;
}

.toggle-row:hover {
  background: #fff1de;
}

.toggle-row:active {
  transform: translateY(2px);
}

.toggle-row span:first-child {
  flex: 1;
}

.switch {
  width: 42px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 2.4px solid #22314e;
  display: flex;
  align-items: center;
  padding: 0 2px;
}

.switch__knob {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fffdf8;
  border: 2px solid #22314e;
}

.share-btn {
  padding: 12px;
  border-radius: 16px;
  border: 2.8px solid #22314e;
  background: #5b8fd6;
  color: #fffdf8;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 4px 0 #3b6aab;
}

.share-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #3b6aab;
}

.reset-btn {
  padding: 12px;
  border-radius: 16px;
  border: 2.8px solid #c9483e;
  background: #fff1ee;
  color: #c9483e;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
}

.reset-btn:active,
.close-btn:active {
  transform: translateY(2px);
}

.close-btn {
  padding: 11px;
  border-radius: 16px;
  border: 2.8px solid #22314e;
  background: #fffdf8;
  color: #22314e;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
}

.sushi-piece {
  display: block;
  overflow: visible;
}

.sushi-piece svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.028) translateY(-1px);
  }
}

@keyframes sushiDrop {
  0% {
    transform: translateY(-90px) scale(0.5);
    opacity: 0;
  }
  55% {
    opacity: 1;
  }
  70% {
    transform: translateY(6px) scaleX(1.12) scaleY(0.86);
  }
  85% {
    transform: translateY(-4px) scaleX(0.96) scaleY(1.05);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes sushiPop {
  0% {
    transform: scale(0.2) rotate(-14deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.16) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes sushiOut {
  0% {
    transform: none;
    opacity: 1;
  }
  100% {
    transform: translateY(-34px) scale(0.35);
    opacity: 0;
  }
}

@keyframes fuseShake {
  0%,
  100% {
    transform: translateX(-2.5px) rotate(-2deg);
  }
  50% {
    transform: translateX(2.5px) rotate(2deg);
  }
}

@keyframes fuseC0 {
  to {
    transform: translate(-34px, 46px) rotate(-160deg) scale(0.7);
  }
}

@keyframes fuseC1 {
  to {
    transform: translate(34px, 8px) rotate(160deg) scale(0.7);
  }
}

@keyframes fuseC2 {
  to {
    transform: translate(0, -28px) rotate(120deg) scale(0.7);
  }
}

@keyframes fuseImplode {
  to {
    transform: scale(0.05);
    opacity: 0;
  }
}

@keyframes flashBall {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes shockRing {
  0% {
    transform: scale(0.2);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes fuseLabel {
  0% {
    transform: translateY(10px) scale(0.6);
    opacity: 0;
  }
  30% {
    transform: translateY(0) scale(1.1);
    opacity: 1;
  }
  75% {
    transform: translateY(-6px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-18px) scale(0.9);
    opacity: 0;
  }
}

@keyframes floatUp {
  0% {
    transform: translate(-50%, 0) scale(0.7);
    opacity: 0;
  }
  25% {
    transform: translate(-50%, -14px) scale(1.15);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -54px) scale(0.9);
    opacity: 0;
  }
}

@keyframes popA {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.22);
  }
  65% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes popB {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.22);
  }
  65% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes squashA {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scaleX(1.1) scaleY(0.9);
  }
  60% {
    transform: scaleX(0.96) scaleY(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes squashB {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scaleX(1.1) scaleY(0.9);
  }
  60% {
    transform: scaleX(0.96) scaleY(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes burst0 {
  to {
    transform: translate(-64px, -46px) rotate(-90deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes burst1 {
  to {
    transform: translate(58px, -54px) rotate(80deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes burst2 {
  to {
    transform: translate(-40px, -80px) rotate(40deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes burst3 {
  to {
    transform: translate(46px, -22px) rotate(-60deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes burst4 {
  to {
    transform: translate(-18px, -92px) rotate(120deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes burst5 {
  to {
    transform: translate(22px, -78px) rotate(-140deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes flipIn {
  0% {
    transform: rotateY(-90deg) scale(0.85);
    opacity: 0;
  }
  60% {
    transform: rotateY(12deg) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes modalIn {
  0% {
    transform: translateY(24px) scale(0.94);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes toastIn {
  0% {
    transform: translateY(-26px) scale(0.9);
    opacity: 0;
  }
  12% {
    transform: translateY(0) scale(1.04);
    opacity: 1;
  }
  88% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
  }
}

@keyframes blinkEye {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95%,
  97% {
    transform: scaleY(0.12);
  }
}

@keyframes toppingWobble {
  0%,
  100% {
    transform: rotate(-0.7deg) translateY(0);
  }
  50% {
    transform: rotate(0.7deg) translateY(-0.8px);
  }
}

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

@keyframes leafSway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

.anim-breathe {
  animation: breathe 3.6s ease-in-out infinite;
}

.anim-drop {
  animation: sushiDrop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both, breathe 3.6s ease-in-out 0.5s infinite;
}

.anim-pop {
  animation: sushiPop 0.44s cubic-bezier(0.2, 1.6, 0.4, 1) both, breathe 3.6s ease-in-out 0.45s infinite;
}

.anim-out {
  animation: sushiOut 0.27s ease-in forwards;
}

.anim-fuse-shake {
  animation: fuseShake 0.14s ease-in-out infinite;
}

.anim-fuse-c0 {
  animation: fuseC0 0.32s cubic-bezier(0.5, 0, 0.6, 1) forwards;
}

.anim-fuse-c1 {
  animation: fuseC1 0.32s cubic-bezier(0.5, 0, 0.6, 1) forwards;
}

.anim-fuse-c2 {
  animation: fuseC2 0.32s cubic-bezier(0.5, 0, 0.6, 1) forwards;
}

.anim-fuse-implode {
  animation: fuseImplode 0.18s ease-in forwards;
}

.anim-float {
  animation: floatUp 0.8s ease-out forwards;
}

.anim-flip {
  animation: flipIn 0.55s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

.anim-flip-ach {
  animation: flipIn 0.5s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

.anim-pop-a {
  animation: popA 0.34s ease-out;
}

.anim-pop-b {
  animation: popB 0.34s ease-out;
}

.anim-squash-a {
  animation: squashA 0.3s ease-out;
}

.anim-squash-b {
  animation: squashB 0.3s ease-out;
}

.anim-burst0 {
  animation: burst0 0.72s ease-out forwards;
}
.anim-burst1 {
  animation: burst1 0.72s ease-out forwards;
}
.anim-burst2 {
  animation: burst2 0.72s ease-out forwards;
}
.anim-burst3 {
  animation: burst3 0.72s ease-out forwards;
}
.anim-burst4 {
  animation: burst4 0.72s ease-out forwards;
}
.anim-burst5 {
  animation: burst5 0.72s ease-out forwards;
}

.overlay--share {
  align-items: flex-start;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  overflow: auto;
  background: rgba(34, 49, 78, 0.5);
  z-index: 60;
  -webkit-overflow-scrolling: touch;
}

.share-sheet {
  width: 100%;
  max-width: 380px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: cardIn 0.42s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.share-card {
  position: relative;
  overflow: hidden;
  background: #fffdf8;
  border: 3px solid #22314e;
  border-radius: 26px;
  box-shadow: 0 8px 0 rgba(34, 49, 78, 0.25);
  padding: 16px 16px 18px;
}

.share-confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.share-confetti {
  position: absolute;
  top: -20px;
  will-change: transform, opacity;
}

.share-card__inner {
  position: relative;
  text-align: center;
}

.share-ribbon {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 14px;
  border: 2.6px solid #22314e;
  background: #fbc943;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 14px;
  color: #22314e;
  box-shadow: 0 3px 0 #d9a616;
  animation: ribbonIn 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.share-date {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #a2917e;
  margin-top: 12px;
}

.share-count {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: clamp(64px, 22vw, 96px);
  line-height: 0.95;
  color: #22314e;
  animation: numberIn 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) 0.12s both;
}

.share-count-label {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8a7b6b;
}

.share-hero {
  position: relative;
  height: 150px;
  margin-top: 6px;
}

.share-wood {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 190px;
  height: 40px;
}

.share-wood__lip {
  position: absolute;
  left: 3px;
  top: 11px;
  width: 184px;
  height: 27px;
  border-radius: 50%;
  background: #c4863f;
  border: 3px solid #22314e;
}

.share-wood__top {
  position: absolute;
  left: 0;
  top: 0;
  width: 190px;
  height: 30px;
  border-radius: 50%;
  background: #dea463;
  border: 3px solid #22314e;
}

.share-wood__shine {
  position: absolute;
  left: 28px;
  top: 7px;
  width: 134px;
  height: 11px;
  border-radius: 50%;
  background: #e9ba82;
}

.share-hero__piece {
  position: absolute;
  left: 50%;
  bottom: 30px;
  margin-left: -84px;
  width: 168px;
  height: 126px;
}

.share-hero__piece .sushi-piece {
  width: 168px;
  height: 126px;
}

.share-twinkle {
  position: absolute;
  pointer-events: none;
  animation: twinkle 2.2s ease-in-out infinite;
}

.share-twinkle--a {
  left: 14px;
  top: 22px;
  font-size: 20px;
  color: #fbc943;
}

.share-twinkle--b {
  right: 18px;
  top: 8px;
  font-size: 15px;
  color: #f5766a;
  animation-duration: 2.6s;
  animation-delay: 0.4s;
}

.share-twinkle--c {
  right: 34px;
  bottom: 56px;
  font-size: 17px;
  color: #fbc943;
  animation-duration: 3s;
  animation-delay: 0.8s;
}

.share-hero-name {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 16px;
  color: #f2604a;
  margin-top: -2px;
}

.share-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.share-stat {
  border: 2.6px solid #22314e;
  border-radius: 16px;
  background: #fff6e8;
  padding: 8px 4px;
}

.share-stat__value {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: #22314e;
}

.share-stat__label {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #8a7b6b;
  margin-top: 3px;
}

.share-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-save {
  padding: 14px;
  border-radius: 18px;
  border: 3px solid #22314e;
  background: #f5766a;
  color: #fffdf8;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 5px 0 #c9483e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.share-save:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c9483e;
}

.share-actions__row {
  display: flex;
  gap: 8px;
}

.share-native,
.share-continue {
  flex: 1;
  padding: 12px;
  border-radius: 16px;
  border: 2.8px solid #22314e;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.share-native {
  background: #5b8fd6;
  color: #fffdf8;
  box-shadow: 0 4px 0 #3b6aab;
}

.share-continue {
  background: #fffdf8;
  color: #22314e;
  box-shadow: 0 4px 0 #ebdbc6;
}

.share-native:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #3b6aab;
}

.share-continue:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #ebdbc6;
}

@keyframes numberIn {
  0% {
    transform: scale(0.3) rotate(-8deg);
    opacity: 0;
  }
  55% {
    transform: scale(1.18) rotate(3deg);
    opacity: 1;
  }
  78% {
    transform: scale(0.96) rotate(-1deg);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes heroBob {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

@keyframes ribbonIn {
  0% {
    transform: translateY(-14px) scale(0.8) rotate(-4deg);
    opacity: 0;
  }
  60% {
    transform: translateY(0) scale(1.06) rotate(1.5deg);
    opacity: 1;
  }
  100% {
    transform: rotate(-1.5deg);
    opacity: 1;
  }
}

@keyframes cardIn {
  0% {
    transform: translateY(30px) scale(0.9);
    opacity: 0;
  }
  65% {
    transform: translateY(0) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes statIn {
  0% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes confetti0 {
  0% {
    transform: translateY(-40px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(560px) rotate(420deg);
    opacity: 0;
  }
}

@keyframes confetti1 {
  0% {
    transform: translateY(-40px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(-30px, 560px) rotate(-380deg);
    opacity: 0;
  }
}

@keyframes confetti2 {
  0% {
    transform: translateY(-40px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(26px, 560px) rotate(300deg);
    opacity: 0;
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.anim-hero-bob {
  animation: heroBob 3.4s ease-in-out infinite;
}

.anim-stat-in {
  animation: statIn 0.4s ease-out both;
}

.anim-confetti0 {
  animation-name: confetti0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.anim-confetti1 {
  animation-name: confetti1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.anim-confetti2 {
  animation-name: confetti2;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.reduced-motion .anim-breathe,
.reduced-motion .anim-drop,
.reduced-motion .anim-pop,
.reduced-motion .anim-out,
.reduced-motion .anim-fuse-shake,
.reduced-motion .anim-fuse-c0,
.reduced-motion .anim-fuse-c1,
.reduced-motion .anim-fuse-c2,
.reduced-motion .anim-fuse-implode,
.reduced-motion .anim-float,
.reduced-motion .anim-flip,
.reduced-motion .anim-flip-ach,
.reduced-motion .anim-pop-a,
.reduced-motion .anim-pop-b,
.reduced-motion .anim-squash-a,
.reduced-motion .anim-squash-b,
.reduced-motion .anim-burst0,
.reduced-motion .anim-burst1,
.reduced-motion .anim-burst2,
.reduced-motion .anim-burst3,
.reduced-motion .anim-burst4,
.reduced-motion .anim-burst5,
.reduced-motion .anim-hero-bob,
.reduced-motion .anim-stat-in,
.reduced-motion .anim-confetti0,
.reduced-motion .anim-confetti1,
.reduced-motion .anim-confetti2,
.reduced-motion .share-ribbon,
.reduced-motion .share-count,
.reduced-motion .share-sheet,
.reduced-motion .share-twinkle,
.reduced-motion .fx-flash,
.reduced-motion .fx-shock,
.reduced-motion .fx-fuse,
.reduced-motion .toast__inner,
.reduced-motion .modal,
.reduced-motion .sushi-piece [style*="animation"] {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .auto-reduced .sushi-piece [style*="animation"] {
    animation: none !important;
  }
}
