.player-cell {
    padding: 4px !important;
}

.leaderboard-profile-image {
    display: block;
    width: 55px;
    height: 55px;
    object-fit: cover;
    margin: 2px auto;
    padding: 0;
}

.parcel-cell {
    min-width: 135px;
    padding: 5px 8px !important;
}

.parcel-total {
    margin-bottom: 5px;
    font-weight: bold;
    white-space: nowrap;
}

.parcel-mix {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    font-size: 0.72em;
}

.parcel-mix-bar {
    display: flex;
    width: 100%;
    height: 9px;
    margin-bottom: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 5px;
}

.parcel-mix-segment {
    display: block;
    height: 100%;
}

.parcel-mix-details {
    line-height: 1.25;
}

.parcel-mix-detail {
    display: grid;
    grid-template-columns: 25px 1fr 42px;
    column-gap: 3px;
    text-align: right;
    white-space: nowrap;
}

.parcel-mix-label {
    text-align: left;
    font-weight: bold;
}

.parcel-mix-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-radius: 50%;
}

.parcel-common {
    background-color: #76FF03;
}

.parcel-rare {
    background-color: #40C4FF;
}

.parcel-epic {
    background-color: #E040FB;
}

.parcel-legendary {
    background-color: #FFA726;
}

.rent-cell {
    min-width: 115px;
    white-space: nowrap;
}

.leaderboard-comparison-selector {
    margin: 10px 0;
    text-align: center;
}

.leaderboard-comparison-selector label {
    display: inline-block;
    margin-right: 5px;
    font-weight: bold;
}

.leaderboard-comparison-selector select {
    padding: 5px;
    max-width: 100%;
}

.leaderboard-change {
    margin-top: 3px;
    font-size: 0.8em;
    font-weight: bold;
}

.leaderboard-change.new-player {
    font-style: italic;
}

.leaderboard-change.no-change {
    font-weight: normal;
    opacity: 0.7;
}

.rank-change {
    white-space: nowrap;
}

.biggest-movers {
	margin: 15px 0 20px 0;
	border: 1px solid #cccccc;
	border-radius: 6px;
	padding: 12px;
}

.biggest-movers-heading {
    text-align: center;
    font-size: 1.35em;
    font-weight: bold;
}

.biggest-movers-range {
    margin-top: 3px;
    text-align: center;
    font-size: 0.85em;
    opacity: 0.75;
}

.biggest-movers-columns {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 22px 28px;

    margin-top: 12px;
}


.biggest-movers-section {
    min-width: 0;
}

.biggest-movers-title {
    margin-bottom: 7px;
    padding-bottom: 4px;
    border-bottom: 1px solid #cccccc;
    text-align: center;
    font-weight: bold;
}

.biggest-mover-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 2px;
    border-bottom: 1px solid #eeeeee;
}

.biggest-mover-rank {
    width: 22px;
    flex-shrink: 0;
    text-align: right;
    font-weight: bold;
}

.biggest-mover-player {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.biggest-mover-player a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.biggest-mover-image {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
}

.biggest-mover-value {
    flex-shrink: 0;
    font-weight: bold;
    white-space: nowrap;
}

.biggest-movers-empty {
    padding: 10px;
    text-align: center;
    font-style: italic;
    opacity: 0.75;
}

@media only screen and (max-width: 700px) {

    .biggest-movers-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .biggest-movers-section + .biggest-movers-section {
        margin-top: 0;
    }

}





.leaderboard-nav{
    margin:15px 0;
    text-align:center;
}

.leaderboard-nav-label{
    font-weight:bold;
    margin-right:8px;
}

.leaderboard-nav-link{

    display:inline-block;

    margin:4px;

    padding:6px 12px;

    border:1px solid #999;

    border-radius:16px;

    text-decoration:none;

    background:var(--bkg-color);

    color:#222;

    transition:.15s;
}

.leaderboard-nav-link:hover{

    background:#333;
    color:white;
}

.leaderboard-nav-link.current{

    background:#2c7be5;

    color:white;

    border-color:#2c7be5;

    font-weight:bold;
}









.leaderboard-board-selector {
    margin: 15px 0 15px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    text-align: center;
}

.leaderboard-board-label {
    margin-bottom: 9px;
    font-weight: bold;
}

.leaderboard-board-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.leaderboard-global-link {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #999999;
    border-radius: 18px;
    text-decoration: none;
}

.leaderboard-global-link.current {
    font-weight: bold;
    border-width: 2px;
}

.leaderboard-state-search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.leaderboard-state-label {
    font-weight: bold;
}

#state-board-search {
    width: 220px;
    max-width: 100%;
    padding: 7px 9px;
    border: 1px solid #999999;
    border-radius: 5px;
}

