:root { --b83-cookie-accent: #d96f21; }
#b83-cookie-banner, #b83-cookie-banner * { box-sizing: border-box; }
#b83-cookie-banner { position: fixed; z-index: 999999; width: min(440px, calc(100vw - 32px)); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #242424; transition: opacity .25s ease, transform .25s ease; }
#b83-cookie-banner.b83-cookie-bottom_center { left: 50%; bottom: 18px; transform: translateX(-50%); }
#b83-cookie-banner.b83-cookie-bottom_left { left: 18px; bottom: 18px; }
#b83-cookie-banner.b83-cookie-bottom_right { right: 18px; bottom: 18px; }
#b83-cookie-banner.b83-cookie-hidden { opacity: 0; pointer-events: none; }
#b83-cookie-banner.b83-cookie-bottom_center.b83-cookie-hidden { transform: translateX(-50%) translateY(18px); }
#b83-cookie-banner:not(.b83-cookie-bottom_center).b83-cookie-hidden { transform: translateY(18px); }
.b83-cookie-card { background: rgba(255,255,255,.96); border: 1px solid rgba(0,0,0,.08); border-radius: 24px; box-shadow: 0 18px 50px rgba(0,0,0,.18); overflow: hidden; backdrop-filter: blur(8px); }
.b83-cookie-content { padding: 18px 18px 8px; }
.b83-cookie-content h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.25; }
.b83-cookie-content p { margin: 0; font-size: 13px; line-height: 1.45; }
.b83-cookie-privacy { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--b83-cookie-accent); text-decoration: underline; }
.b83-cookie-categories { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 18px 12px; }
.b83-cookie-categories label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(0,0,0,.09); border-radius: 999px; font-size: 12px; background: #fff; }
.b83-cookie-categories input { accent-color: var(--b83-cookie-accent); }
.b83-cookie-actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px; background: rgba(248,248,248,.96); border-top: 1px solid rgba(0,0,0,.06); }
.b83-cookie-btn { width: 100%; border: 0; border-radius: 999px; padding: 10px 12px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .12s ease, opacity .12s ease; }
.b83-cookie-btn:hover { transform: translateY(-1px); }
.b83-cookie-btn-primary { background: var(--b83-cookie-accent); color: #fff; }
.b83-cookie-btn-secondary { background: #fff; color: #333; border: 1px solid rgba(0,0,0,.12); }
.b83-cookie-youtube { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #f4f4f4; border-radius: 12px; overflow: hidden; }
.b83-cookie-youtube iframe { width: 100%; height: 100%; display: block; }
.b83-cookie-youtube-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.b83-cookie-youtube-load { border: 0; border-radius: 999px; padding: 10px 14px; background: var(--b83-cookie-accent); color: #fff; font-weight: 700; cursor: pointer; }
@media (max-width: 767px) {
    #b83-cookie-banner { width: calc(100vw - 20px); }
    #b83-cookie-banner.b83-cookie-bottom_center, #b83-cookie-banner.b83-cookie-bottom_left, #b83-cookie-banner.b83-cookie-bottom_right { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none; }
    #b83-cookie-banner.b83-cookie-bottom_center.b83-cookie-hidden, #b83-cookie-banner:not(.b83-cookie-bottom_center).b83-cookie-hidden { transform: translateY(16px); }
    .b83-cookie-card { border-radius: 20px; max-height: calc(100vh - 24px); overflow: auto; }
    .b83-cookie-content { padding: 15px 15px 7px; }
    .b83-cookie-content h3 { font-size: 16px; }
    .b83-cookie-content p { font-size: 12.5px; }
    .b83-cookie-categories { display: grid; grid-template-columns: 1fr; padding: 8px 15px 10px; }
    .b83-cookie-categories label { justify-content: flex-start; width: 100%; }
    .b83-cookie-actions { position: sticky; bottom: 0; padding: 10px; }
    .b83-cookie-btn { padding: 10px; font-size: 13px; }
}