/* Lace Secret consent center. Fixed-position only, so it never shifts page layout. */
.ls-consent{
  --ls-consent-wine:#390007;
  --ls-consent-wine-soft:#6d2630;
  --ls-consent-ink:#1b1214;
  --ls-consent-muted:#5f5558;
  --ls-consent-line:#e8dcd8;
  --ls-consent-surface:#fffdfb;
  --ls-consent-focus:#a65a69;
  font-family:"Poppins",Helvetica,Arial,sans-serif;
  color:var(--ls-consent-ink);
}
.ls-consent[hidden],.ls-consent [hidden]{display:none !important}

.ls-consent__banner{
  position:fixed;z-index:1500;
  left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));
  bottom:max(16px,env(safe-area-inset-bottom));
  max-width:980px;margin:0 auto;
  display:flex;align-items:center;gap:20px 28px;
  padding:20px 24px;box-sizing:border-box;
  background:var(--ls-consent-surface);
  border:1px solid var(--ls-consent-line);border-radius:12px;
  box-shadow:0 18px 50px rgba(23,8,12,.18);
}
.ls-consent__copy{flex:1 1 auto;min-width:0}
.ls-consent__title{margin:0 0 6px;font-size:16px;line-height:1.3;font-weight:600;color:var(--ls-consent-ink);letter-spacing:0}
.ls-consent__text{margin:0;font-size:13.5px;line-height:1.55;color:var(--ls-consent-muted)}
.ls-consent a{color:var(--ls-consent-wine);text-decoration:underline;text-underline-offset:2px}
.ls-consent__actions{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;width:min(360px,100%)}
.ls-consent__actions .ls-consent__button--ghost{grid-column:1 / -1}

.ls-consent__button{
  appearance:none;min-height:44px;padding:10px 16px;box-sizing:border-box;
  border:1px solid var(--ls-consent-wine);border-radius:8px;
  font:inherit;font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;
  transition:background-color .15s ease,color .15s ease;
}
.ls-consent__button--primary{background:var(--ls-consent-wine);color:#fff}
.ls-consent__button--primary:hover{background:var(--ls-consent-wine-soft)}
.ls-consent__button--ghost{background:transparent;color:var(--ls-consent-wine)}
.ls-consent__button--ghost:hover{background:rgba(57,0,7,.06)}
.ls-consent button:focus-visible,.ls-consent a:focus-visible,.ls-consent__panel:focus-visible,
.ls-consent__switch input:focus-visible + .ls-consent__switch-track{
  outline:3px solid var(--ls-consent-focus);outline-offset:2px;
}
.ls-consent__panel:focus{outline:none}

.ls-consent__overlay{position:fixed;inset:0;z-index:2147482500;background:rgba(16,5,8,.48)}
.ls-consent__panel{
  position:fixed;z-index:2147482501;
  left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(560px,calc(100vw - 32px));max-height:min(720px,calc(100dvh - 32px));
  display:flex;flex-direction:column;box-sizing:border-box;
  background:var(--ls-consent-surface);border-radius:12px;
  box-shadow:0 24px 70px rgba(16,5,8,.32);overflow:hidden;
}
.ls-consent__panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 12px;border-bottom:1px solid var(--ls-consent-line)}
.ls-consent__panel-head .ls-consent__title{margin:0}
.ls-consent__close{
  appearance:none;width:44px;height:44px;margin:-8px -10px -8px 0;border:0;border-radius:8px;
  background:transparent;color:var(--ls-consent-ink);font-size:26px;line-height:1;cursor:pointer;
}
.ls-consent__panel-body{padding:16px 20px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ls-consent__categories{list-style:none;margin:14px 0 0;padding:0}
.ls-consent__category{padding:14px 0;border-top:1px solid var(--ls-consent-line)}
.ls-consent__category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
.ls-consent__category-title{font-size:15px;font-weight:600}
.ls-consent__category-text{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--ls-consent-muted)}
.ls-consent__always{font-size:12.5px;font-weight:500;color:var(--ls-consent-wine)}
.ls-consent__links{margin:12px 0 0;font-size:13px;color:var(--ls-consent-muted)}

.ls-consent__switch{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:-6px -2px -6px 0;cursor:pointer}
.ls-consent__switch input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.ls-consent__switch-track{position:relative;display:block;width:42px;height:24px;border-radius:999px;background:#cfc4c6;transition:background-color .15s ease}
.ls-consent__switch-track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s ease}
.ls-consent__switch input:checked + .ls-consent__switch-track{background:var(--ls-consent-wine)}
.ls-consent__switch input:checked + .ls-consent__switch-track::after{transform:translateX(18px)}

.ls-consent__panel-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--ls-consent-line)}
.ls-consent__panel-actions .ls-consent__button{flex:1 1 150px}

.ls-consent__status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

html.ls-consent-locked,html.ls-consent-locked body{overflow:hidden}

/* Footer entry styled as the surrounding legal links. */
.ls-consent-open{appearance:none;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;text-decoration:inherit}
.ls-consent-open:hover{text-decoration:underline}
.ls-consent-open:focus-visible{outline:2px solid currentColor;outline-offset:2px}

@media (max-width:760px){
  .ls-consent__banner{flex-direction:column;align-items:stretch;gap:14px;padding:16px;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));max-height:calc(100dvh - 20px);overflow-y:auto}
  .ls-consent__title{font-size:15px}
  .ls-consent__text{font-size:13px}
  .ls-consent__actions{width:100%}
}
@media (max-width:480px){
  .ls-consent__panel{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-height:calc(100dvh - 24px);border-radius:14px 14px 0 0}
  .ls-consent__panel-actions .ls-consent__button{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){
  .ls-consent__button,.ls-consent__switch-track,.ls-consent__switch-track::after{transition:none}
}
