:root {
  --ink: #111827;
  --soft-ink: #667085;
  --line: #e8edf4;
  --panel: rgba(255, 255, 255, 0.86);
  --blue: #2d7df6;
  --green: #5ac759;
  --coral: #ff6f78;
  --gold: #f4c245;
  --violet: #7c5cff;
  --shadow: 0 20px 56px rgba(61, 74, 104, 0.16);
  --screen-w: min(100vw, 430px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 225, 208, 0.9), transparent 26%),
    radial-gradient(circle at 85% 36%, rgba(218, 246, 206, 0.72), transparent 30%),
    linear-gradient(155deg, #faf8f2 0%, #f4f7fb 54%, #fff7f5 100%);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.phone-shell {
  position: relative;
  width: var(--screen-w);
  height: min(100vh, 932px);
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 16% 28%, rgba(255, 228, 218, 0.86), transparent 28%),
    radial-gradient(circle at 86% 32%, rgba(224, 248, 207, 0.72), transparent 30%);
  box-shadow: 0 34px 90px rgba(48, 61, 87, 0.24);
}

.screen {
  position: absolute;
  inset: 0;
  padding: 42px 16px 98px;
  overflow-y: auto;
}

.screen.hidden,
.hidden {
  display: none;
}

.top-bar,
.wish-switcher,
.money-row,
.latest-row,
.tab-bar,
.plain-header {
  display: flex;
  align-items: center;
}

.top-bar {
  justify-content: space-between;
  height: 52px;
}

.top-bar h1,
.plain-header h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.icon-button {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(55, 67, 92, 0.08);
}

.icon-star,
.icon-plus,
.chevron,
.flame,
.mini-star,
.coin-icon,
.tab-home,
.tab-target,
.tab-clock,
.tab-smile {
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.icon-star {
  width: 23px;
  height: 23px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
}

.icon-star::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: white;
  clip-path: inherit;
}

.icon-plus {
  width: 22px;
  height: 22px;
}

.icon-plus::before,
.icon-plus::after {
  content: "";
  position: absolute;
  inset: 10px 0 auto;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.icon-plus::after {
  transform: rotate(90deg);
}

.wish-switcher {
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.wish-pill {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  background: transparent;
  font-size: clamp(24px, 7vw, 31px);
  font-weight: 800;
  letter-spacing: 0;
}

.wish-thumb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 9px 28px rgba(79, 88, 113, 0.1);
}

.wish-thumb::before {
  content: "";
  display: block;
  width: 46px;
  height: 42px;
  background: url("./assets/iphone16pro.png") center / contain no-repeat;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  transform: none;
}

.wish-thumb.laptop::before {
  width: 48px;
  height: 42px;
  border-radius: 0;
  background: url("./assets/macbook-air.png") center / contain no-repeat;
  border: 0;
  box-shadow: none;
  transform: none;
}

.wish-thumb.travel::before {
  width: 36px;
  height: 42px;
  border-radius: 20px 20px 18px 18px;
  background: linear-gradient(160deg, #49c6a8, #2d7df6);
  border: 3px solid white;
  box-shadow: 0 8px 0 -2px #ffcf66;
  transform: rotate(8deg);
}

.wish-thumb.ticket::before {
  width: 43px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff7d95, #ffd15e);
  border: 2px dashed rgba(255, 255, 255, 0.9);
  transform: rotate(-7deg);
}

.chevron {
  width: 13px;
  height: 13px;
  border-top: 3px solid #9197a3;
  border-right: 3px solid #9197a3;
  transform: rotate(45deg);
}

.streak-pill,
.hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #697386;
  background: rgba(244, 248, 229, 0.86);
}

.streak-pill {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 17px;
}

.streak-pill strong,
.hint-pill strong {
  color: var(--green);
}

.flame {
  width: 18px;
  height: 22px;
  background: linear-gradient(180deg, #8eea73, #36bd55);
  clip-path: polygon(49% 0%, 76% 26%, 72% 48%, 93% 39%, 96% 65%, 84% 89%, 59% 100%, 28% 94%, 10% 72%, 9% 47%, 24% 25%, 31% 45%, 50% 28%);
}

.build-stage {
  position: relative;
  height: min(49vh, 438px);
  min-height: 365px;
  margin-top: 12px;
  overflow: hidden;
}

.product-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.product {
  position: relative;
  width: 318px;
  height: 292px;
  transform-style: preserve-3d;
  transform: rotateX(4deg) rotateY(-8deg);
  animation: productFloat 4.8s ease-in-out infinite;
}

.product.laptop {
  width: 336px;
  height: 312px;
  transform: rotateX(4deg) rotateY(-4deg);
}

.product.travel,
.product.ticket {
  width: 236px;
  height: 284px;
  transform: rotateX(8deg) rotateY(-8deg);
}

.product-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 32px rgba(43, 54, 79, 0.2));
  user-select: none;
  pointer-events: none;
}

