/* === monstrance-faith.css ===
   Faith subpages, faith games (sequence/match/reveal), checkpoint, lightbox, tiles, explainer, playful rubric games, finale, audio caption.
   Auto-extracted from catholic-monstrance-for-kids.html
*/

/* === Faith subpages, enhanced === */
.faith-page-bg {
  background:
    radial-gradient(140% 90% at 50% 22%, var(--halo) 0%, transparent 55%),
    linear-gradient(180deg, var(--sky) 0%, var(--paper) 60%, var(--paper-deep) 100%);
}
.faith-shell {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px clamp(16px, 3vw, 36px) 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faith-hero {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  gap: 32px;
  align-items: center;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-lg);
  padding: 26px clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-ink);
}
.faith-hero-art {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  border-radius: var(--rad-md);
  border: 2.5px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 2px 0 var(--ink);
  background: radial-gradient(circle at 40% 35%, var(--halo), var(--gold-light) 70%, var(--paper-deep));
}
.faith-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.faith-hero-text .stop-title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 6px 0 10px;
}
.faith-hero-text .stop-kicker {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--accent-deep);
}
@media (max-width: 760px) {
  .faith-hero { grid-template-columns: 1fr; gap: 18px; padding: 20px 18px 22px; }
  .faith-hero-art { max-width: 460px; margin: 0 auto; }
}

.big-idea {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--gold-light);
  border: 2px dashed var(--ink);
  border-radius: var(--rad-md);
  padding: 14px 16px;
  margin-top: 14px;
}
.big-idea h3 {
  font-size: 18px;
  margin: 0 0 4px;
}
.big-idea-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-family: 'Sentient', serif;
  font-weight: 800;
  font-size: 22px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
}

.guide-bubble {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  padding: 14px 18px 14px 14px;
  box-shadow: var(--shadow-ink);
  transform: rotate(-0.6deg);
}
.guide-portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  background: radial-gradient(circle, var(--halo), var(--gold-light) 70%, transparent);
  box-shadow: 0 2px 0 var(--ink);
}
.guide-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.guide-name {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 4px;
}
.guide-speech p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.teaching-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.teaching-card.has-image {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  padding: 18px;
  box-shadow: var(--shadow-ink);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}
.teaching-card.has-image h3 {
  font-size: 20px;
  margin: 0 0 4px;
}
.teaching-card.has-image p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
}
.teaching-img {
  width: 120px; height: 120px;
  border-radius: 18px;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  background: radial-gradient(circle, var(--halo), var(--gold-light) 70%, transparent);
  box-shadow: 0 2px 0 var(--ink);
}
.teaching-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.faith-game {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-lg);
  padding: 22px clamp(18px, 3vw, 32px) 26px;
  box-shadow: var(--shadow-ink);
}
.faith-game h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 4px 0 8px;
}
.quest-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.quest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-light);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.mini-progress {
  display: flex;
  gap: 6px;
  margin: 14px 0;
}
.mini-progress span {
  height: 8px;
  flex: 1;
  max-width: 56px;
  background: var(--paper-deep);
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
.mini-progress span.is-on { background: var(--accent); }

.activity-note {
  background: var(--gold-light);
  border: 1.5px solid var(--ink);
  border-radius: var(--rad-md);
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink);
}
.activity-note.is-success {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--ink);
}
.hint-zone {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hint-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  color: var(--ink);
  border: 2px dashed var(--accent-deep);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}
.hint-button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.hint-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.hint-button-secondary {
  border-style: solid;
  font-size: 18px;
  padding: 6px 14px;
}
.hint-reveal {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--accent-deep);
  background: var(--paper);
  border: 2px solid var(--accent-deep);
  border-radius: var(--rad-md);
  padding: 10px 14px;
  max-width: 720px;
}
.hint-label {
  font-weight: 700;
}

/* Sequence game */
.seq-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.seq-slot {
  position: relative;
  background: var(--paper-deep);
  border: 2.5px dashed var(--ink);
  border-radius: var(--rad-md);
  min-height: 200px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
}
.seq-slot.is-next { border-style: solid; background: var(--gold-light); }
.seq-slot.is-filled {
  border-style: solid;
  background: var(--paper);
  animation: popIn 280ms cubic-bezier(.3,1.4,.5,1);
}
.seq-num {
  position: absolute;
  top: -10px; left: -10px;
  width: 26px; height: 26px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.seq-slot img {
  width: 140px; height: 140px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--ink);
}
.seq-label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-top: 6px;
}
.seq-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.seq-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  padding: 14px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 2px 0 var(--ink);
  transition: transform 120ms ease;
}
.seq-card:hover { transform: translateY(-2px); }
.seq-card.is-wrong { animation: wiggle 0.4s ease; background: #FFE0DA; }
.seq-card img {
  width: 140px; height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid var(--ink);
}
.seq-card-text strong {
  display: block;
  font-size: 17px;
}
.seq-card-text span {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--accent-deep);
}
@keyframes wiggle {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Match game */
.phase-head {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--gold-light);
  border: 2px solid var(--accent-deep);
  border-radius: var(--rad-md);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.phase-head-text {
  flex: 1 1 240px;
  min-width: 0;
}
.phase-head h4 {
  margin: 0 0 2px;
  font-family: 'Newsreader', serif;
  font-size: 20px;
}
.phase-head p {
  margin: 0;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--accent-deep);
}
.phase-counter {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  padding: 4px 12px;
  border: 1.5px solid var(--accent-deep);
  white-space: nowrap;
}
.game-advance {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.match-col-head {
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.match-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.match-tile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  padding: 12px 16px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 2px 0 var(--ink);
  transition: transform 120ms ease, background 200ms ease;
}
.match-tile:hover { transform: translateY(-2px); }
.match-tile:disabled { cursor: default; opacity: 0.65; transform: none; }
.match-tile.is-picked { background: var(--gold-light); }
.match-tile.is-done { background: var(--accent); color: var(--paper); }
.match-tile.is-done .match-text strong,
.match-tile.is-done .match-text em { color: var(--paper); }
.match-tile.is-wrong { animation: wiggle 0.4s ease; background: #FFE0DA; }
.match-emoji {
  width: 120px; height: 120px;
  display: grid; place-items: center;
  font-size: 60px;
  background: var(--gold-light);
  border: 2px solid var(--ink);
  border-radius: 16px;
}
.match-thumb {
  width: 120px; height: 120px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--ink);
}
.match-text strong { display: block; font-size: 17px; }
.match-text em { font-style: normal; font-family: 'Caveat', cursive; font-size: 16px; color: var(--accent-deep); }
@media (max-width: 560px) {
  .match-grid { grid-template-columns: 1fr; }
}

/* Reveal game */
.reveal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.reveal-card-game {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-align: center;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 120ms ease;
}
.reveal-card-game:hover { transform: translateY(-3px); }
.reveal-card-game.is-focus { outline: 4px solid var(--accent); outline-offset: -4px; }
.reveal-card-game img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: popIn 300ms cubic-bezier(.3,1.4,.5,1);
}
.reveal-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(0deg, rgba(42,26,14,0.78), transparent);
  color: var(--paper);
  text-align: left;
}
.reveal-text strong { display: block; font-size: 14px; line-height: 1.1; }
.reveal-text span { font-family: 'Caveat', cursive; font-size: 15px; opacity: 0.95; }
.reveal-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 6px;
  background: radial-gradient(circle, var(--halo), var(--gold-light) 70%, var(--paper-deep));
  font-family: 'Sentient', serif;
  font-weight: 700;
  color: var(--ink);
}
.reveal-cover > span:first-child {
  font-size: 38px;
  color: var(--accent-deep);
}
.reveal-cover-label {
  font-size: 14px;
  max-width: 90%;
  padding: 0 6px;
}
.game-reset { margin-top: 14px; text-align: center; }

