/*
 Theme Name:   Astra Child Pro8
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme for PictureRatingPro8, GalleryPro8, and ToplistPro8 Network.
 Author:       Adzgroup Pty Ltd
 Author URI:   https://adzgroup.com.au/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child-pro8
*/

/* Custom IllustrateAI Colors */
:root {
    --pro8-bg: #0a0b10;
    --pro8-surface: #161b22;
    --pro8-accent: #6a4c93; /* Templately Purple */
    --pro8-cyan: #61dafb;
    --pro8-gold: #ffd76a;
    --pro8-silver: #d8e6f7;
    --pro8-bronze: #c9854d;
}

body {
    background-color: var(--pro8-bg);
}

.neon-dark-layout {
    color: #e8ecf1;
}

.pr8-heading-sync {
    color: var(--ast-heading-color, #f3f7ff);
}

.pr8-debug-badge {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: min(92vw, 460px);
    border-radius: 999px;
    border: 1px solid #2f3643;
    background: rgba(9, 13, 19, 0.94);
    color: #dce8f3;
    padding: 0.4rem 0.75rem;
    font-size: 0.76rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
}

.pr8-debug-badge span {
    opacity: 0.82;
}

.pr8-debug-badge.is-ok {
    border-color: #5ce8ad;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38), 0 0 12px rgba(92, 232, 173, 0.45);
}

.pr8-debug-badge.is-down {
    border-color: #ff5b6d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38), 0 0 12px rgba(255, 91, 109, 0.45);
}

.legacy-nav-strip {
    margin: 0 0 0.9rem;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.legacy-nav-strip a {
    text-decoration: none;
    border: 1px solid rgba(57, 197, 255, 0.4);
    border-radius: 999px;
    padding: 0.28rem 0.72rem;
    color: #bed4ea;
    background: rgba(11, 18, 29, 0.95);
    font-size: 0.82rem;
}

.legacy-nav-strip a.is-active {
    color: #ffffff;
    border-color: #39c5ff;
    box-shadow: 0 0 10px rgba(57, 197, 255, 0.42);
}

.category-nav-row {
    margin-top: 0.55rem;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.category-nav-row a {
    text-decoration: none;
    border: 1px solid rgba(57, 197, 255, 0.28);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    color: #b9cde2;
    font-size: 0.76rem;
    background: rgba(9, 14, 22, 0.95);
}

.category-nav-row a.is-active {
    color: #fff;
    border-color: #39c5ff;
    box-shadow: 0 0 8px rgba(57, 197, 255, 0.35);
}

@media (max-width: 768px) {
    .pr8-debug-badge {
        bottom: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
        gap: 0.32rem;
    }
}

.neon-dark-layout #main {
    max-width: 920px;
    margin: 2.5rem auto;
    padding: 1.25rem;
}

.rating-meta-top {
    text-align: center;
    margin-bottom: 1.25rem;
}

.rating-sub-data {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.profile-links-row {
    margin-top: 0.7rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    font-size: 0.92rem;
}

.profile-links-row a {
    color: #9ad5ff;
    text-decoration: none;
}

.profile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.46rem 0.9rem;
    border: 1px solid rgba(57, 197, 255, 0.5);
    min-height: 40px;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.profile-cta-main {
    color: #f5fbff !important;
    background: linear-gradient(180deg, rgba(26, 72, 112, 0.95), rgba(18, 49, 78, 0.95));
    border-color: rgba(97, 218, 251, 0.85);
    box-shadow: 0 0 12px rgba(57, 197, 255, 0.38);
    font-weight: 700;
}

.profile-cta-secondary {
    color: #cfe7fb !important;
    background: rgba(12, 23, 36, 0.95);
    border-color: rgba(57, 197, 255, 0.48);
    font-weight: 600;
}

.profile-links-row a:hover {
    text-decoration: underline;
}

.next-mode-row {
    margin-top: 0.55rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #c6d4e0;
}

.next-mode-row a {
    border: 1px solid #334155;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    color: #9ad5ff;
    text-decoration: none;
}

.next-mode-row a.is-active {
    border-color: #9ad5ff;
    color: #f4faff;
    box-shadow: 0 0 10px rgba(97, 218, 251, 0.45);
}

.busy-layout-zone {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    gap: 0.9rem;
    margin-bottom: 0;
    align-items: stretch;
}

.center-stack {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.side-column {
    border: 1px solid rgba(106, 76, 147, 0.45);
    border-radius: 12px;
    background: rgba(14, 20, 31, 0.95);
    padding: 0.5rem;
    height: auto;
    align-self: stretch;
}

.side-block {
    margin-bottom: 0.55rem;
    border: 1px solid rgba(57, 197, 255, 0.32);
    border-radius: 10px;
    background: rgba(12, 17, 26, 0.95);
    padding: 0.4rem;
}

.side-banner-block {
    padding: 0.35rem;
}

.side-gap-banner {
    margin-top: auto;
    padding: 0.35rem;
}

.side-gap-banner .ad-slot img {
    aspect-ratio: 6 / 5;
}

.side-tail-slot {
    padding: 0.35rem;
}

.side-tail-slot h3 {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cde7ff;
}

.side-tail-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.28rem;
}

.side-tail-links a {
    display: block;
    text-decoration: none;
    border: 1px solid rgba(57, 197, 255, 0.24);
    border-radius: 6px;
    padding: 0.24rem 0.38rem;
    color: #b6cbe1;
    font-size: 0.7rem;
    line-height: 1.2;
    background: rgba(9, 14, 22, 0.95);
}

.side-tail-links a:hover {
    color: #e7f5ff;
    border-color: rgba(57, 197, 255, 0.55);
}

.ad-slot {
    display: block;
    border: 1px dashed rgba(57, 197, 255, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background: #0b1320;
}

.ad-slot img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 2;
    object-fit: cover;
}

.side-links-block h3 {
    margin: 0 0 0.35rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cde7ff;
}

.side-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

.side-links-list a {
    display: block;
    border: 1px solid rgba(57, 197, 255, 0.28);
    border-radius: 6px;
    color: #b9cde2;
    text-decoration: none;
    font-size: 0.72rem;
    line-height: 1.2;
    padding: 0.27rem 0.4rem;
    background: rgba(9, 14, 22, 0.95);
}

.side-links-list a:hover {
    border-color: rgba(57, 197, 255, 0.62);
    color: #e7f5ff;
}

.side-column h3 {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    color: #d6e6f7;
    text-align: center;
    letter-spacing: 0.02em;
}

.side-thumb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
}

.side-thumb-item {
    display: block;
    border: 1px solid rgba(97, 218, 251, 0.35);
    border-radius: 8px;
    background: #0e141f;
    text-decoration: none;
    overflow: hidden;
}

.side-thumb-item img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.side-thumb-item span {
    display: block;
    font-size: 0.7rem;
    color: #c8d7e6;
    line-height: 1.25;
    padding: 0.25rem 0.35rem 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-member-pics {
    margin-top: 0.6rem;
    margin-bottom: 0.18rem;
    border: 1px solid rgba(97, 218, 251, 0.28);
    border-radius: 10px;
    background: rgba(12, 17, 24, 0.9);
    padding: 0.5rem;
}

.other-member-pics h3 {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    color: #c9d9ea;
    text-align: center;
}

.other-member-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.4rem;
}

.other-member-item {
    display: block;
    border: 1px solid rgba(97, 218, 251, 0.42);
    border-radius: 8px;
    overflow: hidden;
}

.other-member-item img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.center-gap-strip {
    margin-top: auto;
    margin-bottom: 0;
    border: 1px solid rgba(57, 197, 255, 0.3);
    border-radius: 10px;
    background: rgba(10, 15, 23, 0.94);
    padding: 0.4rem 0.5rem;
}

.center-gap-strip h3 {
    margin: 0 0 0.35rem;
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cde7ff;
}

.center-gap-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.center-gap-links a {
    display: block;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgba(57, 197, 255, 0.26);
    border-radius: 6px;
    padding: 0.28rem 0.38rem;
    color: #bcd3e8;
    font-size: 0.72rem;
    line-height: 1.2;
    background: rgba(9, 14, 22, 0.95);
}

.center-gap-links a:hover {
    color: #e9f7ff;
    border-color: rgba(57, 197, 255, 0.6);
}

.rank-badge,
.category-link {
    background: var(--pro8-surface);
    border: 1px solid rgba(106, 76, 147, 0.55);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
}

.category-link a {
    color: #9ad5ff;
    text-decoration: none;
}

.latest-ribbon {
    margin-top: 1rem;
    background: rgba(13, 19, 28, 0.95);
    border: 1px solid rgba(97, 218, 251, 0.35);
    border-radius: 12px;
    padding: 0.9rem;
}

.latest-ribbon-head {
    margin-bottom: 0.6rem;
}

.latest-title {
    font-size: 1.1rem;
    margin: 0;
}

.latest-ribbon-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
}

.latest-item {
    text-decoration: none;
    background: #0e141f;
    border: 1px solid rgba(97, 218, 251, 0.5);
    border-radius: 9px;
    overflow: hidden;
    color: #dce8f3;
}

.latest-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.latest-item span {
    display: block;
    font-size: 0.78rem;
    line-height: 1.3;
    padding: 0.35rem 0.45rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-empty {
    margin: 0;
    color: #b8c7d6;
}

.global-stats-bar {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.global-stat-item {
    text-align: center;
    background: linear-gradient(180deg, rgba(12, 17, 24, 0.95), rgba(8, 12, 18, 0.95));
    border: 1px solid rgba(106, 76, 147, 0.6);
    border-radius: 9px;
    color: #c5d3df;
    padding: 0.6rem;
    font-size: 0.88rem;
}

.global-stat-item strong {
    color: #9ad5ff;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}

.comments-preview {
    margin-top: 0.85rem;
    border: 1px solid rgba(57, 197, 255, 0.3);
    border-radius: 12px;
    background: rgba(10, 16, 24, 0.95);
    padding: 0.8rem;
}

.comments-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    flex-wrap: wrap;
}

.comments-preview-head h3 {
    margin: 0;
    font-size: 0.98rem;
    color: #d8e8f8;
}

.comments-post-link {
    text-decoration: none;
    border: 1px solid rgba(57, 197, 255, 0.45);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    color: #bfe2ff;
    font-size: 0.76rem;
}

.comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.52rem;
}

.comments-list li {
    border: 1px solid rgba(57, 197, 255, 0.2);
    border-radius: 8px;
    background: rgba(8, 13, 20, 0.95);
    padding: 0.5rem 0.58rem;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
    flex-wrap: wrap;
    color: #d1e3f6;
    font-size: 0.78rem;
    margin-bottom: 0.22rem;
}

.comments-list p {
    margin: 0;
    color: #b9ccdf;
    font-size: 0.82rem;
    line-height: 1.45;
}

.comments-empty {
    margin: 0;
    color: #9fb6cb;
    font-size: 0.85rem;
}

.picture-display-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.main-frame {
    width: 100%;
    background: linear-gradient(180deg, rgba(106, 76, 147, 0.2), rgba(10, 11, 16, 0.75));
    border: 5px solid rgba(97, 218, 251, 0.85);
    border-radius: 16px;
    padding: 0.8rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 22px rgba(97, 218, 251, 0.7), 0 0 40px rgba(106, 76, 147, 0.45);
    animation: pro8-frame-pulse 2.2s ease-in-out infinite;
}

@keyframes pro8-frame-pulse {
    0% {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 18px rgba(97, 218, 251, 0.5), 0 0 34px rgba(106, 76, 147, 0.3);
    }
    50% {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 28px rgba(97, 218, 251, 0.88), 0 0 52px rgba(106, 76, 147, 0.58);
    }
    100% {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 18px rgba(97, 218, 251, 0.5), 0 0 34px rgba(106, 76, 147, 0.3);
    }
}

.rating-image {
    width: 100%;
    display: block;
    border-radius: 10px;
    max-height: 62vh;
    object-fit: contain;
    background: #04070d;
}

.rating-meta-bottom {
    display: grid;
    gap: 1rem;
    background: rgba(22, 27, 34, 0.9);
    border: 1px solid #30363d;
    border-radius: 14px;
    padding: 1rem;
    margin-top: -0.12rem;
    margin-bottom: 0.8rem;
}

.voting-wrapper h3 {
    margin: 0 0 0.65rem;
    text-align: center;
}

.vote-buttons {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.5rem;
}

.vote-btn {
    border: 1px solid rgba(106, 76, 147, 0.75);
    background: #0f131a;
    color: #f5f7fa;
    border-radius: 8px;
    padding: 0.45rem 0;
    min-height: 44px;
    font-size: 0.98rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.vote-btn:hover {
    background: #6a4c93;
    box-shadow: 0 0 14px rgba(106, 76, 147, 0.8), 0 0 22px rgba(97, 218, 251, 0.45);
    transform: translateY(-1px);
}

.vote-btn.selected {
    background: #47305f;
    border-color: var(--pro8-cyan);
    box-shadow: 0 0 18px rgba(97, 218, 251, 0.9), 0 0 28px rgba(106, 76, 147, 0.85);
}

.vote-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    overflow: hidden;
}

.stat-item {
    background: #0f131a;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
}

.user-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.action-link,
.next-btn {
    border: 1px solid rgba(106, 76, 147, 0.8);
    background: #101823;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    cursor: pointer;
}

.enlarge-btn {
    border-color: #ffcf7f;
    color: #ffe2ad;
}

.next-btn {
    background: #6a4c93;
}

@media (max-width: 1180px) {
    .busy-layout-zone {
        grid-template-columns: 160px minmax(0, 1fr) 160px;
    }
}

@media (max-width: 980px) {
    .busy-layout-zone {
        grid-template-columns: 1fr;
    }

    .side-column {
        display: block;
    }

    .side-thumb-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .side-links-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ad-slot img {
        aspect-ratio: 5 / 2;
    }

    .side-thumb-item span {
        display: none;
    }
}

@media (max-width: 768px) {
    .busy-layout-zone {
        grid-template-columns: 1fr;
    }

    .side-column {
        display: none;
    }

    .other-member-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vote-buttons {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .latest-ribbon-row {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .latest-item {
        min-width: 130px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .latest-item span {
        white-space: normal;
        line-height: 1.25;
        min-height: 2.35em;
    }

    .global-stats-bar {
        grid-template-columns: 1fr;
    }

    .user-actions {
        margin-bottom: 0.35rem;
    }

    .rating-image {
        max-height: 56vh;
    }
}

@media (max-width: 480px) {
    .other-member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vote-buttons {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vote-btn {
        min-height: 48px;
        font-size: 1rem;
    }

    .center-gap-links {
        grid-template-columns: 1fr;
    }
}

/* Tube-business visual grade override */
:root {
    --pro8-bg: #090d13;
    --pro8-surface: #141d2a;
    --pro8-accent: #1c9ed8;
    --pro8-cyan: #39c5ff;
    --pro8-gold: #ffbf57;
}

body {
    background: radial-gradient(circle at top, #132031 0%, #090d13 62%);
}

.rank-badge,
.category-link,
.side-column,
.other-member-pics,
.global-stat-item {
    border-color: rgba(57, 197, 255, 0.45);
}

.top10-subtitle,
.top10-score,
.top10-votes,
.latest-empty {
    color: #b7c4d2;
}

.vote-btn:hover,
.vote-btn.selected,
.next-mode-row a.is-active {
    box-shadow: 0 0 14px rgba(57, 197, 255, 0.58), 0 0 24px rgba(28, 158, 216, 0.42);
}

.next-btn {
    background: linear-gradient(180deg, #ffbf57, #d78a2a);
    color: #14110b;
    border-color: #ffcf7f;
}

.action-link {
    border-color: rgba(57, 197, 255, 0.62);
}

.main-frame {
    border-color: rgba(57, 197, 255, 0.88);
}

.top10-card.top-rank-1 {
    box-shadow: 0 0 18px rgba(255, 191, 87, 0.72), 0 0 40px rgba(255, 191, 87, 0.3);
}

.top10-card.top-rank-2 {
    box-shadow: 0 0 16px rgba(151, 218, 248, 0.58), 0 0 34px rgba(151, 218, 248, 0.22);
}

.top10-card.top-rank-3 {
    box-shadow: 0 0 14px rgba(201, 133, 77, 0.58), 0 0 30px rgba(201, 133, 77, 0.24);
}

.top10-layout #main {
    max-width: 1100px;
}

.top10-subtitle {
    text-align: center;
    color: #b9c4d0;
    margin: 0.4rem 0 1.2rem;
}

.top10-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.top10-card {
    background: linear-gradient(180deg, rgba(22, 27, 34, 0.95), rgba(11, 14, 20, 0.95));
    border: 1px solid rgba(106, 76, 147, 0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.top10-card.top-rank-1 {
    border-color: var(--pro8-gold);
    box-shadow: 0 0 18px rgba(255, 215, 106, 0.62), 0 0 40px rgba(255, 215, 106, 0.28);
}

.top10-card.top-rank-2 {
    border-color: var(--pro8-silver);
    box-shadow: 0 0 16px rgba(216, 230, 247, 0.56), 0 0 32px rgba(216, 230, 247, 0.26);
}

.top10-card.top-rank-3 {
    border-color: var(--pro8-bronze);
    box-shadow: 0 0 14px rgba(201, 133, 77, 0.56), 0 0 30px rgba(201, 133, 77, 0.24);
}

.top10-image-link {
    position: relative;
    display: block;
    text-decoration: none;
}

.top10-rank {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    background: rgba(106, 76, 147, 0.9);
    border: 1px solid #9ad5ff;
    border-radius: 999px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
}

.top10-card.top-rank-1 .top10-rank {
    background: rgba(255, 215, 106, 0.95);
    color: #1e1700;
    border-color: #fff4ce;
}

.top10-card.top-rank-2 .top10-rank {
    background: rgba(216, 230, 247, 0.95);
    color: #0d1a2a;
    border-color: #ffffff;
}

.top10-card.top-rank-3 .top10-rank {
    background: rgba(201, 133, 77, 0.95);
    color: #1f0f05;
    border-color: #ffd8be;
}

.top10-thumb {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.top10-card-meta {
    padding: 0.7rem 0.8rem 0.9rem;
}

.top10-title {
    margin: 0 0 0.45rem;
    color: #ffffff;
    font-size: 1rem;
}

.top10-score,
.top10-votes {
    margin: 0;
    color: #c4cfda;
    font-size: 0.9rem;
}

.top10-score span {
    color: #9ad5ff;
    font-weight: 700;
}

.top10-empty {
    text-align: center;
    color: #c4cfda;
    background: rgba(22, 27, 34, 0.9);
    border: 1px dashed rgba(106, 76, 147, 0.7);
    border-radius: 12px;
    padding: 1.25rem;
}

@media (max-width: 900px) {
    .top10-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .top10-grid {
        grid-template-columns: 1fr;
    }
}