.mh-gallery-design {
    --edge: clamp(1rem, 2.1vw, 2rem);
}
.mh-gallery-design h1 { overflow-wrap: anywhere; }
.mh-hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.mh-hero-links .mh-random-status { flex-basis: 100%; }
.mh-hero-links .mh-random-status:empty { display: none; }
.mh-home .mh-surprise {
    min-height: 44px;
    padding: .45rem .9rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    background: var(--paper);
    color: var(--deep-teal);
    font: inherit;
    font-size: .88rem;
    cursor: pointer;
}
.mh-surprise .mh-icon { color: var(--clay); }
.mh-surprise:hover { border-color: var(--teal); }
.mh-surprise:disabled { opacity: .7; cursor: wait; }
.mh-gallery-tools { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.mh-gallery-nav { display: flex; gap: .4rem; }
.mh-home .mh-gallery-nav button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font: 1.25rem/1 system-ui, sans-serif;
    background: var(--white);
    color: var(--deep-teal);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
}
.mh-home .mh-gallery-nav button:not(:disabled):hover { background: var(--deep-teal); color: var(--white); border-color: var(--deep-teal); }
.mh-home .mh-gallery-nav button:disabled { opacity: .45; cursor: default; }
.mh-gallery-design .mh-gallery {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3.5rem) / 3.3);
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--paper);
    padding: .45rem .35rem 1.3rem;
}
.mh-gallery-design .mh-gallery a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: .75rem;
    box-shadow: 0 3px 8px #1a191824, 0 10px 18px #1a191811;
    transition: box-shadow .22s ease, transform .22s ease;
}
.mh-gallery-design .mh-gallery a:is(:hover, :focus-visible) { transform: translateY(-4px); box-shadow: 0 5px 12px #1a191827, 0 14px 22px #1a191819; }
.mh-gallery-design .mh-collection-cover { aspect-ratio: 16 / 11; background: var(--paper); overflow: hidden; }
.mh-gallery-design .mh-collection-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; transition: transform .24s ease; }
.mh-gallery-design .mh-gallery a:hover img { transform: scale(1.035); }
.mh-gallery-design .mh-gallery span { flex: 1; min-height: 4.4rem; overflow-wrap: anywhere; }
.mh-gallery-design .mh-gallery a:focus-visible { outline-offset: -3px; }
.mh-gallery-design .mh-articles { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.mh-gallery-design .mh-feature { grid-row: auto; }
.mh-article-list .mh-article:not(.mh-feature) {
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    gap: clamp(.7rem, 2vw, 1.4rem);
    padding-block: .85rem;
    align-items: center;
    border-top: 0;
    border-bottom: 1px solid var(--line);
}
.mh-article-list .mh-article:not(.mh-feature):first-child { padding-top: 0; }
.mh-article-list .mh-article-image { aspect-ratio: 4/3; }
.mh-article-list .mh-article h3 { font-size: clamp(1.06rem, 1.62vw, 1.6rem); line-height: 1.22; }
.mh-gallery-design .mh-daily-image {
    --frame-base: #6f4a33;
    --frame-edge: #ad805a;
    --frame-dark: #3b281d;
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    padding: clamp(.75rem, 2.05vw, 1.7rem);
    border: 1px solid var(--frame-dark);
    background: linear-gradient(145deg, var(--frame-edge), var(--frame-base) 25%, var(--frame-dark) 50%, var(--frame-base) 76%, var(--frame-edge));
    box-shadow: inset 0 0 0 3px var(--frame-base), inset 0 0 0 5px var(--frame-edge), inset 0 0 0 8px var(--frame-dark),
        0 12px 28px #1a191829;
}
.mh-gallery-design .mh-frame-oak { --frame-base: #a67a4b; --frame-edge: #ceab7b; --frame-dark: #745333; }
.mh-gallery-design .mh-daily-image img {
    width: auto;
    max-width: 100%;
    max-height: 500px;
    height: auto;
    padding: clamp(.45rem, 1.5vw, 1.3rem);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line), 0 0 0 1px var(--frame-dark);
}
.mh-daily-description {
    max-block-size: 15rem;
    overflow-y: auto;
    margin-block: 1rem;
    padding-inline-end: .75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--line);
    overflow-wrap: anywhere;
}
.mh-gallery-design .mh-daily-description p { margin: 0 0 .8rem; }
.mh-gallery-design .mh-daily-description p:last-child { margin-bottom: 0; }
.mh-books { background: var(--mh-surface, var(--paper)); }
.mh-books + .mh-podcast { padding-top: 0; }
.mh-bookcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.9rem, 2.3vw, 2rem);
}
.mh-book {
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    min-width: 0;
    padding: clamp(1rem, 2.6vw, 2.3rem);
    border: 1px solid var(--line);
    border-radius: .7rem;
    background: var(--white);
    overflow-wrap: anywhere;
}
.mh-book-name { display: grid; align-items: center; gap: .7rem; font: 400 clamp(1.35rem, 2.5vw, 2.65rem)/1.1 var(--display); }
.mh-book-name .mh-icon { color: var(--deep-teal); }
.mh-book-jacket {
    display: block;
    position: relative;
    width: 100%;
    max-width: 175px;
    aspect-ratio: 2/3;
    border-radius: .15rem .35rem .35rem .15rem;
    border-left: .35rem solid var(--deep-teal);
    background: var(--teal);
    box-shadow: 5px 3px 0 -2px var(--white), 6px 4px 0 -2px var(--line), 0 14px 18px #1a191822;
    transition: transform .2s ease;
}
.mh-book-jacket img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--white); border-radius: inherit; }
.mh-book:hover .mh-book-jacket { transform: translateY(-4px); }
.mh-podcast-art { margin-bottom: 1.25rem; border-radius: .4rem 2.5rem .4rem .4rem; overflow: hidden; }
.mh-podcast-art img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.mh-gallery-design .mh-kids { grid-template-columns: 1.13fr 1fr; margin-block: clamp(2.75rem, 6vw, 6rem) 0; align-items: center; }
.mh-gallery-design .mh-kids-art { min-height: 0; background: var(--paper); }
.mh-gallery-design .mh-kids-art img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.mh-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.mh-action { display: flex; gap: var(--edge); align-items: start; background: var(--paper); border-radius: .5rem; padding: var(--edge); border-top: 3px solid var(--teal); }
.mh-action-writer { border-color: var(--clay); }
.mh-action .mh-action-mark {
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--deep-teal);
    font-size: 1.4rem;
}
.mh-action-writer .mh-action-mark { color: var(--clay); }
.mh-home .mh-action h2 { font-size: clamp(1.55rem, 2.7vw, 2.5rem); line-height: 1.1; }
.mh-action p { margin: .6rem 0 .75rem; }
@media (max-width: 1000px) {
    .mh-gallery-design .mh-gallery { grid-auto-columns: 37%; }
}
@media (max-width: 760px) {
    .mh-gallery-design .mh-gallery { grid-auto-columns: 72%; }
    .mh-gallery-design .mh-articles, .mh-gallery-design .mh-kids { grid-template-columns: minmax(0, 1fr); }
    .mh-article-list .mh-article h3 { font-size: clamp(1.04rem, 4.4vw, 1.4rem); }
    .mh-gallery-design .mh-daily-image img { max-height: 370px; }
    .mh-bookcase { grid-template-columns: minmax(0, 1fr); }
    .mh-book { grid-template-columns: minmax(0, 28%) minmax(0, 1fr); }
}

