html,
body {
    overflow-x: hidden;
    /* 确保导航菜单的fixed定位不受影响 */
    position: relative;
}

.container {
    padding-bottom: 60px;
}

.match-settlement-list {
    margin-bottom: 60px;
}

.rank-list {
    margin-top: 20px;
    font-size: 1.2rem;
}

.rank-list .item {
    display: flex;
    flex-flow: row;
    padding: 10px 0;
    min-height: 50px;
}

.rank-list .detail {
    flex: 1;
    margin-left: 10px;
}

.rank-list .sub-title {
    font-size: 0.6rem;
    color: #666;
}

.rank-list .score {
    position: relative;
    padding-right: 15px;
}

.rank-list .score .score-change {
    width:20px;
    text-align: left;
    position: absolute;
    font-size: 50%;
    top: 0;
    right: -5px;
}

.season-info-list {
    font-size: 80%;
    line-height: 1.5;
    margin-top: 20px;
}

.result-list .item {
    display: flex;
    flex-flow: row;
    padding: 20px 0;
    min-height: 100px;
    border-bottom: rgb(245, 245, 245) 0.5px solid;
}

.result-list .detail {
    flex: 1;
    margin-left: 10px;
}

.result-list .title {
    font-weight: 600;
    font-size: 1rem;
}

.result-list .sub-title {
    font-size: 0.6rem;
    color: #666;
}

.result-list .action {
    width: 56px;
    padding-top: 17px;
}

.empty {
    font-size: 1.2rem;
    margin-top: 130px;
    text-align: center;
}

.nav {
    width: 100%;
    height: 60px;
    bottom: 0 !important;
    left: calc(50%);
    transform: translateX(-50%);
    max-width: 1140px;
    position: fixed !important;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 16px;
    z-index: 1000 !important;
    /* 确保导航真正固定 */
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    /* 防止被其他元素影响 */
    pointer-events: auto;
    /* 移动端优化 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.nav a {
    text-align: center;
    height: 44px;
    color: #333;
    background: none;
    border: none;
    border-radius: 0;
    line-height: 44px;
    font-size: 18px;
    font-weight: 300;
    text-decoration: none;
    margin: 0 4px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav .cur {
    color: #007bff;
    font-weight: 500;
}


.fullscreen .nav {
    height: 80px;
}

.fullscreen .nav a {
    height: 60px;
    line-height: 60px;
    background-position: center calc(50% - 20px);
}

/* 顶部状态栏 */
.status-bar {
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #e74c3c;
    border-bottom: 1px solid #eee;
}

/* 玩家信息区域 */
.player-info-section {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}

.player-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.player-card {
    text-align: center;
    width: 30%;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}

.player-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.player-time {
    font-size: 0.85rem;
    color: #666;
    margin-top: 3px;
}

/* 我的游戏时间 */
.my-time {
    text-align: center;
    margin-top: 25px;
    position: relative;
}

.my-time-label {
    font-size: 0.95rem;
    color: #666;
}

.my-time-display {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -1px;
    margin: 5px 0 10px;
}

.battle-status-badge {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background-color: #e74c3c;
    color: white;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* 退出战斗按钮 */
.end-battle-btn {
    margin: 25px 15px;
    padding: 15px;
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    text-align: center;
    width: calc(100% - 30px);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}


/* 时间记录表格 */
.time-records {
    margin: 0 15px;
}

.section-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 5px;
}

.record-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.record-table th {
    text-align: left;
    font-weight: 500;
    color: #666;
    padding: 8px 5px;
    border-bottom: 1px solid #eee;
}

.record-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #f5f5f5;
}

/* 账单信息 */
.billing-section {
    margin: 0 15px 40px;
}

.bill-row {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.bill-period {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.bill-amount {
    color: #e74c3c;
    font-weight: 500;
    font-size: 1rem;
}

