:root{
    --mt-consent-overlay:rgba(10,14,20,.18);
    --mt-consent-panel-bg:rgba(255,255,255,.985);
    --mt-consent-panel-border:rgba(33,44,61,.08);
    --mt-consent-panel-shadow:0 28px 68px rgba(15,23,42,.22);
    --mt-consent-text:#223043;
    --mt-consent-muted:#6d7a89;
    --mt-consent-note-text:#5c6876;
    --mt-consent-link:#0b6bcb;
    --mt-consent-ok:#2f9e44;
    --mt-consent-ok-soft:rgba(47,158,68,.10);
    --mt-consent-ok-border:rgba(47,158,68,.18);
    --mt-consent-warn:#d97706;
    --mt-consent-warn-soft:rgba(217,119,6,.10);
    --mt-consent-warn-border:rgba(217,119,6,.20);
    --mt-consent-btn-top:#7da458;
    --mt-consent-btn-bottom:#688947;
    --mt-consent-btn-shadow:rgba(116,153,80,.24);
    --mt-toast-bg:rgba(19,28,40,.98);
    --mt-toast-text:#ffffff;
    --mt-toast-ok:#46b96c;
    --mt-form-bg:#f7f9fc;
    --mt-form-border:rgba(31,41,55,.10);
    --mt-form-btn-top:#0f7ae5;
    --mt-form-btn-bottom:#0b68c3;
    --mt-form-btn-shadow:rgba(15,122,229,.22);
}
#terms-and-privacy-lightbox{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:16px 16px calc(16px + env(safe-area-inset-bottom));
}
#terms-and-privacy-lightbox[hidden]{
    display:none !important;
}
#terms-and-privacy-lightbox *{
    box-sizing:border-box;
}
#terms-and-privacy-lightbox .mt-consent-backdrop{
    position:absolute;
    inset:0;
    display:block;
    background:var(--mt-consent-overlay);
    backdrop-filter:blur(2px);
}
#terms-and-privacy-lightbox.mt-consent-soft{
    pointer-events:none;
}
#terms-and-privacy-lightbox.mt-consent-soft .mt-consent-backdrop{
    background:transparent;
    backdrop-filter:none;
}
#terms-and-privacy-lightbox.mt-consent-soft .mt-consent-panel{
    pointer-events:auto;
}
#terms-and-privacy-lightbox .mt-consent-panel{
    position:relative;
    width:min(1120px,100%);
    max-height:calc(100vh - 32px - env(safe-area-inset-bottom));
    overflow:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    background:var(--mt-consent-panel-bg);
    border:1px solid var(--mt-consent-panel-border);
    border-radius:24px;
    box-shadow:var(--mt-consent-panel-shadow);
    padding:22px;
}
#terms-and-privacy-lightbox .mt-consent-top{
    display:grid;
    grid-template-columns:minmax(124px,148px) minmax(0,1fr) minmax(168px,188px);
    grid-template-areas:"logo copy action";
    gap:20px;
    align-items:center;
}
#terms-and-privacy-lightbox .mt-consent-logo{
    grid-area:logo;
    display:flex !important;
    align-items:center;
    justify-content:center;
    margin:0;
    min-width:0;
}
#terms-and-privacy-lightbox .mt-consent-logo img{
    display:block !important;
    width:100%;
    max-width:148px;
    height:auto;
    margin:0 auto;
}
#terms-and-privacy-lightbox .mt-consent-copy-wrap{
    grid-area:copy;
    min-width:0;
}
#terms-and-privacy-lightbox .mt-consent-copy{
    margin:0;
    color:var(--mt-consent-text);
    font-size:15px;
    line-height:1.76;
    font-weight:400;
    word-break:normal;
    overflow-wrap:break-word;
    hyphens:none;
}
#terms-and-privacy-lightbox .mt-consent-copy strong{
    color:#2f2f2f;
    font-weight:700;
}
#terms-and-privacy-lightbox .mt-consent-copy .notranslate,
#terms-and-privacy-lightbox .mt-consent-copy strong{
    unicode-bidi:isolate;
}
#terms-and-privacy-lightbox .mt-consent-copy a{
    color:var(--mt-consent-link);
    font-weight:700;
    text-decoration:none;
}
#terms-and-privacy-lightbox .mt-consent-copy a:hover{
    text-decoration:underline;
}
#terms-and-privacy-lightbox .mt-consent-action{
    grid-area:action;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    min-width:0;
}
#terms-and-privacy-lightbox .mt-consent-close-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:168px;
    min-height:50px;
    padding:0 22px;
    border:0;
    border-radius:16px;
    background:linear-gradient(180deg,var(--mt-consent-btn-top) 0%,var(--mt-consent-btn-bottom) 100%);
    color:#ffffff;
    font-size:15px;
    line-height:1.15;
    font-weight:700;
    white-space:nowrap;
    text-align:center;
    cursor:pointer;
    box-shadow:0 16px 30px var(--mt-consent-btn-shadow), inset 0 1px 0 rgba(255,255,255,.18);
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#terms-and-privacy-lightbox .mt-consent-close-btn:hover,
#terms-and-privacy-lightbox .mt-consent-close-btn:focus{
    transform:translateY(-1px);
    filter:brightness(1.03);
    box-shadow:0 20px 34px var(--mt-consent-btn-shadow), inset 0 1px 0 rgba(255,255,255,.18);
}
#terms-and-privacy-lightbox .mt-consent-note{
    margin:14px 0 0;
    color:var(--mt-consent-note-text);
    font-size:14px;
    line-height:1.7;
    font-weight:500;
    word-break:normal;
    overflow-wrap:break-word;
    hyphens:none;
}
#terms-and-privacy-lightbox .mt-consent-note p{
    margin:0;
    display:block;
    transform:none;
    animation:none;
}
#terms-and-privacy-lightbox .mt-consent-note.is-approved{
    color:#23753a;
}
#terms-and-privacy-lightbox .mt-consent-status{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:18px;
}
#terms-and-privacy-lightbox .mt-consent-item{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
    min-height:84px;
    padding:16px 18px;
    border-radius:20px;
    border:1px solid rgba(31,41,55,.08);
    background:#ffffff;
    color:var(--mt-consent-text);
    text-decoration:none;
    transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