#state-board-button {
    padding: 7px 12px;
    cursor: pointer;
}




.leaderboard-country-search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.leaderboard-country-label {
    font-weight: bold;
}

#country-board-search {
    width: 220px;
    max-width: 100%;
    padding: 7px 9px;
    border: 1px solid #999999;
    border-radius: 5px;
}

#country-board-button {
    padding: 7px 12px;
    cursor: pointer;
}

.leaderboard-current-board {
    margin-top: 9px;
    font-size: 0.9em;
}

@media only screen and (max-width: 500px) {
    .leaderboard-board-controls {
        display: block;
    }

    .leaderboard-state-search {
        margin-top: 10px;
    }

    #state-board-search {
        width: 180px;
    }

    .leaderboard-country-search {
        margin-top: 10px;
    }

    #country-board-search {
        width: 180px;
    }
}






.leaderboard-sort-button {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.leaderboard-sort-button:hover {
    text-decoration: underline;
}

.leaderboard-sort-button.sort-active {
    font-weight: bold;
}

.sort-indicator {
    display: inline-block;
    min-width: 12px;
    font-size: 0.85em;
}

.leaderboard-sort-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 1px;
}





.weekly-awards {
    width: min(1200px, 100%);
    margin: 24px auto;
    padding: 18px;

    border: 1px solid #777;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(245, 183, 0, 0.14),
            rgba(0, 0, 0, 0)
        );
}

.weekly-awards-heading {
    text-align: center;
    font-size: 1.65rem;
    font-weight: bold;
}

.weekly-awards-period {
    margin-top: 4px;
    text-align: center;
    color: var(--honors-detail-text);
    font-weight: bold;
}

.weekly-awards-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(210px, 1fr)
        );

    gap: 12px;
    margin-top: 16px;
}

.weekly-award-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    padding: 15px;

    border: 1px solid #555;
    border-radius: 11px;

    text-align: center;
    background: rgba(255, 255, 255, 0.04);
}

.weekly-award-card.featured-award {
    border-color: #f5b700;
}

.weekly-award-icon {
    font-size: 2rem;
    line-height: 1;
}

.weekly-award-title {
    margin-top: 7px;
    font-size: 1.1rem;
    font-weight: bold;
}

.weekly-award-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    max-width: 100%;
    margin-top: 12px;

    font-size: 1.05rem;
    font-weight: bold;
    overflow-wrap: anywhere;
}

.weekly-award-image {
    width: 72px;
    height: 72px;
    object-fit: cover;

    border: 2px solid #1dff38;
    border-radius: 50%;
}

.weekly-award-value {
    margin-top: 10px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--portfolio-color);
}

.weekly-award-detail {
    margin-top: 4px;
    color: var(--honors-detail-text);
    font-size: 0.9rem;
}

.weekly-award-coming-soon {
    margin-top: 16px;
    color: #f5b700;
    font-size: 1.25rem;
    font-weight: bold;
}

.weekly-award-description,
.weekly-award-empty {
    margin-top: 7px;
    color: #bdbdbd;
    font-size: 0.9rem;
}

.weekly-awards-note {
    margin-top: 13px;
    text-align: center;
    color: var(--honors-detail-text);
    font-size: 0.8rem;
}

