@import "animations.css";

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f7;
    overscroll-behavior-y: none; /* Prevents pull-to-refresh on mobile */
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.cell {
    transition: all 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
}
.cell.selected {
    background-color: #0071e3;
    color: white;
    transform: scale(0.92);
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.4);
}
.cell.found {
    background: linear-gradient(135deg, #34c759, #2eb350);
    color: white;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(52, 199, 89, 0.3);
    z-index: 5;
    position: relative;
}

#grid-container {
    display: grid;
    gap: 0px; 
    width: 100%;
    touch-action: none; /* Crucial for mobile swipe interactions */
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d1d6; border-radius: 10px; }
