/* Изолированные стили обычного сайта: блок остаётся в потоке страницы. */
.tp-cookie-panel, .tp-cookie-settings { box-sizing: border-box; width: min(1080px, calc(100% - 32px)); margin: 16px auto; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; color: #f4f1f8; overflow-wrap: anywhere; }
.tp-cookie-panel { padding: 20px; background: #292237; border: 1px solid #756b84; border-radius: 16px; }
.tp-cookie-panel[hidden] { display: none !important; }
/* Закреплённая шапка есть только на главной; между ней и блоком может находиться навигация. */
.topbar ~ .tp-cookie-panel:not([hidden]) { margin-top: calc(var(--topchrome-height, 0px) + 16px); }
.topbar ~ .tp-cookie-panel:not([hidden]) ~ .layout { margin-top: 12px !important; }
.topbar ~ .tp-cookie-panel .tp-cookie-button { scroll-margin-top: calc(var(--topchrome-height, 0px) + 16px); }
.tp-cookie-panel *, .tp-cookie-settings * { box-sizing: border-box; }
.tp-cookie-panel .tp-cookie-text, .tp-cookie-panel .tp-cookie-detail { margin: 0 0 12px; max-width: none; font-size: 16px; }
.tp-cookie-panel .tp-cookie-notice { margin: 12px 0 0; font-size: 16px; }
.tp-cookie-panel .tp-cookie-notice:empty { display: none; }
.tp-cookie-panel .tp-cookie-link { color: #ffd26f; text-decoration: underline; text-underline-offset: .2em; }
.tp-cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-cookie-panel .tp-cookie-button, .tp-cookie-settings .tp-cookie-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 10px 18px; border: 2px solid #ffd26f; border-radius: 10px; background: #292237; color: #fff4da; font: inherit; font-size: 16px; line-height: 1.4; text-align: center; white-space: normal; cursor: pointer; }
.tp-cookie-actions .tp-cookie-button { flex: 1 1 200px; }
.tp-cookie-panel .tp-cookie-button:hover, .tp-cookie-settings .tp-cookie-button:hover { background: #44344b; }
.tp-cookie-panel .tp-cookie-button:focus-visible, .tp-cookie-panel .tp-cookie-link:focus-visible, .tp-cookie-settings .tp-cookie-button:focus-visible { outline: 3px solid #ffd26f; outline-offset: 3px; }
.tp-cookie-settings { padding-block: 8px; }
@media (max-width: 540px) { .tp-cookie-actions { flex-direction: column; } .tp-cookie-actions .tp-cookie-button { flex: auto; width: 100%; } .tp-cookie-panel { padding: 16px; } }
