.yusho-table-container {
    overflow-x: auto; overflow-y: auto; max-height: 600px;
    -webkit-overflow-scrolling: touch; margin-bottom: 16px; position: relative;
    isolation: isolate;
}
.yusho-table {
    border-collapse: collapse; table-layout: auto; width: 100%;
    font-size: 14px !important; line-height: 1.45;
    color: #000 !important; font-weight: bold !important;
}
.yusho-table th, .yusho-table td {
    padding: 6px 10px !important;
    border-bottom: 1px solid #333 !important;
    border-right: 1px solid #333 !important;
    vertical-align: top !important; color: #000 !important; font-size: 14px !important;
    word-break: keep-all !important;
}
.yusho-table thead th {
    background-color: #1a1a1a !important; color: #fff !important;
    text-align: center !important; vertical-align: middle !important;
    border-bottom: 2px solid #000 !important; font-size: 14px !important;
    text-transform: none !important; white-space: nowrap !important;
    position: sticky; top: 0; z-index: 20;
}
.yusho-table tbody tr:nth-child(even) { background-color: #f5f5f5 !important; }
.yusho-table tbody tr:nth-child(odd)  { background-color: #ffffff !important; }
.yusho-last-row td { border-bottom: 2px solid #000 !important; }

.yusho-sticky-left {
    position: -webkit-sticky !important; position: sticky !important; left: 0;
    background-color: #e5e5e5 !important; color: #000 !important;
    font-weight: bold !important; z-index: 10;
    box-shadow: 1px 0 0 0 #333;
    border-right: none !important;
    width: 105px !important; min-width: 105px !important; max-width: 105px !important;
    white-space: nowrap !important; box-sizing: border-box !important;
    transform: translateZ(0);
}
.yusho-table thead th.yusho-sticky-left { z-index: 30 !important; }

.yusho-sticky-name2 {
    position: -webkit-sticky !important; position: sticky !important; left: 105px;
    background-color: #e5e5e5 !important; color: #000 !important;
    font-weight: bold !important; z-index: 10;
    box-shadow: 1px 0 0 0 #333;
    border-right: none !important;
    width: 100px !important; min-width: 100px !important;
    white-space: nowrap !important;
    transform: translateZ(0);
}
.yusho-table thead th.yusho-sticky-name2 { z-index: 30 !important; }

/* 透け防止：奇数・偶数行両方でsticky列の背景を明示 */
.yusho-table tbody tr:nth-child(odd)  td.yusho-sticky-left,
.yusho-table tbody tr:nth-child(even) td.yusho-sticky-left,
.yusho-table tbody tr:nth-child(odd)  td.yusho-sticky-name2,
.yusho-table tbody tr:nth-child(even) td.yusho-sticky-name2 {
    background-color: #e5e5e5 !important;
    transform: translateZ(0);
}

.yusho-align-right  { text-align: right  !important; vertical-align: top !important; }
.yusho-align-center { text-align: center !important; vertical-align: top !important; }

.yusho-basho-pc  { display: block; }
.yusho-basho-mobile { display: none; }

.yusho-col-rank { white-space: nowrap !important; }

.yusho-col-comment {
    white-space: normal !important; font-size: 12px !important;
    color: #444 !important; font-weight: normal !important; line-height: 1.6;
    min-width: 200px !important; max-width: none !important;
    vertical-align: top !important;
}
.yusho-comment-inner {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.6em * 2 + 4px);
    line-height: 1.6;
    word-break: break-all;
}
.yusho-comment-inner.yusho-expanded {
    display: block;
    max-height: none;
    overflow: visible;
}
.yusho-comment-btn {
    display: inline-block; font-size: 11px; color: #185FA5; cursor: pointer;
    border: 1px solid #185FA5; border-radius: 3px; padding: 1px 6px;
    margin-top: 4px; background: #fff; white-space: nowrap; line-height: 1.4;
}

.yusho-fusho { color: #c0392b !important; font-weight: bold !important; }
.yusho-count { color: #c0392b !important; font-weight: bold !important; margin-left: 4px; }
.yusho-name  { font-weight: bold !important; }
.yusho-fusho-badge {
    display: inline-block; background: #c0392b; color: #fff !important;
    font-size: 11px !important; font-weight: bold !important;
    border-radius: 3px; padding: 1px 5px; margin-right: 4px;
    vertical-align: middle; white-space: nowrap;
}

.yusho-title-bar {
    background-color: transparent; color: #000;
    font-size: 15px; font-weight: bold;
    border-bottom: 3px solid #000000; padding-bottom: 6px; margin-bottom: 8px;
}
.yusho-title-h2 { font-size: 20px; font-weight: bold; border-bottom: 2px solid #000000; margin-bottom: 8px; }
.yusho-title-h3 { font-size: 17px; font-weight: bold; border-bottom: 1px solid #000000; margin-bottom: 8px; }
.yusho-desc { margin-bottom: 12px; }

.yusho-ranking-container {
    overflow-x: auto; overflow-y: auto; max-height: 600px;
    -webkit-overflow-scrolling: touch; margin-bottom: 8px; position: relative;
}
.yusho-ranking-note { font-size: 12px; color: #666; margin-bottom: 6px; }
.yusho-ranking-table {
    border-collapse: collapse; table-layout: fixed; width: 100%;
    font-size: 13px !important;
}
.yusho-ranking-table th, .yusho-ranking-table td {
    padding: 5px 8px !important; border: 1px solid #333 !important;
    vertical-align: middle !important; color: #000 !important;
    font-size: 13px !important; white-space: nowrap !important;
}
.yusho-ranking-table thead th {
    background-color: #1a1a1a !important; color: #fff !important;
    text-align: center !important; font-size: 13px !important;
    text-transform: none !important; position: sticky; top: 0; z-index: 20;
}
.yusho-ranking-table tbody tr:nth-child(even) { background-color: #f0f4ff !important; }
.yusho-rank-sticky {
    position: -webkit-sticky !important; position: sticky !important; left: 0;
    background-color: #e8eef8 !important; z-index: 10;
    border-right: 1px solid #333 !important;
    width: 42px !important; min-width: 42px !important;
}
.yusho-ranking-table thead th.yusho-rank-sticky { z-index: 30 !important; background-color: #1a1a1a !important; }
.yusho-name-sticky {
    position: -webkit-sticky !important; position: sticky !important; left: 42px;
    background-color: #e8eef8 !important; z-index: 10;
    box-shadow: 1px 0 0 0 #555;
    border-right: 2px solid #555 !important;
    width: 100px !important; min-width: 100px !important;
}
.yusho-ranking-table thead th.yusho-name-sticky { z-index: 30 !important; background-color: #1a1a1a !important; }
.yusho-ranking-table tbody td.yusho-rank-sticky,
.yusho-ranking-table tbody td.yusho-name-sticky { background-color: #e8eef8 !important; }
.yusho-rank-unreached { background-color: #d8d8d8 !important; color: #999 !important; }

@media (max-width: 768px) {
    .yusho-col-rank {
        display: none !important;
        width: 0 !important; min-width: 0 !important; max-width: 0 !important;
        padding: 0 !important; border: none !important;
    }
    .yusho-table { width: auto !important; }
    .yusho-sticky-left {
        width: 70px !important; min-width: 70px !important; max-width: 70px !important;
        white-space: normal !important;
        font-size: 10px !important; padding: 3px 4px !important;
    }
    .yusho-sticky-name2 {
        left: 70px !important;
        width: 72px !important; min-width: 72px !important;
        font-size: 12px !important; padding: 3px 5px !important;
    }
    .yusho-sticky-name2 .yusho-count { font-size: 10px !important; }
    .yusho-basho-pc  { display: none; }
    .yusho-basho-mobile { display: block; }
    .yusho-ranking-table { font-size: 11px !important; }
    .yusho-ranking-table th, .yusho-ranking-table td { padding: 3px 4px !important; font-size: 11px !important; }
}