/* Local display fonts (WOFF2 Latin subsets with full TTF fallback; also used on the letter sheets). */
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2"),
       url("../fonts/cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair.woff2") format("woff2"),
       url("../fonts/playfair.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* North Pole Reply — realistic scenery, parent frame, home effects, wax-seal reveal.
   Photo scenes are local assets. Animations are layered CSS/canvas overlays.
   All motion is disabled when the user prefers reduced motion. */

/* —— Shared type & gold buttons to match the approved mockups —— */
.theme-home .brand,
.theme-parent .brand,
.scene-title {
  font-family: Cinzel, "Times New Roman", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-gold {
  appearance: none;
  border: 1px solid #784810;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #481c0c;
  text-decoration: none;
  background: linear-gradient(180deg, #fce8aa 0%, #d8aa44 48%, #a86c1c 100%);
  box-shadow: 0 6px 16px rgba(40, 16, 0, 0.35), inset 0 1px 0 rgba(255, 244, 210, 0.8);
}
.btn-gold:hover, .btn-gold:focus-visible {
  text-decoration: none;
  filter: brightness(1.05);
  outline: 2px solid #f0d78c;
  outline-offset: 2px;
}
.btn-gold:active { transform: translateY(1px); }

/* Sound toggle — small, off by default, injected by js/scene.js */
.sound-toggle {
  appearance: none;
  border: 1px solid rgba(212, 168, 75, 0.7);
  background: rgba(20, 8, 4, 0.45);
  color: #f0d78c;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: static;
}
.sound-toggle[aria-pressed="true"] {
  background: rgba(184, 138, 48, 0.85);
  color: #2a1c12;
}
body.theme-parent .sound-toggle,
body.theme-kid .sound-toggle {
  background: rgba(90, 32, 22, 0.12);
  color: #6b1a14;
  border-color: #c9a227;
}
body.theme-parent .sound-toggle[aria-pressed="true"],
body.theme-kid .sound-toggle[aria-pressed="true"] {
  background: #c9a227;
  color: #2a1c12;
}

/* =====================================================================
   HOME — full-viewport study photo + layered effects
   Positions are percentages of the approved 9:16 study still.
   ===================================================================== */
body.theme-home {
  background: #120a06;
  color: #f6ecd8;
  min-height: 100%;
}
body.theme-home .page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  gap: 0;
  position: relative;
}
.scene-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #120a06;
}
/* The photo + effects stay in a 9:16 box. On a tall phone the box is wider than the
   screen and the sides are clipped, so overlays stay lined up. On a wide desktop the
   box is letterboxed. The UI sits on the visible viewport, not on the clipped sides. */
.scene-art {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: calc(100vh * 9 / 16);
  width: calc(100dvh * 9 / 16);
  flex: 0 0 auto;
  overflow: hidden;
}
.scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
  pointer-events: none;
}
/* Soft top and bottom veils so the title and button stay readable */
.scene-art::before,
.scene-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.scene-art::before {
  top: 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}
.scene-art::after {
  bottom: 0;
  height: 24%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
}

