
/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0090b3;
    --secondary: #7b2ffc;
    --bg-dark: #0a0e1a;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #f0f4ff;
    --text-secondary: #a0b4d0;
    --text-muted: #6a7f9e;
    --border-glow: rgba(0, 212, 255, 0.25);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.08);
    --radius: 16px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: clip;
    scrollbar-gutter: stable;

    flex-direction: column;
}


.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: floatParticle 20s infinite linear;
}

.bg-particles span:nth-child(1) { left: 10%; top: 20%; animation-duration: 22s; width: 6px; height: 6px; }
.bg-particles span:nth-child(2) { left: 25%; top: 60%; animation-duration: 18s; animation-delay: 2s; width: 3px; height: 3px; }
.bg-particles span:nth-child(3) { left: 45%; top: 10%; animation-duration: 25s; animation-delay: 1s; width: 5px; height: 5px; }
.bg-particles span:nth-child(4) { left: 65%; top: 70%; animation-duration: 20s; animation-delay: 3s; width: 4px; height: 4px; }
.bg-particles span:nth-child(5) { left: 80%; top: 30%; animation-duration: 23s; animation-delay: 0.5s; width: 7px; height: 7px; }
.bg-particles span:nth-child(6) { left: 50%; top: 85%; animation-duration: 19s; animation-delay: 1.5s; width: 4px; height: 4px; }
.bg-particles span:nth-child(7) { left: 15%; top: 45%; animation-duration: 21s; animation-delay: 2.5s; width: 5px; height: 5px; }
.bg-particles span:nth-child(8) { left: 75%; top: 55%; animation-duration: 24s; animation-delay: 0.8s; width: 3px; height: 3px; }

@keyframes floatParticle {
    0% { transform: translate(0,0) scale(1); opacity: 0.1; }
    25% { transform: translate(30px,-40px) scale(1.4); opacity: 0.3; }
    50% { transform: translate(-20px,20px) scale(0.8); opacity: 0.15; }
    75% { transform: translate(40px,10px) scale(1.2); opacity: 0.25; }
    100% { transform: translate(0,0) scale(1); opacity: 0.1; }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

.app-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 18px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.82);
    width: 100%;
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    
}

.nav-brand span { font-size: 28px; -webkit-text-fill-color: initial; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}




.nav-links a:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-links a.active { color: var(--primary); background: rgba(0,212,255,0.10); box-shadow: inset 0 0 20px rgba(0,212,255,0.04); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 30%;
    right: 30%;
    height: 2px;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 12px var(--primary);
}
.nav-links a.func-btn { color: var(--text-secondary); background: transparent; }
.nav-links a.func-btn:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-links a.func-btn::after { display: none; }

.nav-search-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 8px 16px 8px 18px;
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.nav-search-trigger:hover { background: var(--bg-card-hover); border-color: var(--border-glow); color: var(--text-primary); }
.nav-search-trigger svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }


.page {
    display: none;
    animation: fadeUp 0.5s ease forwards;
    padding-top: 28px;
    flex: 1;
}
.page.active { display: block; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header { margin-bottom: 32px; }
.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header p { color: var(--text-secondary); font-size: 16px; margin-top: 4px; }


.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin: 28px 0 40px;
}
.category-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.category-chip:hover { background: var(--bg-card-hover); border-color: var(--border-glow); color: var(--text-primary); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.category-chip.active { border-color: var(--primary); color: var(--text-primary); background: rgba(0,212,255,0.08); }
.category-chip .emoji {
    font-size: 18px;

    color: initial !important;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 20px;
    grid-auto-rows: 1fr;
}

.game-card-link {
    position: relative;
    z-index: 1;
}
.game-card-link:hover {
    z-index: 10;
}

.game-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);

}
.game-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.game-card-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #0d1225;
    will-change: transform;
}
.game-card-cover .cover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    z-index: 0;
}
.game-card-cover .cover-content .emoji-large { font-size: 56px; text-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.game-card-cover .cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.4s ease;
    backface-visibility: hidden;
}
.game-card-cover .cover-image.loaded {
    opacity: 1;
}