/* Checkpoint */
.checkpoint {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-lg);
  padding: 22px clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-ink);
  position: relative;
  overflow: hidden;
  transition: background 220ms ease;
}
.checkpoint.is-bloomed {
  background: radial-gradient(140% 100% at 50% 0%, var(--halo) 0%, var(--paper) 60%);
}
.checkpoint-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.checkpoint-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 2px 0 var(--ink);
  transition: transform 240ms ease;
}
.checkpoint.is-bloomed .checkpoint-badge {
  background: var(--gold);
  transform: rotate(-12deg) scale(1.08);
}
.checkpoint h4 {
  font-family: 'Sentient', serif;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0;
}
.checkpoint-hint {
  margin: 6px 0 14px;
  color: var(--ink-soft);
  font-style: italic;
}
.checkpoint-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.checkpoint-choice {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 2px 0 var(--ink);
  transition: transform 160ms ease, background 220ms ease, box-shadow 220ms ease;
}
.checkpoint-choice:hover { transform: translateY(-2px); }
.checkpoint-choice.is-open {
  background: var(--gold-light);
}
.checkpoint-choice.is-bloom {
  background: linear-gradient(135deg, var(--gold-light), #fff8e0);
  box-shadow: 0 0 0 3px var(--gold), 0 6px 0 var(--ink);
  transform: translateY(-2px);
  animation: checkpoint-bloom-pop 540ms ease;
}
@keyframes checkpoint-bloom-pop {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-4px) scale(1.04); }
  100% { transform: translateY(-2px) scale(1); }
}
.checkpoint-face {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-areas: "mark text" "mark feedback";
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
}
.checkpoint-mark {
  grid-area: mark;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  font-size: 14px;
}
.checkpoint-choice.is-bloom .checkpoint-mark {
  background: var(--gold);
  color: var(--ink);
}
.checkpoint-text {
  grid-area: text;
  font-weight: 700;
}
.checkpoint-feedback-inline {
  grid-area: feedback;
  font-size: 14px;
  color: var(--ink-soft);
}
.checkpoint-bloom {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--gold-light);
  border: 2px solid var(--ink);
  border-radius: var(--rad-md);
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.faith-arcade-cta {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px clamp(16px, 3vw, 22px);
  background: linear-gradient(135deg, var(--halo), var(--gold-light));
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-ink);
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.faith-arcade-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--ink);
}
.faith-arcade-cta .arcade-link-icon {
  font-size: 32px;
}
.faith-arcade-cta .arcade-link-copy {
  display: grid;
  gap: 2px;
}
.faith-arcade-cta strong { font-size: 18px; }
.faith-arcade-cta em { font-style: normal; color: var(--ink-soft); font-size: 14px; }
.faith-arcade-cta .arcade-link-tag {
  margin-left: auto;
  font-weight: 700;
  white-space: nowrap;
}

/* Co-play and offline bridge */
.grownup-bridge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.bridge-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bridge-card strong {
  font-family: 'Sentient', serif;
  font-weight: 700;
  font-size: 17px;
}
.bridge-card span {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.faith-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 6px;
}
.faith-nav .btn { flex: 1 1 200px; justify-content: center; text-align: center; }
.faith-tts { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.faith-tts .btn { font-size: 16px; padding: 10px 18px; }

/* === Image lightbox === */
.zoomable {
  cursor: zoom-in;
  transition: transform 160ms ease;
}
.zoomable:hover { transform: scale(1.03); }
.lightbox-scrim {
  position: fixed;
  inset: 0;
  background: rgba(26, 17, 64, 0.78);
  backdrop-filter: blur(8px);
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade 180ms ease;
  cursor: zoom-out;
}
.lightbox-frame {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--rad-lg);
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  cursor: default;
  animation: modalIn 280ms cubic-bezier(.3,1.3,.5,1);
}
.lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 30px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--rad-md);
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  display: grid;
  place-items: center;
  font-family: 'Sentient', serif;
}

/* === Tile-wide buttons (teaching, guide, hero) === */
.tile-button {
  appearance: none;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: transform 140ms ease, box-shadow 140ms ease;
  position: relative;
}
.tile-button:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.tile-button:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.tile-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.faith-hero-art.tile-button {
  padding: 0;
  overflow: hidden;
  border-radius: var(--rad-md);
}

.guide-bubble.tile-button {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  text-align: left;
}

.teaching-card.has-image.tile-button {
  padding: 16px;
}
.teaching-card.tile-button p { margin: 0 0 6px; }
.tile-cue {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--accent-deep);
  margin-top: 4px;
}
.tile-cue::before { content: "→ "; }

