:root {
  color-scheme: light;
  --text: #5b2338;
  --soft-text: #8f5268;
  --white: #fff8fb;
  --pink: #ff8fb4;
  --pink-strong: #ff5c98;
  --lilac: #b78cff;
  --cream: #fff0d8;
  --peach: #ffc3aa;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.78);
  --shadow: rgba(136, 48, 86, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #ffd9e8;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: none;
}

button,
a,
input,
textarea,
select {
  cursor: none;
  font: inherit;
}

.proposal-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    radial-gradient(circle at 20% 16%, rgba(255, 244, 199, 0.92), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(205, 169, 255, 0.74), transparent 28%),
    radial-gradient(circle at 42% 92%, rgba(255, 139, 184, 0.88), transparent 34%),
    linear-gradient(135deg, #ffe9f1 0%, #ffd1e5 42%, #ead9ff 100%);
  background-size:
    36px 36px,
    36px 36px,
    auto,
    auto,
    auto,
    auto;
}

.proposal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.44), transparent 28%),
    linear-gradient(315deg, rgba(255, 108, 153, 0.16), transparent 36%);
}

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

.ambient span {
  position: absolute;
  display: block;
  width: 42px;
  height: 42px;
  color: rgba(255, 96, 146, 0.34);
  transform: rotate(45deg);
  animation: floatShape 8s ease-in-out infinite;
}

.ambient span::before,
.ambient span::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 40px;
  border-radius: 26px 26px 0 0;
  background: currentColor;
}

.ambient span::before {
  left: 13px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.ambient span::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

.ambient span:nth-child(1) {
  left: 11%;
  top: 19%;
}

.ambient span:nth-child(2) {
  right: 13%;
  top: 24%;
  color: rgba(180, 128, 255, 0.32);
  animation-delay: -2s;
}

.ambient span:nth-child(3) {
  left: 17%;
  bottom: 16%;
  color: rgba(255, 195, 170, 0.5);
  animation-delay: -4s;
}

.ambient span:nth-child(4) {
  right: 18%;
  bottom: 13%;
  width: 28px;
  height: 28px;
  animation-delay: -6s;
}

.proposal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  border: 1px solid var(--glass-line);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    var(--glass);
  box-shadow:
    0 34px 100px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
}

.proposal-card::before,
.proposal-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.proposal-card::before {
  inset: 15px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
}

.proposal-card::after {
  right: 34px;
  top: 30px;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.14)),
    linear-gradient(135deg, var(--pink), var(--lilac));
  opacity: 0.62;
  transform: rotate(12deg);
}

.kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--pink-strong);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: #7b2948;
  font-family: "Dancing Script", cursive;
  font-size: clamp(3.7rem, 9vw, 6.9rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--soft-text);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.question-box {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

#statusText {
  min-height: 28px;
  margin: 0 0 16px;
  color: #73304b;
  font-weight: 800;
  line-height: 1.4;
}

.actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.btn {
  border: 0;
  border-radius: 999px;
  min-height: 58px;
  padding: 0 24px;
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
  box-shadow:
    0 14px 28px rgba(189, 69, 112, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
  user-select: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(123, 41, 72, 0.42);
  outline-offset: 4px;
}

.btn--yes {
  background: linear-gradient(135deg, #ff5c98, #ff8fb4 48%, #b78cff);
}

.btn--yes:hover {
  filter: saturate(1.08);
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 18px 36px rgba(189, 69, 112, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.btn--no {
  color: #88415b;
  background: rgba(255, 255, 255, 0.92);
  transform: scale(var(--no-scale, 1));
  transform-origin: center;
  box-shadow:
    0 14px 28px rgba(136, 48, 86, 0.14),
    inset 0 0 0 1px rgba(255, 141, 180, 0.28);
}

.btn--no.is-guarded {
  animation: guardedNo 520ms cubic-bezier(.24, .86, .35, 1.22);
}

.note-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.note-strip span {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  padding: 8px 14px;
  color: #9d4364;
  background: rgba(255, 255, 255, 0.44);
  font-size: 0.92rem;
  font-weight: 800;
}

.cat-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 140;
  width: 82px;
  height: 60px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(112, 38, 71, 0.24));
  transform: translate3d(-120px, -120px, 0);
  transition: opacity 120ms ease;
  will-change: transform;
}

body.has-pointer .cat-cursor {
  opacity: 1;
}

.cat-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cat-cursor.is-running .cat-walker,
.cat-cursor.is-fleeing .cat-walker {
  animation: walkBody 620ms ease-in-out infinite;
}

.cat-cursor.is-fleeing .cat-walker {
  animation-duration: 500ms;
}

.cat-cursor.is-running .cat-body,
.cat-cursor.is-fleeing .cat-body {
  animation: bodyStride 620ms ease-in-out infinite;
}

.cat-cursor.is-running .cat-head,
.cat-cursor.is-fleeing .cat-head {
  animation: headCounter 620ms ease-in-out infinite;
  transform-origin: 103px 54px;
}

.cat-cursor.is-running .cat-tail,
.cat-cursor.is-fleeing .cat-tail {
  animation: tailSwing 620ms ease-in-out infinite;
  transform-origin: 38px 50px;
}

.cat-cursor.is-running .tail-tip,
.cat-cursor.is-fleeing .tail-tip {
  animation: tailTipSwing 620ms ease-in-out infinite;
  transform-origin: 38px 31px;
}

.cat-cursor.is-running .cat-leg--front,
.cat-cursor.is-fleeing .cat-leg--front {
  animation: frontStride 620ms cubic-bezier(.42, 0, .58, 1) infinite;
  transform-origin: 82px 73px;
}

.cat-cursor.is-running .cat-leg--back,
.cat-cursor.is-fleeing .cat-leg--back {
  animation: backStride 620ms cubic-bezier(.42, 0, .58, 1) infinite;
  transform-origin: 53px 73px;
}

.pixel-cat .cat-head,
.pixel-cat .cat-body,
.pixel-cat .cat-tail,
.pixel-cat .cat-leg {
  shape-rendering: crispEdges;
}

.cat-cursor.is-running .pixel-cat,
.cat-cursor.is-fleeing .pixel-cat {
  animation: pixelWalkBody 520ms steps(4, end) infinite;
}

.cat-cursor.is-running .pixel-cat .cat-body,
.cat-cursor.is-fleeing .pixel-cat .cat-body {
  animation: pixelBodyStep 520ms steps(4, end) infinite;
}

.cat-cursor.is-running .pixel-cat .cat-head,
.cat-cursor.is-fleeing .pixel-cat .cat-head {
  animation: pixelHeadStep 520ms steps(4, end) infinite;
}

.cat-cursor.is-running .pixel-cat .cat-tail,
.cat-cursor.is-fleeing .pixel-cat .cat-tail {
  animation: pixelTailStep 520ms steps(4, end) infinite;
}

.cat-cursor.is-running .pixel-cat .cat-leg--front,
.cat-cursor.is-fleeing .pixel-cat .cat-leg--front {
  animation: pixelFrontStep 520ms steps(4, end) infinite;
}

.cat-cursor.is-running .pixel-cat .cat-leg--back,
.cat-cursor.is-fleeing .pixel-cat .cat-leg--back {
  animation: pixelBackStep 520ms steps(4, end) infinite;
}

.paw {
  position: fixed;
  z-index: 50;
  width: 12px;
  height: 12px;
  pointer-events: none;
  color: rgba(123, 41, 72, 0.22);
  transform: translate(-50%, -50%) rotate(var(--turn));
  animation: fadePaw 760ms ease-out forwards;
}

.paw::before,
.paw::after {
  content: "";
  position: absolute;
  inset: 4px 2px 0;
  border-radius: 50% 50% 46% 46%;
  background: currentColor;
}

.paw::after {
  inset: 0;
  width: 4px;
  height: 4px;
  box-shadow:
    5px -1px 0 currentColor,
    10px 1px 0 currentColor;
}

.spark {
  position: fixed;
  z-index: 70;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  pointer-events: none;
  background: var(--color);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: confetti 920ms ease-out forwards;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(91, 35, 56, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(10px);
}

.success-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  position: relative;
  width: min(100%, 860px);
  max-height: min(92vh, 860px);
  overflow: auto;
  scrollbar-width: none;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 28px;
  padding: clamp(30px, 6vw, 48px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 239, 247, 0.86)),
    #fff5fa;
  box-shadow: 0 34px 100px rgba(91, 35, 56, 0.28);
}

.success-card.is-confirmed {
  animation: cardSettle 780ms cubic-bezier(.2, .9, .24, 1.18);
}

.success-card::-webkit-scrollbar {
  display: none;
}

.success-card h2 {
  margin: 0 0 12px;
  color: #7b2948;
  font-family: "Dancing Script", cursive;
  font-size: clamp(3.4rem, 12vw, 5.8rem);
  line-height: 0.9;
}

.success-card p:last-child {
  margin-bottom: 0;
  color: var(--soft-text);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

.success-copy {
  max-width: 440px;
  margin: 0 auto 24px;
  color: var(--soft-text);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.55;
}

.set-celebration {
  position: absolute;
  inset: 20px;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}

.success-card.is-confirmed .set-celebration {
  opacity: 1;
}

.set-celebration span {
  position: absolute;
  width: 180px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 92, 152, 0.34);
  border-radius: 50%;
  transform: scale(0.28);
}

.success-card.is-confirmed .set-celebration span {
  animation: dateRing 1200ms ease-out forwards;
}

.set-celebration span:nth-child(2) {
  border-color: rgba(183, 140, 255, 0.32);
  animation-delay: 110ms;
}

.set-celebration span:nth-child(3) {
  border-color: rgba(255, 195, 170, 0.46);
  animation-delay: 220ms;
}

.scheduler {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 16px;
  margin-top: 20px;
}

.calendar-picker,
.time-picker {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.picker-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 12px;
}

.picker-header--time {
  grid-template-columns: 1fr;
}

.picker-header span {
  display: block;
  color: var(--pink-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.picker-header strong {
  display: block;
  color: #7b2948;
  font-size: 1.08rem;
  font-weight: 900;
}

.round-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #93415e;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 141, 180, 0.28);
  font-size: 1.45rem;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.round-button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

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

.weekdays {
  margin-bottom: 8px;
}

.weekdays span {
  color: rgba(91, 35, 56, 0.5);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.day-button {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 14px;
  color: #8a3d5a;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 141, 180, 0.16);
  transition:
    transform 150ms ease,
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.day-button:not(:disabled):hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.day-button.is-selected {
  color: var(--white);
  background: linear-gradient(135deg, #ff5c98, #ff8fb4 50%, #b78cff);
  box-shadow: 0 10px 20px rgba(189, 69, 112, 0.24);
}

.day-button.is-today {
  box-shadow:
    inset 0 0 0 2px rgba(255, 92, 152, 0.34),
    0 8px 18px rgba(189, 69, 112, 0.1);
}

.day-button:disabled {
  opacity: 0.22;
}

.time-wheel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.time-wheel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 141, 180, 0.24);
  transform: translateY(-50%);
}

.wheel-column {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  height: 186px;
  overflow-y: auto;
  padding: 68px 4px;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.wheel-column::-webkit-scrollbar {
  display: none;
}

.wheel-option {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: rgba(91, 35, 56, 0.48);
  background: transparent;
  font-size: 1.05rem;
  font-weight: 900;
  scroll-snap-align: center;
  transition:
    color 150ms ease,
    transform 150ms ease,
    background 150ms ease;
}

.wheel-option:hover {
  color: #7b2948;
}

.wheel-option.is-selected {
  color: #7b2948;
  background: rgba(255, 255, 255, 0.66);
  transform: scale(1.04);
}

.time-divider {
  position: relative;
  z-index: 1;
  color: #7b2948;
  font-size: 1.5rem;
  font-weight: 900;
}

.plan-summary {
  min-height: 28px;
  margin: 18px 0 16px;
  color: #73304b;
  font-size: 1rem;
  font-weight: 900;
}

.locked-note {
  display: none;
  margin: -4px 0 16px;
  color: var(--pink-strong);
  font-size: 0.92rem;
  font-weight: 900;
}

.success-card.is-confirmed .locked-note {
  display: block;
}

.confirm-button {
  width: min(100%, 320px);
}

.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 130;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  width: min(calc(100% - 32px), 380px);
  pointer-events: none;
  transform: translateX(-50%);
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 13px 18px;
  color: #7b2948;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(136, 48, 86, 0.18);
  font-size: 0.94rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(16px);
  animation: toastIn 260ms ease-out, toastOut 320ms ease-in 5600ms forwards;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #9d4364;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 141, 180, 0.28);
}

.close-button svg {
  width: 19px;
  height: 19px;
}

.close-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

@keyframes floatShape {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -20px;
  }
}

@keyframes guardedNo {
  0% {
    transform: translateX(0) rotate(0deg) scale(var(--no-scale, 1));
  }
  25% {
    transform: translateX(-5px) rotate(-2deg) scale(var(--no-scale, 1));
  }
  55% {
    transform: translateX(6px) rotate(2deg) scale(var(--no-scale, 1));
  }
  100% {
    transform: translateX(0) rotate(0deg) scale(var(--no-scale, 1));
  }
}

@keyframes cardSettle {
  0% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.025) rotate(-0.4deg);
  }
  72% {
    transform: scale(0.992) rotate(0.25deg);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes dateRing {
  0% {
    opacity: 0.95;
    transform: scale(0.28);
  }
  100% {
    opacity: 0;
    transform: scale(3.1);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes walkBody {
  0%,
  100% {
    transform: translate(0, 0) rotate(-1deg);
  }
  25% {
    transform: translate(2px, -3px) rotate(1deg);
  }
  50% {
    transform: translate(5px, 0) rotate(0deg);
  }
  75% {
    transform: translate(2px, -4px) rotate(2deg);
  }
}

@keyframes bodyStride {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-2px);
  }
  70% {
    transform: translateY(1px);
  }
}

@keyframes headCounter {
  0%,
  100% {
    transform: translate(0, 0) rotate(1deg);
  }
  35% {
    transform: translate(-2px, 2px) rotate(-2deg);
  }
  70% {
    transform: translate(2px, -1px) rotate(2deg);
  }
}

@keyframes tailSwing {
  0%,
  100% {
    transform: rotate(-9deg) translateY(0);
  }
  50% {
    transform: rotate(12deg) translateY(-2px);
  }
}

@keyframes tailTipSwing {
  0%,
  100% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-9deg);
  }
}

@keyframes frontStride {
  0%,
  100% {
    transform: rotate(-13deg) translate(0, 0);
  }
  28% {
    transform: rotate(15deg) translate(5px, -4px);
  }
  58% {
    transform: rotate(6deg) translate(1px, 2px);
  }
}

@keyframes backStride {
  0%,
  100% {
    transform: rotate(15deg) translate(4px, -3px);
  }
  32% {
    transform: rotate(-12deg) translate(-2px, 2px);
  }
  65% {
    transform: rotate(-4deg) translate(0, 0);
  }
}

@keyframes pixelWalkBody {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(2px, -2px);
  }
  50% {
    transform: translate(5px, 0);
  }
  75% {
    transform: translate(2px, -3px);
  }
}