.mh-gallery-design .mh-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 1.05em;
    height: 1.05em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.17em;
}
.mh-gallery-design :is(.mh-link, .mh-advanced, .mh-surprise, .mh-search button) {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.mh-gallery-design .mh-search {
    border-radius: 2rem;
    padding: .32rem;
}
.mh-gallery-design .mh-search:focus-within { border-color: var(--teal); box-shadow: 0 3px 12px #1785821f; }
.mh-gallery-design .mh-search button {
    justify-content: center;
    inline-size: 46px;
    block-size: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 50%;
    background: #e7f0ee;
    color: var(--deep-teal);
}
.mh-gallery-design .mh-search button:hover { background: var(--deep-teal); color: var(--white); }
.mh-gallery-design .mh-search button .mh-icon { width: 1.32rem; height: 1.32rem; }
.mh-gallery-design .mh-search select { border-radius: 1.6rem; }
.mh-gallery-design .mh-gallery-nav button .mh-icon { width: 1.15rem; height: 1.15rem; }
.mh-gallery-design .mh-action-mark { font-size: 1.28rem; }
.mh-gallery-design .mh-gallery span .mh-icon { color: var(--clay); margin-top: .12em; }
.mh-gallery-design .mh-hero { background: var(--mh-surface, transparent); padding-block: clamp(1.35rem, 2.8vw, 3rem); }
.mh-gallery-design .mh-collections { background: var(--mh-surface, var(--paper)); }
.mh-gallery-design #mh-editorial { background: var(--mh-surface, var(--white)); }
.mh-gallery-design .mh-daily { background: var(--mh-surface, var(--paper)); }
.mh-gallery-design .mh-podcast { background: var(--mh-surface, #edf4f2); }
.mh-gallery-design .mh-kids { background: var(--mh-surface, var(--paper)); }
.mh-gallery-design .mh-actions { background: var(--mh-surface, var(--white)); }
.mh-gallery-design .mh-action { background: var(--mh-card-surface, var(--paper)); }
.mh-gallery-design :is(.mh-collections, #mh-editorial, .mh-podcast, .mh-actions)[style] { padding-inline: var(--edge); }
.mh-gallery-design .mh-collections { width: 100%; padding: 0; border-radius: 0; }
.mh-gallery-design .mh-collections[style] { padding-inline: 0; }
.mh-gallery-design .mh-collections .mh-shell { position: relative; isolation: isolate; }
.mh-gallery-design .mh-gallery { cursor: grab; }
.mh-gallery-design .mh-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.mh-gallery-design .mh-gallery.is-dragging a { cursor: grabbing; pointer-events: none; }
.mh-gallery-design .mh-collections + .mh-shell { padding-top: clamp(3rem, 6vw, 6rem); }
.mh-gallery-design :is(.mh-collections, #mh-editorial, .mh-daily-grid, .mh-books > .mh-shell, .mh-podcast, .mh-kids-copy, .mh-actions) {
    position: relative;
    isolation: isolate;
}
.mh-motif {
    display: block;
    position: absolute;
    inset: .7rem 7% auto auto;
    width: clamp(5rem, 12vw, 10rem);
    aspect-ratio: 16 / 9;
    color: var(--deep-teal);
    opacity: .22;
    z-index: -1;
    pointer-events: none;
}
.mh-gallery-design .mh-motif :is(.mh-icon, img) { width: 100%; height: 100%; object-fit: contain; }
.mh-gallery-design .mh-motif .mh-icon { stroke-width: 1.1; }
.mh-motif-articles { color: var(--clay); inset-inline-end: 28%; }
.mh-motif-daily { inset: 6% 3% auto auto; color: var(--clay); }
.mh-motif-books { inset-inline-end: 24%; }
.mh-motif-podcast { inset: auto auto 1.5% 3%; color: var(--clay); }
.mh-motif-kids { inset: .4rem 1rem auto auto; color: var(--clay); }
.mh-motif-actions { inset: 1% 15% auto auto; }
.mh-gallery-design { overflow-x: clip; background: transparent; }
.mh-gallery-sections { display: flow-root; background: var(--white); }
.mirasium-gallery-front #main-container {
    isolation: isolate;
    --mh-atmosphere-end: clamp(36rem, calc(76svh + 120px), 55rem);
}
.mirasium-gallery-front #main-container::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: var(--mh-atmosphere-end);
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, #f8f7f0 0, #f8f7f0d9 90px, transparent 265px),
        radial-gradient(ellipse 72% 79% at 100% 44%, #0d4540 3%, #0d5c5aef 24%, #206657ad 41%, transparent 65%),
        radial-gradient(ellipse at 97% 79%, #dcc79b 6%, #eee5cfa8 29%, transparent 67%);
    mask-image: linear-gradient(#000 0 76%, transparent 100%);
}
.mirasium-gallery-front #header [data-row] { background: transparent; }
.mh-gallery-design .mh-hero {
    position: relative;
    isolation: isolate;
}
.mh-gallery-design .mh-hero-inner { position: relative; z-index: 2; }
.mh-gallery-design .mh-hero-figure {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 1.2rem;
    min-height: clamp(390px, 57svh, 600px);
    padding: 1.4rem clamp(.55rem, 2vw, 1.8rem);
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
.mh-gallery-design .mh-gallery-veil {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -7%;
    width: auto;
    max-width: min(81%, 550px);
    max-height: 94%;
    height: auto;
    transform: translateY(-50%) rotate(-9deg);
    pointer-events: none;
}
.mh-gallery-design .mh-motif-hero {
    z-index: -1;
    inset: 0 -1% auto auto;
    width: 68%;
    aspect-ratio: 1;
    opacity: .75;
}
.mh-gallery-design .mh-hero-art {
    position: relative;
    isolation: isolate;
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: clamp(.38rem, 1vw, .8rem);
    filter: drop-shadow(0 21px 18px #15231b57) drop-shadow(0 4px 5px #271b1840);
    transition: transform .3s ease, filter .3s ease;
}
.mh-gallery-design .mh-hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(120deg, #faf1dc, #e4d3ae 63%, #f8ebd0);
    clip-path: polygon(0.8% 1.2%, 7% .5%, 13% .9%, 23% .1%, 34% .8%, 51% .3%, 63% 1%, 71% .2%, 82% .6%, 94% .1%, 99.5% 1%, 99% 12%, 100% 29%, 99.2% 49%, 99.8% 61%, 99.1% 80%, 99.8% 97%, 96% 99.2%, 84% 98.8%, 72% 99.6%, 61% 98.8%, 48% 100%, 36% 99%, 22% 99.6%, 15% 99%, 3% 99.8%, 0 98%, .7% 85%, 0 74%, .8% 57%, 0 41%, .7% 28%, .1% 13%);
}
.mh-gallery-design .mh-hero-art:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 25px 24px #15231b62) drop-shadow(0 3px 4px #271b1840);
}
.mh-gallery-design .mh-hero-art img {
    position: static;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: clamp(16rem, min(49svh, 31vw), 30rem);
    object-fit: contain;
}
.mh-gallery-design .mh-hero-figure .mh-curation {
    position: relative;
    inset: auto;
    justify-self: start;
    margin-inline-start: clamp(0rem, 4vw, 3rem);
    max-width: min(100%, 32rem);
    padding: .52rem 1rem;
    border-inline-start: 1px solid #95704a;
    background: linear-gradient(90deg, #f9f5e9ef 18%, #f9f5e9d9 85%, #f9f5e9ba);
    color: var(--ink);
    text-align: start;
    border-radius: 0;
}
.mh-curation .mh-kicker { color: var(--deep-teal); font-size: .68rem; }
.mh-gallery-design .mh-hero-figure .mh-credit {
    display: block;
    max-width: none;
    padding: .16rem 0 .25rem;
    background: transparent;
    text-align: start;
    color: var(--ink);
    font: 400 clamp(1.24rem, 2.23vw, 2.25rem)/1.1 var(--display);
    text-decoration: none;
}
.mh-gallery-design .mh-hero-figure .mh-credit:hover { text-decoration: underline; text-underline-offset: .2em; }
.mh-curation-meta { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.mh-curation-meta:empty { display: none; }
.mh-book { grid-template-columns: minmax(0, 36%) minmax(0, 1fr) auto; }
.mh-book-author { color: var(--deep-teal); font: 650 .94rem/1.3 system-ui, sans-serif; }
.mh-book-category { color: var(--muted); font: .86rem/1.5 system-ui, sans-serif; }
.mh-gallery-design .mh-podcast {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}
.mh-podcast-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.6rem, 6vw, 6rem); align-items: start; position: relative; isolation: isolate; }
.mh-podcast-panel .mh-motif-podcast { inset: auto auto 7% 3%; width: 8rem; }
.mh-gallery-design :is(.mh-motif-collections, .mh-motif-podcast) { opacity: .66; }
.mh-gallery-design .mh-podcast-intro { padding-top: .8rem; }
.mh-podcast-intro .mh-podcast-art { max-width: 200px; border-radius: .4rem; }
.mh-audio-player { border: 1px solid #c6d9d4; border-radius: .85rem; overflow: hidden; background: var(--white); }
.mh-audio-current { padding: clamp(1rem, 2.5vw, 2rem); }
.mh-audio-current .mh-kicker { color: var(--deep-teal); }
.mh-audio-heading { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.4rem); margin-bottom: 1.2rem; }
.mh-audio-cover { display: block; flex: 0 0 auto; width: clamp(64px, 8vw, 108px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .48rem; box-shadow: 0 7px 16px #0b3e331c; }
.mh-audio-current h3 { font: 400 clamp(1.25rem, 2.1vw, 2.15rem)/1.15 var(--display); margin: .45rem 0 0; }
.mh-audio-current audio { width: 100%; }
.mh-audio-controls { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; }
.mh-home .mh-play-toggle { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: var(--deep-teal); color: var(--white); cursor: pointer; }
.mh-home .mh-play-toggle .mh-icon { width: 1.55rem; height: 1.55rem; }
.mh-play-toggle:not([data-playing="true"]) .mh-icon:last-child, .mh-play-toggle[data-playing="true"] .mh-icon:first-child { display: none; }
.mh-audio-timeline input { display: block; width: 100%; margin: .2rem 0; accent-color: var(--deep-teal); }
.mh-audio-timeline > div { display: flex; justify-content: space-between; font-size: .76rem; font-variant-numeric: tabular-nums; }
.mh-home .mh-audio-status { margin: .55rem 0 0; font-size: .85rem; }
.mh-audio-status:empty { display: none; }
.mh-episode-list { list-style: none; padding: 0; margin: 0; }
.mh-episode-list li { margin: 0; border-top: 1px solid #d9e4e1; }
.mh-episode-list a { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .8rem clamp(.8rem, 2.5vw, 2rem); }
.mh-episode-list a:is(:hover, [aria-current]) { color: var(--deep-teal); background: #edf4f2; }
.mh-episode-list a:focus-visible { outline-offset: -3px; }
.mh-episode-title { font-weight: 620; overflow-wrap: anywhere; }
.mh-episode-play { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #c6d9d4; border-radius: 50%; color: var(--deep-teal); }
.mh-episode-list time { font-size: .76rem; white-space: nowrap; }
@media (max-width: 760px) {
    .mirasium-gallery-front #main-container { --mh-atmosphere-end: 55rem; }
    .mirasium-gallery-front #main-container::before {
        background:
            linear-gradient(180deg, #f8f7f0 0, #fff 125px 37%, transparent 56%),
            radial-gradient(ellipse at 102% 71%, #205e50 0, #33716591 28%, transparent 61%),
            radial-gradient(ellipse at 51% 92%, #e6d6b4 0, transparent 64%);
    }
    .mh-gallery-design .mh-hero { gap: 1.5rem; padding-block: 2rem 2.65rem; }
    .mh-gallery-design .mh-hero-inner { width: 100%; min-width: 0; }
    .mh-gallery-design .mh-search-wrap { margin-block: 1.3rem .85rem; }
    .mh-gallery-design .mh-search {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .3rem;
        padding: .45rem;
    }
    .mh-gallery-design .mh-search select {
        grid-column: 1 / -1;
        width: auto;
        min-height: 38px;
        justify-self: start;
    }
    .mh-gallery-design .mh-search input { width: 100%; padding-inline: .55rem; }
    .mh-gallery-design .mh-results { position: static; margin-top: .55rem; max-height: min(43dvh, 19rem); }
    .mh-gallery-design .mh-hero-figure { min-height: 0; aspect-ratio: auto; padding: .45rem .75rem .2rem; gap: .8rem; }
    .mh-gallery-design .mh-hero-figure .mh-curation { margin-inline-start: 0; }
    .mh-gallery-design .mh-hero-art img { max-height: min(20rem, 68vw); }
    .mh-gallery-design .mh-gallery-veil { right: -3%; max-width: min(78%, 420px); opacity: .8; }
    .mh-gallery-design .mh-motif:not(.mh-motif-hero) { width: 5rem; inset-inline-end: 6%; opacity: .15; }
    .mh-gallery-design .mh-search { border-radius: 1.25rem; }
    .mh-book { grid-template-columns: minmax(0, 28%) minmax(0, 1fr) auto; }
    .mh-podcast-panel { grid-template-columns: minmax(0, 1fr); }
    .mh-episode-list a { grid-template-columns: 2rem minmax(0, 1fr); }
    .mh-episode-list time { grid-column: 2; }
}