@media (max-width: 500px) {
    .weekly-awards {
        padding: 12px;
    }

    .weekly-awards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .weekly-award-card {
        padding: 11px 7px;
    }

    .weekly-award-image {
        width: 58px;
        height: 58px;
    }

    .weekly-award-title {
        font-size: 0.98rem;
    }
}

@media (max-width: 360px) {
    .weekly-awards-grid {
        grid-template-columns: 1fr;
    }
}




.z-score-cell {
    text-align: center;
}

.z-score-value {
    font-size: 1.05rem;
    font-weight: bold;
    white-space: nowrap;
}

.z-score-description {
    margin-top: 3px;
    font-size: 0.72rem;
    white-space: nowrap;
}

.z-score-description.positive {
    color: #1dff38;
}

.z-score-description.negative {
    color: #ff6565;
}

.z-score-description.neutral {
    color: var(--text-light-color);
}


.z-score-cell {
    text-align: center;
    min-width: 100px;
}

.z-score-value {
    font-size: 1.05rem;
    font-weight: bold;
    white-space: nowrap;
}

.z-score-previous {
    margin-top: 3px;
    font-size: 0.75rem;
    color: var(--text-light-color);
    white-space: nowrap;
}

.z-score-cell .change-positive,
.z-score-cell .change-negative,
.z-score-cell .change-neutral {
    margin-top: 2px;
    font-size: 0.78rem;
    white-space: nowrap;
}


.weekly-awards-navigation {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    text-align: center;
}

.honors-nav-button {
    width: 54px;
    height: 54px;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #777;
    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        0.06
    );

    background-image: none;

    color: var(--text-color);

    font-size: 1.8rem;
    font-weight: normal;

    text-shadow: none;

    cursor: pointer;
}

.honors-nav-button:hover {
    background: rgba(
        255,
        255,
        255,
        0.14
    );

    background-image: none;
}

.honors-nav-button:disabled {
    opacity: 0.25;
    cursor: default;
}

.weekly-awards-grid {
    transition: opacity 0.15s ease;
}

.weekly-awards-grid.honors-loading {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 500px) {
    .weekly-awards-navigation {
        gap: 8px;
    }

    .honors-nav-button {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

.leaderboard-page-heading {
    text-align: center;
    font-size: 1.6em;
    margin: 15px 0;
}







.title-comparison-cell {
    min-width: 300px;
    max-width: 550px;
    white-space: normal;
    text-align: left;
    line-height: 1.45;
    padding-left: 5px;
    padding-right: 2px;
}

.title-group {
    margin-bottom: 10px;
}

.title-group:last-of-type {
    margin-bottom: 0;
}

.title-group:last-child {
    margin-bottom: 0;
}

.title-change-positive {
    color: var(--portfolio-color);
    font-weight: bold;
}

.title-change-negative {
    color: #ff6565;
    font-weight: bold;
}

.title-new-inline {
    color: var(--portfolio-color);
    font-weight: bold;
}

.lost-title-section {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(128, 128, 128, 0.55);

    color: #ff8a8a;
    font-size: 0.85rem;
}

.lost-title-heading {
    color: #ff6565;
    font-weight: bold;
}

.title-none {
    color: var(--text-light-color);
}

.title-more {
    color: var(--text-light-color);
    font-weight: bold;
}

.title-full-list-link {
    font-size: 0.75em;
    font-weight: bold;
    white-space: nowrap;
}

.title-full-list-link a {
    font-weight: bold;
}

.weekly-awards-hall-link {
    margin-top: 5px;
    font-size: 0.76rem;
}

.weekly-awards-hall-link a {
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.top-titles-link {
    text-align: center;
    margin: 20px 0 12px;
}

.top-titles-link a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--portfolio-color);
    border-radius: 999px;
    color: var(--myLink-color);
    font-weight: bold;
    text-decoration: none;
}

.top-titles-link a:hover {
    transform: translateY(-1px);
    text-decoration: underline;
}


.top-titles-loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: rgba(0, 0, 0, 0.75);

    align-items: center;
    justify-content: center;
}

