.weak-gallery, .weak-review {
    margin: 1.1rem 0 1.5rem;
    max-width: 100%;
    min-width: 0;
}
.weak-gallery .weak-slides {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    border: 1px solid #d7d3c9;
    border-radius: 12px;
    background: #f8f6f0;
    padding: 0;
    margin: 0;
    list-style: none;
}
.weak-gallery .weak-slides > li {
    display: block;
    box-sizing: border-box;
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    margin: 0;
    padding: 0;
}
.weak-gallery .weak-slides > li::before { content: none; }
.weak-gallery figure { margin: 0; max-width: none; }
.weak-gallery .weak-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    place-items: center;
    aspect-ratio: 16 / 9;
    background: #202423;
    overflow: hidden;
}
.weak-gallery .weak-stage img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    margin: 0;
    max-height: 100%;
}
.weak-gallery figcaption {
    padding: .7rem .85rem .85rem;
    margin: 0;
    font: inherit;
    line-height: 1.5;
    font-size: .93rem;
    text-align: left;
    color: #272925;
}
.weak-gallery .weak-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .7rem;
    margin-top: .4rem;
}
.weak-gallery .weak-controls[hidden] { display: none; }
.weak-gallery button, .weak-review button {
    appearance: none;
    border: 1px solid #b9b2a1;
    background: #fff;
    border-radius: .45rem;
    padding: .4rem .68rem;
    color: #462b1e;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    font: inherit;
    line-height: 1.2;
}
.weak-gallery .weak-count { color: #3e4847; font-size: .9rem; }
.weak-gallery :focus-visible, .weak-review :focus-visible { outline: 3px solid #913a12; outline-offset: 2px; }
.weak-gallery .weak-credit { margin: .35rem 0 0; font-size: .82rem; color: #54534f; line-height: 1.45; }
.weak-review .weak-frame, .weak-review iframe {
    display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto;
    box-sizing: border-box; margin: .55rem 0 0; border: 0; border-radius: .6rem; background: #171b1d;
}
.weak-review .weak-frame:empty {display:none;}
.weak-review .weak-frame iframe { margin: 0; }
.weak-review[data-provider="youtube"] .weak-frame:not(:empty),
.weak-review[data-provider="youtube"] iframe { min-height: 200px; }
.weak-review .weak-subtitles { background: #202423; color: #fff; padding: .55rem .8rem; margin: .2rem 0 0; border-radius: .4rem; text-align: center; line-height: 1.4; font-size: 1rem; }
.weak-review [hidden] { display: none !important; }
.weak-choice { padding: .8rem 1rem; margin: 1rem 0; border-left: 3px solid #913a12; background: #faf6ed; }
.weak-choice p:last-child { margin-bottom: 0; }
