/* December to Remember — premium holiday gift band, countdown and inviter card. */
.holiday-gift {
  position: relative;
  margin: 22px 0 18px;
  border: 1px solid #6b5a2f;
  border-radius: 22px;
  background:
    radial-gradient(120% 160% at 88% 10%, #1d3b34 0%, transparent 55%),
    radial-gradient(140% 180% at 10% 110%, #2a1d46 0%, transparent 60%),
    linear-gradient(120deg, #0a1322 0%, #0d1a2b 55%, #101527 100%);
  box-shadow: 0 30px 80px #00000059, inset 0 0 0 1px #f6d4771a;
  overflow: hidden;
}
.holiday-gift:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 82% 30%, #53ffb01f, transparent 70%);
  pointer-events: none;
}
.holiday-gift-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  gap: 26px;
  padding: 30px 34px 32px;
  align-items: center;
}
.holiday-kicker {
  margin: 0 0 8px;
  color: #f0d58a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.holiday-gift h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #ffffff;
}
.holiday-subtitle {
  margin: 10px 0 0;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 800;
  color: #53ffb0;
}
.holiday-tagline {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #cbb6ea;
}
.holiday-benefits {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.holiday-benefits li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  min-width: 0;
}
.holiday-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  border: 1px solid #e7c46a4d;
  background: #e7c46a14;
  color: #f0d58a;
  font-size: 16px;
}
.holiday-benefits b {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  color: #f4f6fb;
}
.holiday-benefits small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.35;
  color: #9aa6bd;
}
.holiday-countdown {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #ffffff17;
  background: #050a12a6;
  backdrop-filter: blur(4px);
}
.holiday-count {
  min-width: 62px;
  padding: 7px 6px;
  text-align: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #131f31, #0b1421);
  border: 1px solid #2b3a52;
}
.holiday-count b {
  display: block;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #ffffff;
}
.holiday-count span {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8f9bb2;
}
.holiday-deadline {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: #b9c3d6;
}
.holiday-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.holiday-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}
.holiday-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 2px solid #f6d477;
  color: #14200f;
  background: linear-gradient(135deg, #f7dc94, #e0b455);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
  box-shadow: 0 12px 30px #e0b4553d;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.holiday-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 36px #e0b45554;
}
.holiday-cta:focus-visible,
.holiday-member:focus-visible {
  outline: 3px solid #ffe7a6;
  outline-offset: 3px;
}
.holiday-member {
  font-size: 14px;
  font-weight: 700;
  color: #53ffb0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.holiday-fine {
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #7f8ba2;
  max-width: 78ch;
}
.holiday-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}
.holiday-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, #53ffb03d 0%, #e7c46a1f 45%, transparent 70%);
  filter: blur(2px);
}
.gift-figure {
  position: relative;
  display: block;
  width: 190px;
  height: 170px;
  animation: gift-float 6s ease-in-out infinite;
}
.gift-body {
  position: absolute;
  inset: 44px 10px 0;
  border-radius: 10px 10px 14px 14px;
  background: linear-gradient(140deg, #132d3a, #0b1b2b 55%, #1c1633);
  border: 1px solid #e7c46a6b;
  box-shadow: inset 0 0 40px #53ffb00f, 0 24px 44px #00000080;
}
.gift-body:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, #ffffff12 46%, transparent 54%);
}
.gift-lid {
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1b3a45, #122334 60%, #241b3d);
  border: 1px solid #f0d58a8f;
  box-shadow: 0 8px 20px #00000066;
}
.gift-ribbon {
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 0;
  width: 26px;
  margin-left: -13px;
  background: linear-gradient(180deg, #f7dc94, #d9ab48 70%, #b98c31);
  box-shadow: 0 0 18px #f6d47740;
}
.gift-ribbon:after {
  content: "";
  position: absolute;
  left: -52px;
  right: -52px;
  top: 14px;
  height: 18px;
  background: linear-gradient(90deg, #d9ab48, #f7dc94 50%, #cfa348);
  opacity: .95;
}
.gift-bow {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 92px;
  height: 40px;
  margin-left: -46px;
}
.gift-bow:before,
.gift-bow:after {
  content: "";
  position: absolute;
  top: 0;
  width: 42px;
  height: 32px;
  border: 2px solid #f7dc94;
  background: #e7c46a1f;
  border-radius: 60% 60% 45% 55%;
}
.gift-bow:before { left: 0; transform: rotate(-18deg); }
.gift-bow:after { right: 0; transform: rotate(18deg) scaleX(-1); }
.gift-tag {
  position: absolute;
  right: -10px;
  bottom: 26px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #f7dc94;
  color: #1b1405;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
  transform: rotate(-6deg);
  box-shadow: 0 6px 16px #00000059;
}
.holiday-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffe7a6;
  box-shadow: 0 0 12px #ffe7a6;
  animation: gift-twinkle 4.5s ease-in-out infinite;
}
.spark-1 { top: 24px; right: 34px; }
.spark-2 { bottom: 40px; left: 26px; animation-delay: 1.4s; }
.spark-3 { top: 58px; left: 12px; animation-delay: 2.6s; }
@keyframes gift-float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-9px) rotate(.6deg); }
}
@keyframes gift-twinkle {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.25); }
}
.holiday-ended {
  position: relative;
  padding: 34px;
  max-width: 780px;
}
.holiday-ended h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  color: #f4f6fb;
}
.holiday-ended p {
  margin: 0 0 18px;
  color: #a9b4c8;
  line-height: 1.55;
}
.holiday-ended-cta { display: inline-flex; }
.holiday-ended .holiday-cta { display: none; }

