#mushroom-cookie-banner {
    position: fixed; inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px;
    z-index: 99990; max-width: 1020px; margin: 0 auto; padding: 16px;
    display: flex; align-items: center; gap: 20px; box-sizing: border-box;
    background: #102010; color: #fff; border: 1px solid #456045;
    border-radius: 14px; box-shadow: 0 6px 30px #0006;
    font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
    text-align: left; max-height: 60dvh; overflow-y: auto;
}
#mushroom-cookie-banner[hidden] { display: none !important; }
#mushroom-cookie-banner p { margin: 0; flex: 1; color: inherit; font: inherit; }
#mushroom-cookie-banner a { color: #a4e7a4; text-decoration: underline; }
#mushroom-cookie-banner .cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 320px; max-width: 100%; gap: 8px; flex-shrink: 0; }
#mushroom-cookie-banner .cookie-choice {
    appearance: none; flex: 1; padding: 10px 12px; min-height: 44px;
    border: 1px solid #77aa77; border-radius: 9px; background: #214721;
    color: #fff; font: inherit; font-weight: 600; cursor: pointer;
    text-align: center; white-space: nowrap;
}
#mushroom-cookie-banner .cookie-choice:hover { background: #2e5e2e; }
#mushroom-cookie-banner .cookie-close {
    border: 0; padding: 6px; min-width: 32px; min-height: 32px;
    background: transparent; color: #fff; font: inherit; font-size: 22px; cursor: pointer;
}
#mushroom-cookie-banner .cookie-close[hidden] { display: none; }
.cookie-settings-footer { text-align: center; padding: 12px; }
.cookie-settings-footer [data-cookie-settings], .footer-links [data-cookie-settings] {
    border: 0; background: transparent; color: inherit; text-decoration: underline;
    font: inherit; padding: 4px; cursor: pointer;
}
#mushroom-cookie-banner :focus-visible, [data-cookie-settings]:focus-visible {
    outline: 2px solid #ffcc00; outline-offset: 3px;
}
@media (max-width: 760px) {
    #mushroom-cookie-banner { flex-wrap: wrap; gap: 12px; inset-inline: 8px; padding: 12px; font-size: 13px; }
    #mushroom-cookie-banner p { flex-basis: calc(100% - 44px); }
    #mushroom-cookie-banner .cookie-actions { order: 2; width: 100%; }
    #mushroom-cookie-banner .cookie-choice { white-space: normal; }
}
