.storyStudyTabs{
    margin:22px 0 24px;
}

.storyStudyTabList{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
}

.storyStudyTabList.has-three{
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.storyStudyTab{
    display:flex;
    align-items:center;
    gap:11px;
    min-height:72px;
    padding:11px 14px;
    border:1px solid #e3d6b9;
    border-radius:13px;
    background:#fffdf7;
    color:#56452d;
    font:inherit;
    text-align:left;
    cursor:pointer;
    transition:border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.storyStudyTab:hover{
    border-color:#c99323;
    background:#fff8df;
    transform:translateY(-1px);
}

.storyStudyTab:focus-visible{
    outline:3px solid rgba(47,111,237,.24);
    outline-offset:2px;
}

.storyStudyTab > span:last-child{
    display:flex;
    min-width:0;
    flex-direction:column;
    gap:3px;
}

.storyStudyTab strong{
    color:inherit;
    font-size:16px;
    line-height:1.2;
}

.storyStudyTab small{
    color:#826e4e;
    font-size:12px;
    line-height:1.3;
}

.storyStudyTabNumber{
    display:grid;
    flex:0 0 36px;
    width:36px;
    height:36px;
    place-items:center;
    border-radius:50%;
    background:#eee7d7;
    color:#725a32;
    font-weight:800;
}

.storyStudyTab.is-active{
    border-color:#c58a17;
    background:#fff2bf;
    box-shadow:0 4px 14px rgba(135,91,7,.10);
    color:#553700;
}

.storyStudyTab.is-active .storyStudyTabNumber{
    background:#c98a11;
    color:#fff;
}

.storyStudyPanel[hidden]{
    display:none !important;
}

.storyStudyPanel:focus{
    outline:none;
}

.stage1ReadingExperience{
    margin-bottom:28px;
}

.stage1StoryReadingCast{
    display:grid;
    grid-template-columns:repeat(8, minmax(0, 1fr));
    gap:8px;
    margin:0 0 25px;
    padding:14px 12px 10px;
    border:1px solid #eadab5;
    border-radius:16px;
    background:linear-gradient(180deg,#fffaf0,#fff3cf);
    box-shadow:0 8px 22px rgba(63,45,19,.10);
}

.stage1StoryReadingCast figure{
    display:flex;
    min-width:0;
    margin:0;
    flex-direction:column;
    text-align:center;
}

.stage1StoryReadingCast img{
    display:block;
    width:100%;
    height:clamp(112px, 12vw, 145px);
    border-radius:10px;
    background:#ead7b5;
    object-fit:cover;
    object-position:center top;
}

.stage1StoryReadingCast figcaption{
    overflow:hidden;
    margin-top:3px;
    color:#624721;
    font-size:11px;
    font-weight:800;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media (max-width:700px){
    .storyStudyTabList{
        grid-template-columns:1fr;
        gap:7px;
    }

    .storyStudyTabList.has-three{
        grid-template-columns:1fr;
    }

    .storyStudyTab{
        min-height:62px;
        padding:9px 12px;
    }

    .storyStudyTabNumber{
        width:34px;
        height:34px;
        flex-basis:34px;
    }

    .stage1StoryReadingCast{
        grid-template-columns:repeat(4, minmax(0, 1fr));
        gap:7px;
        margin-bottom:18px;
        padding:10px 8px;
        border-radius:12px;
    }

    .stage1StoryReadingCast img{
        height:clamp(102px, 29vw, 138px);
        border-radius:8px;
    }
}
