/* お話の表紙（見本用）。暗い部屋でまぶしくないよう、絵ごとに決めた度合い（--dim）で暗くして出す */

/* 一覧のカード: 左に小さく */
.ob-story-card.has-cover { padding-left: 92px; min-height: 104px; box-sizing: border-box; }
.ob-card-cover {
    position: absolute;
    left: 14px;
    top: 12px;
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(var(--dim, 0.7));
}

/* えらぶ画面のカード */
.ob-next-story-card.has-cover { position: relative; padding-left: 96px; min-height: 104px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }

/* お話のページ: 題名 → 星のあしらい → 表紙 → 本文。
   あしらいを絵の下に置くと、横にめくれる絵のしるし（点）に見えるので、絵の上に置く */
.ob-story-cover { margin: -1.2em auto 2.6em; width: 62%; max-width: 250px; }
.ob-story-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    filter: brightness(var(--dim, 0.6));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
