.tmn-glass {
    font-family: "Tmn Hero Montserrat", var(--tmn-font);
    color: #201b2a;
    background: linear-gradient(125deg, #fff9, #efebf573 60%, #fff7), rgb(248 246 251 / 87%);
    border: 1px solid #ffffffbd;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 #fffd, inset 0 -1px 1px #ffffff80, 0 4px 12px #24143714, 0 17px 55px #20133133;
    box-sizing: border-box;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .tmn-glass {
        background-color: rgb(247 245 251 / 66%);
        -webkit-backdrop-filter: blur(30px) saturate(130%);
        backdrop-filter: blur(30px) saturate(130%);
    }
}
.tmn-consent-banner[hidden] { display: none; }
.tmn-consent-banner {
    position: fixed; z-index: 100; inset: auto 0 max(18px,env(safe-area-inset-bottom));
    margin: auto; width: min(780px, calc(100% - 32px)); padding: 14px 18px;
    display: flex; align-items: center; gap: 15px;
    opacity: 1; transform: none;
    transition: opacity .54s ease-out, transform .54s cubic-bezier(.2,.8,.2,1);
}
.tmn-consent-banner[inert] { opacity: 0; transform: translateY(27px) scale(.97); pointer-events: none; visibility: hidden; transition: opacity .39s, transform .39s, visibility 0s .39s; }
body:has(dialog[open]) .tmn-consent-banner { visibility: hidden; pointer-events: none; }
.tmn-cookie-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; color: var(--tmn-purple); background: #ffffff69; box-shadow: inset 0 1px 1px white; }
.tmn-cookie-icon svg { width: 24px; height: 24px; }
.tmn-consent-banner:not([inert]) .tmn-cookie-icon path { stroke-dasharray: 1; animation: tmn-cookie-draw .72s ease-out both; }
@keyframes tmn-cookie-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.tmn-glass small { font-size: 10px; letter-spacing: .12em; font-weight: 700; color: var(--tmn-purple); }
.tmn-glass h2 { font-size: clamp(16px,1.6vw,18px); margin: 3px 0; line-height: 1.12; }
.tmn-glass p { margin: 4px 0; line-height: 1.4; font-size: 12px; }
.tmn-consent-copy { flex: 1; font-size: 11px; }
.tmn-consent-copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tmn-consent-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.tmn-consent-actions button, [data-consent-close] {
    font: inherit; font-size: 12px; font-weight: 650; color: #241634; cursor: pointer;
    border: 1px solid #fffb; border-radius: 999px; padding: 7px 10px; min-height: 32px;
    background: linear-gradient(#fffc,#efebf39e); box-shadow: inset 0 1px 0 #fffa,0 2px 5px #23143b16;
    transition: filter .18s, transform .18s;
}
.tmn-consent-actions button[data-consent-choice]:not([data-consent-choice="save"]) { color: white; background: linear-gradient(155deg,color-mix(in srgb,var(--tmn-purple) 78%,white),var(--tmn-purple)); }
.tmn-consent-actions button:hover { filter: brightness(1.08); }
.tmn-consent-actions button:active { transform: scale(.98); }
.tmn-consent-actions [data-consent-open] { display: inline-flex; align-items: center; justify-content: center; }
.tmn-consent-actions svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 4px; }
.tmn-consent-dialog { position: fixed; inset: 0; margin: auto; width: min(408px,calc(100% - 28px)); max-height: calc(100dvh - 32px); overflow: auto; padding: clamp(16px,3vw,24px); }
.tmn-consent-dialog[open] { animation: tmn-pref-in .36s ease-out both; }
.tmn-consent-dialog::backdrop { background: rgb(24 17 32 / 20%); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); animation: tmn-backdrop-in .36s both; }
.tmn-consent-dialog.is-closing, .tmn-consent-dialog.is-closing::backdrop { animation-direction: reverse; animation-name: tmn-pref-out; }
.tmn-consent-dialog.is-closing::backdrop { animation-name: tmn-backdrop-out; }
@keyframes tmn-pref-in { from { opacity: 0; transform: scale(.98); } }
@keyframes tmn-pref-out { from { opacity: 0; transform: scale(.98); } }
@keyframes tmn-backdrop-in { from { opacity: 0; } }
@keyframes tmn-backdrop-out { from { opacity: 0; } }
html:has(.tmn-consent-dialog[open]) { overflow: hidden; }
.tmn-consent-dialog h2 { margin: 10px 0 6px; font-size: clamp(21px,2.4vw,25px); }
[data-consent-close] { position: absolute; inset: 12px 12px auto auto; width: 36px; min-height: 36px; padding: 0; font-size: 22px; }
.tmn-consent-row { display: flex; gap: 9px; align-items: center; padding: 12px 0; border-bottom: 1px solid #5147622b; line-height: 1.45; font-size: 13px; }
.tmn-consent-row svg { color: var(--tmn-purple); flex: none; }
.tmn-consent-row span { flex: 1; }
.tmn-consent-row strong { display: block; font-size: 14px; }
.tmn-consent-row input { appearance: none; flex: none; width: 42px; height: 26px; border-radius: 15px; border: 1px solid #6b6473; background: #746f79; cursor: pointer; }
.tmn-consent-row input::before { content: ''; display: block; margin: 2px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(white,#eeeaf1); transition: transform .2s; }
.tmn-consent-row input:checked { background: var(--tmn-purple); }
.tmn-consent-row input:checked::before { transform: translateX(16px); }
.tmn-consent-row input:disabled { opacity: .65; cursor: default; }
.tmn-consent-dialog .tmn-consent-actions { margin-top: 14px; }
.tmn-privacy-links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.tmn-privacy-links button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.tmn-map-choice { font: inherit; background: #f4f1f8; color: var(--tmn-purple); cursor: pointer; }
.tmn-map-choice[hidden] { display: none; }
.tmn-policy { max-width: 72ch; margin: 45px auto 80px; line-height: 1.65; }
.tmn-policy h2 { margin: 1.5em 0 .3em; }
.tmn-policy p { margin: .4em 0; }
@media(min-width: 801px) {
    .tmn-consent-banner { padding-block: 10px; }
    .tmn-consent-copy { line-height: 1.2; }
    .tmn-consent-copy h2 { margin: 2px 0; }
    .tmn-consent-copy p { margin: 3px 0; font-size: 11.5px; }
}
@media(max-width: 800px) {
    .tmn-consent-banner { display: grid; grid-template-columns: auto 1fr; gap: 6px 9px; padding: 11px; width: min(340px,82%,calc(100% - 24px)); bottom: max(12px,env(safe-area-inset-bottom)); }
    .tmn-cookie-icon { position: absolute; top: 9px; left: 11px; width: 21px; height: 21px; }
    .tmn-consent-copy { grid-column: 1/-1; }
    .tmn-consent-copy small { display: inline-block; padding-left: 27px; line-height: 18px; }
    .tmn-consent-dialog { width: min(350px,calc(100% - 42px)); }
    .tmn-cookie-icon svg { width: 20px; height: 20px; }
    .tmn-consent-banner .tmn-consent-actions { grid-column: 1/-1; }
    .tmn-consent-banner .tmn-consent-actions button { flex: 1 1 auto; padding-inline: 6px; }
    .tmn-consent-actions button, [data-consent-close] { min-height: 44px; }
    [data-consent-close] { min-width: 44px; }
    body:has(.tmn-consent-banner:not([inert])) .tmn-back-to-top { visibility: hidden; }
}
@media(prefers-reduced-motion: reduce) {
    .tmn-glass, .tmn-glass *, .tmn-consent-dialog[open], .tmn-consent-dialog::backdrop, .tmn-cookie-icon path { animation-duration: .001s !important; transition-duration: 0s !important; }
}

.tmn-story-privacy { padding: 18px max(16px,5vw); background: #17151d; color: #f1eef5; font-size: 12px; }
