.cookie-panel {
    position: fixed;
    z-index: 45;
    inset: auto 1rem 1rem;
    width: min(54rem, calc(100% - 2rem));
    max-height: 70dvh;
    overflow: auto;
    margin-inline: auto;
    padding: 1.1rem 1.3rem;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    box-shadow: 0 8px 40px #132e3340;
}
.cookie-panel h2 { font: 700 1.05rem/1.35 system-ui, sans-serif; margin: 0 0 0.35rem; }
.cookie-panel p { margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.8rem; }
.cookie-actions button {
    font: 650 0.94rem/1.4 system-ui, sans-serif;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    color: var(--panel);
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 0.4rem;
    cursor: pointer;
}
.cookie-preferences {
    background: transparent;
    color: inherit;
    border: 0;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.22em;
    cursor: pointer;
}
@media (max-width: 700px) {
    .cookie-panel { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
