/* You've Been Boo'd: the public page, the sponsorship item page, and the
   Board Portal bits. Friendly Halloween for an elementary school: pumpkin
   orange, twilight purple, a starry night, cartoon ghosts. No gore, no gold. */
@font-face {
  font-family: "RT Boo";
  src: url("../fonts/Creepster-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.rt-boo,
.rt-boo-quiz,
.rt-store-detail-page--boo {
  --boo-orange: #f26b1d;
  --boo-orange-deep: #c8520f;
  --boo-orange-soft: #ffb066;
  --boo-purple: #5b2a86;
  --boo-purple-deep: #3a1a5c;
  --boo-night: #1b1430;
  --boo-cream: #fff6e9;
  --boo-paper: #fffaf3;
  --boo-ink: #241a3a;
  --boo-font: "RT Boo", "Chalkboard SE", "Comic Sans MS", cursive;
}
.rt-boo {
  max-width: var(--rt-maxw, min(1440px, 94vw));
  margin: 0 auto 40px;
  color: var(--boo-ink);
}

/* ---- Hero: a starry night, a moon, an orange hill ------------------------ */
.rt-boo-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 32px 96px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 28% 62%, rgba(255,255,255,.85) 60%, transparent 62%),
    radial-gradient(1.8px 1.8px at 41% 30%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 56% 14%, rgba(255,255,255,.8) 60%, transparent 62%),
    radial-gradient(1.5px 1.5px at 67% 48%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 78% 22%, rgba(255,255,255,.85) 60%, transparent 62%),
    radial-gradient(1.7px 1.7px at 88% 58%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 8% 74%, rgba(255,255,255,.7) 60%, transparent 62%),
    radial-gradient(1.4px 1.4px at 35% 82%, rgba(255,255,255,.7) 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 93% 36%, rgba(255,255,255,.9) 60%, transparent 62%),
    radial-gradient(circle at 20% 30%, rgba(242, 107, 29, 0.28), transparent 42%),
    linear-gradient(180deg, #120c22 0%, var(--boo-night) 45%, var(--boo-purple-deep) 100%);
}
.rt-boo-hero::before {
  /* the moon */
  content: "";
  position: absolute;
  top: 34px;
  right: 9%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fffdf5 0%, #ffe9c2 55%, #ffd39a 100%);
  box-shadow: 0 0 40px 14px rgba(255, 214, 160, 0.35), 0 0 120px 40px rgba(242, 107, 29, 0.18);
}
.rt-boo-hero::after {
  /* the hill */
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -90px;
  height: 160px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, var(--boo-orange) 0%, var(--boo-orange-deep) 100%);
}
.rt-boo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* minmax(0, 1fr), not 1fr: a wide button's min-content must never stretch the column past the card (phones, 9-26). */
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .rt-boo-hero { padding: 56px 56px 110px; }
  .rt-boo-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; }
}
.rt-boo .rt-boo-kicker {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--boo-orange-soft);
}
.rt-boo .rt-boo-title {
  margin: 0 0 16px;
  line-height: 0.95;
  color: #fff;
}
.rt-boo .rt-boo-title-lead {
  display: block;
  font-family: var(--rt-font-display, "RT Display", "Arial Narrow", sans-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--boo-cream);
}
.rt-boo .rt-boo-title-big {
  display: block;
  font-family: var(--boo-font);
  font-weight: 400;
  font-size: clamp(4rem, 9vw, 7.2rem);
  letter-spacing: 0.02em;
  color: var(--boo-orange);
  text-shadow: 0 4px 0 var(--boo-orange-deep), 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
  transform-origin: left bottom;
}
.rt-boo-intro {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.rt-boo-cta { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; text-align: center; }
.rt-boo-hero-words .rt-boo-cta { margin-top: 2px; }
.rt-boo-hero-words, .rt-boo-art { min-width: 0; }
.rt-btn.rt-boo-btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
  background: var(--boo-orange);
  color: #fff !important;
  border: 0;
  box-shadow: 0 10px 24px rgba(242, 107, 29, 0.4);
}
.rt-btn.rt-boo-btn:hover { background: var(--boo-orange-deep); color: #fff !important; }
.rt-boo-cta-how { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--boo-cream); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rt-boo-cta-how:hover { color: #fff; }
.rt-boo-cta-note { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 2px; font-size: 0.95rem; line-height: 1.35; color: var(--boo-cream); white-space: nowrap; }
.rt-boo-cta-note i { color: var(--boo-orange-soft); margin-right: 4px; }
@media (max-width: 420px) { .rt-boo-cta-note { white-space: normal; } }
.rt-boo-soon { display: inline-flex; align-items: center; gap: 0.5em; padding: 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 700; }

/* Phones: a trio of ghosts above the title, since the art comes later. */
.rt-boo-hero-top { display: none; }
@media (max-width: 899px) {
  .rt-boo-hero-top { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin: 0 0 14px; }
  .rt-boo-hero-top i { font-size: 38px; color: #fff; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45)); animation: rt-boo-float 3.4s ease-in-out infinite; }
  .rt-boo-hero-top i:nth-child(2) { font-size: 54px; color: var(--boo-cream); animation-delay: 0.7s; }
  .rt-boo-hero-top i:nth-child(3) { animation-delay: 1.3s; }
  .rt-boo-hero-words { padding-top: 0; }
  .rt-boo-hero::before { top: 10px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .rt-boo-hero-top i { animation: none; } }

/* The art: last year's ghosts in a tilted frame, with a few floaters. */
.rt-boo-art { position: relative; margin: 0 auto; max-width: 520px; }
.rt-boo-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 6px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(2.5deg);
}
.rt-boo-ghosts { position: absolute; inset: 0; pointer-events: none; }
.rt-boo-ghosts i {
  position: absolute;
  font-size: 44px;
  color: #fff;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  animation: rt-boo-float 3.4s ease-in-out infinite;
}
.rt-boo-ghosts i:nth-child(1) { top: -28px; left: -18px; }
.rt-boo-ghosts i:nth-child(2) { right: -22px; top: 30%; font-size: 60px; color: var(--boo-cream); animation-delay: 0.7s; }
.rt-boo-ghosts i:nth-child(3) { bottom: -22px; left: 18%; font-size: 36px; animation-delay: 1.3s; }
.rt-boo-art--empty { min-height: 200px; }
.rt-boo-art--empty .rt-boo-ghosts { position: static; display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.rt-boo-art--empty .rt-boo-ghosts i { position: static; display: inline-block; margin: 20px 18px; font-size: 70px; }
@keyframes rt-boo-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .rt-boo-ghosts i { animation: none; } }

/* ---- Numbers ------------------------------------------------------------- */
.rt-boo-stats {
  list-style: none;
  margin: -54px auto 30px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  position: relative;
  z-index: 2;
}
.rt-boo-stats li {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--boo-purple) 0%, var(--boo-purple-deep) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(36, 26, 58, 0.28);
}
.rt-boo-stats li .fa-ghost { position: absolute; right: -8px; bottom: -14px; font-size: 64px; color: rgba(255, 255, 255, 0.08); }
.rt-boo-n { display: block; font-family: var(--rt-font-display, "RT Display", "Arial Narrow", sans-serif); font-size: 2.4rem; font-weight: 700; color: var(--boo-orange-soft); line-height: 1; }
.rt-boo-l { display: block; margin-top: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--boo-cream); }

/* ---- Alternating bands ------------------------------------------------- */
.rt-boo-band { border-radius: 22px; padding: 34px 28px 30px; margin: 0 0 22px; }
.rt-boo-band--light { background: var(--boo-cream); color: var(--boo-ink); }
.rt-boo-band--dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(1.5px 1.5px at 15% 22%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 32% 70%, rgba(255,255,255,.8) 60%, transparent 62%),
    radial-gradient(1.6px 1.6px at 58% 18%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 76% 60%, rgba(255,255,255,.8) 60%, transparent 62%),
    radial-gradient(1.4px 1.4px at 90% 24%, #fff 60%, transparent 62%),
    linear-gradient(180deg, #0f0a1c 0%, var(--boo-night) 40%, var(--boo-purple-deep) 100%);
}
@media (max-width: 600px) { .rt-boo-band { padding: 26px 16px 24px; border-radius: 18px; } }
.rt-boo-band--light .rt-boo-steps li { background: #fff; border-color: rgba(91, 42, 134, 0.22); }
.rt-boo-band--light .rt-boo-panel { background: #fff; }
.rt-boo-band--light .rt-boo-two { margin-bottom: 0; }
.rt-boo-band--light .rt-boo-steps { margin-bottom: 0; }
.rt-boo-close { padding-bottom: 40px; }
.rt-boo-close .rt-boo-cta { justify-content: center; margin: 10px 0 0; }
.rt-boo-close-lead { max-width: 560px; margin: 0 auto; font-size: 1.08rem; color: rgba(255, 255, 255, 0.9); }
.rt-boo-close-mail { margin: 14px 0 0; color: rgba(255, 255, 255, 0.85); }
.rt-boo-close-mail a { color: var(--boo-orange-soft); font-weight: 700; }
/* Links on the dark bands stay light on hover and focus; the theme's hover color is for light paper. */
.rt-boo-band--dark a:hover, .rt-boo-band--dark a:focus-visible,
.rt-boo-hero a:hover, .rt-boo-hero a:focus-visible,
.rt-boo-yard a:hover, .rt-boo-yard a:focus-visible { color: #fff; }
.rt-boo-close-mail a:hover, .rt-boo-close-mail a:focus-visible { color: #fff; text-decoration: underline; }
.rt-boo-close-ghosts { position: static; display: flex; justify-content: center; gap: 26px; margin-bottom: 6px; }
.rt-boo-close-ghosts i { position: static; font-size: 40px; }
.rt-boo-close .rt-boo-game { margin-top: 18px; }

/* ---- How the haunting works: four steps ---------------------------------- */
.rt-boo .rt-boo-h2 {
  scroll-margin-top: 90px;
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--boo-font);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--boo-purple);
  letter-spacing: 0.02em;
}
.rt-boo .rt-boo-h2 i { color: var(--boo-orange); margin-right: 8px; }
.rt-boo-steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  counter-reset: boo;
}
.rt-boo-steps li {
  position: relative;
  counter-increment: boo;
  background: var(--boo-cream);
  border: 2px dashed rgba(91, 42, 134, 0.25);
  border-radius: 18px;
  padding: 26px 18px 20px;
  text-align: center;
  line-height: 1.45;
}
.rt-boo-steps li::before {
  content: counter(boo);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--boo-orange);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(242, 107, 29, 0.4);
}
.rt-boo-steps li i { display: block; font-size: 30px; color: var(--boo-purple); margin: 4px 0 10px; }
.rt-boo-steps li b { display: block; margin-bottom: 4px; color: var(--boo-purple); }

/* ---- Fine print + calendar ---------------------------------------------- */
.rt-boo-two { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 26px; }
@media (min-width: 900px) { .rt-boo-two { grid-template-columns: 1fr 1fr; } }
.rt-boo-panel { background: var(--boo-cream); border-radius: 18px; padding: 24px 26px; text-align: left; }
.rt-boo-panel h3, .rt-boo-panel p, .rt-boo-panel li { text-align: left; }
.rt-boo-panel h3 { margin: 0 0 12px; font-size: 1.3rem; color: var(--boo-purple); }
.rt-boo-panel h3 i { color: var(--boo-orange); margin-right: 6px; }
.rt-boo-rules { margin: 0; padding-left: 0; list-style: none; }
.rt-boo-rules li { position: relative; padding: 7px 0 7px 30px; line-height: 1.45; }
.rt-boo-rules li::before { content: "\f6e2"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 8px; color: var(--boo-orange); }
.rt-boo-crew { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(91, 42, 134, 0.15); line-height: 1.45; }
.rt-boo-crew b { color: var(--boo-purple); }
.rt-boo-crew i { color: var(--boo-orange); margin-right: 6px; }
.rt-boo-crew-line { display: block !important; }
.rt-boo-crew-label { display: block; margin-bottom: 2px; }
.rt-boo-crew-line + .rt-boo-crew-line { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(91, 42, 134, 0.25); }
.rt-boo-fine { margin: 0 0 12px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); }
.rt-boo-cal { background: linear-gradient(180deg, var(--boo-night) 0%, var(--boo-purple-deep) 100%); color: #fff; }
.rt-boo-cal h3 { color: #fff; }
.rt-boo-cal h3 i { color: var(--boo-orange-soft); }
.rt-boo-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.rt-boo-dow { text-align: center; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: var(--boo-orange-soft); }
.rt-boo-day {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
}
.rt-boo-day--pad { background: transparent; border: 0; }
.rt-boo-day--past { opacity: 0.45; }
.rt-boo-day--today { border: 2px solid var(--boo-orange-soft); box-shadow: 0 0 0 3px rgba(255, 176, 102, 0.2); }
.rt-boo-day--boo { background: var(--boo-orange); border-color: var(--boo-orange); color: #fff; opacity: 1; }
.rt-boo-day--boo .rt-boo-num { position: absolute; top: 3px; left: 6px; font-size: 0.68rem; opacity: 0.9; }
.rt-boo-day--boo i { font-size: 1.2rem; color: #fff; }
.rt-boo-num { font-size: 0.9rem; font-weight: 700; }
.rt-boo-game { text-align: center; margin: 22px 0 0; }
.rt-boo .rt-btn.rt-boo-gamebtn { background: var(--boo-purple); color: #fff !important; border: 0; }
.rt-boo .rt-btn.rt-boo-gamebtn:hover { background: var(--boo-purple-deep); color: #fff !important; }

/* Phone: a sticky Sponsor bar while the window is open. */
.rt-boo-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8000;
  display: flex;
  justify-content: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(27, 20, 48, 0.94);
  backdrop-filter: blur(6px);
}
.rt-boo-sticky .rt-btn { width: 100%; max-width: 420px; }
.rt-boo-sticky { transform: translateY(110%); transition: transform 0.25s ease; }
.rt-boo-sticky.is-on { transform: none; }
@media (min-width: 900px) { .rt-boo-sticky { display: none; } }
body.rt-board-on .rt-boo-sticky { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
  .rt-boo-hero { padding: 36px 20px 84px; }
  .rt-boo-ghosts i:nth-child(1), .rt-boo-ghosts i:nth-child(3) { display: none; }
  .rt-boo-ghosts i:nth-child(2) { right: -10px; top: -26px; font-size: 44px; }
  .rt-boo-art { max-width: 100%; }
  .rt-boo-art img { transform: none; border-width: 4px; }
  .rt-boo-ghosts i:nth-child(2) { right: 6px; top: -22px; }
  .rt-boo-intro { font-size: 1.02rem; }
  .rt-boo .rt-boo-title-big { font-size: clamp(3.4rem, 18vw, 5rem); }
  .rt-boo-cta { justify-content: center; }
  .rt-boo .rt-btn--lg.rt-boo-btn { padding-left: 22px; padding-right: 22px; }
  .rt-boo-hero::before { width: 52px; height: 52px; top: 12px; right: 12px; box-shadow: 0 0 24px 8px rgba(255, 214, 160, 0.3); }
}

/* ---- The sponsorship item page ------------------------------------------ */
.rt-store-detail-page--boo .rt-store-detail {
  grid-template-columns: 1fr;
  max-width: 940px;
  gap: 18px;
  padding: 22px 22px 28px;
  border-radius: 22px;
  border: 1px solid #f7c59f;
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 107, 29, 0.14), transparent 45%),
    radial-gradient(circle at 96% 100%, rgba(91, 42, 134, 0.14), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--boo-cream) 100%);
}
.rt-store-detail-page--boo .rt-store-gallery-main {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(36, 26, 58, 0.25);
}
.rt-store-detail-page--boo .rt-store-gallery-thumbs { display: none; }
.rt-store-detail-page--boo .rt-store-detail-name {
  font-family: var(--boo-font);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  color: var(--boo-purple);
  line-height: 1;
  margin: 6px 0 4px;
}
.rt-store-detail-page--boo .rt-store-price { font-size: 1.6rem; font-weight: 800; color: var(--boo-orange); }
.rt-store-detail-page--boo .rt-store-detail-desc { font-size: 1.05rem; line-height: 1.55; max-width: 760px; }
.rt-store-detail-page--boo .rt-store-tag { position: static; margin: 0 0 8px; font-size: 0.78rem; }
/* The item's name block reads centered, like the page it belongs to (Furi, 9-26). */
.rt-store-detail-page--boo .rt-store-detail-info { text-align: center; }
.rt-store-detail-page--boo .rt-store-detail-name,
.rt-store-detail-page--boo .rt-store-price { text-align: center; }
.rt-store-detail-page--boo .rt-store-detail-desc { margin-left: auto; margin-right: auto; text-align: center; }
.rt-store-detail-page--boo .rt-boo-item-facts li,
.rt-store-detail-page--boo .rt-boo-item-rules,
.rt-store-detail-page--boo .rt-store-mods,
.rt-store-detail-page--boo .rt-store-mod-group legend { text-align: left; }
.rt-store-detail-page--boo .rt-store-detail-ctas .rt-store-ctas,
.rt-store-detail-page--boo .rt-store-detail-ctas { justify-content: center; }
.rt-store-detail-page--boo .rt-store-back { text-align: center; }
.rt-store-detail-page--boo .rt-store-back a { color: var(--boo-purple); }

/* The item band under the words. */
.rt-boo-item { margin: 6px 0 22px; }
.rt-boo-item-facts {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.rt-boo-item-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(91, 42, 134, 0.14);
  font-weight: 600;
  color: var(--boo-ink);
}
.rt-boo-item-facts i { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--boo-purple); color: #fff; font-size: 15px; }
.rt-boo-item-rules { margin: 0 0 12px; padding: 14px 16px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--boo-orange); }
.rt-boo-item-rules h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: var(--boo-purple); }
.rt-boo-item-rules h3 i { color: var(--boo-orange); margin-right: 6px; }
.rt-boo-item-rules ul { margin: 0; padding-left: 20px; line-height: 1.5; }
.rt-boo-item-rules li { margin: 4px 0; }
.rt-boo-item-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin: 4px 0 0; text-align: center; }
.rt-boo-item-back { margin: 0; font-size: 0.95rem; }
.rt-boo-item-mail i { color: var(--boo-orange); margin-right: 4px; }
.rt-boo-item-sep { color: var(--boo-orange); font-size: 0.9rem; opacity: 0.9; }
@media (max-width: 680px) {
  .rt-boo-item-links { flex-direction: column; gap: 6px; }
  .rt-boo-item-sep { display: none; }
}
.rt-boo-item-back a { color: var(--boo-purple); font-weight: 700; }