/* === Explainer modal === */
.explainer-frame {
  position: relative;
  max-width: min(640px, 96vw);
  max-height: 92vh;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--rad-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: modalIn 280ms cubic-bezier(.3,1.3,.5,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.explainer-frame.has-text {
  max-width: min(720px, 96vw);
}
.explainer-media {
  background: radial-gradient(circle at 40% 35%, var(--halo), var(--gold-light) 70%, var(--paper-deep));
  display: grid;
  place-items: center;
  padding: 14px;
  flex: 0 0 auto;
}
.explainer-media img {
  display: block;
  max-width: 100%;
  max-height: min(56vh, 520px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--rad-md);
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.explainer-body {
  padding: 18px clamp(18px, 4vw, 28px) 26px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.explainer-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--accent-deep);
  line-height: 1;
}
.explainer-title {
  font-family: 'Sentient', 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.05;
  margin: 6px 0 8px;
}
.explainer-sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.explainer-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}
.explainer-verse {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--accent-deep);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin-top: 8px;
}
.explainer-coplay {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--gold-light);
  border: 1.5px solid var(--ink);
  border-radius: var(--rad-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.explainer-coplay strong { font-family: 'Sentient', serif; font-size: 16px; }
.explainer-coplay span { font-size: 15px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .guide-bubble.tile-button { grid-template-columns: 72px 1fr; }
  .guide-bubble .tile-cue { grid-column: 2; }
}

/* ===== Playful rubric-based games ===== */
.games-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 42px);
  position: relative;
  z-index: 8;
}
.sky-scene.is-guadalupe-scene {
  display: block;
  min-height: 100dvh;
}
.games-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.games-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
}
.games-copy {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-ink);
  padding: clamp(22px, 4vw, 34px);
}
.game-picker {
  display: grid;
  gap: 10px;
}
.game-pick {
  appearance: none;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.game-pick:hover { transform: translateY(-1px); }
.game-pick.is-active {
  background: var(--gold-light);
  box-shadow: 0 3px 0 var(--accent-deep);
}
.game-pick-icon {
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  font-size: 27px;
}
.game-pick strong,
.game-card-title {
  display: block;
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-weight: 800;
}
.game-pick span {
  display: block;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.25;
}
.game-pick-tag {
  font-family: "Caveat", cursive;
  color: var(--accent-deep);
  font-size: 20px;
}
.games-stage {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(rgba(255, 248, 230, 0.2), rgba(255, 239, 196, 0.72)),
    url("../images/catholic-kids/games/chapel-playmat.webp");
  background-size: cover;
  background-position: center;
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-ink);
  padding: clamp(14px, 3vw, 24px);
  overflow: hidden;
}
.games-page.is-guadalupe-immersive {
  position: fixed;
  inset: 0;
  z-index: 50;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
}
.games-shell.is-guadalupe-shell {
  width: 100%;
  height: 100%;
  gap: 10px;
}
.games-stage.is-guadalupe-stage {
  min-height: 100dvh;
  height: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.arcade-link-section {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-ink);
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  gap: 16px;
}
.arcade-link-title {
  margin: 0;
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.98;
}
.arcade-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.arcade-link-card {
  min-height: 188px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 14px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(255, 233, 168, 0.88));
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  box-shadow: 0 3px 0 var(--ink);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.arcade-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--ink);
}
.arcade-link-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  font-size: 28px;
}
.arcade-link-copy {
  display: grid;
  gap: 5px;
}
.arcade-link-copy strong {
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: 20px;
  line-height: 1;
}
.arcade-link-copy em {
  color: var(--ink-soft);
  font-style: normal;
  font-size: 14px;
  line-height: 1.25;
}
.arcade-link-tag {
  justify-self: start;
  padding: 5px 9px;
  border: 2px solid rgba(42, 26, 14, 0.28);
  border-radius: 999px;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.42);
  font-family: "Caveat", cursive;
  font-size: 18px;
  line-height: 1;
}
.game-card {
  min-height: 512px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  background: rgba(255, 248, 230, 0.86);
  border: 2px solid rgba(42, 26, 14, 0.42);
  border-radius: var(--rad-md);
  padding: clamp(14px, 3vw, 22px);
  backdrop-filter: blur(2px);
}
.game-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.game-card-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.98;
}
.game-card-copy {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.38;
  max-width: 58ch;
}
.game-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.game-badge {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  padding: 7px 11px;
  font-weight: 900;
  font-size: 14px;
}
.game-area {
  display: grid;
  align-items: center;
  gap: 12px;
}
.monstrance-build-card {
  position: relative;
  overflow: hidden;
  --build-gold: #d69a20;
  --build-glow: rgba(255, 218, 96, 0.72);
  --build-sky: #d9f2ff;
}
.monstrance-build-board {
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.9fr);
  align-items: stretch;
}
.monstrance-build-playfield {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 420px;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  box-sizing: border-box;
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  background:
    linear-gradient(180deg, rgba(255, 252, 239, 0.94), rgba(255, 237, 186, 0.72)),
    linear-gradient(135deg, var(--build-sky), #fff8df 62%, #f8d579);
  box-shadow: inset 0 -14px 0 rgba(102, 72, 24, 0.1);
  touch-action: none;
}
.monstrance-build-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.36) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255,255,255,0.28) 0 1px, transparent 1px 100%);
  background-size: 46px 46px;
  opacity: 0.34;
  pointer-events: none;
}
.monstrance-build-slot {
  appearance: none;
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding: 6px;
  border: 2px dashed rgba(42, 26, 14, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(42, 26, 14, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
  pointer-events: none;
  transition: opacity 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.monstrance-build-slot.is-next {
  background: rgba(255, 246, 190, 0.72);
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 6px rgba(255, 218, 96, 0.22), 0 0 24px var(--build-glow);
  pointer-events: auto;
}
.monstrance-build-slot.is-filled {
  opacity: 0.06;
}
.monstrance-build-slot.is-filled span {
  opacity: 0;
}
.monstrance-build-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.monstrance-build-piece {
  position: absolute;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(84, 51, 9, 0.26));
  opacity: 0;
  animation: monstrance-piece-place 260ms ease-out forwards;
}
.monstrance-build-piece.is-lunette {
  filter: drop-shadow(0 8px 12px rgba(84, 51, 9, 0.22));
}
.monstrance-build-host {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 9.5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 20;
  background: radial-gradient(circle, #fffef8 0 43%, #fff4ad 48% 66%, rgba(255,255,255,0.02) 70%);
  box-shadow: 0 0 18px rgba(255, 244, 173, 0.92), 0 0 34px rgba(255, 220, 94, 0.58);
  animation: monstrance-host-glow 1.9s ease-in-out infinite;
}
.monstrance-build-sparkles {
  position: absolute;
  inset: 0;
  z-index: 26;
  pointer-events: none;
}
.monstrance-build-sparkles span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff7b8;
  box-shadow: 0 0 14px #ffe78b;
  animation: monstrance-sparkle 1.2s ease-in-out infinite;
}
.monstrance-build-sparkles span:nth-child(1) { left: 37%; top: 21%; animation-delay: 0ms; }
.monstrance-build-sparkles span:nth-child(2) { left: 64%; top: 24%; animation-delay: 180ms; }
.monstrance-build-sparkles span:nth-child(3) { left: 34%; top: 48%; animation-delay: 320ms; }
.monstrance-build-sparkles span:nth-child(4) { left: 66%; top: 52%; animation-delay: 460ms; }
.monstrance-build-sparkles span:nth-child(5) { left: 50%; top: 17%; animation-delay: 620ms; }
.monstrance-build-drag {
  position: absolute;
  width: clamp(88px, 24%, 154px);
  transform: translate(-50%, -50%) scale(1.04);
  z-index: 40;
  pointer-events: none;
  filter: drop-shadow(0 14px 16px rgba(42, 26, 14, 0.32));
}
.monstrance-build-drag.is-base { width: clamp(116px, 32%, 220px); }
.monstrance-build-drag.is-rays { width: clamp(130px, 34%, 230px); }
.monstrance-build-drag.is-lunette { width: clamp(82px, 20%, 140px); }
.monstrance-build-reset {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 35;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  font: inherit;
  font-weight: 900;
  padding: 8px 12px;
  cursor: pointer;
}
.monstrance-build-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}
.monstrance-build-shelf-piece {
  appearance: none;
  min-height: 148px;
  display: grid;
  grid-template-rows: 84px 1fr;
  gap: 7px;
  align-items: center;
  padding: 10px;
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  cursor: grab;
  font: inherit;
  text-align: center;
  touch-action: none;
  user-select: none;
  transition: transform 120ms ease, background 160ms ease, opacity 160ms ease;
}
.monstrance-build-shelf-piece:hover,
.monstrance-build-shelf-piece.is-selected {
  transform: translateY(-2px);
}
.monstrance-build-shelf-piece.is-next {
  background: var(--gold-light);
}
.monstrance-build-shelf-piece.is-bouncing {
  animation: monstrance-piece-bounce 420ms ease;
}
.monstrance-build-shelf-piece:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
}
.monstrance-build-shelf-piece strong,
.monstrance-build-shelf-piece span {
  display: block;
}
.monstrance-build-shelf-piece strong {
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: 18px;
  line-height: 1;
}
.monstrance-build-shelf-piece span span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.18;
}
.monstrance-build-thumb {
  height: 84px;
  display: grid;
  place-items: center;
}
.monstrance-build-thumb img {
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 5px 8px rgba(84, 51, 9, 0.18));
}
.monstrance-build-confirm {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(42, 26, 14, 0.32);
}
.monstrance-build-confirm-card {
  width: min(420px, 100%);
  display: grid;
  gap: 10px;
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  background: var(--paper);
  box-shadow: var(--shadow-ink);
  padding: 20px;
}
.monstrance-build-confirm-card h3 {
  margin: 0;
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1;
}
.monstrance-build-confirm-card p {
  margin: 0;
  color: var(--ink-soft);
}
@keyframes monstrance-piece-place {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes monstrance-piece-bounce {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-7px); }
  60% { transform: translateX(7px); }
}
@keyframes monstrance-host-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.92; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
@keyframes monstrance-sparkle {
  0%, 100% { transform: translateY(0) scale(0.7); opacity: 0; }
  45% { transform: translateY(-8px) scale(1.1); opacity: 1; }
}
.builder-board {
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(260px, 1.15fr);
  gap: 14px;
  align-items: stretch;
}
.builder-target {
  min-height: 330px;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
  background: rgba(255,255,255,0.48);
  border: 2px dashed var(--ink-faint);
  border-radius: var(--rad-md);
  padding: 10px;
}
.builder-slot {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 2px solid var(--paper-deep);
  border-radius: var(--rad-sm);
  background: rgba(255,255,255,0.46);
  padding: 8px;
}
.builder-slot.is-filled {
  border-color: var(--accent-deep);
  background: var(--halo);
}
.builder-shape {
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  background: var(--gold);
  font-size: 26px;
}
.builder-shape.cross { border-radius: 16px; }
.builder-shape.center { border-radius: 50%; background: var(--paper); }
.builder-shape.sunburst { border-radius: 50%; background: var(--gold-light); }
.builder-shape.stem { border-radius: 999px; width: 34px; justify-self: center; }
.builder-shape.base { border-radius: 16px 16px 28px 28px; width: 74px; }
.token-bank,
.memory-grid,
.light-grid {
  display: grid;
  gap: 10px;
}
.token-bank {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}
.game-token,
.memory-card,
.light-ray {
  appearance: none;
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  transition: transform 120ms ease, background 160ms ease;
}
.game-token {
  min-height: 88px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  text-align: left;
}
.game-token:hover,
.memory-card:hover,
.light-ray:hover { transform: translateY(-2px); }
.game-token:disabled,
.memory-card:disabled,
.light-ray:disabled {
  cursor: default;
  opacity: 0.68;
  transform: none;
}
.game-token.is-next { background: var(--gold-light); }
.game-token.is-wrong,
.memory-card.is-wrong,
.light-ray.is-wrong { animation: wiggle 0.4s ease; background: #ffe0da; }
.game-token-mini {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--gold);
  font-size: 22px;
}
.memory-grid {
  grid-template-columns: repeat(4, minmax(84px, 1fr));
}
.memory-card {
  min-height: 112px;
  padding: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}
