/* December only; no global theme overrides or layout shifts in the pet room. */
.gp-christmas-scene[hidden], .gp-advent-parent[hidden] { display: none; }

.gp-christmas-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.gp-bethlehem-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 7% 8%, #fff1cc 1px, transparent 2px),
    radial-gradient(circle at 30% 12%, #f9e7bb 1px, transparent 2px),
    radial-gradient(circle at 52% 6%, #fef3d6 1px, transparent 2px),
    radial-gradient(circle at 70% 18%, #fff3d3 1px, transparent 2px),
    radial-gradient(circle at 78% 8%, #f9e7bb 1px, transparent 2px),
    radial-gradient(circle at 92% 28%, #f9e7bb 1px, transparent 2px),
    radial-gradient(circle at 21% 35%, #fff 1px, transparent 2px),
    linear-gradient(180deg, #263052 0%, #41456e 25%, rgb(95 79 124 / 35%) 60%, transparent 88%);
}
.gp-bethlehem-star {
  position: absolute;
  top: clamp(4.25rem, 22%, 5.75rem);
  left: clamp(1.1rem, 8%, 3.25rem);
  font-size: clamp(1.65rem, 5vw, 2.4rem);
  line-height: 1;
  color: #fff1c3;
  text-shadow: 0 0 .85rem #ffcc7b;
}
/* Static on every device, including for reduced-motion visitors. */
.gp-advent-card {
  --advent-ink: #353142;
  --advent-plum: #63405c;
  --advent-paper: #fff9ed;
  color: var(--advent-ink);
  background: linear-gradient(135deg, var(--advent-paper), #f8edf3);
  border: 1px solid #e8d3c6;
  border-radius: 22px;
  padding: clamp(1rem, 4vw, 1.5rem);
  margin-block: 1rem;
  min-width: 0;
}
.gp-advent-card h2, .gp-advent-card h3 { color: var(--advent-plum); }
.gp-advent-card h2 { font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.2; }
.gp-advent-card p { margin-block: .5rem; line-height: 1.5; }
.gp-advent-card blockquote {
  margin: .7rem 0 .25rem;
  border-inline-start: 3px solid #c98b55;
  padding-inline-start: .75rem;
  line-height: 1.55;
}
.gp-advent-card .gp-advent-kicker { font-size: .8rem; font-weight: 700; color: #704737; }
.gp-advent-source { font-size: .84rem; }
.gp-advent-source a { color: #573852; text-decoration: underline; }
.gp-advent-home, .gp-advent-shortcut {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem .85rem;
  padding: .65rem .85rem;
}
.gp-advent-home { margin-block: 0 .65rem; }
.gp-advent-home h2 { margin: 0; font-size: clamp(1.05rem, 4vw, 1.35rem); }
.gp-advent-home p, .gp-advent-shortcut p { margin: .15rem 0 0; font-size: .85rem; }
.gp-advent-home-actions { display: flex; flex-wrap: wrap; gap: .35rem .55rem; }
.gp-advent-open {
  min-height: 44px;
  padding: .45rem .75rem;
  border: 1px solid #63405c;
  border-radius: 11px;
  background: #63405c;
  color: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
}
.gp-advent-toggle {
  min-height: 44px;
  border: 1px solid #937180;
  border-radius: 11px;
  background: #fffaf6;
  color: #4d3345;
  padding: .45rem .7rem;
  font: inherit;
  font-size: .82rem;
}
.gp-advent-days {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: .35rem;
  margin: .9rem 0 1.2rem;
  max-width: 29rem;
}
.gp-advent-days button {
  min-width: 0;
  min-height: 44px;
  border: 1px solid #a68591;
  border-radius: 10px;
  background: #fffbf8;
  color: #4d3345;
  font-weight: 700;
}
.gp-advent-days button[aria-pressed="true"] { background: #63405c; color: white; border-color: #63405c; }
.gp-advent-days button[data-gp-advent-locked] { color: #6f6371; background: #f1e9ec; border-color: #b6a5ae; }
.gp-advent-card .gp-advent-unlock-note { min-height: 1.5em; color: #704737; font-weight: 700; }
.gp-advent-calendar [data-gp-advent-detail] { scroll-margin-block-start: 5rem; border-radius: 12px; }
.gp-advent-calendar .gp-advent-highlight { box-shadow: 0 0 0 3px #b96543; }
.gp-advent-card :focus-visible { outline: 3px solid #84512b; outline-offset: 2px; }
.gp-advent-card fieldset { margin-top: .9rem; padding: .65rem .7rem .3rem; min-width: 0; border: 1px solid #dfc8d0; border-radius: 12px; }
.gp-advent-card legend { color: #573852; font-weight: 700; padding: 0 .2rem; }
.gp-advent-options { display: flex; flex-wrap: wrap; gap: .35rem; }
.gp-advent-options .secondary { min-height: 44px; text-align: left; }
.gp-advent-feedback { min-height: 1.5em; }
.gp-advent-family { padding-top: .4rem; }
.gp-advent-parent { margin-top: 0; }
.gp-advent-parent select { min-height: 44px; }
/* The existing phone layout uses flex ordering for the scene and care buttons. */
@media (max-width: 620px) {
  .home-grid > div:first-child > [data-gp-advent="home"] { order: -1; }
}
[data-gp-advent="home"]:empty, [data-gp-advent="faith"]:empty, [data-gp-advent="shortcut"]:empty { display: none; }
