.inspector-rating-dialog {
  max-width: min(520px, calc(100vw - 24px));
  max-height: min(86vh, 720px);
}
.inspector-rating-dialog .inspector-modal-body {
  overflow-y: auto;
  max-height: calc(86vh - 120px);
}
.inspector-altar-info-dialog {
  max-width: min(480px, calc(100vw - 24px));
  max-height: min(88vh, 760px);
}
.inspector-altar-info-dialog .inspector-modal-body {
  overflow-y: auto;
  max-height: calc(88vh - 96px);
  padding-top: 8px;
}
.inspector-altar-scatter-dialog {
  max-width: min(520px, calc(100vw - 24px));
  max-height: min(88vh, 720px);
}
.inspector-altar-scatter-dialog .inspector-modal-body {
  overflow-y: auto;
  max-height: calc(88vh - 96px);
  padding-top: 8px;
}
.inspector-altar-history-dialog {
  max-width: min(520px, calc(100vw - 24px));
  max-height: min(88vh, 760px);
}
.inspector-altar-history-dialog .inspector-modal-body {
  overflow-y: auto;
  max-height: calc(88vh - 96px);
}
.inspector-modal.inspector-modal--fast .inspector-modal-backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(4, 8, 16, 0.88);
  transition: opacity 0.16s ease;
}
@media (min-width: 769px) {
  .inspector-modal.inspector-modal--fast .inspector-modal-dialog {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .inspector-modal.inspector-modal--fast.is-closing .inspector-modal-dialog {
    transform: translate3d(0, 10px, 0);
  }
}
.altar-history-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.altar-history-back {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 10px;
  background: rgba(88, 28, 135, 0.14);
  color: #e9d5ff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.altar-history-back:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(192, 132, 252, 0.38);
}

/* ---- Altar ---- */
.altar-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.altar-shell--enter .inspector-game-panel-head,
.altar-shell--enter .altar-stage-wrap,
.altar-shell--enter .altar-offer-btn,
.altar-shell--enter .altar-amounts,
.altar-shell--enter .altar-actions-row {
  animation: altarShellFade 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.altar-shell--enter .inspector-game-panel-head { animation-delay: 0.04s; }
.altar-shell--enter .altar-stage-wrap {
  animation: altarShellStageIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.08s;
}
.altar-shell--enter .altar-offer-btn { animation-delay: 0.18s; }
.altar-shell--enter .altar-amounts { animation-delay: 0.26s; }
.altar-shell--enter .altar-actions-row { animation-delay: 0.34s; }
@keyframes altarShellStageIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes altarShellFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Ratings — same card pattern as Classes */
.ratings-panel-wrap .class-menu-card {
  min-height: 104px;
}
.rating-mode-card .class-menu-card-bg {
  opacity: 0.98;
}
.rating-mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.rating-modal-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 88px;
  margin-bottom: 12px;
  border: 1px solid rgba(110, 231, 255, 0.14);
  background: #0b1018;
}
.rating-modal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.92;
}
.rating-modal-hero--gradient .rating-modal-hero-bg {
  background-image: linear-gradient(
    125deg,
    hsl(var(--class-hue, 210), 42%, 24%) 0%,
    hsl(calc(var(--class-hue, 210) + 48), 34%, 14%) 100%
  );
  opacity: 1;
}
.rating-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 16, 24, 0.92) 0%, rgba(11, 16, 24, 0.55) 55%, rgba(11, 16, 24, 0.2) 100%);
  pointer-events: none;
}
.rating-modal-hero-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  opacity: 0.35;
  pointer-events: none;
}
.rating-modal-hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  max-width: 78%;
}
.rating-modal-hero-title {
  font-size: 1rem;
  font-weight: 800;
  color: #f8fafc;
}
.rating-modal-hero-sub {
  font-size: 0.76rem;
  color: rgba(203, 213, 225, 0.88);
}

