/* Review rails and the public Wall of Love share one compact card language. */
.ppl-review-section, .ppl-wall {
  --review-surface: #edeffb;
  --review-ink: #17284e;
  --review-muted: #56617b;
  --review-accent: #3454d1;
  --review-card: #fff;
  --review-border: #dce1ef;
}
.ppl-review-section .ppl-marquee {
  display: block !important;
  overflow-x: auto;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.ppl-review-section .ppl-marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 0;
  animation: none;
}
.ppl-review-section .ppl-marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  padding-right: 12px;
}
.ppl-review-section .ppl-marquee.is-ready { overflow: hidden; }
.ppl-review-section .is-ready .ppl-marquee__track {
  gap: 0;
  animation: pplMarqueeLeft var(--review-duration, 50s) linear infinite;
}
.ppl-review-section .ppl-marquee--right.is-ready .ppl-marquee__track { animation-name: pplMarqueeRight; }
.ppl-review-section .ppl-marquee:focus-within .ppl-marquee__track,
.ppl-review-section__rails.is-paused .ppl-marquee__track { animation-play-state: paused; }
@media (hover: hover) {
  .ppl-review-section__rails:hover .ppl-marquee__track { animation-play-state: paused; }
}
.ppl-review-section .ppl-reviewCard {
  flex: 0 0 auto;
  width: clamp(252px, 26vw, 310px);
  padding: 16px 18px;
  background: var(--review-card) !important;
  border: 1px solid var(--review-border) !important;
  border-radius: 14px;
}
.ppl-review-section .ppl-reviewCard__name { color: var(--review-ink) !important; font-weight: 650; }
.ppl-review-section .ppl-reviewCard__text, .ppl-review-section .ppl-reviewCard__role { color: var(--review-muted) !important; }
.ppl-review-section .ppl-reviewCard__avatar { width: 34px; height: 34px; }
.ppl-review-section .ppl-reviewCard__text { font-size: 14px; }
.ppl-review-section .ppl-reviewCard__top { gap: 9px; }
.ppl-reviewCard__avatar { position: relative; }
.ppl-reviewCard__avatar img[data-review-avatar] { position: absolute; inset: 0; z-index: 1; }
.ppl-reviewCard__avatar img[hidden] { display: none !important; }
.ppl-reviews__footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; }
.ppl-reviews__more, .ppl-reviews__back { color: var(--review-accent); font-weight: 650; text-decoration: none; }
.ppl-reviews__more { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; }
.ppl-reviews__more:hover, .ppl-reviews__back:hover { color: var(--review-accent); text-decoration: underline; text-underline-offset: 4px; }
.ppl-reviews__pause { color: var(--review-muted); background: transparent; border: 1px solid var(--review-border); border-radius: 100px; padding: 8px 13px; font: inherit; font-size: 13px; }
.ppl-wall { background: radial-gradient(ellipse 70% 360px at 50% 120px, #ffe7f1 0%, transparent 100%), var(--review-surface); color: var(--review-ink); padding: 36px 16px 64px; min-height: 65vh; }
.ppl-wall__wrap { max-width: 1160px; margin-inline: auto; }
.ppl-wall__head { text-align: center; max-width: 980px; margin: 0 auto 20px; overflow: visible; }
.ppl-reviews__back { display: inline-block; font-size: 13px; padding: 8px 0; margin-bottom: 24px; }
.ppl-wall__titleRow { display: flex; justify-content: center; align-items: center; gap: clamp(2px, 1.2vw, 16px); margin: 0; }
.ppl-wall__love { display: block; width: clamp(64px, 14vw, 176px); height: auto; flex: 0 0 auto; margin: 0; transform: rotate(9deg); }
/* Set the shared typography variables locally so its later rules preserve this banner. */
.ppl-wall__head h1 {
  --ppl-site-title-font: "Caveat", "Comic Sans MS", cursive;
  --ppl-site-h1-size: clamp(44px, 11.5vw, 144px);
  --ppl-site-h1-mobile-size: clamp(44px, 11.5vw, 74px);
  --ppl-site-h1-weight: 700;
  --ppl-site-h1-line-height: 1.1;
  color: #d83c79;
  font-family: var(--ppl-site-title-font);
  font-size: var(--ppl-site-h1-size);
  font-weight: 700;
  line-height: 1.1;
  padding: 12px 4px;
  margin: 0;
  height: auto;
  white-space: nowrap;
  overflow: visible;
  transform: rotate(-3deg);
}
.ppl-wall__head h1 span { color: inherit; font: inherit; }
.ppl-wall__handwritten { font-family: "Caveat", "Comic Sans MS", cursive; font-size: clamp(23px, 2.8vw, 32px); line-height: 1.3; color: #b54475; margin: 4px 0 16px; transform: rotate(-3deg); }
.ppl-wall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ppl-wall__grid.is-masonry { grid-auto-rows: 8px; }
.ppl-wall .ppl-wall__card {
  display: inline-block;
  vertical-align: top;
  break-inside: avoid;
  width: 100%;
  padding: 16px;
  margin: 0;
  border: 1px solid var(--review-border) !important;
  border-radius: 14px;
  background: var(--review-card) !important;
  box-shadow: none;
}
.ppl-wall .ppl-reviewCard__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ppl-wall .ppl-reviewCard__avatar { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: var(--review-surface); }
.ppl-wall .ppl-reviewCard__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ppl-wall .ppl-reviewCard__avatarFallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--review-accent); font-weight: 700; }
.ppl-wall .ppl-reviewCard__meta { flex: 1; min-width: 0; }
.ppl-wall .ppl-reviewCard__name { color: var(--review-ink) !important; max-width: none; white-space: normal; overflow-wrap: anywhere; font-size: 13px; }
.ppl-wall .ppl-reviewCard__role { font-size: 11px; color: var(--review-muted) !important; }
.ppl-wall .ppl-reviewCard__mark { font-size: 25px; line-height: 1; color: var(--review-accent); }
.ppl-wall .ppl-reviewCard__text { margin: 0; font-size: 13px; line-height: 1.65; color: var(--review-muted) !important; overflow-wrap: anywhere; white-space: pre-line; }
.ppl-wall__card.is-collapsible:not(.is-expanded) .ppl-reviewCard__text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.ppl-wall__expand { background: transparent; border: 0; color: var(--review-accent); font: inherit; font-size: 12px; font-weight: 650; padding: 10px 0 0; text-align: left; }
.ppl-wall__invitation { display: inline-block; vertical-align: top; break-inside: avoid; width: 100%; margin: 0; padding: 18px 16px; border: 1px solid #d4c9f5; border-radius: 14px; background: linear-gradient(145deg, #f8f3ff, #fff1f5); }
.ppl-wall__invitationHeart { display: block; color: #d7467b; font-size: 25px; margin-bottom: 10px; }
.ppl-wall__invitation h2 { font-size: 17px; line-height: 1.3; font-weight: 750; color: var(--review-ink); margin: 0 0 9px; }
.ppl-wall__invitation p { font-size: 13px; line-height: 1.6; color: var(--review-muted); margin: 0 0 16px; }
.ppl-wall__reviewLink { display: inline-flex; gap: 8px; align-items: center; color: var(--review-accent); font-size: 13px; font-weight: 700; text-decoration: none; padding-block: 8px; }
.ppl-wall__reviewLink:hover { text-decoration: underline; }
html[data-theme="dark"] .ppl-wall__invitation { background: linear-gradient(145deg, #292341, #352339); border-color: #574264; }
.ppl-wall__empty { text-align: center; padding: 30px 0; }
html[data-theme="dark"] .ppl-review-section, html[data-theme="dark"] .ppl-wall {
  --review-surface: #101c36; --review-ink: #f3f5ff; --review-muted: #bcc7df;
  --review-accent: #aebeff; --review-card: #172b56; --review-border: #334466;
}
html[data-theme="dark"] .ppl-wall { background: radial-gradient(ellipse 70% 360px at 50% 120px, #38213b 0%, transparent 100%), var(--review-surface); }
html[data-theme="dark"] .ppl-wall__head h1 { color: #ff9fc5; }
html[data-theme="dark"] .ppl-wall__handwritten { color: #f7adce; }
@media (max-width: 1050px) { .ppl-wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ppl-wall { padding: 30px 12px 44px; }
  .ppl-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ppl-wall .ppl-wall__card { padding: 12px; border-radius: 12px; }
  .ppl-wall .ppl-reviewCard__top { gap: 6px; }
  .ppl-wall .ppl-reviewCard__avatar { width: 26px; height: 26px; }
  .ppl-wall .ppl-reviewCard__mark { display: none; }
  .ppl-wall .ppl-reviewCard__text { font-size: 12px; line-height: 1.65; }
  .ppl-wall .ppl-reviewCard__name { font-size: 12px; }
  .ppl-wall__head { margin-bottom: 16px; }
  .ppl-wall__invitation { padding: 14px 12px; border-radius: 12px; }
  .ppl-wall__invitation h2 { font-size: 15px; }
  .ppl-wall__invitation p, .ppl-wall__reviewLink { font-size: 12px; }
  .ppl-review-section .ppl-marquee { mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .ppl-review-section .ppl-marquee.is-ready { overflow-x: auto; }
  .ppl-review-section .is-ready .ppl-marquee__track { animation: none; }
  .ppl-review-section .ppl-marquee__group[aria-hidden="true"] { display: none; }
}

.ppl-wall__add { display: inline-flex; align-items: center; justify-content: center; margin: 2px 0 12px; padding: 10px 18px; border: 1px solid #d83c79; border-radius: 100px; background: #d83c79; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.ppl-wall__add:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px #d83c7926; }
.ppl-wall__invitation:not(.ppl-wall__explore) { border: 2px dashed #d69bb6; background: linear-gradient(145deg, #fff9fc, #fff0f6); transition: transform .18s ease, box-shadow .18s ease; }
.ppl-wall__invitation:not(.ppl-wall__explore):hover { transform: translateY(-3px); box-shadow: 0 8px 22px #d83c7914; }
.ppl-wall__yourAvatar { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 12px; border: 1px dashed #d69bb6; border-radius: 50%; color: #ba386d; font-family: "Caveat", cursive; font-size: 26px; transform: rotate(-8deg); }
.ppl-wall__add:focus-visible, .ppl-wall__reviewLink:focus-visible { outline: 3px solid #d83c79; outline-offset: 4px; }
html[data-theme="dark"] .ppl-wall__yourAvatar { color: #ff9fc5; }
@media (prefers-reduced-motion: reduce) {
  .ppl-wall__add, .ppl-wall__invitation:not(.ppl-wall__explore) { transition: none; }
  .ppl-wall__add:hover, .ppl-wall__invitation:not(.ppl-wall__explore):hover { transform: none; }
}

/* Team updates stay collapsed inside the wall; homepage rails link to them. */
.ppl-reviewReply { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--review-border); scroll-margin-top: 100px; }
.ppl-reviewReply summary { display: flex; align-items: baseline; gap: 6px; cursor: pointer; list-style: none; color: var(--review-accent); font-size: 11px; font-weight: 650; line-height: 1.5; }
.ppl-reviewReply summary::-webkit-details-marker { display: none; }
.ppl-reviewReply summary:focus-visible, .ppl-reviewReplyLink:focus-visible { outline: 2px solid var(--review-accent); outline-offset: 3px; border-radius: 3px; }
.ppl-reviewReply__action { display: block; font-size: 11px; font-weight: 500; }
.ppl-reviewReply__hide, .ppl-reviewReply[open] .ppl-reviewReply__read { display: none; }
.ppl-reviewReply[open] .ppl-reviewReply__hide { display: inline; }
.ppl-reviewReply__body { margin-top: 10px; padding: 10px; border-left: 2px solid var(--review-accent); border-radius: 0 8px 8px 0; background: var(--review-surface); }
.ppl-reviewReply__byline { display: flex; gap: 7px; align-items: center; }
.ppl-reviewReply__byline img { flex: 0 0 18px; width: 18px; height: 18px; object-fit: contain; }
.ppl-reviewReply__byline strong { display: block; font-size: 10px; color: var(--review-ink); overflow-wrap: anywhere; }
.ppl-reviewReply__byline time { display: block; font-size: 10px; color: var(--review-muted); }
.ppl-reviewReply__body p { margin: 8px 0 0; color: var(--review-muted); font-size: 12px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.ppl-reviewReplyLink { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 650; color: var(--review-accent); text-decoration: none; }
.ppl-reviewReplyLink:hover { color: var(--review-accent); text-decoration: underline; }
