.dahlia-consent { position: fixed; z-index: 10000; bottom: 0; left: 0; width: 100%; max-height: 85vh; overflow-y: auto; background: #fffaf8; color: #302831; border-top: 1px solid #bc9caa; box-shadow: 0 -4px 22px #30283118; font: 14px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", Meiryo, sans-serif; box-sizing: border-box; }
.dahlia-consent[hidden], .dahlia-consent [hidden] { display: none !important; }
.dahlia-consent-inner { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 max(18px, env(safe-area-inset-bottom)); }
.dahlia-consent h2 { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.dahlia-consent p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; text-wrap: pretty; }
.dahlia-consent p.dahlia-consent-note { font-size: 12px; color: #62535b; }
.dahlia-consent a { color: #754059; text-decoration: underline; margin-left: .4em; }
.dahlia-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.dahlia-consent button { appearance: none; border: 1px solid #80616f; border-radius: 4px; background: #fff; color: #50333f; padding: 10px 18px; min-height: 44px; font: inherit; font-weight: 600; cursor: pointer; }
.dahlia-consent button:hover { background: #f0e4e9; }
.dahlia-consent button:focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid #754059; outline-offset: 3px; }
[data-cookie-settings] { font: inherit; color: inherit; background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.dahlia-consent fieldset { margin-top: 14px; border: 1px solid #bc9caa; padding: 12px; }
.dahlia-consent fieldset label { display: block; font: inherit; margin-bottom: 10px; }
.dahlia-consent input[type="checkbox"] { appearance: auto; display: inline-block; width: 18px; height: 18px; vertical-align: middle; margin: 0 6px 0 0; accent-color: #754059; }
@media (max-width: 480px) { .dahlia-consent-inner { width: calc(100% - 28px); padding-top: 14px; } .dahlia-consent button { flex: 1 1 130px; padding-inline: 10px; } }

/* Settings open in the footer flow; no sticky panel or initial popup. */
.dahlia-consent { position: static; width: 100%; max-height: none; margin-top: 16px; border: 1px solid #bc9caa; border-radius: 6px; box-shadow: none; text-align: left; }
.site-footer [data-cookie-settings] { font-size: 14px; }
.cookie-footer-notice { font-size: 14px; line-height: 1.7; }
