body { --cake-shade: drop-shadow(0 0 calc(1.4 * var(--u)) rgba(0, 0, 0, .28)) drop-shadow(0 calc(2.2 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, .32)); }
/* ===== 14 Nov 2026: 13 cakes — one per cluster — each with its own candle.
   Every cake picture shares one canvas, 1240×1620, with the writing box (the user's green box) always at
   216,562 · 807×586, so one set of numbers places every cake. The candle sits where the user put it on that
   cake (its numbers come from app.js as --kl / --kt / --kw / --kh), and appears together with the cake. ===== */

/* ---------- portrait: the template — the box stays where it was, the cake is drawn around it ---------- */
@media (orientation: portrait) {
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) {
    --tw: min(38dvh, 84vw, 70vw);                              /* the box's width (the cake at most 108vw) */
    --tH: calc(var(--tw) * 586 / 807);                         /* the box's height */
    --sw: calc(var(--tw) * 1240 / 807);                        /* the cake picture's width */
    --chh: calc(var(--sw) * 1620 / 1240) !important;           /* … and height */
    --ck: calc(var(--ttop) - var(--chh) * 562 / 1620) !important;
    --cX: calc(50vw - var(--sw) / 2); --cY: var(--ck); --cW: var(--sw); --cH: var(--chh);   /* the cake's place, for the candle (which lives outside the cake's layer) */
  }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage {
    left: calc(50vw - var(--sw) / 2) !important; top: var(--ck) !important; width: var(--sw) !important; height: var(--chh) !important; right: auto !important; bottom: auto !important;
  }
}
/* ---------- landscape: the cake keeps its place and height, on the new canvas ---------- */
@media (orientation: landscape) {
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) { --cX: calc(var(--x0) + 54.97 * var(--u)); --cY: calc(var(--y0) - 1 * var(--u)); --cW: calc(42.87 * var(--u)); --cH: calc(56 * var(--u)); }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage {
    left: var(--cX) !important; top: var(--cY) !important; width: var(--cW) !important; height: var(--cH) !important; right: auto !important; bottom: auto !important;
  }
}

/* ---------- the cake picture and the writing box (the green box) ---------- */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage { overflow: visible !important; }
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage > .round-cake {
  position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: fill !important;
  filter: var(--cake-shade) !important; /* 14 Nov 2026: one shading for every cake, also while it changes */
}
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card {
  left: 17.42% !important; width: 65.08% !important; right: auto !important; top: 34.69% !important; max-height: 36.17% !important; box-sizing: border-box !important;
  margin: 0 !important; transform: none !important;
}
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { height: 36.17% !important; }
@media (orientation: landscape) {
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card { height: 36.17% !important; }
}
/* the text keeps clear of the scroll bar on its left */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card :is(.stage-scroll, .stage-answer-scroll, .stage-result-scroll) {
  box-sizing: border-box !important; padding-left: 6% !important; padding-right: 2.5% !important; max-height: 100% !important;
}

