/* ==========================================
   出演作品（デザイン刷新 Issue #331）
   A案：カードリスト＋種別タブ
   ========================================== */

.oshi-work-main{
    width:100%;
    max-width:1348px;
    margin:0;
    padding:6px 16px 40px;
    box-sizing:border-box;
}

.oshi-work-search-wrapper{
    padding:0;
    max-width:none;
    margin:0 0 16px;
}

.oshi-work-search-wrapper .search-area{
    margin:12px 0 0;
}

.oshi-work-search-wrapper .search-toggle-icon{
    display:inline-flex;
    align-items:center;
    color:var(--theme-primary);
}

/* 種別タブ（バーは固定、中身だけ横スライド） */
.oshi-work-tabs-scroll{
    margin-bottom:0;
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-radius:999px;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    overflow-x:auto;
    scrollbar-width:none;
    overscroll-behavior-x:contain;
}

.oshi-work-tabs-scroll::-webkit-scrollbar{
    display:none;
}

.oshi-work-tabs{
    display:flex;
    gap:5px;
    padding:5px;
    width:max-content;
    min-width:100%;
    box-sizing:border-box;
}

.oshi-work-tab{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:40px;
    padding:6px 10px;
    border:none;
    border-radius:999px;
    background:none;
    color:var(--theme-text-sub);
    font-family:inherit;
    font-size:13.5px;
    font-weight:bold;
    white-space:nowrap;
    cursor:pointer;
}

.oshi-work-tab .cnt{
    padding:2px 8px;
    border-radius:999px;
    background:var(--theme-blush);
    color:var(--theme-primary);
    font-size:11.5px;
}

.oshi-work-tab.is-active{
    background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));
    color:#fff;
}

.oshi-work-tab.is-active .cnt{
    background:rgba(255,255,255,.25);
    color:#fff;
}

/* 作品カード */
.oshi-work-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.oshi-work-card{
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    padding:20px 24px;
    box-sizing:border-box;
}

.oshi-work-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:8px;
    font-size:13px;
    color:var(--theme-text-sub);
}

.oshi-work-type{
    padding:3px 12px;
    border-radius:999px;
    background:var(--theme-blush);
    color:var(--theme-brand);
    font-size:12px;
    font-weight:bold;
}

.oshi-work-name{
    margin:0;
    font-size:18px;
    line-height:1.45;
    color:var(--theme-text);
}

.oshi-work-date{
    margin-top:6px;
    font-size:13px;
    color:var(--theme-text-muted);
}

.oshi-work-description{
    margin-top:8px;
    font-size:14px;
    line-height:1.6;
    color:var(--theme-text-sub);
    white-space:pre-line;
}

.oshi-work-link{
    display:inline-flex;
    align-items:center;
    margin-top:12px;
    min-height:36px;
    padding:0 16px;
    border-radius:999px;
    background:var(--theme-blush);
    color:var(--theme-brand);
    font-size:13px;
    font-weight:bold;
    text-decoration:none;
}

.oshi-work-filter-empty,
.oshi-empty{
    margin:0;
    padding:28px 20px;
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    color:var(--theme-text-sub);
    font-size:14px;
    text-align:center;
}

.oshi-work-filter-empty[hidden]{
    display:none;
}

@media(min-width:768px){
    .oshi-work-main{
        padding:6px 30px 48px;
    }

    .oshi-work-tab{
        min-height:44px;
        font-size:14.5px;
    }
}

@media(max-width:767px){
    .oshi-work-tab{
        min-height:40px;
        padding:6px 14px;
    }

    .oshi-work-card{
        padding:18px 20px;
    }

    .oshi-work-name{
        font-size:17px;
    }
}
