﻿.fame-panel {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 100;
}

.fame-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('/resource/image/ui/map_fame.png') center center / 100% 100% no-repeat;
    pointer-events: none;
}

.fame-main {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #00000026;
}

.fame-top-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 3;
    box-sizing: border-box;
    padding: 8px 8px 0 8px;
}

.fame-rank-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.fame-rank-main-btn {
    min-width: 110px;
    height: 35px;
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}

.fame-zone-tabs {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    touch-action: pan-x;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

    .fame-zone-tabs::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

.fame-zone-tabs-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 100%;
    box-sizing: border-box;
    padding: 2px 4px 6px 4px;
}

.fame-zone-tab-btn {
    flex: 0 0 auto;
    min-width: 60px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.fame-map-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #00000038;
}

.fame-player-slot {
    position: absolute;
    width: 90px;
}

.fame-player-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 168px;
    padding: 0px;
    /* border-radius: 12px; */
    /* backdrop-filter: blur(6px); */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    /* border: 1px solid #fffafa; */
    /* background: rgba(0, 0, 0, 0.28); */
    box-sizing: border-box;
}

.fame-player-rank {
    font-size: 14px;
    font-weight: 700;
    color: #f2ff00;
    line-height: 1.2;
}

.fame-player-title {
    width: 100%;
    height: 26px;
    object-fit: contain;
    display: block;
}

.fame-player-avatar-wrap {
    position: relative;
    width: 46px;
    height: 46px;
}

.fame-player-avatar,
.fame-player-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fame-player-avatar {
    object-fit: cover;
    border-radius: 50%;
}

.fame-player-frame {
    object-fit: cover;
    pointer-events: none;
}

.fame-player-name,
.fame-player-fighting,
.fame-player-honor,
.fame-player-like {
    width: 80%;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
}

.fame-player-fighting {
    color: #ffff00;
}

.fame-player-honor {
    color: #780000;
}

.fame-player-like {
    color: #79ff51;
}

.fame-player-worship-btn {
    margin-top: 4px;
    width: 70px;
    height: 26px;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.fame-player-slot.is-empty .fame-player-card {
    opacity: 0.5;
}

.fame-player-slot.is-empty .fame-player-worship-btn,
.fame-player-slot.is-empty .fame-player-avatar-wrap,
.fame-player-slot.is-empty .fame-player-title,
.fame-player-slot.is-empty .fame-player-fighting,
.fame-player-slot.is-empty .fame-player-honor,
.fame-player-slot.is-empty .fame-player-like {
    display: none;
}

.fame-close {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    padding: 0;
    z-index: 5;
}

    .fame-close img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

/* 位置先给默认值，后续你自己调 */
.fame-slot-0 {
    left: 50%;
    top: 22%;
    transform: translateX(-50%);
}

.fame-slot-1 {
    left: 10%;
    top: 36%;
}

.fame-slot-2 {
    right: 10%;
    top: 36%;
}

.fame-slot-3 {
    left: 2%;
    top: 58%;
}

.fame-slot-4 {
    left: 50%;
    top: 58%;
    transform: translateX(-50%);
}
.fame-slot-5 {
    right: 2%;
    top: 58%;
}