.scene-ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: calc(10px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.scene-ui > * { pointer-events: auto; }

.scene-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.scene-title {
  position: relative;
  z-index: 4;
  margin: 18px 0 0;
  text-align: center;
  font-size: clamp(1.35rem, 6.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #f0d78c;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.8);
}
.scene-title::after {
  content: "";
  display: block;
  width: 160px;
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, #d4a84b, transparent);
  position: relative;
}
.scene-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 4;
}
.scene-cta .btn-write,
.scene-cta .btn-gold {
  min-width: min(100%, 280px);
  font-size: 1.2rem;
  padding: 16px 32px;
}
.scene-note, .scene-ui .note, .scene-ui .site-footer {
  color: #ead9b8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.scene-ui .site-footer a { color: #f0d78c; }
.scene-ui .site-footer { margin-top: 8px; padding-top: 8px; }

/* Layered effects (positioned over the photo). Coordinates match the approved study still. */
.scene-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.scene-fx .fx {
  position: absolute;
  pointer-events: none;
}
.fx-quill canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* Candle flame only (no wax body). Sized to the photo wick; the original
   painted flame was removed from the still. Overflow is visible so the
   desk spill can reach the nearby wood. */
.fx-candle {
  left: 78.50%;
  top: 39.30%;
  width: 2.24%;
  height: 3.90%;
  overflow: visible;
  z-index: 3;
}
.candle-flame {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: npr-flame-move 3.8s ease-in-out infinite,
             npr-flame-flicker 2.8s ease-in-out infinite;
}
.flame-shadows,
.flame-top,
.flame-middle,
.flame-bottom {
  position: absolute;
  left: 50%;
  bottom: 0;
  pointer-events: none;
}
/* White teardrop core: 500% top radii, rounded base, skewY(-10deg).
   Gold and orange above; a touch of blue at the base; red/gold sides. */
.flame-bottom {
  width: 46%;
  height: 62%;
  bottom: 2%;
  background: #fff;
  border-radius: 500% 500% 40% 40%;
  transform: translateX(-50%) skewY(-10deg);
  box-shadow:
    0 -4px 6px 1px rgba(255, 200, 50, 0.75),
    0 -8px 10px 3px rgba(255, 140, 20, 0.4),
    0 2px 4px 0 #76daff,
    0 3px 6px 1px rgba(48, 83, 125, 0.65),
    0 1px 1px 0 #2c2b39,
    -3px 0 5px 0 rgba(200, 40, 10, 0.45),
    3px 0 5px 0 rgba(255, 180, 40, 0.4);
  animation: npr-flame-wobble 3.2s ease-in-out infinite;
}
.flame-middle {
  width: 70%;
  height: 78%;
  bottom: 4%;
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 72%,
    rgba(255, 246, 200, 0.15) 0%,
    rgba(255, 200, 60, 0.4) 42%,
    rgba(255, 120, 20, 0.28) 70%,
    transparent 82%);
  filter: blur(0.4px);
  transform: translateX(-50%);
  animation: npr-flame-move-left 4.6s ease-in-out infinite;
}
.flame-top {
  width: 80%;
  height: 90%;
  bottom: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 70%,
    transparent 28%,
    rgba(255, 180, 40, 0.22) 60%,
    transparent 80%);
  filter: blur(1px);
  transform: translateX(-50%);
}
.flame-shadows {
  width: 90%;
  height: 80%;
  bottom: 20%;
  border-radius: 50%;
  background: rgba(255, 170, 40, 0.18);
  filter: blur(2px);
  box-shadow: 0 0 8px 3px rgba(255, 160, 40, 0.35);
  transform: translateX(-50%);
  animation: npr-flame-up 4.4s ease-in-out infinite;
}
/* Subtle warm spill on the nearby desk — not a 150px orange blast. */
.fx-candle .desk-spill {
  position: absolute;
  left: 50%;
  top: 70%;
  width: 380%;
  height: 260%;
  transform: translateX(-45%);
  background: radial-gradient(ellipse at 45% 0%,
    rgba(255, 180, 60, 0.28) 0%,
    rgba(255, 140, 30, 0.10) 42%,
    transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
@keyframes npr-flame-move {
  0%, 100% { transform: translateX(-50%) skewX(2deg) skewY(5deg); }
  30% { transform: translateX(-50%) skewX(-2deg) skewY(2deg); }
  62% { transform: translateX(-50%) skewX(1.5deg) skewY(5deg); }
  82% { transform: translateX(-50%) skewX(-1deg) skewY(3deg); }
}
@keyframes npr-flame-move-left {
  0%, 100% { transform: translateX(-50%) skewX(0deg); }
  50% { transform: translateX(-50%) skewX(3deg); }
}
@keyframes npr-flame-up {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(-18%); opacity: 1; }
}
@keyframes npr-flame-wobble {
  0%, 100% { transform: translateX(-50%) skewY(-10deg) skewX(1deg); }
  40% { transform: translateX(-50%) skewY(-8deg) skewX(-2deg); }
  70% { transform: translateX(-50%) skewY(-12deg) skewX(2deg); }
}
/* Slow, irregular flicker — not a 0.1s blink. */
@keyframes npr-flame-flicker {
  0%, 100% { opacity: 1; }
  18% { opacity: 0.9; }
  36% { opacity: 1; }
  51% { opacity: 0.94; }
  68% { opacity: 0.86; }
  84% { opacity: 0.97; }
}
/* Tree lights — a cluster of twinkling dots */
.fx-tree {
  left: 38%;
  top: 8%;
  width: 32%;
  height: 40%;
}
.fx-tree .twinkle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffe48a;
  box-shadow: 0 0 8px 3px rgba(255, 210, 80, 0.85);
  animation: npr-twinkle 1.8s ease-in-out infinite;
}
.fx-tree .twinkle:nth-child(2n) { animation-duration: 2.3s; animation-delay: -0.5s; background: #ff6a5a; box-shadow: 0 0 8px 3px rgba(255, 80, 60, 0.7); }
.fx-tree .twinkle:nth-child(3n) { animation-duration: 1.6s; animation-delay: -1s; background: #9ad4ff; box-shadow: 0 0 8px 3px rgba(120, 190, 255, 0.7); }
@keyframes npr-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.7); }
}
/* Quill sparkles — a tight box around the glowing feather and nib.
   The warm gold glow is painted into the photograph; this layer is only motes. */
