.magic-reading {
    --story-ink: #233c33;
    --story-gold: #b89356;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
    color: var(--story-ink);
    overflow-wrap: anywhere;
}
.magic-reading-back {
    display: inline-block;
    font: 600 14px/1.5 system-ui, sans-serif;
    text-underline-offset: 4px;
}
.magic-reading-heading {
    text-align: center;
    max-width: 760px;
    margin: clamp(22px, 4vw, 42px) auto 26px;
}
.magic-reading-label {
    margin: 0 0 12px;
    color: #8b2837;
    font: 700 12px/1.5 system-ui, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.magic-reading-heading h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 53px);
    line-height: 1.07;
    text-wrap: balance;
}
.magic-reading-intro {
    max-width: 55ch;
    margin: 15px auto 0;
    color: #4f6259;
    font-size: clamp(16px, 2.3vw, 20px);
    line-height: 1.55;
    text-wrap: pretty;
}
.magic-reading-art {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto 22px;
    padding: clamp(4px, .7vw, 8px);
    border: 1px solid #d7c6a4;
    border-radius: 18px;
    background: #fffbf1;
    box-shadow: 0 8px 25px #31200c14;
}
.magic-reading-art img.storybook-hero {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 12px;
}
.magic-reading-paper {
    box-sizing: border-box;
    padding: clamp(22px, 5vw, 52px) clamp(18px, 6vw, 58px) 20px;
    border: 1px solid #e4d7bf;
    border-radius: 18px;
    background: #fffdf6;
}
.magic-reading-body {
    max-width: 63ch;
    margin-inline: auto;
    font-size: clamp(17px, 2.1vw, 20px);
    line-height: 1.78;
}
.magic-reading-body p { margin: 0 0 1.05em; }
.magic-reading-body p:last-child { margin-bottom: 0; }
.magic-reading-story > p:first-child::first-letter {
    float: left;
    margin: .07em .09em 0 0;
    color: #8b2837;
    font-weight: 700;
    font-size: 3em;
    line-height: .84;
}
.magic-reading-end { margin-top: 18px; text-align: center; color: var(--story-gold); }
.magic-reading-next {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 22px;
    margin: 26px auto 16px;
    text-align: center;
    font: 500 14px/1.5 system-ui, sans-serif;
}
@media (max-width: 550px) {
    .magic-reading-art, .magic-reading-paper { border-radius: 12px; }
    .magic-reading-art img.storybook-hero { border-radius: 7px; }
    .magic-reading-next { flex-direction: column; }
}