.game-card-cover .cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.85), transparent);
    pointer-events: none;
    z-index: 2;
}
.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(0,212,255,0.2);
    z-index: 3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.cover-badge.pinned-badge {
    background: rgba(255,200,0,0.88);
    color: #1a1a1a;
    border-color: rgba(255,200,0,0.5);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255,200,0,0.25);
}

.game-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
}
.game-card-body h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}
.game-card-body p {
    color: var(--text-secondary);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 36px;
    flex-shrink: 0;
}


.game-card-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.game-card-footer .footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.game-card-footer .footer-row .left-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    flex: 1;
    min-width: 0;
}
.game-size {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0,212,255,0.10);
    padding: 0 8px;
    border-radius: 12px;
    border: 1px solid rgba(0,212,255,0.10);
    white-space: nowrap;
    line-height: 20px;
    flex-shrink: 0;
}
.category-tag {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
    white-space: nowrap;
    line-height: 20px;
}
.views-count {
    font-size: 12px;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.views-count::before { content: '👁️'; font-size: 13px; }
.game-update {
    font-size: 11px;
    color: var(--text-muted);
    padding-left: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.game-update::before { content: '📅'; font-size: 12px; }


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pagination button {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.pagination button:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border-glow); }
.pagination button.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}
.pagination button:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.pagination .page-info { color: var(--text-muted); font-size: 14px; padding: 0 12px; }


.ranking-tabs {
    display: flex;
    gap: 12px;
    margin: 20px 0 28px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 12px;
}
.ranking-tab {
    padding: 10px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.ranking-tab:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border-glow); }
.ranking-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}
.ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.ranking-item:hover { background: var(--bg-card-hover); border-color: var(--border-glow); transform: translateX(4px); }
.ranking-item .rank {
    font-size: 22px;
    font-weight: 800;
    min-width: 44px;
    text-align: center;
    color: var(--text-muted);
}
.ranking-item .rank.gold { color: #fbbf24; }
.ranking-item .rank.silver { color: #94a3b8; }
.ranking-item .rank.bronze { color: #d97706; }
.ranking-item .rank-cover {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1f35, #0d1225);
    overflow: hidden;
    position: relative;
}
.ranking-item .rank-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ranking-item .rank-cover img.loaded { opacity: 1; }
.ranking-item .rank-info { flex: 1; min-width: 0; }
.ranking-item .rank-info h4 { font-size: 16px; font-weight: 600; }
.ranking-item .rank-info .rank-category { font-size: 13px; color: var(--text-muted); }
.ranking-item .rank-views { display: none; }


.detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    margin-top: 12px;
}
.detail-main { display: flex; flex-direction: column; gap: 24px; }
.detail-top-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.detail-cover {
    border-radius: var(--radius);
    overflow: hidden;
    background: #0d1225;
    aspect-ratio: 16 / 10;
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 200px;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: #0d1225;
    min-height: 200px;
}
.carousel-slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}
.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d1225;
    font-size: 80px;
    min-height: 200px;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 20;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
    user-select: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: auto;
}
.carousel-arrow:hover { background: rgba(0,0,0,0.8); transform: translateY(-50%) scale(1.05); }
.carousel-arrow.left { left: 12px; }
.carousel-arrow.right { right: 12px; }
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    padding: 0;
}
.carousel-dot.active { background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.detail-cover .cover-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(0,212,255,0.2);
    z-index: 10;
}
.detail-cover .cover-badge.pinned-badge {
    background: rgba(255,200,0,0.88);
    color: #1a1a1a;
    border-color: rgba(255,200,0,0.5);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255,200,0,0.25);
}

.detail-info h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.detail-info .detail-category {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(0,212,255,0.10);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 10px;
    align-self: flex-start;
}
.detail-info .detail-desc { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; }

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}
.detail-meta .meta-item .meta-icon { font-size: 16px; width: 24px; text-align: center; flex-shrink: 0; }
.detail-meta .meta-item .meta-value { color: var(--text-primary); font-weight: 600; }
.detail-meta .meta-item .meta-value.highlight { color: var(--primary); }

