.mls-black-friday[hidden] { display:none; }
.mls-black-friday {
  color:#fff8e9;
  background:#781f3b;
  border:1px solid #deb86a;
  border-radius:16px;
  font-family:system-ui,sans-serif;
  line-height:1.32;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
  padding:.8rem 1rem;
  box-sizing:border-box;
}
.mls-bf-inline { margin:1.25rem 0 .2rem; }
.mls-bf-fixed {
  position:fixed;
  z-index:70;
  bottom:max(.6rem, env(safe-area-inset-bottom));
  right:max(.6rem, env(safe-area-inset-right));
  width:min(36rem, calc(100% - 1.2rem));
  box-shadow:0 6px 28px #0a201b55;
  padding-right:2.7rem;
}
.mls-bf-visible { padding-bottom:var(--mls-bf-clearance, calc(8.5rem + env(safe-area-inset-bottom))); }
.mls-bf-copy { min-width:0; display:grid; gap:.13rem; }
.mls-bf-tag { color:#ffdda0; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; font-weight:750; }
.mls-bf-price { font-size:clamp(.97rem, 2.4vw, 1.22rem); }
.mls-bf-extras, .mls-bf-deadline { font-size:.77rem; }
.mls-bf-deadline { color:#f8e3cb; }
.mls-bf-action, .mls-bf-action:hover {
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#512038;
  background:#fff3d4;
  padding:.55rem .9rem;
  min-height:44px;
  border-radius:24px;
  font-size:.86rem;
  font-weight:750;
  box-sizing:border-box;
  text-decoration:none;
  white-space:nowrap;
}
button.mls-bf-close {
  background:transparent;
  border:0;
  box-shadow:none;
  color:#fff8e9;
  position:absolute;
  top:0;
  right:0;
  min-width:42px;
  min-height:42px;
  padding:0;
  font-size:1.35rem;
}
.mls-black-friday :focus-visible { outline:2px solid #fff8e9; outline-offset:3px; }
.letter-card:has(.mls-bf-inline:not([hidden])) #trial-letter-standard { display:none; }
#admin-content .mls-history-entry { color:#fff8e9; background:#781f3b; border-color:#781f3b; }
.mls-history-launch { margin:0 0 1rem; }
#admin-content .mls-history-entry { width:100%; text-align:center; min-height:44px; }
.mls-history-filters button[aria-pressed="true"] { color:#fff8e9; background:#123f35; border-color:#123f35; }
.mls-history-search { display:flex; align-items:end; gap:.6rem; margin:.75rem 0; }
.mls-history-search label { flex:1; min-width:0; }
.mls-history-search input { width:100%; }
.mls-history-row > span:not(.admin-opening-badge) { display:block; font-size:.89em; margin-top:.25rem; }
@media (max-width:440px) {
  .mls-bf-fixed { gap:.45rem; padding:.65rem 2.15rem .65rem .72rem; }
  .mls-bf-fixed .mls-bf-action { padding:.46rem .63rem; }
  button.mls-bf-close { min-width:34px; }
}

/* V2: gift eligibility stays next to the offer; dock remains a short summary. */
.mls-bf-condition { font-size:.82rem; color:#ffdda0; margin-top:.25rem; }
.mls-bf-bonus { color:#fff3d4; font-size:.9rem; line-height:1.38; }
.mls-bf-fixed .mls-bf-bonus { font-size:.77rem; font-weight:650; }
.mls-bf-inline .mls-bf-extras { font-size:.85rem; }
.mls-bf-inline .mls-bf-action { align-self:center; }
@media (max-width:440px) {
  .mls-bf-inline { align-items:stretch; flex-direction:column; }
  .mls-bf-inline .mls-bf-action { align-self:flex-start; }
}
