/* Botmaker Roster page. Can be linked separately or pasted into s22.css. */

.botmaker-page {
  max-width: 1240px;
}

.botmaker-note small,
.botmaker-updated {
  color: var(--muted-2);
}

.botmaker-updated {
  margin: 0 0 14px;
  font-size: 0.92rem;
  text-align: center;
}

.botmaker-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px;
}

.botmaker-card {
  display: grid;
  gap: 14px;
  width: 100%;
  min-height: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028)),
    rgba(13, 17, 35, 0.72);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.botmaker-card:hover,
.botmaker-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(220, 226, 255, 0.36);
  box-shadow: var(--shadow), 0 0 42px rgba(139, 156, 255, 0.13), inset 0 1px 0 rgba(255,255,255,0.10);
}

.botmaker-card-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid rgba(220, 226, 255, 0.18);
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.botmaker-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,0.13) 36%, transparent 42%),
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.18), transparent 28%);
}

.botmaker-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.botmaker-card-body {
  display: grid;
  gap: 4px;
}

.botmaker-card-name {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.08;
}

.botmaker-card-tag {
  color: var(--accent-2);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.botmaker-card-tagline {
  color: var(--muted);
  margin-top: 6px;
}

.modal-open {
  overflow: hidden;
}

.botmaker-modal-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(220, 226, 255, 0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  line-height: 1;
}

.botmaker-modal-content {
  width: min(94vw, 980px);
}

.botmaker-profile {
  display: grid;
  gap: 16px;
}

.botmaker-profile-hero {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 18px;
  align-items: stretch;
}

.botmaker-profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(220, 226, 255, 0.20);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.08);
}

.botmaker-profile-identity,
.botmaker-profile-section {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.botmaker-profile-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.botmaker-profile-tag,
.botmaker-profile-pronouns {
  margin: 0 0 0.35rem;
  color: var(--accent-2);
  font-weight: 850;
}

.botmaker-profile-pronouns {
  color: var(--muted-2);
  font-weight: 700;
}

.botmaker-profile-tagline {
  margin: 0.5rem 0 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.18;
}

.botmaker-profile-section h3 {
  margin-bottom: 0.55rem;
  color: var(--accent-3);
}

.botmaker-profile-section p:last-child,
.botmaker-profile-section ul:last-child {
  margin-bottom: 0;
}

.botmaker-link-list {
  list-style: none;
  padding-left: 0;
}

.botmaker-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(220, 226, 255, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  font-weight: 750;
}

.botmaker-link-list a::after {
  content: "→";
  color: var(--accent-2);
  font-weight: 900;
}

.botmaker-link-list a:hover {
  text-decoration: none;
  border-color: rgba(220, 226, 255, 0.34);
  background: rgba(185, 178, 255, 0.11);
}

@media (max-width: 760px) {
  .botmaker-gallery {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .botmaker-profile-hero {
    grid-template-columns: 1fr;
  }

  .botmaker-profile-image {
    max-width: 260px;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .botmaker-gallery {
    grid-template-columns: 1fr;
  }

  .botmaker-card {
    padding: 14px;
  }
}

/* Optional inline accents for safe <span class="..."> use inside botmaker intro text. */
.botmaker-inline-accent {
  color: var(--accent-3);
  font-weight: 850;
}

.botmaker-inline-blue {
  color: var(--accent-2);
  font-weight: 850;
}

.botmaker-inline-soft {
  color: var(--muted);
  font-style: italic;
}
