/* ===== 基础重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #0a0a0a;
    color: #e8e8e8;
    min-height: 100vh;
    overflow-x: hidden;
}
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; outline: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== 液态玻璃 ===== */
.glass {
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.glass-light {
    background: rgba(45, 45, 55, 0.5);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

/* ===== 动画 ===== */
@keyframes springIn {
    0% { opacity: 0; transform: scale(0.85) translateY(20px); }
    60% { opacity: 1; transform: scale(1.02) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(76, 175, 80, 0.3); }
    50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.6); }
}

.spring-in { animation: springIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.fade-in-up { animation: fadeInUp 0.4s ease forwards; }

/* ===== 页面容器 ===== */
#app { max-width: 480px; margin: 0 auto; position: relative; min-height: 100vh; }
#page-container { padding-bottom: 80px; min-height: 100vh; }

.page {
    display: none;
    padding: 16px;
    animation: springIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page.active { display: block; }

/* ===== 底部导航 ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 16px;
    color: #888;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item span {
    font-size: 10px;
    font-weight: 500;
}

.nav-item.active { color: #4CAF50; }
.nav-item.active svg { transform: scale(1.15); }
.nav-item:active { transform: scale(0.92); }

/* ===== 首页 ===== */
.home-header {
    text-align: center;
    padding: 20px 0 16px;
}

.home-header h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.home-header p {
    font-size: 12px;
    color: #666;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    cursor: pointer;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #e8e8e8;
    pointer-events: none;
}

.search-bar input::placeholder { color: #555; }

.search-bar svg {
    width: 18px;
    height: 18px;
    color: #666;
    flex-shrink: 0;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px;
    padding-left: 4px;
    color: #ccc;
}

/* 推荐轮播 */
.featured-apps {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    margin-bottom: 8px;
    scrollbar-width: none;
}

.featured-apps::-webkit-scrollbar { display: none; }

.featured-card {
    flex-shrink: 0;
    width: 260px;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-card:active { transform: scale(0.97); }

.featured-card .app-icon-large {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 10px;
    object-fit: cover;
    background: #222;
}

.featured-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.featured-card .app-meta {
    font-size: 11px;
    color: #888;
}

/* 分类快捷入口 */
.category-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:active { transform: scale(0.92); }

.category-item .cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.category-item span {
    font-size: 11px;
    color: #aaa;
}

/* 应用列表卡片 */
.app-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-card:active { transform: scale(0.98); }

.app-card .app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    background: #222;
    flex-shrink: 0;
}

.app-card .app-info {
    flex: 1;
    min-width: 0;
}

.app-card .app-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card .app-desc {
    font-size: 11px;
    color: #888;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.app-card .app-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #666;
}

.app-card .app-stats .stars { color: #FFC107; }

/* 平台标签 */
.app-card .app-platform {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.app-card .app-platform.android { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.app-card .app-platform.windows { background: rgba(33, 150, 243, 0.15); color: #2196F3; }
.app-card .app-platform.ios { background: rgba(156, 39, 176, 0.15); color: #9C27B0; }
.app-card .app-platform.linux { background: rgba(255, 152, 0, 0.15); color: #FF9800; }
.app-card .app-platform.web { background: rgba(0, 188, 212, 0.15); color: #00BCD4; }

.app-card .download-btn-small {
    padding: 5px 14px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ===== 搜索页 ===== */
.search-page-header {
    padding: 12px 0 16px;
}

.search-page-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.search-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 15px;
    color: #e8e8e8;
}

.search-input-wrap input::placeholder { color: #555; }

.search-input-wrap .search-btn {
    padding: 8px 18px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.search-input-wrap .search-btn:active {
    background: rgba(76, 175, 80, 0.35);
}

/* 平台筛选栏 */
.platform-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.platform-bar::-webkit-scrollbar { display: none; }

.platform-btn {
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
}

.platform-btn.active {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border-color: rgba(33, 150, 243, 0.3);
}

.platform-btn:active { transform: scale(0.95); }

/* 筛选栏 */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 0;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
}

.filter-btn:active { transform: scale(0.95); }

/* 搜索历史 */
.search-history {
    margin-bottom: 16px;
}

.search-history .sh-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.search-history .sh-header span {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
}

.search-history .sh-header .clear-btn {
    font-size: 11px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
}

.search-history .sh-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-history .sh-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.search-history .sh-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

.search-history .sh-tag .del {
    margin-left: 6px;
    color: #555;
    font-size: 14px;
}

.search-history .sh-tag .del:hover { color: #F44336; }

/* 搜索结果计数 */
.result-count {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* ===== 分类页 ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 8px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:active { transform: scale(0.95); }

.category-card .cat-icon-large {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(76, 175, 80, 0.12);
    color: #4CAF50;
}

.category-card span {
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
}

/* ===== 我的页面 ===== */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin-bottom: 12px;
    border: 3px solid rgba(76, 175, 80, 0.3);
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.profile-uid {
    font-size: 12px;
    color: #666;
    font-family: monospace;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:active { transform: scale(0.98); }

.menu-item .menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.menu-item .menu-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #ddd;
}

.menu-item .menu-arrow {
    color: #555;
    font-size: 18px;
}

/* ===== 应用详情页 ===== */
.app-detail-header {
    display: flex;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.app-detail-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    object-fit: cover;
    background: #222;
    flex-shrink: 0;
}

.app-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-detail-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.app-detail-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.app-detail-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.app-detail-rating .stars { color: #FFC107; }
.app-detail-rating .score { color: #fff; font-weight: 600; }

.download-btn-large {
    display: block;
    width: calc(100% - 32px);
    padding: 14px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 0 16px 16px;
    border: none;
    cursor: pointer;
    animation: glow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.download-btn-large:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.download-btn-large.pan {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    animation: none;
}

.app-detail-section {
    padding: 16px;
    margin-bottom: 10px;
}

.app-detail-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 10px;
}

.app-detail-section p {
    font-size: 13px;
    color: #999;
    line-height: 1.7;
}

.app-detail-section .info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px;
}

.app-detail-section .info-row:last-child { border-bottom: none; }
.app-detail-section .info-row .label { color: #777; }
.app-detail-section .info-row .value { color: #bbb; }

/* 评论 */
.review-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

.review-user {
    font-size: 13px;
    font-weight: 600;
    color: #ddd;
}

.review-stars {
    color: #FFC107;
    font-size: 12px;
}

.review-text {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    padding-left: 42px;
}

.review-time {
    font-size: 11px;
    color: #555;
    padding-left: 42px;
    margin-top: 4px;
}

/* 写评论 */
.write-review {
    padding: 16px;
    margin-top: 10px;
}

.write-review h3 {
    font-size: 15px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 12px;
}

.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.star-rating .star {
    font-size: 28px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating .star.active { color: #FFC107; }
.star-rating .star:active { transform: scale(1.2); }

.write-review textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 14px;
    color: #ddd;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 12px;
}

.write-review textarea::placeholder { color: #555; }

.submit-review-btn {
    width: 100%;
    padding: 12px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:active {
    background: rgba(76, 175, 80, 0.35);
    transform: scale(0.98);
}

/* ===== 登录/注册页 ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.auth-logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 28px;
}

.auth-form {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-form input, .auth-form select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    font-size: 14px;
    color: #ddd;
}

.auth-form input::placeholder { color: #555; }

.auth-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.auth-form select option {
    background: #1a1a1a;
    color: #ddd;
}

.auth-form .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    padding: 3px 0;
}

.auth-form .checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4CAF50;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.3s ease;
}

.auth-btn:active { transform: scale(0.98); opacity: 0.9; }

.auth-switch {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #666;
}

.auth-switch a {
    color: #4CAF50;
    font-weight: 500;
    cursor: pointer;
}

/* ===== 发布应用页 ===== */
.publish-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 6px;
}

.publish-form h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.publish-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.publish-form .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #aaa;
}

.publish-form .form-group input,
.publish-form .form-group textarea,
.publish-form .form-group select {
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 14px;
    color: #ddd;
}

.publish-form .form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.publish-form .form-group input::placeholder,
.publish-form .form-group textarea::placeholder { color: #555; }

.icon-preview {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 12px;
    margin-top: 5px;
    overflow: hidden;
}

.icon-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publish-hint {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
}

/* ===== 反馈页 ===== */
.feedback-page {
    padding-top: 16px;
}

.feedback-page h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feedback-page .feedback-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-card:active { transform: scale(0.98); }

.contact-card .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card .contact-info {
    flex: 1;
}

.contact-card .contact-info .contact-name {
    font-size: 14px;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 2px;
}

.contact-card .contact-info .contact-value {
    font-size: 13px;
    color: #888;
    font-family: monospace;
}

/* ===== 管理员后台 ===== */
.admin-page h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.admin-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.admin-tabs::-webkit-scrollbar { display: none; }

.admin-tab {
    padding: 7px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    background: rgba(255,255,255,0.05);
    border: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-tab.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.admin-app-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
}

.admin-app-item .app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: #222;
    flex-shrink: 0;
}

.admin-app-item .app-info {
    flex: 1;
    min-width: 0;
}

.admin-app-item .app-info .app-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.admin-app-item .app-info .app-dev {
    font-size: 11px;
    color: #666;
}

.admin-app-item .app-status {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 500;
}

.admin-app-item .app-status.pending {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
}

.admin-app-item .app-status.approved {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.admin-app-item .app-status.rejected {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
}

.admin-actions {
    display: flex;
    gap: 5px;
}

.admin-actions button {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-actions .btn-approve {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.admin-actions .btn-reject {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.admin-actions button:active { transform: scale(0.95); }

/* ===== 通用组件 ===== */
.back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    margin-bottom: 8px;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #555;
}

.empty-state .empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 13px;
}

.toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-80px);
    padding: 10px 20px;
    background: rgba(30, 30, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    font-size: 13px;
    color: #ddd;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
    #app { max-width: 480px; }
}
