.yeolb-summary-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.yeolb-summary-table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    margin-bottom: 2em;
}
.yeolb-summary-table th,
.yeolb-summary-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: center;
}
.yeolb-summary-table th {
    background: #f8f8f8;
    font-weight: bold;
}
.yeolb-details-btn {
    background: #3794eb;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}
.yeolb-details-btn:hover {
    background: #2e6db7;
}

/* Modal styles */
.yeolb-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.4);
}
.yeolb-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px 30px 30px 30px;
    border-radius: 6px;
    max-width: 700px;
    position: relative;
    box-shadow: 0 8px 40px #0004;
}
.yeolb-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 18px; top: 10px;
    cursor: pointer;
}
.yeolb-modal-close:hover {
    color: #000;
}
.yeolb-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}
.yeolb-details-table th,
.yeolb-details-table td {
    border: 1px solid #bbb;
    padding: 7px 12px;
    text-align: center;
}
.yeolb-details-table th {
    background: #f8f8f8;
}
.yeolb-dot {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 1em;
    margin: 2px;
    border: 1.5px solid #333;
}
.yeolb-details-btn,
.yeolb-lb-btn,
.yeolb-bonus-btn {
    background: #ffe066;
    color: #222;
    border: none;
    padding: 7px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    min-width: 110px;
    max-width: 100%;
    box-sizing: border-box;
    outline: none;
    margin: 0 auto;
    display: inline-block;
}

.yeolb-details-btn:active,
.yeolb-details-btn:focus,
.yeolb-lb-btn:active,
.yeolb-lb-btn:focus,
.yeolb-bonus-btn:active,
.yeolb-bonus-btn:focus {
    background: #222;
    color: #ffe066;
}

.yeolb-details-btn:hover,
.yeolb-lb-btn:hover,
.yeolb-bonus-btn:hover {
    background: #ffe066;
    color: #222;
}

@media (max-width: 500px) {
    .yeolb-details-btn,
    .yeolb-lb-btn,
    .yeolb-bonus-btn {
        padding: 8px 10px;
        font-size: 1em;
        min-width: 90px;
    }
}
.yeolb-details-btn,
.yeolb-lb-btn,
.yeolb-bonus-btn {
    background: #ffe066;
    color: #222;
    border: none;
    padding: 7px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(0.8em, 3vw, 1em); /* Shrinks text on smaller screens */
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 110px;
    max-width: 100%;
    box-sizing: border-box;
    outline: none;
    margin: 0 auto;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}