.product.laptop .product-image {
  scale: 1.08;
}

.product.complete {
  filter: drop-shadow(0 0 28px rgba(45, 125, 246, 0.22));
}

.product.complete .phone-body,
.product.complete .laptop-screen,
.product.complete .laptop-base,
.product.complete .poster-body,
.product.complete .product-image {
  box-shadow:
    inset -12px 0 0 rgba(17, 24, 39, 0.04),
    0 26px 52px rgba(67, 75, 97, 0.22),
    0 0 0 8px rgba(255, 255, 255, 0.22);
}

.product.complete::before {
  content: "";
  position: absolute;
  inset: -32px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.92), transparent 10%),
    radial-gradient(circle at 78% 32%, rgba(90, 199, 89, 0.5), transparent 13%),
    radial-gradient(circle at 58% 82%, rgba(45, 125, 246, 0.32), transparent 20%);
  opacity: 0.72;
  transform: translateZ(-10px);
  animation: completeAura 2.4s ease-in-out infinite;
}

.complete-badge {
  position: absolute;
  left: 50%;
  bottom: -54px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  color: #1d8a40;
  background: rgba(237, 250, 232, 0.95);
  border: 1px solid rgba(90, 199, 89, 0.22);
  box-shadow: 0 12px 24px rgba(53, 126, 88, 0.12);
  font-size: 16px;
  font-weight: 850;
  white-space: nowrap;
  transform: translateX(-50%);
}

.phone-body,
.laptop-screen,
.laptop-base,
.poster-body {
  position: absolute;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: #f7f9fc;
  box-shadow:
    inset -12px 0 0 rgba(17, 24, 39, 0.05),
    0 24px 44px rgba(67, 75, 97, 0.2);
}

.phone-body {
  inset: 0;
  border-radius: 30px;
}

