.stamp-card {
  background: var(--surface, #141419);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border, #2d3340);
  transition: all 0.2s ease;
}

.stamp-card:hover {
  border-color: #ff6b6b;
  transform: translateY(-1px);
}

.stamp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.stamp-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stamp-avatar-fallback {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2, #283046);
  border: 1px solid #3f4e70;
  font-size: 0.82rem;
}

.stamp-username {
  font-weight: 700;
  color: var(--text, #f6f8ff);
  font-size: 0.92rem;
}

.stamp-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.74rem;
  color: var(--text-muted, #93a3c4);
  gap: 1px;
}

.stamp-expires {
  color: #ff9090;
  font-weight: 700;
}

.stamp-location {
  font-size: 0.8rem;
  color: var(--text2, #a5b6d8);
  margin-bottom: 10px;
}

.stamp-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  max-height: 280px;
  object-fit: cover;
}

.stamp-content {
  margin-bottom: 10px;
  color: var(--text, #eef3ff);
  line-height: 1.45;
  font-size: 0.92rem;
}

.stamp-content p {
  margin: 0;
}

.stamp-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #2a3140;
}

.stamp-react {
  background: var(--surface2, #202733);
  border: 1px solid #38445b;
  border-radius: 999px;
  padding: 7px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text, #eef3ff);
  font-size: 0.85rem;
}

.stamp-react:hover {
  background: var(--surface3, #2a3342);
}

.stamp-react.active {
  background: #ff6b6b;
  border-color: #ff6b6b;
}

.stamp-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffb2b2;
  font-size: 0.95rem;
}

.no-stamps {
  text-align: center;
  padding: 24px 16px;
  color: #8ca0c7;
  font-size: 0.9rem;
  border: 1px dashed #35445f;
  border-radius: 10px;
}

.fab {
  position: fixed;
  bottom: 82px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  border: none;
  box-shadow: 0 5px 16px rgba(255, 107, 107, 0.38);
  cursor: pointer;
  z-index: 1600;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

.stamp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.stamp-modal__content {
  background: var(--bg, #141923);
  border: 1px solid #334158;
  border-radius: 14px;
  width: min(520px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
}

.stamp-modal__header,
.stamp-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--border, #2a3447);
}

.stamp-modal__footer {
  border-bottom: none;
  border-top: 1px solid var(--border, #2a3447);
}

.stamp-modal__header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.stamp-modal__close {
  background: none;
  border: none;
  color: #b8c8e6;
  font-size: 1.6rem;
  cursor: pointer;
}

.stamp-modal__body {
  padding: 16px;
}

.stamp-location-info {
  color: #b4c4e2;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

#stamp-text-input {
  width: 100%;
  background: var(--surface, #1e2633);
  border: 1px solid #3a4761;
  border-radius: 8px;
  padding: 10px 12px;
  color: #f0f5ff;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 8px;
}

.char-counter {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted, #93a3c4);
  margin-bottom: 12px;
}

/* Foto-Upload Section im Stamp-Modal */
.stamp-photo-section {
  margin: 10px 0;
}

.stamp-photo-btn {
  width: 100%;
  padding: 12px;
  background: var(--surface2, #1f2837);
  border: 1px dashed #33435e;
  border-radius: 8px;
  color: #a9bada;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.stamp-photo-btn:hover {
  border-color: #8b5cf6;
  color: #c4b5fd;
}

.stamp-photo-preview {
  position: relative;
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
}

.stamp-photo-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.stamp-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orts-Tags Auswahl im Modal */
.stamp-tags-section {
  margin: 10px 0;
}

.stamp-tags-label {
  font-size: 0.8rem;
  color: #a9bada;
  margin-bottom: 6px;
}

.stamp-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stamp-tag-btn {
  padding: 5px 10px;
  font-size: 0.75rem;
  border: 1px solid #33435e;
  border-radius: 16px;
  background: transparent;
  color: #8899b5;
  cursor: pointer;
  transition: all 0.15s;
}

.stamp-tag-btn:hover {
  border-color: #8b5cf6;
  color: #c4b5fd;
}

.stamp-tag-btn--active {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #fff;
}

.stamp-geheimtipp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 0.85rem;
  color: #f59e0b;
  cursor: pointer;
}

.stamp-geheimtipp-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #f59e0b;
}

/* Tags-Anzeige auf Stamp-Cards */
.stamp-tags-display {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0;
}

.stamp-tag-pill {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Geheimtipp-Badge */
.stamp-geheimtipp-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 1px 8px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  font-weight: 600;
  margin-left: 6px;
}

/* Teilen-Button */
.stamp-share {
  background: none;
  border: 1px solid #33435e;
  border-radius: 6px;
  color: #8899b5;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.85rem;
  margin-left: auto;
  transition: all 0.15s;
}

.stamp-share:hover {
  border-color: #8b5cf6;
  color: #c4b5fd;
}

.stamp-info {
  background: var(--surface2, #1f2837);
  border: 1px solid #33435e;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.8rem;
  color: #a9bada;
  text-align: center;
}

.btn-cancel,
.btn-primary {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.btn-cancel {
  background: var(--surface3, #2a3447);
  color: #e3edff;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #fff;
}

@media (max-width: 768px) {
  .fab {
    bottom: 74px;
    right: 14px;
    width: 54px;
    height: 54px;
  }

  .stamp-modal__content {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }
}

.stamp-activity-teaser {
  padding: 24px;
  background: linear-gradient(135deg, #1a1a1a, #2a1a1a);
  border-radius: 16px;
  text-align: center;
}

.teaser-header {
  margin-bottom: 24px;
}

.teaser-icon {
  font-size: 52px;
  margin-bottom: 12px;
  animation: stampPulse 2s ease-in-out infinite;
}

@keyframes stampPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.teaser-header h3 {
  font-size: 22px;
  margin: 0;
  color: #fff;
}

.teaser-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.preview-card {
  position: relative;
  background: var(--surface, #252525);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #333;
}

.preview-card.blur {
  filter: blur(3px);
}

.preview-blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.58);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.blur-content {
  font-size: 30px;
  font-weight: 700;
  color: #9a9a9a;
}

.preview-location {
  font-weight: 700;
  margin-bottom: 8px;
}

.preview-count {
  color: #ff6b6b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.preview-time {
  font-size: 12px;
  color: #9d9d9d;
}

.teaser-cta {
  margin: 24px 0;
}

.btn-register {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

.btn-register:hover {
  transform: scale(1.04);
}

.teaser-text {
  margin-top: 12px;
  color: #9e9e9e;
  font-size: 14px;
}

.teaser-heatmap-hint {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #333;
  color: #9e9e9e;
  font-size: 13px;
}

@media (max-width: 768px) {
  .teaser-preview {
    grid-template-columns: 1fr;
  }
}
