.ptb-mine {
    padding: 10px 0 0px 0;
}

.portfolio-container {
    max-height: 90vh;
    overflow-y: auto;
}

.portfolio-menu.portfolio2-menu {
    margin: 0%;
}

/* 提升标题层级 */
.portfolio-title3 {
    z-index: 2;
}


/* 过滤器按钮样式 和 响应式切换 */
.mobile-filter {
    display: none;
    width: 200px;
    border: 2px solid #ddd;
    border-radius: 8px;
    appearance: none;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 1rem center/1em;
}

@media (max-width: 768px) {
    .pc-filter {
        display: none !important;
    }

    .mobile-filter {
        display: block;
    }
}

.site-footer {
    z-index: 9998;
}


/* ---------------------------------------------------------------------- */
/* ------------------------------- 模态框 ------------------------------- */
/* ---------------------------------------------------------------------- */
.art-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 228, 228, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.art-modal.active {
    opacity: 1;
    display: flex;
}

.modal-content {
    position: relative;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90vh;
    padding: 30px;
    animation: modalOpen 0.3s ease-out;
    overflow-y: auto;
}

@keyframes modalOpen {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-image-container {
    max-width: 800px;
    margin: 0 auto 20px;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff0000;
}

.artwork-info {
    text-align: center;
    color: #333;
}

.artwork-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.artwork-meta p {
    margin: 8px 0;
    /* font-size: 16px; */
    color: #666;
}

.artwork-description {
    margin-top: 15px;
    font-style: italic;
    color: #888;
}




/* ---------------------------------------------------------------------- */
/* -------------------------------- 滑块 -------------------------------- */
/* ---------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;500&display=swap');

.switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 40px;
    gap: 15px;
}

.filter-switch {
    --input-focus: #2d8cf0;
    --font-color: #323232;
    --font-color-sub: #666;
    --bg-color: #fff;
    --bg-color-alt: #666;
    --main-color: #323232;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 50px;
    height: 20px;
    margin: 20px;
}

.filter-toggle{
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-slider {
    box-sizing: border-box;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-colorcolor);
    transition: 0.3s;
    width: inherit;
    display: flex;
}

.filter-slider:before {
    box-sizing: border-box;
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    left: -2px;
    bottom: 2px;
    background-color: var(--bg-color);
    box-shadow: 0 3px 0 var(--main-color);
    transition: 0.3s;
}

/* 滑块动画 */
.filter-toggle:checked+.filter-slider {
    background-color: var(--input-focus);
}

.filter-toggle:checked+.filter-slider:before {
    transform: translateX(30px);
}

/* 状态标签字体设置 */
.status-label {
    position: absolute;
    top: calc(100% + 8px);
    font-family: 'Noto Sans SC', system-ui, sans-serif;
    /* 字体栈 */
    font-size: 11px;
    /* 基准字号 */
    font-weight: 500;
    /* 字重 */
    letter-spacing: 0.5px;
    /* 字间距 */
    color: var(--font-color-sub);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    /* 文字阴影 */
    white-space: nowrap;
    transition: 0.3s;
    opacity: 0;

    /* 抗锯齿优化 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 激活状态的文字强调 */
.filter-toggle:not(:checked)~.status-label.label-series,
.filter-toggle:checked~.status-label.label-time {
    font-weight: 500;
    /* 当前状态使用更粗的字重 */
    color: var(--font-color);
    /* 使用主文字颜色 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 未选中时显示"系列分类" */
.status-label.label-series {
    left: 50%;
    transform: translateX(-50%);
}

/* 选中时显示"时间分类" */
.status-label.label-time {
    right: 50%;
    transform: translateX(50%);
}

/* 标签显示逻辑 */
.filter-toggle:not(:checked)~.status-label.label-series,
.filter-toggle:checked~.status-label.label-time {
    opacity: 1;
}