.community-grid,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.community-collector,
.community-post,
.evidence-sales {
  min-width: 0;
  overflow: hidden;
}
.community-shelf {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 33px 18px 24px;
  background: radial-gradient(ellipse at 50% 10%, var(--collector-color), transparent 86%);
  border-bottom: 1px solid rgba(215, 231, 255, .13);
}
.community-shelf a {
  width: min(35%, 116px);
  aspect-ratio: 5 / 7;
  transform: rotate(-12deg) translate(5px, 6px);
  transition: transform .2s ease;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
}
.community-shelf a:nth-of-type(2) {
  z-index: 1;
  transform: translateY(-6px);
}
.community-shelf a:nth-of-type(3) {
  transform: rotate(12deg) translate(-5px, 6px);
}
.community-shelf a:hover,
.community-shelf a:focus-visible {
  z-index: 2;
  transform: translateY(-12px) scale(1.05);
}
.community-shelf img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 7px;
}
.community-rank {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(11, 16, 28, .72);
  color: #ffde86;
  font: 600 .75rem Outfit, sans-serif;
}
.community-collector-body,
.community-post-body {
  padding: 16px;
}
.community-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.community-person .avatar {
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--collector-color), #14233a);
}
.community-person strong,
.community-person small {
  display: block;
  overflow-wrap: anywhere;
}
.community-person strong {
  font-size: .93rem;
}
.community-person small,
.community-card-set,
.community-counts,
.community-caption,
.evidence-metric small,
.evidence-method p {
  color: #b7c6de;
  font-size: .8rem;
  line-height: 1.5;
}
.community-counts {
  margin: 12px 0;
}
.community-counts span {
  color: #ffda74;
}
.community-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.community-post > .community-person {
  padding: 14px 16px;
}
.community-post-art {
  display: grid;
  place-items: center;
  height: clamp(180px, 23vw, 290px);
  padding: 16px;
  background: radial-gradient(ellipse at 50% 30%, rgba(92, 139, 226, .23), rgba(8, 16, 35, .52));
  border-block: 1px solid rgba(215, 231, 255, .13);
}
.community-post-art img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35));
}
.community-post h3,
.community-card-set,
.community-caption {
  overflow-wrap: anywhere;
}
.community-post h3 {
  margin: 0 0 3px;
  font-size: 1.15rem;
}
.community-caption {
  margin: 10px 0;
  white-space: pre-wrap;
}
.community-post .text-link {
  margin-top: 10px;
}
.community-feed-header,
.evidence-header {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.community-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
}
.community-empty .material-symbols-rounded {
  color: #ffda74;
}
.community-empty p {
  color: #c3d0e5;
  margin: 0;
}
.community-modal-action,
.community-form {
  margin-top: 20px;
}
.community-form input[type="file"] {
  width: 100%;
  height: auto;
  padding-block: 10px;
}
.evidence-metric {
  padding: 16px;
}
.evidence-metric > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: #c9d9ef;
}
.evidence-metric .material-symbols-rounded {
  font-size: 1.15rem;
  color: #ffda74;
}
.evidence-metric strong,
.evidence-metric small {
  display: block;
}
.evidence-metric strong {
  margin: 7px 0 2px;
  font: 600 clamp(1.25rem, 2.6vw, 2rem) Outfit, sans-serif;
}
.evidence-sales {
  margin-top: 16px;
}
.evidence-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
}
.evidence-table td,
.evidence-table th {
  padding: 12px 16px;
  text-align: left;
  border-top: 1px solid rgba(215, 231, 255, .13);
}
.evidence-table th {
  color: #b7c6de;
}
.evidence-table td:last-child,
.evidence-table th:last-child {
  text-align: right;
}
.evidence-table td:last-child {
  white-space: nowrap;
}
.evidence-method {
  border-top: 1px solid rgba(215, 231, 255, .13);
  padding: 16px;
}
.evidence-method p {
  margin-top: 5px;
}
.evidence-shortcut {
  margin-top: 8px;
}
@media (max-width: 1100px) and (min-width: 701px) {
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .community-grid,
  .evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .community-shelf {
    padding-block: 22px;
  }
  .community-post-art {
    height: 236px;
  }
  .evidence-table td,
  .evidence-table th {
    font-size: .75rem;
    padding: 9px 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .community-shelf a { transition: none; }
}
