/* Kids Hub games */
.g-win { position: sticky; top: 6px; z-index: 5; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.12); padding: 8px; text-align: center; font-size: 1.5rem; font-weight: 800; margin: 10px 0; color: #1f7a3a; }
.g-plus { border: 2px dashed #f0b400; }
.g-conf { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.g-conf i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 2px; animation: gfall 2.2s ease-in forwards; }
@keyframes gfall { to { transform: translateY(105vh) rotate(540deg); opacity: .8; } }
.g-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
.g-board { margin: 10px auto; max-width: 560px; }
.g-grid { display: grid; gap: 3px; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.g-cell { background: #fff; border: 2px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; aspect-ratio: 1; font-size: clamp(.9rem, 4vw, 1.4rem); cursor: pointer; }
.g-cell.sel { background: #ffe08a; } .g-cell.found { background: #b8efc8; } .g-cell.bad { background: #ffc9c2; }
.g-score { text-align: center; font-size: 1.2rem; font-weight: 800; }
.g-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; }
.g-list li { padding: 4px 10px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 700; }
.g-list li.done { text-decoration: line-through; background: #b8efc8; }
.k-chip[data-plus="1"]::after { content: ' ⭐'; }
@media print { .g-win, .g-plus, .g-conf { display: none !important; } }