/* Inviter profile card */
.holiday-inviter-card {
  position: relative;
  margin: 26px 0 0;
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid #6b5a2f;
  background:
    radial-gradient(90% 140% at 90% 0%, #1d3b34 0%, transparent 60%),
    linear-gradient(125deg, #0b1422, #121026);
  box-shadow: 0 22px 60px #00000059, inset 0 0 0 1px #f6d4771a;
}
.holiday-inviter-kicker {
  margin: 0 0 8px;
  color: #f0d58a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.holiday-inviter-card h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  color: #ffffff;
}
.holiday-inviter-card p {
  margin: 0 0 10px;
  color: #a9b4c8;
  line-height: 1.5;
}
.holiday-inviter-when {
  font-size: 12.5px;
  color: #b9c3d6;
  font-variant-numeric: tabular-nums;
}
.holiday-inviter-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  border: 2px solid #f6d477;
  background: linear-gradient(135deg, #f7dc94, #e0b455);
  color: #14200f;
  font-size: 14.5px;
  font-weight: 900;
  text-decoration: none;
}
.holiday-inviter-cta[disabled] {
  opacity: .55;
  cursor: not-allowed;
  background: #1b2434;
  border-color: #4a5468;
  color: #9aa6bd;
}
.holiday-inviter-unavailable {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #f6d4774d;
  background: #f6d4770f;
  color: #e6d3a1 !important;
  font-size: 13px;
}

@media (max-width: 900px) {
  .holiday-gift-main {
    grid-template-columns: 1fr;
    padding: 24px 20px 26px;
    gap: 6px;
  }
  .holiday-box {
    order: -1;
    min-height: 210px;
  }
  .gift-figure { width: 168px; height: 152px; }
  .holiday-benefits { grid-template-columns: 1fr; }
  .holiday-actions { flex-direction: column; align-items: stretch; }
  .holiday-cta { justify-content: center; }
  .holiday-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .holiday-count { min-width: 0; }
  .holiday-count b { font-size: 20px; }
  .holiday-member { text-align: center; }
}
@media (max-width: 360px) {
  .holiday-count b { font-size: 17px; }
  .holiday-count span { font-size: 8px; letter-spacing: .8px; }
  .holiday-inviter-card { padding: 20px; }
}
/* Author display rules must not defeat the hidden attribute. */
.holiday-gift [hidden],
.holiday-inviter-card[hidden],
.gift-page [hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .gift-figure { animation: none; }
  .holiday-spark { animation: none; opacity: .7; }
  .holiday-cta { transition: none; }
}

/* Release configuration: brokerage-dependent gift paused pending verification. */
.holiday-preview-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #f6d4774d;
  border-radius: 10px;
  background: #f6d4770f;
  color: #e6d3a1;
  font-size: 12px;
  line-height: 1.55;
  max-width: 70ch;
}
.holiday-inviter-note {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #f6d4774d;
  background: #f6d4770f;
  color: #e6d3a1 !important;
  font-size: 12.5px;
}
.holiday-inviter-preview { margin-top: 12px; }

/* Keep release-hidden campaign actions out of the layout: author display rules
   would otherwise override the hidden attribute. */
.holiday-inviter-cta[hidden],
.holiday-inviter-unavailable[hidden],
.holiday-inviter-preview[hidden],
.holiday-inviter-note[hidden],
.holiday-preview-note[hidden] { display: none !important; }
