/* AI Monkey Mood — monkey mood card */
.model-roast-share-card-mount {
  margin-top: 0.75rem;
}

.model-roast-card {
  position: relative;
  width: min(360px, calc(100vw - 32px));
  max-width: 100%;
  min-height: 560px;
  max-height: 560px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(91, 124, 250, 0.28);
  background: #0a0c12;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.94);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.model-roast-card__hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.model-roast-card__hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.03);
}

.model-roast-card__hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 16, 0.08) 0%,
      rgba(8, 10, 16, 0.22) 34%,
      rgba(8, 10, 16, 0.62) 58%,
      rgba(8, 10, 16, 0.9) 78%,
      rgba(8, 10, 16, 0.97) 100%
    ),
    linear-gradient(90deg, rgba(8, 10, 16, 0.18) 0%, transparent 46%, rgba(8, 10, 16, 0.14) 100%);
  pointer-events: none;
}

.model-roast-card__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 4rem 1.25rem 1.625rem;
  min-width: 0;
}

.model-roast-card__hook {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.model-roast-card__model-name {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.model-roast-card__status-title {
  margin: 0.1rem 0 0;
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.9);
}

.model-roast-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.75rem;
  max-width: 100%;
}

.model-roast-card__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(5, 8, 18, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  pointer-events: none;
  user-select: none;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.model-roast-card__quote {
  margin: 0.875rem 0 0;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid rgba(255, 255, 255, 0.46);
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.52;
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
  background: rgba(3, 7, 18, 0.58);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.model-roast-card__verdict-line {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92);
}

.model-roast-card__rescue-line {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.55;
  color: #fde68a;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92);
}

.model-roast-card__foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 0.5rem 1.25rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(5, 8, 18, 0.02) 0%, rgba(5, 8, 18, 0.52) 100%);
}

.model-roast-card__user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.model-roast-card__user--foot {
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}

.model-roast-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(91, 124, 250, 0.88) 0%, rgba(67, 56, 202, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.model-roast-card__avatar--sm {
  width: 1.375rem;
  height: 1.375rem;
  font-size: 0.5625rem;
}

.model-roast-card__name {
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-roast-card__name--sm {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  max-width: 14rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.88);
}

.model-roast-card__brand {
  margin: 0;
  text-align: center;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.66);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.88);
}

@media (max-width: 520px) {
  .model-roast-card {
    width: min(360px, calc(100vw - 28px));
    min-height: 540px;
    max-height: 540px;
    border-radius: 12px;
  }

  .model-roast-card__content {
    padding: 3.25rem 1rem 1.5rem;
    gap: 0.42rem;
  }

  .model-roast-card__foot {
    padding: 0.45rem 1rem 0.6rem;
  }

  .model-roast-card__status-title {
    font-size: 1.125rem;
  }

  .model-roast-card__quote {
    margin-top: 0.75rem;
    padding: 0.5rem 0.625rem;
    font-size: 0.78125rem;
  }

  .model-roast-card__hero-img {
    object-position: center 10%;
  }
}

/* support signed-in user avatar image in monkey mood card */
.model-roast-card__avatar--sm img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