.phone-screen {
  position: absolute;
  inset: 70px 16px 18px 48px;
  border-radius: 21px;
  background:
    radial-gradient(circle at 72% 58%, #4a9bff 0 8%, transparent 9%),
    conic-gradient(from 220deg, #081021, #17254c, #2868ff, #0a1128, #081021);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.camera-block {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 66px;
  height: 78px;
  border-radius: 22px;
  background: #eef2f7;
  box-shadow: inset 0 0 0 1px rgba(80, 86, 100, 0.12);
}

.camera-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #66799c 0 12%, #05070b 13% 68%, #262b35 69%);
  border: 3px solid #d9dde4;
}

.camera-dot:nth-child(1) {
  left: 8px;
  top: 8px;
}

.camera-dot:nth-child(2) {
  right: 8px;
  top: 25px;
}

.camera-dot:nth-child(3) {
  left: 10px;
  bottom: 9px;
}

.laptop-screen {
  left: 38px;
  top: 8px;
  width: 200px;
  height: 138px;
  border-radius: 10px 10px 4px 4px;
  background:
    radial-gradient(circle at 20% 74%, rgba(68, 201, 212, 0.9), transparent 27%),
    radial-gradient(circle at 58% 31%, rgba(255, 112, 172, 0.88), transparent 30%),
    linear-gradient(135deg, #101827, #2c3677 50%, #68d9d3);
}

.laptop-base {
  left: 18px;
  bottom: 16px;
  width: 246px;
  height: 108px;
  border-radius: 12px 12px 26px 26px;
  transform: rotateX(56deg);
  background: linear-gradient(180deg, #eef2f7, #cfd7e2);
}

.keyboard {
  position: absolute;
  left: 26px;
  top: 17px;
  width: 194px;
  height: 48px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.key {
  border-radius: 3px;
  background: #101827;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.poster-body {
  inset: 0;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 42%),
    var(--poster-bg, linear-gradient(145deg, #53c1a5, #2f7df4));
}

.poster-body::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 36px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.18);
}

.poster-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  color: white;
  font-size: 27px;
  font-weight: 850;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.piece {
  position: absolute;
  z-index: 2;
  width: var(--w);
  height: var(--h);
  left: var(--x);
  top: var(--y);
  border-radius: var(--r, 14px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(226, 232, 241, 0.92)),
    var(--piece-bg, transparent);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset -7px -5px 0 rgba(24, 34, 52, 0.14),
    0 18px 30px rgba(48, 58, 82, 0.18);
  clip-path: polygon(var(--poly));
  transform: translate3d(var(--dx), var(--dy), 66px) rotate(var(--rot)) scale(0.96);
  opacity: var(--opacity);
  transition: transform 760ms cubic-bezier(0.18, 0.9, 0.24, 1), opacity 520ms ease;
}

.piece.locked {
  filter: saturate(0.8);
}

.piece.active {
  transform: translate3d(0, 0, 66px) rotate(0deg) scale(1);
  opacity: 1;
}

.piece.fly {
  animation: snapIn 760ms cubic-bezier(0.18, 0.9, 0.24, 1);
}

.floating-shard {
  position: absolute;
  z-index: 3;
  width: var(--w);
  height: var(--h);
  left: var(--fx);
  top: var(--fy);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #d9e0ea);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: inset -7px -5px 0 rgba(24, 34, 52, 0.14), 0 14px 22px rgba(58, 69, 94, 0.14);
  clip-path: polygon(var(--poly));
  transform: rotate(var(--rot));
  animation: shardFloat var(--dur) ease-in-out infinite;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 390px;
  height: 150px;
  border-top: 2px solid rgba(106, 194, 255, 0.38);
  border-radius: 50%;
  transform-origin: center;
  filter: drop-shadow(0 0 10px rgba(106, 194, 255, 0.18));
}

.orbit-a {
  transform: translate(-50%, -50%) rotate(-14deg);
}

.orbit-b {
  width: 356px;
  transform: translate(-50%, -44%) rotate(18deg);
}

.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 22px 8px rgba(105, 197, 255, 0.58);
  animation: twinkle 2.2s ease-in-out infinite;
}

.spark-a {
  left: 18%;
  top: 44%;
}

.spark-b {
  right: 22%;
  top: 26%;
  animation-delay: 0.4s;
}

.spark-c {
  right: 13%;
  bottom: 32%;
  animation-delay: 0.9s;
}

.progress-panel {
  position: relative;
  margin-top: -5px;
  padding: 27px 20px 19px;
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.money-row {
  justify-content: space-between;
  gap: 18px;
}

.money-row p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}

.money-row strong {
  font-size: 30px;
  font-weight: 820;
}

.money-row .muted {
  color: #7a8290;
  font-size: 20px;
  font-weight: 620;
}

.percent {
  white-space: nowrap;
  color: #697386 !important;
  font-size: 19px !important;
}

.percent strong {
  color: var(--blue);
  font-size: 28px;
}

.progress-track {
  position: relative;
  height: 18px;
  margin: 14px 0 21px;
  border-radius: 999px;
  background: #e9edf2;
}

.progress-fill {
  width: 16%;
  min-width: 14px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1887ff, #4d86ff);
  transition: width 540ms ease;
}

.progress-badge {
  position: absolute;
  left: 16%;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #54a3ff, #1d73ff);
  border: 4px solid white;
  box-shadow: 0 4px 14px rgba(45, 125, 246, 0.35);
  transform: translate(-50%, -50%);
  transition: left 540ms ease;
}

.mini-star {
  width: 14px;
  height: 14px;
  background: white;
  clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
}

.hint-pill {
  width: fit-content;
  max-width: 100%;
  padding: 11px 15px;
  border-radius: 999px;
  font-size: 18px;
}

.latest-row {
  justify-content: space-between;
  gap: 12px;
  min-height: 79px;
  margin: 18px -20px 0;
  padding: 17px 20px 16px;
  border-top: 1px solid rgba(221, 226, 234, 0.72);
}

.coin-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--coral), #ff8b6e);
  box-shadow: 0 10px 22px rgba(255, 111, 120, 0.2);
}

.coin-icon {
  width: 26px;
  height: 26px;
  border: 3px solid white;
  border-radius: 50%;
}

.coin-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: white;
  clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
}

.latest-row p {
  margin: 0;
  font-size: 21px;
  font-weight: 750;
}

.latest-row time {
  margin-left: auto;
  color: #8b929d;
  white-space: nowrap;
  font-size: 17px;
}

