.show-main {
    padding: 16px 0 48px;
    background: var(--bg-light);
    min-height: 60vh;
}

.show-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== 筛选条件列（widget/vod_show_filter、widget/actor_show_filter 共用样式）===== */
.show-filter-wrap {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 4px 16px;
    margin-bottom: 14px;
    overflow: hidden;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #7b7a7a;
    white-space: nowrap;
    padding: 3px 10px;
    margin-right: 12px;
    min-width: 36px;
    border-radius: 20px;
    flex-shrink: 0;
}

.filter-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    flex: 1;
}

.filter-opt {
    font-size: 12px;
    color: var(--text-light);
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.15s;
    white-space: nowrap;
}

.filter-opt:hover {
    color: var(--accent);
    background: var(--accent-light);
    border-color: var(--accent);
}

.filter-opt.active {
    color: var(--accent);
    background: var(--accent-light);
    border-color: var(--accent);
    font-weight: 600;
}

/* ===== 结果标题列 ===== */
.show-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 2px;
}

.show-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.srb-sep {
    color: var(--border-mid);
}

.srb-current {
    color: var(--text);
    font-weight: 500;
}

/* ===== 列表 + result bar 容器（flex column，用 order 讓 bar 視覺上在上方）===== */
.show-list-wrap {
  display: flex;
  flex-direction: column;
}
.show-list-wrap .show-result-bar    { order: 1; }
.show-list-wrap .actor-grid         { order: 2; }
.show-list-wrap .vod-card-show-grid { order: 2; }
.show-list-wrap .pagination-wrap    { order: 3; }

/* ===== 结果标题列 ===== */
.show-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 4px 2px;
}
.show-sort-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
}
.show-sort-tab {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.15s;
}
.show-sort-tab:hover { color: var(--accent); }
.show-sort-tab.active {
  color: var(--accent);
  font-weight: 700;
}
.show-total {
  font-size: 13px;
  color: var(--text-muted);
}
.show-total em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* ===== 影片 Grid ===== */
.show-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 0 0 20px;
    padding: 0;
}

/* 卡片本身样式统一改用 widget/vod_card.html + main.css 的 .vod-card，
   此处仅保留 .show-grid 网格容器（栏数/间距）设定 */

/* ===== 分页 ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
}

.page-btn,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg-white);
    border: 1px solid var(--border-mid);
    transition: all 0.15s;
    padding: 0 10px;
}

.page-btn:hover,
.page-num:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.page-num.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.page-ellipsis {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0 4px;
}

/* ===== 已选 Bar（sub-toolbar 内，卷动后显示）===== */

/* ssb-inner：预设高度 0，overflow hidden，平滑展开 */
.ssb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* 和 sub-toolbar-inner 同样的左右 padding */
    padding: 0 20px;
    height: 0;
    overflow: hidden;
    border-top: 0 solid var(--border);
    transition: height 0.2s ease, border-top-width 0.2s ease;
    background: var(--bg-white);
    max-width: var(--max-w);
    margin: 0 auto;
}

/* 卷过筛选区后展开 */
.ssb-inner.ssb-visible {
    height: 38px;
    border-top-width: 1px;
}

.ssb-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}

.ssb-tags::-webkit-scrollbar {
    display: none;
}

.ssb-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.ssb-tag {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.reset-filter-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 12px;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.reset-filter-btn iconify-icon {
    font-size: 13px;
}

.reset-filter-btn:hover {
    background: var(--accent);
    color: #fff;
}

.ssb-sep {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ssb-reset {
    font-size: 12px;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ssb-reset:hover {
    background: var(--accent);
    color: #fff;
}

/* ===== RWD ===== */

/* 平板 5栏 */
@media (max-width: 1024px) {
    .show-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
}

/* 手机 */
@media (max-width: 767px) {
    .show-main {
        padding: 10px 0 68px;
    }

    .show-container {
        padding: 0 10px;
    }

    /* 筛选外框：手机缩小 padding */
    .show-filter-wrap {
        padding: 0 10px;
    }

    /* label：圆角深色胶囊，固定宽度 */
    .filter-label {
        flex-shrink: 0;
        color: #fff;
        background: #7b7a7a;
        border-radius: 20px;
        margin-right: 8px;
        min-width: auto;
        white-space: nowrap;
    }

    /* 选项区：置左，横向卷动，不换行 */
    .filter-options {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        /* 确保从左边开始 */
        justify-content: flex-start;
        padding-bottom: 2px;
    }

    .filter-options::-webkit-scrollbar {
        display: none;
    }

    .filter-opt {
        flex-shrink: 0;
        font-size: 12px;
        padding: 3px 10px;
    }

    /* ssb-inner 手机版 padding 对应手机 sub-toolbar-inner */
    .ssb-inner {
        padding: 0 12px;
    }

    .ssb-inner.ssb-visible {
        height: 36px;
    }

    /* Grid 3栏 */
    .show-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    /* 结果标题 */
    .show-breadcrumb {
        font-size: 12px;
        gap: 4px;
    }

    /* 分页 */
    .page-btn,
    .page-num {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* 小手机 2栏 */
@media (max-width: 360px) {
    .show-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
