/* ==========================
   推し情報TOP（Issue #331で刷新）
========================== */

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

.oshi-page{
    width:100%;
}

.oshi-section-title{
    display:flex;
    align-items:center;
    gap:8px;
    margin:24px 0 16px;
    color:var(--theme-heading);
    font-size:19px;
    font-weight:bold;
    line-height:1.4;
}

.oshi-section-title::before{
    content:"";
    flex:0 0 auto;
    width:5px;
    height:22px;
    border-radius:3px;
    background:linear-gradient(180deg,var(--theme-btn-from),var(--theme-primary));
}

.oshi-top-layout{
    display:flex;
    flex-direction:column;
    gap:24px;
    width:100%;
}

.oshi-top-main{
    min-width:0;
    width:100%;
}

.oshi-top-main .oshi-section-title:first-child{
    margin-top:8px;
}


/* ==========================
   プロフィール
========================== */

.oshi-profile{
    display:flex;
    align-items:flex-start;
    gap:24px;
    width:100%;
    padding:24px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
}

.oshi-profile-image{
    flex:0 0 168px;
    width:168px;
    height:168px;
    overflow:hidden;
    border-radius:16px;
    background:var(--theme-tint);
}

.oshi-profile-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.oshi-profile-body{
    flex:1;
    min-width:0;
}

.oshi-profile-body h2{
    margin:0;
    color:var(--theme-text);
    font-size:28px;
    font-weight:bold;
    line-height:1.4;
}

.oshi-profile-illustrator{
    margin:8px 0 0;
    color:var(--theme-text-muted);
    font-size:12px;
    line-height:1.5;
    word-break:break-word;
}

.oshi-profile-illustrator a{
    color:var(--theme-text-muted);
    text-decoration:none;
}

.oshi-profile-illustrator a:hover{
    text-decoration:underline;
}

.oshi-profile-message{
    margin:16px 0 0;
    color:var(--theme-text);
    font-size:16px;
    line-height:1.7;
    text-align:left;
    word-break:break-word;
}

.oshi-profile-source{
    margin-top:16px;
    color:var(--theme-text-muted);
    font-size:12px;
    line-height:1.6;
    word-break:break-all;
}

.oshi-profile-source a{
    color:var(--theme-brand);
    text-decoration:none;
}

.oshi-profile-source a:hover{
    text-decoration:underline;
}


/* ==========================
   基本データ（SPはスライダー、768px以上は3並び）
========================== */

.oshi-home-content{
    width:100%;
}

.oshi-basic-slider{
    display:flex;
    gap:16px;
    width:100%;
}

.oshi-basic-slide{
    min-width:0;
}

.oshi-info-card{
    width:100%;
    height:100%;
    min-height:216px;
    padding:24px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    text-align:left;
}

.oshi-info-card h2{
    margin:0 0 16px;
    color:var(--theme-brand);
    font-size:14px;
    font-weight:bold;
    line-height:1.4;
}

.oshi-date{
    margin:0;
    color:var(--theme-text);
    font-size:20px;
    font-weight:bold;
    line-height:1.4;
}

.oshi-age{
    margin:8px 0 0;
    color:var(--theme-text-sub);
    font-size:14px;
}

.oshi-countdown{
    margin:16px 0 0;
    color:var(--theme-text-sub);
    font-size:14px;
    line-height:1.7;
}

.oshi-countdown strong{
    display:inline-block;
    margin-left:4px;
    padding:4px 12px;
    border-radius:999px;
    background:var(--theme-blush);
    color:var(--theme-brand);
    font-size:13px;
    font-weight:bold;
}

.oshi-elapsed{
    margin:16px 0 0;
    color:var(--theme-text-sub);
    font-size:14px;
    line-height:1.7;
}

.oshi-elapsed strong{
    display:inline-block;
    color:var(--theme-brand);
    font-size:15px;
}

.oshi-total-days{
    margin:8px 0 0;
    color:var(--theme-text-muted);
    font-size:13px;
}

.oshi-anniversary-today{
    margin:16px 0 0;
    padding:16px;
    border-radius:12px;
    background:var(--theme-blush);
    color:var(--theme-brand);
    line-height:1.7;
}

.oshi-anniversary-icon{
    display:inline-block;
    margin-right:4px;
}

.oshi-anniversary-today strong{
    font-size:16px;
}

.oshi-anniversary-message{
    font-size:14px;
}

.oshi-basic-slider-dots{
    display:none;
}


/* ==========================
   公式リンク
========================== */

.oshi-social-section{
    width:100%;
}

.oshi-social-links{
    display:block;
    padding:8px 24px;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
}

.oshi-social-link{
    display:flex;
    align-items:center;
    gap:16px;
    min-height:56px;
    min-width:0;
    padding:8px 0;
    box-sizing:border-box;
    border-bottom:1px solid var(--theme-border-soft);
    color:var(--theme-text);
    text-decoration:none;
}

.oshi-social-link:last-child{
    border-bottom:none;
}

.oshi-social-link-icon{
    flex:0 0 40px;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:var(--theme-blush);
    color:var(--theme-text);
    font-size:18px;
    font-weight:bold;
}

.oshi-social-link-content{
    display:flex;
    flex-direction:column;
    min-width:0;
    flex:1;
}

.oshi-social-link-content strong{
    color:var(--theme-text);
    font-size:16px;
    line-height:1.4;
}

.oshi-social-link-content small{
    margin-top:2px;
    color:var(--theme-text-muted);
    font-size:13px;
    line-height:1.4;
    word-break:break-word;
}

.oshi-social-link-arrow{
    flex:0 0 auto;
    color:var(--theme-text-muted);
    font-size:14px;
}


