/* premium-gate.css — lock badge + upgrade modal styling.
   Designed to be visually consistent with the chat-bubble premium panel. */

.pg-locked {
  position: relative;
  filter: grayscale(0.4) opacity(0.85);
  cursor: pointer !important;
}
.pg-locked .pg-lock-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  background: #f59e0b;
  color: #78350f;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  z-index: 5;
}

.pg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999998;
  padding: 16px;
}
.pg-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .25);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0e141b;
}
.pg-modal-x {
  position: absolute;
  top: 8px; right: 12px;
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: #5a6a75;
}
.pg-modal-head { margin-bottom: 12px; }
.pg-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #78350f;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 10px 12px;
  border-radius: 10px;
}
.pg-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.pg-modal-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #334155;
}
.pg-modal-cta {
  width: 100%;
  background: #f97316;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background .15s;
}
.pg-modal-cta:hover { background: #ea580c; }

.pg-taken-badge {
  display: inline-block;
  margin-left: 8px;
  background: #10b981;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