#terms-and-privacy-lightbox .mt-consent-item:hover,
#terms-and-privacy-lightbox .mt-consent-item:focus{
    transform:translateY(-2px);
    box-shadow:0 16px 28px rgba(15,23,42,.10);
}
#terms-and-privacy-lightbox .mt-consent-item.is-pending{
    background:var(--mt-consent-warn-soft);
    border-color:var(--mt-consent-warn-border);
}
#terms-and-privacy-lightbox .mt-consent-item.is-accepted{
    background:var(--mt-consent-ok-soft);
    border-color:var(--mt-consent-ok-border);
}
#terms-and-privacy-lightbox .mt-consent-item-icon{
    flex:0 0 48px;
    width:48px;
    height:48px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    line-height:1;
    font-weight:700;
}
#terms-and-privacy-lightbox .mt-consent-item.is-pending .mt-consent-item-icon{
    background:rgba(217,119,6,.12);
    color:var(--mt-consent-warn);
}
#terms-and-privacy-lightbox .mt-consent-item.is-accepted .mt-consent-item-icon{
    background:rgba(47,158,68,.14);
    color:var(--mt-consent-ok);
}
#terms-and-privacy-lightbox .mt-consent-item-body{
    min-width:0;
    flex:1 1 auto;
}
#terms-and-privacy-lightbox .mt-consent-item-title{
    display:block;
    color:var(--mt-consent-text);
    font-size:15px;
    line-height:1.28;
    font-weight:700;
    word-break:normal;
    overflow-wrap:break-word;
}
#terms-and-privacy-lightbox .mt-consent-item-status{
    display:block;
    margin-top:5px;
    font-size:13px;
    line-height:1.48;
}
#terms-and-privacy-lightbox .mt-consent-item.is-pending .mt-consent-item-status{
    color:#9b5808;
}
#terms-and-privacy-lightbox .mt-consent-item.is-accepted .mt-consent-item-status{
    color:#23753a;
}
#mt-consent-toast{
    position:fixed;
    left:50%;
    bottom:24px;
    transform:translateX(-50%) translateY(16px);
    display:flex;
    align-items:center;
    gap:12px;
    width:min(560px,calc(100vw - 24px));
    padding:14px 18px;
    border-radius:18px;
    background:var(--mt-toast-bg);
    color:var(--mt-toast-text);
    box-shadow:0 20px 40px rgba(15,23,42,.24);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
    z-index:100000;
}
#mt-consent-toast[hidden]{
    display:none !important;
}
#mt-consent-toast.is-visible{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}
#mt-consent-toast .mt-consent-toast__icon{
    flex:0 0 34px;
    width:34px;
    height:34px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(70,185,108,.16);
    color:var(--mt-toast-ok);
    font-size:20px;
    line-height:1;
    font-weight:700;
}
#mt-consent-toast .mt-consent-toast__body{
    min-width:0;
}
#mt-consent-toast .mt-consent-toast__title{
    display:block;
    font-size:14px;
    line-height:1.2;
    font-weight:700;
}
#mt-consent-toast .mt-consent-toast__message{
    display:block;
    margin-top:4px;
    font-size:13px;
    line-height:1.5;
    font-weight:600;
}
.mt-consent-form-wrap{
    max-width:1080px;
    margin:40px auto 0;
    opacity:0;
    visibility:hidden;
    transform:translateY(4px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.mt-consent-form-wrap.is-ready{
    opacity:1;
    visibility:visible;
    transform:none;
}
.mt-consent-form{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    padding:20px 22px;
    background:var(--mt-form-bg);
    border:1px solid var(--mt-form-border);
    border-radius:22px;
    color:var(--mt-consent-text);
}
.mt-consent-form--accepted{
    grid-template-columns:auto minmax(0,1fr);
    background:var(--mt-consent-ok-soft);
    border-color:var(--mt-consent-ok-border);
}
.mt-consent-form__indicator{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.mt-consent-form__checkbox{
    width:22px;
    height:22px;
    margin:0;
    accent-color:#0f7ae5;
}
.mt-consent-form__accepted-icon{
    width:46px;
    height:46px;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(47,158,68,.14);
    color:var(--mt-consent-ok);
    font-size:24px;
    line-height:1;
    font-weight:700;
}
.mt-consent-form__body{
    min-width:0;
}
.mt-consent-form__label{
    display:block;
    color:var(--mt-consent-text);
    font-size:16px;
    line-height:1.45;
    font-weight:600;
}
.mt-consent-form__hint{
    display:block;
    margin-top:6px;
    color:#23753a;
    font-size:14px;
    line-height:1.55;
    font-weight:600;
}
.mt-consent-form__action{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}
.mt-consent-form__button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:152px;
    min-height:50px;
    padding:0 22px;
    border:0;
    border-radius:16px;
    background:linear-gradient(180deg,var(--mt-form-btn-top) 0%,var(--mt-form-btn-bottom) 100%);
    color:#ffffff;
    font-size:15px;
    line-height:1;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 14px 26px var(--mt-form-btn-shadow), inset 0 1px 0 rgba(255,255,255,.18);
    transition:transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.mt-consent-form__button:hover,
.mt-consent-form__button:focus{
    transform:translateY(-1px);
    filter:brightness(1.03);
    box-shadow:0 18px 30px var(--mt-form-btn-shadow), inset 0 1px 0 rgba(255,255,255,.18);
}
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-copy-wrap,
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-copy,
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-note,
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-item,
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-item-body,
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-item-title,
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-item-status{
    text-align:right;
}
#terms-and-privacy-lightbox[dir="rtl"] .mt-consent-status{
    direction:rtl;
}
#mt-consent-toast[dir="rtl"]{
    direction:rtl;
}
#mt-consent-toast[dir="rtl"] .mt-consent-toast__body{
    text-align:right;
}
.mt-consent-form[dir="rtl"],
[dir="rtl"] .mt-consent-form{
    direction:rtl;
}
.mt-consent-form[dir="rtl"] .mt-consent-form__body,
[dir="rtl"] .mt-consent-form__body{
    text-align:right;
}
@media screen and (max-width:1099px){
    #terms-and-privacy-lightbox .mt-consent-top{
        grid-template-columns:minmax(0,1fr) 180px;
        grid-template-areas:
            "copy logo"
            "copy action";
        align-items:start;
    }
    #terms-and-privacy-lightbox .mt-consent-logo{
        justify-content:center;
        align-items:flex-start;
        padding-top:2px;
    }
    #terms-and-privacy-lightbox .mt-consent-action{
        align-items:stretch;
        justify-content:center;
    }
    #terms-and-privacy-lightbox .mt-consent-close-btn{
        width:100%;
        min-width:0;
    }
}
@media screen and (max-width:899px){
    .mt-consent-form{
        grid-template-columns:auto minmax(0,1fr);
        align-items:start;
    }
    .mt-consent-form--accepted{
        grid-template-columns:auto minmax(0,1fr);
    }
    .mt-consent-form__action{
        grid-column:1 / -1;
        justify-content:stretch !important;
    }
    .mt-consent-form__button{
        width:100%;
        min-width:0;
    }
}
@media screen and (max-width:839px){
    #terms-and-privacy-lightbox{
        padding:10px 10px calc(10px + env(safe-area-inset-bottom));
    }
    #terms-and-privacy-lightbox .mt-consent-panel{
        width:100%;
        max-height:calc(100vh - 20px - env(safe-area-inset-bottom));
        border-radius:20px;
        padding:14px;
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        grid-template-areas:
            "copy copy"
            "status logo"
            "status action";
        gap:12px;
        align-items:start;
    }
    #terms-and-privacy-lightbox .mt-consent-top{
        display:contents;
    }
    #terms-and-privacy-lightbox .mt-consent-copy-wrap{
        grid-area:copy;
        min-width:0;
        text-align:left !important;
    }
    #terms-and-privacy-lightbox .mt-consent-copy{
        font-size:13px;
        line-height:1.6;
    }
    #terms-and-privacy-lightbox .mt-consent-note{
        margin-top:10px;
        font-size:12.5px;
        line-height:1.56;
        color:#586574;
    }
    #terms-and-privacy-lightbox .mt-consent-logo{
        grid-area:logo;
        display:flex !important;
        justify-content:center;
        align-items:flex-start;
        padding-top:0;
    }
    #terms-and-privacy-lightbox .mt-consent-logo img{
        width:auto;
        max-width:min(100%,118px);
        max-height:74px;
    }
    #terms-and-privacy-lightbox .mt-consent-action{
        grid-area:action;
        display:flex;
        align-items:stretch;
        justify-content:stretch !important;
    }
    #terms-and-privacy-lightbox .mt-consent-close-btn{
        width:100%;
        min-width:0;
        min-height:46px;
        padding:0 12px;
        border-radius:14px;
        font-size:13px;
        white-space:normal;
    }
    #terms-and-privacy-lightbox .mt-consent-status{
        grid-area:status;
        grid-template-columns:1fr;
        gap:10px;
        margin-top:0;
        align-self:start;
    }
    #terms-and-privacy-lightbox .mt-consent-item{
        min-height:78px;
        padding:12px;
        gap:10px;
        border-radius:16px;
    }
    #terms-and-privacy-lightbox .mt-consent-item-icon{
        flex:0 0 40px;
        width:40px;
        height:40px;
        border-radius:12px;
        font-size:20px;
    }
    #terms-and-privacy-lightbox .mt-consent-item-title{
        font-size:13px;
        line-height:1.24;
    }
    #terms-and-privacy-lightbox .mt-consent-item-status{
        margin-top:3px;
        font-size:11.5px;
        line-height:1.4;
    }
    #terms-and-privacy-lightbox[dir="rtl"] .mt-consent-copy-wrap{
        text-align:right !important;
    }
}
@media screen and (max-width:639px){
    .mt-consent-form,
    .mt-consent-form--accepted{
        grid-template-columns:1fr;
        gap:14px;
        padding:18px;
    }
    .mt-consent-form__indicator{
        justify-content:flex-start;
    }
}
@media screen and (max-width:479px){
    #terms-and-privacy-lightbox{
        padding:8px 8px calc(8px + env(safe-area-inset-bottom));
    }
    #terms-and-privacy-lightbox .mt-consent-panel{
        max-height:calc(100vh - 16px - env(safe-area-inset-bottom));
        border-radius:18px;
        padding:12px;
        gap:10px;
    }
    #terms-and-privacy-lightbox .mt-consent-copy{
        font-size:12.5px;
        line-height:1.56;
    }
    #terms-and-privacy-lightbox .mt-consent-note{
        font-size:12px;
        line-height:1.52;
    }
    #terms-and-privacy-lightbox .mt-consent-logo img{
        max-width:min(100%,104px);
        max-height:66px;
    }
    #terms-and-privacy-lightbox .mt-consent-close-btn{
        min-height:44px;
        border-radius:13px;
        font-size:12.5px;
    }
    #terms-and-privacy-lightbox .mt-consent-item{
        min-height:72px;
        padding:10px;
        gap:8px;
        border-radius:15px;
    }
    #terms-and-privacy-lightbox .mt-consent-item-icon{
        flex-basis:36px;
        width:36px;
        height:36px;
        border-radius:11px;
        font-size:18px;
    }
    #terms-and-privacy-lightbox .mt-consent-item-title{
        font-size:12.5px;
    }
    #terms-and-privacy-lightbox .mt-consent-item-status{
        font-size:11px;
    }
    #mt-consent-toast{
        bottom:16px;
        padding:13px 16px;
        border-radius:16px;
    }
    #mt-consent-toast .mt-consent-toast__title{
        font-size:13px;
    }
    #mt-consent-toast .mt-consent-toast__message{
        font-size:12px;
    }
    .mt-consent-form__label{
        font-size:15px;
    }
    .mt-consent-form__hint{
        font-size:13px;
    }
}
@media screen and (max-width:359px){
    #terms-and-privacy-lightbox .mt-consent-panel{
        padding:11px;
        gap:9px;
    }
    #terms-and-privacy-lightbox .mt-consent-copy{
        font-size:12.25px;
        line-height:1.52;
    }
    #terms-and-privacy-lightbox .mt-consent-note{
        font-size:11.5px;
        line-height:1.48;
    }
    #terms-and-privacy-lightbox .mt-consent-logo img{
        max-width:min(100%,96px);
        max-height:60px;
    }
    #terms-and-privacy-lightbox .mt-consent-close-btn{
        min-height:42px;
        font-size:12.25px;
    }
    #terms-and-privacy-lightbox .mt-consent-item-title{
        font-size:12.25px;
    }
    #terms-and-privacy-lightbox .mt-consent-item-status{
        font-size:10.75px;
    }
}
