/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0e0e1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    padding-bottom: 40px;
    background-image: radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.05) 0%, transparent 50%);
    min-height: 100vh;
}
::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.4);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 92, 231, 0.6);
}

/* ===== 导航栏 ===== */
.app-nav {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    padding: 12px 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin-right: 8px;
    flex-shrink: 0;
}
.nav-brand img {
    font-size: 32px;
    color: #f7c948;
    height: 40px;
    filter: drop-shadow(0 0 12px rgba(247, 201, 72, 0.5));
}
.nav-emulators {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}
.nav-emulators .emu-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b8b8d0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.nav-emulators .emu-tag i {
    font-size: 16px;
    color: #a0a0c0;
}
.nav-emulators .emu-tag:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 215, 0, 0.4);
    color: #fff;
    transform: translateY(-1px);
}
.nav-emulators .emu-tag.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: #f7c948;
    color: #f7c948;
    box-shadow: 0 0 20px rgba(247, 201, 72, 0.2);
}
.nav-emulators .emu-tag.active i {
    color: #f7c948;
}

/* ===== 搜索框 ===== */
.search-wrapper {
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 0 24px;
}
.search-box {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 4px 4px 4px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.search-box:focus-within {
    border-color: #a29bfe;
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.15);
}
.search-box i {
    color: #a0a0c0;
    font-size: 18px;
    margin-right: 10px;
}
.search-box input {
    flex: 1;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #fff;
}
.search-box input::placeholder {
    color: #8888aa;
}

/* ===== 容器 ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px;
}

/* ===== 主题合集模块（横向滚动） ===== */
.theme-section {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 20px 24px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}
.theme-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.theme-header .title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.theme-header .title i {
    color: #f7c948;
    font-size: 22px;
}
.theme-header .more-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a29bfe;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 30px;
    flex-shrink: 0;
}
.theme-header .more-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
.theme-header .more-btn i {
    font-size: 12px;
}

/* 横向滚动容器 */
.theme-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px 2px 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.3) transparent;
}
.theme-scroll::-webkit-scrollbar {
    height: 4px;
}
.theme-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}
.theme-scroll::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.4);
    border-radius: 4px;
}

/* 主题卡片 - 竖长形 */
.theme-item {
    flex: 0 0 160px;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    background: #1a1a2e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
.theme-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(108, 92, 231, 0.3);
}
.theme-item.active {
    border-color: #a29bfe;
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.25);
}
.theme-item .theme-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    transition: opacity 0.3s, transform 0.5s;
}
.theme-item:hover .theme-bg {
    opacity: 0.5;
    transform: scale(1.05);
}
.theme-item .theme-bg .bg-emoji {
    font-size: 72px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}
.theme-item .theme-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 12px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7) 35%, rgba(0, 0, 0, 0.92));
    z-index: 1;
    backdrop-filter: blur(2px);
}
.theme-item .theme-content .theme-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.theme-item .theme-content .theme-desc {
    font-size: 11px;
    color: #c0c0e0;
    margin-top: 1px;
    opacity: 0.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.theme-item .theme-content .theme-count {
    font-size: 10px;
    color: #a29bfe;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
    background: rgba(108, 92, 231, 0.2);
    padding: 1px 10px;
    border-radius: 20px;
}
.theme-item .check-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #6c5ce7;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(108, 92, 231, 0.5);
}
.theme-item.active .check-mark {
    opacity: 1;
    transform: scale(1);
}

/* 隐藏多余主题（折叠状态） */
.theme-scroll.collapsed .theme-item:nth-child(n+7) {
    display: none;
}

/* ===== 筛选区 ===== */
.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 28px;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 10px 16px;
    flex-wrap: wrap;
}
.filter-group .group-label {
    font-size: 14px;
    font-weight: 700;
    color: #c0c0e0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-group .group-label i {
    color: #a29bfe;
}
.filter-group .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.filter-group .tag {
    padding: 4px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
    font-weight: 600;
    color: #b0b0d0;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    user-select: none;
}
.filter-group .tag:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.filter-group .tag.active {
    background: #6c5ce7;
    color: #fff;
    border-color: #6c5ce7;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

/* ===== 游戏网格 ===== */
.game-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 4px 0;
    min-height: 200px;
}

