 /* 核心变量定义 */
:root {
    --fastcut-gradient: linear-gradient(106deg, #aafc89 0%, #00f9e5 44%, #2d60ff 100%);
    --fastcut-border-radius: 8px;
}

/* 筛选容器 */
.fastcut-index-filter-bar {
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--fastcut-border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 筛选表单布局 */
.fastcut-index-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    align-items: end;
}

/* 输入控件 */
.fastcut-index-filter-input,
.fastcut-index-filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(170,252,137,0.3);
    border-radius: 6px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    transition: all 0.3s ease;
}

/* 聚焦状态 */
.fastcut-index-filter-input:focus,
.fastcut-index-filter-select:focus {
    border-image: var(--fastcut-gradient);
    border-image-slice: 1;
    box-shadow: 0 0 8px rgba(44,175,254,0.2);
}

.fastcut-index-filter-select option{
    background: #1d1d1d;
}

/* 提交按钮 */
.fastcut-index-filter-submit {
    background: var(--fastcut-gradient);
    color: #0e0f0f;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s;
    text-align:center;
}

/* 图片列表容器 */
.fastcut-index-gallery {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
}

/* 图片项 */
.fastcut-index-gallery-item {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: var(--fastcut-border-radius);
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

/* 图片样式 */
.fastcut-index-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 文字标签 */
.fastcut-index-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 交互效果 */
.fastcut-index-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .fastcut-index-filter-grid {
        grid-template-columns: 1fr;
    }
    .fastcut-index-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* 选项卡容器 */
.fastcut-index-tabbar {

}

.fastcut-index-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

/* 选项卡样式 */
.fastcut-index-tab {
    padding: 0.8rem 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: var(--fastcut-border-radius) var(--fastcut-border-radius) 0 0;
}

/* 选中状态 */
.fastcut-index-tab.active {
    background: rgba(255,255,255,0.05);
    border: 2px solid transparent;
    border-image: var(--fastcut-gradient);
    border-image-slice: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius:10px;
}

/* 悬浮效果 */
.fastcut-index-tab:not(.active):hover {
    background: rgba(170,252,137,0.1);
}



/* 移动端适配 */
@media (max-width: 768px) {
    .fastcut-index-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .fastcut-index-tab {
        width: 100%;
        border-radius: var(--fastcut-border-radius);
        text-align: center;
    }
}



/* 新增样式 */
.fastcut-index-gallery-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
}

.meta-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.title {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.style-tag {
    background: rgba(170,252,137,0.15);
    color: #aafc89;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    flex-shrink: 0;
}

.prompt-text {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .title {
        font-size: 13px;
    }
    
    .style-tag {
        font-size: 11px;
        padding: 1px 4px;
    }
    
    .prompt-text {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }
}

/* 风格角标 */
.style-corner {
    position: absolute;
    top: 0px;
    left: -8px;
    background: linear-gradient(45deg, #ff6b6b 0%, #ff4757 100%);
    color: #fff;
    padding: 2px 15px 2px 12px;
    border-radius: 0 5px 5px 0;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
}

.style-corner i {
    font-size: 14px;
    color: #fffc9a;
}

/* 提示词样式 */
.tips-hoverable {
    position: relative;
    margin-top: 8px;
}

.tips-preview {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: help;
}

.tips-full {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 110%;
    background: rgba(0,0,0,0.9);
    padding: 12px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 3;
    backdrop-filter: blur(2px);
}

.tips-hoverable:hover .tips-full {
    opacity: 1;
    visibility: visible;
}

.tips-content {
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .style-corner {
        font-size: 10px;
        padding: 4px 12px 4px 10px;
        left: -6px;
    }
    
    .tips-full {
        width: 130%;
        left: -15%;
    }
}