/* Nút bóng đèn trợ giúp trong màn chơi (public/js/help.js). */
.help-bulb { position: fixed; z-index: 60; right: max(10px, env(safe-area-inset-right)); top: calc(max(8px, env(safe-area-inset-top)) + 58px); width: 50px; height: 50px; padding: 6px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fffbe6, #ffe9a6 60%, #f6c84d); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.85); cursor: pointer; transition: transform 0.15s; }
.help-bulb[hidden] { display: none; }
.help-bulb svg { width: 100%; height: 100%; display: block; }
.help-bulb:active { transform: scale(0.92); }
.help-bulb i { position: absolute; inset: -6px; border-radius: 50%; pointer-events: none; }
.help-bulb.nudge { animation: bulbwiggle 2.4s ease-in-out infinite; }
.help-bulb.nudge i { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0.75); animation: bulbring 1.4s ease-out infinite; }
@keyframes bulbring { to { box-shadow: 0 0 0 18px rgba(255, 210, 63, 0); } }
@keyframes bulbwiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-12deg); } 84% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } }
.help-sheet { position: fixed; inset: 0; z-index: 105; display: flex; align-items: flex-end; justify-content: center; padding: 12px 12px max(12px, env(safe-area-inset-bottom)); background: rgba(4, 22, 40, 0); transition: background 0.25s; }
.help-sheet[hidden] { display: none; }
.help-sheet.in { background: rgba(4, 22, 40, 0.45); }
.help-card { width: 100%; max-width: 460px; padding: 18px 18px 14px; border-radius: 26px; background: var(--paper, #fffaf0); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); transform: translateY(40px); opacity: 0; transition: transform 0.3s cubic-bezier(0.2, 1.2, 0.3, 1), opacity 0.25s; font-family: var(--font-ui, Nunito, sans-serif); color: var(--ink, #2c1b10); }
.help-sheet.in .help-card { transform: none; opacity: 1; }
.help-head { display: flex; align-items: center; gap: 10px; }
.help-head svg { width: 34px; height: 34px; flex: none; }
.help-head b { font-family: var(--font-display, 'Fredoka', sans-serif); font-size: 22px; color: var(--wood-d, #5a2d0c); }
.help-card p { margin: 10px 0 14px; font-size: 15.5px; line-height: 1.55; color: #4a3d2e; }
.help-btns { display: flex; flex-direction: column; gap: 8px; }
.help-b { border: 0; border-radius: 999px; padding: 13px 16px; font: 800 16px var(--font-ui, Nunito, sans-serif); cursor: pointer; }
.help-b.main { background: linear-gradient(180deg, #ffb13d, #ff7a1a); color: #fff; box-shadow: 0 5px 0 #c75a0a; font-family: var(--font-display, 'Fredoka', sans-serif); font-size: 19px; }
.help-b.main:active { transform: translateY(3px); box-shadow: 0 2px 0 #c75a0a; }
.help-b.ghost { background: #fff6e0; color: #7a4a10; box-shadow: 0 4px 0 #f0d9a4; }
.help-b.link { background: none; padding: 8px; color: #8a7a62; font-size: 14px; }
/* đáp án / nút được gợi ý: sáng lên vài giây */
.help-glow { animation: helpglow 1s ease-in-out 4 !important; position: relative; z-index: 3; }
@keyframes helpglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); filter: none; } 50% { box-shadow: 0 0 0 8px rgba(255, 210, 63, 0.9), 0 0 26px 8px rgba(255, 190, 40, 0.85); filter: brightness(1.12); } }
@media (prefers-reduced-motion: reduce) { .help-bulb.nudge, .help-bulb.nudge i { animation: none; } }
