.lcm-dialog-open { overflow: hidden; }
#lcm-root { --lcm-accent: #d7b56d; --lcm-bg: #111; --lcm-text: #fff; --lcm-radius: 8px; font-family: inherit; }
#lcm-root [hidden] { display: none !important; }
.lcm-backdrop { position: fixed; inset: 0; z-index: 999998; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); }
.lcm-dialog { position: fixed; z-index: 999999; left: 50%; bottom: 24px; width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto; transform: translateX(-50%); box-sizing: border-box; padding: 30px; color: var(--lcm-text); background: var(--lcm-bg); border: 1px solid color-mix(in srgb, var(--lcm-text) 18%, transparent); border-radius: calc(var(--lcm-radius) + 8px); box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.lcm-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--lcm-accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lcm-shield { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--lcm-bg); background: var(--lcm-accent); }
.lcm-dialog h2 { margin: 0 0 12px; color: inherit; font-size: clamp(24px, 4vw, 36px); line-height: 1.12; }
.lcm-dialog > p { margin: 0 0 22px; color: color-mix(in srgb, var(--lcm-text) 78%, transparent); font-size: 15px; line-height: 1.6; }
.lcm-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.lcm-button { min-height: 48px; padding: 11px 16px; cursor: pointer; color: var(--lcm-text); background: transparent; border: 1px solid color-mix(in srgb, var(--lcm-text) 35%, transparent); border-radius: var(--lcm-radius); font: inherit; font-weight: 700; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.lcm-button:hover, .lcm-button:focus-visible { border-color: var(--lcm-accent); outline: none; transform: translateY(-1px); }
.lcm-accept-all, .lcm-save-selection { color: #111; background: var(--lcm-accent); border-color: var(--lcm-accent); }
.lcm-save-selection { grid-column: 1 / -1; }
.lcm-preferences { display: grid; gap: 9px; margin: 20px 0 4px; }
.lcm-choice { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; border: 1px solid color-mix(in srgb, var(--lcm-text) 18%, transparent); border-radius: var(--lcm-radius); }
.lcm-choice span { display: grid; gap: 3px; }
.lcm-choice strong { color: inherit; }
.lcm-choice small { color: color-mix(in srgb, var(--lcm-text) 65%, transparent); line-height: 1.35; }
.lcm-choice input { width: 22px; height: 22px; accent-color: var(--lcm-accent); }
.lcm-choice i { grid-column: 2; grid-row: 1; color: var(--lcm-accent); font-size: 11px; font-style: normal; }
.lcm-choice.is-required { cursor: default; }
.lcm-choice.is-required input { visibility: hidden; }
.lcm-legal { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 12px; }
.lcm-legal a { color: var(--lcm-text); text-decoration: underline; text-underline-offset: 3px; }
.lcm-legal span { margin-left: auto; opacity: .55; }
.lcm-floating { position: fixed; z-index: 999990; left: 18px; right: auto; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; color: #111; background: var(--lcm-accent); border: 0; border-radius: 50%; box-shadow: 0 8px 25px rgba(0,0,0,.28); font-size: 18px; font-weight: 800; }
.lcm-preview-badge { position:fixed; z-index:1000000; top:44px; left:50%; transform:translateX(-50%); padding:7px 12px; color:#111; background:#f3d778; border-radius:999px; box-shadow:0 4px 16px rgba(0,0,0,.18); font-size:12px; font-weight:800; }
.lcm-open-settings:not(.lcm-floating) { cursor: pointer; }
.lcm-embed-placeholder { display: grid; place-items: center; min-height: 260px; padding: 30px; text-align: center; background: #ececec; border-radius: 8px; }
.lcm-embed-placeholder button { padding: 10px 16px; cursor: pointer; }
.lcm-policy { max-width: 1100px; }
.lcm-policy h2 { margin-top: 0; }
.lcm-policy h3 { margin-top: 1.5em; }
.lcm-policy p, .lcm-policy li { line-height: 1.65; }
.lcm-policy .lcm-table-scroll { max-width:100%; overflow-x:auto; margin:24px 0; }
.lcm-cookie-table { width:100%; min-width:820px; border-collapse:collapse; font-size:14px; }
.lcm-cookie-table th, .lcm-cookie-table td { padding:12px; text-align:left; vertical-align:top; border:1px solid #dcdcde; }
.lcm-cookie-table th { background:#f6f7f7; }
.lcm-cookie-table code { white-space:nowrap; }
.lcm-policy .lcm-open-settings { padding:10px 16px; border:1px solid currentColor; border-radius:6px; background:transparent; color:inherit; font:inherit; }
@media (max-width: 680px) {
  .lcm-dialog { bottom: 10px; width: calc(100% - 20px); max-height: calc(100vh - 20px); padding: 22px; }
  .lcm-actions { grid-template-columns: 1fr; }
  .lcm-save-selection { grid-column: auto; }
  .lcm-legal span { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lcm-button { transition: none; }
}
