.sv388-month {
    background: #0f2230;
    color: #cfe6f3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.sv388-month .head {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    background: #0b1a26;
    padding: 10px 12px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sv388-scroll {
    overflow-x: auto;
}

.sv388-month .head, .sv388-month .grid {
    min-width: 820px;
}

.sv388-month .grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
}

.sv388-cell {
    border: 1px solid #143346;
    min-height: 115px;
    padding: 10px;
    position: relative;
}

.sv388-cell .d {
    position: absolute;
    top: 8px;
    right: 10px;
    opacity: .7;
    font-size: 12px;
}

.sv388-item {
    margin-top: 6px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sv388-badge {
    background: #122d3e;
    border: 1px solid #1e4963;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 700;
    color: #b7e1ff;
}

.sv388-timecnt {
    opacity: .85;
    font-size: 12px;
}

.sv388-muted {
    background: #0c1f2b;
    color: #6b93a9;
}

.sv388-today {
    outline: 2px solid #ff9f43;
    outline-offset: -2px;
}

.sv388-today .d {
    color: #ffd6a1;
    font-weight: 700;
}

@media (max-width: 640px) {
    .sv388-cell {
        min-height:96px;
        padding: 8px;
    }

    .sv388-badge {
        font-size: 12px;
    }

    .sv388-timecnt {
        font-size: 12px;
    }
}