@keyframes pixelBodyStep {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(1px, 1px);
  }
}

@keyframes pixelHeadStep {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(1px, 1px);
  }
  75% {
    transform: translate(2px, -1px);
  }
}

@keyframes pixelTailStep {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2px, -1px);
  }
  50% {
    transform: translate(-1px, 1px);
  }
  75% {
    transform: translate(-3px, -2px);
  }
}

@keyframes pixelFrontStep {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(5px, -4px);
  }
  50% {
    transform: translate(8px, 0);
  }
  75% {
    transform: translate(2px, 2px);
  }
}

@keyframes pixelBackStep {
  0%,
  100% {
    transform: translate(7px, -4px);
  }
  25% {
    transform: translate(2px, 2px);
  }
  50% {
    transform: translate(0, 0);
  }
  75% {
    transform: translate(5px, -2px);
  }
}

@keyframes fadePaw {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7) rotate(var(--turn));
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35) rotate(var(--turn));
  }
}

@keyframes confetti {
  0% {
    opacity: 1;
    translate: 0 0;
  }
  100% {
    opacity: 0;
    translate: var(--x) var(--y);
  }
}

@media (max-width: 680px) {
  body {
    cursor: auto;
  }

  button,
  a,
  input,
  textarea,
  select {
    cursor: pointer;
  }

  .proposal-page {
    padding: 18px;
  }

  .proposal-card {
    border-radius: 24px;
    padding: 30px 20px;
  }

  .proposal-card::before {
    inset: 10px;
    border-radius: 18px;
  }

  .proposal-card::after {
    right: 18px;
    top: 20px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

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

  .scheduler {
    grid-template-columns: 1fr;
  }

  .weekdays,
  .calendar-grid {
    gap: 5px;
  }

  .day-button {
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .cat-cursor {
    display: none;
  }

  .toast-stack {
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