.memory-card.is-open,
.memory-card.is-done {
  background: var(--halo);
}
.memory-card.is-done {
  border-color: var(--accent-deep);
}
.memory-symbol {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 6px;
}
.light-grid {
  grid-template-columns: repeat(3, minmax(92px, 1fr));
}
.light-ray {
  min-height: 118px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  position: relative;
}
.light-ray.is-lit {
  background: radial-gradient(circle, #fff7c8, var(--gold-light));
  box-shadow: 0 3px 0 var(--ink), 0 0 26px rgba(255, 216, 83, 0.72);
}
.light-ray-number {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}
.guadalupe-mystery-shell {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #1b1711;
  box-shadow: none;
  isolation: isolate;
}
.guadalupe-hud {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(14px, 2.4vw, 28px);
  color: #fff9e8;
  background:
    linear-gradient(90deg, rgba(17, 14, 10, 0.84), rgba(40, 26, 15, 0.62)),
    var(--guadalupe-bg);
  background-size: cover;
  background-position: center 36%;
  border-bottom: 2px solid rgba(255, 248, 230, 0.28);
  position: relative;
  z-index: 5;
}
.guadalupe-kicker,
.guadalupe-hud h2 {
  margin: 0;
}
.guadalupe-kicker {
  color: #ffe69a;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 12px;
}
.guadalupe-hud h2 {
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 0.95;
}
.guadalupe-count {
  min-width: 84px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 9px 12px;
  border: 2px solid rgba(255, 248, 230, 0.76);
  border-radius: var(--rad-sm);
  background: rgba(17, 14, 10, 0.52);
  color: #fff9e8;
}
.guadalupe-count strong {
  font-size: 32px;
  line-height: 1;
}
.guadalupe-count span {
  color: #ffe69a;
  font-weight: 900;
}
.guadalupe-world {
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #191711;
}
.guadalupe-backdrop,
.guadalupe-atmosphere {
  position: absolute;
  inset: 0;
}
.guadalupe-backdrop {
  background-image: var(--guadalupe-bg);
  background-size: cover;
  background-position: var(--guadalupe-bg-position, center);
  transform: scale(var(--guadalupe-bg-scale, 1));
  transition: background-position 620ms ease, transform 620ms ease;
}
.guadalupe-atmosphere {
  background:
    linear-gradient(180deg, rgba(17, 14, 10, 0.1) 0%, transparent 28%, rgba(17, 14, 10, 0.42) 100%),
    radial-gradient(circle at 50% 20%, rgba(255, 238, 164, 0.22), transparent 38%),
    radial-gradient(ellipse at 50% 100%, rgba(20, 15, 8, 0.48), transparent 55%);
  pointer-events: none;
  z-index: 2;
}
.guadalupe-actor {
  position: absolute;
  left: var(--actor-x);
  top: var(--actor-y);
  width: clamp(86px, 9vw, 148px);
  aspect-ratio: 1;
  transform: translate(-50%, -100%) scale(var(--actor-scale));
  transform-origin: 50% 100%;
  will-change: transform;
  background-repeat: no-repeat;
  background-size: 400% 400%;
  filter: drop-shadow(0 15px 12px rgba(21, 13, 7, 0.42));
  opacity: var(--actor-opacity, 1);
  pointer-events: none;
  transition: left var(--actor-move-ms, 520ms) linear, top var(--actor-move-ms, 520ms) linear, transform var(--actor-move-ms, 520ms) linear, opacity 900ms ease, filter 360ms ease;
  z-index: 4;
}
.guadalupe-actor::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 4%;
  height: 9%;
  border-radius: 50%;
  background: rgba(18, 12, 7, 0.26);
  filter: blur(2px);
  transform: scaleX(1);
  transform-origin: 50% 50%;
}
.guadalupe-actor.is-mary {
  width: clamp(112px, 12vw, 194px);
  filter: drop-shadow(0 0 18px rgba(255, 226, 126, 0.52)) drop-shadow(0 17px 14px rgba(21, 13, 7, 0.38));
}
.guadalupe-actor.is-priest {
  width: clamp(84px, 8.6vw, 136px);
}
.guadalupe-actor.is-walking {
  animation: none;
}
.guadalupe-actor.is-walking::after {
  animation: guadalupe-step-shadow 360ms ease-in-out infinite;
}
.guadalupe-actor.is-controlled-walking {
  transition: left 0s linear, top 0s linear, transform 0s linear, opacity 900ms ease, filter 220ms ease;
}
.guadalupe-actor.is-apparition {
  animation: guadalupe-apparition-float 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(255, 231, 132, 0.62)) drop-shadow(0 17px 14px rgba(21, 13, 7, 0.32));
}
.guadalupe-actor.is-apparition.is-veiled {
  filter: blur(2px) drop-shadow(0 0 18px rgba(255, 231, 132, 0.48));
}
.guadalupe-game-hud {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  top: clamp(10px, 2vw, 20px);
  width: min(390px, calc(100% - 24px));
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 248, 230, 0.56);
  border-radius: var(--rad-sm);
  background: rgba(17, 14, 10, 0.54);
  color: #fff9e8;
  z-index: 8;
  backdrop-filter: blur(8px);
}
.guadalupe-game-hud span,
.guadalupe-gamebar-main > span {
  color: #ffe69a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.guadalupe-game-hud strong,
.guadalupe-gamebar-main > strong {
  line-height: 1.2;
}
.guadalupe-quest-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.guadalupe-quest-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 248, 230, 0.38);
  border-radius: 999px;
  background: rgba(255, 248, 230, 0.14);
  color: rgba(255, 249, 232, 0.82);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.guadalupe-quest-step.is-next {
  border-color: rgba(255, 230, 154, 0.82);
  background: rgba(255, 230, 154, 0.24);
  color: #fff9e8;
}
.guadalupe-quest-step.is-complete {
  background: #ffe69a;
  color: var(--ink);
}
.guadalupe-trail-meter {
  position: absolute;
  top: clamp(10px, 2vw, 20px);
  right: clamp(12px, 2vw, 24px);
  width: min(250px, calc(100% - 48px));
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 248, 230, 0.48);
  border-radius: var(--rad-sm);
  background: rgba(17, 14, 10, 0.52);
  color: #fff9e8;
  z-index: 8;
  backdrop-filter: blur(8px);
}
.guadalupe-trail-meter span {
  color: #ffe69a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.guadalupe-trail-meter strong {
  font-size: 15px;
  line-height: 1.05;
}
.guadalupe-trail-meter i {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 230, 0.48);
  border-radius: 999px;
  background: rgba(255, 248, 230, 0.22);
}
.guadalupe-trail-meter b {
  display: block;
  height: 100%;
  min-width: 6px;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb84c, #fff0a3);
  transition: width 180ms ease;
}
.guadalupe-search-glow {
  position: absolute;
  left: var(--glow-x);
  top: var(--glow-y);
  width: clamp(80px, 10vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 231, 132, 0.34), rgba(255, 231, 132, 0.12) 42%, transparent 68%);
  transform: translate(-50%, -50%);
  opacity: var(--glow-opacity, 0.56);
  pointer-events: none;
  z-index: 3;
  animation: guadalupe-search-pulse 1.8s ease-in-out infinite;
}
.guadalupe-search-glow.is-fatima {
  width: clamp(118px, 16vw, 180px);
  background: radial-gradient(circle, rgba(255, 252, 176, 0.72), rgba(88, 132, 216, 0.46) 42%, rgba(38, 58, 113, 0.34) 64%, transparent 82%);
  filter: drop-shadow(0 0 18px rgba(255, 248, 198, 0.84));
}
.guadalupe-sign-gesture {
  appearance: none;
  position: absolute;
  left: var(--sign-x);
  top: var(--sign-y);
  min-width: 92px;
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 248, 230, 0.86);
  border-radius: var(--rad-sm);
  background: rgba(42, 26, 14, 0.64);
  color: #fff9e8;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transform: translate(-50%, -50%);
  z-index: 116;
  touch-action: none;
  box-shadow: 0 10px 24px rgba(17, 14, 10, 0.34), 0 0 0 5px rgba(255, 230, 154, 0.16);
  user-select: none;
}
.guadalupe-sign-gesture::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 230, 154, 0.48);
  border-radius: inherit;
  animation: guadalupe-hotspot-ready 1.3s ease-in-out infinite;
}
.guadalupe-sign-gesture strong {
  position: relative;
  z-index: 2;
  font-size: 17px;
  line-height: 1;
}
.guadalupe-sign-gesture em {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}
.guadalupe-sign-gesture.is-ground-taps {
  border-radius: 999px;
}
.guadalupe-sign-water {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: var(--water-width, 24px);
  height: var(--water-height, 10px);
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(180deg, rgba(145, 229, 255, 0.78), rgba(42, 142, 205, 0.88));
  filter: drop-shadow(0 0 12px rgba(164, 229, 255, 0.72));
  opacity: var(--sign-opacity, 0.28);
  transform: translateX(-50%);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
  z-index: 1;
}
.guadalupe-sign-gesture.is-sky-drag {
  width: min(176px, 42vw);
  min-height: 78px;
  border-radius: 999px;
  background: rgba(28, 53, 111, 0.58);
}
.guadalupe-sign-sun {
  position: relative;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff9bd 0 28%, #ffd64f 29% 58%, rgba(255, 172, 54, 0.96) 59% 100%);
  box-shadow: 0 0 24px rgba(255, 244, 169, 0.88), 0 0 42px rgba(255, 180, 52, 0.54);
  transform: rotate(var(--sun-rotation, 0deg));
  transition: transform 120ms ease;
  z-index: 2;
}
.guadalupe-sign-sun::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, rgba(255, 244, 169, 0.92), transparent 12%, rgba(255, 206, 76, 0.82) 24%, transparent 36%, rgba(255, 244, 169, 0.82) 48%, transparent 60%, rgba(255, 206, 76, 0.76) 72%, transparent 84%, rgba(255, 244, 169, 0.84));
  z-index: -1;
}
.guadalupe-sign-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(90px, 12vh, 124px);
  width: min(420px, calc(100% - 24px));
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 248, 230, 0.86);
  border-radius: var(--rad-sm);
  background: rgba(17, 14, 10, 0.68);
  color: #fff9e8;
  text-align: center;
  transform: translateX(-50%);
  z-index: 126;
  box-shadow: 0 12px 28px rgba(17, 14, 10, 0.34);
}
.guadalupe-sign-caption span {
  color: #ffe69a;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}
.guadalupe-sign-caption strong {
  font-size: 15px;
  line-height: 1.2;
}
.guadalupe-sign-caption.is-modal {
  position: static;
  width: auto;
  padding: 9px 10px;
  background: rgba(138, 47, 31, 0.1);
  border-color: rgba(138, 47, 31, 0.28);
  color: var(--ink);
  transform: none;
  box-shadow: none;
}
.guadalupe-room-hotspot {
  appearance: none;
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  min-width: 72px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 7px 12px;
  border: 2px solid rgba(255, 248, 230, 0.82);
  border-radius: 999px;
  background: rgba(42, 26, 14, 0.58);
  color: #fff9e8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  z-index: 110;
  box-shadow: 0 8px 18px rgba(17, 14, 10, 0.26);
  backdrop-filter: blur(6px);
}
.guadalupe-room-hotspot small {
  position: absolute;
  left: -9px;
  top: -9px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(42, 26, 14, 0.8);
  border-radius: 50%;
  background: #fff8e6;
  color: var(--ink);
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
}
.guadalupe-room-hotspot::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 230, 154, 0.44);
  border-radius: inherit;
  opacity: 0.72;
}
.guadalupe-room-hotspot:hover,
.guadalupe-room-hotspot.is-active {
  background: #ffe69a;
  color: var(--ink);
  border-color: var(--ink);
}
.guadalupe-room-hotspot.is-next {
  box-shadow: 0 8px 18px rgba(17, 14, 10, 0.26), 0 0 0 5px rgba(255, 230, 154, 0.22);
}
.guadalupe-room-hotspot.is-next::before {
  animation: guadalupe-hotspot-ready 1.3s ease-in-out infinite;
}
.guadalupe-room-hotspot:disabled,
.guadalupe-tilma-find:disabled {
  cursor: wait;
  opacity: 0.72;
}
.guadalupe-room-hotspot.is-locked:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.guadalupe-room-hotspot.is-locked {
  border-style: dashed;
  background: rgba(42, 26, 14, 0.38);
}
.guadalupe-room-hotspot.is-locked small {
  background: rgba(255, 248, 230, 0.78);
}
.guadalupe-room-hotspot.is-locked::before {
  opacity: 0.32;
}
.guadalupe-room-hotspot.is-complete {
  border-color: #ffe69a;
  background: rgba(255, 230, 154, 0.84);
  color: var(--ink);
}
.guadalupe-room-hotspot.is-complete::after {
  content: "OK";
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border: 2px solid rgba(42, 26, 14, 0.8);
  border-radius: 999px;
  background: #fff8e6;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}
.guadalupe-room-hotspot.is-active::before {
  box-shadow: 0 0 0 5px rgba(255, 230, 154, 0.24);
}
.guadalupe-tilma-find {
  appearance: none;
  position: absolute;
  left: var(--tilma-x);
  top: var(--tilma-y);
  display: grid;
  place-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #fff9e8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  z-index: 112;
  filter: drop-shadow(0 12px 16px rgba(17, 14, 10, 0.45));
}
.guadalupe-tilma-find > span:last-child {
  padding: 4px 8px;
  border: 2px solid rgba(255, 248, 230, 0.82);
  border-radius: 999px;
  background: rgba(42, 26, 14, 0.58);
}
.guadalupe-tilma-find .guadalupe-tilma-cloak {
  animation: guadalupe-tilma-float 2.6s ease-in-out infinite;
}
.guadalupe-tilma-find.is-drag-gesture {
  touch-action: none;
  user-select: none;
}
.guadalupe-tilma-find.is-drag-gesture::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 12px);
  width: 3px;
  height: var(--tilma-drag-height, 24px);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff9e8, #ffe69a);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(255, 230, 154, 0.64);
}
.guadalupe-dpad {
  position: absolute;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 22px);
  display: grid;
  grid-template-columns: repeat(3, 46px);
  grid-template-areas:
    ". up ."
    "left down right";
  gap: 7px;
  z-index: 100;
  touch-action: none;
}
.guadalupe-dpad button {
  appearance: none;
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 248, 230, 0.78);
  border-radius: var(--rad-sm);
  background: rgba(42, 26, 14, 0.62);
  color: #fff9e8;
  box-shadow: 0 10px 22px rgba(17, 14, 10, 0.3);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(8px);
  user-select: none;
}
.guadalupe-dpad button:hover,
.guadalupe-dpad button:focus-visible,
.guadalupe-dpad button:active {
  background: #ffe69a;
  border-color: var(--ink);
  color: var(--ink);
  outline: none;
}
.guadalupe-dpad button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.guadalupe-dpad .is-up {
  grid-area: up;
}
.guadalupe-dpad .is-left {
  grid-area: left;
}
.guadalupe-dpad .is-down {
  grid-area: down;
}
.guadalupe-dpad .is-right {
  grid-area: right;
}
.guadalupe-tilma-cloak {
  width: clamp(74px, 8vw, 116px);
  aspect-ratio: 0.72;
  display: block;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(129, 81, 32, 0.74);
  border-radius: 36% 36% 12% 12%;
  background:
    linear-gradient(100deg, rgba(105, 62, 21, 0.28), transparent 20%, rgba(255, 255, 255, 0.18) 42%, transparent 62%, rgba(85, 47, 18, 0.22)),
    linear-gradient(180deg, #f8e6b0 0%, #d0a654 58%, #9e6529 100%);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  transform: perspective(460px) rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
  box-shadow: inset 0 0 18px rgba(255, 250, 210, 0.42), 0 14px 22px rgba(17, 14, 10, 0.36);
}
.guadalupe-tilma-cloak.is-large {
  width: clamp(178px, 28vw, 290px);
  animation: guadalupe-tilma-turn 4.4s ease-in-out infinite;
}
.guadalupe-tilma-fold {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: linear-gradient(90deg, rgba(70, 39, 14, 0.32), transparent);
  mix-blend-mode: multiply;
  opacity: 0.76;
}
.guadalupe-tilma-fold.is-left {
  left: 14%;
}
.guadalupe-tilma-fold.is-right {
  right: 14%;
  transform: scaleX(-1);
}
.guadalupe-tilma-image {
  position: absolute;
  left: 21%;
  right: 21%;
  top: 8%;
  bottom: 9%;
  display: block;
  overflow: hidden;
  border-radius: 50% 50% 46% 46%;
  background:
    url("../images/catholic-kids/games/guadalupe/guadalupe-tilma-image-v2.png") center / contain no-repeat,
    radial-gradient(ellipse at 50% 52%, rgba(255, 239, 139, 0.48), transparent 62%);
  box-shadow: 0 0 0 2px rgba(88, 51, 20, 0.24), 0 0 24px rgba(255, 221, 110, 0.58);
  transform: translateZ(18px);
}
.guadalupe-tilma-cloak.is-revealing .guadalupe-tilma-image {
  clip-path: inset(var(--tilma-reveal-clip, 72%) 0 0 0);
  opacity: var(--tilma-reveal-opacity, 0.16);
  transition: clip-path 160ms ease, opacity 160ms ease;
}
.guadalupe-tilma-cloak.is-revealing .guadalupe-tilma-fold.is-left {
  transform: translateX(var(--tilma-fold-shift, 0px));
}
.guadalupe-tilma-cloak.is-revealing .guadalupe-tilma-fold.is-right {
  transform: scaleX(-1) translateX(var(--tilma-fold-shift, 0px));
}
.guadalupe-tilma-image > span {
  display: none;
}
.guadalupe-tilma-mantle,
.guadalupe-tilma-face,
.guadalupe-tilma-hair,
.guadalupe-tilma-halo,
.guadalupe-tilma-robe,
.guadalupe-tilma-hands,
.guadalupe-tilma-sash,
.guadalupe-tilma-moon,
.guadalupe-tilma-angel,
.guadalupe-tilma-rays {
  position: absolute;
  display: block;
}
.guadalupe-tilma-halo {
  left: 35%;
  top: 4%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 146, 0.92) 0 42%, rgba(255, 210, 78, 0.34) 43% 70%, transparent 71%);
  z-index: 4;
}
.guadalupe-tilma-mantle {
  left: 18%;
  right: 18%;
  top: 15%;
  bottom: 16%;
  border-radius: 50% 50% 38% 38%;
  background:
    radial-gradient(circle at 28% 25%, #f4e996 0 2.4%, transparent 2.8%),
    radial-gradient(circle at 67% 29%, #f4e996 0 2.1%, transparent 2.5%),
    radial-gradient(circle at 22% 42%, #f4e996 0 2.1%, transparent 2.5%),
    radial-gradient(circle at 74% 48%, #f4e996 0 2.2%, transparent 2.6%),
    radial-gradient(circle at 35% 62%, #f4e996 0 2.1%, transparent 2.5%),
    radial-gradient(circle at 64% 70%, #f4e996 0 2.2%, transparent 2.6%),
    radial-gradient(ellipse at 50% 24%, transparent 0 12%, #265f8f 13% 33%, transparent 34%),
    linear-gradient(180deg, #1c628f 0%, #10446f 68%, #0c2e52 100%);
  border: 1px solid rgba(9, 47, 76, 0.48);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.22);
  z-index: 3;
}
.guadalupe-tilma-robe {
  left: 34%;
  right: 34%;
  top: 35%;
  bottom: 16%;
  border-radius: 42% 42% 30% 30%;
  background:
    linear-gradient(90deg, rgba(118, 30, 40, 0.22), transparent 30% 70%, rgba(118, 30, 40, 0.22)),
    linear-gradient(180deg, #ce6c68 0%, #b9344c 78%, #8f263c 100%);
  z-index: 5;
}
.guadalupe-tilma-face {
  left: 38%;
  top: 14%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #edb374;
  box-shadow: 0 7px 0 1px #2c241d;
  z-index: 7;
}
.guadalupe-tilma-hair {
  left: 34%;
  top: 12%;
  width: 32%;
  aspect-ratio: 0.76;
  border-radius: 48% 48% 40% 40%;
  background:
    radial-gradient(circle at 50% 20%, transparent 0 23%, #241a16 24% 43%, transparent 44%),
    linear-gradient(180deg, #2c211c, #16100e);
  z-index: 6;
}
.guadalupe-tilma-hands {
  left: 39%;
  top: 42%;
  width: 22%;
  height: 16%;
  z-index: 8;
}
.guadalupe-tilma-hands::before,
.guadalupe-tilma-hands::after {
  content: "";
  position: absolute;
  top: 8%;
  width: 42%;
  height: 78%;
  border-radius: 50% 50% 40% 40%;
  background: #edb374;
  border: 1px solid rgba(88, 51, 20, 0.25);
}
.guadalupe-tilma-hands::before {
  left: 6%;
  transform: rotate(28deg);
}
.guadalupe-tilma-hands::after {
  right: 6%;
  transform: rotate(-28deg);
}
.guadalupe-tilma-sash {
  left: 38%;
  top: 55%;
  width: 25%;
  height: 5%;
  border-radius: 999px;
  background: #202016;
  transform: rotate(-8deg);
  z-index: 9;
}
.guadalupe-tilma-moon {
  left: 30%;
  bottom: 6%;
  width: 40%;
  height: 12%;
  border-radius: 0 0 999px 999px;
  background: #d5c8b8;
  box-shadow: inset 0 -4px 0 rgba(90, 82, 73, 0.25);
  z-index: 8;
}
.guadalupe-tilma-moon::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 32%;
  height: 90%;
  border-radius: 0 0 999px 999px;
  background: #f8e9b1;
}
.guadalupe-tilma-angel {
  left: 35%;
  bottom: 0%;
  width: 30%;
  height: 13%;
  border-radius: 50% 50% 20% 20%;
  background:
    radial-gradient(circle at 50% 30%, #e7a36a 0 16%, transparent 17%),
    linear-gradient(115deg, transparent 0 30%, #c94d48 31% 51%, transparent 52%),
    linear-gradient(65deg, transparent 0 30%, #2c6e94 31% 51%, transparent 52%);
  z-index: 9;
}
.guadalupe-tilma-rays {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 52%, transparent 0 40%, rgba(92, 57, 18, 0.1) 41% 100%);
  mix-blend-mode: multiply;
  opacity: 0.38;
  pointer-events: none;
  z-index: 10;
}
.guadalupe-tilma-modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(17, 14, 10, 0.68);
  backdrop-filter: blur(5px);
  z-index: 200;
}
.guadalupe-tilma-modal-card {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(260px, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  position: relative;
  padding: clamp(18px, 3vw, 30px);
  border: 2px solid rgba(255, 248, 230, 0.82);
  border-radius: var(--rad-sm);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 230, 154, 0.24), transparent 34%),
    linear-gradient(135deg, #fff8e6, #f2d99b);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(17, 14, 10, 0.42);
}
.guadalupe-tilma-modal-art {
  min-height: 300px;
  display: grid;
  place-items: center;
  perspective: 760px;
}
.guadalupe-tilma-modal-copy {
  display: grid;
  gap: 10px;
}
.guadalupe-tilma-modal-copy span {
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.guadalupe-tilma-modal-copy h3 {
  margin: 0;
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
}
.guadalupe-tilma-modal-copy p {
  margin: 0;
  font-weight: 760;
  line-height: 1.35;
}
.guadalupe-tilma-modal-copy .guadalupe-controls {
  justify-content: flex-start;
  margin-top: 4px;
}
.guadalupe-tilma-close {
  appearance: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.guadalupe-place-card {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  max-width: min(360px, calc(100% - 24px));
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 248, 230, 0.78);
  border-radius: var(--rad-sm);
  background: rgba(17, 14, 10, 0.58);
  color: #fff9e8;
  z-index: 6;
  backdrop-filter: blur(8px);
}
.guadalupe-place-card span {
  color: #ffe69a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.guadalupe-place-card strong {
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 0.95;
}
.guadalupe-scene-dots {
  position: absolute;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 2px solid rgba(255, 248, 230, 0.54);
  border-radius: 999px;
  background: rgba(17, 14, 10, 0.5);
  z-index: 7;
  backdrop-filter: blur(8px);
}
.guadalupe-scene-dots button {
  appearance: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 248, 230, 0.74);
  border-radius: 50%;
  background: rgba(255, 248, 230, 0.82);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.guadalupe-scene-dots button.is-active {
  background: #ffe69a;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 248, 230, 0.3);
}
.guadalupe-dialogue {
  display: grid;
  grid-template-columns: clamp(50px, 5vw, 72px) minmax(0, 1fr) auto;
  gap: clamp(10px, 1.6vw, 16px);
  align-items: center;
  padding: clamp(10px, 1.6vw, 14px) clamp(14px, 2.4vw, 24px);
  border-top: 2px solid rgba(42, 26, 14, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 248, 230, 0.97), rgba(255, 238, 197, 0.94));
  color: var(--ink);
  position: relative;
  z-index: 8;
}
.guadalupe-dialogue.is-popup {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  max-width: min(900px, calc(100% - 24px));
  border: 2px solid rgba(42, 26, 14, 0.34);
  border-radius: var(--rad-sm);
  box-shadow: 0 18px 42px rgba(17, 14, 10, 0.28);
  z-index: 120;
}
.guadalupe-popup-close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.guadalupe-popup-close::before {
  content: "X";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
}
.guadalupe-dialogue-portrait {
  width: clamp(50px, 5vw, 72px);
  aspect-ratio: 288 / 768;
  justify-self: center;
  background-repeat: no-repeat;
  background-size: 800% 100%;
  filter: drop-shadow(0 7px 8px rgba(42, 26, 14, 0.26));
}
.guadalupe-dialogue-copy {
  display: grid;
  gap: 5px;
}
.guadalupe-dialogue-copy span {
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.guadalupe-dialogue-copy p {
  margin: 0;
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.02;
}
.guadalupe-dialogue-copy em {
  max-width: 72ch;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 760;
  line-height: 1.28;
}
.guadalupe-dialogue-find {
  max-width: 70ch;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  margin-top: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(138, 47, 31, 0.24);
  border-radius: var(--rad-sm);
  background: rgba(255, 255, 255, 0.42);
}
.guadalupe-dialogue-find span {
  grid-row: span 2;
  align-self: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(138, 47, 31, 0.1);
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.guadalupe-dialogue-find strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.1;
}
.guadalupe-dialogue-find p {
  margin: 0;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
}
.guadalupe-dialogue-find.is-tilma {
  margin-top: 2px;
  background: rgba(255, 248, 230, 0.62);
}
.guadalupe-voice {
  width: min(360px, 100%);
  height: 34px;
  margin-top: 2px;
  display: block;
  accent-color: #8a2f1f;
}
.guadalupe-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.guadalupe-controls .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.guadalupe-controls .btn-primary {
  background: #ffd96f;
  color: var(--ink);
}
.guadalupe-controls .btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}
.guadalupe-gamebar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(14px, 2.4vw, 24px);
  border-top: 2px solid rgba(42, 26, 14, 0.2);
  background: linear-gradient(90deg, rgba(255, 248, 230, 0.97), rgba(255, 238, 197, 0.94));
  color: var(--ink);
  position: relative;
  z-index: 8;
}
.guadalupe-gamebar > div {
  display: grid;
  gap: 3px;
}
.guadalupe-gamebar-main {
  min-width: 0;
}
.guadalupe-token-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}
.guadalupe-token {
  width: 42px;
  min-height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(42, 26, 14, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(42, 26, 14, 0.66);
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 0;
}
.guadalupe-token.is-active {
  border-color: rgba(138, 47, 31, 0.72);
  background: rgba(255, 217, 111, 0.5);
}
.guadalupe-token.is-found {
  border-color: rgba(42, 26, 14, 0.52);
  background: #ffd96f;
  color: var(--ink);
}
.guadalupe-token.is-found.is-active {
  animation: guadalupe-token-pop 760ms ease-out 2;
  box-shadow: 0 0 0 3px rgba(138, 47, 31, 0.16);
}
.guadalupe-gamebar .btn-primary:not(:disabled) {
  animation: guadalupe-next-ready 1.45s ease-in-out infinite;
}
@keyframes guadalupe-soft-step {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  25% { translate: 0 -1px; rotate: -0.35deg; }
  50% { translate: 0 0; rotate: 0deg; }
  75% { translate: 0 -1px; rotate: 0.35deg; }
}
@keyframes guadalupe-step-shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.82; }
  50% { transform: scaleX(0.9); opacity: 0.58; }
}
@keyframes guadalupe-apparition-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -13px; }
}
@keyframes guadalupe-search-pulse {
  0%, 100% { scale: 0.92; }
  50% { scale: 1.08; }
}
@keyframes guadalupe-hotspot-ready {
  0%, 100% { opacity: 0.46; box-shadow: 0 0 0 0 rgba(255, 230, 154, 0.36); }
  50% { opacity: 0.92; box-shadow: 0 0 0 7px rgba(255, 230, 154, 0.16); }
}
@keyframes guadalupe-token-pop {
  0% { scale: 0.92; }
  44% { scale: 1.12; }
  100% { scale: 1; }
}
@keyframes guadalupe-next-ready {
  0%, 100% { box-shadow: 0 3px 0 var(--ink), 0 0 0 0 rgba(138, 47, 31, 0.16); }
  50% { box-shadow: 0 3px 0 var(--ink), 0 0 0 5px rgba(138, 47, 31, 0.12); }
}
@keyframes guadalupe-tilma-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
@keyframes guadalupe-tilma-turn {
  0%, 100% { transform: perspective(520px) rotateY(-16deg) rotateX(5deg); }
  50% { transform: perspective(520px) rotateY(14deg) rotateX(2deg); }
}
.word-family-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.76fr) minmax(330px, 1.24fr);
  gap: 14px;
  align-items: stretch;
}
.word-token-bank,
.word-family-zones {
  display: grid;
  gap: 10px;
}
.word-token-bank {
  align-content: start;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
  min-height: 350px;
  padding: 10px;
  border: 2px dashed rgba(42, 26, 14, 0.28);
  border-radius: var(--rad-md);
  background: rgba(255, 255, 255, 0.5);
}
.word-token {
  appearance: none;
  min-height: 118px;
  display: grid;
  gap: 6px;
  place-items: center;
  padding: 9px;
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  cursor: grab;
  font: inherit;
  font-weight: 900;
  text-align: center;
  transition: transform 120ms ease, background 160ms ease;
}
.word-token:hover,
.word-token.is-selected {
  transform: translateY(-2px);
  background: var(--gold-light);
}
.word-token:active { cursor: grabbing; }
.word-token-art {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(42, 26, 14, 0.35);
  border-radius: 50%;
  background: rgba(255, 248, 230, 0.88);
  overflow: hidden;
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: 25px;
}
.word-sprite {
  width: 100%;
  height: 100%;
  display: inline-block;
  border-radius: inherit;
  background-image: url("../images/catholic-kids/games/generated/word-family-icons-v1.webp");
  background-repeat: no-repeat;
  background-size: 400% 300%;
}
.word-sprite.is-small {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(42, 26, 14, 0.18);
}
.word-token-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.word-token-label {
  display: block;
  font-size: 16px;
  line-height: 1.05;
}
.word-bank-empty {
  grid-column: 1 / -1;
  min-height: 140px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-weight: 900;
}
.word-family-zones {
  grid-template-rows: repeat(3, minmax(108px, 1fr));
}
.word-family-zone {
  appearance: none;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 112px;
  padding: 12px;
  border: 2.5px solid var(--ink);
  border-radius: var(--rad-md);
  background: rgba(255, 248, 230, 0.9);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.word-family-zone.is-ready {
  background: var(--gold-light);
}
.word-family-zone.is-wrong {
  animation: wiggle 0.4s ease;
  background: #ffe0da;
}
.word-family-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
}
.word-family-head strong,
.word-family-head em {
  display: block;
}
.word-family-head strong {
  font-family: "Sentient", "Newsreader", Georgia, serif;
  font-size: 22px;
  line-height: 1;
}
.word-family-head em {
  color: var(--ink-soft);
  font-style: normal;
  font-size: 14px;
  line-height: 1.25;
}
.word-family-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  font-size: 23px;
}
.word-family-sorted {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.word-family-pill,
.word-family-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 2px solid rgba(42, 26, 14, 0.22);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-weight: 900;
  font-size: 14px;
}
.word-family-placeholder {
  color: var(--ink-soft);
  font-weight: 800;
}
.word-family-pill img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.shepherd-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.42fr);
  gap: 14px;
  align-items: center;
}
.shepherd-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  border: 2px solid rgba(42, 26, 14, 0.28);
  border-radius: var(--rad-md);
  background:
    linear-gradient(rgba(255, 248, 230, 0.08), rgba(255, 239, 196, 0.22)),
    url("../images/catholic-kids/games/3d/sheep-pasture-map-3d.webp");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 999px rgba(255, 248, 230, 0.08);
}
.pasture-cell {
  aspect-ratio: 1;
  min-height: 58px;
  border: 2px dashed rgba(42, 26, 14, 0.14);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 230, 0.16);
  color: var(--ink);
  font: inherit;
  position: relative;
}
.pasture-cell.is-step {
  border-style: solid;
  border-color: var(--accent-deep);
  background: rgba(255, 233, 168, 0.62);
  cursor: pointer;
}
.pasture-cell.is-step:hover { transform: translateY(-1px); }
.jesus-player,
.sheep-token,
.gate-token {
  width: min(48px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 7px 6px rgba(42, 26, 14, 0.25));
}
.jesus-player {
  width: min(74px, 108%);
  background-image: url("../images/catholic-kids/games/3d/jesus-shepherd-sheet-3d.webp");
  background-size: 400% 200%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}
