.mmh-book {
    --mmh-ink: #17364a;
    --mmh-teal: #32716e;
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 1rem auto;
    overflow: hidden;
    color: var(--mmh-ink);
    background: #fffdf8;
    border: 1px solid #d4dcd6;
    border-top: 4px solid var(--mmh-teal);
    border-radius: 1.15rem;
    box-shadow: 0 .35rem 1.3rem rgb(26 55 67 / 7%);
    text-align: center;
    font-family: inherit;
}
.mmh-book .mmh-book__page { padding: clamp(1.4rem, 4vw, 2.8rem) clamp(1.2rem, 6vw, 4rem); min-width: 0; }
.mmh-book .mmh-book__page + .mmh-book__page { border-top: 1px dashed #c2d1cb; }
.mmh-book.is-ready .mmh-book__pages { display: grid; }
.mmh-book.is-ready .mmh-book__page { grid-area: 1 / 1; border: 0; }
.mmh-book.is-ready .mmh-book__page[aria-hidden="true"] { visibility: hidden; }
.mmh-book .mmh-book__name {
    font-family: inherit;
    font-weight: 650;
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    color: var(--mmh-ink);
    margin: 0;
}
.mmh-book .mmh-book__wings { display: flex; gap: .65rem; align-items: center; justify-content: center; margin: .8rem 0 1.1rem; }
.mmh-book__wings::before, .mmh-book__wings::after {
    content: "";
    display: block;
    width: 2.2rem;
    height: .35rem;
    border-block: 1px solid #8ba7a0;
}
.mmh-book .mmh-book__badge { display: block; width: 4.5rem; height: 4.5rem; }
.mmh-book .mmh-book__quote {
    max-width: 80ch;
    margin: 0 auto;
    padding: 0;
    border: 0;
    color: var(--mmh-ink);
    font: normal clamp(1.08rem, 2.2vw, 1.36rem)/1.55 Georgia, 'Times New Roman', serif;
    text-align: center;
}
.mmh-book .mmh-book__quote::before, .mmh-book .mmh-book__quote::after { content: none; }
.mmh-book .mmh-book__quote p { margin: 0; color: inherit; font: inherit; white-space: pre-line; overflow-wrap: anywhere; }
.mmh-book .mmh-book__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    padding: .5rem 1rem;
    background: #f3f6f1;
    border-top: 1px dashed #aabdb4;
}
.mmh-book [hidden] { display: none !important; }
.mmh-book .mmh-book__controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: .35rem;
    border: 1px solid transparent;
    border-radius: .5rem;
    color: var(--mmh-ink);
    background: transparent;
    cursor: pointer;
    font: 600 .87rem/1.2 system-ui, sans-serif;
    text-transform: none;
}
.mmh-book .mmh-book__controls button:hover { background: #e0eae2; }
.mmh-book .mmh-book__controls button:focus-visible { outline: 2px solid var(--mmh-teal); outline-offset: 1px; }
.mmh-book .mmh-book__controls .mmh-book__motion { min-width: 4.4rem; }
.mmh-book__turn svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mmh-book__count { font: 500 .82rem/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.mmh-book__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (prefers-reduced-motion: no-preference) {
    .mmh-book.is-ready .mmh-book__page[aria-hidden="false"] { animation: mmh-book-appear .3s ease-out; }
    @keyframes mmh-book-appear { from { opacity: .35; } to { opacity: 1; } }
}

.mmh-book .mmh-book__more summary {
    cursor: pointer;
    color: var(--mmh-teal);
    padding: .65rem 0 .25rem;
    font: 600 .88rem/1.5 system-ui, sans-serif;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.mmh-book .mmh-book__more[open] p { margin-top: .65rem; }
