.melo-legal-links { margin: 1.2rem 0 0; }
.melo-legal-links ul { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; margin: .35rem 0; padding: 0; }
.melo-cookie, .melo-settings { color: #21232a; border: 1px solid #dddde6; border-radius: .8rem; background: #fff; padding: 1.1rem 1.35rem; font-size: .95rem; line-height: 1.5; }
.melo-cookie {
    position: fixed;
    z-index: 100000;
    inset-inline: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
    width: min(1100px, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    margin-inline: auto;
    padding: .5rem .75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .4rem .85rem;
    overflow: auto;
    box-shadow: 0 8px 32px #17173322;
    font-size: .875rem;
    line-height: 1.45;
}
.melo-cookie-copy { min-width: 0; }
.melo-cookie-copy > p { display: inline; }
.melo-cookie-copy > a { margin-inline-start: .35em; white-space: nowrap; }
.melo-settings { width: min(545px, calc(100% - 2rem)); max-height: 88vh; margin: auto; overflow: auto; }
.melo-settings::backdrop { background: #18223390; }
.melo-settings h2 { margin: 0 .1rem .45rem; font-size: 1.2rem; line-height: 1.3; }
.melo-cookie p { margin: 0; }
.melo-settings p { margin: .35rem 0 .7rem; }
.melo-cookie a, .melo-settings a, .melo-comment-consents a { text-decoration: underline; text-underline-offset: .15em; }
.melo-cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.melo-cookie > .melo-cookie-actions { grid-column: 2; justify-content: flex-end; gap: .5rem; }
.melo-cookie-actions button { flex: 1 1 10rem; border: 1px solid #5e4bcd; background: #fff; color: #382987; border-radius: .45rem; min-height: 44px; padding: .45rem .7rem; cursor: pointer; font: inherit; font-weight: 650; line-height: 1.3; }
.melo-cookie > .melo-cookie-actions button { flex: 0 0 auto; min-height: 36px; padding: .3rem .65rem; }
.melo-cookie-actions button:hover { background: #f2effd; }
.melo-cookie > .melo-cookie-status { grid-column: 1 / -1; color: #891d36; }
.melo-cookie-actions button:disabled { opacity: .6; cursor: wait; }
.melo-cookie-actions button:focus-visible, .melo-settings :focus-visible, .melo-cookie :focus-visible, .melo-comment-consents :focus-visible, .melo-legal-links :focus-visible { outline: 2px solid #176aaf; outline-offset: 3px; }
.melo-close-settings { float: right; width: 44px; height: 44px; margin: -.5rem -.5rem 0 .3rem; background: none; color: inherit; border: 0; cursor: pointer; font-size: 1.65rem; }
.melo-cookie [hidden], .melo-ad[hidden], .melo-cookie[hidden], .melo-settings:not([open]) { display: none; }
.melo-cookie-over-comment-form:not(:focus-within) { visibility: hidden; }
.b-r:has(> .melo-ad[hidden]),
.widget_custom_html:has(> .custom-html-widget > .melo-ad[hidden]) { display: none; }
.melo-cookie p.melo-cookie-status:empty { display: none; }
@media (max-width: 720px) {
    .melo-cookie { grid-template-columns: minmax(0, 1fr); }
    .melo-cookie > .melo-cookie-actions { grid-column: 1; justify-content: flex-start; }
}
@media (max-width: 600px) {
    .melo-cookie {
        inset-inline: 0;
        bottom: 0;
        width: 100%;
        max-height: calc(100dvh - 1rem);
        border-radius: .75rem .75rem 0 0;
        padding: .5rem .625rem max(.5rem, env(safe-area-inset-bottom));
        font-size: .825rem;
    }
    .melo-cookie > .melo-cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
    .melo-cookie > .melo-cookie-actions button { min-width: 0; min-height: 44px; padding: .25rem .2rem; }
}
.melo-comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
}
.melo-comment-form > :not(.comment-form-author, .comment-form-email) { grid-column: 1 / -1; }
.comment-respond .melo-comment-form > :is(.comment-form-author, .comment-form-email) {
    display: flex;
    flex-direction: column;
    width: auto;
    margin-left: 0;
}
.melo-comment-form > :is(.comment-form-author, .comment-form-email) > input { margin-top: auto; }
@media (max-width: 600px) {
    .melo-comment-form { grid-template-columns: minmax(0, 1fr); }
}
.melo-comment-consents { margin: .8rem 0; }
.melo-comment-consents label { display: block; margin-block: .25rem; }
.melo-comment-conditions-link { margin-top: .4rem; font-size: .86em; }
.melo-document table { width: 100%; border-collapse: collapse; }
.melo-document th, .melo-document td { padding: .45rem; border: 1px solid #ddd; overflow-wrap: anywhere; }
.melo-document { overflow-wrap: anywhere; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-cyrillic.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
