/* eDeutsch: compact native Tilda notices, preserving each page's colours. */
:root {--ed-cookie-room:96px}
.t657.t657_rectangle {right:12px;bottom:12px;width:min(760px,calc(100% - 24px));max-width:none}
.t657 .t657__wrapper {box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;max-width:none;padding:12px 16px}
.t657 .t657__text {flex:1;min-width:0;margin:0!important;font-size:14px!important;line-height:18px!important;text-align:left}
.t657 .t657__btn {box-sizing:border-box;flex:0 0 180px;width:180px!important;min-height:44px;height:auto!important;margin:0!important;padding:8px 10px!important;font-size:12px!important;line-height:15px!important;white-space:normal!important;letter-spacing:0!important}
.t657 .t657__close-button {display:none}
/* The legacy page has two notices; keep the shared native consent mechanism. */
body:has(.t657) #cookie {display:none!important}
html:has(.t657:not(.t657_closed)) {scroll-padding-bottom:calc(var(--ed-cookie-room) + 16px)}
body:has(.t657:not(.t657_closed)):not(:has(#rec5232093201))::after {content:'';display:block;height:var(--ed-cookie-room);clear:both;pointer-events:none}
/* This app owns the whole viewport; keep its bottom navigation above the notice. */
body:has(.t657:not(.t657_closed)) #edeutsch-life-app {height:calc(100vh - var(--ed-cookie-room))!important;height:calc(100dvh - var(--ed-cookie-room))!important}
@media(max-width:850px) {
 .t657.t657_rectangle {left:0;right:0;bottom:0;width:100%;max-width:none}
 .t657 .t657__wrapper {gap:8px;padding:6px 10px;border-radius:12px 12px 0 0!important}
 .t657 .t657__text {font-size:12px!important;line-height:14px!important}
 .t657 .t657__btn {flex-basis:110px;width:110px!important;padding:6px!important;font-size:11px!important;line-height:13px!important}
}
@media(max-width:360px) {
 :root {--ed-cookie-room:120px}
 .t657 .t657__btn {flex-basis:96px;width:96px!important}
}
