.field-hint {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #71717a;
}

.field-hint code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #1c1c1c;
  color: #a1a1aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

/* enable toggle */

.couple-enable {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid rgba(220, 60, 70, 0.45);
  border-radius: 12px;
  background: rgba(220, 60, 70, 0.12);
  color: #ff7278;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.couple-enable:hover {
  background: rgba(220, 60, 70, 0.2);
}

.couple-enable.enable {
  border-color: rgba(64, 190, 110, 0.45);
  background: rgba(64, 190, 110, 0.12);
  color: #66d99a;
}

.couple-enable.enable:hover {
  background: rgba(64, 190, 110, 0.2);
}

/* avatars */

.couple-avatars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0 16px;
}

.couple-avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
  border: 1px dashed #2b2b2b;
  border-radius: 14px;
  background: #0d0d0d;
  text-align: center;
}

.couple-avatar-thumb {
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  background: #000;
  object-fit: cover;
}

.couple-avatar-card strong {
  font-size: 12.5px;
  font-weight: 600;
}

.couple-avatar-card small {
  font-size: 11px;
  color: #71717a;
}

.couple-avatar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

/* heart + background */

.couple-asset {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.couple-heart {
  width: 56px;
  height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid #2a2a2a;
  background: #0d0d0d center / contain no-repeat;
  color: #c50b2b;
  overflow: hidden;
}

.couple-heart svg {
  width: 34px;
  height: 34px;
  animation: coupleHeartBeat 1s infinite;
}

.couple-heart.has-image {
  border-radius: 50%;
}

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

.couple-background {
  width: 100%;
  aspect-ratio: 16 / 5;
  margin-top: 8px;
  border: 1px dashed #2b2b2b;
  border-radius: 12px;
  background: #0d0d0d center / cover no-repeat;
}

.couple-background.has-image {
  border-style: solid;
  border-color: #2a2a2a;
}

.couple-background-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.couple-background-actions small {
  font-size: 12px;
  color: #71717a;
}

.couple-background-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* preview */

.couple-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 14px;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  background: #0b0b0d;
  overflow: hidden;
}

.couple-preview.is-empty {
  border-style: dashed;
}

.couple-preview-empty {
  margin: 0;
  padding: 0 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #71717a;
  text-align: center;
}

.couple-preview .couple_embed_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 520px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.045);
  transition: max-width 0.25s ease;
}

.couple-preview.mobile .couple_embed_container {
  max-width: 350px;
}

.couple-preview .couple_embed_container.has-couple-banner {
  border: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.couple-preview .avatar_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 0;
  min-width: 0;
}

.couple-preview .avatar_container .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.couple-preview.mobile .avatar_container .avatar {
  width: 64px;
  height: 64px;
}

.couple-preview .avatar_container .name {
  margin-top: 5px;
  max-width: 120px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: center;
}

.couple-preview.mobile .avatar_container .name {
  max-width: 88px;
  font-size: 16px;
}

.couple-preview .heart_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
}

.couple-preview .heart_container .time {
  max-width: 100%;
  color: #fff;
  font-size: 14px;
  line-height: 1.3em;
  text-align: center;
  overflow-wrap: anywhere;
}

.couple-preview .heart_container .time a {
  color: inherit;
  text-decoration: underline;
}

.couple-preview .heart_container .time code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.couple-preview .heart_container .time .bio_description_emoji {
  width: 1.25em;
  height: 1.25em;
  object-fit: contain;
  vertical-align: -0.25em;
}

.couple-preview .heart_container .svg {
  color: #c50b2b;
  font-size: 80px;
  animation: coupleHeartBeat 1s infinite;
}

.couple-preview.mobile .heart_container .svg {
  font-size: 60px;
}

.couple-preview .heart_container .img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.couple-preview.mobile .heart_container .img {
  width: 64px;
  height: 64px;
}

@media (max-width: 980px) {
  .couple-preview .couple_embed_container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .couple-preview {
    padding: 10px;
  }

  .couple-preview .avatar_container .avatar {
    width: 64px;
    height: 64px;
  }

  .couple-preview .avatar_container .name {
    max-width: 92px;
    font-size: 15px;
  }

  .couple-preview .heart_container .time {
    font-size: 12px;
  }

  .couple-preview .heart_container .svg {
    font-size: 56px;
  }

  .couple-preview .heart_container .img {
    width: 56px;
    height: 56px;
  }
}
