.cookie-settings {
    position: fixed;
    z-index: 100;
    inset: auto auto 14px 14px;
    width: min(375px, calc(100% - 28px));
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffefa;
    color: var(--ink);
    box-shadow: 0 8px 30px #163c2d29;
}

.cookie-settings h2 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.cookie-settings p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.5;
}

.cookie-settings p a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-settings-actions button {
    flex: 1 0 auto;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #c3d0bd;
    border-radius: 8px;
    background: #eef2e8;
    color: var(--ink);
    font: inherit;
    font-size: .85rem;
    font-weight: 650;
    cursor: pointer;
}

.cookie-settings-actions button:hover {
    background: #e0eadc;
}
