.ttp-prompt {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 40px);
  max-width: 420px;
  padding: 14px 16px;
  box-sizing: border-box;
  background: #fff;
  color: #1d2327;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}
.ttp-prompt.is-visible { opacity: 1; transform: none; }
.ttp-prompt__icon { font-size: 28px; line-height: 1; flex: 0 0 auto; }
.ttp-prompt__body { flex: 1 1 auto; min-width: 0; }
.ttp-prompt__title { display: block; font-size: 15px; margin-bottom: 2px; }
.ttp-prompt__text { display: block; color: #50575e; }
.ttp-prompt__actions { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.ttp-btn {
  appearance: none;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #1d2327;
  padding: 7px 14px;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ttp-btn:hover { background: #f4f5f7; }
.ttp-btn--primary { background: #2196f3; border-color: #2196f3; color: #fff; }
.ttp-btn--primary:hover { background: #1976d2; border-color: #1976d2; }

.ttp-toggle {
  appearance: none;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #1d2327;
  padding: 8px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ttp-toggle[aria-pressed="false"] { background: #2196f3; border-color: #2196f3; color: #fff; }
.ttp-toggle[aria-pressed="false"]:hover { background: #1976d2; border-color: #1976d2; }
.ttp-toggle[aria-pressed="true"] { background: #f4f5f7; }

@media (max-width: 520px) {
  .ttp-prompt { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; flex-wrap: wrap; }
  .ttp-prompt__actions { flex-direction: row; width: 100%; }
  .ttp-prompt__actions .ttp-btn { flex: 1; }
}
@media (prefers-color-scheme: dark) {
  .ttp-prompt { background: #1f2328; color: #e6e8eb; border-color: rgba(255, 255, 255, .1); }
  .ttp-prompt__text { color: #a7adb5; }
  .ttp-btn, .ttp-toggle[aria-pressed="true"] { background: #2b3036; color: #e6e8eb; border-color: #3a4048; }
  .ttp-btn:hover { background: #343a41; }
  .ttp-btn--primary { background: #2196f3; border-color: #2196f3; color: #fff; }
  .ttp-btn--primary:hover { background: #1976d2; border-color: #1976d2; }
}
