:root { --primary-color: #6366f1; --bg-color: #0f172a; --card-bg: rgba(30, 41, 59, 0.7); --text-main: #f8fafc; --text-dim: #94a3b8; }
body { font-family: sans-serif; background-color: var(--bg-color); background-image: radial-gradient(circle at top right, #1e1b4b, #0f172a); color: var(--text-main); margin: 0; line-height: 1.6; min-height: 100vh; }
.container { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.glass-card { background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* 核心修复：锁定图标为正方形 */
.app-icon-mini, .app-icon-large { 
    object-fit: cover !important; 
    overflow: hidden !important; 
    display: block; 
    background-color: #1e293b; 
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;        /* 防止被旁边的文字挤压变形 */
    aspect-ratio: 1 / 1;  /* 强制锁定宽高比为 1:1 */
}

.app-icon-mini { width: 60px; height: 60px; border-radius: 14px !important; margin-right: 20px; }

/* 详情页大图标修复 */
.app-icon-large { 
    width: 80px; 
    height: 80px;         /* 明确高度 */
    border-radius: 18px !important; 
    margin-right: 20px; 
}

.profile-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-color); margin: 0 auto 20px auto; display: block; }
h1 { font-size: 2.2rem; margin-bottom: 10px; background: linear-gradient(to right, #818cf8, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.app-item { display: flex; align-items: center; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 16px; text-decoration: none; color: inherit; margin-top: 15px; }
.btn { display: inline-block; padding: 12px 30px; background: linear-gradient(135deg, #6366f1, #a855f7); color: white; text-decoration: none; border-radius: 12px; font-weight: bold; margin-top: 20px; }
.pwd-box { margin-top: 15px; padding: 10px; background: rgba(0,0,0,0.2); border-radius: 12px; font-size: 0.95rem; color: #fff; text-align: center; border: 1px dashed rgba(255,255,255,0.2); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.gallery img { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }