.rush-tower-list {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.rush-tier-need {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  height: 30px;
  padding: 0 6px;
  border-radius: 8px;
}

.rush-tier-mark {
  width: 13px;
  height: 13px;
}

.rush-tier-text {
  color: var(--text);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 #000;
}

.rush-tier-bar,
.rush-you {
  display: none;
}

.rush-tier.climbing .rush-tier-need {
  background: var(--rush-tier-bed);
  box-shadow: 0 0 12px var(--c), inset 0 0 10px var(--c);
}

.rush-tier.climbing .rush-tier-bar {
  display: block;
  height: 8px;
}

.rush-tier.climbing .rush-tier-mark {
  display: none;
}

.rush-tier.climbing .rush-tier-text {
  font-size: 0.75rem;
}

.rush-you {
  flex: none;
  padding: 1px 5px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--neon-pink), var(--magenta));
  color: var(--text);
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 var(--red-dark);
}

.rush-tier.climbing .rush-you {
  display: block;
}

.rush-tier.vault .spire-ribbon {
  background: var(--gold-bevel);
}

.rush-tier.vault .spire-ribbon-name {
  color: var(--gold-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.rush-tier-lock {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--gold-light);
}

.rush-tier-lock svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rush-tier.paid .rush-tier-lock {
  display: none;
}

#rush-tower {
  overflow: hidden;
}

#rush-tower .rush-tower-list {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8px);
  mask-image: linear-gradient(to bottom, transparent, #000 8px);
}

.rush-boost-tag {
  display: inline-block;
  flex: none;
  padding: 0 3px;
  border: 1px solid var(--neon-cyan);
  border-radius: 4px;
  background: var(--bg-deep);
  color: var(--neon-cyan);
  font-family: var(--display);
  font-size: 0.7rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 4px rgba(66, 230, 255, 0.7);
  box-shadow: 0 0 6px rgba(66, 230, 255, 0.45);
}

.rush-boost-tag[hidden] {
  display: none;
}

.rush-button-boost {
  position: absolute;
  right: 3px;
  bottom: 3px;
  pointer-events: none;
}

.rush-meter-boost {
  position: absolute;
  left: 22px;
  bottom: -2px;
  z-index: 2;
}

.rush-boosters {
  flex: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--gold-deep);
}

.rush-booster {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 4px 0;
}

.rush-booster + .rush-booster {
  border-top: 1px solid var(--hairline);
}

.rush-booster.claimed-now {
  animation: rush-claimed 600ms ease-out;
}

.rush-booster-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.rush-booster-mark .rush-mark {
  width: 30px;
  height: 30px;
  opacity: 0.55;
}

.rush-booster.on .rush-booster-mark .rush-mark {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255, 79, 216, 0.8));
}

.rush-booster-mark .rush-boost-tag {
  position: absolute;
  right: -4px;
  bottom: 0;
}

.rush-booster-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rush-booster-name {
  color: var(--text);
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 1px 0 #000;
}

.rush-booster-state {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 #000;
}

.rush-booster.on .rush-booster-state {
  color: var(--neon-cyan);
}

.rush-boost-buy {
  min-width: 76px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: var(--radius);
  background: var(--gold-bevel);
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 0 1px var(--gold-deep), 0 3px 0 var(--gold-deep);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  transition: transform 80ms ease;
}

.rush-boost-buy:active {
  transform: scale(0.96);
}

.rush-booster-value {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 4px;
}

.rush-booster-value[hidden] {
  display: none;
}

.rush-pass .rush-booster-mark .pass-mark {
  width: 32px;
  height: 22px;
  font-size: 13px;
  opacity: 0.7;
}

.rush-pass.on .rush-booster-mark .pass-mark {
  opacity: 1;
}

.rush-pass.on .rush-booster-state {
  color: var(--gold-light);
}

.rush-boost-buy[hidden] {
  display: none;
}

.pass-mark {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 20px;
  background: var(--gold-bevel);
  box-shadow: inset 0 0 0 1px var(--gold-deep);
  clip-path: polygon(0 0, 100% 0, 100% 32%, 88% 50%, 100% 68%, 100% 100%, 0 100%, 0 68%, 12% 50%, 0 32%);
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 12px;
  line-height: 1;
}

.pass-mark::after {
  content: "★";
}

.rush-tier {
  grid-template-columns: 60px minmax(0, 1fr) 70px 58px;
}

.rush-tier::before {
  right: 130px;
}

.rush-pass-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  min-height: 24px;
  padding-left: 5px;
  border-left: 1px solid var(--gold-deep);
}

.rush-tier:not(.pass-on) .rush-pass-cell {
  opacity: 0.8;
}

.rush-pass-lock {
  flex: none;
  width: 12px;
  height: 12px;
  color: var(--gold-light);
}

.rush-pass-lock svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rush-tier.pass-on .rush-pass-lock {
  display: none;
}

.rush-pass-coins {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 #000;
}

