/* Combo页面专用样式 - 专业版本 */

/* 重置容器限制 - 让.container统一管理padding */

/* combo-creator基础样式 - 恢复卡片效果作为统一设计 */
.combo-creator {
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: visible;
    max-width: 100%;
}

/* combo页面header内部间距 - 现在使用统一的.header类 */
.combo-creator .header {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

/* combo-builder内部间距 */
.combo-builder {
    padding: 1.5rem;
}

/* 表情选择器容器约束 */
.emoji-selector {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Combo专用Emoji网格布局 - 智能动态调整 */
.combo-emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 120px));
    gap: 12px;
    margin: 2rem 0;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

/* Combo专用Emoji项目样式 - 专业设计 */
.combo-emoji-grid .emoji-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    aspect-ratio: 1;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: unset;
    width: auto;
}

.combo-emoji-grid .emoji-item:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

/* Combo专用Emoji图片样式 */
.combo-emoji-grid .emoji-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Combo专用Emoji代码文字样式 */
.combo-emoji-grid .emoji-item .emoji-code {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    padding: 0 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式断点 - 智能调整 */
@media (max-width: 1400px) {
    .combo-emoji-grid {
        grid-template-columns: repeat(auto-fit, minmax(75px, 110px));
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .combo-emoji-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 100px));
        gap: 8px;
    }
    
    .combo-emoji-grid .emoji-item {
        padding: 10px 6px;
    }
    
    .combo-emoji-grid .emoji-item img {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 768px) {
    .combo-emoji-grid {
        grid-template-columns: repeat(auto-fit, minmax(65px, 90px));
        gap: 6px;
    }
    
    .combo-emoji-grid .emoji-item {
        padding: 8px 5px;
        gap: 6px;
    }
    
    .combo-emoji-grid .emoji-item img {
        width: 24px;
        height: 24px;
    }
    
    .combo-emoji-grid .emoji-item .emoji-code {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .combo-emoji-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 80px));
        gap: 4px;
    }
    
    .combo-emoji-grid .emoji-item {
        padding: 6px 4px;
        gap: 4px;
    }
    
    .combo-emoji-grid .emoji-item img {
        width: 22px;
        height: 22px;
    }
    
    .combo-emoji-grid .emoji-item .emoji-code {
        font-size: 9px;
    }
}

/* Popular combos section - 与combo-creator保持一致的卡片样式 */
.popular-combos {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
} 