/* V3 adds a community layer while retaining the V2 archive's visual language. */
:root {
  --social-ink: #111723;
  --social-accent: #ff6154;
}
[hidden] {
  display: none !important;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
.community-hero {
  padding-top: 58px;
  padding-bottom: 30px;
}
.hero-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.quiet-link {
  font-size: 0.9rem;
  color: var(--muted);
}
.community-hero h1 {
  font-size: clamp(2.7rem, 5.25vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 19px 0 20px;
  max-width: none;
}
.community-hero h1 span {
  color: var(--orange);
}
.community-hero .intro {
  font-size: clamp(1.12rem, 1.65vw, 1.55rem);
  max-width: none;
  margin: 0 0 14px;
}
.archive-explainer {
  color: #66685f;
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.6;
}
.archive-explainer a {
  color: #24251f;
  text-underline-offset: 3px;
}
.community-stats {
  display: flex;
  gap: 23px;
  margin: 22px 0 32px;
  font-size: 0.88rem;
  color: #6c6e64;
}
.community-stats strong {
  font-family: var(--heading);
  font-size: 1.15rem;
  color: var(--ink);
  margin-right: 4px;
}
.mobile-break {
  display: none;
}
.account {
  border: 0;
  background: var(--social-ink);
  color: white;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}
.header-add {
  white-space: nowrap;
}
.site-header {
  gap: 22px;
}
.challenge {
  scroll-margin-top: 20px;
  background: var(--social-ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 29px 30px;
  border-radius: 15px;
}
.challenge-badge {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 2px solid var(--social-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.challenge .crosshair {
  width: 29px;
  height: 29px;
  color: #ec8c72;
}
.challenge-copy {
  flex: 1;
  min-width: 0;
}
.challenge-copy .eyebrow {
  color: #ed8f79;
  font-size: 0.76rem;
  margin-bottom: 9px;
}
.challenge h2 {
  font-size: clamp(1.2rem, 1.75vw, 1.85rem);
  margin: 0 0 9px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.challenge-copy > p:not(.eyebrow) {
  font-size: 0.9rem;
  color: #c5c6bb;
  margin: 0;
  line-height: 1.5;
}
.challenge-rules {
  border: 0;
  background: none;
  color: #d3d4ca;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 9px 0 0;
  font-size: 0.8rem;
}
.challenge-action {
  width: 235px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.challenge-action > p {
  font-size: 0.85rem;
  color: #ccc;
}
.challenge-action .button {
  min-height: 43px;
  font-size: 0.9rem;
  padding: 11px 20px;
}
.challenge-action .joined {
  background: transparent;
  border: 1px solid #6b6d60;
  color: white;
  padding: 11px 17px;
  border-radius: 7px;
  font-size: 0.85rem;
}
.challenge-progress {
  width: 100%;
  font-size: 0.8rem;
}
.challenge-progress > div {
  display: flex;
  justify-content: space-between;
  margin: 0 0 9px;
  color: #d1d2c9;
}
.challenge-progress strong {
  color: #fff;
}
progress {
  appearance: none;
  height: 7px;
  border: 0;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f4f7;
}
progress::-webkit-progress-bar {
  background: #f2f4f7;
}
progress::-webkit-progress-value {
  background: var(--social-accent);
}
progress::-moz-progress-bar {
  background: var(--social-accent);
}
.challenge progress,
.challenge progress::-webkit-progress-bar {
  background: #3c3e35;
}
.social-filter-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.social-filter-row .select-field {
  min-width: 140px;
}
.social-sort {
  margin-left: auto;
}
.feed-tabs {
  display: flex;
  gap: 3px;
  background: #e9e7de;
  padding: 5px;
  border-radius: 40px;
}
.feed-tabs button {
  border: 0;
  border-radius: 30px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #242620;
  background: transparent;
  white-space: nowrap;
}
.feed-tabs button[aria-pressed='true'] {
  background: #fff;
  box-shadow: 0 1px 3px #00000009;
}
.social-filter-row .search-field {
  flex: 1;
  max-width: 290px;
  min-width: 180px;
}
.social-filter-row input {
  min-width: 0;
}
.filter-bottom {
  margin-top: 15px;
}
.social-filter-row select {
  max-width: 190px;
}
.archive {
  padding-top: 0;
}
.filters {
  padding: 20px 0;
  border-top: 1px solid #eaecf0;
}
.archive-layout {
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 28px;
}
.photo-grid {
  gap: 20px;
}
.sidebar {
  gap: 22px;
}
.social-panel {
  background: white;
  border: 1px solid #deded5;
  border-radius: 12px;
  padding: 23px;
}
.social-panel h2 {
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}
.social-panel .eyebrow {
  font-size: 0.67rem;
  margin: 0 0 8px;
}
.social-panel p {
  line-height: 1.55;
}
.social-panel .button {
  font-size: 0.85rem;
  padding: 12px 16px;
  min-height: 42px;
}
.guest-profile .profile-illustration {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #f6e2d9;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--social-accent);
  font-size: 1.5rem;
}
.guest-profile h2 {
  font-size: 1.6rem;
}
.guest-profile p {
  font-size: 0.92rem;
  color: #6e7067;
}
.guest-profile small {
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #667085;
  margin-top: 15px;
}
.person-line {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}
.avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #292c26;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
}
.person-copy {
  min-width: 0;
  flex: 1;
}
.person-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.person-level {
  color: #b63e27;
  font-size: 0.73rem;
  margin-top: 3px;
  display: block;
}
.social-card {
  overflow: hidden;
  border: 1px solid #dfdfd5;
  background: white;
  border-radius: 12px;
  min-width: 0;
}
.card-contributor {
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.card-contributor .person-line {
  flex: 1;
}
.follow-button {
  font-size: 0.74rem;
  border: 1px solid #272a23;
  background: #1c1f19;
  color: white;
  border-radius: 25px;
  padding: 7px 11px;
  flex-shrink: 0;
  font-weight: 600;
  min-height: 33px;
}
.follow-button[aria-pressed='true'] {
  background: #ffffff;
  color: #505347;
  border-color: #d8d9ce;
}
.follow-button[disabled] {
  opacity: 0.55;
}
.social-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e9e7df;
  position: relative;
  cursor: zoom-in;
  aspect-ratio: 1.15;
  overflow: hidden;
}
.social-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.social-image:hover img {
  transform: scale(1.025);
}
.image-city {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #ffffffec;
  backdrop-filter: blur(5px);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.71rem;
  color: #333;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-info {
  padding: 15px;
}
.social-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.social-info h3 {
  font-size: 1rem;
  margin: 0 0 7px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.photo-name {
  border: 0;
  padding: 0;
  text-align: left;
  background: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
}
.social-info .place {
  font-size: 0.82rem;
  color: #56594e;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}
.social-date {
  font-size: 0.74rem;
  color: #7a7c72;
  margin: 5px 0 0;
  line-height: 1.5;
}
.bravo-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #d9d9ce;
  border-radius: 24px;
  padding: 8px 10px;
  color: #292d22;
  font-size: 0.83rem;
  white-space: nowrap;
  min-height: 36px;
}
.bravo-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.bravo-button[aria-pressed='true'] {
  background: #fbe5dc;
  border-color: #ecb6a6;
  color: #b23b23;
}
.bravo-button[aria-pressed='true'] svg {
  fill: #ff6154;
  stroke: #ff6154;
}
.bravo-button[disabled] {
  opacity: 0.5;
  cursor: default;
}
.social-proof {
  border-top: 1px solid #eeeee7;
  margin: 14px 0 0;
  padding-top: 11px;
  color: #707267;
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.photo-credit {
  font-size: 0.75rem;
  margin: 10px 0 0;
  color: #66695d;
}
.photo-credit a {
  text-underline-offset: 2px;
}
.unknown-brand {
  color: #667085;
}
.identify-link {
  font-size: 0.8rem;
  color: #b33d26;
}
.profile-card .avatar {
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
}
.profile-card .person-name {
  font-size: 1.05rem;
}
.profile-card .person-level {
  font-size: 0.8rem;
}
.level-progress {
  margin: 24px 0 16px;
  font-size: 0.79rem;
  color: #667085;
}
.level-progress p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 7px;
}
.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 17px 0 23px;
}
.profile-metrics div {
  padding: 13px 4px;
  background: #ffffff;
  border-radius: 9px;
  text-align: center;
  color: #787a6f;
  font-size: 0.73rem;
}
.profile-metrics strong {
  display: block;
  font-size: 1.3rem;
  color: #262a1f;
  font-family: var(--heading);
}
.badge-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 8px 0 19px;
}
.badge-label {
  font-size: 0.74rem;
  border-radius: 25px;
  padding: 7px 10px;
  border: 1px dashed #cfcfc1;
  color: #808275;
}
.badge-label.earned {
  background: #f9e2d8;
  border: 1px solid transparent;
  color: #9e3f2b;
}
.profile-link {
  font-size: 0.85rem;
  text-underline-offset: 3px;
}
.ranking-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ranking-tabs button {
  font-size: 0.75rem;
  border: 1px solid #deded2;
  background: white;
  border-radius: 25px;
  padding: 8px 11px;
}
.ranking-tabs button[aria-pressed='true'] {
  color: white;
  background: #111723;
  border-color: #111723;
}
.leaderboard ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.leaderboard li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 17px 0;
}
.rank-number {
  color: #c2482e;
  font-family: var(--heading);
  font-weight: 600;
  min-width: 16px;
}
.leaderboard li .avatar {
  width: 30px;
  height: 30px;
  font-size: 0.75rem;
}
.leaderboard li .person-name {
  font-size: 0.83rem;
}
.rank-score {
  font-size: 0.75rem;
  color: #667085;
  margin-left: auto;
  white-space: nowrap;
}
.my-ranking {
  background: #f7ede5;
  border-radius: 8px;
  padding: 9px !important;
  margin-left: -9px !important;
  margin-right: -9px !important;
}
.leaderboard .ranking-note {
  font-size: 0.77rem;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eeeee6;
}
.leaderboard details {
  font-size: 0.73rem;
  color: #667085;
  margin-top: 12px;
}
.leaderboard summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brand-follow-list {
  display: grid;
  gap: 17px;
}
.brand-follow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-follow .brand-monogram {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid #e8e8df;
  background: #f9fafb;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.brand-follow > a {
  font-size: 0.85rem;
  overflow-wrap: anywhere;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.brand-follow .follow-button {
  background: white;
  color: #292c22;
  border-color: #c9cbbf;
}
.brand-follow .follow-button[aria-pressed='true'] {
  background: #ffffff;
}
.brands-note {
  font-size: 0.76rem;
  color: #667085;
  margin: 16px 0 0;
}
.nearby-panel {
  background: #fff;
  border: 1px solid #e1e1d6;
  border-radius: 10px;
  margin: 18px 0;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nearby-panel div {
  flex: 1;
}
.nearby-panel strong {
  font-size: 0.95rem;
}
.nearby-panel p {
  margin: 6px 0 0;
  font-size: 0.83rem;
  line-height: 1.6;
  color: #667085;
}
.nearby-panel .button {
  font-size: 0.85rem;
  white-space: nowrap;
}
.public-profile {
  background: #fff;
  border: 1px solid #dfdfd4;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 20px;
}
.public-profile h2 {
  font-size: 1.6rem;
  margin: 0;
}
.public-profile p {
  font-size: 0.9rem;
  color: #727568;
  margin: 8px 0 0;
}
.state-panel .button {
  margin-top: 15px;
}
.state-panel .text-button {
  display: block;
  margin: 15px auto 0;
}
#community-dialog {
  max-width: 530px;
  width: calc(100% - 32px);
  border: 0;
  border-radius: 16px;
  padding: 40px 32px;
  box-sizing: border-box;
}
#community-dialog h2 {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 17px;
}
#community-dialog p,
#community-dialog li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #64685b;
}
#community-dialog ul {
  padding-left: 22px;
}
#community-dialog .eyebrow {
  font-size: 0.75rem;
}
#community-dialog form label {
  display: block;
  font-size: 0.88rem;
  margin: 18px 0;
}
#community-dialog input[type='text'] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 13px;
  border: 1px solid #c9ccbe;
  border-radius: 8px;
  margin-top: 8px;
}
#community-dialog .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.81rem;
  line-height: 1.6;
}
#community-dialog input[type='checkbox'] {
  margin-top: 5px;
  accent-color: #ff6154;
}
#profile-error {
  color: #a83924 !important;
}
.dialog-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.dialog-actions .button {
  font-size: 0.87rem;
}
.dialog-actions .text-button {
  font-size: 0.85rem;
}
.detail-social {
  padding: 20px;
}
.detail-social .card-contributor {
  padding: 0 0 20px;
}
.detail-social h2 {
  font-size: 1.7rem;
}
.detail-meta {
  font-size: 0.9rem;
  color: #6f7364;
  line-height: 1.7;
}
.detail-image {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #f2f4f7;
  display: block;
}
.detail-social .social-proof {
  font-size: 0.9rem;
}
.detail-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.detail-related button {
  border: 0;
  padding: 0;
  background: #eee;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
}
.detail-related img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 20px;
  background: #20251b;
  color: white;
  border-radius: 10px;
  box-shadow: 0 6px 30px #0002;
  font-size: 0.9rem;
  z-index: 2000;
  max-width: min(90vw, 560px);
  box-sizing: border-box;
}
.photo-grid.list-view .social-card {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
}
.photo-grid.list-view .card-contributor {
  grid-column: 1/-1;
  border-bottom: 1px solid #efefe5;
}
.photo-grid.list-view .social-image {
  height: 100%;
  aspect-ratio: auto;
  min-height: 155px;
}
.photo-grid.list-view .social-info {
  min-width: 0;
}
.social-panel button:focus-visible,
.follow-button:focus-visible,
.bravo-button:focus-visible,
.photo-name:focus-visible,
.social-image:focus-visible {
  outline: 3px solid #e88960;
  outline-offset: 3px;
}
@media (min-width: 1500px) {
  .archive-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .social-card .card-contributor {
    padding: 17px;
  }
  .social-info {
    padding: 19px;
  }
  .social-panel {
    padding: 27px;
  }
  .social-image {
    aspect-ratio: 1.18;
  }
}
@media (max-width: 1150px) {
  .archive-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header nav {
    gap: 18px;
  }
  .site-header {
    gap: 14px;
  }
  .site-header .brand {
    max-width: 170px;
  }
  .challenge-action {
    width: 190px;
  }
  .social-panel {
    padding: 20px;
  }
  .social-sort {
    margin-left: 0;
  }
  .social-filter-row {
    gap: 10px;
  }
  .feed-tabs button {
    padding: 11px 15px;
  }
  .social-filter-row .search-field {
    max-width: none;
  }
  .community-hero h1 {
    font-size: 5.5vw;
  }
}
@media (max-width: 800px) {
  .community-hero {
    padding-top: 35px;
  }
  .community-hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
  .challenge {
    gap: 17px;
    padding: 24px;
    flex-wrap: wrap;
  }
  .challenge-badge {
    width: 55px;
    height: 55px;
  }
  .challenge-copy {
    min-width: calc(100% - 90px);
  }
  .challenge-action {
    width: 100%;
    padding-left: 72px;
    box-sizing: border-box;
    flex-wrap: nowrap;
  }
  .challenge-progress {
    flex: 1;
  }
  .archive-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-add {
    margin-left: auto;
  }
  .site-header .account {
    margin-left: 0;
  }
  .social-filter-row .search-field {
    min-width: 180px;
    flex-basis: 30%;
  }
  .social-filter-row .select-field {
    min-width: 120px;
  }
  .social-sort {
    margin-left: auto;
  }
  .community-stats {
    gap: 17px;
    flex-wrap: wrap;
  }
  .community-hero .quiet-link {
    font-size: 0.78rem;
  }
  .social-image {
    aspect-ratio: 1.15;
  }
  .social-panel.profile-card {
    order: 0;
  }
  .sidebar .promotion {
    order: 3;
  }
  .filters {
    padding: 16px 0;
  }
}
@media (max-width: 520px) {
  .site-header {
    gap: 10px;
  }
  .site-header .brand {
    max-width: 146px;
  }
  .site-header .header-add {
    font-size: 0.76rem;
    padding: 10px 12px;
    min-height: 38px;
  }
  .site-header .account {
    width: 34px;
    height: 34px;
  }
  .community-hero {
    padding-top: 29px;
  }
  .hero-line .quiet-link {
    display: none;
  }
  .community-hero h1 {
    font-size: 2.7rem;
    margin: 15px 0;
  }
  .mobile-break {
    display: initial;
  }
  .community-hero .intro {
    font-size: 1.03rem;
    line-height: 1.55;
  }
  .archive-explainer {
    font-size: 0.82rem;
  }
  .community-stats {
    font-size: 0.74rem;
    gap: 9px 15px;
    margin: 18px 0 24px;
  }
  .community-stats strong {
    font-size: 0.95rem;
  }
  .challenge {
    padding: 20px;
    gap: 14px;
    border-radius: 12px;
  }
  .challenge-copy {
    min-width: calc(100% - 66px);
  }
  .challenge-badge {
    width: 43px;
    height: 43px;
  }
  .challenge .crosshair {
    width: 21px;
    height: 21px;
  }
  .challenge h2 {
    font-size: 1.17rem;
  }
  .challenge-copy .eyebrow {
    font-size: 0.64rem;
    line-height: 1.5;
  }
  .challenge-copy > p:not(.eyebrow) {
    font-size: 0.79rem;
  }
  .challenge-action {
    padding-left: 0;
    gap: 16px;
    margin-top: 6px;
  }
  .challenge-progress {
    font-size: 0.73rem;
  }
  .challenge-action .button {
    font-size: 0.79rem;
    min-height: 39px;
    padding: 10px 12px;
  }
  .feed-tabs {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }
  .feed-tabs button {
    flex: 1;
    padding: 11px 12px;
    font-size: 0.85rem;
  }
  .social-filter-row .select-field {
    flex: 1;
    min-width: 0;
  }
  .social-filter-row .search-field {
    min-width: 0;
    flex-basis: 52%;
    flex-grow: 1;
  }
  .social-filter-row .search-field input {
    font-size: 0.82rem;
  }
  .social-filter-row .social-sort {
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
  }
  .social-sort select {
    width: auto !important;
  }
  .social-filter-row {
    gap: 12px 8px;
  }
  .photo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .social-image {
    aspect-ratio: 1.16;
  }
  .card-contributor {
    padding: 14px 16px;
  }
  .social-info {
    padding: 16px;
  }
  .person-name {
    font-size: 0.94rem;
  }
  .person-level {
    font-size: 0.76rem;
  }
  .follow-button {
    font-size: 0.79rem;
  }
  .social-info h3 {
    font-size: 1.1rem;
  }
  .social-info .place {
    font-size: 0.88rem;
  }
  .social-date,
  .social-proof {
    font-size: 0.8rem;
  }
  .image-city {
    font-size: 0.75rem;
  }
  .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .social-panel {
    padding: 24px;
  }
  .nearby-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }
  .result-heading {
    align-items: flex-start;
    gap: 8px;
  }
  .result-heading #date-note {
    max-width: 105px;
    text-align: right;
    font-size: 0.67rem;
  }
  .photo-grid.list-view .social-card {
    grid-template-columns: 95px minmax(0, 1fr);
  }
  .photo-grid.list-view .social-info {
    padding: 13px;
  }
  .photo-grid.list-view .social-info h3 {
    font-size: 0.96rem;
  }
  .photo-grid.list-view .social-info .place {
    font-size: 0.78rem;
  }
  .photo-grid.list-view .social-proof {
    font-size: 0.73rem;
  }
  .photo-grid.list-view .bravo-button {
    font-size: 0.73rem;
    padding: 7px;
  }
  .photo-grid.list-view .social-date {
    font-size: 0.72rem;
  }
  .photo-grid.list-view .image-city {
    display: none;
  }
  .closing h2 {
    font-size: 2.2rem;
  }
  #community-dialog {
    padding: 36px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-image img {
    transition: none;
  }
}
:root {
  --heading: Space, Arial, sans-serif;
}
.community-hero h1,
.challenge h2,
.social-panel h2 {
  font-family: Space, Arial, sans-serif;
  font-weight: 600;
}
.site-header nav {
  flex: 1;
}
.site-header .header-add {
  margin-left: auto;
}
.social-filter-row .search-field {
  margin-left: 0;
}
.person-line .person-copy {
  overflow: hidden;
}
.photo-grid.list-view {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 1050px) {
  .site-header {
    position: relative;
  }
  .site-header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 85px;
    z-index: 1200;
    padding: 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    margin: 0;
  }
  .site-header nav.is-open {
    display: flex;
  }
  .menu-toggle {
    width: 27px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: none;
    padding: 4px;
    flex-shrink: 0;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 19px;
    background: var(--ink);
  }
}
@media (max-width: 580px) {
  .site-header nav {
    top: 69px;
  }
  .result-heading {
    display: flex;
  }
}
@media (max-width: 520px) {
  .site-header .brand img {
    width: 125px;
  }
  .site-header .header-add {
    font-size: 0;
    width: 36px;
    min-height: 36px;
    padding: 0;
  }
  .site-header .header-add:after {
    content: '+';
    font-size: 24px;
  }
  .filter-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  .filter-bottom .views {
    width: auto;
    display: flex;
  }
  .filter-bottom .advanced-fields {
    flex-basis: 100%;
    order: 2;
  }
  .community-hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.7rem);
  }
}
@media (max-width: 360px) {
  .site-header {
    gap: 8px;
  }
  .site-header .brand img {
    width: 105px;
  }
  .challenge {
    padding: 17px;
  }
  .challenge-action {
    flex-wrap: wrap;
  }
  .challenge-action .button {
    width: 100%;
  }
  .community-stats {
    column-gap: 10px;
  }
  .feed-tabs button {
    padding-inline: 9px;
  }
}

.detail-image {
  height: auto;
}
@media (max-width: 520px) {
  .social-filter-row > .select-field:not(.social-sort) {
    flex: 0 0 42%;
  }
  .social-filter-row .search-field {
    flex: 1;
    max-width: none;
  }
  .social-filter-row > .select-field:not(.social-sort) select {
    width: 100%;
    font-size: 0.81rem;
  }
  .result-heading #date-note {
    text-align: right;
  }
}
