/* === 매일 아침 8시 Web Push 알림 & 30일 좋은 날 달력 === */
.ss-dp-card, .ss-cal-wrap {
  margin: 18px auto 22px; padding: 20px 22px; border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #faf6ee 100%);
  border: 1px solid #e5dfd4; color: #182131;
}
.ss-dp-eyebrow { display: block; font-size: 12px; font-weight: 800; color: #8b6a3e; margin-bottom: 4px; }
.ss-dp-card h2, .ss-cal-wrap h2 { margin: 0 0 6px; font-family: 'Gowun Batang', Georgia, serif; font-size: 20px; line-height: 1.38; color: #182131; word-break: keep-all; text-wrap: balance; }
.ss-dp-desc { margin: 0 0 14px; font-size: 14px; line-height: 1.66; color: #3d4654; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
.ss-dp-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.ss-dp-birth, .ss-cal-field { display: flex; flex-direction: column; gap: 4px; }
.ss-dp-birth span, .ss-cal-field span { font-size: 12px; font-weight: 700; color: #4a5363; }
.ss-dp-birth input, .ss-cal-form input { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid #d5ccb9; background: #ffffff; color: #182131; font-size: 13.5px; }
.ss-dp-btn, .ss-cal-apply {
  height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid #182131;
  background: #182131; color: #f8f5ef; font-size: 13.5px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: all .2s cubic-bezier(0.22,1,0.36,1);
}
.ss-dp-btn:hover, .ss-cal-apply:hover { background: #26354d; }
.ss-dp-btn.is-active { background: #edf5f0; border-color: #2b664b; color: #1f4f38; }
.ss-dp-btn:disabled { opacity: .55; cursor: not-allowed; }
.ss-dp-status { margin: 9px 0 0; font-size: 13px; font-weight: 600; color: #1f4f38; line-height: 1.55; word-break: keep-all; }

.ss-cal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ss-cal-form { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ss-cal-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.ss-cal-fbtn {
  padding: 6px 13px; border-radius: 999px; border: 1px solid #d5ccb9; background: #ffffff;
  color: #3a4454; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.ss-cal-fbtn.is-active { background: #182131; border-color: #182131; color: #f8f5ef; }
.ss-cal-glossary {
  margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: #f8f5ef; border: 1px solid #e5dfd4;
  font-size: 12.5px; line-height: 1.6; color: #3d4654; word-break: keep-all; text-wrap: pretty;
}
.ss-cal-glossary strong { color: #7a5c32; margin-right: 6px; }
.ss-cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ss-cal-loading { grid-column: 1 / -1; padding: 18px; text-align: center; font-size: 13.5px; color: #4a5363; word-break: keep-all; }
.ss-cal-cell {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 9px; border-radius: 12px;
  border: 1px solid #e5dfd4; background: #ffffff; color: #182131; text-align: left; cursor: pointer;
  transition: border-color .18s ease, transform .18s cubic-bezier(0.22,1,0.36,1);
}
.ss-cal-cell:hover { border-color: #8b6a3e; transform: translateY(-1px); }
.ss-cal-cell.is-good, .ss-cal-cell.is-auspicious { background: #f6fbf8; border-color: #c7dfd0; }
.ss-cal-cell.is-caution { background: #fdf7f6; border-color: #e6c6c1; }
.ss-cal-cell.is-selected { border-color: #182131; box-shadow: 0 0 0 1.5px #182131; }
.ss-cal-c-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; gap: 4px; }
.ss-cal-gz { font-weight: 800; color: #7a5c32; white-space: nowrap; }
.ss-cal-c-mid { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ss-cal-duty { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: #f2ece0; color: #5b4523; white-space: nowrap; }
.ss-cal-son { font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #182131; color: #f2dfb8; white-space: nowrap; }
.ss-cal-c-sub { font-size: 11.5px; color: #434d5c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-cal-detail { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #ffffff; border: 1px solid #dfd6c6; }
.ss-cal-det-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.ss-cal-det-top span { font-size: 13px; color: #4a5363; }
.ss-cal-son-pill { font-style: normal; padding: 2px 9px; border-radius: 999px; background: #182131; color: #f2dfb8; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ss-cal-det-body { margin: 0; font-size: 13.5px; color: #2b3545; line-height: 1.64; word-break: keep-all; text-wrap: pretty; }

@media (max-width: 760px) {
  .ss-dp-card, .ss-cal-wrap { padding: 16px 14px; }
  .ss-cal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
