
body { font-family: Arial, sans-serif; margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
header { background-color: #FFCC00; color: black; padding: 10px; text-align: center; }
nav { display: flex; justify-content: center; background-color: #eee; }
nav button, .action { margin: 5px; padding: 10px 20px; border: none; cursor: pointer; background: #ddd; border-radius: 4px; }
nav button.active {background: #FFCC00;color: #000000;}
.action {background: #fcd112;}
.content { padding: 20px; text-align: center; flex: 1; }
.grid { display: grid; grid-template-columns: repeat(10, 30px); gap: 2px; justify-content: center; margin-bottom: 10px; }
.cell {width: 30px;height: 30px;line-height: 30px;border: 2px solid #ccc;/* border-radius:  25px; */border-radius: 25px;font-size: 12px;font-weight: bold;}
.marked {background-color: #fcd112;color: #000000;}
.tips-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tip { flex: 1 1 30%; box-sizing: border-box; border: 1px solid #ddd; padding: 5px; margin: 5px; }
footer { background: #eee; text-align: center; padding: 10px; }
footer a { margin: 0 10px; cursor: pointer; text-decoration: underline; color: #333; }
.popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border: 1px solid #ccc; padding: 20px; display: none; z-index: 10; }
.popup button { margin-top: 10px; }
.overlay { position: fixed; top: 0; left: 0; right:0; bottom:0; background: rgba(0,0,0,0.5); display:none; z-index:5; }
#balls { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 10px; }
.ball { width: 30px; height: 30px; border-radius: 50%; background-color: #FFCC00; color: black; display: flex; justify-content: center; align-items: center; font-size: 14px; font-weight: bold; box-shadow: 0 0 3px rgba(0,0,0,0.3); }
@media (max-width: 768px) { .tip { flex: 1 1 100%; } }
