#records {
    width: 100%;
    display: block;
}

.records {
    margin-bottom: 50px;
}

.record-list {
    display: flex;
    flex-wrap: wrap;
}

#records h3 {
    width: 100%;
    margin: 50px 0 20px 0;
    border-left: 3px solid #3b55e69e;
    background: linear-gradient(90deg, #3f51b52b 0%, rgba(236,255,241,0.2665441176470589) 35%, rgba(0,212,255,0) 100%);
    padding: 5px 10px 5px 15px;
    color: #3b55e6d1;
}

.record-item {
    width: calc(25% - 15px);
    margin: 25px 10px;
    border: 1px solid #ededed;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.record-item:hover {
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
}

.record-item .record-update-btn {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    background: url(../img/icons/refresh.svg) no-repeat center #ededed;
    cursor: pointer;
    opacity: 0.8;
    border-radius: 4px;
} 

.record-item:hover .record-update-btn {
    display: block;
}

.record-item .record-update-btn:hover {
    opacity: 1;
}

.record-item.record-me {
    border: 1px solid #ffc107c9;
    background: #e9be3c30; 
}

.record-item::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    position: absolute;
    top: -24px;
    left: calc(50% - 24px);
    z-index: 1;
    background: url(../img/icons/record_award.svg) no-repeat center top;
    opacity: 0.6;
}

.record-item.record-me::before {
    background: url(../img/icons/record_award_orange.svg) no-repeat center top;
    opacity: 1;
}

.record-item:hover::before {
    opacity: 1;
}

.record-item.record-me .record-footer {
    opacity: 1;
}

.record-list .record-item:first-child, .record-list .record-item:nth-child(4n+1) {
    margin-left: 0;
}

.record-list .record-item:nth-child(4n) {
    margin-right: 0;
}

.record-title {
    padding: 35px 15px 5px;
    font-size: 16px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: normal;
    flex: 1;
    flex-wrap: wrap;
}

.record-value {
    padding: 5px 15px 10px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    min-height: 40px;
}

.record-object {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px 25px;
}

.record-object .img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.record-object .title {
    font-size: 20px;
    font-weight: bold;
}

.record-object .title span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #9e9e9e;
}

.record-desc {
    color: #9e9e9e;
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    line-height: normal;
    display: block;
    width: 100%;
}

.record-footer {
    padding: 10px;
    display: flex;
    line-height: normal;
    border-top: 1px solid #ededed;
    height: 60px;
    width: 100%;
    background: #9c27b00a;
    opacity: 0.6;
}

.record-item:hover .record-footer {
    opacity: 1;
}

.record-until {
    padding: 3px 10px;
    text-align: center;
    background: #ffc1071a;
    font-size: 12px;
    border-top: 1px solid #ffc10769;
    border-bottom: 1px solid #ffc10769;
    color: #dda707;
    line-height: normal;
}

.record-date {
    background: url(../img/icons/calendar_32.svg) no-repeat left;
    padding-left: 40px;
    margin-right: 20px;
}

.record-reward {
    background: url(../img/icons/award_points_32.svg) no-repeat left;
    padding-left: 40px;
}

.record-footer b {
    display: block;
}

.record-footer span {
    font-size: 14px;
}

.no-record {
    color: #8bc34a;
    font-weight: bold;
    font-size: 18px;
}

.glory-list {
    margin: 5px 0 10px;
    border: 1px solid #d9d9d9;
    padding: 10px 20px;
    border-radius: 4px;
}

.glory-item {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    height: 75px;
    border-bottom: 1px solid #ededed;
}

.glory-list .glory-item:last-child {
    border-bottom: none;
}

.glory-num {
    font-size: 24px;
    margin-right: 20px;
    width: 35px;
    text-align: center;
    font-weight: bold;
}

.glory-player {
    display: flex;
    flex: 1;
    align-items: center;
}

.glory-ava {    
    margin-right: 15px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glory-ava img {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
} 

.glory-item:hover .glory-ava img {
    width: 54px;
    height: 54px;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
    border: 3px solid #ffc107;
} 

.glory-name {
    flex: 1;
}

.glory-name a {
    font-size: 18px;
    line-height: normal;
}

.glory-clan {
    display: block;
    font-size: 12px;
    font-weight: normal;
    line-height: normal;
    color: #9e9e9e;
}

.glory-reward {
    width: 100px;
    text-align: center;
}

.glory-date {
    margin: 0 0 0 30px;
    width: 180px;
}

.glory-value {
    font-size: 20px;
    font-weight: bold;
    width: 50px;
    text-align: center;
}

.glory-header {
    display: flex;
    padding: 10px 20px;
    margin-top: 10px;
    color: #9e9e9e;
}

.gh-num {
    margin-right: 10px;
    width: 50px;
    text-align: center;
}

.gh-player {
    flex: 1;
}

.gh-reward {
    width: 100px;
    text-align: center;
}

.gh-date {
    margin: 0 10px 0 15px;
    width: 180px;
    text-align: center;
}

.gh-value {
    width: 60px;
    text-align: center;
}

.records-history .glory-value {
    width: unset;
}

.record-player-data {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px;
    width: 100%;
    z-index: 2;
}

.record-item:hover .record-player-data {
    display: block;
}

.record-player-get-info {
    cursor: pointer;
    text-align: center;
    background: #FFC107;
    color: #fff;
    padding: 4px;
    border-radius: 5px;
}

.record-player-get-info:hover {
    background: #ffc411;
}

.record-player-info {
    display: none;
    background: #fff;
    padding: 10px 15px;
    border: 1px solid #ededed;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    color: #9E9E9E;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
}

.record-player-info .player-value {
    font-size: 22px;
    font-weight: bold;
    padding: 10px 0;
    color: #3a405b;
}

@media screen and (max-width: 640px) {
    .record-item, .record-list .record-item:first-child, .record-list .record-item:nth-child(3n+1), .record-list .record-item:nth-child(3n) {
        width: 100%;
        margin: 25px 10px;
    }
    .glory-date, .glory-value, .glory-reward, .gh-date, .gh-value, .gh-reward {
        width: unset;
        display: none;
    } 
}