:root {
  --dfs-radius: 999px;
}

.dfs-root, .dfs-shortcode-wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--dfs-text, #fff);
  box-sizing: border-box;
}
.dfs-root *, .dfs-shortcode-wrap * { box-sizing: border-box; }

.dfs-position-floating_bottom {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99998;
}
.dfs-position-floating_top {
  position: fixed;
  left: 16px;
  right: 16px;
  top: 16px;
  z-index: 99998;
}
.dfs-position-inline {
  position: static;
}

.dfs-banner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.14), transparent 26%),
    linear-gradient(135deg, var(--dfs-bg, #39251C), #6f3d25 58%, #2d1917);
  color: var(--dfs-text, #fff);
  box-shadow: 0 16px 42px rgba(38,20,10,.25);
  backdrop-filter: blur(12px);
}
.dfs-banner-inline { position: relative; }
.dfs-banner-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}
.dfs-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--dfs-radius);
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dfs-banner-text { font-size: 17px; white-space: nowrap; }
.dfs-highlight {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.dfs-secondary-text, .dfs-urgency { font-size: 14px; opacity: .94; }
.dfs-countdown {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--dfs-radius);
  background: var(--dfs-countdown-bg, rgba(255,255,255,.18));
  color: var(--dfs-text, #fff);
  font-size: 13px;
  white-space: nowrap;
}
.dfs-banner-actions, .dfs-popup-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.dfs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: var(--dfs-radius);
  font-weight: 800;
  text-decoration: none !important;
  line-height: 1.1;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.dfs-btn:hover { transform: translateY(-1px); opacity: .96; }
.dfs-btn-primary {
  background: var(--dfs-primary-bg, #c79a3b);
  color: var(--dfs-primary-text, #2B1A12) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}
.dfs-btn-secondary {
  background: var(--dfs-secondary-bg, #f7e8c8);
  color: var(--dfs-secondary-text, #3B2418) !important;
}
.dfs-btn-ghost {
  background: transparent;
  color: var(--dfs-text, #fff) !important;
  border: 1px solid var(--dfs-ghost-border, rgba(255,255,255,.42));
}

.dfs-popup-overlay[hidden] { display: none !important; }
.dfs-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20,12,8,.54);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.dfs-popup-overlay.dfs-is-open,
.dfs-popup-preview-mode {
  opacity: 1;
  visibility: visible;
}
.dfs-popup-preview-mode {
  position: static;
  inset: auto;
  background: transparent;
  padding: 0;
}
.dfs-popup {
  position: relative;
  width: min(940px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  gap: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0, rgba(255,255,255,.58), transparent 28%),
    linear-gradient(135deg, #fff9ee, #f8e6cd 44%, #39251C 44%, #291818);
  color: #2B1A12;
  box-shadow: 0 34px 90px rgba(0,0,0,.36);
}
.dfs-popup-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #2B1A12;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.dfs-popup-image {
  min-height: 280px;
  background: #fff8ef;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
}
.dfs-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dfs-popup-content {
  padding: 34px 34px 30px;
  color: #fff;
}
.dfs-eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(199,154,59,.2);
  color: #F7E8C8;
  border: 1px solid rgba(247,232,200,.25);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dfs-popup h3 {
  margin: 0 0 4px;
  font-size: clamp(28px, 5vw, 54px);
  line-height: .98;
  color: #fff;
  letter-spacing: -.04em;
}
.dfs-popup h3 span { color: #FFE09A; }
.dfs-popup-date {
  display: inline-flex;
  margin: 8px 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-weight: 800;
  color: #fff;
}
.dfs-popup p { margin: 0 0 14px; color: rgba(255,255,255,.88); line-height: 1.55; }
.dfs-bullets {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.dfs-bullets li {
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,.94);
  line-height: 1.35;
}
.dfs-bullets li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #CBA365;
  color: #2B1A12;
  font-size: 12px;
  font-weight: 900;
}
.dfs-countdown-popup { margin: 4px 0 14px; }
.dfs-code {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,.35);
  border-radius: 14px;
  color: rgba(255,255,255,.9);
}

@media (max-width: 767px) {
  .dfs-root.dfs-hide-mobile { display: none !important; }
  .dfs-position-floating_bottom, .dfs-position-floating_top { left: 10px; right: 10px; }
  .dfs-banner { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 12px; }
  .dfs-banner-main { justify-content: center; text-align: center; }
  .dfs-banner-actions { justify-content: center; }
  .dfs-banner-text { font-size: 15px; white-space: normal; }
  .dfs-highlight { font-size: 26px; }
  .dfs-secondary-text, .dfs-urgency { font-size: 13px; }
  .dfs-popup { grid-template-columns: 1fr; border-radius: 22px; max-height: calc(100vh - 24px); }
  .dfs-popup-image { min-height: 0; max-height: 42vh; aspect-ratio: 1; border-radius: 22px 22px 0 0; }
  .dfs-popup-content { padding: 18px 20px 22px; }
  .dfs-popup-actions { align-items: stretch; }
  .dfs-popup-actions .dfs-btn { width: 100%; }
}

@media (min-width: 768px) {
  .dfs-root.dfs-hide-desktop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .dfs-btn, .dfs-popup-overlay { transition: none; }
}

/* Full Soft December 2026: accessible focus state and smaller mobile bar */
.dfs-btn:focus-visible, .dfs-popup-close:focus-visible { outline: 3px solid #ffd883; outline-offset: 3px; }
.dfs-highlight { color: #ffe5bb; }
.dfs-banner-text strong { color: #ffffff; }
.dfs-popup-image img { max-height: 650px; }
.dfs-popup-content h3 { line-height: 1.17; }
@media (max-width: 767px) {
  .dfs-position-floating_bottom { bottom: max(9px, env(safe-area-inset-bottom)); }
  .dfs-banner { padding: 9px 12px; gap: 9px; }
  .dfs-banner-main { gap: 5px 7px; }
  .dfs-urgency { display: none; }
  .dfs-badge { font-size: 10px; }
  .dfs-banner-actions .dfs-btn { flex: 1 1 auto; }
}

.dfs-modal-open { overflow: hidden; }
