/* ML Cookie Consent - Medialive */
.mlc-overlay{--mlc-accent:#16a34a;--mlc-ink:#0b1020;--mlc-muted:#5b6472;--mlc-bd:#e6e9ef;
  position:fixed;inset:0;z-index:99990;pointer-events:none}
.mlc-overlay.mlc-has-modal{background:rgba(11,16,32,.45);pointer-events:auto;opacity:0;transition:opacity .25s ease}
.mlc-overlay.is-open.mlc-has-modal{opacity:1}

.mlc-panel{pointer-events:auto;position:fixed;background:#fff;color:var(--mlc-ink);
  box-shadow:0 -6px 30px rgba(11,16,32,.18);font-size:15px;line-height:1.5;
  transform:translateY(20px);opacity:0;transition:transform .25s ease,opacity .25s ease}
.mlc-overlay.is-open .mlc-panel{transform:none;opacity:1}

.mlc-pos-bar{left:0;right:0;bottom:0;padding:18px clamp(16px,4vw,40px);
  display:grid;grid-template-columns:1fr auto;gap:14px 28px;align-items:center;border-top:3px solid var(--mlc-accent)}
.mlc-pos-bar .mlc-cats{grid-column:1 / -1}
.mlc-pos-bar .mlc-actions{justify-content:flex-end}

.mlc-pos-card-left,.mlc-pos-card-right{bottom:20px;width:min(420px,calc(100vw - 32px));
  border-radius:16px;padding:20px;border:1px solid var(--mlc-bd)}
.mlc-pos-card-left{left:20px}
.mlc-pos-card-right{right:20px}

.mlc-title{margin:0 0 6px;font-size:1.08rem;font-weight:800;letter-spacing:-.01em}
.mlc-desc{margin:0;color:var(--mlc-muted);max-width:70ch}
.mlc-policy{color:var(--mlc-accent);font-weight:700;text-decoration:underline}

.mlc-cats{margin:14px 0 4px;display:grid;gap:10px}
.mlc-cat{border:1px solid var(--mlc-bd);border-radius:12px;padding:12px 14px;background:#fafbfc}
.mlc-cat-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mlc-cat-title{font-weight:700}
.mlc-cat-desc{margin:6px 0 0;font-size:.9rem;color:var(--mlc-muted)}
.mlc-always{font-size:.78rem;font-weight:700;color:var(--mlc-accent);white-space:nowrap}

.mlc-switch{position:relative;display:inline-block;width:44px;height:25px;flex:0 0 auto}
.mlc-switch input{position:absolute;opacity:0;width:0;height:0}
.mlc-slider{position:absolute;inset:0;background:#cbd2dc;border-radius:999px;transition:background .2s ease;cursor:pointer}
.mlc-slider::before{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;background:#fff;border-radius:50%;
  box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s ease}
.mlc-switch input:checked + .mlc-slider{background:var(--mlc-accent)}
.mlc-switch input:checked + .mlc-slider::before{transform:translateX(19px)}
.mlc-switch input:focus-visible + .mlc-slider{outline:2px solid var(--mlc-accent);outline-offset:2px}
.mlc-switch input:disabled + .mlc-slider{opacity:.55;cursor:not-allowed}

.mlc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.mlc-btn{appearance:none;border:1px solid transparent;border-radius:10px;padding:10px 16px;
  font-size:.92rem;font-weight:700;cursor:pointer;line-height:1;transition:filter .15s ease,background .15s ease,border-color .15s ease}
.mlc-btn:focus-visible{outline:2px solid var(--mlc-accent);outline-offset:2px}
.mlc-btn-primary{background:var(--mlc-accent);color:#fff}
.mlc-btn-primary:hover{filter:brightness(.94)}
.mlc-btn-soft{background:#eef1f5;color:var(--mlc-ink)}
.mlc-btn-soft:hover{background:#e3e8ee}
.mlc-btn-ghost{background:transparent;color:var(--mlc-ink);border-color:var(--mlc-bd)}
.mlc-btn-ghost:hover{border-color:var(--mlc-accent);color:var(--mlc-accent)}

@media (max-width:640px){
  .mlc-pos-bar{grid-template-columns:1fr}
  .mlc-actions{justify-content:stretch}
  .mlc-btn{flex:1 1 auto;text-align:center}
}

@media (prefers-color-scheme:dark){
  .mlc-panel{background:#11161f;color:#eef1f5;--mlc-ink:#eef1f5;--mlc-muted:#9aa3b0;--mlc-bd:#2a3140}
  .mlc-cat{background:#161c27}
  .mlc-btn-soft{background:#222a36;color:#eef1f5}
  .mlc-btn-soft:hover{background:#2b3543}
}
