.osvd-container {
    max-width: 1000px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.osvd-board {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: repeat(11, 1fr);
    aspect-ratio: 1 / 1;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    position: relative;
    user-select: none;
}

.osvd-cell {
    border: 1px solid rgba(59, 130, 246, 0.4);
    position: relative;
    cursor: pointer;
}

.osvd-cell:hover {
    background: rgba(59, 130, 246, 0.1);
}

.osvd-cell-empty { border: none; cursor: default; }

.osvd-cell-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
    font-family: monospace;
    border: none;
}

.osvd-ship-drawing {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

.osvd-marker {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.osvd-marker-miss {
    width: 50%;
    height: 50%;
    background-color: rgba(6, 182, 212, 0.6);
    border-radius: 50%;
}

.osvd-marker-hit, .osvd-marker-sunk {
    width: 80%;
    height: 80%;
    background-color: rgba(239, 68, 68, 0.4);
    border: 3px solid #ef4444;
    border-radius: 50%;
}

.osvd-gif {
    width: 120%;
    height: 120%;
    object-fit: cover;
    z-index: 30;
    position: absolute;
}

.osvd-overlay-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.osvd-modal {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    max-width: 500px;
    width: 100%;
}

.sketchy-boat {
    border: 2px dashed gray;
    border-radius: 9999px;
    background-color: rgba(128,128,128,0.1);
    margin: 2px;
    box-sizing: border-box;
}

.sketchy-boat-sunk {
    border-color: red;
    background-color: rgba(255,0,0,0.2);
}
