.ritual-try-page {
  background:
    radial-gradient(circle at 50% 22%, rgba(203, 176, 121, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 42%, rgba(122, 70, 50, 0.18), transparent 30rem),
    #060404;
}

.ritual-main {
  position: relative;
  z-index: 1;
}

.ritual-hero {
  min-height: calc(100vh - 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem 5rem;
}

.ritual-hero h1 {
  margin: 0;
  max-width: 9ch;
  font-family: var(--display);
  font-size: clamp(4.7rem, 11vw, 9rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: var(--bone);
  text-shadow: 0 0 2rem rgba(219, 191, 137, 0.18);
}

.ritual-hero .hero-copy {
  max-width: 36rem;
}

.ritual-hero-panel {
  min-height: 28rem;
  border: 1px solid rgba(245, 231, 205, 0.12);
  border-radius: 2.25rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 55% 45%, rgba(230, 211, 169, 0.2), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 2rem 6rem rgba(0, 0, 0, 0.35);
}

.ritual-mark {
  --mark-size: 18rem;
  position: relative;
  width: var(--mark-size);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 2.4rem rgba(220, 188, 124, 0.16));
}

.mark-orb {
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 54% 48%, rgba(255, 253, 239, 0.72), rgba(193, 174, 137, 0.34) 22%, rgba(97, 73, 45, 0.58) 60%, rgba(21, 16, 13, 0.9) 100%);
  border: 3px solid rgba(248, 238, 217, 0.76);
  box-shadow:
    inset 0 0 3.4rem rgba(255, 255, 255, 0.18),
    inset 0 -1.8rem 3rem rgba(0, 0, 0, 0.32),
    0 0 4rem rgba(209, 177, 119, 0.18);
}

.mark-ring,
.interactive-ring {
  position: absolute;
  left: 5%;
  top: 36%;
  width: 90%;
  height: 30%;
  border: 0.36rem solid rgba(236, 218, 177, 0.48);
  border-radius: 50%;
  transform: rotate(-18deg);
  box-shadow:
    0 0 1rem rgba(230, 199, 132, 0.26),
    inset 0 0 0.8rem rgba(255, 255, 255, 0.16);
}

.mark-dot {
  position: absolute;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  background: #fff5c8;
  box-shadow: 0 0 0.65rem rgba(255, 224, 132, 0.86), 0 0 1.8rem rgba(255, 241, 198, 0.38);
}

.dot-one { left: 11%; top: 54%; }
.dot-two { left: 14%; top: 65%; }
.dot-three { left: 26%; top: 69%; }
.dot-four { left: 40%; top: 64%; }
.dot-five { left: 54%; top: 55%; }
.dot-six { left: 67%; top: 45%; }
.dot-seven { left: 77%; top: 36%; }
.dot-eight { left: 72%; top: 28%; }
.dot-nine { left: 53%; top: 28%; }
.dot-ten { left: 34%; top: 34%; }

.large-mark .mark-dot {
  animation: ritual-lamp 4s ease-in-out infinite;
}

.large-mark .dot-two { animation-delay: 0.18s; }
.large-mark .dot-three { animation-delay: 0.36s; }
.large-mark .dot-four { animation-delay: 0.54s; }
.large-mark .dot-five { animation-delay: 0.72s; }
.large-mark .dot-six { animation-delay: 0.9s; }
.large-mark .dot-seven { animation-delay: 1.08s; }
.large-mark .dot-eight { animation-delay: 1.26s; }
.large-mark .dot-nine { animation-delay: 1.44s; }
.large-mark .dot-ten { animation-delay: 1.62s; }

@keyframes ritual-lamp {
  0%, 46%, 100% {
    opacity: 0.5;
    transform: scale(0.72);
  }
  16%, 28% {
    opacity: 1;
    transform: scale(1.16);
  }
}

.web-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.web-map-grid article,
.ritual-picker-card,
.ritual-progress-card,
.acts-panel,
.field-note-shell,
.saved-shell {
  border: 1px solid rgba(245, 231, 205, 0.13);
  border-radius: 1.8rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.web-map-grid article {
  padding: 1.25rem;
}

.web-map-grid span,
.ritual-pill,
.act-category,
.reflection-chip {
  color: var(--gold);
  border: 1px solid rgba(214, 176, 101, 0.26);
  background: rgba(214, 176, 101, 0.12);
}

.web-map-grid span {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.web-map-grid h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--bone);
}

.ritual-shell {
  max-width: 78rem;
}

.language-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(245, 231, 205, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.language-strip p {
  margin: 0;
}

.language-actions {
  display: flex;
  gap: 0.5rem;
}

.lang-button {
  min-height: 2.75rem;
  border: 1px solid rgba(245, 231, 205, 0.14);
  border-radius: 999px;
  padding: 0 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.lang-button.active {
  color: var(--bone);
  border-color: rgba(214, 176, 101, 0.48);
  background: rgba(214, 176, 101, 0.16);
}

.ritual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.75fr);
  gap: 1.25rem;
  align-items: stretch;
}

.ritual-picker-card,
.ritual-progress-card,
.acts-panel,
.field-note-shell,
.saved-shell {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.control-head,
.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.control-head h2 {
  margin-top: 0.2rem;
}

.ritual-choice-grid,
.reflection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.ritual-choice,
.reflection-chip {
  min-height: 4.5rem;
  border-radius: 1.2rem;
  padding: 1rem;
  color: var(--bone);
  text-align: left;
  cursor: pointer;
}

.ritual-choice {
  border: 1px solid rgba(245, 231, 205, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.ritual-choice[aria-pressed="true"] {
  border-color: rgba(214, 176, 101, 0.55);
  box-shadow: 0 0 2rem rgba(214, 176, 101, 0.1);
}

.ritual-choice strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 0.98;
}

.ritual-choice span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  line-height: 1.35;
}

.ritual-pill,
.act-category {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0 0.8rem;
  font-size: 0.9rem;
}

.progress-head strong {
  color: var(--bone);
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
}

.interactive-mark {
  width: min(100%, 19rem);
  aspect-ratio: 1;
  margin: 1.3rem auto;
  position: relative;
}

.interactive-orb {
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 54% 50%, rgba(255, 254, 244, 0.7), rgba(190, 172, 139, 0.34) 25%, rgba(88, 64, 38, 0.64) 67%, rgba(13, 10, 9, 0.92) 100%);
  border: 3px solid rgba(248, 238, 217, 0.68);
}

.interactive-ring {
  border-width: 0.3rem;
}

.interactive-dot {
  position: absolute;
  width: 0.88rem;
  height: 0.88rem;
  border-radius: 999px;
  border: 2px solid rgba(233, 188, 124, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.interactive-dot.is-lit {
  border-color: rgba(255, 245, 206, 0.86);
  background: #fff4c3;
  box-shadow: 0 0 0.7rem rgba(255, 225, 143, 0.75), 0 0 2rem rgba(255, 245, 204, 0.28);
}

.progress-line {
  margin: 0;
  color: var(--bone);
  font-weight: 700;
}

.progress-copy {
  margin-bottom: 0;
}

.acts-panel,
.field-note-shell,
.saved-shell {
  margin-top: 1.25rem;
}

.act-list,
.saved-grid {
  display: grid;
  gap: 1rem;
}

.act-card,
.saved-note {
  border: 1px solid rgba(245, 231, 205, 0.13);
  border-radius: 1.45rem;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 10% 0%, var(--act-glow, rgba(214, 176, 101, 0.1)), transparent 17rem),
    rgba(255, 255, 255, 0.035);
}

.act-topline {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
}

.act-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.act-card h3 {
  margin: 1rem 0 0.45rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.95;
  font-weight: 500;
}

.act-card p {
  max-width: 46rem;
}

.act-toggle {
  flex: 0 0 auto;
  min-height: 3rem;
  border-radius: 999px;
  padding: 0 1rem;
  border: 1px solid rgba(245, 231, 205, 0.18);
  color: var(--bone);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.act-card.is-done {
  border-color: rgba(214, 176, 101, 0.38);
  background:
    radial-gradient(circle at 14% 0%, rgba(214, 176, 101, 0.18), transparent 17rem),
    rgba(214, 176, 101, 0.055);
}

.act-card.is-done .act-toggle {
  border-color: rgba(255, 236, 180, 0.55);
  background: rgba(214, 176, 101, 0.16);
}

.note-control {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
  color: var(--bone);
  font-weight: 700;
}

.note-control textarea {
  width: 100%;
  resize: vertical;
  border-radius: 1.4rem;
  border: 1px solid rgba(245, 231, 205, 0.16);
  padding: 1rem;
  color: var(--bone);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
}

.reflection-chip {
  min-height: 3.75rem;
  text-align: center;
  justify-content: center;
  border-color: rgba(245, 231, 205, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.reflection-chip[aria-pressed="true"] {
  border-color: rgba(214, 176, 101, 0.55);
  background: rgba(214, 176, 101, 0.14);
}

.full-button {
  width: 100%;
  justify-content: center;
}

.save-status {
  min-height: 1.5rem;
  color: var(--gold);
}

.saved-note h3 {
  margin: 0.5rem 0;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
}

.saved-note time,
.saved-note p {
  color: var(--muted);
}

.saved-empty {
  color: var(--muted);
}

@media (max-width: 860px) {
  .ritual-hero,
  .ritual-grid {
    grid-template-columns: 1fr;
  }

  .ritual-hero {
    padding-top: 5rem;
  }

  .ritual-hero-panel {
    min-height: 22rem;
  }

  .web-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ritual-hero {
    min-height: auto;
  }

  .ritual-hero h1 {
    font-size: clamp(4.35rem, 18vw, 6.2rem);
  }

  .ritual-hero-panel {
    min-height: 18rem;
  }

  .ritual-mark {
    --mark-size: 14rem;
  }

  .language-strip,
  .control-head,
  .progress-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ritual-choice-grid,
  .reflection-grid,
  .web-map-grid {
    grid-template-columns: 1fr;
  }

  .act-topline {
    gap: 1rem;
  }
}