.fx-quill {
  left: 40%;
  top: 33%;
  width: 42%;
  height: 38%;
  overflow: visible;
}
.fx-quill canvas {
  position: absolute;
  inset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .candle-flame,
  .flame-shadows,
  .flame-bottom,
  .flame-middle,
  .flame-top,
  .fx-tree .twinkle,
  .btn-write, .btn-gold {
    animation: none !important;
    transition: none !important;
  }
  /* Hide the quill sparkle canvas. Candle and tree twinkles are already
     stopped by animation: none above. */
  .fx-quill canvas { display: none; }
}

/* =====================================================================
   KID PAGES — desk or workshop photo behind a parchment panel
   ===================================================================== */
/* Layering fix (2026-11-29): the dark colour lives on <html>, not <body>. When <body> had it,
   the body's own background painted over the fixed photo layer (body::before, z-index -1),
   so only a flat brown showed. age.html also sets class="npr-dark" on <html> for browsers without :has(). */
html.npr-dark,
html:has(body.theme-kid) {
  background: #1a120c;
}
body.theme-kid {
  background: transparent;
}
body.theme-kid::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #1a120c center top / cover no-repeat;
}
body.theme-desk::before { background-image: url("../img/scenes/desk-scroll.webp"); background-position: center 30%; }
body.theme-workshop::before { background-image: url("../img/scenes/workshop.webp"); background-position: center center; }
body.theme-kid .page {
  background: rgba(247, 236, 214, 0.94);
  border: 2px solid #c9a227;
  border-radius: 18px;
  min-height: 0;
  margin: 28px auto 32px;
  box-shadow: 0 16px 40px rgba(20, 8, 0, 0.45), inset 0 0 0 1px rgba(255, 244, 220, 0.7);
  /* A hint of a scroll: slightly worn parchment, not a plain card. */
  max-width: 440px;
  width: calc(100% - 28px);
}
body.theme-kid .page.page-wide {
  max-width: 720px;
}
body.theme-kid h1, body.theme-kid h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #6b1a14;
}

/* =====================================================================
   PARENT / GROWN-UP PAGES — merlot frame + cream parchment + gold holly border
   (from the approved 02-parent mockup)
   ===================================================================== */