.rating-modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.rating-modal-tab {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.rating-modal-tab.is-active {
  color: #e0f2fe;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.12);
}
.rating-section-title {
  padding: 8px 4px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.88);
}
.rating-section-empty {
  padding: 6px 8px 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.rating-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.22s ease;
}
.rating-leaderboard.is-swapping,
.rating-leaderboard.is-loading {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.rating-leaderboard.is-revealing {
  animation: ratingLeaderReveal 0.24s ease both;
}
@keyframes ratingLeaderReveal {
  from { opacity: 0.55; }
  to { opacity: 1; }
}
.rating-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.rating-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rating-row.is-viewer {
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(34, 211, 238, 0.1);
}
.rating-row-rank {
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
  text-align: center;
  font-family: var(--font-mono);
}
.rating-row-rank.is-medal { font-size: 1rem; }
.rating-row-name {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 0 2px 0 0;
  margin: 0;
  border: none;
  background: none;
  text-align: left;
  font-family: inherit;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  position: relative;
  transition: color 0.35s ease;
}
.rating-row-name:not(.is-truncatable) {
  -webkit-mask-image: none;
  mask-image: none;
}
.rating-row-name-track {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.rating-row-name.is-truncatable .rating-row-name-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.rating-row-name-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f1f5f9;
  will-change: transform;
}
.rating-row-name.is-truncatable {
  cursor: pointer;
}
.rating-row-name.is-truncatable:active .rating-row-name-text {
  color: #e0f2fe;
}
.rating-row.is-revealing-name {
  border-color: rgba(186, 230, 253, 0.28);
  background: rgba(186, 230, 253, 0.07);
}
.rating-row.is-revealing-name .rating-row-name {
  padding-right: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 10px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 10px), transparent 100%);
}
.rating-row.is-revealing-name .rating-row-name-text {
  display: inline-block;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
  color: #f8fafc;
  text-shadow: 0 0 16px rgba(186, 230, 253, 0.28);
  animation: ratingNamePan 3.1s cubic-bezier(0.4, 0.02, 0.2, 1) both;
}
.rating-row.is-revealing-name .rating-row-value {
  opacity: 0.38;
}
.rating-row.is-revealing-name-out {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}
.rating-row.is-revealing-name-out .rating-row-name-text {
  animation: none;
  transform: translateX(0);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s ease,
    text-shadow 0.4s ease;
  color: #f1f5f9;
  text-shadow: none;
}
.rating-row.is-revealing-name-out .rating-row-name {
  -webkit-mask-image: none;
  mask-image: none;
  transition: -webkit-mask-image 0.35s ease, mask-image 0.35s ease;
}
.rating-row.is-revealing-name-out .rating-row-value {
  opacity: 1;
}
@keyframes ratingNamePan {
  0%, 14% { transform: translateX(0); }
  38%, 62% { transform: translateX(var(--name-scroll, 0)); }
  86%, 100% { transform: translateX(0); }
}
.rating-row-value {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: #bae6fd;
  font-family: var(--font-mono);
  white-space: nowrap;
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.rating-viewer-bar {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.35), rgba(12, 74, 110, 0.22));
  font-size: 0.76rem;
  color: #e0f2fe;
  line-height: 1.45;
  opacity: 1;
  transform: translateY(0);
}
.rating-viewer-bar.is-entering {
  animation: ratingViewerBarIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ratingViewerBarIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.rating-viewer-bar strong { color: #f0f9ff; }

/* ---- Altar (layout) ---- */
.altar-header-copy {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.92);
  text-align: center;
}
.altar-cores-chip {
  display: none;
}
.altar-stage-cores {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.38);
  background: rgba(12, 8, 24, 0.82);
  color: #f5f3ff;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: var(--font-mono);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.08), 0 6px 22px rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  overflow: visible;
  --altar-chip-width-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --altar-chip-width-dur: 0.22s;
  transition:
    width var(--altar-chip-width-dur) var(--altar-chip-width-ease),
    padding var(--altar-chip-width-dur) var(--altar-chip-width-ease),
    border-color 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s ease;
}
.altar-stage-cores.is-counter-anim {
  transition:
    border-color 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s ease;
}
.altar-stage-cores.is-counter-anim .altar-stage-cores-inner {
  transition: transform 0.12s ease-out;
  transform: scale(1);
}
.altar-stage-cores.is-resizing {
  box-shadow:
    0 0 0 1px rgba(192, 132, 252, 0.14),
    0 8px 26px rgba(124, 58, 237, 0.26);
}
.altar-stage-cores.is-resizing .altar-stage-cores-inner {
  transition: transform var(--altar-chip-width-dur) var(--altar-chip-width-ease);
  transform: scale(0.992);
}
.altar-stage-cores:not(.is-resizing) .altar-stage-cores-inner {
  transition: transform var(--altar-chip-width-dur) var(--altar-chip-width-ease);
  transform: scale(1);
}
.altar-stage-cores:not(.is-deducting):not(.is-gaining) {
  animation: altarChipGlow 4.5s ease-in-out infinite;
}
.altar-stage-cores-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  width: max-content;
  position: relative;
  z-index: 1;
}
.altar-stage-cores-ripple {
  display: none;
}
.altar-stage-cores.is-deducting {
  border-color: rgba(248, 113, 113, 0.44);
  background: rgba(28, 10, 18, 0.88);
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.14),
    0 0 20px rgba(239, 68, 68, 0.2);
  animation: none;
}
.altar-stage-cores.is-deducting .altar-stage-cores-value {
  color: #fecaca;
  filter: drop-shadow(0 0 6px rgba(248, 113, 113, 0.35));
}
.altar-stage-cores.is-gaining {
  border-color: rgba(74, 222, 128, 0.46);
  background: rgba(10, 24, 16, 0.88);
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.16),
    0 0 20px rgba(34, 197, 94, 0.22);
  animation: none;
}
.altar-stage-cores.is-gaining .altar-stage-cores-value {
  color: #bbf7d0;
  filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.38));
}
.altar-stage-cores-delta {
  position: absolute;
  left: 50%;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  letter-spacing: 0.02em;
}
.altar-stage-cores-delta.is-minus {
  top: 50%;
  color: #fca5a5;
  text-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
  transform: translate(-50%, -50%);
}
.altar-stage-cores-delta.is-plus {
  top: 50%;
  color: #86efac;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
  transform: translate(-50%, -50%);
}
.altar-stage-cores-delta.is-minus.is-active,
.altar-stage-cores-delta.is-plus.is-active {
  animation-duration: var(--altar-delta-dur, 1s);
  animation-timing-function: cubic-bezier(0.16, 1, 0.32, 1);
  animation-fill-mode: forwards;
}
.altar-stage-cores-delta.is-minus.is-active {
  animation-name: altarCoresDeltaMinus;
}
.altar-stage-cores-delta.is-plus.is-active {
  animation-name: altarCoresDeltaPlus;
}
@keyframes altarCoresDeltaMinus {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 2px)) scale(0.9);
  }
  10% {
    opacity: 1;
  }
  55% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 14px)) scale(1.01);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 32px)) scale(0.99);
  }
}
@keyframes altarCoresDeltaPlus {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 32px)) scale(0.9);
  }
  10% {
    opacity: 1;
  }
  55% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 14px)) scale(1.01);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 2px)) scale(0.99);
  }
}
.altar-stage-cores-value {
  line-height: 1;
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  min-width: 0;
  transition: color 0.48s cubic-bezier(0.22, 1, 0.36, 1), filter 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.altar-stage-cores-icon {
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}
@keyframes altarChipGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.08), 0 4px 18px rgba(124, 58, 237, 0.16); }
  50% { box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.18), 0 6px 24px rgba(139, 92, 246, 0.3); }
}
.altar-stage-wrap {
  position: relative;
  --altar-open-dur: 1.1s;
  --altar-delta-dur: 1s;
  --altar-charge-loop: calc(var(--altar-open-dur) / 2);
  border-radius: 20px;
  border: 1px solid rgba(110, 231, 255, 0.16);
  background:
    radial-gradient(130% 80% at 50% -12%, rgba(167, 139, 250, 0.18), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(34, 211, 238, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(10, 14, 26, 0.55), rgba(3, 6, 14, 0.96));
  overflow: hidden;
  min-height: 300px;
  perspective: 1000px;
  isolation: isolate;
}
.altar-stage-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 70%, rgba(167, 139, 250, 0.16), transparent 56%);
  pointer-events: none;
  z-index: 0;
  animation: altarAmbient 5s ease-in-out infinite;
}
.altar-stage-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  box-shadow:
    inset 0 26px 60px -22px rgba(0, 0, 0, 0.65),
    inset 0 -28px 60px -24px rgba(2, 6, 14, 0.85);
}
@keyframes altarAmbient {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.04); }
}
.altar-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 300px;
  padding: 26px 16px 22px;
}
.altar-sky-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.altar-aurora {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(55% 40% at 20% 30%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(45% 35% at 80% 25%, rgba(56, 189, 248, 0.1), transparent 72%),
    radial-gradient(60% 45% at 50% 85%, rgba(167, 139, 250, 0.12), transparent 68%);
  animation: altarAuroraDrift 9s ease-in-out infinite;
  opacity: 0.85;
}
.altar-nebula {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(88, 28, 135, 0.08), transparent 58%);
  animation: altarAmbient 6s ease-in-out infinite;
}
@keyframes altarAuroraDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -8px, 0) scale(1.03); }
}
.altar-particle {
  position: absolute;
  left: calc(var(--p-x) * 1%);
  top: calc(var(--p-y) * 1%);
  opacity: 0;
  pointer-events: none;
  animation: altarParticleDrift var(--p-dur, 5s) linear infinite;
  animation-delay: var(--p-delay, 0s);
  transform: scale(var(--p-scale, 1));
}
.altar-particle--spark {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: hsl(var(--p-hue, 270), 88%, 78%);
  box-shadow: 0 0 8px hsla(var(--p-hue, 270), 90%, 70%, 0.85);
}
.altar-particle--orb {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #faf5ff, hsl(var(--p-hue, 270), 70%, 62%) 55%, transparent 100%);
  box-shadow: 0 0 14px hsla(var(--p-hue, 270), 80%, 65%, 0.55);
  filter: blur(0.2px);
}
.altar-particle--dust {
  width: 8px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, hsla(var(--p-hue, 270), 80%, 75%, 0.9), transparent);
  transform: rotate(25deg) scale(var(--p-scale, 1));
}
@keyframes altarParticleDrift {
  0% { opacity: 0; transform: translate3d(0, 10px, 0) scale(calc(var(--p-scale, 1) * 0.5)); }
  12% { opacity: 0.9; }
  88% { opacity: 0.25; }
  100% { opacity: 0; transform: translate3d(0, -110px, 0) scale(var(--p-scale, 1)); }
}
.altar-charge-label {
  position: absolute;
  top: 14px;
  left: 12px;
  right: auto;
  transform: none;
  z-index: 4;
  max-width: calc(100% - 150px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(192, 132, 252, 0.28);
  background: rgba(15, 10, 28, 0.72);
  color: #e9d5ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: altarChargeLabel var(--altar-charge-loop, 1s) ease-in-out infinite;
}
@keyframes altarChargeLabel {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
.altar-pedestal {
  position: relative;
  width: min(232px, 74vw);
  height: 96px;
  margin-bottom: 6px;
}
.altar-pedestal-glow {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 88%;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.42), transparent 70%);
  filter: blur(11px);
  opacity: 0.7;
  pointer-events: none;
  animation: altarAmbient 4s ease-in-out infinite;
  transition: opacity 0.45s ease, filter 0.45s ease;
}
.altar-pedestal-base {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(20, 28, 48, 0.98), rgba(2, 6, 14, 0.35));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.altar-pedestal-body {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 74%;
  height: 56px;
  border-radius: 16px 16px 10px 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(60, 76, 110, 0.9), rgba(17, 24, 44, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -10px 22px rgba(0, 0, 0, 0.45);
}
.altar-pedestal-body::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.28));
}
.altar-pedestal-top {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  width: 62%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(196, 181, 253, 0.6), rgba(124, 58, 237, 0.24) 60%, transparent 78%);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  animation: altarRunePulse 3.2s ease-in-out infinite;
  transition: box-shadow 0.45s ease;
}
.altar-pedestal-rune-ring {
  position: absolute;
  left: 50%;
  bottom: 55px;
  transform: translateX(-50%);
  width: 44%;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.4);
  opacity: 0.5;
  pointer-events: none;
  animation: altarRunePulse 3.6s ease-in-out infinite 0.4s;
}
.altar-pedestal-rune {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 52%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.65), transparent);
  animation: altarRunePulse 2.8s ease-in-out infinite;
}
@keyframes altarRunePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; box-shadow: 0 0 18px rgba(34, 211, 238, 0.4); }
}
.altar-core-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.36), rgba(99, 102, 241, 0.12) 50%, transparent 68%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
  animation: altarHaloPulse 3.6s ease-in-out infinite;
  transition: opacity 0.45s ease;
}
@keyframes altarHaloPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.08); }
}
.altar-core-motion {
  position: absolute;
  left: 50%;
  bottom: 52px;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
.altar-stage-wrap:not(.is-charging) .altar-core-motion {
  animation: altarCoreMotionFloat 3.6s ease-in-out infinite;
}
.altar-stage-wrap.is-charging .altar-core-motion {
  animation: altarCoreMotionCharge var(--altar-charge-loop) ease-in-out infinite;
}
.altar-stage-wrap.is-bulk-charge .altar-core-motion {
  animation: altarCoreMotionChargeBulk var(--altar-charge-loop) ease-in-out infinite;
}
@keyframes altarCoreMotionFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes altarCoreMotionCharge {
  0%, 100% { transform: translateX(-50%) translateY(-2px); }
  50% { transform: translateX(-50%) translateY(-11px); }
}
@keyframes altarCoreMotionChargeBulk {
  0%, 100% { transform: translateX(-50%) translateY(-3px); }
  50% { transform: translateX(-50%) translateY(-14px); }
}
.altar-core {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  z-index: 1;
  transform: scale(1);
  background: radial-gradient(circle at 35% 28%, #ede9fe, #7c69f5 42%, #2e2a6e 100%);
  box-shadow:
    0 0 26px rgba(139, 92, 246, 0.6),
    0 0 56px rgba(99, 102, 241, 0.32),
    inset 0 -5px 14px rgba(0, 0, 0, 0.4),
    inset 0 3px 9px rgba(255, 255, 255, 0.28);
  filter: brightness(1);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease, box-shadow 0.32s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Volumetric top-down light column — single column, no duplicate bottom pools */
.altar-light-shaft {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: min(260px, 82%);
  transform: translateX(-50%);
  transform-origin: top center;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  filter: blur(6px);
  will-change: opacity;
}
.altar-light-shaft-soft,
.altar-light-shaft-glow,
.altar-light-shaft-core {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
.altar-light-shaft-soft {
  background:
    radial-gradient(ellipse 62% 22% at 50% 98%, rgba(167, 139, 250, 0.28), transparent 72%),
    linear-gradient(180deg,
      rgba(221, 214, 254, 0.02) 0%,
      rgba(167, 139, 250, 0.09) 46%,
      rgba(139, 92, 246, 0.04) 80%,
      transparent 100%);
  filter: blur(32px);
  opacity: 0.82;
}
.altar-light-shaft-glow {
  width: 72%;
  background: linear-gradient(180deg,
    rgba(237, 233, 254, 0.04) 0%,
    rgba(196, 181, 253, 0.2) 38%,
    rgba(167, 139, 250, 0.1) 72%,
    transparent 100%);
  filter: blur(22px);
  opacity: 0.72;
}
.altar-light-shaft-core {
  width: 36%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(237, 233, 254, 0.16) 24%,
    rgba(196, 181, 253, 0.08) 58%,
    transparent 100%);
  filter: blur(18px);
  opacity: 0.62;
}
.altar-stage-wrap.is-charging .altar-light-shaft {
  animation: altarShaftIn var(--altar-open-dur) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.altar-stage-wrap.is-reveal .altar-light-shaft {
  animation: altarShaftOut 0.78s cubic-bezier(0.4, 0, 0.6, 1) 0.42s both;
}
.altar-stage-wrap.is-bulk-charge .altar-light-shaft-core { opacity: 0.72; }
@keyframes altarShaftIn {
  0% { opacity: 0; }
  28% { opacity: 0.14; }
  60% { opacity: 0.58; }
  100% { opacity: 0.82; }
}
@keyframes altarShaftOut {
  0% { opacity: 0.82; }
  100% { opacity: 0; }
}

/* Particles converging into the core while charging */
.altar-charge-particles {
  position: absolute;
  left: 50%;
  bottom: 81px;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
}
.altar-charge-particle {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #faf5ff, hsl(var(--c-hue, 270), 85%, 70%) 60%, transparent);
  box-shadow: 0 0 8px hsla(var(--c-hue, 270), 90%, 72%, 0.85);
  opacity: 0;
}
.altar-stage-wrap.is-charging .altar-charge-particle {
  animation: altarConverge var(--altar-charge-loop) ease-in infinite;
  animation-delay: var(--c-delay, 0s);
}
@keyframes altarConverge {
  0% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(calc(var(--c-scale, 1) * 0.4)); }
  18% { opacity: 1; }
  82% { opacity: 0.95; }
  100% { opacity: 0; transform: translate(0, 0) scale(var(--c-scale, 1)); }
}

/* Spark burst flying outward on reveal */
.altar-burst {
  position: absolute;
  left: 50%;
  bottom: 81px;
  width: 0;
  height: 0;
  z-index: 5;
  pointer-events: none;
}
.altar-burst-spark {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, hsl(var(--b-hue, 270), 90%, 72%) 55%, transparent);
  box-shadow: 0 0 10px hsla(var(--b-hue, 270), 92%, 74%, 0.9);
  opacity: 0;
}
.altar-stage-wrap.is-reveal .altar-burst-spark {
  animation: altarBurstOut var(--b-dur, 0.8s) cubic-bezier(0.18, 0.9, 0.32, 1) forwards;
}
@keyframes altarBurstOut {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  20% { opacity: 1; transform: translate(calc(var(--bx) * 0.4), calc(var(--by) * 0.4)) scale(1.1); }
  100% { opacity: 0; transform: translate(var(--bx), var(--by)) scale(0.55); }
}
.altar-ring {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%) scale(0.4);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(192, 132, 252, 0.55);
  opacity: 0;
  pointer-events: none;
}
.altar-stage-wrap:not(.is-charging):not(.is-reveal) .altar-core {
  animation: none;
}
.altar-stage-wrap.is-charging .altar-core {
  animation: altarCoreChargePulse var(--altar-charge-loop) ease-in-out infinite;
  transition: none;
  box-shadow:
    0 0 36px rgba(167, 139, 250, 0.65),
    0 0 72px rgba(139, 92, 246, 0.38);
}
@keyframes altarCoreChargePulse {
  0%, 100% { transform: scale(1); filter: brightness(1.1); }
  50% { transform: scale(1.07); filter: brightness(1.2); }
}
.altar-stage-wrap.is-bulk-charge .altar-core {
  animation: altarCoreChargePulseBulk var(--altar-charge-loop) ease-in-out infinite;
  transition: none;
}
@keyframes altarCoreChargePulseBulk {
  0%, 100% { transform: scale(1); filter: brightness(1.14); }
  50% { transform: scale(1.1); filter: brightness(1.28); }
}
.altar-stage-wrap.is-reveal .altar-core {
  animation: altarCoreRevealPulse 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: none;
}
@keyframes altarCoreRevealPulse {
  0% { transform: scale(1); filter: brightness(1); }
  42% { transform: scale(1.3); filter: brightness(1.82); }
  100% { transform: scale(1); filter: brightness(1); }
}
.altar-stage-wrap.is-charging #altar-ring {
  animation: altarRingBurst calc(var(--altar-open-dur) * 0.55) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes altarRingBurst {
  0% { opacity: 0.8; transform: translateX(-50%) scale(0.35); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.35); }
}
.altar-ring--2 {
  width: 180px;
  height: 180px;
  border-color: rgba(216, 180, 254, 0.28);
}
.altar-stage-wrap.is-charging .altar-ring--2 {
  animation: altarRingBurst2 calc(var(--altar-open-dur) * 0.55) cubic-bezier(0.22, 1, 0.36, 1) calc(var(--altar-open-dur) * 0.45) forwards;
}
@keyframes altarRingBurst2 {
  0% { opacity: 0.55; transform: translateX(-50%) scale(0.25); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.55); }
}

