/* skin/css/index.css */

.search-trigger {
    background: rgba(255,255,255,0.5);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}

/* Banner */
.main-swiper {
    border-radius: var(--radius-box);
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.main-swiper img { width: 100%; height: auto; }

/* Horizontal Scroll (最新应用) */
.h-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    margin: 0 -20px;
    padding: 0 20px 10px;
}
.h-scroll-container::-webkit-scrollbar { display: none; }
.h-app-item {
    flex: 0 0 64px;
    text-align: center;
}
.h-app-item img {
    width: 58px; height: 58px;
    border-radius: 18px;
    margin-bottom: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.h-app-item span {     
    font-size: 12px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;}

/* List Row (热门游戏) */
.card-stack { display: flex; flex-direction: column; gap: 15px; }
.list-row {
    display: flex; align-items: center;
    padding: 15px; margin-bottom: 0; /* Override generic glass-card margin */
}
.lr-icon { width: 52px; height: 52px; border-radius: 14px; margin-right: 15px; }
.lr-info { flex: 1; }
.lr-info h3 { font-size: 15px; margin-bottom: 3px; font-weight: bold; }
.lr-info p { font-size: 12px; color: var(--text-sub); }

/* Grid 2 Col (安卓游戏) */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.grid-item {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px;
    display: flex; align-items: center;
}
.grid-item img { width: 36px; height: 36px; border-radius: 10px; margin-right: 10px; }
.gi-name { font-size: 13px; font-weight: 500; }

/* Mini List (热门软件) */
.mini-list-box { padding: 5px 20px; }
.mini-row {
    display: flex; align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}
.mini-row:last-child { border-bottom: none; }
.mini-row img { width: 32px; height: 32px; border-radius: 8px; margin-right: 12px; }
.mr-info { flex: 1; font-weight: 500; font-size: 14px; }
.mr-btn {
    width: 26px; height: 26px;
    border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--primary-color);
}

/* Rank Preview */
.rank-preview { padding: 0 20px; }
.rp-item {
    display: flex; align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.rp-item:last-child { border-bottom: none; }
.rp-num {
    font-weight: bold; font-style: italic; margin-right: 15px;
    color: #ccc; width: 20px; text-align: center;
}
.rp-num.n1 { color: #ff7675; }
.rp-num.n2 { color: #fab1a0; }
.rp-num.n3 { color: #ffeaa7; }
.rp-name { flex: 1; font-size: 14px; }
.rp-hot { font-size: 12px; color: var(--text-sub); }
.rt-item{flex:1; border:none; background:rgba(255,255,255,0.4); border-radius:20px; padding:6px; color:#666;}
.rt-item.btn-primary{background:var(--primary-color); color:#fff;}
