.consent-layer[hidden], .consent-reopen[hidden] { display: none !important; }
.consent-layer { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; }
.consent-layer::before { position: absolute; inset: 0; content: ""; background: rgba(17,17,20,.36); backdrop-filter: blur(2px); animation: consent-fade .22s ease-out both; }
.consent-card { position: relative; width: min(640px,100%); max-height: calc(100dvh - 36px); overflow: auto; overscroll-behavior: contain; padding: 28px; border: 1px solid rgba(255,89,103,.32); border-radius: 26px; color: #fff; background: radial-gradient(circle at 100% 0,rgba(200,16,32,.3),transparent 42%), linear-gradient(145deg,#111114 0%,#1f1b1e 58%,#480e18 100%); box-shadow: 0 28px 80px rgba(17,17,20,.58), inset 0 1px 0 rgba(255,255,255,.08); animation: consent-rise .28s ease-out both; }
.consent-card h2 { margin: 0 0 10px; font-size: clamp(1.08rem,3.2vw,1.3rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
.consent-card p { margin: 0; color: rgba(255,255,255,.82); font-size: .89rem; line-height: 1.55; }
.consent-card a { color: #ff7d88; text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
.consent-actions button { min-height: 38px; padding: 0 13px; color: #fff; font-size: .82rem; cursor: pointer; transition: color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.consent-actions .consent-accept { min-height: 52px; border: 1px solid #ff5967; border-radius: 12px; background: linear-gradient(135deg,#c81020,#a90d1b) !important; box-shadow: 0 14px 32px rgba(200,16,32,.3); font-size: .9rem; font-weight: 900; }
.consent-actions .consent-accept:hover, .consent-actions .consent-accept:focus-visible { border-color: #ff7d88; background: #ae0e1c; box-shadow: 0 18px 40px rgba(200,16,32,.42); transform: translateY(-2px); }
.consent-actions #consent-reject { width: fit-content; min-height: 36px; justify-self: center; padding: 2px 5px; border: 0; background: transparent; color: rgba(255,255,255,.78); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions #consent-reject:hover, .consent-actions #consent-reject:focus-visible { color: #fff; }
.consent-reopen { position: fixed; z-index: 69; bottom: 16px; left: 16px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; background: rgba(31,27,30,.9); box-shadow: 0 10px 26px rgba(29,29,27,.22); backdrop-filter: blur(10px); font-size: 0; cursor: pointer; transition: transform .22s ease,background-color .22s ease; }
.consent-reopen > .cookie-icon { width: 18px; height: 18px; color: currentColor; }
.consent-reopen > .cookie-icon path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.consent-reopen > .cookie-icon circle { fill: currentColor; }
.consent-reopen:hover, .consent-reopen:focus-visible { background: #c81020; transform: translateY(-2px); }
@media (max-width: 600px) { .consent-layer { padding: 12px; } .consent-card { width: min(92%,380px); max-height: calc(100dvh - 24px); padding: 20px; border-radius: 18px; } .consent-reopen { bottom: 12px; left: 12px; } }
@media (prefers-reduced-motion: reduce) { .consent-layer::before, .consent-card, .consent-reopen { animation: none; transition: none; } }
@keyframes consent-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes consent-rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
