﻿.clueLayer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.clueLine,
.clueCell {
    position: absolute;
}

.clueLine.deductive {
    box-shadow: 0 0 0 2px rgba(0, 180, 0, 0.9), 
                0 0 0 5px rgba(0, 180, 0, 0.45), 
                0 0 0 9px rgba(0, 180, 0, 0.12);
}

.clueCell.deductive {
    box-shadow: 0 0 0 3px rgba(0, 180, 0, 0.95), 
                0 0 0 7px rgba(0, 180, 0, 0.55), 
                0 0 0 12px rgba(0, 180, 0, 0.18);
}

.clueLine.diagnostic {
    box-shadow: 0 0 0 2px rgba(220, 40, 40, 0.95), 
                0 0 0 5px rgba(220, 40, 40, 0.55), 
                0 0 0 9px rgba(220, 40, 40, 0.18);
}

.clueCell.diagnostic {
    box-shadow: 0 0 0 3px rgba(220, 40, 40, 1), 
                0 0 0 7px rgba(220, 40, 40, 0.6), 
                0 0 0 12px rgba(220, 40, 40, 0.2);
}

.clueMessage {
    position: absolute;
    padding: 10px 14px;
    margin-top: -12px;
    box-sizing: border-box;
    background-color: white;
    border: 2px solid #999;
    border-radius: 12px;
    border-top-right-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
    pointer-events: none;
}

    .clueMessage::before {
        content: "";
        position: absolute;
        right: -17px;
        top: -1px;
        width: 0;
        height: 0;
        border-top: 16px solid #999;
        border-right: 16px solid transparent;
    }

    .clueMessage::after {
        content: "";
        position: absolute;
        right: -13px;
        top: 0;
        width: 0;
        height: 0;
        border-top: 13px solid white;
        border-right: 13px solid transparent;
    }