.power-rankings {
    border-top: 1px solid #252630;
    background: #0a0a0f;
    color: #f3f3f6;
    font: 400 1rem/1.4 'DM Sans', system-ui, sans-serif;
    scroll-margin-top: 5rem;
}
.power-inner {
    width: min(100% - 2rem, 61rem);
    margin-inline: auto;
    padding-block: clamp(1.75rem, 3.5vw, 3.25rem);
}
.power-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1rem;
}
.power-header h2 {
    margin: 0;
    font: 400 clamp(2rem, 3vw, 2.75rem)/1.05 'Bebas Neue', system-ui, sans-serif;
}
.power-header .rating-views { margin: 0; }
.power-description { margin: .7rem 0 1.2rem; max-width: 82ch; color: #bbbdc9; font-size: .9375rem; }
.power-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.power-table-frame { min-width: 0; border: 1px solid #30313c; border-radius: .65rem; background: #111218; overflow: hidden; }
.power-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.power-table :is(th, td) { text-align: right; vertical-align: middle; padding: .5rem .4rem; }
.power-table thead { background: #1c1d26; color: #c7c9d6; }
.power-table thead th { height: 2.2rem; font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.power-table .power-place { width: 3.1rem; text-align: center; }
.power-table tbody .power-place { font-weight: 600; color: #b2b5c3; }
.power-table .power-team, .power-table .power-team-heading { text-align: left; }
.power-table .power-record { width: 3.6rem; }
.power-table .power-extra { width: 3.15rem; }
.power-table .power-result { width: 5rem; padding-right: 1rem; }
.power-table tbody tr + tr { border-top: 1px solid #252630; }
.power-table tbody tr { position: relative; }
.power-table tbody tr:is(:hover, :focus-within) { background: #20212a; }
.power-team a { display: flex; align-items: center; gap: .55rem; min-height: 1.8rem; color: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; }
/* The native team link covers its row for pointer and keyboard users. */
.power-team a::after { content: ''; position: absolute; inset: 0; }
.power-team a:focus-visible::after { outline: 2px solid #ffaa82; outline-offset: -2px; }
.power-team img { width: 1.75rem; height: 1.75rem; object-fit: contain; flex: none; }
.power-team small { display: block; color: #b4b6c4; font-size: .8125rem; font-weight: 400; margin-top: .2rem; }
.power-code { display: none; }
.power-record, .power-extra { color: #c7c9d6; }
.power-extra abbr { text-decoration: none; }
.power-result strong { color: #9ae3be; font-weight: 750; }
.power-result .power-negative { color: #f1b5a4; }
.power-more { display: inline-block; margin-top: 1rem; padding-block: .4rem; color: #ffa984; font-size: .9375rem; }
.power-more:is(:hover, :focus-visible) { text-decoration: underline; }
@media (max-width: 59rem) {
    .power-inner { max-width: 35rem; }
    .power-tables { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
@media (max-width: 36rem) {
    .power-inner { width: calc(100% - 1.5rem); }
    .power-header .rating-views { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .power-header .rating-views a { min-height: 44px; text-align: center; }
    .power-table .power-place { width: 2.55rem; }
    .power-table .power-record { width: 3.15rem; }
    .power-table .power-extra { width: 2.8rem; }
    .power-table .power-result { width: 4.35rem; padding-right: .55rem; }
    .power-team a { min-height: 2rem; }
}
@media (max-width: 24rem) {
    .power-name { display: none; }
    .power-code { display: inline; }
    .power-table :is(th, td) { padding-inline: .25rem; }
    .power-team img { width: 1.5rem; height: 1.5rem; }
}

.power-movers { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-bottom: 1rem; font-size: .9375rem; }
.power-movers p { margin: 0; }
.power-movers strong { margin-right: .3rem; }
.power-movers a { color: #d9dbe4; text-decoration: underline; text-decoration-color: #666875; text-underline-offset: .17em; }
.power-up { color: #9ae3be; }
.power-down { color: #f1b5a4; }
.power-table .power-change { width: 3.8rem; padding-right: .8rem; white-space: nowrap; font-weight: 650; }
.power-change abbr { text-decoration: none; }
.power-roster-moves .power-result { width: 4.5rem; padding-right: .35rem; }
.power-roster-moves tr { scroll-margin-top: 6rem; }
.power-roster-moves tr:target { background: #242630; }
@media (max-width: 28rem) {
    .power-roster-moves .power-name { display: none; }
    .power-roster-moves .power-code { display: inline; }
    .power-roster-moves .power-place { width: 2.25rem; }
    .power-roster-moves .power-record, .power-roster-moves .power-change { width: 2.85rem; }
    .power-roster-moves .power-team a { gap: .25rem; }
    .power-roster-moves .power-change { width: 2.6rem; padding-right: .45rem; }
    .power-roster-moves .power-extra { width: 2.35rem; }
    .power-roster-moves .power-result { width: 3.95rem; }
}
