.fitapp-dashboard-notice {
  position: fixed;
  right: 18px;
  bottom: calc(var(--tabbar-height, 96px) + 18px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.fitapp-dashboard-notice__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0586c7 0%, #0ba6f7 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(5, 134, 199, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  pointer-events: auto;
}

.fitapp-dashboard-notice__icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(5, 134, 199, 0.38);
}

.fitapp-dashboard-notice__icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fitapp-dashboard-notice__icon svg {
  width: 26px;
  height: 26px;
}

.fitapp-dashboard-notice__popup {
  max-width: 360px;
  padding: 16px;
  border-radius: 16px;
  background: var(--c-surface, #fff);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
  color: var(--c-deep, #0f172a);
  border: 1px solid var(--c-border, #e2e8f0);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.fitapp-dashboard-notice__popup[hidden] {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  pointer-events: none;
}

.fitapp-dashboard-notice__popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.fitapp-dashboard-notice__text {
  font-size: 14px;
  line-height: 1.5;
  color: inherit;
  margin-bottom: 14px;
}

.fitapp-dashboard-notice__text p {
  margin: 0 0 8px;
}

.fitapp-dashboard-notice__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.fitapp-dashboard-notice__btn {
  padding: 10px 14px;
  border-radius: 12px;
  background: #0586c7;
  color: #fff;
  border: 1px solid #0586c7;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fitapp-dashboard-notice__btn:hover {
  background: #0b9de8;
  border-color: #0b9de8;
}

.fitapp-dashboard-notice__btn--secondary {
  background: #f8fafc;
  color: #1e293b;
  border-color: #e2e8f0;
}

.fitapp-dashboard-notice__btn--secondary:hover {
  background: #e2e8f0;
}

.fitapp-dashboard-notice.is-dismissed {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .fitapp-dashboard-notice {
    right: 12px;
    bottom: calc(var(--tabbar-height, 96px) + 12px + env(safe-area-inset-bottom));
  }

  .fitapp-dashboard-notice__popup {
    max-width: min(340px, 90vw);
  }
}