/* ==========================
   現在放送中の出演作品
========================== */

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

.oshi-current-works-title{
    margin:0 0 8px;
    color:var(--theme-heading);
    font-size:17px;
    font-weight:bold;
    line-height:1.4;
}

.oshi-current-works-list{
    display:block;
}

.oshi-current-work-card{
    min-width:0;
    padding:16px 0;
    border-bottom:1px solid var(--theme-border-soft);
}

.oshi-current-work-card:last-child{
    border-bottom:none;
}

.oshi-current-work-name{
    color:var(--theme-text);
    font-size:16px;
    font-weight:bold;
    line-height:1.5;
    word-break:break-word;
}

.oshi-current-work-character{
    margin-top:4px;
    color:var(--theme-text-sub);
    font-size:14px;
    line-height:1.5;
}

.oshi-current-work-season{
    margin-top:4px;
    color:var(--theme-text-muted);
    font-size:13px;
    line-height:1.5;
}

.oshi-current-work-card a{
    display:inline-block;
    margin-top:8px;
    color:var(--theme-brand);
    font-size:13px;
    text-decoration:none;
}

.oshi-current-works-more{
    display:inline-block;
    margin-top:16px;
    color:var(--theme-brand);
    font-size:14px;
    font-weight:bold;
    text-decoration:none;
}


/* ==========================
   右列（出演作品＋出演情報のお知らせ）
========================== */

.oshi-top-side{
    display:flex;
    flex-direction:column;
    gap:24px;
    min-width:0;
    width:100%;
}

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

.oshi-news-title{
    margin:0 0 8px;
    color:var(--theme-heading);
    font-size:17px;
    font-weight:bold;
    line-height:1.4;
}

.oshi-news-list{
    margin:0;
    padding:0;
    list-style:none;
}

.oshi-news-list li{
    padding:12px 0;
    border-bottom:1px solid var(--theme-border-soft);
}

.oshi-news-list li:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.oshi-news-date{
    display:block;
    color:var(--theme-text-muted);
    font-size:12px;
    margin-bottom:2px;
}

.oshi-news-list a{
    color:var(--theme-text);
    font-size:14px;
    line-height:1.5;
    text-decoration:none;
    word-break:break-word;
}

.oshi-news-list a:hover{
    color:var(--theme-brand);
    text-decoration:underline;
}

@media(max-width:999px){
    .oshi-news-card{
        display:none;
    }
}


/* ==========================
   レスポンシブ
========================== */

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

    .oshi-section-title{
        font-size:21px;
    }

    .oshi-basic-slider{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(min-width:1000px){
    .oshi-top-layout{
        display:grid;
        grid-template-columns:minmax(0,1fr) 360px;
        align-items:start;
    }

    .oshi-top-layout-no-works{
        display:block;
    }
}

@media(max-width:767px){
    .oshi-profile{
        flex-direction:column;
        align-items:center;
        gap:16px;
        padding:24px 16px;
        text-align:center;
    }

    .oshi-profile-image{
        flex:0 0 144px;
        width:144px;
        height:144px;
    }

    .oshi-profile-body{
        width:100%;
    }

    .oshi-profile-body h2{
        font-size:24px;
    }

    .oshi-profile-message{
        text-align:left;
    }

    .oshi-profile-source{
        text-align:left;
    }

    .oshi-basic-slider{
        display:flex;
        gap:0;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        scroll-behavior:smooth;
        scrollbar-width:none;
    }

    .oshi-basic-slider::-webkit-scrollbar{
        display:none;
    }

    .oshi-basic-slide{
        flex:0 0 100%;
        width:100%;
        scroll-snap-align:start;
    }

    .oshi-info-card{
        min-height:216px;
        padding:16px;
    }

    .oshi-basic-slider-dots{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:8px;
        margin-top:16px;
    }

    .oshi-basic-slider-dot{
        position:relative;
        display:block;
        width:9px;
        height:9px;
        border-radius:50%;
        background:#9fd8f2;
        cursor:pointer;
        transition:background-color .2s ease,width .2s ease;
    }

    .oshi-basic-slider-dot::after{
        content:"";
        position:absolute;
        inset:-10px -6px;
    }

    .oshi-basic-slider-dot.active{
        width:22px;
        border-radius:999px;
        background:var(--theme-primary);
    }

    .oshi-social-links{
        padding:8px 16px;
    }

    .oshi-current-works{
        padding:16px;
    }
}

/* イラストレーター・公式リンクのブランドアイコン */
.oshi-profile-illustrator a{display:inline-flex;align-items:center;gap:4px}
.oshi-sns-icon{display:inline-block;width:13px;height:13px;flex:0 0 13px;vertical-align:-2px}
.oshi-x-icon{fill:currentColor}
.oshi-brand-icon{display:block;width:25px;height:25px;max-width:100%;max-height:100%}
.oshi-brand-x{fill:#111}.oshi-brand-instagram{color:#c13584}.oshi-brand-youtube{color:#ff0033}
.oshi-brand-web,.oshi-brand-home,.oshi-brand-music{color:var(--theme-brand)}
.oshi-brand-line{color:#06c755}.oshi-brand-tiktok{color:#111}
.oshi-social-link-icon{display:flex;align-items:center;justify-content:center}

.oshi-share{
    margin-top:16px;
    display:flex;
    justify-content:flex-end;
}

.oshi-share-button{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    padding:0 20px;
    border:none;
    border-radius:999px;
    background:#000;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
    font-family:inherit;
}

.oshi-share-button .x-brand-logo{
    width:15px;
    height:15px;
    display:block;
}
