/* Global styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* SVG icon reset */
svg {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

/* Card styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Button styles */
.btn-success {
    background-color: #52c41a;
    border-color: #52c41a;
}

.btn-success:hover {
    background-color: #389e0d;
    border-color: #389e0d;
}

/* Form styles */
.form-control {
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #52c41a;
    box-shadow: 0 0 0 2px rgba(82, 196, 26, 0.2);
}

/* 二级分类标签样式 */
.sub-category-bar {
    flex: 1;
    margin: 0 16px;
    overflow: hidden;
}

.sub-category-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sub-category-list::-webkit-scrollbar {
    display: none;
}

.sub-category-tag {
    flex-shrink: 0;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    user-select: none;
    white-space: nowrap;
}

.sub-category-tag:hover {
    background: #e0e0e0;
}

.sub-category-tag.active {
    background: #52c41a;
    color: white;
}

/* Navbar styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
}

/* 解决锚点滚动被固定导航栏遮挡的问题 */
html {
    scroll-padding-top: 120px;
    scroll-behavior: smooth;
}

/* 为锚点目标元素添加顶部margin */
#buyer-orders, #seller-orders {
    scroll-margin-top: 120px;
}

/* Category icon */
.category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin: 0 auto 8px;
}

/* Category navigation */
.category-nav {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Browse layout */
.browse-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f5f5f5;
    max-width: 1800px;
    margin: 0 auto;
}