/* ===== 游戏卡片 ===== */
.game-card {
    width: 220px;
    height: 300px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 24px;
    padding: 18px 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: default;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
    padding-bottom: 25px;
}
.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(108, 92, 231, 0.25);
    border-color: rgba(108, 92, 231, 0.4);
}
.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    padding-top: 20px;
}
.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    flex-shrink: 0;
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
    transition: transform 0.3s;
}
.game-card:hover .card-icon {
    transform: scale(1.06) rotate(-2deg);
}
.card-icon .emoji {
    font-size: 38px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.card-title-group {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.card-title-group .title {
    font-weight: 800;
    font-size: 17px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.card-title-group .desc {
    font-size: 12px;
    color: #a0a0c0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    margin-top: 2px;
    min-height: 32px;
}
.card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    margin-top: 6px;
    margin-bottom: 8px;
    flex-shrink: 0;
    min-height: 26px;
}
.card-tags .badge {
    font-size: 9px;
    padding: 2px 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    color: #b0b0d0;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.card-tags .badge.emulator {
    background: rgba(255, 215, 0, 0.12);
    color: #f7c948;
}
.card-tags .badge.genre {
    background: rgba(0, 255, 200, 0.10);
    color: #5ef7c8;
}
.card-tags .badge.theme {
    background: rgba(162, 155, 254, 0.12);
    color: #a29bfe;
}
.card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 4px;
}
.card-actions .btn {
    flex: 1;
    border: none;
    border-radius: 30px;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}
.card-actions .btn i {
    font-size: 11px;
}
.card-actions .btn-detail {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #c0c0e0;
    order: 0;
}
.card-actions .btn-detail:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: scale(1.05);
}
.card-actions .btn-play {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 87, 108, 0.3);
    order: 1;
}
.card-actions .btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(245, 87, 108, 0.5);
}

/* ===== 分页 ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 24px 0 8px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}
.pagination-wrapper .page-info {
    color: #8888aa;
    font-size: 13px;
    margin-right: 12px;
}
.pagination-wrapper .page-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c0c0e0;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
    min-width: 36px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pagination-wrapper .page-btn:hover:not(.active):not(.disabled) {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
.pagination-wrapper .page-btn.active {
    background: #6c5ce7;
    color: #fff;
    border-color: #6c5ce7;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}
.pagination-wrapper .page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.pagination-wrapper .page-btn.arrow {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.pagination-wrapper .page-btn.arrow:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}
.pagination-wrapper .page-btn.ellipsis {
    background: transparent;
    border: none;
    cursor: default;
    color: #666688;
    min-width: 24px;
    padding: 6px 4px;
}
.pagination-wrapper .page-size-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c0c0e0;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    margin-left: 8px;
}
.pagination-wrapper .page-size-select option {
    background: #1a1a2e;
    color: #fff;
}

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8888aa;
    width: 100%;
}
.empty-state i {
    font-size: 60px;
    display: block;
    margin-bottom: 16px;
    color: #555577;
}
.empty-state p {
    font-size: 18px;
    font-weight: 500;
}

/* ===== 底部 ===== */
.app-footer {
    text-align: center;
    padding: 28px 16px 12px;
    color: #666688;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 20px;
}