.rush-tier.gold .rush-pass-coins {
  background-image: var(--gold-bevel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 0 var(--gold-deep)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
}

.rush-pass-cell .spire-planet {
  flex: none;
}

.rush-pass-head {
  flex: none;
  width: 14px;
  height: 14px;
}

.rush-pass-check {
  display: none;
  flex: none;
  width: 7px;
  height: 12px;
  margin: -3px 3px 0 0;
  border: solid var(--jade);
  border-width: 0 3px 3px 0;
  border-radius: 1px;
  transform: rotate(40deg);
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.8));
}

.rush-tier.paid.pass-on .rush-pass-check {
  display: block;
}

.rush-tier.paid.pass-on .rush-pass-cell .spire-planet,
.rush-tier.paid.pass-on .rush-pass-head {
  display: none;
}

.rush-tier.paid:not(.pass-on) .rush-pass-cell .spire-planet {
  display: inline-block;
}

.rush-tier-boost {
  display: inline-flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  min-width: 34px;
  margin-right: 2px;
}

.rush-tier-boost-mark {
  position: relative;
  display: flex;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.rush-tier-boost-mark .rush-mark {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 4px rgba(255, 79, 216, 0.6));
}

.rush-tier-boost-mark .rush-boost-tag {
  position: absolute;
  right: -3px;
  bottom: 0;
  padding: 0 2px;
  font-size: 0.75rem;
  line-height: 1.1;
}

.rush-tier-boost-min {
  margin-top: 2px;
  color: var(--neon-cyan);
  font-family: var(--display);
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 4px rgba(66, 230, 255, 0.6), 0 1px 0 #000;
}

.spire-tier.paid .rush-tier-boost,
.spire-tier.paid .rush-tier-head {
  display: none;
}

.rush-tier-head {
  width: 15px;
  height: 15px;
}

.rush-step-spark {
  width: 12px;
  height: 12px;
}

.rush-prize-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.rush-prize-mark .rush-mark {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 8px rgba(255, 79, 216, 0.7));
}

.rush-prize-mark .rush-boost-tag {
  position: absolute;
  right: -2px;
  bottom: 0;
  font-size: 0.85rem;
}

.spire-up-prize.boost .spire-up-amount {
  color: var(--neon-cyan);
}

.rush-button.landed .rush-button-mark {
  animation: rush-land 450ms ease-out;
}

@keyframes rush-land {
  40% { transform: scale(1.35); }
}

@keyframes rush-claimed {
  0% { filter: brightness(1.8); transform: scale(1.02); }
  100% { filter: none; transform: none; }
}

.rush-live {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rush-stamp {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translate(-50%, -50%);
  animation: rush-stamp 1240ms ease-out both;
}

.rush-stamp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 14px;
  border-radius: 50%;
  color: var(--gold-light);
  background: radial-gradient(circle, rgba(239, 52, 201, 0.55), rgba(42, 15, 92, 0.35) 55%, transparent 72%);
  filter: drop-shadow(0 0 6px var(--magenta));
}

.rush-stamp.coins .rush-stamp-icon {
  background: radial-gradient(circle, rgba(255, 180, 58, 0.55), rgba(98, 64, 12, 0.35) 55%, transparent 72%);
  filter: drop-shadow(0 0 6px var(--gold));
}

.rush-stamp-icon svg,
.rush-stamp-icon img,
.rush-stamp-icon .rush-mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rush-stamp-amount {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: var(--type-meter);
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000, 0 0 10px var(--magenta);
}

.rush-stamp-amount .rush-mark,
.rush-stamp-coin {
  width: 20px;
  height: 20px;
}

.rush-stamp-coin,
.rush-fly-coin {
  display: inline-block;
  background: url("../art/ui/coin-gold.webp") center / contain no-repeat;
}

.rush-fly,
.rush-fly-coin {
  position: absolute;
  opacity: 0;
  filter: drop-shadow(0 0 5px var(--magenta));
  will-change: transform, opacity;
}

.rush-fly-coin { filter: drop-shadow(0 0 5px var(--gold)); }

.float-text.rush-gain {
  color: var(--neon-pink);
  font-size: var(--type-readout);
  text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000, 0 0 8px var(--magenta);
}

.float-text.rush-gain.coins { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .float-text.rush-gain { animation: rush-gain-fade 400ms ease-in 700ms both; }
}

@keyframes rush-gain-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes rush-stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  16% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  26% { transform: translate(-50%, -50%) scale(1); }
  62% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -62%) scale(0.92); }
}

@media (max-height: 700px) {
  .sheet-panel.rush-panel { gap: 6px; }
  .rush-mission { padding: 6px 0; }
  .rush-mission-art { height: 52px; }
  .rush-task { padding: 6px 0; }
  .rush-gift { padding: 2px 0 6px; }
  .rush-tab { min-height: 44px; }
  .rush-booster { min-height: 46px; padding: 1px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rush-meter-fill,
  .rush-bar-fill,
  .rush-tab,
  .rush-boost-buy {
    transition: none;
  }
  .rush-mission.dealt-now,
  .rush-booster.claimed-now,
  .rush-gift.ready .chest,
  .rush-button.landed .rush-button-mark {
    animation: none;
  }
}