/* ---- God rays (light from above) ---- */
.altar-godrays {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 82%;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 80%);
  opacity: 0.5;
  transition: opacity 0.5s ease;
}
.altar-ray {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.5), rgba(139, 92, 246, 0.05) 68%, transparent);
  filter: blur(5px);
  animation: altarRaySway 7s ease-in-out infinite;
}
.altar-ray--1 { width: 24px; transform: translateX(-50%) rotate(-16deg); animation-delay: -0.4s; }
.altar-ray--2 { width: 15px; transform: translateX(-50%) rotate(-6deg); animation-delay: -2.1s; }
.altar-ray--3 { width: 19px; transform: translateX(-50%) rotate(7deg); animation-delay: -3.6s; }
.altar-ray--4 { width: 13px; transform: translateX(-50%) rotate(17deg); animation-delay: -1.3s; }
@keyframes altarRaySway {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.72; }
}

/* ---- Fog / mist ---- */
.altar-fog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
  mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
}
.altar-fog-layer {
  position: absolute;
  bottom: -24%;
  left: -25%;
  width: 150%;
  height: 130%;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.5;
  transition: opacity 0.5s ease;
}
.altar-fog-layer--1 {
  background: radial-gradient(60% 50% at 40% 60%, rgba(124, 58, 237, 0.22), transparent 70%);
  animation: altarFogDrift 15s ease-in-out infinite;
}
.altar-fog-layer--2 {
  background: radial-gradient(55% 45% at 65% 58%, rgba(34, 211, 238, 0.14), transparent 72%);
  animation: altarFogDrift 19s ease-in-out infinite reverse;
}
.altar-fog-layer--3 {
  background: radial-gradient(50% 42% at 52% 64%, rgba(167, 139, 250, 0.16), transparent 70%);
  animation: altarFogDrift 23s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes altarFogDrift {
  0%, 100% { transform: translateX(-5%) scale(1); }
  50% { transform: translateX(7%) scale(1.08); }
}

/* ---- Reveal flash + shockwave ---- */
.altar-flash {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%) scale(0.2);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(196, 181, 253, 0.55) 42%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.altar-shock {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%) scale(0.3);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(216, 180, 254, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.altar-stage-wrap.is-reveal .altar-flash { animation: altarFlash 0.7s ease-out forwards; }
.altar-stage-wrap.is-reveal .altar-shock { animation: altarShock 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes altarFlash {
  0% { opacity: 0; transform: translateX(-50%) scale(0.2); }
  28% { opacity: 0.95; }
  100% { opacity: 0; transform: translateX(-50%) scale(2.5); }
}
@keyframes altarShock {
  0% { opacity: 0.85; transform: translateX(-50%) scale(0.3); }
  100% { opacity: 0; transform: translateX(-50%) scale(2.1); }
}

/* ---- Atmosphere reacts to charge / reveal ---- */
.altar-stage-wrap.is-charging .altar-godrays {
  opacity: 1;
  filter: brightness(1.5) saturate(1.15);
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.altar-stage-wrap.is-reveal .altar-godrays {
  opacity: 0.35;
  filter: brightness(1) saturate(1);
  transition: opacity 0.38s ease-out, filter 0.38s ease-out;
}
.altar-stage-wrap.is-charging .altar-ray { filter: blur(4px); }
.altar-stage-wrap.is-charging .altar-fog-layer { opacity: 0.85; }
.altar-stage-wrap.is-reveal .altar-fog-layer {
  opacity: 0.45;
  transition: opacity 0.4s ease-out;
}
.altar-stage-wrap.is-charging .altar-core-halo {
  opacity: 0.48;
  animation: none;
}
.altar-stage-wrap.is-reveal .altar-core-halo {
  opacity: 0.6;
  transition: opacity 0.35s ease-out;
}
.altar-stage-wrap.is-charging .altar-pedestal-glow {
  opacity: 0.78;
  filter: blur(11px);
}
.altar-stage-wrap.is-charging .altar-pedestal-top {
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.38);
}
.altar-stage-wrap.is-bulk-charge .altar-godrays { filter: brightness(1.7) saturate(1.2); }
.altar-result-card {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%) translateY(10px);
  min-width: min(94%, 340px);
  max-width: calc(100% - 16px);
  max-height: calc(100% - 12px);
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(10, 14, 24, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  z-index: 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.altar-result-inner {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 0;
  max-height: 100%;
}
.altar-result-scroll {
  padding: 10px 12px 6px;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.altar-result-card.is-visible {
  animation: altarResultIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.altar-result-card.is-hiding {
  animation: altarResultOut 0.32s ease forwards;
  pointer-events: none;
}
.altar-result-card.is-interactive {
  pointer-events: auto;
  cursor: pointer;
}
.altar-result-card.is-interactive:active {
  transform: translateX(-50%) scale(0.985);
}
@keyframes altarResultIn {
  from { opacity: 0; transform: translateX(-50%) translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes altarResultOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  to { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(0.96); }
}
.altar-result-card.is-hiding.is-dismissing-for-open,
.altar-result-card.is-dismissing-for-open {
  animation: altarResultDismissToCore 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
@keyframes altarResultDismissToCore {
  from { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  to { opacity: 0; transform: translateX(-50%) translateY(72px) scale(0.78); filter: blur(1px); }
}
.altar-sky-particles.is-particles-alive .altar-particle,
.altar-sky-particles.is-particles-alive .altar-aurora,
.altar-sky-particles.is-particles-alive .altar-nebula {
  animation-play-state: running;
}
.profile-panel:not(.is-active) .altar-sky-particles .altar-particle,
.profile-panel:not(.is-active) .altar-sky-particles .altar-aurora,
.profile-panel:not(.is-active) .altar-sky-particles .altar-nebula,
.profile-panel:not(.is-active) .altar-ray,
.profile-panel:not(.is-active) .altar-fog-layer,
.profile-panel:not(.is-active) .altar-core-halo,
.profile-panel:not(.is-active) .altar-pedestal-glow,
.profile-panel:not(.is-active) .altar-pedestal-top,
.profile-panel:not(.is-active) .altar-pedestal-rune,
.profile-panel:not(.is-active) .altar-pedestal-rune-ring {
  animation-play-state: paused;
}
.altar-result-emoji { font-size: 1.35rem; line-height: 1; margin-bottom: 2px; text-align: center; }
.altar-result-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(216, 180, 254, 0.95);
  text-align: center;
  margin-bottom: 8px;
}
.altar-result-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.altar-result-items li {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  line-height: 1.32;
  color: #f1f5f9;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.altar-result-items li.is-extra { color: rgba(203, 213, 225, 0.92); -webkit-line-clamp: 1; line-clamp: 1; }
.altar-result-items li.is-more {
  text-align: center;
  color: rgba(167, 139, 250, 0.95);
  font-weight: 700;
  background: transparent;
  border-style: dashed;
}
.altar-result-summary {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.94);
  text-align: center;
}
.altar-result-card.is-summary-only {
  border-color: rgba(100, 116, 139, 0.35);
}
.altar-result-card.is-summary-only .altar-result-title {
  color: rgba(203, 213, 225, 0.95);
}
.altar-result-brief {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.64rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.95);
  text-align: center;
}
.altar-result-hint {
  margin: 0;
  padding: 6px 10px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.75);
  text-align: center;
  flex-shrink: 0;
  background: rgba(8, 12, 20, 0.55);
}
.altar-result-card.rarity-1 { border-color: rgba(248, 113, 113, 0.45); box-shadow: 0 0 28px rgba(248, 113, 113, 0.18); }
.altar-result-card.rarity-2 { border-color: rgba(250, 204, 21, 0.45); box-shadow: 0 0 28px rgba(250, 204, 21, 0.18); }
.altar-result-card.rarity-3 { border-color: rgba(192, 132, 252, 0.45); box-shadow: 0 0 28px rgba(192, 132, 252, 0.18); }
.altar-result-card.rarity-7 { border-color: rgba(100, 116, 139, 0.5); }
.altar-result-card.rarity-8 { border-color: rgba(56, 189, 248, 0.45); box-shadow: 0 0 28px rgba(56, 189, 248, 0.18); }

.altar-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.altar-amount-btn {
  padding: 11px 8px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  background: rgba(88, 28, 135, 0.14);
  color: #e9d5ff;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.12s ease;
  will-change: transform;
}
@media (hover: hover) {
  .altar-amount-btn:hover:not(:disabled) {
    border-color: rgba(192, 132, 252, 0.45);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.18);
    transform: translateY(-1px);
  }
}
.altar-amount-btn:active:not(:disabled) {
  transform: scale(0.97);
}
.altar-amount-btn.is-active {
  border-color: rgba(216, 180, 254, 0.6);
  background: rgba(139, 92, 246, 0.28);
  color: #faf5ff;
  box-shadow: 0 0 0 1px rgba(216, 180, 254, 0.22), 0 4px 18px rgba(139, 92, 246, 0.24);
}
.altar-amount-btn:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}
.altar-offer-btn {
  position: relative;
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.4), rgba(76, 29, 149, 0.32));
  color: #f5ecff;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.12s ease, filter 0.2s ease;
  will-change: transform;
}
.altar-offer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
@media (hover: hover) {
  .altar-offer-btn:hover:not(:disabled) {
    border-color: rgba(216, 180, 254, 0.6);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
    filter: brightness(1.06);
  }
  .altar-offer-btn:hover:not(:disabled)::after {
    animation: altarSheen 0.9s ease forwards;
  }
}
.altar-offer-btn:active:not(:disabled) {
  transform: scale(0.985);
}
.altar-offer-btn:disabled { opacity: 0.45; cursor: not-allowed; }
@keyframes altarSheen {
  0% { opacity: 0; left: -60%; }
  30% { opacity: 1; }
  100% { opacity: 0; left: 130%; }
}

.altar-actions-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.altar-secondary-btn.is-active {
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(88, 28, 135, 0.22);
  color: #f3e8ff;
}
.altar-secondary-btn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(88, 28, 135, 0.1);
  color: rgba(233, 213, 255, 0.95);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  will-change: transform;
}
@media (hover: hover) {
  .altar-secondary-btn:hover {
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.16);
    transform: translateY(-1px);
  }
}
.altar-secondary-btn:active {
  transform: scale(0.97);
}