/* ===== 模态框 ===== */
.modal-mask {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(12px);
    padding: 20px;
}
.modal-mask.active {
    visibility: visible;
    opacity: 1;
}
.modal-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    max-width: 480px;
    width: 100%;
    padding: 32px 28px 28px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-mask.active .modal-content {
    transform: scale(1) translateY(0);
}
.modal-content .modal-icon {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.3);
}
.modal-content .modal-icon .emoji {
    font-size: 52px;
}
.modal-content h3 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.modal-content .modal-desc {
    color: #a0a0c0;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.modal-content .modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 24px;
}
.modal-content .modal-meta span {
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 14px;
    color: #c0c0e0;
    font-weight: 600;
}
.modal-content .modal-meta i {
    margin-right: 6px;
    color: #a29bfe;
}
.modal-content .btn-start-big {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 24px rgba(245, 87, 108, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modal-content .btn-start-big:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(245, 87, 108, 0.5);
}
.modal-content .btn-close {
    background: transparent;
    border: none;
    color: #8888aa;
    font-size: 14px;
    margin-top: 16px;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
    font-weight: 500;
}
.modal-content .btn-close:hover {
    color: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 640px) {
    .app-nav {
        padding: 10px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .nav-brand {
        font-size: 20px;
        justify-content: center;
    }
    .nav-emulators {
        justify-content: center;
        gap: 6px;
    }
    .nav-emulators .emu-tag {
        font-size: 12px;
        padding: 4px 12px;
    }
    .search-wrapper {
        padding: 0 16px;
        margin-top: 14px;
    }
    .container {
        padding: 16px 16px;
    }
    .theme-section {
        padding: 14px 16px 12px;
    }
    .theme-header .title {
        font-size: 17px;
    }
    .theme-item {
        flex: 0 0 130px;
        height: 180px;
        border-radius: 14px;
    }
    .theme-item .theme-bg .bg-emoji {
        font-size: 56px;
    }
    .theme-item .theme-content .theme-name {
        font-size: 13px;
    }
    .theme-item .theme-content .theme-desc {
        font-size: 10px;
    }
    .theme-item .theme-content .theme-count {
        font-size: 9px;
    }
    .filter-section {
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
    }
    .filter-group .tag {
        font-size: 12px;
        padding: 3px 12px;
    }
    .game-card {
        width: 160px;
        height: 260px;
        padding: 14px 10px 10px;
    }
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    .card-icon .emoji {
        font-size: 30px;
    }
    .card-title-group .title {
        font-size: 15px;
    }
    .card-title-group .desc {
        font-size: 11px;
        min-height: 28px;
    }
    .card-actions .btn {
        font-size: 10px;
        padding: 4px 0;
    }
    .card-tags .badge {
        font-size: 8px;
        padding: 1px 8px;
    }
    .modal-content {
        padding: 20px 16px;
    }
    .theme-item .check-mark {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: 5px;
        right: 5px;
    }
    .pagination-wrapper {
        gap: 4px;
        padding: 16px 0 4px;
    }
    .pagination-wrapper .page-btn {
        font-size: 12px;
        padding: 4px 10px;
        min-width: 30px;
    }
    .pagination-wrapper .page-info {
        font-size: 12px;
        margin-right: 6px;
    }
    .pagination-wrapper .page-size-select {
        font-size: 12px;
        padding: 3px 8px;
    }
}
@media (max-width: 400px) {
    .game-card {
        width: 140px;
        height: 230px;
        padding: 10px 8px 8px;
    }
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .card-icon .emoji {
        font-size: 26px;
    }
    .card-title-group .title {
        font-size: 13px;
    }
    .card-title-group .desc {
        font-size: 10px;
        min-height: 24px;
    }
    .card-actions .btn {
        font-size: 9px;
        padding: 3px 0;
    }
    .card-tags .badge {
        font-size: 7px;
        padding: 1px 6px;
    }
    .theme-item {
        flex: 0 0 110px;
        height: 160px;
    }
    .theme-item .theme-bg .bg-emoji {
        font-size: 44px;
    }
    .theme-item .theme-content .theme-name {
        font-size: 12px;
    }
    .theme-item .theme-content .theme-desc {
        font-size: 9px;
    }
    .theme-item .theme-content .theme-count {
        font-size: 8px;
    }
}