.snk-front {
    margin: 1em 0;
}

.snk-front-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.snk-front-title {
    margin: 0;
    font-size: 1.2em;
}

.snk-front-search {
    margin-left: auto;
}

.snk-search-input {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    width: 200px;
    max-width: 100%;
}

.snk-search-input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

.snk-front-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.snk-front-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    table-layout: auto;
}

.snk-front-table th,
.snk-front-table td {
    border: 1px solid #ddd;
    padding: 4px 6px;
    text-align: center;
}

.snk-front-table th {
    background: #f5f5f5;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
}

.snk-front-table .snk-col-lp {
    width: 35px;
}

.snk-front-table .snk-col-name {
    text-align: left;
    white-space: nowrap;
}

.snk-front-table .snk-col-total {
    font-weight: 700;
    width: 55px;
}

.snk-front-table .snk-col-t {
    width: 55px;
}

.snk-front-table .snk-col-empty {
    background: #f9f9f9;
    color: #bbb;
}

/* .snk-col-dsq — reserved for DSQ debugging (no visual styling) */

.snk-front-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.snk-front-table tbody tr:hover {
    background: #eef6fc;
}

.snk-front-no-results {
    padding: 10px;
    text-align: center;
    color: #999;
}

@media (max-width: 600px) {
    .snk-front-header {
        flex-direction: column;
        align-items: stretch;
    }
    .snk-front-search {
        margin-left: 0;
    }
    .snk-search-input {
        width: 100%;
    }
    .snk-front-table {
        font-size: 11px;
    }
    .snk-front-table th,
    .snk-front-table td {
        padding: 3px 4px;
    }
    .snk-front-table .snk-col-lp,
    .snk-front-table .snk-col-total,
    .snk-front-table .snk-col-t {
        width: auto;
    }
}