/* The form: two columns, labels above, full-width fields, no boxes-in-boxes. */
.rt-store-detail-page--boo .rt-store-detail-ctas { padding-top: 10px; border-top: 2px dashed rgba(91, 42, 134, 0.18); }
.rt-store-detail-page--boo .rt-store-mods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 18px;
  margin: 12px 0 18px;
}
@media (min-width: 680px) {
  .rt-store-detail-page--boo .rt-store-mods { grid-template-columns: 1fr 1fr; }
  .rt-store-detail-page--boo .rt-store-mod-group:has([data-list-name="Teacher"]),
  .rt-store-detail-page--boo .rt-store-mod-group:has([data-list-name="Street Address"]),
  .rt-store-detail-page--boo .rt-store-mod-group:has([data-list-name="Delivery Address"]),
  .rt-store-detail-page--boo .rt-store-mod-group:has([data-list-name="Questions or Comments"]),
  .rt-store-detail-page--boo .rt-store-mod-group:has([data-list-name="Message"]) { grid-column: 1 / -1; }
}
.rt-store-detail-page--boo .rt-store-mod-group {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.rt-store-detail-page--boo .rt-store-mod-group legend {
  padding: 0;
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--boo-purple);
}
.rt-store-detail-page--boo .rt-store-mod-text,
.rt-store-detail-page--boo .rt-store-mod-select {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid rgba(91, 42, 134, 0.28);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}
.rt-store-detail-page--boo .rt-store-mod-text:focus,
.rt-store-detail-page--boo .rt-store-mod-select:focus { outline: none; border-color: var(--boo-orange); box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.2); }
.rt-store-detail-page--boo .rt-store-mod-hint { display: none; }
.rt-store-detail-page--boo .rt-store-mod-optional { display: none; }
.rt-store-detail-page--boo .rt-store-btn { background: var(--boo-orange); color: #fff; padding: 12px 26px; font-size: 1.05rem; }
.rt-store-detail-page--boo .rt-store-btn:hover { background: var(--boo-orange-deep); }

/* The zone chip under the address fields. */
.rt-boo-zone {
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  background: var(--boo-cream, #fff6e9);
  color: var(--boo-ink, #241a3a);
}
.rt-boo-zone i { margin-right: 6px; }
.rt-boo-zone { text-align: center; }
.rt-boo-zone-title, .rt-boo-zone-detail, .rt-boo-zone-link { display: block; }
.rt-boo-zone-title b { font-weight: 800; }
.rt-boo-zone-detail { margin-top: 2px; }
.rt-boo-zone-link { margin-top: 4px; font-size: 0.9em; }
.rt-boo-zone a { font-weight: 700; color: inherit; text-decoration: underline; }
.rt-boo-zone--good { background: var(--boo-purple, #5b2a86); color: #fff; }
.rt-boo-zone--good i { color: var(--boo-orange-soft, #ffb066); }
.rt-boo-zone--warn { background: #fff1e6; color: #7a3d00; border: 1.5px solid var(--boo-orange, #f26b1d); }
.rt-boo-zone--warn i { color: var(--boo-orange-deep, #c8520f); }

/* ---- Board Portal bits --------------------------------------------------- */
.rt-board .rt-boo-addr { display: block; font-size: 0.9em; color: var(--rt-gray, #6b6b6b); }
.rt-board .rt-boo-dir { display: inline-flex; align-items: center; gap: 0.35em; margin-top: 4px; white-space: nowrap; }
.rt-board .rt-boo-who { display: block; font-size: 0.85em; color: var(--rt-gray, #6b6b6b); }
.rt-board .rt-boo-msg { display: block; font-size: 0.85em; font-style: italic; }
.rt-board .rt-board-tag--boo { background: #5b2a86; color: #fff; }
.rt-board .rt-board-tag--good { background: #1f7a3a; color: #fff; }
.rt-board .rt-boo-linkbtn { background: none; border: 0; padding: 0; margin: 0 .3rem 0 0; font: inherit; font-size: .85em; color: var(--rt-primary, #1f3b73); text-decoration: underline; cursor: pointer; }
.rt-board .rt-boo-warn { padding: .6rem .8rem; border-radius: .6rem; background: #fff4e5; color: #7a3d00; }
.rt-board .rt-boo-warn i { color: #f26b1d; }
.rt-board .rt-boo-mark { flex-wrap: nowrap; }
.rt-board .rt-boo-mark input[type="date"] { width: 140px; }
.rt-board .rt-board-table tr.is-done td { opacity: .7; }
.rt-board .rt-boo-sub-sm { display: none; }
@media (max-width: 720px) {
  .rt-board .rt-boo-col-sm { display: none; }
  .rt-board .rt-boo-sub-sm { display: block; }
  .rt-board .rt-boo-mark { flex-wrap: wrap; }
}

/* ---- The graveyard (the public tracker) --------------------------------- */
/* No overflow clip here: the props animate past the edges on purpose. */
.rt-boo-yard {
  position: relative;
  margin: 0 0 22px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(1.5px 1.5px at 15% 22%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 32% 10%, rgba(255,255,255,.8) 60%, transparent 62%),
    radial-gradient(1.6px 1.6px at 58% 18%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 76% 8%, rgba(255,255,255,.8) 60%, transparent 62%),
    radial-gradient(1.4px 1.4px at 90% 24%, #fff 60%, transparent 62%),
    linear-gradient(180deg, #0f0a1c 0%, var(--boo-night) 30%, var(--boo-purple-deep) 100%);
}
.rt-boo-yard-sky { position: relative; padding: 30px 28px 6px; text-align: center; }
.rt-boo-yard-sky::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 6%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fffdf5 0%, #ffe9c2 55%, #ffd39a 100%);
  box-shadow: 0 0 30px 10px rgba(255, 214, 160, 0.3);
}
.rt-boo .rt-boo-h2--light { color: var(--boo-orange-soft); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.rt-boo .rt-boo-h2--light i { color: #fff; }
.rt-boo-yard-lead { max-width: 640px; margin: 0 auto; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.rt-boo-yard-ground {
  position: relative;
  padding: 22px 22px 34px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(20, 60, 30, 0.35) 100%);
}
.rt-boo-yard .rt-boo-grid { max-width: 860px; margin: 0 auto; gap: 8px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rt-boo-yard .rt-boo-day { min-width: 0; overflow: hidden; }
.rt-boo-yard .rt-boo-dow { color: var(--boo-orange-soft); }
.rt-boo-yard .rt-boo-day {
  aspect-ratio: 1 / 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 4px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}
.rt-boo-yard .rt-boo-day .rt-boo-num { position: absolute; top: 5px; left: 7px; font-size: 0.72rem; font-weight: 800; opacity: 0.8; }
.rt-boo-yard .rt-boo-day { position: relative; }
.rt-boo-day-art { display: flex; align-items: flex-end; justify-content: center; gap: 2px; min-height: 34px; font-size: 26px; line-height: 1; }
.rt-boo-day--moon { opacity: 0.5; }
.rt-boo-day--moon .rt-boo-day-art i { font-size: 18px; color: #ffe9c2; opacity: 0.8; }
.rt-boo-day--house { background: rgba(242, 107, 29, 0.16); border-color: rgba(242, 107, 29, 0.5); }
.rt-boo-day--house .rt-boo-day-art i { color: var(--boo-orange-soft); filter: drop-shadow(0 0 8px rgba(255, 176, 102, 0.7)); }
a.rt-boo-day--house:hover, a.rt-boo-day--house:focus-visible { transform: translateY(-3px) scale(1.04); background: rgba(242, 107, 29, 0.3); }
a.rt-boo-day--house:hover .rt-boo-day-art i { animation: rt-boo-wiggle 0.5s ease-in-out infinite; }
.rt-boo-day--ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); opacity: 1; }
.rt-boo-day--ghost .rt-boo-day-art i { color: #fff; font-size: 22px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); animation: rt-boo-float 3s ease-in-out infinite; }
.rt-boo-day--ghost .rt-boo-day-art i:nth-child(2) { animation-delay: 0.4s; }
.rt-boo-day--ghost .rt-boo-day-art i:nth-child(3) { animation-delay: 0.8s; }
.rt-boo-day--ghost .rt-boo-day-art b { font-size: 0.8rem; color: var(--boo-orange-soft); margin-left: 2px; }
.rt-boo-day--missed { opacity: 0.85; }
.rt-boo-stone {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 30px;
  border-radius: 13px 13px 3px 3px;
  background: linear-gradient(180deg, #a9a3b8 0%, #6e6880 100%);
  color: rgba(27, 20, 48, 0.7);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 3px 0 #2f3d26;
}
.rt-boo-stone--mini { width: 16px; height: 18px; font-size: 6px; vertical-align: middle; }
.rt-boo-day--today { outline: 2px solid var(--boo-orange-soft); outline-offset: 2px; }
/* Happenings: a small badge in the tile's corner; the boo state stays the picture. */
.rt-boo-day-fest {
  position: absolute;
  top: 4px;
  right: 5px;
  display: inline-flex;
  gap: 3px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--boo-purple);
  font-size: 10px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.rt-boo-day--house .rt-boo-day-fest { background: var(--boo-orange-soft); color: var(--boo-night); }
.rt-boo-day--halloween { background: rgba(242, 107, 29, 0.28); border-color: var(--boo-orange); opacity: 1; }
.rt-boo-day--halloween .rt-boo-day-fest { background: var(--boo-orange); color: #fff; }
.rt-boo-day-fest--legend { position: static; display: inline-flex; vertical-align: middle; margin-right: 2px; }
.rt-boo-yard-ghosts { position: absolute; inset: 0; pointer-events: none; }
.rt-boo-yard-ghosts i { position: absolute; color: #fff; opacity: 0.9; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)); animation: rt-boo-float 3.8s ease-in-out infinite; }
.rt-boo-yard-ghosts i:nth-child(1) { top: 26px; right: 8%; font-size: 30px; }
.rt-boo-yard-ghosts i:nth-child(2) { top: 62px; left: 14%; font-size: 22px; animation-delay: 1.1s; color: var(--boo-cream); }
@media (max-width: 560px) {
  .rt-boo-day-fest { top: 2px; right: 3px; padding: 1px 4px; font-size: 8px; }
  .rt-boo-yard-ghosts i:nth-child(1) { right: 4%; top: 18px; font-size: 24px; }
  .rt-boo-yard-ghosts i:nth-child(2) { display: none; }
}
.rt-boo-legend {
  list-style: none;
  margin: 18px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}
.rt-boo-legend li { display: inline-flex; align-items: center; gap: 6px; }
.rt-boo-legend i { color: var(--boo-orange-soft); }
.rt-boo-fence {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0 4px, transparent 4px 18px),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 40% 60%, transparent 60%);
  opacity: 0.8;
}
@keyframes rt-boo-wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.rt-boo-rules--gift li::before { content: "\f06b"; }
@media (max-width: 560px) {
  .rt-boo-yard-ground { padding: 16px 10px 30px; }
  .rt-boo-yard-sky { padding: 26px 16px 4px; }
  .rt-boo-views { gap: 4px; padding: 4px; }
  .rt-boo-view-btn { white-space: nowrap; padding: 8px 12px; font-size: 0.8rem; }
  .rt-boo-sound { margin: 10px 0 0; padding: 8px 12px; font-size: 0.8rem; }
  .rt-boo-week { font-size: 0.72rem; padding: 5px 9px; gap: 6px; margin: 6px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .rt-boo-week i { margin-right: 4px; }
  .rt-boo-week b { margin-right: 4px; }
  .rt-boo-week span { display: none; }
  .rt-boo-day--holiday .rt-boo-day-art small { display: none; }
  .rt-boo-day--holiday .rt-boo-day-art i { font-size: 15px; }
  .rt-boo-yard .rt-boo-day .rt-boo-num { font-size: 0.62rem; top: 3px; left: 5px; }
  .rt-boo-yard .rt-boo-grid { gap: 5px; }
  .rt-boo-day-art { font-size: 20px; min-height: 26px; }
  .rt-boo-day--ghost .rt-boo-day-art i { font-size: 16px; }
  .rt-boo-stone { width: 20px; height: 24px; font-size: 7px; }
}

/* ---- Board Portal: the Boo Nights board -------------------------------- */
.rt-board .rt-boo-board { --boo-orange: #f26b1d; --boo-purple: #5b2a86; --boo-night: #1b1430; --boo-cream: #fff6e9; }
.rt-board .rt-boo-pool { margin: 0 0 1.2rem; padding: .9rem 1rem 1rem; border-radius: 1rem; background: var(--boo-cream); border: 2px dashed rgba(91, 42, 134, .3); }
.rt-board .rt-boo-pool.is-drop { background: #ffe8d6; border-color: var(--boo-orange); }
.rt-board .rt-boo-pool h3 { margin: 0 0 .6rem; font-size: 1rem; color: var(--boo-purple); }
.rt-board .rt-boo-pool h3 i { color: var(--boo-orange); margin-right: .3rem; }
.rt-board .rt-boo-pool-list { display: flex; flex-wrap: wrap; gap: .45rem; min-height: 2.4rem; }
.rt-board .rt-boo-pool-empty { display: none; margin: .3rem 0 0; font-size: .9rem; color: var(--rt-gray, #6b6b6b); }
.rt-board .rt-boo-pool-list:empty + .rt-boo-pool-empty { display: block; }
.rt-board .rt-boo-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
  padding: .32rem .6rem .32rem .5rem;
  border: 0;
  border-radius: 999px;
  background: var(--boo-purple);
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(36, 26, 58, .25);
  text-align: left;
}
.rt-board .rt-boo-chip:hover { background: #4a2170; }
.rt-board .rt-boo-chip.is-dragging { opacity: .5; }
.rt-board .rt-boo-chip.is-done { background: #1f7a3a; }
.rt-board .rt-boo-chip > .fa-ghost { color: #ffb066; }
.rt-board .rt-boo-chip.is-done > .fa-ghost { color: #fff; }
.rt-board .rt-boo-chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-board .rt-boo-chip-x { font-size: .7rem; opacity: .85; }
.rt-board .rt-boo-chip-note { font-size: .7rem; color: #ffe9c2; }
.rt-board .rt-boo-cal-month h3 { margin: 1rem 0 .5rem; font-size: 1.05rem; }
.rt-board .rt-boo-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rt-board .rt-boo-cal-dow { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: var(--rt-gray, #6b6b6b); }
.rt-board .rt-boo-cal-day {
  position: relative;
  min-height: 92px;
  padding: .35rem .4rem .45rem;
  border-radius: .7rem;
  background: #f3f1f6;
  border: 1px solid rgba(91, 42, 134, .12);
  color: #8a8598;
}
.rt-board .rt-boo-cal-day--pad { background: transparent; border: 0; min-height: 0; }
.rt-board .rt-boo-cal-day.is-night { background: linear-gradient(180deg, #2a1f47 0%, var(--boo-night) 100%); color: #fff; border-color: #2a1f47; }
.rt-board .rt-boo-cal-day.is-night.is-drop { outline: 3px solid var(--boo-orange); outline-offset: -3px; background: #3a2a60; }
.rt-board .rt-boo-cal-day.is-past:not(.is-night) { opacity: .6; }
.rt-board .rt-boo-cal-day.is-today { box-shadow: 0 0 0 2px var(--boo-orange); }
.rt-board .rt-boo-cal-day.is-over::after { content: "\f071"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: .4rem; bottom: .3rem; color: #ffb066; font-size: .8rem; }
.rt-board .rt-boo-cal-head { display: flex; align-items: center; gap: .3rem; margin-bottom: .3rem; }
.rt-board .rt-boo-cal-num { font-weight: 800; font-size: .85rem; }
.rt-board .rt-boo-cal-toggle { margin-left: auto; background: none; border: 0; padding: 0 .1rem; font: inherit; color: inherit; cursor: pointer; opacity: .35; }
.rt-board .rt-boo-cal-day.is-night .rt-boo-cal-toggle { opacity: 1; color: #ffe9c2; text-shadow: 0 0 8px rgba(255, 233, 194, .7); }
.rt-board button.rt-boo-cal-toggle:hover { opacity: 1; }
.rt-board .rt-boo-cal-count { min-width: 1.1rem; font-size: .7rem; font-weight: 800; text-align: right; color: #ffb066; }
.rt-board .rt-boo-cal-list { display: flex; flex-direction: column; gap: .3rem; min-height: 1.6rem; }
.rt-board .rt-boo-cal-day .rt-boo-chip { border-radius: .5rem; padding: .28rem .45rem; font-size: .76rem; }
@media (max-width: 720px) {
  .rt-board .rt-boo-cal-grid { gap: 3px; }
  .rt-board .rt-boo-cal-day { min-height: 64px; padding: .25rem .25rem .3rem; }
  .rt-board .rt-boo-cal-day .rt-boo-chip { padding: .2rem .3rem; font-size: .66rem; gap: .2rem; }
  .rt-board .rt-boo-chip-x, .rt-board .rt-boo-chip-note { display: none; }
}

/* The student popup. */
.rt-boo-dlg { border: 0; border-radius: 1.1rem; padding: 1.3rem 1.4rem 1.2rem; width: min(560px, 94vw); max-height: 88vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); font-family: inherit; color: #241a3a; }
.rt-boo-dlg::backdrop { background: rgba(27, 20, 48, .6); backdrop-filter: blur(2px); }
.rt-boo-dlg-close { position: absolute; top: .6rem; right: .6rem; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: #f3f1f6; color: #5b2a86; font-size: 1rem; cursor: pointer; }
.rt-boo-dlg-kicker { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f26b1d; }
.rt-boo-dlg-name { margin: 0 0 .6rem; font-size: 1.6rem; color: #5b2a86; }
.rt-boo-dlg-addr { margin: 0 0 .4rem; font-weight: 600; }
.rt-boo-dlg-addr i { color: #f26b1d; margin-right: .3rem; }
.rt-boo-dlg-actions { margin: .4rem 0 .8rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.rt-boo-dlg-warn { margin: 0 0 .6rem; padding: .5rem .7rem; border-radius: .6rem; background: #fff1e6; color: #7a3d00; font-size: .9rem; }
.rt-boo-dlg h3 { margin: .8rem 0 .4rem; font-size: .95rem; color: #5b2a86; }
.rt-boo-dlg-sponsors { list-style: none; margin: 0 0 .6rem; padding: 0; font-size: .92rem; line-height: 1.45; }
.rt-boo-dlg-sponsors li { padding: .4rem 0; border-top: 1px solid rgba(91, 42, 134, .12); }
.rt-boo-dlg-sponsors li:first-child { border-top: 0; }
.rt-boo-dlg-amt { float: right; font-weight: 800; color: #f26b1d; }
.rt-boo-dlg-status { margin: .4rem 0 .8rem; }
.rt-boo-dlg-manage label { display: block; margin: 0 0 .7rem; font-size: .85rem; font-weight: 700; color: #5b2a86; }
.rt-boo-dlg-manage textarea, .rt-boo-dlg-manage select { display: block; width: 100%; margin-top: .3rem; font: inherit; font-weight: 400; padding: .5rem .6rem; border: 1px solid rgba(91, 42, 134, .3); border-radius: .6rem; box-sizing: border-box; color: #241a3a; }
.rt-boo-dlg-row { display: flex; gap: .5rem; align-items: center; margin-top: .3rem; }
.rt-boo-dlg-row select { margin-top: 0; }
.rt-boo-dlg-boo { background: #f26b1d !important; color: #fff !important; }
.rt-boo-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); z-index: 9700; padding: .6rem 1rem; border-radius: 999px; background: #5b2a86; color: #fff; font-weight: 700; font-size: .9rem; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.rt-boo-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.rt-boo-toast.is-bad { background: #b3261e; }

/* ---- The tracker: view switch, week banners, themed ghosts, no-school days --- */
.rt-boo-views { display: inline-flex; gap: 6px; margin: 16px auto 0; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); position: relative; z-index: 1; }
.rt-boo-view-btn { border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 800; font-size: 0.9rem; color: var(--boo-cream); background: transparent; cursor: pointer; }
.rt-boo-view-btn i { margin-right: 4px; color: var(--boo-orange-soft); }
.rt-boo-view-btn[aria-selected="true"] { background: var(--boo-orange); color: #fff; box-shadow: 0 6px 16px rgba(242, 107, 29, 0.4); }
.rt-boo-view-btn[aria-selected="true"] i { color: #fff; }
.rt-boo-view[hidden] { display: none; }
.rt-boo-sound { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0 8px; padding: 9px 14px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 0.9rem; color: var(--boo-cream); background: rgba(255, 255, 255, 0.1); cursor: pointer; vertical-align: top; position: relative; z-index: 1; -webkit-tap-highlight-color: transparent; }
.rt-boo-sound i { color: var(--boo-orange-soft); }
.rt-boo-sound[aria-pressed="true"] { background: var(--boo-purple); color: #fff; box-shadow: 0 6px 16px rgba(91, 42, 134, 0.45); }
.rt-boo-sound[aria-pressed="true"] i { color: var(--boo-orange-soft); animation: rt-boo-float 1.6s ease-in-out infinite; }
.rt-boo-week {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 2px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--boo-cream);
}
.rt-boo-week i { color: var(--boo-orange-soft); }
.rt-boo-week b { color: #fff; }
.rt-boo-week span { margin-left: auto; opacity: 0.75; font-size: 0.8rem; }
.rt-boo-ghosty { position: relative; display: inline-block; }
.rt-boo-ghosty .fa-ghost { font-size: 24px; color: #fff; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); animation: rt-boo-float 3s ease-in-out infinite; }
.rt-boo-ghosty .rt-boo-acc { position: absolute; right: -7px; bottom: -3px; font-size: 10px; padding: 2px; border-radius: 50%; background: var(--boo-orange); color: #fff; }
.rt-boo-day--w2 .rt-boo-ghosty .fa-ghost { color: #fff6e9; }
.rt-boo-day--w3 .rt-boo-ghosty .fa-ghost { color: #ffe3c2; }
.rt-boo-day--w4 .rt-boo-ghosty .fa-ghost { color: #e9dcff; }
.rt-boo-day--w5 .rt-boo-ghosty .fa-ghost { color: #fff1a8; }
.rt-boo-day--holiday { opacity: 0.7; background: rgba(255, 255, 255, 0.04); }
.rt-boo-day--holiday .rt-boo-day-art { flex-direction: column; gap: 2px; }
.rt-boo-day--holiday .rt-boo-day-art i { font-size: 18px; color: #c9c2dd; }
.rt-boo-day--holiday .rt-boo-day-art small { font-size: 0.55rem; letter-spacing: 0.04em; text-transform: uppercase; color: #c9c2dd; }
.rt-boo-yard .rt-boo-grid .rt-boo-day-art b { font-size: 0.75rem; color: var(--boo-orange-soft); }

/* ---- Spooky Mode: the path through the yard --------------------------------- */
.rt-boo-map { position: relative; max-width: 860px; margin: 0 auto; }
/* The ground: night grass and mossy earth, with old stones, crosses and
   tufts scattered through it, and low fog drifting across (a graveyard the
   trail cuts through, not a game board). The bands only tint it. */
.rt-boo-map-band {
  position: absolute;
  left: -22px;
  right: -22px;
  border-radius: 18px;
  background-color: #1d2b1c;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150' viewBox='0 0 240 150'%3E%3Cg fill='none' stroke='%23a9b7a0' stroke-opacity='.22' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 40v-16M12 30h12'/%3E%3Cpath d='M206 118v-14M201 110h10'/%3E%3Cpath d='M120 22c0-7 12-7 12 0v10h-12z'/%3E%3Cpath d='M60 128c0-6 10-6 10 0v8H60z'/%3E%3C/g%3E%3Cg fill='none' stroke='%237fa26a' stroke-opacity='.28' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M40 96l-3-8M44 96l1-9M48 96l4-7'/%3E%3Cpath d='M170 48l-3-7M174 48l1-8M178 48l4-6'/%3E%3Cpath d='M98 140l-3-7M102 140l1-8M106 140l4-6'/%3E%3Cpath d='M220 20l-3-7M224 20l1-8M228 20l4-6'/%3E%3Cpath d='M10 110l-3-7M14 110l1-8M18 110l4-6'/%3E%3C/g%3E%3Cg fill='%23c9b89a' fill-opacity='.18'%3E%3Ccircle cx='140' cy='84' r='1.6'/%3E%3Ccircle cx='72' cy='30' r='1.2'/%3E%3Ccircle cx='190' cy='140' r='1.4'/%3E%3Ccircle cx='30' cy='70' r='1'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(circle at 30% 20%, rgba(70, 110, 60, 0.35), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(60, 50, 40, 0.5), transparent 50%),
    repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.08) 0 6px, transparent 6px 17px),
    linear-gradient(180deg, #1c2a1b 0%, #223121 45%, #2a2a1f 100%);
  background-size: 240px 150px, auto, auto, auto, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -18px 30px -18px rgba(0, 0, 0, 0.5);
}
.rt-boo-map-band--0 { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
.rt-boo-map-band--1 { background-position: 120px 30px, 0 0, 0 0, 0 0, 0 0, 0 0; filter: hue-rotate(-8deg) brightness(1.05); }
.rt-boo-map-band--2 { background-position: 60px 80px, 0 0, 0 0, 0 0, 0 0, 0 0; filter: brightness(0.92); }
/* Low fog drifting over the ground, under the trail and stops. */
.rt-boo-map-band::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 70% 30% at 20% 90%, rgba(255, 255, 255, 0.09), transparent 70%), radial-gradient(ellipse 60% 26% at 85% 30%, rgba(255, 255, 255, 0.07), transparent 70%); pointer-events: none; }
.rt-boo-trail-edge { opacity: 0.95; }
.rt-boo-trail-worn { opacity: 0.6; }
/* The rough-edge filter is desktop only: phones draw the trail clean and fast. */
@media (max-width: 600px), (prefers-reduced-motion: reduce) { .rt-boo-path g[filter] { filter: none; } }
.rt-boo-band-label { position: absolute; left: 4px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(27, 20, 48, 0.7); font-size: 0.78rem; color: var(--boo-cream); backdrop-filter: blur(2px); }
.rt-boo-band-label i { color: var(--boo-orange-soft); }
.rt-boo-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt-boo-node {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.rt-boo-node .rt-boo-day-art { min-height: 0; font-size: 22px; }
.rt-boo-node .rt-boo-ghosty .fa-ghost { font-size: 20px; }
.rt-boo-node-num { position: absolute; top: 100%; margin-top: 5px; white-space: nowrap; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; color: var(--boo-cream); text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); }
.rt-boo-node .rt-boo-day-fest { top: -6px; right: -8px; }
.rt-boo-node.rt-boo-day--moon { opacity: 0.55; width: 46px; height: 46px; }
.rt-boo-node.rt-boo-day--moon .rt-boo-day-art i { font-size: 16px; color: #ffe9c2; }
.rt-boo-node.rt-boo-day--house { background: radial-gradient(circle at 50% 40%, rgba(242, 107, 29, 0.55), rgba(242, 107, 29, 0.2)); border-color: var(--boo-orange); }
.rt-boo-node.rt-boo-day--house .rt-boo-day-art i { color: var(--boo-orange-soft); filter: drop-shadow(0 0 8px rgba(255, 176, 102, 0.8)); }
a.rt-boo-node.rt-boo-day--house:hover, a.rt-boo-node.rt-boo-day--house:focus-visible { transform: translate(-50%, -50%) scale(1.1); }
a.rt-boo-node.rt-boo-day--house:hover .rt-boo-day-art i { animation: rt-boo-wiggle 0.5s ease-in-out infinite; }
.rt-boo-node.rt-boo-day--ghost { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.rt-boo-node.rt-boo-day--missed { background: rgba(0, 0, 0, 0.25); }
.rt-boo-node.rt-boo-day--missed .rt-boo-stone { width: 22px; height: 26px; font-size: 7px; }
.rt-boo-node.rt-boo-day--holiday { width: 52px; height: 52px; background: rgba(255, 255, 255, 0.05); border-style: dashed; }
.rt-boo-node.rt-boo-day--holiday .rt-boo-day-art i { font-size: 16px; }
.rt-boo-node.rt-boo-day--holiday .rt-boo-day-art small { display: none; }
.rt-boo-node.rt-boo-day--today { outline: 3px solid var(--boo-orange-soft); outline-offset: 3px; animation: rt-boo-pulse 1.8s ease-in-out infinite; }
.rt-boo-node.rt-boo-day--halloween { background: radial-gradient(circle, rgba(242, 107, 29, 0.6), rgba(91, 42, 134, 0.5)); border-color: var(--boo-orange); }
@keyframes rt-boo-pulse { 0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 176, 102, 0.5); } 50% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(255, 176, 102, 0); } }
@media (max-width: 560px) {
  .rt-boo-node { width: 46px; height: 46px; }
  .rt-boo-node .rt-boo-day-art, .rt-boo-node .rt-boo-ghosty .fa-ghost { font-size: 16px; }
  .rt-boo-node-num { font-size: 0.58rem; }
  .rt-boo-node.rt-boo-day--moon { width: 36px; height: 36px; }
  .rt-boo-node.rt-boo-day--holiday { width: 40px; height: 40px; }
  .rt-boo-band-label { font-size: 0.68rem; padding: 3px 8px; }
  .rt-boo-map-band { left: -12px; right: -12px; }
}

/* ---- The Haunted House at the end -------------------------------------------- */
.rt-boo-finale { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; max-width: 860px; margin: 26px auto 0; padding: 22px 22px 18px; border-radius: 18px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
@media (min-width: 720px) { .rt-boo-finale { grid-template-columns: 220px 1fr; text-align: left; } }
.rt-boo-finale-words h3 { margin: 4px 0 8px; font-family: var(--boo-font); font-weight: 400; font-size: 1.7rem; color: var(--boo-orange-soft); letter-spacing: 0.02em; }
.rt-boo-finale-words p { margin: 0; color: rgba(255, 255, 255, 0.88); line-height: 1.5; }
.rt-boo-finale-words .rt-boo-kicker { margin-bottom: 2px; }
.rt-boo-house { position: relative; width: 200px; height: 190px; margin: 0 auto; }
.rt-boo-house-moon { position: absolute; top: 4px; right: 6px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 38% 38%, #fffdf5, #ffd39a); box-shadow: 0 0 20px 6px rgba(255, 214, 160, 0.35); }
.rt-boo-house-chimney { position: absolute; left: 132px; top: 38px; width: 18px; height: 34px; background: #2a1f47; border-radius: 3px 3px 0 0; }
.rt-boo-house-roof { position: absolute; left: 30px; top: 40px; width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 56px solid #3a2a60; filter: drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.08)); }
.rt-boo-house-body { position: absolute; left: 44px; top: 94px; width: 112px; height: 72px; background: #2a1f47; border-radius: 2px 2px 0 0; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.3); }
.rt-boo-house-win { position: absolute; width: 18px; height: 18px; background: #ffb066; border-radius: 3px; box-shadow: 0 0 14px 4px rgba(255, 176, 102, 0.55); animation: rt-boo-flicker 2.6s ease-in-out infinite; }
.rt-boo-house-win:nth-child(1) { left: 12px; top: 12px; }
.rt-boo-house-win:nth-child(2) { right: 12px; top: 12px; animation-delay: 0.7s; }
.rt-boo-house-win:nth-child(3) { left: 12px; top: 42px; animation-delay: 1.3s; }
.rt-boo-house-win:nth-child(4) { right: 12px; top: 42px; animation-delay: 0.3s; }
.rt-boo-house-door { position: absolute; left: 46px; bottom: 0; width: 20px; height: 30px; background: #120c22; border-radius: 10px 10px 0 0; box-shadow: inset 0 0 0 2px rgba(255, 176, 102, 0.35); }
.rt-boo-house-ghost { position: absolute; left: -4px; top: 108px; width: 50px; height: 50px; padding: 0; border: 0; background: transparent; font-size: 30px; color: #fff; cursor: pointer; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); animation: rt-boo-float 3.2s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.rt-boo-house-ghost i { display: inline-block; }
.rt-boo-house-ghost::after { content: "?"; position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--boo-orange); color: #fff; font: 800 12px/18px var(--rt-font-body, system-ui, sans-serif); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.rt-boo-house-ghost:focus-visible { outline: 2px solid var(--boo-orange-soft); outline-offset: 4px; border-radius: 50%; }
/* Three check slots above the stones: one lights per correct answer, left to right. */
.rt-boo-checks { position: absolute; left: 30px; right: 10px; bottom: 30px; display: flex; justify-content: space-between; padding: 0 1px; }
.rt-boo-checks i { width: 18px; height: 18px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.25); transition: transform 0.25s ease, background 0.25s ease; }
.rt-boo-checks i.is-on { border-color: #2ecc71; background: #2ecc71 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 0 12px 3px rgba(46, 204, 113, 0.55); animation: rt-boo-hop 0.5s ease-out; }
/* The quiz: the ghost's card over the page. */
.rt-boo-quiz { border: 0; padding: 0; background: transparent; max-width: min(92vw, 440px); width: 100%; }
.rt-boo-quiz::backdrop { background: rgba(15, 10, 28, 0.72); backdrop-filter: blur(2px); }
.rt-boo-quiz-card { position: relative; border-radius: 22px; padding: 26px 22px 22px; background: linear-gradient(170deg, var(--boo-purple) 0%, var(--boo-purple-deep) 100%); color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); text-align: center; }
.rt-boo-quiz-ghost { font-size: 44px; color: #fff; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45)); animation: rt-boo-float 3s ease-in-out infinite; }
.rt-boo-quiz-step { margin: 8px 0 2px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--boo-orange-soft); font-weight: 800; }
.rt-boo-quiz h3 { margin: 0 0 14px; font-family: var(--boo-font); font-weight: 400; font-size: 1.6rem; line-height: 1.15; color: #fff; letter-spacing: 0.02em; }
.rt-boo-quiz-q { margin: 0 0 14px; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.rt-boo-quiz-answers { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rt-boo-quiz-a { width: 100%; padding: 11px 14px; border: 2px solid rgba(255, 255, 255, 0.18); border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-weight: 700; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .rt-boo-quiz-a:hover { border-color: var(--boo-orange-soft); background: rgba(255, 255, 255, 0.14); } }
.rt-boo-quiz-a[disabled] { cursor: default; opacity: 0.75; }
.rt-boo-quiz-a.is-right { border-color: #2ecc71; background: rgba(46, 204, 113, 0.28); opacity: 1; }
.rt-boo-quiz-a.is-wrong { border-color: #ff6b6b; background: rgba(255, 107, 107, 0.22); opacity: 1; }
.rt-boo-quiz-note { min-height: 1.4em; margin: 12px 0 0; font-weight: 700; color: var(--boo-cream); }
.rt-boo-quiz-actions { margin: 14px 0 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.rt-boo-quiz .rt-btn { border-radius: 999px; }
.rt-boo-quiz-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 18px; cursor: pointer; }
.rt-boo-quiz-badge { font-size: 64px; color: var(--boo-orange-soft); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45)); animation: rt-boo-hop 0.7s ease-out; }
@media (max-width: 560px) {
  .rt-boo-quiz-card { padding: 22px 16px 18px; }
  .rt-boo-quiz h3 { font-size: 1.4rem; }
}
.rt-boo-house-yard { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 10px 0 30px; border-bottom: 3px solid #2f3d26; }
.rt-boo-house-yard .rt-boo-stone { width: 18px; height: 22px; font-size: 6px; }
@keyframes rt-boo-flicker { 0%, 100% { opacity: 1; } 45% { opacity: 0.75; } 55% { opacity: 1; } 70% { opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) { .rt-boo-house-win, .rt-boo-house-ghost, .rt-boo-quiz-ghost, .rt-boo-checks i.is-on, .rt-boo-ghosty .fa-ghost, .rt-boo-node.rt-boo-day--today { animation: none; } }

/* ---- Spooky Mode props: the scenery you can poke --------------------------- */
.rt-boo-prop {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s ease;
}
.rt-boo-prop:focus-visible { transform: translate(-50%, -50%) scale(1.15); outline: none; }
@media (hover: hover) { .rt-boo-prop:hover { transform: translate(-50%, -50%) scale(1.15); } }
.rt-boo-prop i { display: inline-block; }
/* The cat is a dark glyph on dark ground: its white rim is a text-shadow on
   the glyph itself, not a second filter on the button (a filter stack plus an
   animated child made the whole cat drop out on iPhone taps, 9-26). */
.rt-boo-prop--cat { color: #1b1430; }
.rt-boo-prop--cat i { text-shadow: 0 0 2px #fff, 0 0 4px #fff, 1px 1px 0 #fff, -1px -1px 0 #fff; }
/* Tapping the fun things a lot must never zoom the page (Furi, 9-26). */
.rt-boo-yard, .rt-boo-yard * { touch-action: manipulation; }
.rt-boo-prop, .rt-boo-node, .rt-boo-views button { -webkit-tap-highlight-color: transparent; }
.rt-boo-prop--spider { color: #2a1f47; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.85)); }
.rt-boo-prop--spider::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 40px; background: rgba(255, 255, 255, 0.5); }
.rt-boo-prop--hat { color: var(--boo-purple); filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8)); }
.rt-boo-prop--crow { color: #120c22; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.85)); }
.rt-boo-prop--frog { color: #58c46a; }
.rt-boo-prop--broom { color: #c8935a; }
.rt-boo-prop--cloud { color: #ffe9c2; }
.rt-boo-prop--candy { color: #ff6b8a; }
.rt-boo-prop--cookie { color: #d9a066; }
.rt-boo-prop--tree { color: #2f6b3a; font-size: 30px; }
.rt-boo-prop--bug { color: #7fd1ff; font-size: 20px; }
.rt-boo-prop--stone .rt-boo-stone { width: 24px; height: 28px; font-size: 7px; }
/* Reactions */
.rt-boo-prop.is-play.rt-boo-prop--cat i { animation: rt-boo-hop 0.6s ease-out; }
.rt-boo-prop.is-play.rt-boo-prop--frog i { animation: rt-boo-hop 0.5s ease-out 2; }
.rt-boo-prop.is-play.rt-boo-prop--spider { animation: rt-boo-drop 1.4s ease-in-out; }
.rt-boo-prop.is-play.rt-boo-prop--crow i { animation: rt-boo-fly 1.6s ease-in-out; }
.rt-boo-prop.is-play.rt-boo-prop--hat i, .rt-boo-prop.is-play.rt-boo-prop--cloud i { animation: rt-boo-spin-glow 1s ease-in-out; }
.rt-boo-prop.is-play.rt-boo-prop--broom i { animation: rt-boo-sweep 0.8s ease-in-out; }
.rt-boo-prop.is-play.rt-boo-prop--candy i, .rt-boo-prop.is-play.rt-boo-prop--cookie i { animation: rt-boo-hop 0.5s ease-out; }
.rt-boo-prop.is-play.rt-boo-prop--tree i { animation: rt-boo-shiver 0.7s ease-in-out; }
.rt-boo-prop.is-play.rt-boo-prop--bug i { animation: rt-boo-scurry 0.9s ease-in-out; }
.rt-boo-prop.is-play.rt-boo-prop--stone .rt-boo-stone { animation: rt-boo-shiver 0.5s ease-in-out; }
@keyframes rt-boo-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-16px) scale(1.1); } 100% { transform: translateY(0); } }
@keyframes rt-boo-drop { 0% { margin-top: 0; } 45% { margin-top: var(--drop, 42px); } 100% { margin-top: 0; } }
@keyframes rt-boo-fly { 0% { transform: translate(0, 0); } 50% { transform: translate(var(--fly-x, -60px), -50px) scale(0.8); } 100% { transform: translate(0, 0); } }
.rt-boo-prop[style*="left:2.5%"] { --fly-x: 60px; }
.rt-boo-prop[style*="left:97.5%"] { --fly-x: -60px; }
@keyframes rt-boo-spin-glow { 0% { transform: rotate(0); filter: drop-shadow(0 0 0 rgba(255, 214, 160, 0)); } 50% { transform: rotate(20deg) scale(1.2); filter: drop-shadow(0 0 12px rgba(255, 214, 160, 0.9)); } 100% { transform: rotate(0); } }
@keyframes rt-boo-sweep { 0% { transform: rotate(0); } 25% { transform: rotate(-30deg); } 75% { transform: rotate(25deg); } 100% { transform: rotate(0); } }
@keyframes rt-boo-shiver { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px) rotate(-3deg); } 40% { transform: translateX(4px) rotate(3deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
@keyframes rt-boo-scurry { 0% { transform: translateX(0); } 50% { transform: translateX(var(--fly-x, 28px)) rotate(20deg); } 100% { transform: translateX(0); } }
.rt-boo-bubble {
  position: absolute;
  z-index: 6;
  transform: translate(-50%, -100%);
  padding: 6px 10px;
  border-radius: 12px;
  background: #fff;
  color: var(--boo-ink, #241a3a);
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  animation: rt-boo-bubble 1.5s ease-out forwards;
  pointer-events: none;
}
.rt-boo-bubble::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
.rt-boo-bubble.is-left { --bx: -16px; }
.rt-boo-bubble.is-left::after { left: 16px; }
.rt-boo-bubble.is-right { --bx: calc(-100% + 16px); }
.rt-boo-bubble.is-right::after { left: auto; right: 10px; }
@keyframes rt-boo-bubble { 0% { opacity: 0; transform: translate(var(--bx, -50%), -80%); } 15% { opacity: 1; transform: translate(var(--bx, -50%), -110%); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--bx, -50%), -140%); } }
.rt-boo-spark { position: absolute; z-index: 5; width: 6px; height: 6px; border-radius: 50%; background: #ffe9c2; pointer-events: none; animation: rt-boo-spark 0.9s ease-out forwards; }
@keyframes rt-boo-spark { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
@media (max-width: 560px) {
  .rt-boo-prop { width: 34px; height: 34px; font-size: 19px; }
  .rt-boo-bubble { font-size: 0.78rem; padding: 5px 8px; max-width: 150px; white-space: normal; text-align: center; }
  .rt-boo-prop--tree { font-size: 24px; }
  .rt-boo-prop--stone .rt-boo-stone { width: 18px; height: 22px; font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) { .rt-boo-prop.is-play i, .rt-boo-prop.is-play, .rt-boo-spark { animation: none; } }
