.cookie-panel { position: fixed; z-index: 10000; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 620px; max-height: 75vh; overflow: auto; margin: auto; padding: 20px; background: #332b22; color: #f6f1e8; border: 1px solid #79624c; border-radius: 16px; box-shadow: 0 12px 50px #0008; font: 14px/1.55 Inter, sans-serif; }
.cookie-panel[hidden] { display: none; }
.cookie-panel h2 { margin: 0 0 8px; font: bold 19px/1.3 Inter, sans-serif; }
.cookie-panel p { margin: 8px 0; color: #e5dace; font-size: 13px; }
.cookie-panel a { color: #8bd2cc; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.cookie-actions button { min-height: 46px; padding: 10px; border: 1px solid #ff976e; border-radius: 10px; background: #3d3327; color: #f6f1e8; font: 600 13px/1.4 Inter, sans-serif; cursor: pointer; }
.cookie-actions button:disabled { opacity: .5; cursor: wait; }
.cookie-panel .cookie-error { color: #ffb6a9; }
.cookie-panel .cookie-error:empty { display: none; }
.cookie-settings { padding: 16px 20px; text-align: center; }
.cookie-settings button { border: 0; background: transparent; color: #b8ab9c; text-decoration: underline; text-underline-offset: 3px; font: 12px Inter, sans-serif; cursor: pointer; min-height: 44px; }
.cookie-panel button:focus-visible, .cookie-panel a:focus-visible, .cookie-settings button:focus-visible { outline: 2px solid #ff976e; outline-offset: 3px; }
@media (max-width: 360px) { .cookie-panel { left: 8px; right: 8px; padding: 14px; } .cookie-actions { grid-template-columns: 1fr; } }