.detail-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.detail-tags .tag {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 13px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.12);
    color: var(--primary);
    font-size: 13px;
    white-space: nowrap;
}

.detail-back { margin-bottom: 16px; }
.detail-back button {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 8px 24px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}
.detail-back button:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
    border-color: var(--border-glow);
    box-shadow: 0 0 20px rgba(0,212,255,0.08);
    transform: translateX(-2px);
}
.detail-back button::before { content: '←'; font-size: 18px; line-height: 1; }

.detail-content-box {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.detail-content-box .extra-block { margin-bottom: 0; }
.detail-content-box .extra-block .extra-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-content-box .extra-block .extra-title .title-icon { font-size: 20px; }
.detail-content-box .extra-block .extra-content {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    padding-left: 4px;
}
.detail-content-box .extra-block .extra-content ul { list-style: none; padding: 0; margin: 4px 0; }
.detail-content-box .extra-block .extra-content ul li {
    padding: 2px 0 2px 24px;
    position: relative;
}
.detail-content-box .extra-block .extra-content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
}
.detail-content-box .extra-block .extra-content .version-line {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    padding: 4px 0;
}
.detail-content-box .extra-block .extra-content .version-line .label { color: var(--text-muted); }
.detail-content-box .extra-block .extra-content .version-line .value { color: var(--text-primary); }
.detail-content-box .extra-block .extra-content .version-line .value.highlight { color: var(--primary); font-weight: 600; }

.download-platforms {
    display: flex;
    gap: 16px 24px;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 0;
}
.download-platforms .platform-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.download-platforms .platform-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--text-primary);
}
.download-platforms .platform-card .platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.download-platforms .platform-card:hover .platform-icon { transform: scale(1.1); }
.platform-icon.quark {
  background: url('/uploads/icons/quark.png') no-repeat center;
  background-size: contain;

}
.platform-icon.quark::before { content: ''; }

.platform-icon.xunlei {
  background: url('/uploads/icons/xunlei.png') no-repeat center;
  background-size: contain;
}
.platform-icon.xunlei::before { content: ''; }

.platform-icon.baidu {
  background: url('/uploads/icons/baidu.png') no-repeat center;
  background-size: contain;
}
.platform-icon.baidu::before { content: ''; }

.detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 4px;
}
.detail-nav .nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    flex: 1;
    min-width: 0;
}
.detail-nav .nav-btn:hover:not(.disabled) { background: var(--bg-card-hover); color: var(--text-primary); }
.detail-nav .nav-btn.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.detail-nav .nav-btn .nav-arrow { font-size: 20px; flex-shrink: 0; }
.detail-nav .nav-btn .nav-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.detail-nav .nav-btn .nav-label { font-size: 12px; color: var(--text-muted); }
.detail-nav .nav-btn .nav-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.detail-nav .nav-btn.prev { justify-content: flex-start; }
.detail-nav .nav-btn.next { justify-content: flex-end; }
.detail-nav .nav-divider { color: var(--text-muted); font-size: 13px; flex-shrink: 0; }

.detail-related { margin-top: 4px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.04); }
.detail-related h4 { font-size: 18px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.detail-related h4::before { content: '🎯'; }

.related-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.related-scroll::-webkit-scrollbar { height: 4px; }
.related-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 10px; }
.related-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.related-item {
    flex: 0 0 150px;
    min-width: 130px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.related-item:hover { transform: translateY(-4px); background: var(--bg-card-hover); border-color: var(--border-glow); }
.related-item .related-cover {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background: linear-gradient(135deg, #1a1f35, #0d1225);
    overflow: hidden;
}
.related-item .related-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.related-item .related-cover img.loaded { opacity: 1; }
.related-item .related-info { padding: 8px 12px 12px; }
.related-item .related-info h5 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item .related-info .related-cat { font-size: 11px; color: var(--text-muted); }


.detail-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 18px 18px 22px;
    position: sticky;
    top: 80px;
}
.sidebar-card .sidebar-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sidebar-card .sidebar-title::before { content: '🔥'; }

.sidebar-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.sidebar-tab {
    flex: 1;
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}
.sidebar-tab:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border-glow); }
.sidebar-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(0,212,255,0.2);
}

