/* Cookie notice and settings */
.pv { position: fixed; z-index: 2147483000; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(920px, calc(100% - 32px)); display: flex; align-items: center; gap: 20px 28px; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; background: rgba(14, 15, 17, 0.97); color: #F3F4F5; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7); font-family: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif; animation: pv-in 0.4s ease both; }
.pv[hidden] { display: none; }
@keyframes pv-in { from { opacity: 0; transform: translate(-50%, 16px); } }
.pv-text { flex: 1; min-width: 0; }
.pv-text strong { display: block; margin-bottom: 4px; font-size: 16px; color: #FFFFFF; }
.pv-text p { margin: 0; font-size: 14px; line-height: 1.55; color: #B7BAC1; }
.pv a { color: #FF7A4D; text-decoration: underline; text-underline-offset: 2px; }
.pv-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.pv-btn { min-height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
/* accepting and rejecting look the same on purpose */
.pv-solid { border: 1px solid #F05526; background: #F05526; color: #FFFFFF; }
.pv-solid:hover { background: #FF6A3C; border-color: #FF6A3C; }
.pv-line { border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #FFFFFF; }
.pv-line:hover { background: #FFFFFF; color: #0B0C0D; }
.pv-btn:focus-visible, .pv-close:focus-visible, .pv-switch input:focus-visible + i { outline: 3px solid #FFB199; outline-offset: 2px; }

.pv-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 22px; background: #0E0F11; color: #F3F4F5; font-family: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif; overflow: auto; }
.pv-dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
.pv-form { padding: 24px; }
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pv-head h2 { margin: 0; font-size: 22px; color: #FFFFFF; }
.pv-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: transparent; color: #FFFFFF; font-size: 22px; line-height: 1; cursor: pointer; }
.pv-lead { margin: 12px 0 18px; font-size: 14px; line-height: 1.55; color: #B7BAC1; }
.pv-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pv-row strong { display: block; margin-bottom: 4px; font-size: 15px; color: #FFFFFF; }
.pv-row p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #A4A8AE; }
.pv-always { flex-shrink: 0; padding-top: 2px; font-size: 13px; font-weight: 700; color: #7CD39A; }
.pv-switch { position: relative; flex-shrink: 0; display: inline-block; width: 50px; height: 28px; cursor: pointer; }
.pv-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pv-switch i { position: absolute; inset: 0; border-radius: 999px; background: #3A3D44; transition: background 0.2s; pointer-events: none; }
.pv-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: transform 0.2s; }
.pv-switch input:checked + i { background: #F05526; }
.pv-switch input:checked + i::after { transform: translateX(22px); }
.pv-foot { margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

@media (max-width: 720px) {
    .pv { flex-direction: column; align-items: stretch; bottom: 12px; padding: 16px; border-radius: 18px; }
    .pv-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .pv-actions .pv-line { grid-column: 1 / -1; }
    .pv-form { padding: 18px; }
    .pv-foot { display: grid; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pv { animation: none; } .pv-switch i, .pv-switch i::after { transition: none; } }