.top-titles-loading-overlay.show {
    display: flex;
}

.top-titles-loading-box {
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.top-titles-spinner {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px auto;

    border: 6px solid rgba(255, 255, 255, 0.25);
    border-top-color: #00ff00;
    border-radius: 50%;

    animation: topTitlesSpin 0.8s linear infinite;
}

@keyframes topTitlesSpin {
    to {
        transform: rotate(360deg);
    }
}

.honors-rules {
    margin-top: 22px;

    border: 1px solid rgba(128, 128, 128, 0.45);
    border-radius: 12px;

    background: rgba(128, 128, 128, 0.05);

    overflow: hidden;
}


.honors-rules summary {
    padding: 16px 20px;

    cursor: pointer;

    text-align: center;

    font-size: 1.05rem;
    font-weight: 700;

    user-select: none;
}


.honors-rules summary:hover {
    background: rgba(128, 128, 128, 0.08);
}


.honors-rules-content {
    padding: 4px 20px 20px;
}


.honors-rules-intro {
    max-width: 850px;

    margin: 4px auto 20px;

    text-align: center;

    line-height: 1.5;
}


.honors-rule-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );

    gap: 14px;
}


.honors-rule-card {
    padding: 16px;

    border: 1px solid rgba(128, 128, 128, 0.4);
    border-radius: 10px;

    text-align: left;
}


.honors-rule-title {
    margin-bottom: 10px;

    font-size: 1.1rem;
    font-weight: 800;
}


.honors-rule-text {
    line-height: 1.45;
}


.honors-rule-formula,
.honors-rule-requirement {
    margin-top: 12px;
    padding: 10px 12px;

    border-radius: 8px;

    background: rgba(128, 128, 128, 0.08);

    line-height: 1.5;
}


.honors-rule-note {
    margin-top: 12px;

    font-size: 0.88rem;
    line-height: 1.45;

    opacity: 0.82;
}


.honors-rules-footer {
    max-width: 850px;

    margin: 18px auto 0;

    padding-top: 16px;

    border-top: 1px solid rgba(128, 128, 128, 0.35);

    text-align: center;

    font-size: 0.88rem;
    line-height: 1.5;

    opacity: 0.85;
}


.title-mover-row {
    flex-wrap: wrap;
}


.title-mover-details {
    flex-basis: 100%;
    margin-left: 38px;
    border-top: 1px solid rgba(128, 128, 128, 0.18);
}


.title-mover-detail {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    padding: 3px 0;

    font-size: 0.82rem;
    line-height: 1.35;
}


.title-mover-detail span {
    opacity: 0.75;
    white-space: nowrap;
}


.title-mover-detail.lost-title {
    opacity: 0.8;
}


@media (max-width: 600px) {

    .title-mover-detail {
        display: block;
    }


    .title-mover-detail span {
        display: block;

        margin-top: 2px;

        white-space: normal;
    }

}


.biggest-movers {
    margin: 15px 0 20px 0;

    border: 1px solid #cccccc;
    border-radius: 8px;

    overflow: hidden;
}


/* Clickable collapsed header */
.biggest-movers-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 12px 16px;

    cursor: pointer;
    user-select: none;

    list-style: none;
}


/* Hide browser's default triangle */
.biggest-movers-summary::-webkit-details-marker {
    display: none;
}


.biggest-movers-summary-title {
    font-size: 1.25em;
    font-weight: bold;
}


.biggest-movers-summary-hint {
    font-size: 0.82em;
    opacity: 0.65;
}


/* Our own expand arrow */
.biggest-movers-summary::after {
    content: "▼";

    margin-left: 4px;

    font-size: 0.8em;

    transition: transform 0.2s ease;
}


/* Rotate arrow when open */
.biggest-movers[open] .biggest-movers-summary::after {
    transform: rotate(180deg);
}


.biggest-movers-summary:hover {
    background: rgba(128, 128, 128, 0.08);
}


/* Actual mover content */
.biggest-movers-content {
    padding: 0 12px 12px;
}
