/* skin/css/common.css */
:root {
    --primary-color: #6c5ce7;
    --primary-gradient: linear-gradient(135deg, #a29bfe, #6c5ce7);
    --bg-body: #e0eafc;
    --glass-bg: rgba(255, 255, 255, 0.75); /* 稍微不透明一点，提高阅读性 */
    --glass-border: 1px solid rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    --text-main: #2d3436;
    --text-sub: #636e72;
    --radius-box: 24px;
    --radius-btn: 14px;
    --font-stack: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body, h1, h2, h3,h4,h5, p, ul, li, input, button { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    background-attachment: fixed;
    height: 100vh;
    overflow: hidden;
}

/* App Shell 容器 */
.app-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.4);
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.05);
}

/* 顶部栏 */
.top-bar {
    height: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 10;
    flex-shrink: 0;
}
.logo-text {
    font-size: 22px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-text img{
    width: auto;
    height: 52px;
}

/* 滚动区域 - 关键修正 */
.scroll-view {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px 100px 20px; /* 底部预留 100px 给 TabBar */
    scrollbar-width: none;
}
.scroll-view::-webkit-scrollbar { display: none; }

/* 通用玻璃卡片 */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-box);
    border: var(--glass-border);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--glass-shadow);
}

/* 标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 15px;
}
.sh-title { font-size: 18px; font-weight: 800; color: #2d3436; }
.sh-more { font-size: 13px; color: var(--text-sub); opacity: 0.8; }

/* 底部固定导航 */
.bottom-tab-bar {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    height: 65px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    z-index: 99;
}
.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #b2bec3;
    font-size: 10px;
    gap: 4px;
    width: 50px;
}
.tab-item.active { color: var(--primary-color); }
.tab-icon {
    width: 24px; height: 24px;
    background: currentColor;
    mask-size: contain; -webkit-mask-size: contain;
    mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
    mask-position: center; -webkit-mask-position: center;
}

/* 按钮通用 */
.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}