/* Advent Quest: a winter evening. Warm paper, pine, berry and gold by day; a deep night sky in dark mode.
   Headings are in the system's rounded face (friendly, and nothing to download). */
:root {
  --bg: #f7f2e8; --card: #fffdf9; --ink: #1c2a2b; --soft: #5d6b69; --line: #e7dece;
  --pine: #1c6b52; --pine-deep: #124836; --berry: #c5303d; --berry-deep: #9f2230; --gold: #e2a626; --night: #14233f; --night-2: #23407a;
  --link: #2a5db4; --good-bg: #e2f1e8; --bad-bg: #fbe4e2; --hint-bg: #fdf1cf;
  --red: var(--berry); --green: var(--pine); --blue: var(--link);
  --radius: 20px; --shadow: 0 1px 2px rgba(28, 42, 43, .06), 0 8px 24px rgba(28, 42, 43, .07);
  --display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1a1d; --card: #16272b; --ink: #f2f5ee; --soft: #a8b9b4; --line: #284044; --pine: #2f9a76; --pine-deep: #1c6b52; --berry: #e04e5b; --berry-deep: #c5303d;
    --link: #93b6ff; --good-bg: #173a2e; --bad-bg: #44222a; --hint-bg: #3b3216; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3); }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }   /* on body too: a page wrapper may set its own text colour there */
body { min-height: 100vh; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  background-image: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .7) 0 2px, transparent 3px), radial-gradient(circle at 78% 4%, rgba(255, 255, 255, .6) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 46% 13%, rgba(255, 255, 255, .5) 0 1.5px, transparent 2.5px), radial-gradient(circle at 90% 18%, rgba(255, 255, 255, .6) 0 2px, transparent 3px);
  background-size: 340px 300px; background-attachment: fixed; }
@media (prefers-color-scheme: dark) { body { background-image: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .16) 0 2px, transparent 3px), radial-gradient(circle at 78% 4%, rgba(255, 255, 255, .12) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 46% 13%, rgba(255, 255, 255, .1) 0 1.5px, transparent 2.5px), radial-gradient(circle at 90% 18%, rgba(255, 255, 255, .14) 0 2px, transparent 3px); } }
#app { max-width: 560px; margin: 0 auto; padding: 14px 16px 44px; }
h1, h2, .brand b, .question, .door, button, .btn, .pz-big, .pz-badge, .clue, .planrow .n { font-family: var(--display); }
h1 { font-size: 28px; line-height: 1.15; margin: 6px 0 4px; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: 21px; line-height: 1.2; margin: 0 0 8px; text-wrap: balance; }
p { margin: 0 0 12px; line-height: 1.5; }
.soft { color: var(--soft); font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; min-height: 48px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand b { font-size: 21px; font-weight: 800; overflow-wrap: anywhere; }
.brand b:focus, h1:focus { outline: none; }
.brand .ic { filter: drop-shadow(0 2px 4px rgba(226, 166, 38, .45)); flex: none; }

button, .btn { font-size: 17px; font-weight: 800; border: 0; border-radius: 16px; padding: 13px 20px; min-height: 50px; cursor: pointer; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(180deg, var(--berry), var(--berry-deep)); box-shadow: 0 2px 0 rgba(0, 0, 0, .14), 0 6px 14px rgba(197, 48, 61, .22);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease; }
button:active:not(:disabled), .btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0, 0, 0, .14); }
button.green { background: linear-gradient(180deg, var(--pine), var(--pine-deep)); box-shadow: 0 2px 0 rgba(0, 0, 0, .14), 0 6px 14px rgba(28, 107, 82, .25); }
button.ghost, .btn.ghost { background: var(--card); color: var(--link); border: 1.5px solid var(--line); box-shadow: none; }
button.small { min-height: 42px; padding: 8px 14px; font-size: 15px; border-radius: 14px; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.rowb { display: flex; gap: 10px; flex-wrap: wrap; }
.rowb > * { flex: 1 1 auto; }
input[type=text], input[type=tel], textarea { font: inherit; font-size: 17px; width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.msg { border-radius: 14px; padding: 10px 14px; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.msg.bad { background: var(--bad-bg); color: var(--berry); }
.msg.good { background: var(--good-bg); color: var(--pine); }
@media (prefers-color-scheme: dark) { .msg.good { color: #8fe0bd; } .msg.bad { color: #ffa5ad; } }

/* the night-sky banner on the first screen and above the doors */
.hero { position: relative; overflow: hidden; border-radius: var(--radius); padding: 50px 18px 30px; margin-bottom: 14px; color: #fff; box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }   /* no moon: wherever it sat, a long title ran over it */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--bg);
  -webkit-mask: radial-gradient(60px 26px at 15% 100%, #000 98%, transparent), radial-gradient(90px 26px at 48% 100%, #000 98%, transparent), radial-gradient(70px 26px at 85% 100%, #000 98%, transparent);
  mask: radial-gradient(60px 26px at 15% 100%, #000 98%, transparent), radial-gradient(90px 26px at 48% 100%, #000 98%, transparent), radial-gradient(70px 26px at 85% 100%, #000 98%, transparent); opacity: .96; }
.hero .garland { position: absolute; left: 0; right: 0; top: 0; display: block; width: 100%; height: auto; }
.hero h1 { font-size: 26px; margin: 0 0 4px; color: #fff; }
.hero .seg { position: relative; z-index: 1; margin-top: 8px; }
.hero p { margin: 0 0 14px; color: #d7e2f7; font-size: 15px; max-width: 34ch; }
.hero .row { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; margin-bottom: 8px; }
.hero .row .ic { flex: none; filter: drop-shadow(0 0 10px rgba(255, 214, 102, .7)); }
.hero .snow i { position: absolute; top: -8px; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .8; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(240px); opacity: 0; } }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feats li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.35; }
.feats .ic { flex: none; }

/* the 24 doors: the windows of a gingerbread house, a picture in each, with a lit Christmas tree standing behind */
/* the scene: a Christmas night. A starry sky with a soft glow, far hills, snow on the ground; the tree stands at the right,
   seen whole beside and above the house. Lights twinkle, smoke rises, snow falls. A painted sky from /art/scene.jpg covers
   the drawn one when it is there. */
.yard { position: relative; margin-bottom: 14px; padding: 150px 10px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); isolation: isolate;
  background:
    radial-gradient(circle at 12% 14%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 31% 7%, #fff6c9 0 1.4px, transparent 2.2px), radial-gradient(circle at 47% 19%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 63% 9%, #cfe0ff 0 1.3px, transparent 2px), radial-gradient(circle at 78% 22%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 91% 11%, #fff6c9 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 22% 31%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 55% 34%, #cfe0ff 0 1.1px, transparent 1.9px), radial-gradient(circle at 86% 38%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 6% 44%, #fff6c9 0 1.2px, transparent 2px), radial-gradient(circle at 39% 46%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 71% 50%, #fff 0 1.1px, transparent 1.9px),
    radial-gradient(ellipse at 20% 8%, rgba(120, 240, 200, .22) 0, rgba(120, 240, 200, 0) 45%), radial-gradient(ellipse at 70% 0%, rgba(150, 170, 255, .28) 0, rgba(150, 170, 255, 0) 50%),
    linear-gradient(180deg, #0c1438 0%, #1c2466 38%, #3c3482 62%, #7a4f8c 82%, #c98a86 100%); }
.yard::before { content: ""; position: absolute; left: -5%; right: -5%; bottom: 30px; height: 70px; z-index: 0; opacity: .9;      /* far snowy hills */
  background: radial-gradient(60% 100% at 18% 100%, #5d6bb0 0 98%, transparent 100%), radial-gradient(55% 80% at 62% 100%, #6f7cc0 0 98%, transparent 100%), radial-gradient(45% 95% at 96% 100%, #5d6bb0 0 98%, transparent 100%); }
.yard::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: 0; height: 56px; z-index: 0; border-radius: 50% 50% 0 0 / 34px 34px 0 0; background: linear-gradient(180deg, #ffffff 0%, #dfe7fb 100%); }   /* the snow the house stands on */
.yardbg { position: absolute; inset: 0; z-index: -1; }
.yardbg.painted img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 31% 100%; }     /* a narrow phone slice still has a lit cottage in it */
.yard:has(.yardbg.painted)::before, .yard:has(.yardbg.painted)::after { display: none; }
.backtree { position: absolute; right: -5%; top: 10px; width: 60%; z-index: 0; pointer-events: none; }   /* on a phone the windows stay finger-size, so the tree rises above the roof */
.roomsnow i { position: absolute; top: -6%; z-index: 2; pointer-events: none; opacity: .9; animation: snowfall linear infinite; font-style: normal; line-height: 1; color: #fff; text-shadow: 0 0 6px rgba(255, 255, 255, .7); }
.roomsnow i.dot { border-radius: 50%; background: #fff; box-shadow: 0 0 4px rgba(255, 255, 255, .8); }
@keyframes snowfall { 0% { top: -6%; transform: translateX(0) rotate(0); } 50% { transform: translateX(14px) rotate(90deg); } 100% { top: 104%; transform: translateX(-8px) rotate(200deg); } }
.music { position: absolute; left: 10px; top: 8px; z-index: 3; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; font-size: 20px; line-height: 1; background: var(--card); color: var(--soft); border: 1.5px solid var(--line); box-shadow: 0 2px 6px rgba(28, 42, 43, .18); }
.music[aria-pressed=true] { background: var(--pine); color: #fff; border-color: var(--pine); animation: sway 1.6s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-10deg) scale(1.06); } }
.chimney i { position: absolute; left: 50%; bottom: 100%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fffdf7; opacity: 0; animation: smoke 4.5s ease-out infinite; }
.chimney i:nth-child(2) { animation-delay: 1.5s; } .chimney i:nth-child(3) { animation-delay: 3s; }
@keyframes smoke { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 15% { opacity: .75; } 100% { transform: translate(12px, -46px) scale(1.9); opacity: 0; } }
.attic svg { animation: peek 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes peek { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(5px) rotate(-4deg); } 90% { transform: translateY(0) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .roomsnow i { animation: none; top: 30%; } .roomsnow i, .chimney i, .attic svg, .music[aria-pressed=true], .backtree::after { animation: none; } }
.backtree svg { width: 100%; height: auto; display: block; }
.backtree::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 46% 16%, rgba(255, 221, 128, .85) 0 3px, rgba(255, 221, 128, 0) 9px), radial-gradient(circle at 62% 27%, rgba(255, 221, 128, .8) 0 3px, rgba(255, 221, 128, 0) 9px),
    radial-gradient(circle at 36% 38%, rgba(255, 221, 128, .8) 0 3px, rgba(255, 221, 128, 0) 10px), radial-gradient(circle at 70% 46%, rgba(255, 221, 128, .85) 0 3px, rgba(255, 221, 128, 0) 10px),
    radial-gradient(circle at 28% 58%, rgba(255, 221, 128, .8) 0 3px, rgba(255, 221, 128, 0) 10px), radial-gradient(circle at 56% 62%, rgba(255, 221, 128, .85) 0 3px, rgba(255, 221, 128, 0) 10px),
    radial-gradient(circle at 80% 70%, rgba(255, 221, 128, .8) 0 3px, rgba(255, 221, 128, 0) 10px), radial-gradient(circle at 20% 76%, rgba(255, 221, 128, .85) 0 3px, rgba(255, 221, 128, 0) 10px),
    radial-gradient(circle at 48% 82%, rgba(255, 221, 128, .8) 0 3px, rgba(255, 221, 128, 0) 10px); animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .55; } }
.house { position: relative; z-index: 1; margin: 0 4px; padding-bottom: 30px; filter: drop-shadow(0 10px 14px rgba(8, 12, 40, .45)); }
.roof { position: relative; height: 82px; margin: 0 -4px -1px; }
.roofline { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.attic { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 50px; height: 50px; border-radius: 50% 50% 9px 9px; background: #fff8ea; border: 3px solid #e9c46a; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.attic svg { display: block; width: 44px; height: auto; margin-bottom: -6px; }
.chimney { position: absolute; left: 15%; bottom: 30%; width: 26px; height: 46px; border-radius: 3px; z-index: 0;
  background: repeating-linear-gradient(0deg, #6b3a22 0 9px, #8a5630 9px 10.5px); }
.chimney::before { content: ""; position: absolute; left: -4px; right: -4px; top: -6px; height: 10px; border-radius: 5px; background: #fffdf7; }
.doors { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 12px 18px 16px; border-radius: 0 0 18px 18px;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .06) 0 2px, transparent 3px) 0 0 / 22px 22px, linear-gradient(180deg, #8a5630 0%, #7a4926 100%); }
.doors::before, .doors::after { content: ""; position: absolute; top: 0; bottom: 8px; width: 9px; border-radius: 0 0 5px 5px;
  background: repeating-linear-gradient(-45deg, #fffdf7 0 6px, #c5303d 6px 12px, #fffdf7 12px 18px, #1c6b52 18px 21px); }
.doors::before { left: 4px; } .doors::after { right: 4px; }
.door { position: relative; aspect-ratio: 1; border-radius: 12px; padding: 0; min-height: 0; overflow: hidden; color: var(--berry-deep); font-weight: 800;
  background: linear-gradient(160deg, #d39a5a 0%, #b47437 100%); box-shadow: 0 2px 0 rgba(0, 0, 0, .28), inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.door .pane { position: absolute; inset: 9%; border-radius: 9px; background: #fff8ea; border: 2px solid #e9c46a; box-shadow: inset 0 0 0 2px #fff8ea, inset 0 0 0 3px rgba(233, 196, 106, .7); display: flex; align-items: center; justify-content: center; }
.door .pane svg { width: 60%; height: 60%; display: block; transform: translate(7%, 9%); }      /* a little down and aside, clear of the number */
.door .num { position: absolute; left: 7%; top: 4%; z-index: 1; font-family: var(--display); font-size: clamp(15px, 4.8vw, 21px); line-height: 1; color: #b3202d;
  text-shadow: -1.5px 0 #fff8ea, 1.5px 0 #fff8ea, 0 -1.5px #fff8ea, 0 1.5px #fff8ea, -1px -1px #fff8ea, 1px 1px #fff8ea, -1px 1px #fff8ea, 1px -1px #fff8ea; }
.door .mark { position: absolute; left: 6%; bottom: 5%; z-index: 1; font-size: 14px; line-height: 1; }
.door .mark.star { left: auto; right: 5%; bottom: 5%; width: 24px; height: 24px; border-radius: 50%; background: #fffdf7; border: 2px solid var(--pine); color: var(--pine); font-size: 15px; display: flex; align-items: center; justify-content: center; }
.door.today { outline: 4px solid var(--gold); outline-offset: 2px; animation: glow 2.2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(226, 166, 38, .38), 0 2px 0 rgba(0, 0, 0, .28); } }
.door.done .pane { background: #e2f1e8; border-color: var(--pine); box-shadow: inset 0 0 0 2px #e2f1e8, inset 0 0 0 3px rgba(28, 107, 82, .5); }
.door.done .num { color: var(--pine); }
/* a day that has not come yet: the shutters are closed, the picture only a shadow */
.door.locked { background: linear-gradient(160deg, #a87b52 0%, #8c6038 100%); box-shadow: 0 1px 0 rgba(0, 0, 0, .2); }
.door.locked .pane { background: #e9dcc6; border-color: #cdb991; box-shadow: none; }
.door.locked .pane svg { opacity: .3; filter: grayscale(1); }
.door.locked .num { color: #7a6650; }
.progress { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.progress b { white-space: nowrap; font-family: var(--display); font-size: 17px; }
.progress .rowb { flex: 1 1 auto; justify-content: flex-end; flex-wrap: wrap; }
.progress .rowb > * { flex: 0 1 auto; }
.bar { height: 12px; border-radius: 8px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #f2c14b, var(--gold)); min-width: 0; transition: width .4s ease; }

/* the picture and the pieces */
.boardgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; border-radius: 14px; overflow: hidden; background: var(--line); border: 2px solid var(--line); }
.boardgrid > div { aspect-ratio: 1; background: var(--card); display: flex; align-items: center; justify-content: center; color: var(--soft); font-weight: 700; font-size: 14px; }
.boardgrid svg { width: 100%; height: 100%; display: block; }
.boardgrid .new { animation: pop .7s ease-out; }
.frame.whole { gap: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 166, 38, .25); }
@keyframes pop { from { transform: scale(.2) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.piece-big { position: relative; width: 156px; height: 156px; border-radius: 20px; margin: 10px auto 14px; box-shadow: 0 0 0 5px var(--card), 0 0 0 7px var(--gold), 0 14px 30px rgba(28, 42, 43, .22); animation: pop .7s ease-out; }
.piece-big svg { width: 100%; height: 100%; display: block; border-radius: 20px; }
.piece-big.toy { background: var(--card); padding: 16px; }
.piece-big::before, .piece-big::after { content: ""; position: absolute; inset: -26px; pointer-events: none; opacity: 0; animation: sparkle 1.4s ease-out .2s 1;
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px) 6% 12% / 100% 100% no-repeat, radial-gradient(circle, var(--berry) 0 3px, transparent 4px) 96% 20% / 100% 100% no-repeat,
    radial-gradient(circle, var(--pine) 0 3px, transparent 4px) 88% 92% / 100% 100% no-repeat, radial-gradient(circle, var(--gold) 0 2.5px, transparent 3.5px) 10% 86% / 100% 100% no-repeat; }
.piece-big::after { inset: -44px; animation-delay: .35s; transform: rotate(38deg); }
@keyframes sparkle { 0% { opacity: 0; transform: scale(.5); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
.clue { font-size: 24px; font-weight: 800; text-align: center; padding: 14px 8px 18px; text-wrap: balance; overflow-wrap: anywhere; line-height: 1.25; }
.chest { text-align: center; padding-top: 6px; }
.chest .ic { filter: drop-shadow(0 8px 14px rgba(197, 48, 61, .3)); animation: pop .7s ease-out; }

/* puzzles */
.pz-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0; flex-wrap: nowrap; }
.pz-wrap { flex-wrap: wrap; } .pz-floor { align-items: flex-end; } .pz-ltr { direction: ltr; }
.pz-big { font-size: 30px; font-weight: 800; white-space: nowrap; }
.pz-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 15px; background: var(--night); color: #fff; font-size: 16px; font-weight: 800; }
.pz-tile { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.pz-pile { display: inline-flex; flex-wrap: wrap; gap: 2px; max-width: 110px; justify-content: center; }
.pz-frame { border: 2px dashed #cfd8e6; border-radius: 14px; padding: 8px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.pz-box { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 6px; border: 2px solid var(--night); border-radius: 12px; font-family: var(--display); font-size: 23px; font-weight: 800; background: #fff; color: #1c2a2b; }
.pz-box.pz-empty { border-style: dashed; color: #9fb0c8; } .pz-box.pz-wide { min-width: 84px; font-size: 19px; }
.pz-gap { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 2px dashed var(--soft); border-radius: 50%; font-weight: 800; color: var(--soft); }
.pz-key { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 12px; background: var(--hint-bg); }
.pz-key .pz-big { font-size: 20px; }
.pz-arrow { display: inline-flex; flex-direction: column; align-items: center; font-size: 28px; font-weight: 800; line-height: 1; }
.pz-arrow small { font-size: 12px; color: var(--soft); }
.pz-mirror { display: inline-block; transform: scaleX(-1); font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: 3px; }
.pz-word { font-family: var(--display); font-size: 23px; font-weight: 700; }
.pz-riddle { font-size: 20px; line-height: 1.45; text-align: center; margin: 14px 4px; }
.pz-grid { border-radius: 10px; }
.question { font-size: 21px; font-weight: 800; line-height: 1.25; text-align: center; margin: 2px 0 8px; text-wrap: balance; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; margin-top: 16px; }
.options button { background: var(--card); color: var(--ink); border: 2px solid var(--line); font-size: 23px; min-height: 68px; box-shadow: 0 2px 0 var(--line); border-radius: 18px; }
.options button.wrong { border-color: var(--berry); animation: shake .35s; }
.options button.right { border-color: var(--pine); background: var(--good-bg); }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.hintbox { display: flex; gap: 10px; align-items: flex-start; background: var(--hint-bg); border-radius: 14px; padding: 10px 12px; margin-top: 12px; }
.taskmeta { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.taskmeta span { background: var(--hint-bg); border-radius: 12px; padding: 4px 10px; font-size: 14px; font-weight: 600; }

/* parents */
.tabs { display: flex; gap: 4px; margin-bottom: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px; }
.tabs button { flex: 1; background: transparent; color: var(--soft); min-height: 42px; padding: 8px; box-shadow: none; border-radius: 12px; font-size: 16px; }
.tabs button[aria-selected=true] { background: var(--pine); color: #fff; }
.planrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; font-family: inherit; font-size: 16px; font-weight: 600; min-height: 56px; justify-content: flex-start; box-shadow: none; }
.planrow .n { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--night); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
.planrow .t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.planrow .tag { flex: none; font-size: 12px; color: var(--soft); font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chips button { min-height: 38px; padding: 6px 14px; font-size: 14px; background: var(--card); color: var(--soft); border: 1.5px solid var(--line); border-radius: 19px; box-shadow: none; }
.chips button[aria-pressed=true] { background: var(--pine); color: #fff; border-color: var(--pine); }
.codeinput { font-family: var(--display) !important; font-size: 32px !important; letter-spacing: 14px; text-align: center; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; background: var(--card); color: var(--ink); border: 1.5px solid var(--line); min-height: 46px; padding: 8px; font-size: 15px; box-shadow: none; }
.seg button[aria-pressed=true] { background: var(--pine); color: #fff; border-color: var(--pine); }
.hero .seg button { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); min-height: 38px; font-size: 14px; }
.hero .seg button[aria-pressed=true] { background: #fff; color: var(--night); border-color: #fff; }

/* pieces that are dragged and turned, and the tree */
/* the picture is put together edge to edge: no gaps between cells and no frames on the pieces, so neighbours meet exactly */
.boardgrid.frame { gap: 0; }
.frame .cell { position: relative; padding: 0; box-shadow: inset 0 0 0 1px var(--line); }
.frame .cell > .ghostp { position: absolute; inset: 0; opacity: .22; filter: grayscale(.6); }
.frame .cell > .pc { position: absolute; left: -.5px; top: -.5px; width: calc(100% + 1px); height: calc(100% + 1px); aspect-ratio: auto; }   /* half a pixel over the edge: no hairline between neighbours */
.pc { display: block; width: 100%; aspect-ratio: 1; min-height: 0; padding: 0; border-radius: 10px; overflow: hidden; background: var(--card); border: 2px solid var(--line); opacity: 1; box-shadow: 0 2px 6px rgba(28, 42, 43, .16); }
.frame .cell > .pc { border-radius: 0; box-shadow: none; border: 0; }
.frame .cell > .pc.picked { outline: 0; }
.frame .cell > .pc.picked::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 4px var(--gold); pointer-events: none; }
.pc:disabled { opacity: 1; }
.pc .pcin { display: block; width: 100%; height: 100%; transition: transform .15s; }
.pc svg { width: 100%; height: 100%; display: block; }
.pc.picked { border-color: var(--gold); outline: 4px solid var(--gold); outline-offset: -2px; z-index: 1; }
.pc.locked { border: 0; border-radius: 0; }
.dragging { opacity: .94 !important; box-shadow: 0 12px 28px rgba(0, 0, 0, .4) !important; transform: scale(1.08); }
.tray { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.trayp { aspect-ratio: 1; min-height: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--card); border: 2px solid var(--line); box-shadow: 0 2px 6px rgba(28, 42, 43, .14); }
.trayp svg { width: 100%; height: 100%; display: block; }
.trayp.picked { border-color: var(--gold); outline: 4px solid var(--gold); transform: scale(1.08); }
.boardgrid.toys > div { padding: 5px; }
.tree { position: relative; aspect-ratio: 360 / 660; max-width: 400px; margin: 0 auto; }
.treeart { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.treeart svg { pointer-events: none; }
.hook { position: absolute; width: 16.1%; aspect-ratio: 1; min-height: 0; padding: 0; transform: translate(-50%, -50%) scale(var(--s, 1)); transition: opacity .15s; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 1.5px dashed rgba(255, 255, 255, .8); display: block; box-shadow: none; }
.hook svg { width: 100%; height: 100%; display: block; }
.hook:not(.full) svg { opacity: .5; }
.hook.full { background: none; border: 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.hook.new { animation: pop .6s ease-out; }
.hook.glow, .frame > .glow { outline: 4px solid var(--gold); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { outline-color: transparent; } }
.tray.toys { grid-template-columns: repeat(6, 1fr); }
.trayp.toy { border-radius: 50%; padding: 4px; }
.card.sticky { position: sticky; top: 8px; z-index: 2; }
.card.dock { position: sticky; bottom: 8px; z-index: 3; margin-bottom: 0; padding: 12px; box-shadow: 0 -4px 18px rgba(20, 33, 61, .18); }
/* the count and a message share one place of a fixed height, so a message never makes the tray taller and never covers the tree */
.dock .slot { min-height: 50px; display: flex; flex-direction: column; justify-content: center; margin-bottom: 8px; }
.dock .slot:has(.msg) .progress { display: none; }
.dock .msg { margin: 0; padding: 6px 10px; font-size: 14px; line-height: 1.3; }

/* fingers: no text selection, no long-press menu, no double-tap zoom on the things a child drags and taps */
.pc, .trayp, .hook, .cell, .door, .options button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.pc, .trayp { touch-action: none; }
.cell, .hook, .options button, .door { touch-action: manipulation; }
.pc svg, .trayp svg, .hook svg, .ghostp svg { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* the heroes and what they say */
.heropic { display: block; }
.say { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 12px; }
.say .who { flex: none; filter: drop-shadow(0 4px 6px rgba(28, 42, 43, .18)); }
.say .bubble { position: relative; margin: 0 0 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 10px 14px; font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.3; box-shadow: var(--shadow); }
.say.good .bubble { background: var(--good-bg); border-color: var(--pine); }
.say.bad .bubble { background: var(--bad-bg); border-color: var(--berry); }
.card .say { margin: 14px 0 0; } .card .say .bubble { box-shadow: none; }
.cast { display: flex; justify-content: center; margin: 4px 0 8px; position: relative; z-index: 1; }
.trio { display: inline-flex; align-items: flex-end; gap: 2px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.chest + .cast { margin-top: -6px; }

.options button.wordy { font-size: 17px; padding: 8px 6px; overflow-wrap: anywhere; letter-spacing: 0; }
.options:has(.wordy) { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.card .say { margin: 14px 0; text-align: start; }

/* the language chooser, and right-to-left languages */
.langrow { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.langpick { font: inherit; font-family: var(--display); font-weight: 700; font-size: 16px; min-height: 44px; padding: 8px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); flex: 1; min-width: 0; }
.hero .langpick { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .langpick option { color: #1c2a2b; }
.pz-row { direction: ltr; }                      /* numbers, arrows and patterns read left to right in every language */
[dir=rtl] .say .bubble { border-radius: 18px 18px 6px 18px; }
[dir=rtl] .planrow { text-align: right; }

.turn { position: absolute; bottom: 0; width: 50px; height: 50px; min-height: 0; padding: 0; border-radius: 50%; font-size: 24px; background: var(--card); color: var(--link); border: 1.5px solid var(--line); box-shadow: var(--shadow); z-index: 30; }
.turn.left { left: 0; } .turn.right { right: 0; }
.hook.new { animation: none; }
.tree { isolation: isolate; }                       /* the toys' own layers stay inside the tree and never cover the toy tray */
.turn { top: 4px; bottom: auto; }

/* a pressed place or toy must stay where it is: the general "pressed" nudge would move it from under the finger */
.hook:active:not(:disabled) { transform: translate(-50%, -50%) scale(var(--s, 1)); box-shadow: none; }
.pc:active:not(:disabled), .trayp:active:not(:disabled), .turn:active:not(:disabled) { transform: none; }
.trayp.picked:active:not(:disabled) { transform: scale(1.08); }
.pz-row.pz-lang { direction: inherit; }          /* a word's letters or pictures follow the language */
.options button[dir=ltr] { unicode-bidi: isolate; }
.bulb { position: absolute; width: 3.2%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(var(--s, 1)); box-shadow: 0 0 8px 2px rgba(255, 236, 150, .7); pointer-events: none; z-index: 5; }
.tree { max-width: clamp(250px, calc((100vh - 356px) * 0.545), 400px); }
.card.dock .progress { justify-content: flex-start; }

/* the page about data, and the link to it under the short line */
.legal section { margin-bottom: 34px; }
.legal ul { margin: 8px 0; padding-inline-start: 20px; }
.legal li { margin: 6px 0; line-height: 1.4; }
.legal p { line-height: 1.5; }
.legal a, .soft a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
[hidden] { display: none !important; }

/* the parents see the picture of the level they chose */
.levelpic { border-radius: 14px; overflow: hidden; border: 2px solid var(--line); }
.levelpic svg { display: block; width: 100%; height: auto; }

/* the plan: a finished day has a green star; by kind, each day has a list of kinds and the task's name to tap */
.planrow .tag.done { color: var(--green); font-weight: 800; }
.planrow .tag.done .star { font-size: 18px; line-height: 1; vertical-align: -1px; }
.planrow.custom { cursor: default; align-items: flex-start; }
.planrow.custom .t { display: flex; flex-direction: column; gap: 6px; }
.planrow select { width: 100%; min-height: 40px; font: inherit; font-weight: 600; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.planrow select.kind { font-weight: 500; color: var(--soft); min-height: 34px; font-size: 14px; }
.card select { width: 100%; min-height: 46px; font: inherit; font-weight: 600; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }

/* ---- a computer or a tablet on its side: the page uses the width of the screen. A phone keeps the single narrow column. */
@media (min-width: 900px) {
  .yardbg.painted img { object-position: 50% 100%; }
  #app { max-width: 1280px; padding: 22px 36px 64px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; align-items: start; }
  #app > * { grid-column: 1 / -1; min-width: 0; }
  h1 { font-size: 34px; } .hero { padding: 58px 32px 38px; } .hero h1 { font-size: 34px; } .hero p { font-size: 17px; max-width: 60ch; }
  /* the first screen: what it is on the left, how to start on the right */
  #app > .card:has(.feats) { grid-column: 1 / 7; align-self: stretch; }
  #app > .card:has(.feats) + .card { grid-column: 7 / -1; align-self: stretch; }
  .feats li { font-size: 18px; }
  .hero select { max-width: 340px; }
  /* the calendar: three rows of eight doors */
  .yard { padding: 40px 34% 0 40px; }
  .backtree { right: 4%; top: 14px; bottom: 26px; width: auto; }
  .backtree svg { height: 100%; width: auto; }                 /* the whole tree, star to trunk, beside the house */
  .yard::after { height: 64px; } .yard::before { bottom: 40px; height: 90px; } .music { left: 16px; top: 14px; }
  .roof { height: 118px; } .attic { width: 64px; height: 64px; bottom: 12px; } .attic svg { width: 56px; } .chimney { width: 34px; height: 60px; }
  .doors { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; padding: 16px 24px 20px; }
  .door .num { font-size: 22px; } .door .mark.star { width: 28px; height: 28px; font-size: 17px; }
  /* a day: a comfortable column for reading, answers in a row */
  .question { font-size: 26px; }
  .options { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
  .options button { min-height: 84px; font-size: 26px; }
  /* small forms (the grown-ups' question, a code, a key) stay in the middle instead of stretching */
  #app > form, #app > .card:has(> form), #app > .card:has(.codeinput), #app > .card:has(input[type=text]) { grid-column: 4 / 10; }
  /* the snow along the bottom of the banner: a row of drifts as wide as the screen */
  .hero::after { height: 30px; -webkit-mask: radial-gradient(110px 30px at 50% 100%, #000 98%, transparent) 0 0 / 190px 30px repeat-x; mask: radial-gradient(110px 30px at 50% 100%, #000 98%, transparent) 0 0 / 190px 30px repeat-x; }
  /* the puzzle and the tree: the picture on the left, the pieces or toys beside it */
  #app > .card.sticky { grid-column: 1 / 9; position: static; }
  #app > .card.sticky + .card { grid-column: 9 / -1; position: sticky; top: 16px; }
  .card.sticky + .card .tray { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  #app:has(> .dock) > .card:not(.dock) { grid-column: 1 / 9; }
  #app:has(> .dock) > .dock { grid-column: 9 / -1; position: sticky; top: 16px; bottom: auto; padding: 18px; box-shadow: var(--shadow); }
  .dock .tray { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .dock .tray.toys { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .boardgrid.frame { max-width: min(100%, calc((100vh - 240px) * 1.5)); margin-inline: auto; }
  .tree { max-width: clamp(280px, calc((100vh - 250px) * 0.545), 460px); }
  /* parents: the 24 days in three columns, the tasks to choose from in two */
  .stack.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stack.plan.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { max-width: 620px; }
  .levelpic { max-width: 520px; }
  .legal { display: block; max-width: 860px; }
}

/* ---- between a phone and a computer (a tablet upright, a narrow browser window): the page still fills the width */
@media (min-width: 620px) and (max-width: 899px) {
  #app { max-width: none; padding: 16px 24px 48px; }
  .doors { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; padding: 14px 22px 18px; }
  .yard { padding: 46px 27% 0 18px; }
  .backtree { right: 1%; top: 10px; bottom: 22px; width: auto; }
  .house { margin-right: 6%; }
  .backtree svg { height: 100%; width: auto; }
  .roof { height: 100px; } .door .num { font-size: 17px; }
  .stack.plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stack.plan.two { grid-template-columns: 1fr; }
  .tray { grid-template-columns: repeat(8, 1fr); }
  .boardgrid.frame { max-width: min(100%, calc((100vh - 300px) * 1.5)); margin-inline: auto; }
}

/* a painted picture in place of the drawn tree */
.backtree.painted img { display: block; width: 100%; height: auto; }
.backtree.painted::after { display: none; }                      /* the painting has its own lights */
@media (min-width: 620px) { .backtree.painted img { height: 100%; width: auto; } }
/* the painted tree stands in the snow: a soft shadow under its stand */
.backtree.painted::before { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1.2%; height: 5.5%; border-radius: 50%; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(24, 30, 86, .5) 0, rgba(24, 30, 86, 0) 70%); }

/* the banner: the painted Christmas night behind the title, a soft shade so the words read, and a bank of white snow along
   the bottom (it was the page colour, which in the dark look showed as black humps) */
.hero.painted { background: linear-gradient(90deg, rgba(10, 16, 52, .78) 0%, rgba(10, 16, 52, .45) 55%, rgba(10, 16, 52, .1) 100%), url(/art/scene.jpg) 50% 38% / cover no-repeat, var(--night); }
.hero::after { background: linear-gradient(180deg, #ffffff 0%, #dde6fb 100%); opacity: 1; height: 30px; }
.hero h1, .hero p { text-shadow: 0 2px 10px rgba(5, 8, 30, .55); }
.hero h1 { letter-spacing: -.01em; }
.hero .row .ic { filter: drop-shadow(0 0 14px rgba(255, 214, 102, .9)); }

/* Santa's sleigh crosses the banner's sky now and then, rising a little as it goes, behind the title */
.hero .sleigh { position: absolute; left: 0; top: 22%; width: clamp(150px, 34%, 300px); height: auto; z-index: 0; pointer-events: none; opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 236, 170, .35)); animation: sleigh 16s linear infinite 1.5s; }
@keyframes sleigh { 0% { transform: translate(-110%, 40px); opacity: 0; } 4% { opacity: .95; } 46% { opacity: .95; } 52% { transform: translate(calc(100vw), -10px); opacity: 0; } 100% { transform: translate(calc(100vw), -10px); opacity: 0; } }
.hero h1, .hero p, .hero .row { position: relative; z-index: 1; }
@media (max-width: 899px) { .hero .sleigh { top: 9%; } }
@media (min-width: 900px) { @keyframes sleigh { 0% { transform: translate(-110%, 40px); opacity: 0; } 4% { opacity: .95; } 46% { opacity: .95; } 52% { transform: translate(1300px, -10px); opacity: 0; } 100% { transform: translate(1300px, -10px); opacity: 0; } } }
@media (prefers-reduced-motion: reduce) { .hero .sleigh { animation: none; opacity: .9; transform: translate(40vw, 0); } }

/* the local test server's test mode bar and the pretend shop's key */
.testbar { margin-top: 14px; border: 2px dashed #e7b84a; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.testbar p { margin: 0; }
.testkey { font: 700 22px/1.3 ui-monospace, Menlo, monospace; letter-spacing: 1px; user-select: all; }

/* the three heroes waving from their own snowy hill at the right; on a phone the hill is below the words */
.hero .trio { position: absolute; right: 1%; bottom: 0; z-index: 2; display: flex; align-items: flex-end; padding: 0 34px; pointer-events: none; }
.hero .trio::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -2px; height: 58px; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: radial-gradient(120% 140% at 50% 0%, #ffffff 0%, #f1f5ff 45%, #d3ddf6 100%); box-shadow: 0 -2px 14px rgba(255, 255, 255, .35); }
.hero .trio img { height: 116px; width: auto; display: block; margin-bottom: 26px; filter: drop-shadow(0 5px 4px rgba(40, 60, 110, .35)); }
.hero .trio img + img { margin-left: -10px; }
.hero .trio .pine { display: block; margin: 0 -6px 18px 0; filter: drop-shadow(0 5px 4px rgba(40, 60, 110, .35)); }
.hero .trio .pine svg { display: block; width: 58px; height: auto; }
@media (max-width: 619px) { .hero .trio .pine svg { width: 48px; } .hero .trio .pine { margin-bottom: 14px; } }
.hero .trio .santa { height: 128px; margin-bottom: 28px; position: relative; z-index: 1; }
.hero.withtrio .row, .hero.withtrio > p, .hero.withtrio .seg { max-width: calc(100% - 372px); }
@media (max-width: 899px) { .hero .trio { padding: 0 24px; } .hero .trio::before { height: 46px; } .hero .trio img { height: 108px; margin-bottom: 22px; } .hero .trio .santa { height: 122px; margin-bottom: 26px; }
  .hero.withtrio .row, .hero.withtrio > p, .hero.withtrio .seg, .hero.withtrio select { max-width: calc(100% - 326px); } }
@media (max-width: 619px) { .hero.withtrio { padding-bottom: 132px; } .hero .trio { right: 50%; transform: translateX(50%); }
  .hero .trio::before { height: 40px; } .hero .trio img { height: 96px; margin-bottom: 20px; } .hero .trio .santa { height: 110px; margin-bottom: 24px; }
  .hero.withtrio .row, .hero.withtrio > p, .hero.withtrio .seg, .hero.withtrio select { max-width: none; } }
/* the parents' ready hiding places for the present: small buttons that wrap; the chosen one is filled */
.ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.ideas button { min-height: 36px; font-size: 14px; padding: 6px 12px; width: auto; }
.ideas button[aria-checked=true] { background: var(--pine); border-color: var(--pine); color: #fff; }
.ideas button.own { border-style: dashed; }
/* the waving 3D trio (and the little fir) standing at the open chest */
.cast.live .trio { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.cast.live .trio img { height: 128px; width: auto; display: block; }
.cast.live .trio img + img { margin-left: -10px; }
.cast.live .trio .santa { height: 142px; position: relative; z-index: 1; }
.cast.live .pine { display: block; margin-right: -6px; }
.cast.live .pine svg { width: 60px; height: auto; display: block; }
@media (max-width: 420px) { .cast.live .trio img { height: 104px; } .cast.live .trio .santa { height: 116px; } .cast.live .pine svg { width: 48px; } }
/* a hero's line with a recording: a tap on it says it again */
.say.voiced { cursor: pointer; }
.say.voiced .bubble::after { content: " 🔊"; font-size: .8em; opacity: .55; }