.sidebar-list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    transition: var(--transition);
}
.sidebar-item:hover { background: var(--bg-card-hover); transform: translateX(3px); }
.sidebar-item .si-rank {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    min-width: 24px;
    text-align: center;
}
.sidebar-item .si-rank.gold { color: #fbbf24; }
.sidebar-item .si-rank.silver { color: #94a3b8; }
.sidebar-item .si-rank.bronze { color: #d97706; }
.sidebar-item .si-cover {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #1a1f35;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.sidebar-item .si-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}
.sidebar-item .si-cover img.loaded { opacity: 1; }
.sidebar-item .si-info { flex: 1; min-width: 0; }
.sidebar-item .si-info .si-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-item .si-info .si-cat { font-size: 12px; color: var(--text-muted); }
.sidebar-item .si-views { display: none; }


.search-box {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin-bottom: 32px;
}
.search-box input {
    flex: 1;
    padding: 14px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 24px rgba(0,212,255,0.08); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box button {
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.search-box button:hover { transform: scale(1.02); box-shadow: 0 4px 24px rgba(0,212,255,0.25); }

.search-results { margin-top: 8px; }
.search-results .result-count { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
.empty-state .empty-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 20px; color: var(--text-primary); margin-bottom: 6px; }


.download-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(12px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.download-overlay.open { display: flex; }

.download-modal {
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 32px 36px 40px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
    animation: scaleIn 0.3s ease;
    text-align: center;
}
@keyframes scaleIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.download-modal .qr-modal-icon { font-size: 48px; margin-bottom: 4px; }
.download-modal h2 { font-size: 22px; margin-bottom: 2px; }
.download-modal .subtitle { color: var(--text-secondary); margin-bottom: 20px; font-size: 14px; }
.download-modal .qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 8px 0 16px;
}
.download-modal .qr-wrapper .qr-code {
    width: 220px;
    height: 220px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin: 0 auto;
}
.download-modal .qr-wrapper .qr-code img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.download-modal .qr-wrapper .platform-label { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.download-modal .download-tip {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.download-modal .download-tip a { color: var(--primary); text-decoration: none; font-weight: 600; }
.download-modal .download-tip a:hover { text-decoration: underline; }
.download-close-btn {
    display: block;
    margin: 16px auto 0;
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.download-close-btn:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }

.tutorial-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(12px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.tutorial-overlay.open { display: flex; }
.tutorial-modal {
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    max-width: 640px;
    width: 100%;
    padding: 32px 36px 40px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
    animation: scaleIn 0.3s ease;
}
.tutorial-modal h2 { font-size: 24px; text-align: center; margin-bottom: 8px; }
.tutorial-modal .tutorial-content {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin: 16px 0 24px;
}
.tutorial-modal .tutorial-content ol { padding-left: 24px; margin: 8px 0; }
.tutorial-modal .tutorial-content li { margin-bottom: 10px; }
.tutorial-modal .tutorial-content .highlight { color: var(--primary); font-weight: 600; }
.tutorial-close-btn {
    display: block;
    margin: 0 auto;
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.tutorial-close-btn:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 32px;
    border-radius: 16px;
    background: rgba(10,14,26,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-primary);
    font-size: 15px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

.site-footer {
    margin-top: 40px;
    padding: 24px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
    flex-shrink: 0;
}
.site-footer .footer-content { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.site-footer .footer-content p { font-size: 13px; color: var(--text-muted); line-height: 1.8; letter-spacing: 0.3px; }
.site-footer .footer-content a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
.site-footer .footer-content a:hover { color: #fff; text-decoration: underline; }


@media (max-width: 1100px) {
    .games-grid {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
    .detail-wrapper { grid-template-columns: 1fr; }
    .detail-sidebar { order: 2; }
    .detail-main { order: 1; }
    .sidebar-card { position: static; }
}
@media (max-width: 820px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(170px, 1fr));
        gap: 16px;
    }
    .detail-top-card { grid-template-columns: 1fr; gap: 16px; }
    .detail-cover { aspect-ratio: 16/9; min-height: 150px; }
    .navbar { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 0; }
    .nav-links { justify-content: center; }
    .nav-search-trigger { justify-content: center; }
    .ranking-tabs { justify-content: center; }
    .ranking-tab { padding: 8px 20px; font-size: 14px; flex: 1; text-align: center; min-width: 80px; }
    .download-platforms { justify-content: center; }
}
@media (max-width: 500px) {
    .app-container { padding: 0 14px; }
    .games-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 12px;
    }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
    .category-chip { font-size: 12px; padding: 8px 12px; }
    .game-card-body { padding: 10px 12px 12px; }
    .game-card-body h3 { font-size: 13px; }
    .game-card-body p { font-size: 11px; min-height: 28px; -webkit-line-clamp: 1; }
    .game-card-footer .footer-row .left-group { gap: 3px 4px; }
    .game-size { font-size: 11px; line-height: 18px; padding: 0 6px; }
    .category-tag { font-size: 10px; line-height: 18px; padding: 0 6px; }
    .views-count { font-size: 11px; }
    .game-update { font-size: 10px; }
    .search-box { flex-direction: column; }
    .search-box button { width: 100%; justify-content: center; }
    .detail-top-card { padding: 16px; }
    .detail-content-box { padding: 16px 18px; }
    .detail-info h2 { font-size: 24px; }
    .download-modal { padding: 24px 20px 30px; }
    .download-modal .qr-wrapper .qr-code { width: 180px; height: 180px; padding: 10px; }
    .download-platforms .platform-card { padding: 8px 14px; gap: 8px; font-size: 13px; }
    .download-platforms .platform-card .platform-icon { width: 28px; height: 28px; font-size: 12px; }
    .nav-links a { font-size: 13px; padding: 6px 12px; }
    .nav-brand { font-size: 20px; }
    .nav-links { gap: 4px; }
    .site-footer .footer-content p { font-size: 12px; }
    .pagination button { padding: 6px 14px; font-size: 13px; }
    .detail-back button { font-size: 14px; padding: 6px 16px; }
    .ranking-tab { font-size: 13px; padding: 6px 14px; min-width: 60px; }
    .related-item { flex: 0 0 130px; min-width: 110px; }
    .detail-nav { flex-direction: column; gap: 12px; padding: 14px 0; }
    .detail-nav .nav-btn { width: 100%; justify-content: center; }
    .detail-nav .nav-btn.prev { justify-content: center; }
    .detail-nav .nav-btn.next { justify-content: center; }
    .detail-nav .nav-divider { display: none; }
    .tutorial-modal { padding: 24px 20px 30px; }
    .sidebar-card { padding: 14px; }
    .sidebar-item { padding: 6px 10px; }
    .sidebar-item .si-cover { width: 30px; height: 30px; }
}
@media (max-width: 400px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 10px;
    }
    .game-card-body { padding: 8px 10px 10px; }
    .game-card-body h3 { font-size: 12px; }
    .game-card-body p { font-size: 10px; min-height: 24px; }
    .game-card-footer .footer-row .left-group { gap: 2px 3px; }
    .game-size { font-size: 10px; line-height: 16px; padding: 0 5px; }
    .category-tag { font-size: 9px; line-height: 16px; padding: 0 5px; }
    .views-count { font-size: 10px; }
    .game-update { font-size: 9px; }
    .related-item { flex: 0 0 110px; min-width: 100px; }
    .download-platforms .platform-card { padding: 6px 12px; gap: 6px; font-size: 12px; }
    .download-platforms .platform-card .platform-icon { width: 24px; height: 24px; font-size: 10px; }
    .download-modal .qr-wrapper .qr-code { width: 150px; height: 150px; padding: 8px; }
    .detail-content-box { padding: 12px 14px; }
    .sidebar-tab { font-size: 12px; padding: 4px 8px; }
}

.category-chip {
  white-space: nowrap;
  min-width: 100px;
  justify-content: center;
  flex: 0 0 auto;
}
.detail-breadcrumb {
    padding: 8px 0;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}
.detail-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}
.detail-breadcrumb a:hover {
    text-decoration: underline;
}
.detail-breadcrumb .separator {
    margin: 0 6px;
    color: var(--text-muted);
}
.detail-breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}
.related-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.2s;
}
.related-arrow:hover {
    background: rgba(0,0,0,0.8);
}
.related-arrow.left {
    left: 0;
}
.related-arrow.right {
    right: 0;
}


.related-scroll {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.related-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.detail-tags {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    margin-top: 8px !important;
}
.detail-tags .tag {
    display: inline-block !important;
    white-space: nowrap !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    background: rgba(0, 212, 255, 0.08) !important;
    border: 1px solid rgba(0, 212, 255, 0.12) !important;
    color: var(--primary) !important;
    font-size: 13px !important;
}


.notice-bar {
    display: flex;
    align-items: center;
    background: #ffe4e1;
    border-radius: 10px;
    padding: 8px 20px;
    margin: 12px 0 20px 0;
    box-shadow: 0 2px 12px rgba(255, 107, 107, 0.15);
    height: 44px;
    overflow: hidden;
    position: relative;
    flex-wrap: nowrap;
    gap: 12px;
}

.notice-header {
    display: flex;
    align-items: center;
    background: #e74c3c;
    color: #bbf1f1;
    padding: 4px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

.notice-icon { font-size: 18px; }
.notice-label { letter-spacing: 0.5px; }

.notice-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.notice-slide-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}


.notice-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
    transform: translateX(100%);
    opacity: 0;
    transition: none;
}


.notice-item.slide-in {
    animation: slideInRight 0.6s ease forwards;
}


.notice-item.slide-out {
    animation: slideOutLeft 0.6s ease forwards;
}


.notice-item.active {
    transform: translateX(0);
    opacity: 1;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}


@media (max-width: 768px) {
    .notice-bar {
        height: 40px;
        padding: 6px 10px;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .notice-header {
        font-size: 12px;
        padding: 3px 10px;
        gap: 4px;
    }
    .notice-icon {
        font-size: 14px;
    }
    .notice-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .notice-bar {
        height: 36px;
        padding: 5px 8px;
        gap: 6px;
    }
    .notice-header {
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .notice-label {
        display: none;
    }
    .notice-item {
        font-size: 12px;
    }
}


.sort-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0 24px;
    flex-wrap: wrap;
    align-items: center;
}

.sort-tab {
    padding: 8px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.sort-tab:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-glow);
    transform: translateY(-1px);
}

.sort-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}

@media (max-width: 550px) {
    .sort-tabs { gap: 6px; margin: 14px 0 18px; }
    .sort-tab { padding: 6px 14px; font-size: 12px; }
}


.page-header h1 .emoji-icon {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: initial !important;
}

@media (max-width: 768px) {

    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .app-container, .page, .detail-wrapper, .detail-main, .detail-content-box, .detail-top-card, .detail-sidebar {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }


    .app-container { padding: 0 10px !important; }
    .detail-top-card, .detail-content-box { padding: 12px !important; }


    * {
        min-width: 0 !important;
    }


    * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }


    .version-line {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    .version-line span {
        display: block !important;
        width: 100% !important;
    }


    .download-platforms {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .download-platforms .platform-card {
        flex: 1 1 0% !important;
        max-width: 32% !important;
        padding: 10px 4px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        overflow: hidden !important;
    }
    .download-platforms .platform-name {
        white-space: normal !important;
        text-align: center !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}