#panel-altar .altar-scatter {
  display: none !important;
}
.altar-scatter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.altar-scatter-locked {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(167, 139, 250, 0.2);
  color: rgba(203, 213, 225, 0.82);
  font-size: 0.74rem;
  text-align: center;
}
.altar-scatter-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.altar-scatter-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e9d5ff;
}
.altar-scatter-hint {
  font-size: 0.66rem;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.35;
}
.altar-scatter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.altar-scatter-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: rgba(15, 10, 28, 0.55);
  color: #cbd5e1;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
  will-change: transform;
}
@media (hover: hover) {
  .altar-scatter-chip:hover {
    border-color: rgba(192, 132, 252, 0.36);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.16);
    transform: translateY(-1px);
  }
}
.altar-scatter-chip:active {
  transform: scale(0.96);
}
.altar-scatter-chip.is-on {
  border-color: rgba(192, 132, 252, 0.5);
  background: rgba(139, 92, 246, 0.22);
  color: #faf5ff;
  box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.2), 0 4px 16px rgba(139, 92, 246, 0.22);
}
.altar-scatter-chip-emoji { font-size: 1.1rem; line-height: 1; }
.altar-scatter-chip-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.altar-scatter-chip-label {
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.altar-scatter-chip-reward {
  font-size: 0.54rem;
  color: rgba(216, 180, 254, 0.9);
  font-family: var(--font-mono);
}

.altar-log {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
}
.altar-log-item {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.92);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.altar-log-item:hover {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(139, 92, 246, 0.08);
}
.altar-log-head {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: #e9d5ff;
  margin-bottom: 3px;
}
.altar-log-preview {
  display: block;
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(203, 213, 225, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.altar-history-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.altar-history-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(167, 139, 250, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.1s ease;
  animation: altarHistoryRowIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--hist-i, 0) * 28ms);
}
.altar-history-item:active {
  transform: scale(0.985);
}
.altar-history-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(192, 132, 252, 0.28);
}
.altar-history-item-emoji {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  font-size: 1.2rem;
}
.altar-history-item-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.altar-history-item-top {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f3e8ff;
}
.altar-history-item-preview {
  font-size: 0.7rem;
  color: rgba(203, 213, 225, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.altar-history-item-chevron {
  color: rgba(167, 139, 250, 0.8);
  font-size: 1.2rem;
  line-height: 1;
}
.altar-history-detail-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}
.altar-history-detail--enter {
  animation: altarHistoryDetailIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes altarHistoryDetailIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.altar-history-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.altar-history-section {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.altar-history-section--items {
  border-color: rgba(167, 139, 250, 0.22);
  background: rgba(139, 92, 246, 0.06);
}
.altar-history-section--scatter,
.altar-history-section--empty {
  border-color: rgba(100, 116, 139, 0.2);
  background: rgba(15, 23, 42, 0.35);
}
.altar-history-section--bonus {
  border-color: rgba(56, 189, 248, 0.18);
}
.altar-history-section--stats {
  border-color: rgba(250, 204, 21, 0.16);
}
.altar-history-section--warn {
  border-color: rgba(248, 113, 113, 0.22);
}
.altar-history-section-title {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #e9d5ff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.altar-history-section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.altar-history-section-row {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.94);
  animation: altarHistoryRowIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--row-i, 0) * 24ms);
}
@keyframes altarHistoryRowIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.altar-history-section--scatter .altar-history-section-row,
.altar-history-section--empty .altar-history-section-row {
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.7rem;
}
.altar-history-detail-emoji {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.14);
  font-size: 1.45rem;
}
.altar-history-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.altar-history-detail-meta strong {
  font-size: 0.92rem;
  color: #faf5ff;
}
.altar-history-detail-when,
.altar-history-detail-stats {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.95);
}
.altar-history-detail-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.altar-history-detail-line {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.94);
}
.altar-history-detail-line.is-muted { color: rgba(148, 163, 184, 0.9); }

