/* Animal cards have one vertical scrollport; their media never set a grid item's intrinsic width. */
.help-page .help-feed {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));
  grid-auto-rows:max-content;
  align-items:stretch;
  align-content:start;
  min-width:0;
  min-height:0;
  max-width:100%;
  gap:16px;
  margin:0;
  padding:16px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior-x:none;
  overflow-anchor:none;
  list-style:none;
  box-sizing:border-box;
}
.help-card {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto;
  align-content:start;
  gap:14px;
  min-width:0;
  width:100%;
  max-width:100%;
  height:auto;
  min-height:0;
  margin:0;
  padding:10px;
  box-sizing:border-box;
  border:1px solid #31935a;
  border-radius:15px;
  background:linear-gradient(145deg,#0d1612,#101b16);
  overflow:hidden;
  overflow-wrap:anywhere;
}
.help-card-media {
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  min-width:0;
  max-width:100%;
  aspect-ratio:1200 / 630;
  border-radius:11px;
  background:#050807;
  overflow:hidden;
}
.help-card-media img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  max-height:100%;
  object-fit:cover;
}
.help-card-image-placeholder { font-size:52px; opacity:.5; }
.help-card-copy { min-width:0; max-width:100%; padding:0 7px; }
.help-card h2 { margin:10px 0 8px; font-size:20px; white-space:normal; overflow-wrap:anywhere; }
.help-card p { margin:0; color:#b9c5be; line-height:1.5; white-space:pre-line; overflow-wrap:anywhere; }
.help-card .help-card-amount { display:block; margin:7px 0; color:#35ed83; font-size:22px; line-height:1.3; white-space:normal; }
.help-card .help-card-amount.is-unavailable { color:#b9c5be; font-size:14px; font-weight:500; }
.help-card-sync { display:block; margin:0 0 10px; color:#b9c5be; line-height:1.4; }
.help-card-progress { display:block; width:100%; height:8px; margin:10px 0 14px; accent-color:#35ed83; }
.help-card .help-open { align-self:start; justify-self:start; width:auto; max-width:calc(100% - 14px); margin:0 7px 7px; box-sizing:border-box; white-space:normal; overflow-wrap:anywhere; }
.help-page .help-load-more { grid-column:1 / -1; min-width:0; text-align:center; }
.help-page .help-load-more button { min-height:44px; max-width:100%; padding:10px 16px; border:1px solid #2c8e5d; border-radius:10px; background:#0f442d; color:#d3ffea; font:inherit; font-weight:800; }
.help-listing-card[data-help-open]{cursor:pointer}.help-listing-card[data-help-open]:focus-visible{outline:2px solid #56eda0;outline-offset:3px}
.help-listing-card .listing-card-body h2{grid-column:1;display:flex;align-items:center;min-width:0;height:52px;margin:0;overflow:hidden;font-size:16px;line-height:1.08}
.help-listing-card .listing-card-body h2>span{display:block;min-width:0;width:100%;white-space:normal;overflow-wrap:anywhere}
.help-listing-card .listing-card-price{grid-column:1/-1;min-width:0;height:22px;margin:2.333px 0 0;font-size:22px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.help-listing-card .listing-seller-badge{grid-column:2;grid-row:1;justify-self:end;margin:0}
.help-listing-card .listing-actions{padding-top:10px}
.help-listing-card .listing-actions a{display:flex;flex:1 1 0;min-width:0;min-height:40px;align-items:center;justify-content:center;box-sizing:border-box;padding:7px 5px;border:1px solid #347455;border-radius:8px;background:linear-gradient(145deg,#174b32,#103622);color:#effff6;font-size:12px;font-weight:850;line-height:1.1;text-align:center;text-decoration:none;white-space:nowrap}
.help-listing-card .listing-actions a:hover,.help-listing-card .listing-actions a:focus-visible{border-color:#73dca5;background:linear-gradient(145deg,#216d48,#185136);color:#fff;outline:2px solid #73dca555;outline-offset:2px}

/* The animal zone uses one compact footer. Its legal details expand only on request. */
body.public-chat-layout[data-public-view="help"] > footer.site-legal-links { display:none!important; }
body.public-chat-layout .help-bottom {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px 14px;
  padding:4px max(12px,calc((100vw - 1960px)/2));
}
.help-bottom-more { position:relative; grid-column:1; grid-row:1; min-width:0; width:100%; }
.help-bottom-more > summary { width:100%; min-height:32px; line-height:1.25; }
.help-footer-message { display:block; flex:1 1 auto; min-width:0; color:#b9c4be; }
.help-footer-message strong { color:#f1f5f3; }
.help-footer-separator { padding:0 5px; color:#55d995; }
.help-footer-purpose-expanded { display:none; }
.help-bottom-more > .listing-bottom-more-content {
  display:none;
  gap:8px;
  padding:8px 0 5px;
}
.help-bottom-more[open] > .listing-bottom-more-content { display:grid; }
.help-bottom-more .help-provider-note { margin:0; color:#aebbb4; }
.help-bottom-more .listing-bottom-links,
.help-bottom-more .listing-bottom-about nav { display:flex; flex-wrap:wrap; gap:4px 16px; }
.help-bottom-more .listing-bottom-links a,
.help-bottom-more .listing-bottom-about a { min-height:28px; margin:0; }
.help-bottom-more .listing-bottom-about { display:grid; gap:5px; padding-top:7px; border-top:1px solid #2a3931; }
.help-bottom-more .listing-bottom-about p { margin:0; color:#aebbb4; }
body.public-chat-layout .help-bottom .listing-bottom-actions { grid-column:2; min-width:max-content; }
body.public-chat-layout .help-bottom .listing-note { grid-column:1/-1; }
body.public-chat-layout .help-bottom [data-help-add] { min-height:36px; padding:6px 14px; }
body:has(> .advertiser-banner.is-visible) .help-page .help-feed { padding-top:calc(18px + var(--max100-ad-height,76px)); }
@media(max-width:720px) {
  .help-page .help-feed { grid-template-columns:minmax(0,1fr); gap:12px; padding:12px; }
  .help-page .help-listing-card .listing-card-photo { height:clamp(170px,48vw,260px); min-height:0; aspect-ratio:auto; }
  .help-page .help-listing-card .listing-photo { object-fit:contain; }
  .help-listing-card .listing-card-body { padding:12px 8px; }
  body:has(> .advertiser-banner.is-visible) .help-page .help-feed { padding-top:calc(10px + var(--max100-ad-height,64px)); }
  body.public-chat-layout .help-bottom { grid-template-columns:minmax(0,1fr); gap:4px 8px; padding:4px 8px calc(4px + env(safe-area-inset-bottom,0px)); }
  body.public-chat-layout .help-bottom .listing-bottom-actions { grid-column:1; grid-row:1; min-width:0; }
  body.public-chat-layout .help-bottom .listing-bottom-actions button { width:100%; min-height:38px; }
  .help-bottom-more { grid-column:1; grid-row:2; text-align:center; }
  .help-bottom-more > summary { justify-content:center; min-height:28px; font-size:10px; }
  .help-bottom-more > summary .help-footer-purpose,
  .help-bottom-more > summary .help-footer-separator { display:none; }
  .help-footer-purpose-expanded { display:block; margin:0; color:#b9c4be; }
  .help-footer-purpose-expanded strong { color:#f1f5f3; }
  .help-bottom-more > .listing-bottom-more-content { padding:6px 4px 2px; }
  .help-bottom-more .listing-bottom-links,
  .help-bottom-more .listing-bottom-about nav { justify-content:center; }
}
@media(max-width:640px) {
  .help-listing-card .listing-card-price { margin-top:1.333px; }
}
