/* Saudação ao abrir o app */
#cs-saudacao {
  position: fixed; z-index: 85;
  top: 18px; left: 50%;
  width: min(560px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 16px;
  border-radius: 20px;
  color: #fff;
  font-family: "Public Sans", system-ui, sans-serif;
  box-shadow: 0 20px 50px rgba(12, 27, 41, .35);
  overflow: hidden;
  transform: translate(-50%, -140%); opacity: 0;
  transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), opacity .35s;
}
#cs-saudacao.on { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 1024px) { #cs-saudacao { left: calc(50% + 124px); } }

.cs-saud-dia   { background: linear-gradient(120deg, #f37022, #f5a03a 55%, #ffcf6b); }
.cs-saud-tarde { background: linear-gradient(120deg, #d7263d, #f37022 60%, #f5a03a); }
.cs-saud-noite { background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(243, 112, 34, .35), transparent 60%), linear-gradient(120deg, #0c1b29, #13293d 60%, #1f3d5c); }

.cs-saud-emoji {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  background: rgba(255, 255, 255, .2);
  animation: csSaudEmoji 2.4s ease-in-out infinite;
}
@keyframes csSaudEmoji { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) scale(1.06); } }
.cs-saud-txt { flex: 1; min-width: 0; }
.cs-saud-txt strong { display: block; font-family: "Oswald", sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1.15; letter-spacing: .2px; }
.cs-saud-txt span { display: block; font-size: .88rem; opacity: .92; margin-top: 2px; line-height: 1.35; }
.cs-saud-txt a { color: #fff; font-weight: 700; }
.cs-saud-btn {
  flex: 0 0 auto; text-decoration: none; font-weight: 700; font-size: .9rem;
  padding: 9px 16px; border-radius: 999px; background: #fff; color: #13293d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15); transition: transform .2s;
}
.cs-saud-btn:hover { transform: translateY(-2px); }
.cs-saud-fechar {
  position: absolute; top: 4px; right: 8px; border: 0; background: none; color: rgba(255, 255, 255, .8);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.cs-saud-tempo { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255, 255, 255, .55); transform-origin: left; animation: csSaudTempo 9s linear forwards; }
@keyframes csSaudTempo { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 640px) {
  #cs-saudacao { top: 78px; flex-wrap: wrap; gap: 10px; }
  .cs-saud-txt { flex-basis: calc(100% - 70px); }
  .cs-saud-btn { margin-left: 62px; }
  .cs-saud-txt strong { font-size: 1.12rem; }
}
@media print { #cs-saudacao { display: none !important; } }