.jesus-player.dir-left { background-position: 66.666% 0%; }
.jesus-player.dir-right { background-position: 0% 100%; }
.jesus-player.dir-up { background-position: 66.666% 100%; }
.jesus-player.dir-down { background-position: 0% 0%; }
.sheep-token {
  width: min(60px, 92%);
  background-image: url("../images/catholic-kids/games/3d/sheep-sheet-3d.webp");
  background-size: 400% 300%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}
.sheep-token.pose-1 { background-position: 0% 0%; }
.sheep-token.pose-2 { background-position: 33.333% 0%; }
.sheep-token.pose-3 { background-position: 66.666% 0%; }
.sheep-token.pose-4 { background-position: 100% 0%; }
.gate-token {
  width: min(48px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-deep);
  font-size: 23px;
  box-shadow: 0 2px 0 var(--ink);
}
.shepherd-controls {
  display: grid;
  gap: 10px;
  justify-items: center;
  background: rgba(255, 255, 255, 0.54);
  border: 1.5px solid var(--paper-deep);
  border-radius: var(--rad-md);
  padding: 12px;
}
.move-pad {
  display: grid;
  grid-template-columns: repeat(3, 54px);
  grid-template-rows: repeat(3, 54px);
  gap: 7px;
}
.move-btn {
  appearance: none;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  font-size: 24px;
}
.move-btn:hover { transform: translateY(-1px); }
.move-btn:disabled {
  opacity: 0.36;
  cursor: not-allowed;
  transform: none;
}
.bread-catch-area {
  position: relative;
  min-height: 360px;
  border: 2px solid rgba(42, 26, 14, 0.28);
  border-radius: var(--rad-md);
  background:
    linear-gradient(rgba(255, 248, 230, 0.02), rgba(255, 239, 196, 0.18)),
    url("../images/catholic-kids/games/3d/galilee-bread-game-bg-3d.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.falling-gift {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 54px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background-image: url("../images/catholic-kids/games/3d/bread-fish-basket-sheet-3d.webp");
  background-size: 400% 400%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 8px 6px rgba(42, 26, 14, 0.22));
}
.falling-gift.kind-0 { background-position: 0% 0%; }
.falling-gift.kind-1 { background-position: 33.333% 0%; }
.falling-gift.kind-2 { background-position: 66.666% 0%; }
.falling-gift.kind-3 { background-position: 100% 0%; }
.falling-gift.kind-4 { background-position: 0% 33.333%; }
.falling-gift.kind-5 { background-position: 33.333% 33.333%; }
.bread-catcher {
  position: absolute;
  left: var(--player-x);
  bottom: 10px;
  width: 84px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background-image: url("../images/catholic-kids/games/3d/jesus-shepherd-sheet-3d.webp");
  background-size: 400% 200%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 10px 8px rgba(42, 26, 14, 0.3));
}
.bread-basket {
  position: absolute;
  left: calc(var(--player-x) + 34px);
  bottom: 8px;
  width: 48px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background-image: url("../images/catholic-kids/games/3d/bread-fish-basket-sheet-3d.webp");
  background-size: 400% 400%;
  background-position: 66.666% 66.666%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 6px 5px rgba(42, 26, 14, 0.22));
}
.bread-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.game-feedback {
  min-height: 56px;
  border: 1.5px solid var(--paper-deep);
  border-radius: var(--rad-sm);
  background: rgba(255,255,255,0.62);
  color: var(--ink-soft);
  padding: 12px;
  font-weight: 700;
}
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.rubric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.rubric-chip {
  background: rgba(255,255,255,0.6);
  border: 1.5px solid var(--paper-deep);
  border-radius: var(--rad-sm);
  padding: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.25;
}
.rubric-chip strong {
  display: block;
  color: var(--ink);
}
@media (max-width: 860px) {
  .games-hero,
  .monstrance-build-board,
  .builder-board,
  .shepherd-layout,
  .word-family-layout {
    grid-template-columns: 1fr;
  }
  .games-stage {
    min-height: 0;
  }
  .game-card {
    min-height: 0;
  }
  .memory-grid,
  .light-grid,
  .word-token-bank,
  .arcade-link-grid,
  .rubric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .games-stage.is-guadalupe-stage {
    min-height: 100dvh;
  }
  .guadalupe-mystery-shell {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  .guadalupe-world {
    min-height: 0;
  }
  .guadalupe-trail-meter {
    top: 190px;
    left: 12px;
    right: auto;
    width: min(240px, calc(100% - 24px));
    padding: 8px 10px;
  }
  .guadalupe-dialogue {
    grid-template-columns: clamp(50px, 9vw, 68px) minmax(0, 1fr);
  }
  .guadalupe-dialogue-portrait {
    width: clamp(50px, 9vw, 68px);
  }
  .guadalupe-controls {
    grid-column: 1 / -1;
    gap: 10px;
    justify-content: flex-start;
  }
  .game-pick {
    grid-template-columns: 48px 1fr;
  }
  .game-pick-tag {
    grid-column: 2;
  }
  .monstrance-build-playfield {
    min-height: 380px;
  }
}
@media (max-width: 520px) {
  .memory-grid,
  .light-grid,
  .word-token-bank,
  .arcade-link-grid,
  .rubric-strip {
    grid-template-columns: 1fr;
  }
  .games-page.is-guadalupe-immersive {
    padding: 0;
  }
  .guadalupe-hud {
    min-height: 64px;
    padding: 10px 12px;
  }
  .guadalupe-hud h2 {
    font-size: clamp(26px, 9vw, 40px);
  }
  .guadalupe-count {
    min-width: 68px;
    padding: 7px 8px;
  }
  .guadalupe-world {
    min-height: 0;
  }
  .guadalupe-game-hud {
    border-color: rgba(255, 248, 230, 0.82);
    background: rgba(17, 14, 10, 0.76);
  }
  .guadalupe-game-hud strong {
    color: #fffef5;
    font-size: 18px;
    line-height: 1.24;
    text-shadow: 0 2px 4px rgba(17, 14, 10, 0.72);
  }
  .guadalupe-actor {
    left: var(--actor-mobile-x, var(--actor-x));
    top: var(--actor-mobile-y, var(--actor-y));
    width: clamp(72px, 18vw, 98px);
    transform: translate(-50%, -100%) scale(var(--actor-mobile-scale, var(--actor-scale)));
  }
  .guadalupe-actor.is-mary {
    width: clamp(88px, 23vw, 126px);
  }
  .guadalupe-actor.is-priest {
    width: clamp(70px, 17vw, 94px);
  }
  .guadalupe-room-hotspot {
    left: var(--spot-mobile-x, var(--spot-x));
    top: var(--spot-mobile-y, var(--spot-y));
    min-width: 56px;
    min-height: 44px;
    padding: 6px 8px;
    font-size: 10px;
  }
  .guadalupe-sign-gesture {
    left: var(--sign-mobile-x, var(--sign-x));
    top: var(--sign-mobile-y, var(--sign-y));
    min-width: 84px;
    min-height: 68px;
    padding: 8px 10px;
  }
  .guadalupe-sign-gesture.is-sky-drag {
    width: min(132px, 40vw);
    min-height: 68px;
  }
  .guadalupe-sign-caption {
    bottom: 148px;
    padding: 8px 10px;
  }
  .guadalupe-sign-caption strong {
    font-size: 13px;
  }
  .guadalupe-tilma-find {
    left: var(--tilma-mobile-x, var(--tilma-x));
    top: var(--tilma-mobile-y, var(--tilma-y));
    font-size: 10px;
  }
  .guadalupe-dpad {
    right: 10px;
    bottom: 10px;
    grid-template-columns: repeat(3, 48px);
    gap: 8px;
  }
  .guadalupe-dpad button {
    width: 48px;
    font-size: 21px;
  }
  .guadalupe-tilma-cloak {
    width: clamp(56px, 18vw, 82px);
  }
  .guadalupe-tilma-cloak.is-large {
    width: min(220px, 58vw);
  }
  .guadalupe-tilma-modal {
    padding: 12px;
  }
  .guadalupe-tilma-modal-card {
    max-height: calc(100dvh - 24px);
    overflow: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }
  .guadalupe-tilma-modal-art {
    min-height: 210px;
  }
  .guadalupe-tilma-modal-copy h3 {
    font-size: clamp(28px, 9vw, 38px);
  }
  .guadalupe-place-card {
    display: none;
  }
  .guadalupe-scene-dots {
    left: 10px;
    right: 10px;
    justify-content: center;
  }
  .guadalupe-dialogue {
    grid-template-columns: clamp(50px, 13vw, 62px) minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }
  .guadalupe-dialogue.is-popup {
    border-color: rgba(42, 26, 14, 0.72);
    background: linear-gradient(90deg, #fffdf3, #fff1cd);
  }
  .guadalupe-dialogue-portrait {
    width: clamp(50px, 13vw, 62px);
  }
  .guadalupe-dialogue-copy p {
    font-size: clamp(17px, 5vw, 22px);
  }
  .guadalupe-dialogue-copy em {
    font-size: 13px;
  }
  .guadalupe-dialogue-find {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px;
  }
  .guadalupe-dialogue-find span {
    grid-row: auto;
    justify-self: start;
    white-space: normal;
  }
  .guadalupe-dialogue-find p {
    font-size: 12px;
  }
  .guadalupe-controls .btn {
    min-height: 48px;
    padding-inline: 12px;
  }
  .guadalupe-token {
    width: 36px;
    min-height: 17px;
    font-size: 7px;
  }
  .game-card-head {
    display: grid;
  }
  .monstrance-build-board {
    gap: 10px;
  }
  .monstrance-build-playfield {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .monstrance-build-slot {
    font-size: 10px;
    padding: 4px;
  }
  .monstrance-build-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .monstrance-build-shelf-piece {
    min-height: 118px;
    grid-template-rows: 62px 1fr;
    padding: 8px;
  }
  .monstrance-build-thumb,
  .monstrance-build-thumb img {
    max-height: 62px;
    height: 62px;
  }
  .monstrance-build-shelf-piece strong {
    font-size: 16px;
  }
  .monstrance-build-shelf-piece span span {
    font-size: 11px;
  }
  .monstrance-build-reset {
    right: 8px;
    top: 8px;
    padding: 7px 10px;
  }
  .move-pad {
    grid-template-columns: repeat(3, 48px);
    grid-template-rows: repeat(3, 48px);
  }
}
