.greemong-live .gm-rankings-tabs {
    display: flex;
    gap: .8rem;
    padding: .2rem .25rem 0;
    border-bottom: 1px solid #dce4d4;
}

.greemong-live .gm-rankings-tabs a {
    display: inline-flex;
    align-items: center;
    padding: .25rem .2rem .3rem;
    color: #526759;
    border-bottom: 2px solid transparent;
    font-weight: 700;
    text-decoration: none;
}

@media (pointer: coarse) {
    .greemong-live .gm-rankings-tabs a { min-height: 44px; }
}

.greemong-live .gm-rankings-tabs a:hover,
.greemong-live .gm-rankings-tabs a[aria-current] {
    color: #254c54;
}

.greemong-live .gm-rankings-tabs a[aria-current] {
    border-bottom-color: #6b9384;
}

.greemong-live .gm-rankings-panel {
    display: flex;
    flex-direction: column;
    block-size: 27rem;
}

.greemong-live #gm-home-rankings-content {
    flex: 1;
    min-block-size: 0;
    overflow: auto;
}

.greemong-live #gm-home-rankings-content:focus-visible {
    outline: 2px solid #3d606b;
    outline-offset: -2px;
}

.greemong-live .gm-rankings-panel > .gm-rankings-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    flex: none;
    margin-top: .25rem;
    border-top: 1px solid #dce4d4;
    color: #526759;
    font-size: .625rem;
}

.greemong-live .gm-rankings-refresh {
    display: inline-flex;
    align-items: center;
    min-block-size: 24px;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.greemong-live .gm-rankings-card .gm-rankings-full {
    display: inline-block;
    margin-top: .55rem;
    color: #315b60;
}

.greemong-live .gm-rankings-card .gm-rankings-caption {
    margin: .15rem 0 0;
    color: #526759;
    font-size: .625rem;
    line-height: 1.4;
}

.gm-duel-board,
.gm-recent-duels {
    width: 100%;
    max-width: 52rem;
    margin-inline: auto;
}

.gm-duel-board h1 {
    margin-bottom: .4rem;
}

.gm-duel-board table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.gm-duel-board th,
.gm-duel-board td {
    padding: .55rem clamp(.25rem, 2vw, .8rem);
    text-align: right;
    border-bottom: 1px solid #dce4d4;
}

.gm-duel-board thead th {
    background: #edf2e6;
    color: #425e53;
}

.gm-duel-board tr > :nth-child(2) {
    text-align: left;
    overflow-wrap: anywhere;
}

.gm-duel-board tbody th {
    color: #304f59;
    font-weight: normal;
}

.gm-duel-board .gm-ranking-character {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.gm-duel-board .gm-ranking-job {
    display: block;
    color: #526759;
}

.gm-duel-board tbody tr:first-child {
    background: #f6f1e2;
}

.gm-duel-board .gm-duel-update {
    margin-top: .8rem;
    color: #526759;
}

.gm-recent-duels {
    margin-top: 1.65rem;
}

.gm-recent-duels ol {
    list-style: none;
    margin: .6rem 0 0;
    padding: 0;
}

.gm-recent-duels li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .3rem 1rem;
    padding: .62rem .8rem;
    border-bottom: 1px solid #dce4d4;
}

.gm-recent-duels strong { color: #304f59; }
.gm-duel-rating, .gm-recent-duels time {
    color: #526759;
    font-size: .9em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gm-duel-rating { margin-left: .4rem; }
.gm-duel-status { margin-top: .7rem; }
