#cakeScene[hidden], #cakeScene [hidden], #gameArea[hidden], #cakeChoices[hidden], #balloon[hidden], #quizAnswer[hidden], #gameStart[hidden] { display:none; }
#cakeScene { text-align:center; }
#cakeScene svg { display:block; width:min(100%,320px); height:auto; margin:0 auto; overflow:visible; }
#cakeScene [data-cake-part] { animation:cake-appear .2s ease-out; }
#cakeProgress { margin:0 0 16px; font-size:14px; }
#cakeChoices { display:flex; flex-wrap:wrap; gap:8px; }
#cakeChoices button { flex:1 1 80px; }
#gameArea { min-height:230px; position:relative; }
#gameArea.is-cake, #gameArea.is-quiz { min-height:0; }
#gameTimer { display:block; margin-bottom:12px; font-variant-numeric:tabular-nums; }
@keyframes cake-appear { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { #cakeScene [data-cake-part] { animation:none; } }

#game .btn:hover, #game .btn:focus-visible { background:#fff4dd; color:#242422; border-color:#fff4dd; }
#game .btn:focus-visible { outline:3px solid #e5ad63; outline-offset:3px; }

.page-top{position:fixed;right:18px;bottom:82px;z-index:30;display:grid;place-items:center;width:44px;height:44px;border:1px solid currentColor;border-radius:50%;background:var(--surface,var(--paper,#fff));color:var(--ink,#253329);box-shadow:0 2px 12px #0001;text-decoration:none}.page-top[hidden]{display:none}.page-top:focus-visible{outline:2px solid currentColor;outline-offset:3px}
