/* t312 — star dock mid-right, chic bubbles, long-press red close */

#sebha-reopen {
  position: fixed !important;
  right: 10px !important;
  left: auto !important;
  top: 50% !important;
  bottom: auto !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  z-index: 12110 !important;
  border: 1.6px solid rgba(230, 198, 92, 0.95) !important;
  background:
    radial-gradient(circle at 36% 30%, #3d7a52, #12281c 70%) !important;
  color: #F6E27A !important;
  font-size: 26px !important;
  line-height: 1 !important;
  display: grid !important;
  place-items: center !important;
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.42) !important;
  cursor: pointer !important;
  padding: 0 !important;
  pointer-events: auto !important;
  transform: translateY(-50%) !important;
  animation: sf-star-breathe 3.8s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  user-select: none;
}
#sebha-reopen[hidden] { display: none !important; }
#sebha-reopen.is-dragging,
#sebha-reopen.is-armed {
  animation: none !important;
  transform: none !important;
}
#sebha-reopen.is-armed {
  box-shadow:
    0 0 0 4px rgba(255, 107, 107, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.42) !important;
}

@keyframes sf-star-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16), 0 8px 20px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.28), 0 8px 22px rgba(0, 0, 0, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
  #sebha-reopen { animation: none !important; }
}

/* Red close — only after long-press, clearer and larger */
#subha-dismiss,
#sebha-futura-dismiss,
.subha-dismiss {
  width: 84px !important;
  height: 84px !important;
  margin-left: -42px !important;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  background: rgba(200, 36, 36, 0.42) !important;
  border: 2.5px solid #ff4d4d !important;
  color: #fff !important;
  font-size: 34px !important;
  box-shadow: 0 10px 28px rgba(180, 0, 0, 0.35) !important;
}
.subha-dismiss.is-hot,
#sebha-futura-dismiss.is-hot,
#subha-dismiss.is-hot {
  background: #e02424 !important;
  border-color: #fff !important;
  transform: translate3d(0, 0, 0) scale(1.18) !important;
}

/* Chic message / reminder bubbles */
.sf-chic {
  position: fixed;
  z-index: 12130;
  max-width: min(240px, 72vw);
  padding: 11px 15px;
  border-radius: 18px 18px 8px 18px;
  background: linear-gradient(165deg, rgba(24, 54, 38, 0.96), rgba(8, 22, 16, 0.96));
  border: 1px solid rgba(230, 198, 92, 0.55);
  color: #fff6c8;
  font: 600 13.5px/1.5 "Cairo", "Tajawal", sans-serif;
  letter-spacing: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.sf-chic.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.sf-chic.is-out {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
}
.sf-chic.is-remind {
  border-color: rgba(230, 198, 92, 0.8);
}
.sf-chic small {
  display: block;
  margin-top: 4px;
  color: #c9b56a;
  font-weight: 500;
  font-size: 11.5px;
}

#subha-suggest-pop,
.subha-suggest-pop {
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(18, 44, 30, 0.97), rgba(8, 22, 16, 0.97)) !important;
  border: 1px solid rgba(230, 198, 92, 0.5) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4) !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