.altar-chances {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 6px;
}
.altar-chances-block {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: linear-gradient(180deg, rgba(15, 10, 28, 0.72), rgba(8, 12, 22, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.altar-chances-block--rules { border-color: rgba(110, 231, 255, 0.14); }
.altar-chances-block--tree { border-color: rgba(167, 139, 250, 0.2); }
.altar-chances-block--rarities { border-color: rgba(192, 132, 252, 0.18); }
.altar-chances-title {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #f3e8ff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.altar-chances-title-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(88, 28, 135, 0.28);
  border: 1px solid rgba(192, 132, 252, 0.2);
  font-size: 0.9rem;
}
.altar-chances-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(167, 139, 250, 0.9);
}
.altar-chances-rules {
  margin: 0;
  padding-left: 18px;
  color: rgba(203, 213, 225, 0.94);
  font-size: 0.76rem;
  line-height: 1.5;
}
.altar-chances-rules li + li { margin-top: 6px; }
.altar-chances-outcomes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.altar-chances-outcome {
  padding: 10px 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}
.altar-chances-outcome-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}
.altar-chances-outcome-icon,
.altar-chances-child-icon {
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}
.altar-chances-outcome-label,
.altar-chances-child-label {
  font-size: 0.76rem;
  color: rgba(226, 232, 240, 0.96);
  line-height: 1.35;
}
.altar-chances-outcome-note {
  grid-column: 2;
  font-size: 0.66rem;
  color: rgba(148, 163, 184, 0.92);
}
.altar-chances-outcome-pct,
.altar-chances-child-pct {
  font-size: 0.72rem;
  font-weight: 800;
  color: #e9d5ff;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.altar-chances-meter {
  margin-top: 8px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.altar-chances-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.55), rgba(167, 139, 250, 0.95));
  min-width: 2px;
}
.altar-chances-meter--child span {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(129, 140, 248, 0.9));
}
.altar-chances-meter--rarity {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.altar-chances-children {
  margin-top: 8px;
  padding-left: 10px;
  border-left: 2px solid rgba(167, 139, 250, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.altar-chances-child {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}
.altar-chances-child .altar-chances-meter {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.altar-chances-rarities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.altar-chances-rarity {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.altar-chances-rarity-emoji { font-size: 1.05rem; text-align: center; }
.altar-chances-rarity-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.altar-chances-rarity-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.96);
}
.altar-chances-rarity-note {
  font-size: 0.66rem;
  color: rgba(148, 163, 184, 0.9);
}
.altar-chances-rarity-pct {
  font-size: 0.72rem;
  font-weight: 800;
  color: #e9d5ff;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.altar-chances-rarity.rarity-8 { border-color: rgba(56, 189, 248, 0.35); }
.altar-chances-rarity.rarity-0 { border-color: rgba(148, 163, 184, 0.35); }
.altar-chances-rarity.rarity-7 { border-color: rgba(30, 30, 30, 0.8); background: rgba(0, 0, 0, 0.2); }
.altar-chances-rarity.rarity-1 { border-color: rgba(248, 113, 113, 0.4); }
.altar-chances-rarity.rarity-2 { border-color: rgba(250, 204, 21, 0.4); }
.altar-chances-rarity.rarity-3 { border-color: rgba(192, 132, 252, 0.4); }
.altar-chances-rarity.rarity-4 { border-color: rgba(96, 165, 250, 0.4); }
.altar-chances-rarity.rarity-5 { border-color: rgba(74, 222, 128, 0.35); }
.altar-chances-rarity.rarity-6 { border-color: rgba(226, 232, 240, 0.2); }
.altar-chances-foot {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.14);
  font-size: 0.72rem;
  color: rgba(216, 180, 254, 0.95);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .altar-stage-wrap { min-height: 264px; }
  .altar-stage { min-height: 264px; padding-bottom: 18px; }
  .altar-core-motion { bottom: 50px; width: 52px; height: 52px; }
  .altar-core { width: 52px; height: 52px; font-size: 1.5rem; }
  .altar-core-halo { width: 100px; height: 100px; }
  .altar-godrays { opacity: 0.42; }
  .altar-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .altar-amount-btn { padding: 9px 6px; font-size: 0.76rem; }
  .altar-scatter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .altar-actions-row { grid-template-columns: 1fr; }
  .altar-secondary-btn { font-size: 0.72rem; }
  .altar-stage-cores { top: 10px; right: 10px; padding: 6px 10px; font-size: 0.84rem; }

  /* Ratings cards — same vertical layout as Classes on mobile */
  .ratings-panel-wrap .class-menu-card.rating-mode-card {
    display: block;
    min-height: 212px;
    padding: 0;
    gap: 0;
    border-radius: 18px;
    -webkit-tap-highlight-color: transparent;
  }
  .ratings-panel-wrap .rating-mode-card .class-menu-card-bg {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 56%;
    mask-image: none;
    -webkit-mask-image: none;
    background-size: cover;
    background-position: center 18%;
    opacity: 1;
  }
  .ratings-panel-wrap .rating-mode-card .class-menu-card-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 16, 24, 0.04) 0%,
      rgba(11, 16, 24, 0.12) 26%,
      rgba(11, 16, 24, 0.7) 46%,
      #0b1018 56%,
      #0b1018 100%
    );
  }
  .ratings-panel-wrap .rating-mode-card .class-menu-card-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(8, 12, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .ratings-panel-wrap .rating-mode-badge {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 1.2rem;
  }
  .ratings-panel-wrap .rating-mode-card .class-menu-card-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    flex: none;
    justify-content: flex-end;
    min-height: 46%;
    max-width: 100%;
    padding: 10px 14px 14px;
    box-sizing: border-box;
  }
  .ratings-panel-wrap .rating-mode-card .class-menu-card-title {
    font-size: 1.02rem;
    line-height: 1.25;
  }
  .ratings-panel-wrap .rating-mode-card .class-menu-card-sub {
    font-size: 0.78rem;
    line-height: 1.42;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: rgba(203, 213, 225, 0.9);
  }
  .ratings-panel-wrap .rating-mode-card.class-menu-card--no-image {
    display: flex;
    align-items: stretch;
    gap: 12px;
    min-height: 96px;
    padding: 14px 16px;
  }
  .ratings-panel-wrap .rating-mode-card.class-menu-card--no-image .class-menu-card-bg {
    inset: 0;
    height: 100%;
  }
  .ratings-panel-wrap .rating-mode-card.class-menu-card--no-image .class-menu-card-icon {
    position: relative;
    top: auto;
    left: auto;
    width: 52px;
    height: auto;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .ratings-panel-wrap .rating-mode-card.class-menu-card--no-image .class-menu-card-text {
    position: relative;
    min-height: 0;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inspector-modal.inspector-modal--fast .inspector-modal-backdrop,
  .inspector-modal.inspector-modal--fast .inspector-modal-dialog {
    transition: none !important;
  }
  .altar-result-card.is-visible,
  .altar-result-card.is-hiding,
  .altar-history-detail--enter,
  .altar-history-section-row,
  .altar-history-item,
  .altar-shell--enter .altar-stage-wrap,
  .altar-shell--enter .altar-offer-btn,
  .altar-shell--enter .altar-amounts,
  .altar-shell--enter .altar-actions-row,
  .altar-aurora,
  .altar-nebula,
  .altar-particle,
  .altar-stage-wrap::before,
  .altar-core,
  .altar-core-motion,
  .altar-core-halo,
  .altar-pedestal-rune,
  .altar-pedestal-rune-ring,
  .altar-pedestal-top,
  .altar-pedestal-glow,
  .altar-ray,
  .altar-fog-layer,
  .altar-cores-chip,
  .altar-stage-cores,
  .altar-sky-particles span,
  .altar-stage-wrap.is-charging .altar-core,
  .altar-stage-wrap.is-charging .altar-core-motion,
  .altar-stage-wrap.is-charging .altar-ring,
  .altar-stage-wrap.is-charging .altar-ring--2,
  .altar-stage-wrap.is-charging .altar-charge-particle,
  .altar-stage-wrap.is-charging .altar-light-shaft,
  .altar-stage-wrap.is-reveal .altar-light-shaft,
  .altar-stage-wrap.is-reveal .altar-flash,
  .altar-stage-wrap.is-reveal .altar-shock,
  .altar-stage-wrap.is-reveal .altar-burst-spark,
  .rating-row { animation: none !important; }
  .rating-row.is-revealing-name .rating-row-name-text { animation: none !important; }
}