/* ---------- the scroll bar: inside the box, on its left, in the cake's own colour; it never leaves the box ---------- */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .scroll-rail {
  position: absolute !important; left: 2.6% !important; right: auto !important; width: 1.3% !important; min-width: 4px; top: 2% !important; bottom: 2% !important; height: auto !important;
  border-radius: 999px !important; overflow: hidden !important; background: var(--rail-bg, rgba(120, 90, 50, .16)) !important; margin: 0 !important; transform: none !important;
}
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .scroll-rail i {
  position: absolute; left: 0; right: 0; top: 0; width: 100% !important; border-radius: 999px !important; background: var(--rail, #b58a4c) !important; box-shadow: none !important;
}
body.cake-worry { --rail: #c9d6ea; --rail-bg: rgba(201, 214, 234, .18); }
body.cake-politics { --rail: #24409e; --rail-bg: rgba(36, 64, 158, .14); }
body.cake-couple { --rail: #7d4f5e; --rail-bg: rgba(125, 79, 94, .16); }
body.cake-mi { --rail: #c29a52; --rail-bg: rgba(194, 154, 82, .2); }
body.cake-book { --rail: #4e6a35; --rail-bg: rgba(78, 106, 53, .16); }
body.cake-planning { --rail: #dfe8ff; --rail-bg: rgba(223, 232, 255, .2); }
body.cake-clean { --rail: #e6c28a; --rail-bg: rgba(230, 194, 138, .2); }
body.cake-tech { --rail: #cfd5e0; --rail-bg: rgba(207, 213, 224, .18); }
body.cake-song { --rail: #eeeeee; --rail-bg: rgba(238, 238, 238, .2); }
body.cake-film { --rail: #d9cfc4; --rail-bg: rgba(217, 207, 196, .18); }
body.cake-food { --rail: #fff0d2; --rail-bg: rgba(255, 240, 210, .28); }
body.cake-gossip { --rail: #d8c9f2; --rail-bg: rgba(216, 201, 242, .2); }
body.cake-travel { --rail: #a8743f; --rail-bg: rgba(168, 116, 63, .18); }

/* ---------- the candle: on its place on the cake, shaded like the cake; it comes with the cake ---------- */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle {
  position: fixed !important; left: calc(var(--cX) + var(--cW) * var(--kx)) !important; top: calc(var(--cY) + var(--cH) * var(--ky)) !important;
  width: calc(var(--cW) * var(--kwx)) !important; height: calc(var(--cH) * var(--khy)) !important;
  right: auto !important; bottom: auto !important; transform: translateX(-50%) !important; margin: 0 !important;
  background: none !important; box-shadow: none !important; border: 0 !important; filter: none !important; overflow: visible !important;
}
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle::before, html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle::after { content: none !important; display: none !important; }
/* the old rising of a new candle is replaced by the entrance below */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle.candle-rise { animation: none !important; }
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle .lc-body {
  position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
  filter: drop-shadow(0 calc(1.2 * var(--u)) calc(1.8 * var(--u)) rgba(0, 0, 0, .22)) !important;
}
/* the shade where the candle stands on the cake: a soft oval, darkening the cake under it (it goes with the candle) */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle .lc-shade {
  position: absolute; left: var(--fx); bottom: 0; width: 290%; height: auto; aspect-ratio: 4.2 / 1; margin-left: -145%; translate: 0 34%; pointer-events: none; border-radius: 50%;
  --so: min(.85, calc(var(--shade-op, .5) * 1.35));
  background: radial-gradient(closest-side, rgba(var(--shade, 40, 24, 10), var(--so)) 0%, rgba(var(--shade, 40, 24, 10), calc(var(--so) * .9)) 34%, rgba(var(--shade, 40, 24, 10), calc(var(--so) * .45)) 58%, rgba(var(--shade, 40, 24, 10), calc(var(--so) * .12)) 80%, rgba(var(--shade, 40, 24, 10), 0) 100%);
  filter: blur(calc(.15 * var(--u)));
}
/* the candle comes in with the question: it rises a little out of the cake and fades in */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle.state-new:not(.cc-still) { animation: cc-in .8s cubic-bezier(.2, .9, .3, 1) .2s both; }
/* 14 Nov 2026: one entrance only — while the cakes change the candle waits (the same animation, so it never starts over) */
html body:not(.res-down):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) .level-candle.cake-candle.cc-late:not(.cc-still) { animation: cc-in .8s cubic-bezier(.2, .9, .3, 1) 1.05s both !important; }
html body:not(.res-down):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) .level-candle.cake-candle.cc-still:not(.state-out) { animation: none !important; }
html body.cake-swapping:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle:not(.cc-late):not(.cc-still) { animation: cc-in .8s cubic-bezier(.2, .9, .3, 1) 1.05s both !important; }
@keyframes cc-in { from { opacity: 0; translate: 0 18%; scale: .92; } 60% { opacity: 1; } to { opacity: 1; translate: 0 0; scale: 1; } }
/* it lights fast */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle.state-ignite .lc-flame { animation: flame-ignite .55s cubic-bezier(.2, 1.5, .4, 1) .05s both, flame-flicker 2.4s ease-in-out .6s infinite !important; }
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle :is(.lc-flame, .lc-smoke) {
  position: absolute !important; left: var(--fx) !important; top: auto !important; bottom: calc(100% - var(--fb) - 1.2%) !important;
  width: var(--fw) !important; height: auto !important; margin-left: calc(var(--fw) / -2) !important; transform-origin: 50% 96% !important; max-width: none !important;
}
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .level-candle.cake-candle:is(.state-lit, .state-ignite) .lc-flame {
  filter: drop-shadow(0 0 calc(2.2 * var(--u)) rgba(255, 180, 60, .8)) !important;
}
.cake-ghost > .cg-cake { position: absolute; inset: 0; width: 100%; height: 100%; filter: var(--cake-shade); animation: none !important; z-index: auto; opacity: 1; } /* 15 Nov 2026: not the candle games’ .cg-cake fade-in — that was the cut between cakes */

/* ---------- the dark cakes (worry, tech, planning, clean, song, film): everything written on them is light ---------- */
html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card :is(h1, h2, h3) { color: #ffd36b !important; }
html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card :is(.sentence, .cake-question, .formula-tag, p, li, summary, .audit-item, span:not(mark), b, strong, em, small) {
  color: #f4f1ea !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .5) !important;
}
html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .revealed-answer { color: #ffd36b !important; }
html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .review-sentence,
html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .review-sentence :is(span, b, strong, em, small) { color: #32172b !important; text-shadow: none !important; }
/* the light cakes: dark writing, whatever an older cluster rule said */
html body.cake-layout:not(.cake-dark):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card :is(.sentence, .cake-question, p, li, summary, span:not(mark), b, strong, em, small):not(.review-sentence *):not(.revealed-answer) {
  color: #321b24 !important; text-shadow: none !important;
}
html body.cake-layout:not(.cake-dark):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .formula-tag { color: #5a3a2a !important; text-shadow: none !important; }

/* the host's answer under the choices: on the cake in portrait only (in landscape it is on the background) */
@media (orientation: portrait) {
  html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel :is(.mode-pick small, .host-answer-label) { color: #f4f1ea !important; }
  html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel .host-answer { --ac: #ffd36b; color: #f4f1ea !important; }
  html body.cake-layout:not(.cake-dark):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel .host-answer { --ac: #a3195b; color: #321b24 !important; }
  html body.cake-layout:not(.cake-dark):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel :is(.mode-pick small, .host-answer-label) { color: #321b24 !important; }
}

/* ===== 14 Nov 2026 (2) ===== */
/* the background follows the cake on screen — its colour, a glow behind the cake, and strong turning beams on every cake and level */
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-worry { --ray: rgba(214,222,240,.55); --glow: #9aa6c0; --shade: 8,12,28; --shade-op: 0.55; background: #34466e radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #9aa6c0 0%, #34466e 30%, #34466e 50%, #1f2a44 82%, #121a2c 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-politics { --ray: rgba(220,228,245,.55); --glow: #a9b6d6; --shade: 40,30,15; --shade-op: 0.42; background: #2f50a3 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #a9b6d6 0%, #2f50a3 30%, #2f50a3 50%, #1d3368 82%, #101f42 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-couple { --ray: rgba(250,238,242,.55); --glow: #e3d3da; --shade: 60,30,45; --shade-op: 0.42; background: #9a7a98 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #e3d3da 0%, #9a7a98 30%, #9a7a98 50%, #5f4a5e 82%, #3c2f3c 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-mi { --ray: rgba(255,244,214,.62); --glow: #f8e2b4; --shade: 90,58,18; --shade-op: 0.42; background: #c28a3e radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #f8e2b4 0%, #c28a3e 30%, #c28a3e 50%, #7a521f 82%, #4a3010 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-book { --ray: rgba(232,236,210,.55); --glow: #bfc9a4; --shade: 60,45,20; --shade-op: 0.42; background: #4d6a38 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #bfc9a4 0%, #4d6a38 30%, #4d6a38 50%, #2f4122 82%, #1e2a16 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-planning { --ray: rgba(214,228,255,.55); --glow: #a3bde8; --shade: 5,15,60; --shade-op: 0.5; background: #1f4596 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #a3bde8 0%, #1f4596 30%, #1f4596 50%, #132b62 82%, #0b1a3d 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-clean { --ray: rgba(255,236,206,.58); --glow: #f2d2a2; --shade: 30,12,4; --shade-op: 0.55; background: #a86f3c radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #f2d2a2 0%, #a86f3c 30%, #a86f3c 50%, #5e3a1a 82%, #3a230e 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-tech { --ray: rgba(210,226,246,.55); --glow: #9fb7d4; --shade: 4,8,22; --shade-op: 0.55; background: #1f3f6a radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #9fb7d4 0%, #1f3f6a 30%, #1f3f6a 50%, #132743 82%, #0a172a 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-song { --ray: rgba(240,242,246,.55); --glow: #d0d5da; --shade: 20,22,26; --shade-op: 0.3; background: #5f6872 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #d0d5da 0%, #5f6872 30%, #5f6872 50%, #353b42 82%, #1f2328 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-film { --ray: rgba(252,236,240,.55); --glow: #e6cfd5; --shade: 30,20,25; --shade-op: 0.4; background: #987080 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #e6cfd5 0%, #987080 30%, #987080 50%, #5c4150 82%, #3a2832 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-food { --ray: rgba(255,236,214,.58); --glow: #fbd6b3; --shade: 90,35,5; --shade-op: 0.42; background: #e8894a radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #fbd6b3 0%, #e8894a 30%, #e8894a 50%, #9a5428 82%, #5f3218 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-gossip { --ray: rgba(226,214,255,.55); --glow: #c6b6f2; --shade: 30,15,70; --shade-op: 0.48; background: #4a3596 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #c6b6f2 0%, #5a43ad 30%, #4a3596 50%, #2a1d5c 82%, #170f36 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-travel { --ray: rgba(236,246,240,.55); --glow: #d2e2d8; --shade: 30,50,40; --shade-op: 0.42; background: #6f9b8a radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #d2e2d8 0%, #6f9b8a 30%, #6f9b8a 50%, #45685b 82%, #2b433b 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6)[class*="cake-"] .stage-rays { display: block !important; opacity: 1 !important; visibility: visible !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6)[class*="cake-"] .stage-rays {
  /* 14 Nov 2026 (2): the beams rise from the bottom middle of the screen and turn slowly around that point — the same in
     portrait and landscape; one plain layer (no blur, no blending), which Safari draws whole */
  position: fixed !important; left: 50vw !important; top: calc(100dvh + 24vmax) !important; width: 310vmax !important; height: 310vmax !important; /* the turning point is below the screen: only the beams are seen */ aspect-ratio: auto !important;
  background: repeating-conic-gradient(from 0deg, transparent 0deg, var(--ray) 2deg, var(--ray) 4.5deg, transparent 7deg, transparent 12deg) !important;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, #000 22%, rgba(0, 0, 0, .7) 40%, rgba(0, 0, 0, .35) 58%, rgba(0, 0, 0, .1) 72%, transparent 84%) !important;
  mask-image: radial-gradient(circle closest-side, #000 0%, #000 22%, rgba(0, 0, 0, .7) 40%, rgba(0, 0, 0, .35) 58%, rgba(0, 0, 0, .1) 72%, transparent 84%) !important;
  mix-blend-mode: normal !important; filter: none !important; opacity: 1 !important;
  transform: translate(-50%, -50%); animation: cc-rays-turn 120s linear infinite !important; will-change: transform;
}
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6)[class*="cake-"] .stage-rays::before, html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6)[class*="cake-"] .stage-rays::after { display: none !important; content: none !important; }
@keyframes cc-rays-turn { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6)[class*="cake-"] .stage-rays { animation: none !important; } }

/* ״ותתכוננו ל…״ is never shown: the game is reached only by its balloon (the button stays for the balloon to press) */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel .round-controls > :is(.pop-next-btn, .fix-next-btn, .who-next-btn, .order-next-btn, .truth-next-btn, .suit-next-btn, .shalvas-btn, .catch-next-btn, .mega-next-btn) { visibility: hidden !important; pointer-events: none !important; }

/* no shading on the writing in the cakes */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card :is(.sentence, .cake-question, .formula-tag, h1, h2, h3, p, li, summary, span, b, strong, em, small, .revealed-answer) { text-shadow: none !important; }
/* the host's answer written in the cake: like the question, not a button (landscape; portrait shows it under the question) */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .cake-host-answer { display: none; }

/* ---------- iPad landscape: like portrait — the question, the answer and right / wrong are written in the cake ---------- */
@media (orientation: landscape) {
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) { --cf: max(calc(2.3 * var(--u)), calc(var(--cW) * .0482)); }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy { display: flex !important; flex-direction: column; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel :is(.panel-question, .panel-result) { display: none !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel .host-answer { display: none !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .cake-host-answer { display: flex; flex-direction: column; align-items: center; gap: .15em; margin-top: .7em; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .cake-host-answer small { font-size: .62em; font-weight: 700; opacity: .75; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .cake-host-answer b { font-weight: 900; color: #a3195b !important; }
  html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .cake-host-answer b { color: #ffd36b !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card { top: 34.69% !important; height: 36.17% !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .cake-question { margin: auto 0; padding: 0; text-align: center; text-wrap: balance; font-size: calc(var(--cf) * 1.05) !important; line-height: 1.25; font-weight: 900; background: none; border: 0; box-shadow: none; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .cake-question.long-question { font-size: calc(var(--cf) * .95) !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .cake-question.very-long-question { font-size: var(--cf) !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .cake-result { margin: auto 0; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .stage-result-copy { background: none !important; border: 0 !important; box-shadow: none !important; margin: 0; padding: 0; text-align: center; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .stage-result-copy h1 { font-size: calc(var(--cf) * 1.1) !important; line-height: 1.15; font-weight: 900; margin: 0 0 .45em !important; text-wrap: balance; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .stage-result-copy p { font-size: calc(var(--cf) * .8) !important; line-height: 1.35; font-weight: 700; margin: 0 0 .4em !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy .stage-result-copy .revealed-answer { font-size: var(--cf) !important; font-weight: 900; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy details { margin: .4em 0 0; border: 0; background: none; padding: 0; text-align: center; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .cake-copy summary { font-size: calc(var(--cf) * .62) !important; font-weight: 700; }
}
/* the right / wrong title on the light cakes */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .stage-result-copy h1 { color: #8a5a10 !important; }
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .stage-failure #central-card .stage-result-copy h1 { color: #9a2a1a !important; }
html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #central-card .stage-result-copy h1 { color: #ffd36b !important; }
html body.cake-layout.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .stage-failure #central-card .stage-result-copy h1 { color: #ffb3a0 !important; }

/* ---------- a right answer: fireworks around the flame, confetti from below, the candle count beside the candle ---------- */
.cc-fx { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.cc-burst { position: absolute; width: 0; height: 0; }
.cc-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 8px rgba(255, 220, 140, .8); }
.cc-conf { position: absolute; display: block; }
.cc-tally { position: fixed; z-index: 91; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; pointer-events: none;
  color: #f6d58e; text-shadow: 0 3px 0 #2a0c02, 0 0 20px rgba(240, 180, 90, .5); animation: pop-in .35s ease .15s both, cc-tally-out .6s ease 3.4s forwards; }
.cc-tally small { font-size: clamp(15px, 2.4vmin, 22px); font-weight: 800; color: #fff1d0; }
.cc-tally b { font-size: clamp(54px, 11vmin, 110px); font-weight: 900; line-height: 1; }
.cc-tally b.bump { animation: tally-bump .6s cubic-bezier(.2, 1.6, .4, 1); }
.cc-tally i { position: absolute; top: -10px; font-style: normal; font-weight: 900; font-size: clamp(26px, 5vmin, 44px); color: #fff3cf; animation: tally-plus 1.4s ease-out forwards; }
@keyframes cc-tally-out { to { opacity: 0; } }
/* landscape result: the text is in the cake, so the button goes down to its usual row */
@media (orientation: landscape) {
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel:has(.panel-result) { justify-content: flex-end !important; }
}

/* 14 Nov 2026: the old dark spotlights stay off (they showed as a dark wedge over the beams) */
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .spotlights { display: none !important; }

/* 14 Nov 2026: the candle count in the colour of the candle — on the cakes and in the bonus games */
.cc-tally b, .cc-tally i { color: var(--tc, #f6d58e) !important; text-shadow: -2px 0 var(--to, #2a0c02), 2px 0 var(--to, #2a0c02), 0 -2px var(--to, #2a0c02), 0 2px var(--to, #2a0c02), 0 5px 12px rgba(0, 0, 0, .35) !important; }
.cc-tally small { color: var(--tc, #2a0c02) !important; font-weight: 900 !important; text-shadow: -1.5px 0 var(--to), 1.5px 0 var(--to), 0 -1.5px var(--to), 0 1.5px var(--to) !important; margin-bottom: .15em; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally { --tc: #f0c690; --to: #653015; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally.who-tally { --tc: #e0919a; --to: #4f6e45; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally.order-tally { --tc: #8e1a46; --to: #fbe3ee; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally.truth-tally { --tc: #1d3a9e; --to: #fff4f0; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally.suit-tally { --tc: #a96d44; --to: #f6f1df; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally.fix-tally { --tc: #e0909a; --to: #7a2d44; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally :is(b, i) { color: var(--tc) !important; text-shadow: -2px 0 var(--to), 2px 0 var(--to), 0 -2px var(--to), 0 2px var(--to), 0 5px 12px rgba(0, 0, 0, .35) !important; }
html body:not(#y1):not(#y2):not(#y3) .pop-tally small { color: var(--tc) !important; font-weight: 900 !important; text-shadow: -1.5px 0 var(--to), 1.5px 0 var(--to), 0 -1.5px var(--to), 0 1.5px var(--to) !important; }
/* 14 Nov 2026: the wrapper closing — the text and buttons go at once (their white outlines were left showing beside the foil) */
:is(.pop-intro-card, .pop-rules-box .pop-end, .fix-game .fix-intro, .fix-rules-box .fix-card):is(.wrap-closing, .falling, .wrap-gone) > :not(.wrapfx) { opacity: 0 !important; visibility: hidden !important; transition: none !important; }
:is(.pop-intro-card, .pop-rules-box .pop-end, .fix-game .fix-intro, .fix-rules-box .fix-card):is(.wrap-closing, .falling) { background: none !important; border-color: transparent !important; box-shadow: none !important; }
/* landscape: ״בדוק את התשובה״ / ״תשובות לבחירה״ (and ״צדקנו / טעינו״) sit just above the time bar */
@media (orientation: landscape) {
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel:has(.mode-pick, .host-verdict) { justify-content: flex-end !important; }
}
/* 14 Nov 2026: landscape — the four answers sit down just above the time bar; ״צדקנו / טעינו״ (no time bar any more)
   go down to the row of ״עוד סיפור, עוד נר״ */
@media (orientation: landscape) {
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel:has(.choices) { justify-content: flex-end !important; }
  html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) .round-panel:has(.host-verdict) {
    top: calc(var(--y0) + 12.5 * var(--u)) !important; bottom: calc(100dvh - var(--y0) - 49.4 * var(--u)) !important; height: auto !important; max-height: none !important; justify-content: flex-end !important; }
}
/* 14 Nov 2026: alone, the games that cannot be played yet rise greyed out */
.res-balloon.res-pick.res-off { cursor: default; pointer-events: none; }
.res-balloon.res-pick.res-off .rb-float { filter: grayscale(1) brightness(1.08) contrast(.85); opacity: .5; }
/* 17 Nov 2026: a redraw during the candle's entrance picks it up where it was */
html body:not(.res-down):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7):not(#y8) .level-candle.cake-candle.cc-cont:not(.state-out) { animation: cc-in .8s cubic-bezier(.2, .9, .3, 1) var(--ccd, 0ms) both !important; }

/* 17 Nov 2026 (user): ״כל הרמות ברצף״ — minimal: no device frames, a plain card, plain text, simple buttons */
.seq-full.seq-plain { background: #f7f3ec !important; color: #222 !important; }
.seq-full.seq-plain::before, .seq-full.seq-plain::after { content: none !important; display: none !important; }
.seq-plain .seq-title b { color: #222 !important; font-size: clamp(20px, 3vw, 26px) !important; text-shadow: none !important; }
.seq-plain .seq-title span, .seq-plain .seq-title small { color: #666 !important; text-shadow: none !important; }
.seq-plain .seq-card { background: #fff !important; border: 1px solid #ddd !important; border-radius: 12px !important; box-shadow: none !important; padding: clamp(18px, 3vw, 32px) !important; outline: none !important; }
.seq-plain .seq-card::before, .seq-plain .seq-card::after { content: none !important; display: none !important; }
.seq-plain .seq-sentence { color: #222 !important; font-size: clamp(20px, 2.8vw, 26px) !important; line-height: 1.7 !important; font-weight: 500 !important; text-shadow: none !important; }
.seq-plain .seq-sentence::before, .seq-plain .seq-sentence::after { content: none !important; }
.seq-plain .seq-param { all: unset; cursor: pointer; border-bottom: 2px solid #c9a24a; font-weight: 600; }
.seq-plain .seq-hint, .seq-plain .seq-qnum { color: #888 !important; font-size: 14px !important; }
.seq-plain .seq-question { color: #222 !important; text-shadow: none !important; font-size: clamp(22px, 3vw, 28px) !important; }
.seq-plain button.primary, .seq-plain button.secondary, .seq-plain button.choice {
  background: #fff !important; background-image: none !important; color: #222 !important; border: 1px solid #bbb !important; border-radius: 8px !important;
  box-shadow: none !important; text-shadow: none !important; font-weight: 600 !important; font-size: 17px !important; min-height: 44px !important; padding: 8px 16px !important; filter: none !important; }
.seq-plain button.primary { background: #222 !important; color: #fff !important; border-color: #222 !important; }
.seq-plain button.primary::before, .seq-plain button.primary::after, .seq-plain button.secondary::before, .seq-plain button.secondary::after, .seq-plain button.choice::before, .seq-plain button.choice::after { content: none !important; display: none !important; }
.seq-plain button.choice.sequence-correct { background: #e7f5ea !important; border-color: #3a8a4a !important; }
.seq-plain button.choice.sequence-incorrect { background: #fbe9ea !important; border-color: #b33 !important; }
.seq-plain .sequence-reveal, .seq-plain .seq-story-again summary { color: #555 !important; }
.seq-plain .sequence-answer { color: #222 !important; }
body:has(.seq-plain) .spotlights, body:has(.seq-plain) .stage-rays, body:has(.seq-plain) .curtain { display: none !important; }
body:has(.seq-plain) { background: #f7f3ec !important; }

/* 17 Nov 2026 (user): the onboarding's first sentence makes an entrance (app.js onbEntrance) */
body.onb-hold .balloon-layer { visibility: hidden; }
.sentence.onb-in { position: relative; z-index: 6; }
.sentence.onb-in .onb-w { display: inline-block; opacity: 0; transform: translateY(-.35em) scale(1.7); filter: blur(8px);
  animation: onb-word .7s cubic-bezier(.2, 1.25, .35, 1) calc(var(--i) * .12s + .45s) forwards; }
@keyframes onb-word { 55% { opacity: 1; filter: blur(0); color: #b06d00; text-shadow: 0 0 14px rgba(255, 196, 60, 1), 0 0 30px rgba(255, 170, 40, .8); }
  to { opacity: 1; transform: none; filter: none; } }
.sentence.onb-in::before, .sentence.onb-in::after { animation: onb-fade .6s ease .3s both; }
@keyframes onb-fade { from { opacity: 0; } }
.sentence.onb-shine { animation: onb-pulse 1s ease both; }
@keyframes onb-pulse { 35% { transform: scale(1.06); text-shadow: 0 0 20px rgba(255, 196, 60, .95); } }
.onb-fx { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: visible; }
.onb-fx b { position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 210, .95) 0, rgba(255, 210, 110, .7) 22%, rgba(255, 190, 70, .25) 45%, rgba(255, 190, 70, 0) 66%);
  opacity: 0; transform: scale(.15); animation: onb-flash 1.5s cubic-bezier(.2, .8, .3, 1) .15s forwards; mix-blend-mode: screen; }
@keyframes onb-flash { 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1); } }
.onb-fx i { position: absolute; left: 50%; top: 45%; width: 22px; height: 22px; margin: -11px; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, #ffd257 34%, #e09a12 52%, rgba(224, 154, 18, 0) 70%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: onb-spark 1.4s cubic-bezier(.15, .7, .3, 1) calc(.3s + var(--d)) forwards; }
@keyframes onb-spark { 0% { opacity: 0; transform: rotate(var(--a)) translateX(10px) scale(.3) rotate(0); } 20% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) scale(1.2) rotate(180deg); } }
/* 17 Nov 2026 (user): the sentence is not seen for a moment before its entrance */
body.onb-hold .stage-scroll .sentence:not(.onb-in) { opacity: 0 !important; }
body.onb-hold:not(.onb-entering) .stage-scroll, body.onb-hold:not(.onb-entering) #central-card .sentence { opacity: 0 !important; visibility: hidden !important; }

/* 18 Nov 2026 (user): one definition for the answer on the cake — the same size, colour and place on the question and on the result */
html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card { overflow: visible !important; }
html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .cake-host-answer,
html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #theater-stage .host-answer,
html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .stage-result-copy .revealed-answer { display: none !important; }
html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .ans-slot { position: absolute !important; left: 0 !important; right: 0 !important; margin: 0 !important; padding: 0 9% !important;
  transform: translateY(-50%) !important; translate: none !important; text-align: center !important; direction: rtl;
  font-size: clamp(24px, 7.4vw, 36px) !important; font-weight: 900 !important; line-height: 1.15 !important; color: #a3195b !important;
  z-index: 4; pointer-events: none; animation: ans-slot-in .35s ease both; }
html body.ans-slot-on.cake-dark:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .ans-slot, html body.ans-slot-on.tv-round:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .ans-slot { color: #ffd36b !important; }
html body.ans-slot-on.screen-result:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .ans-slot, html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card.result-card .ans-slot { animation: none; }
@keyframes ans-slot-in { from { opacity: 0; } to { opacity: 1; } }

/* 18 Nov 2026 (user): question first (fade), then the two buttons (fade) */
html body:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage.q-fade .cake-question,
html body:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage.q-fade .panel-question { animation: qf-in .6s ease both !important; }
html body:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage.q-fade .mode-pick > * { animation: qf-in .5s ease .8s both !important; }
@keyframes qf-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== 18 Nov 2026 (user): the McDonald's cake (formulas that say ״מקדונלדס״) and the piano cake (media – song) ===== */
body.cake-mcd { --rail: #d8292f; --rail-bg: rgba(216, 41, 47, .16); }
body.cake-piano { --rail: #6b1f45; --rail-bg: rgba(107, 31, 69, .16); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-mcd { --ray: rgba(255,240,200,.6); --glow: #ffe08a; --shade: 110,20,15; --shade-op: 0.4; background: #d23a2c radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #ffe08a 0%, #e0472f 30%, #d23a2c 50%, #8f1f17 82%, #5a120d 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-piano { --ray: rgba(250,232,242,.55); --glow: #ecd2e2; --shade: 60,20,40; --shade-op: 0.42; background: #8a5a7e radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #ecd2e2 0%, #8a5a7e 30%, #8a5a7e 50%, #57334f 82%, #351e30 100%) !important; background-attachment: fixed !important; }
#theater-stage > .mcd-peek { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(90, 20, 10, .25)); }
#theater-stage > .mcd-peek i { position: absolute; display: block; background: url(assets/cakes/mcd-peek.webp) no-repeat; opacity: 0; transition: opacity .2s ease; }
#theater-stage > .mcd-peek i.on { opacity: 1; }
body.cake-swapping #theater-stage > .mcd-peek { opacity: 0; }
body.cake-post { --rail: #e9d9b8; --rail-bg: rgba(233, 217, 184, .2); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-post { --ray: rgba(214,224,250,.55); --glow: #a8b6e0; --shade: 5,10,40; --shade-op: 0.5; background: #1f3478 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #a8b6e0 0%, #2a428c 30%, #1f3478 50%, #13224f 82%, #0a1432 100%) !important; background-attachment: fixed !important; }

/* 19 Nov 2026 (user): the sentence's balloons at the bottom of the sequence screen — they just appear */
.seq-balloons { flex: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 10px; height: clamp(90px, 15vh, 150px); overflow: hidden; margin-top: auto; }
.seq-balloons img { height: 100%; width: auto; display: block; animation: none !important; transition: none !important; }

/* 19 Nov 2026: the peeker travelling with a gliding McDonald's cake */
.cake-ghost > .mcd-peek { pointer-events: none; filter: drop-shadow(0 6px 10px rgba(90, 20, 10, .25)); }
.cake-ghost > .mcd-peek i { position: absolute; display: block; background: url(assets/cakes/mcd-peek.webp) no-repeat; opacity: 0; }
.cake-ghost > .mcd-peek i.on { opacity: 1; }

/* 19 Nov 2026 (user's video): a peeker made anew on a redraw shows at once (no fade = no blink) */
#theater-stage > .mcd-peek.pk-fresh i { transition: none !important; }
/* 19 Nov 2026 (user): a long question is never cut or scrolled once the answer is shown — it is all seen, and the answer fits under it */
html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .stage-answer-scroll { overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; height: auto !important; max-height: none !important; }
html body.ans-slot-on:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .stage-answer-scroll ~ .scroll-hint, html body.ans-slot-on #central-card .stage-scroll-bar { display: none !important; }

/* ===== 19 Nov 2026 (user): the breakfast cake (honey-ivory, the food cluster's orange candle), the kraft takeaway cake (brown candle) and the purple paparazzi gossip cake ===== */
body.cake-breakfast { --rail: #c98a3c; --rail-bg: rgba(201, 138, 60, .16); }
body.cake-takeaway { --rail: #8f5a32; --rail-bg: rgba(143, 90, 50, .16); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-breakfast { --ray: rgba(255,246,222,.6); --glow: #fff1cf; --shade: 110,70,20; --shade-op: 0.36; background: #e9c487 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #fff1cf 0%, #efcf96 30%, #e9c487 50%, #a77b3f 82%, #6b4a20 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-takeaway { --ray: rgba(250,236,210,.55); --glow: #f0dcb8; --shade: 80,45,15; --shade-op: 0.42; background: #b98a5a radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #f0dcb8 0%, #c99b69 30%, #b98a5a 50%, #7a5432 82%, #4a311b 100%) !important; background-attachment: fixed !important; }
/* the writing sits on each cake's own front */
html body.cake-layout.cake-takeaway:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-takeaway:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-takeaway:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 40.5% !important; height: 33.5% !important; max-height: 33.5% !important; left: 18.5% !important; width: 63% !important; }
html body.cake-layout.cake-breakfast:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-breakfast:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-breakfast:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 39.5% !important; height: 32.5% !important; max-height: 32.5% !important; }
html body.cake-layout.cake-gossip:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-gossip:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-gossip:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 37% !important; height: 36% !important; max-height: 36% !important; left: 21.5% !important; width: 57% !important; }
html body.cake-layout.cake-gossip:not(.tv-round):not(#z1):not(#z2):not(#z3):not(#z4) { --cf: calc(var(--tw) * .066) !important; }
html body.cake-layout.cake-takeaway:not(.tv-round):not(#z1):not(#z2):not(#z3):not(#z4) { --cf: calc(var(--tw) * .07) !important; }
/* 19 Nov 2026 (user): no cluster / file name on the sentence cakes, and the sentence always starts at the top of the writing box */
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .stage-scroll { justify-content: flex-start !important; }
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .stage-scroll > .sentence { margin-top: 0 !important; margin-bottom: auto !important; }
html body.cake-layout:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6):not(#y7) #central-card .stage-scroll > .formula-tag { display: none !important; }
/* ===== 19 Nov 2026 (user): the monochrome pleated fashion cake (clothes shopping; a dress and a shoe together) with its black-and-white pleated candle, and the pasta cake with the golden pasta candle ===== */
body.cake-fashion { --rail: #2b2b2b; --rail-bg: rgba(30, 30, 30, .14); }
body.cake-pasta { --rail: #c8312a; --rail-bg: rgba(200, 49, 42, .14); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-fashion { --ray: rgba(255,255,255,.55); --glow: #ffffff; --shade: 0,0,0; --shade-op: 0.45; background: #b9b9b9 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #ffffff 0%, #dcdcdc 30%, #b9b9b9 50%, #5e5e5e 82%, #1c1c1c 100%) !important; background-attachment: fixed !important; }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-pasta { --ray: rgba(255,244,214,.6); --glow: #fff2cf; --shade: 120,30,20; --shade-op: 0.38; background: #e9b860 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #fff2cf 0%, #f3d38e 30%, #e9b860 50%, #b5452c 82%, #6e1d14 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-fashion:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-fashion:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-fashion:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 39.5% !important; height: 32% !important; max-height: 32% !important; left: 25% !important; width: 50% !important; }
html body.cake-layout.cake-pasta:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-pasta:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-pasta:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 41% !important; height: 28% !important; max-height: 28% !important; left: 15% !important; width: 70% !important; }
html body.cake-layout.cake-fashion:not(.tv-round):not(#z1):not(#z2):not(#z3):not(#z4) { --cf: calc(var(--tw) * .062) !important; }
/* ===== 19 Nov 2026 (user): the ocean-liner holiday cake (travel stories about the holiday itself) with its blue rope candle ===== */
body.cake-vacation { --rail: #0d2f5c; --rail-bg: rgba(13, 47, 92, .18); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-vacation { --ray: rgba(220,245,255,.55); --glow: #e3f6ff; --shade: 5,30,70; --shade-op: 0.45; background: #3f8fc4 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #e3f6ff 0%, #8fd0ec 30%, #3f8fc4 50%, #164f86 82%, #082446 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-vacation:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-vacation:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-vacation:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 41% !important; height: 27% !important; max-height: 27% !important; left: 14% !important; width: 72% !important; }

/* ===== 19 Nov 2026 (user): the hearts cake (a sure, happy match), the sushi cake (sushi / Asian food) and the salad cake (salad, vegetables, endive), each with its own candle ===== */
body.cake-match { --rail: #a3243a; --rail-bg: rgba(163,36,58,.15); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-match { --ray: rgba(255,236,242,.55); --glow: #f6dbe2; --shade: 90,20,40; --shade-op: 0.4; background: #e7a9b8 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #fbe9ee 0%, #f3c6d1 30%, #e7a9b8 50%, #a3485c 82%, #5c1a2a 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-match:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-match:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-match:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 40% !important; height: 30% !important; max-height: 30% !important; left: 15% !important; width: 70% !important; }
body.cake-sushi { --rail: #c8312a; --rail-bg: rgba(200,49,42,.14); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-sushi { --ray: rgba(255,244,232,.55); --glow: #fff3e6; --shade: 80,30,10; --shade-op: 0.4; background: #ecc8a6 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #fff7ee 0%, #f6dfc6 30%, #ecc8a6 50%, #a3583a 82%, #3d1f12 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-sushi:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-sushi:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-sushi:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 41% !important; height: 28% !important; max-height: 28% !important; left: 15% !important; width: 70% !important; }
body.cake-salad { --rail: #3f8a2b; --rail-bg: rgba(63,138,43,.15); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-salad { --ray: rgba(244,255,232,.55); --glow: #f1fbe4; --shade: 30,70,20; --shade-op: 0.4; background: #b7de8a radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #f6fdec 0%, #d7efb8 30%, #b7de8a 50%, #5e9a37 82%, #24451a 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-salad:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-salad:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-salad:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 39% !important; height: 29% !important; max-height: 29% !important; left: 15% !important; width: 70% !important; }

/* ===== 19 Nov 2026 (user): the Roman gelateria cake (ice cream and ice-cream stories) with its stracciatella candle ===== */
body.cake-icecream { --rail: #5a3420; --rail-bg: rgba(90,52,32,.15); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-icecream { --ray: rgba(255,246,228,.6); --glow: #fff5e2; --shade: 60,30,15; --shade-op: 0.4; background: #e7cfa6 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #fff5e2 0%, #f1dfbd 30%, #e7cfa6 50%, #8a5a36 82%, #3d2414 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-icecream:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-icecream:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-icecream:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 41% !important; height: 26% !important; max-height: 26% !important; left: 14% !important; width: 72% !important; }

/* ===== 19 Nov 2026 (user): the mint bucket cake (cleaning), the protest cake and the state-event podium cake (politics) ===== */
body.cake-bucket { --rail: #1f8a78; --rail-bg: rgba(31,138,120,.15); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-bucket { --ray: rgba(230,255,248,.55); --glow: #e6fff8; --shade: 10,60,50; --shade-op: 0.42; background: #7fd8c4 radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #e6fff8 0%, #bff0e2 30%, #7fd8c4 50%, #2e9c86 82%, #0f4a40 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-bucket:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-bucket:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-bucket:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 38% !important; height: 31% !important; max-height: 31% !important; left: 17% !important; width: 66% !important; }
body.cake-protest { --rail: #1f2d6b; --rail-bg: rgba(31,45,107,.18); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-protest { --ray: rgba(230,236,255,.55); --glow: #e6ecff; --shade: 10,15,50; --shade-op: 0.42; background: #4a5fae radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #e6ecff 0%, #a9b8e8 30%, #4a5fae 50%, #1f2d6b 82%, #0a1236 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-protest:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-protest:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-protest:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 42% !important; height: 29% !important; max-height: 29% !important; left: 12% !important; width: 76% !important; }
body.cake-state { --rail: #1f2d6b; --rail-bg: rgba(31,45,107,.18); }
html body.round-ui:not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6).cake-state { --ray: rgba(255,246,220,.55); --glow: #fff6dc; --shade: 10,15,50; --shade-op: 0.42; background: #4a5fae radial-gradient(ellipse 72% 58% at var(--rx, 50%) var(--ry, 48%), #fff6dc 0%, #e9d9a8 30%, #4a5fae 50%, #1f2d6b 82%, #0a1236 100%) !important; background-attachment: fixed !important; }
html body.cake-layout.cake-state:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage #central-card,
html body.cake-layout.cake-state:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:has(.cake-copy) #central-card,
html body.cake-layout.cake-state:not(.tv-round):not(#y1):not(#y2):not(#y3):not(#y4):not(#y5):not(#y6) #theater-stage:not(:has(.cake-copy)) #central-card { top: 41% !important; height: 30% !important; max-height: 30% !important; left: 12% !important; width: 76% !important; }
