/* ================= Layout ================= */

.main-container {
    display: block;
    max-width: 100%;
    margin: 12px;
}


/* ================= Tabs Header (Green BG) ================= */

.rank-tabs-container {
    background: #1ec26a;
    padding: 12px 16px 0;
    margin: -12px -12px 15px -12px;
}

.rank-tabs {
    display: flex;
    gap: 28px;
}

.rank-tab {
    font-size: 16px;
    padding-bottom: 13px;
    position: relative;
}

.rank-tab a {
    color: #ffffff;
}

.rank-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}


/* ================= Module Block ================= */

.module-block {
    margin-bottom: 26px;
}

.module-block .module-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.module-block .module-content ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 0;
}


/* ================= Entry ================= */

.block-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 9px 10px;
    margin: 0 -8px;
}

.block-entry:hover {
    background: #f2fbf6;
    border-radius: 8px;
}

.block-entry:first-child {
    margin-top: -7px;
}

.block-entry:last-child {
    margin-bottom: -9px;
}


/* === Left Numbers === */

.block-entry .num {
    position: relative;
    width: 30px;
    height: 66px;
    text-align: center;
    line-height: 66px;
    font-size: 14px;
    color: #a7a8a7;
}

.block-entry .num i {
    display: inline-block;
    font-size: 30px;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.block-entry .num span {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 14px;
    transform: translate(-50%, -50%);
    color: #a7a8a7;
    pointer-events: none;
}


/* Top 3 Highlight */

.module-block .module-content ul li.block-entry:nth-child(1) .num span,
.module-block .module-content ul li.block-entry:nth-child(2) .num span,
.module-block .module-content ul li.block-entry:nth-child(3) .num span {
    top: 44%;
    color: #fff;
}

.module-block .module-content ul li.block-entry:nth-child(1) .num i {
    background-image: linear-gradient(#ffde5a, #ffa80a 70%);
}

.module-block .module-content ul li.block-entry:nth-child(2) .num i {
    background-image: linear-gradient(#e6eef1, #afbec3 80%);
}

.module-block .module-content ul li.block-entry:nth-child(3) .num i {
    background-image: linear-gradient(#ffb98a, #f08d56 85%);
}


/* Thumbnail */

.entry-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    margin-right: 2px;
}

.entry-thumb img {
    width: 100%;
    height: 100%;
}


/* Right Side Info */

.entry-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: translateY(-1px);
}

.entry-info .entry-name {
    font-size: 18px;
    line-height: 1.3;
    font-weight: normal;
}

.entry-info p {
    width: 95%;
    margin: 0;
    font-size: 12px;
    color: #9d9d9d;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Meta */

.entry-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #7a7d7a;
}

.entry-meta .score {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #23c268;
}

.entry-meta .score i {
    font-size: 10px;
    padding-right: 2px;
}