body.theme-parent {
  background-color: #4a1218;
  color: #2a1c12;
}
/* Holly frame stays viewport-sized and never stretches with a long page.
   parent-frame.jpg (with webp when the browser supports it) is used as a fixed cover background. */
body.theme-parent::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #4a1218;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(90, 18, 18, 0.25), transparent 50%),
    image-set(url("../img/scenes/parent-frame.webp") type("image/webp"), url("../img/scenes/parent-frame.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.theme-parent .page {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 28px));
  background: rgba(247, 236, 214, 0.94);
  border: 1.5px solid rgba(201, 162, 39, 0.65);
  padding: 16px 14px 28px;
  margin-top: 16px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(20, 0, 0, 0.45);
  border-radius: 0;
}
@media (max-width: 420px) {
  body.theme-parent .page {
    padding: 14px 12px 22px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 20px);
  }
}
body.theme-parent .page.page-wide { padding-left: 20px; padding-right: 20px; }
body.theme-parent h1, body.theme-parent h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #7a2018;
  letter-spacing: 0.02em;
}
body.theme-parent .card {
  background: rgba(255, 248, 230, 0.9);
  border-color: #c9a227;
}
body.theme-parent .btn-primary {
  background: linear-gradient(180deg, #fce8aa 0%, #d8aa44 48%, #a86c1c 100%);
  color: #481c0c;
  box-shadow: 0 4px 12px rgba(80, 32, 0, 0.25);
}
body.theme-parent .field input,
body.theme-parent .field textarea,
body.theme-parent .field select {
  background: #fff8e6;
  border-color: #c4a05a;
}
body.theme-parent .pin-card,
.pin-overlay .pin-card {
  background: #f7ecd6;
  border: 2px solid #c9a227;
  box-shadow: 0 12px 32px rgba(40, 0, 0, 0.35);
}
.pin-overlay {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(90, 18, 18, 0.45), transparent 55%),
    rgba(42, 12, 12, 0.55);
}

/* styles.html uses .styles-page instead of .page */
body.theme-parent .styles-page {
  position: relative;
  z-index: 1;
  background: rgba(247, 236, 214, 0.94);
  border: 1.5px solid rgba(201, 162, 39, 0.65);
  border-radius: 0;
  margin: 16px auto 32px;
  box-shadow: 0 16px 40px rgba(20, 0, 0, 0.4);
}

/* =====================================================================
   WAX-SEAL REVEAL (flat 2D seal, screen only — letter-wrap stays printable)
   ===================================================================== */
