.content-width {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    color: white;
}

.content-width h1 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: 0.01em;
}

.intro {
    color: #aab3c0;
    margin: 0 0 24px;
    line-height: 1.5;
}

.intro time {
    color: white;
}

details.method {
    background: var(--background-light);
    border-radius: 6px;
    padding: 12px 16px;
    margin: 0 0 32px;
    color: #c8d0db;
}

details.method summary {
    cursor: pointer;
    color: white;
    font-weight: 500;
}

details.method ul {
    margin: 12px 0 4px;
    padding-left: 20px;
    line-height: 1.6;
}

details.method a {
    color: var(--accent);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 6px;
    border: 1px solid #1c2733;
}

table#strength {
    width: 100%;
    border-collapse: collapse;
    color: white;
    font-size: 14px;
}

#strength thead {
    background: #14202c;
    position: sticky;
    top: 0;
}

#strength th {
    text-align: right;
    padding: 12px 14px;
    font-weight: 500;
    color: #aab3c0;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    border-bottom: 1px solid #1c2733;
}

#strength th[data-key="team"] { text-align: left; }
#strength th[data-key="rank"] { text-align: right; width: 40px; }
#strength th[data-key="composite_score"] { text-align: left; min-width: 180px; }

#strength th:hover { color: white; }

#strength th.active { color: white; }

#strength th.active::after {
    content: " ▾";
    color: var(--accent);
}

#strength th.active.asc::after {
    content: " ▴";
}

#strength td {
    padding: 10px 14px;
    text-align: right;
    border-bottom: 1px solid #1a242f;
    font-variant-numeric: tabular-nums;
}

#strength tbody tr:hover {
    background: #16212d;
}

#strength td.rank {
    color: #6b7787;
    text-align: right;
}

#strength td.team {
    text-align: left;
    font-weight: 500;
}

#strength td.score {
    text-align: left;
}

.score-cell {
    position: relative;
    height: 22px;
    display: flex;
    align-items: center;
    min-width: 160px;
}

.score-cell .bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: var(--accent-trans);
    border-left: 2px solid var(--accent);
    z-index: 0;
    border-radius: 2px;
}

.score-cell .score-num {
    position: relative;
    z-index: 1;
    padding: 0 8px;
    color: white;
    font-variant-numeric: tabular-nums;
}

.footnote {
    margin-top: 24px;
    color: #6b7787;
    font-size: 13px;
    line-height: 1.5;
}

.footnote a {
    color: #aab3c0;
}

@media (max-width: 640px) {
    .content-width { padding: 40px 12px; }
    #strength th, #strength td { padding: 8px 10px; font-size: 13px; }
    .score-cell { min-width: 100px; }
}
