.moledo-frame-choices {
    margin: 0 0 1.25rem;
    color: inherit;
    border-block-start: 1px solid #d5dad3;
}
.moledo-frame-choices details {
    border-block-end: 1px solid #d5dad3;
}
.moledo-frame-choices summary {
    display: grid;
    grid-template-columns: .65em minmax(0, 1fr);
    align-items: center;
    column-gap: .45em;
    list-style: none;
    box-sizing: border-box;
    padding: .7rem .25rem;
    min-height: 44px;
    color: inherit;
    font: inherit;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.moledo-frame-choices summary::-webkit-details-marker {
    display: none;
}
.moledo-frame-choices details > summary::before {
    content: "";
    width: 0;
    height: 0;
    justify-self: center;
    border-style: solid;
    border-width: .34em 0 .34em .59em;
    border-color: transparent transparent transparent currentColor;
}
.moledo-frame-choices details[open] > summary::before {
    transform: rotate(90deg);
}
.moledo-frame-choices .mf-size-picker > summary {
    font-weight: 600;
}
.moledo-frame-choices .mf-size-picker:not([open]) > .mf-size-options {
    display: none;
}
.moledo-frame-choices ul {
    display: grid;
    gap: .35rem;
    margin: 0;
    padding: .2rem .25rem .8rem;
    list-style: none;
}
.moledo-frame-choices .mf-size-options {
    grid-template-columns: repeat(auto-fit, minmax(min(7.5rem, 100%), 1fr));
}
.moledo-frame-choices li {
    margin: 0;
    min-width: 0;
}
.moledo-frame-choices li a,
.moledo-frame-choices li span {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    height: 100%;
    padding: .4rem .65rem;
    line-height: 1.35;
    color: #263a26;
    overflow-wrap: anywhere;
}
.moledo-frame-choices .mf-size-options :is(a, span) {
    justify-content: center;
    border: 1px solid #bac5b8;
    border-radius: .4rem;
    text-decoration: none;
    text-align: center;
}
.moledo-frame-choices .mf-size-options [aria-current="page"] {
    border: 2px solid currentColor;
    background: #e7ede5;
    font-weight: 700;
}
.moledo-frame-choices a:hover { background: #f0f3ef; }
.moledo-frame-choices :is(a,summary):focus-visible {
    outline: 2px solid #385938;
    outline-offset: 2px;
}
@media (prefers-color-scheme: dark) {
    .moledo-frame-choices,
    .moledo-frame-choices details,
    .moledo-frame-choices .mf-size-options :is(a, span) {
        border-color: var(--md-line, #647160);
    }
    .moledo-frame-choices li :is(a, span) {
        color: var(--md-ink, #f2f4ee);
        background-color: var(--md-panel, #2a312a);
    }
    .moledo-frame-choices .mf-size-options [aria-current="page"],
    .moledo-frame-choices li a:hover {
        color: var(--md-on-action, #20291d);
        background-color: var(--md-action, #d7e5cd);
    }
    .moledo-frame-choices :is(a,summary):focus-visible {
        outline-color: var(--md-action, #d7e5cd);
    }
}
