/* Toplist & Tables */

.tablewrapper {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    transition: transform 0.2s;
}

.tablewrapper:hover {
    transform: translateY(-2px);
}

.ecttable {
    width: 100%;
    border-collapse: collapse;
}

.ecttable td {
    padding: 20px;
    vertical-align: middle;
}

.ecttable thead td {
    background: #f1f5f9;
    font-weight: 600;
}

/* Columns */
.ectimg {
    width: 100px;
    text-align: center;
}

.ectimg img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.ectcol1 h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.ectcol2 {
    text-align: center;
}

.col2start {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
}

.col2follow {
    font-size: 0.9rem;
    color: #666;
}

.ectlink {
    width: 180px;
}

.ectinfobox {
    background: #f8fafc;
    padding: 8px 20px;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.ectinfobox a {
    color: #64748b;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .ecttable td {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        padding: 8px 12px;
    }

    .ectimg {
        width: 100%;
        margin-bottom: 8px;
        padding: 10px 0 0;
        display: flex;
        justify-content: center;
    }

    .ectimg img {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .ectcol1 h3 {
        font-size: 0.95rem;
    }

    .ectcol2 {
        padding: 5px 12px;
    }

    .col2start {
        font-size: 0.95rem;
    }

    .col2follow {
        font-size: 0.8rem;
    }

    .ectlink {
        width: 100%;
        padding: 8px 12px 12px;
    }

    .tablewrapper {
        margin-bottom: 16px;
    }

    .ectinfobox {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}