/* ========================================  
   云上藏家 - 收藏家列表样式 (手机版 414px)
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f5f0;
    color: #333;
    line-height: 1.6;
}

/* 手机容器 */
.container {
    max-width: 414px;
    margin: 0 auto;
    padding: 0;
}

.screen {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* --- 顶部导航 --- */
.page-header {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 414px;
    margin: 0 auto;
}

.home-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 13px;
    margin-right: 12px;
    white-space: nowrap;
}

.page-title {
    font-size: 16px;
    font-weight: bold;
    color: #d4af37;
    flex: 1;
    text-align: center;
    margin: 0;
}

.logo {
    font-size: 16px;
    font-weight: bold;
    margin-right: 12px;
    white-space: nowrap;
    color: #d4af37;
}

/* --- 标题 --- */
.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

/* --- Hook 卡片 --- */
.hook-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 0;
}

.hook-card {
    background: #fff9e6;
    color: #333;
    padding: 4px 8px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid #f8d775;
}

.hook-card:hover {
    transform: translateY(-2px);
    background: #fff3cc;
    border-color: #f5c748;
}

.hook-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}

.hook-icon-svg {
    width: 24px;
    height: 24px;
    display: block;
    margin-bottom: 6px;
    fill: #555;
    transition: all 0.3s ease;
}

.hook-card:hover .hook-icon-svg {
    fill: #d4af37;
}

.hook-text {
    font-size: 12px;
    display: block;
    font-weight: 600;
    color: #555;
}

/* 标题样式 */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
}

/* 筛选栏 */
.filter-bar {
    margin-bottom: 15px;
}

#filter_category {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

/* 排序栏 */
.sort-bar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.sort-label {
    font-size: 14px;
    margin-right: 10px;
}

.sort-buttons {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background-color: #f9f9f9;
}

.sort-btn.active {
    background-color: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

/* 收藏家区块 */
.collector-block {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px;
    background: #f5f2ed;
    border-radius: 8px;
    border: 1px solid #e0d5c1;
}

/* 收藏家卡片 */
.collector-card {
    width: 120px;
    background-color: #f8f5f0;
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.collector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.collector-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
}

.collector-name {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #333;
}

.collector-title {
    font-size: 10px;
    color: #666;
    margin-bottom: 4px;
}

.collector-stats {
    font-size: 10px;
    color: #999;
    margin-bottom: 6px;
}

.collector-link {
    display: inline-block;
    padding: 4px 8px;
    background-color: #d4af37;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 10px;
}

/* 收藏家藏品 */
.collector-collections {
    flex: 1;
    min-width: 0;
}

.collection-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.collection-scroll::-webkit-scrollbar {
    display: none;
}

.collection-item {
    min-width: 100px;
    background: #fff;
    border: 1px solid #e0d5c1;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
}

.collection-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}

.collection-name {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-price {
    font-size: 10px;
    color: #d4af37;
    font-weight: bold;
}

/* 收藏家详情 */
.collector-profile {
    margin-bottom: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #333;
}

.profile-title {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px 0;
}

.profile-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    font-size: 14px;
    color: #999;
}

.profile-description {
    margin-top: 20px;
}

.profile-description h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}

.profile-description p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* 藏品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.product-name {
    font-size: 14px;
    font-weight: bold;
    flex: 1;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #d4af37;
}

.product-sponsor {
    font-size: 12px;
    color: #666;
    padding: 10px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-size: 14px;
}

.page-btn.active {
    background-color: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

/* 浮动按钮 */
#right1_float_btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #d4af37;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 999;
}

