:root {
  --bg-top: #d6f5e8;
  --bg-mid: #e6f1ff;
  --bg-bot: #ffe6f0;

  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-bg-strong: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.94);
  --glass-shadow:
    0 12px 28px rgba(45, 78, 102, 0.12),
    0 2px 6px rgba(45, 78, 102, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);

  --ink-primary: #172738;
  --ink-secondary: #546a82;
  --ink-muted: #8a9db2;
  --accent-mint: #10b981;
  --accent-rose: #f43f5e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(152deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bot) 100%);
  color: var(--ink-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  overscroll-behavior: none;
}

.hidden {
  display: none !important;
}

/* Sunlit Orchard Aurora Backdrop + Subtle Micro-Dot Texture */
.ambient-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 145, 112, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.55;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.78;
  will-change: transform;
}

.orb-1 {
  width: 310px;
  height: 310px;
  top: -85px;
  left: -70px;
  background: radial-gradient(circle, #6ee7b7 0%, transparent 70%);
  animation: orbDriftA 18s ease-in-out infinite;
}

.orb-2 {
  width: 320px;
  height: 320px;
  top: 24%;
  right: -100px;
  background: radial-gradient(circle, #fda4af 0%, transparent 70%);
  animation: orbDriftB 22s ease-in-out infinite;
}

.orb-3 {
  width: 290px;
  height: 290px;
  bottom: -75px;
  left: 12%;
  background: radial-gradient(circle, #fde047 0%, transparent 70%);
  animation: orbDriftC 20s ease-in-out infinite;
}

/* App Shell */
#app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: 100dvh;
  margin: 0 auto;
  padding:
    max(8px, env(safe-area-inset-top))
    12px
    max(10px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  touch-action: none;
}

/* Top Bar */
.top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow:
    0 6px 14px rgba(16, 185, 129, 0.25),
    0 0 0 1.5px rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink-primary);
  white-space: nowrap;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 4.5px;
  flex-shrink: 0;
}

.game-switch-pill {
  height: 32px;
  padding: 0 8.5px;
  border-radius: 10.5px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.94) 0%, rgba(250, 245, 255, 0.9) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 5px 14px rgba(99, 102, 241, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  color: #4338ca;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.game-switch-pill:active {
  transform: scale(0.94) translateY(1px);
}

.glass-icon-btn {
  width: 31px;
  height: 31px;
  border-radius: 10.5px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 5px 14px rgba(45, 78, 102, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease;
}

.glass-icon-btn:active {
  transform: scale(0.92) translateY(1px);
}

.glass-icon-btn svg {
  width: 15.5px;
  height: 15.5px;
}

.glass-icon-btn.is-active-bgm {
  color: #059669;
  border-color: rgba(16, 185, 129, 0.34);
  background: linear-gradient(145deg, rgba(236, 253, 245, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow:
    0 5px 14px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.glass-icon-btn.is-muted {
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.62);
}

/* Score & Mode Strip */
.score-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 0.95fr 0.85fr 1.45fr;
  gap: 7px;
  flex-shrink: 0;
}

.glass-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 15px;
  box-shadow: var(--glass-shadow);
}

.score-card {
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
}

.score-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-secondary);
  line-height: 1.15;
}

.score-num {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  color: var(--ink-primary);
}

.primary-score {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 252, 245, 0.8) 100%);
}

.primary-score .score-num {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mode-card {
  padding: 3.5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.72);
}

.mode-pill {
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 800;
  padding: 0 3px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.mode-pill:active {
  transform: scale(0.95);
}

.mode-pill.is-active {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
  box-shadow:
    0 5px 12px rgba(16, 185, 129, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Stage Objective Bar */
.stage-bar {
  width: 100%;
  height: 35px;
  padding: 0 7px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-shrink: 0;
}

.stage-select-pill {
  border: 1px solid rgba(16, 185, 129, 0.22);
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.72) 0%, rgba(236, 253, 245, 0.85) 100%);
  color: #047857;
  border-radius: 9px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 48%;
  transition: transform 0.12s ease;
}

.stage-select-pill:active {
  transform: scale(0.96);
}

.stage-goal-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-primary);
  white-space: nowrap;
}

#goal-fruit-canvas {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.stage-shots-pill {
  padding: 3.5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.88) 0%, rgba(224, 231, 255, 0.85) 100%);
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stage-shots-pill.is-low {
  background: linear-gradient(135deg, rgba(255, 228, 230, 0.96) 0%, rgba(254, 205, 211, 0.92) 100%);
  color: #be123c;
  animation: dangerPulseLow 0.8s ease-in-out infinite;
}

/* Arena Stage — Sculptural Acrylic-Glass Case */
.arena-wrapper {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.arena-stage {
  position: relative;
  padding: 6px;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.86) 0%, rgba(238, 249, 246, 0.72) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 22px 46px rgba(45, 78, 102, 0.17),
    0 4px 12px rgba(45, 78, 102, 0.08),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.98);
}

.arena-stage.is-shaking {
  animation: arenaShake 0.46s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

#game-canvas {
  display: block;
  height: min(calc(100dvh - 198px), calc((100vw - 36px) * 1.5), 540px);
  aspect-ratio: 2 / 3;
  max-width: calc(100vw - 36px);
  border-radius: 18px;
  cursor: crosshair;
  touch-action: none;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}

#app.is-stage-mode #game-canvas {
  height: min(calc(100dvh - 236px), calc((100vw - 36px) * 1.5), 540px);
}

.danger-badge {
  position: absolute;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.38);
  pointer-events: none;
  white-space: nowrap;
  animation: dangerPulse 0.7s ease-in-out infinite;
}

/* Bottom Dock */
.bottom-dock {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 8px;
  flex-shrink: 0;
}

.next-card {
  height: 43px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.next-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-secondary);
}

#next-fruit-canvas {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.next-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-primary);
  white-space: nowrap;
}

.tool-btn {
  height: 43px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 250, 248, 0.86) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 20px rgba(45, 78, 102, 0.12),
    inset 0 -2px 0 rgba(45, 78, 102, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 8px;
  transition: transform 0.14s ease, opacity 0.2s ease;
}

.tool-btn:active:not(:disabled) {
  transform: scale(0.96) translateY(1px);
}

.tool-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.tool-icon {
  display: inline-flex;
  width: 15.5px;
  height: 15.5px;
  color: #059669;
}

#btn-shake .tool-icon {
  color: #f97316;
}

.tool-icon svg {
  width: 100%;
  height: 100%;
}

.tool-badge {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.32);
}

#btn-shake .tool-badge {
  background: linear-gradient(135deg, #fb923c 0%, #f43f5e 100%);
  box-shadow: 0 3px 8px rgba(244, 63, 94, 0.3);
}

/* iOS Install Tip */
.ios-install-tip {
  width: 100%;
  padding: 5px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  font-size: 11px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.tip-close {
  border: none;
  background: rgba(148, 163, 184, 0.2);
  color: var(--ink-secondary);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  padding: 18px;
  background: rgba(23, 39, 56, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.modal-sheet {
  width: 100%;
  max-width: 374px;
  max-height: 88dvh;
  overflow-y: auto;
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(244, 252, 249, 0.94) 100%);
  border: 1.5px solid #fff;
  box-shadow: 0 26px 56px rgba(23, 39, 56, 0.26);
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: modalPop 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-compact {
  text-align: center;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-sheet h2 {
  margin: 0;
  font-size: 18.5px;
  font-weight: 800;
  color: var(--ink-primary);
}

.modal-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(148, 163, 184, 0.18);
  color: var(--ink-secondary);
  font-size: 18px;
  cursor: pointer;
}

.help-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-card {
  padding: 10px 12px;
  border-radius: 15px;
  background: rgba(232, 252, 245, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.96);
}

.rule-copy h3 {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-primary);
}

.rule-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.46;
  color: var(--ink-secondary);
}

/* Grouped iOS Settings Panel */
.settings-group {
  border-radius: 16px;
  background: rgba(241, 248, 246, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.98);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.setting-row + .setting-row {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.setting-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.setting-label strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-primary);
}

.setting-label span {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ink-secondary);
}

.ios-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.ios-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.42);
  transition: background 0.2s ease;
}

.ios-switch-track::after {
  content: "";
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ios-switch input:checked + .ios-switch-track {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.ios-switch input:checked + .ios-switch-track::after {
  transform: translateX(18px);
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary-cta,
.secondary-cta {
  height: 44px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.14s ease;
}

.primary-cta:active,
.secondary-cta:active {
  transform: scale(0.97);
}

.primary-cta {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.36);
}

.secondary-cta {
  background: rgba(226, 232, 240, 0.78);
  color: var(--ink-primary);
}

.record-ribbon {
  align-self: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #9a3412;
  background: linear-gradient(135deg, #fef08a 0%, #fdba74 100%);
}

.gameover-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-box {
  padding: 12px;
  border-radius: 16px;
  background: rgba(232, 252, 245, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.stat-val {
  font-size: 24px;
  font-weight: 800;
  color: #059669;
}

.stat-fruit {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-primary);
}

/* Stage Clear & Stage Select */
.clear-stars {
  font-size: 32px;
  letter-spacing: 6px;
  line-height: 1.1;
  color: #f59e0b;
  text-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 55dvh;
  overflow-y: auto;
  padding: 2px;
}

.stage-cell-btn {
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 252, 245, 0.86) 100%);
  box-shadow: 0 4px 10px rgba(45, 78, 102, 0.08);
  padding: 9px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: var(--ink-primary);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.stage-cell-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.stage-cell-btn.is-current {
  border: 2px solid #10b981;
  background: linear-gradient(155deg, #d1fae5 0%, #ffffff 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.24);
}

.stage-cell-btn.is-locked {
  opacity: 0.48;
  cursor: not-allowed;
  background: rgba(226, 232, 240, 0.55);
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: none;
}

.stage-num {
  font-size: 16px;
  font-weight: 800;
}

.stage-cell-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.stage-stars {
  font-size: 11px;
  color: #f59e0b;
  letter-spacing: 1px;
}

@keyframes orbDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, 18px) scale(1.06); }
}

@keyframes orbDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-22px, 20px) scale(1.05); }
}

@keyframes orbDriftC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -18px) scale(1.07); }
}

@keyframes dangerPulseLow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes arenaShake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  15% { transform: translate(-8px, 6px) rotate(-1.6deg); }
  30% { transform: translate(8px, -5px) rotate(1.6deg); }
  45% { transform: translate(-7px, 4px) rotate(-1.2deg); }
  65% { transform: translate(6px, -3px) rotate(1.0deg); }
  82% { transform: translate(-3px, 2px) rotate(-0.5deg); }
}

@keyframes dangerPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.06); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { transform: scale(0.9) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-orb {
    animation: none !important;
  }
}