.primary-button {
  width: 100%;
  height: 74px;
  border-radius: 26px;
  color: white;
  background: linear-gradient(135deg, #2380ff, #346df2);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 18px 26px rgba(35, 128, 255, 0.22);
}

.primary-button:disabled {
  cursor: default;
  background: linear-gradient(135deg, #5ac759, #38a96a);
  box-shadow: 0 18px 26px rgba(56, 169, 106, 0.18);
}

.tab-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  justify-content: space-around;
  padding: 10px 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(221, 226, 234, 0.7);
}

.tab {
  width: 70px;
  height: 58px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: #68707d;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.tab.active {
  color: var(--blue);
}

.tab-home {
  width: 26px;
  height: 24px;
  background: currentColor;
  clip-path: polygon(50% 0%, 94% 38%, 83% 38%, 83% 100%, 60% 100%, 60% 68%, 40% 68%, 40% 100%, 17% 100%, 17% 38%, 6% 38%);
}

.tab-target {
  width: 26px;
  height: 26px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.tab-target::before,
.tab-target::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tab-target::after {
  inset: 10px;
  background: currentColor;
}

.tab-clock {
  width: 27px;
  height: 27px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.tab-clock::before,
.tab-clock::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 3px;
  height: 9px;
  border-radius: 4px;
  background: currentColor;
}

.tab-clock::after {
  top: 12px;
  width: 8px;
  height: 3px;
}

.tab-smile {
  width: 27px;
  height: 27px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.tab-smile::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor;
}

.tab-smile::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 6px;
  width: 10px;
  height: 5px;
  border-bottom: 3px solid currentColor;
  border-radius: 0 0 999px 999px;
}

.plain-header {
  justify-content: space-between;
  height: 58px;
  margin-bottom: 20px;
}

.plan-grid,
.history-list,
.settings-list {
  display: grid;
  gap: 12px;
}

.plan-card,
.history-card,
.profile-panel,
.settings-list button {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(62, 75, 103, 0.09);
}

.plan-card {
  padding: 17px;
}

.plan-card h3,
.profile-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.plan-card p,
.profile-panel p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.45;
}

.history-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px;
}

.history-card strong {
  font-size: 20px;
}

.history-card span {
  color: var(--soft-ink);
}

.profile-panel {
  display: flex;
  gap: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #48c4bd);
  font-size: 24px;
  font-weight: 850;
}

.settings-list button {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.settings-list span {
  color: var(--soft-ink);
  font-weight: 650;
}

.target-sheet,
.save-sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.sheet-scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 38, 0.26);
}

.sheet-panel {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(398px, calc(100vw - 28px));
  max-height: min(78vh, 620px);
  overflow-y: auto;
  padding: 12px 16px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(33, 41, 58, 0.26);
  transform: translateX(-50%);
}

.sheet-handle {
  width: 45px;
  height: 5px;
  margin: 3px auto 15px;
  border-radius: 999px;
  background: #d6dbe4;
}

.sheet-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.target-list,
.amount-grid {
  display: grid;
  gap: 10px;
}

.target-option,
.amount-option {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  color: var(--ink);
  background: #f6f8fb;
  text-align: left;
}

.target-option.active,
.amount-option.active {
  box-shadow: inset 0 0 0 2px var(--blue);
  background: #edf5ff;
}

.target-option span {
  color: var(--soft-ink);
  font-size: 14px;
}

.amount-grid {
  grid-template-columns: repeat(3, 1fr);
}

.amount-option {
  justify-content: center;
  min-height: 52px;
  font-weight: 800;
}

.custom-amount {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 700;
}

.custom-amount input {
  height: 54px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fafc;
  outline: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 112px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 999px;
  color: white;
  background: rgba(17, 24, 39, 0.84);
  transform: translateX(-50%);
  font-weight: 750;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.2);
}

.celebrate .product {
  animation: productFloat 4.8s ease-in-out infinite, glowPulse 860ms ease;
}

@keyframes productFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes shardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 6px -13px;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    scale: 0.8;
  }
  50% {
    opacity: 1;
    scale: 1.15;
  }
}

@keyframes snapIn {
  0% {
    transform: translate3d(calc(var(--dx) * 1.35), calc(var(--dy) * 1.35), 90px) rotate(calc(var(--rot) * 1.2)) scale(0.75);
    opacity: 0.45;
  }
  70% {
    transform: translate3d(-5px, 3px, 72px) rotate(-2deg) scale(1.04);
  }
  100% {
    transform: translate3d(0, 0, 66px) rotate(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(45, 125, 246, 0));
  }
  50% {
    filter: drop-shadow(0 0 32px rgba(45, 125, 246, 0.35));
  }
}

@keyframes completeAura {
  0%,
  100% {
    opacity: 0.58;
    scale: 0.98;
  }
  50% {
    opacity: 0.86;
    scale: 1.03;
  }
}

@media (max-width: 380px) {
  .screen {
    padding-inline: 12px;
  }

  .wish-switcher {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .streak-pill {
    margin-left: auto;
  }

  .build-stage {
    min-height: 330px;
  }

  .product {
    scale: 0.86;
  }

  .product.laptop {
    scale: 0.82;
  }

  .progress-panel {
    padding-inline: 16px;
  }

  .latest-row {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}