.letter-reveal-stage {
  position: relative;
}
.seal-veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 18, 12, 0.28);
  backdrop-filter: blur(1.5px);
  border-radius: 4px;
}
.seal-veil[hidden] { display: none !important; }
.seal-open {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #f6ecd8;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.seal-open img, .seal-open svg, .seal-art {
  width: min(42vw, 180px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}
.seal-open:hover img, .seal-open:focus-visible img { transform: scale(1.04); }
.seal-open:focus-visible { outline: 2px solid #d4a84b; outline-offset: 6px; }
/* Split-apart animation: two halves of the 2D seal slide away */
.seal-veil.is-opening { animation: npr-veil-out 0.7s ease-in forwards; }
.seal-veil.is-opening .seal-half-left { animation: npr-seal-left 0.7s ease-in forwards; }
.seal-veil.is-opening .seal-half-right { animation: npr-seal-right 0.7s ease-in forwards; }
.seal-split {
  position: relative;
  width: min(42vw, 180px);
  height: min(42vw, 180px);
}
.seal-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.seal-half img, .seal-half .seal-art {
  width: min(42vw, 180px);
  height: min(42vw, 180px);
  max-width: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}
.seal-half-left { left: 0; }
.seal-half-right { right: 0; }
.seal-half-right img, .seal-half-right .seal-art { margin-left: -100%; }
@keyframes npr-seal-left {
  to { transform: translate(-70%, 20%) rotate(-18deg); opacity: 0; }
}
@keyframes npr-seal-right {
  to { transform: translate(70%, 24%) rotate(16deg); opacity: 0; }
}
@keyframes npr-veil-out {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .seal-veil.is-opening,
  .seal-veil.is-opening .seal-half-left,
  .seal-veil.is-opening .seal-half-right {
    animation: none !important;
  }
}

@media print {
  body.theme-kid::before,
  body.theme-parent,
  body.theme-parent::before,
  body.theme-home,
  .scene-fx, .scene-photo, .sound-toggle, .seal-veil {
    display: none !important;
    background: none !important;
  }
  body.theme-kid, body.theme-parent, body.theme-home {
    background: #fff !important;
  }
  body.theme-kid .page, body.theme-parent .page, body.theme-home .page {
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }
}


/* =====================================================================
   LETTER FLOW (age.html) — Santa's walnut desk from above (approved mockup option 2, 2026-11-29)
   No tan panel: the cream cards sit right on the desk photo; text outside the cards is gold/cream.
   ===================================================================== */
body.theme-letterdesk::before {
  background-image: url("../img/scenes/desk-top.jpg");
  background-image: image-set(url("../img/scenes/desk-top.webp") type("image/webp"), url("../img/scenes/desk-top.jpg") type("image/jpeg"));
  background-position: center center;
  background-color: #1a120c;
}
@media (max-width: 480px) {
  body.theme-letterdesk::before {
    background-image: url("../img/scenes/desk-top.jpg");
    background-image: image-set(url("../img/scenes/desk-top-480.webp") type("image/webp"), url("../img/scenes/desk-top.jpg") type("image/jpeg"));
  }
}
body.theme-letterdesk .page {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 10px auto 28px;
  width: calc(100% - 36px);
}
body.npr-after-send .flow-title,
body.npr-after-send .flow-intro {
  display: none !important;
}
body.theme-letterdesk .flow-brand {
  margin: 4px 0 0;
  text-align: center;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0d78c;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

body.theme-letterdesk .flow-title {
  margin: 8px 0 0;
  text-align: center;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: #f6dc8e;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  font-weight: 700;
}
body.theme-letterdesk .flow-intro {
  margin: 6px auto 8px;
  max-width: 36em;
  color: #fbefd6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.scene-ui .scene-copy {
  color: #fbefd6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 36em;
  margin: 8px auto 0;
  text-align: center;
}
/* Headings and lines that sit on the photo (not inside a card). */
body.theme-letterdesk .on-dark,
body.theme-letterdesk .flow-step > h2,
body.theme-letterdesk .sent-card h2 {
  color: #f6dc8e;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
body.theme-letterdesk .flow-step > .lede,
body.theme-letterdesk .sent-card .lede,
body.theme-letterdesk .flow-step > .note {
  color: #fbefd6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
body.theme-letterdesk .flow-step > .lede strong { color: #f6dc8e; }
body.theme-letterdesk .card {
  background: rgba(255, 250, 238, 0.96);
  border-color: #d8b24a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
body.theme-letterdesk .card h2 { color: #6b1a14; text-shadow: none; }
body.theme-letterdesk .topbar .btn-ghost,
body.theme-letterdesk .letter-actions .dock-home,
body.theme-letterdesk .letter-actions .sound-toggle {
  background: rgba(255, 248, 232, 0.94);
  color: #6b1a14;
  border-color: #c9a227;
}
body.theme-letterdesk .sound-toggle[aria-pressed="true"] { background: #c9a227; color: #2a1c12; }
body.theme-letterdesk .site-footer a { color: #f6dc8e; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }
body.theme-letterdesk .btn-grownups {
  background: rgba(255, 248, 232, 0.94);
  color: #1a5c38;
  border: 2px solid #1a5c38;
}