/* Sidebar */
.browse-sidebar {
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-header {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: #fff;
}

.category-list {
    padding: 10px 0;
}

.category-list-item {
    display: flex;
    align-items: center;
    padding: 6px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 0 8px;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.category-list-item:hover {
    background: linear-gradient(90deg, #f6ffed 0%, #ffffff 100%);
    border-left-color: #73d13d;
    transform: translateX(4px);
}

.category-list-item.active {
    background: linear-gradient(90deg, #e6fffb 0%, #f6ffed 100%);
    border-left-color: #52c41a;
    box-shadow: 0 3px 8px rgba(82, 196, 26, 0.15);
}

.category-list-item.active .item-text {
    color: #237804;
    font-weight: 600;
}

.category-list-item .item-icon {
    width: 32px;
    height: 32px;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #666;
    transition: all 0.3s ease;
}

.category-list-item .item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.category-list-item:hover .item-icon,
.category-list-item.active .item-icon {
    color: #52c41a;
    transform: scale(1.1);
}

.category-list-item .item-text {
    flex: 1;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.category-list-item .item-arrow {
    font-size: 12px;
    color: #ccc;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
}

.category-list-item:hover .item-arrow,
.category-list-item.active .item-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #52c41a;
}

/* 应用场景筛选（首页左侧「按场景找」） */
.scene-panel {
    border-top: 1px solid #f0f0f0;
    padding: 12px 0 10px;
}

.scene-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 22px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #595959;
}

.scene-reset {
    font-size: 12px;
    font-weight: 400;
    color: #8c8c8c;
    cursor: pointer;
    transition: color 0.25s ease;
}

.scene-reset:hover {
    color: #52c41a;
}

.scene-list {
    padding: 0 8px;
}

.scene-group {
    margin-bottom: 2px;
}

.scene-group-title {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.scene-group-title:hover {
    background: #f6ffed;
}

.scene-group-title.active {
    background: #f0f9f0;
}

.scene-group-title.active .scene-group-name {
    color: #237804;
    font-weight: 600;
}

.scene-group-name {
    flex: 1;
    font-size: 14px;
    color: #595959;
    transition: color 0.25s ease;
}

.scene-arrow {
    font-size: 12px;
    color: #bfbfbf;
    transition: all 0.25s ease;
}

.scene-group.expanded .scene-arrow {
    transform: rotate(90deg);
    color: #52c41a;
}

.scene-children {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 14px 8px;
}

.scene-group.expanded .scene-children {
    display: flex;
}

.scene-tag {
    font-size: 12px;
    line-height: 18px;
    padding: 2px 10px;
    border-radius: 10px;
    color: #3f8f24;
    cursor: pointer;
    white-space: nowrap;
    background: linear-gradient(135deg, #f5fcef 0%, #edf8e3 100%);
    box-shadow: inset 0 0 0 1px rgba(123, 201, 76, 0.26);
    transition: all 0.25s ease;
}

.scene-tag:hover {
    color: #237804;
    background: linear-gradient(135deg, #edf9e0 0%, #e2f4d3 100%);
    box-shadow: inset 0 0 0 1px rgba(82, 196, 26, 0.42), 0 2px 4px rgba(82, 196, 26, 0.14);
}

.scene-tag.active {
    color: #fff;
    background: linear-gradient(135deg, #73d13d 0%, #52c41a 100%);
    box-shadow: 0 2px 6px rgba(82, 196, 26, 0.32);
}

/* Content area */
.browse-content {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 1540px; /* 7列 * 240px + 6个间距 * 20px = 1800px, 减去侧边栏220px和间隙20px */
}

.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.current-category {
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
}

.item-count {
    font-size: 13px;
    color: #8c8c8c;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: auto;
}

/* Items grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 240px);
    gap: 20px;
    justify-content: start;
}

/* Responsive */
@media (max-width: 1400px) {
    .items-grid {
        grid-template-columns: repeat(auto-fill, 240px);
    }
    .category-browse .browse-content .items-grid {
        grid-template-columns: repeat(auto-fill, 220px);
    }
    .latest-section .browse-content .items-grid {
        grid-template-columns: repeat(auto-fill, 200px);
    }
}

@media (max-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(auto-fill, 240px);
    }
    .category-browse .browse-content .items-grid {
        grid-template-columns: repeat(auto-fill, 220px);
    }
    .latest-section .browse-content .items-grid {
        grid-template-columns: repeat(auto-fill, 200px);
    }
}

@media (max-width: 900px) {
    .browse-layout {
        flex-direction: column;
    }
    .browse-sidebar {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 16px;
    }
    .items-grid {
        grid-template-columns: repeat(auto-fill, 200px);
    }
    .category-browse .browse-content .items-grid {
        grid-template-columns: repeat(auto-fill, 200px);
    }
    .latest-section .browse-content .items-grid {
        grid-template-columns: repeat(auto-fill, 180px);
    }
    .category-list {
        display: flex;
        overflow-x: auto;
        padding: 8px;
        gap: 8px;
    }
    .category-list-item {
        flex-direction: column;
        padding: 12px 16px;
        border-left: none;
        border-radius: 8px;
        min-width: 80px;
        text-align: center;
        margin: 0;
    }
    .category-list-item.active {
        background: #f0f9ff;
        border-left: none;
    }
    .category-list-item .item-text {
        font-size: 12px;
        margin-top: 4px;
    }
    .category-list-item .item-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .browse-layout {
        padding: 12px;
    }
}

/* Item card */
.item-card {
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    width: 240px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(82, 196, 26, 0.15);
    border-color: #52c41a;
}

.item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.item-image-wrapper {
    position: relative !important;
    width: 240px !important;
    height: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    background: #f8f9fa !important;
    overflow: hidden !important;
    flex-shrink: 0;
    border-radius: 12px 12px 0 0;
}

.item-image {
    width: 240px !important;
    height: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease;
}

.item-card:hover .item-image {
    transform: scale(1.05);
}

.item-placeholder {
    width: 240px !important;
    height: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    background: #fafafa;
}

.item-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.item-badge.donate {
    background: linear-gradient(135deg, #ff4d4f, #ff6b6b);
    color: #fff;
}

.item-badge.sell {
    background: linear-gradient(135deg, #52c41a, #73d13d);
    color: #fff;
}

.item-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

/* 卡片场景标签（最多2个，超出显示 +N） */
.item-scene-tags {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: -2px 0 8px;
    overflow: hidden;
}

.item-scene-pill {
    flex-shrink: 1;
    min-width: 0;
    max-width: 108px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
    padding: 1px 8px;
    border-radius: 8px;
    letter-spacing: 0.2px;
    color: #2f8a1c;
    background: linear-gradient(135deg, #f3fceb 0%, #e9f8df 100%);
    box-shadow: inset 0 0 0 1px rgba(123, 201, 76, 0.28), 0 1px 2px rgba(82, 196, 26, 0.08);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* 标签前的绿色小圆点，增强识别度 */
.item-scene-pill::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #52c41a;
    margin-right: 4px;
    vertical-align: 1px;
    opacity: 0.85;
}

.item-scene-pill:hover {
    background: linear-gradient(135deg, #ebf9dd 0%, #ddf4cd 100%);
    box-shadow: inset 0 0 0 1px rgba(82, 196, 26, 0.45), 0 2px 4px rgba(82, 196, 26, 0.18);
    transform: translateY(-1px);
}

.item-scene-pill.more {
    flex-shrink: 0;
    max-width: none;
    padding: 1px 7px;
    font-weight: 400;
    color: #8c8c8c;
    background: #fafafa;
    box-shadow: inset 0 0 0 1px #ececec;
}

.item-scene-pill.more::before {
    display: none;
}

.item-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff4d4f;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.item-price.free {
    color: #52c41a;
    font-size: 16px;
}

.item-price.beans {
    color: #ffc107;
}

.item-price .price-symbol {
    font-size: 12px;
    font-weight: 600;
}

.item-price .price-value {
    font-size: 18px;
}

.item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: #999;
    padding-top: 8px;
    border-top: 1px solid #f5f5f5;
}

.item-community {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

.item-time {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Collection button */
.btn-collect {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #999;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-collect:hover {
    background: #fff;
    transform: scale(1.1);
}

.btn-collect.collected {
    color: #ff4d4f;
}

.btn-collect i {
    line-height: 1;
}

/* Load more */
.load-more-area {
    text-align: center;
    padding: 20px;
}

.load-more-btn {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    padding: 10px 30px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    border-color: #52c41a;
    color: #52c41a;
}

.no-more {
    color: #999;
    font-size: 14px;
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Latest section */
.latest-section {
    padding: 0;
    background: #f5f5f5;
    width: 100%;
    box-sizing: border-box;
}

.latest-section .browse-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 1760px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
    box-sizing: border-box;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
    margin: 0;
}

.view-more {
    font-size: 14px;
    color: #52c41a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-more:hover {
    color: #389e0d;
    text-decoration: underline;
}

/* Image upload */
.image-upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-upload-area:hover {
    border-color: #52c41a;
    background: #f6ffed;
}

/* Modal */
.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

/* Category selector */
.category-selector {
    position: relative;
}

/* Footer */
.footer {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

/* Category browse item width - 220px */
.category-browse .browse-content .items-grid {
    grid-template-columns: repeat(auto-fill, 220px);
}

.category-browse .browse-content .item-card {
    width: 220px !important;
}

.category-browse .browse-content .item-image-wrapper {
    width: 220px !important;
    height: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
}

.category-browse .browse-content .item-image {
    width: 220px !important;
    height: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
}

.category-browse .browse-content .item-placeholder {
    width: 220px !important;
    height: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
}

/* Latest section item width - 200px */
.latest-section .browse-content .items-grid {
    grid-template-columns: repeat(auto-fill, 200px);
    gap: 17px;
}

.latest-section .browse-content .item-card {
    width: 200px !important;
}

.latest-section .browse-content .item-image-wrapper {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
}

/* 滑块验证码样式 */
.slider-verify-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-verify-overlay.show {
    display: flex !important;
}

.slider-verify-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 48px;
    width: 440px;
    max-width: 90%;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10000;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.92); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.slider-verify-header {
    text-align: center;
    margin-bottom: 32px;
}

.verify-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease;
}

.verify-icon:hover {
    transform: scale(1.05);
}

.verify-icon svg {
    width: 32px;
    height: 32px;
}

.slider-verify-header h4 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.slider-verify-header p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.slider-verify-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-verify-close:hover {
    background: rgba(100, 116, 139, 0.2);
    color: #334155;
    transform: rotate(90deg) scale(1.1);
}

.slider-verify-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slider-verify-box.success {
    border-color: #22c55e;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.25);
}

.slider-verify-box.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.25);
}

.slider-verify-track {
    height: 60px;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.06);
}

.slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    width: 0;
    transition: width 0.1s linear;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.slider-target {
    position: absolute;
    left: auto;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
}

.slider-target svg {
    width: 24px;
    height: 24px;
}

.slider-target.highlight {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
        transform: translateY(-50%) scale(1);
    }
    50% { 
        box-shadow: 0 6px 24px rgba(34, 197, 94, 0.6);
        transform: translateY(-50%) scale(1.05);
    }
}

.slider-verify-thumb {
    position: absolute;
    left: 6px;
    top: 6px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(102, 126, 234, 0.2);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.slider-verify-thumb svg {
    width: 22px;
    height: 22px;
}

.slider-verify-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.22), 0 0 0 4px rgba(102, 126, 234, 0.3);
}

.slider-verify-thumb:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.slider-verify-thumb.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5);
}

.slider-verify-thumb.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
}

.slider-verify-tip {
    margin-top: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tip-icon {
    font-size: 16px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.tip-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.slider-verify-tip.success .tip-icon,
.slider-verify-tip.success .tip-text {
    color: #22c55e;
}

.slider-verify-tip.error .tip-icon,
.slider-verify-tip.error .tip-text {
    color: #ef4444;
}

.slider-verify-footer {
    margin-top: 24px;
    text-align: center;
}

.security-text {
    font-size: 12px;
    color: #94a3b8;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .slider-verify-container {
        padding: 32px 24px;
        width: 92%;
    }
    
    .verify-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }
    
    .slider-verify-header h4 {
        font-size: 20px;
    }
    
    .slider-verify-box {
        padding: 24px;
    }
    
    .slider-verify-track {
        height: 52px;
    }
    
    .slider-verify-thumb,
    .slider-target {
        width: 44px;
        height: 44px;
    }
}

.latest-section .browse-content .item-image {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
}

.latest-section .browse-content .item-placeholder {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
}
