#linyin-trade-friends .ly-register {
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  min-height:38px;padding:0 16px;border:1px solid currentColor;border-radius:999px;
  color:var(--nav-paper,#214939);font:650 14px/1.2 system-ui,sans-serif;
  text-decoration:none;white-space:nowrap;
}
#linyin-trade-friends .ly-register:is(:hover,:focus-visible) {background:var(--nav-hover,#efefe8)}
#linyin-trade-friends .ly-register:focus-visible,#linyin-trade-friends .ly-buying-contact:focus-visible {outline:2px solid currentColor;outline-offset:2px}
#linyin-trade-friends a.ly-buying-contact {
  display:inline-flex;align-items:center;justify-self:start;align-self:start;gap:5px;width:fit-content;
  min-height:32px;color:#1b5740;text-decoration:underline;text-underline-offset:4px;
  font:600 13px/1.3 -apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI",sans-serif;
}
#linyin-trade-friends a.ly-buying-contact::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("./whatsapp.svg") center / contain no-repeat;
  mask: url("./whatsapp.svg") center / contain no-repeat;
}
#linyin-trade-friends a.ly-buying-contact[hidden]{display:none}
html[data-device=desktop] #linyin-trade-friends .ly-person>.ly-buying-contact{grid-column:2;grid-row:3}
html[data-device=desktop] #linyin-trade-friends .ld-brief .ld-brief-detail{
  display:flex;flex-direction:column;align-items:flex-start;gap:0;
  width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:start;cursor:pointer
}
#linyin-trade-friends .ld-brief .ld-brief-detail:focus-visible{outline:2px solid currentColor;outline-offset:2px}
#linyin-trade-friends .ld-brief .ly-buying-contact{margin-top:4px}
#linyin-trade-friends [data-ly-panel=story] .ly-buying-contact{min-height:44px;margin-inline-end:12px}
html[data-device=phone] #linyin-trade-friends .ly-header .ly-register{
  min-height:34px;color:#1b493a;font-size:13px;padding:0 11px;
}
html[data-device=phone] #linyin-trade-friends #ly-pocket .pk-face-contact {
  position:absolute;z-index:2;inset:auto auto 8px var(--card-pad);
  display:inline-flex;align-items:center;min-height:44px;max-width:50%;pointer-events:auto;
  white-space:nowrap;touch-action:manipulation;
}
html[data-device=phone] #linyin-trade-friends #ly-pocket .pk-face-contact[hidden]{display:none}
html[data-device=phone] #linyin-trade-friends #ly-pocket #pocket-next .pk-face-contact{pointer-events:none}
@media(max-width:390px){
  html[data-device=phone] #linyin-trade-friends>.ly-header{gap:6px;padding-inline:10px}
  html[data-device=phone] #linyin-trade-friends #pocket-suppliers,html[data-device=phone] #linyin-trade-friends #brand-mobile-open{padding-inline:1px;font-size:12px}
  html[data-device=phone] #linyin-trade-friends .ly-header .ly-register{padding-inline:8px;font-size:12px}
}

/* Let the request and its author's own words occupy the width of each entry. */
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] {
  grid-template-columns:44px minmax(0,1fr);
  grid-template-rows:auto auto auto 1fr auto;
  gap:0 12px;
  padding:20px 0 12px;
}
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] header,
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] header>div {display:contents}
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] .ly-story-cover,
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] img.ly-peer-image {
  width:44px;height:48px;border-radius:2px;
}
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] h3 {
  grid-column:2;grid-row:1;align-self:end;margin:0;
  font:600 16px/1.25 var(--ld-sans);
}
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] header p {
  grid-column:2;grid-row:2;margin:3px 0 0;
  line-height:1.4;
}
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase] .ly-buy-product {
  grid-column:1/-1;grid-row:3;margin:12px 0 4px;color:var(--ly-ink);
  font:600 clamp(18px,1.5vw,22px)/1.35 var(--ld-serif);overflow-wrap:anywhere;
}
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase]>p {
  grid-column:1/-1;grid-row:4;display:block;overflow:visible;
  font-size:14px;line-height:1.55;text-wrap:pretty;
}
html[data-device=desktop] #linyin-trade-friends .ly-person[data-intent=purchase]>.ly-buying-contact {
  position:relative;z-index:2;grid-column:1/-1;grid-row:5;margin-top:4px;
}
html[data-device=desktop] #linyin-trade-friends .ld-demand>.ld-brief {
  padding:16px 0 12px;border-top:0;
}
html[data-device=desktop] #linyin-trade-friends .ld-demand .ld-by {
  min-height:32px;gap:4px 6px;font-size:13px;
}
html[data-device=desktop] #linyin-trade-friends .ld-demand .ld-by img {
  width:32px;height:32px;border-radius:2px;margin-right:2px;
}
html[data-device=desktop] #linyin-trade-friends .ld-demand .ld-request-name {
  margin:12px 0 4px;font-weight:600;font-size:clamp(20px,1.75vw,25px);
}
html[data-device=desktop] #linyin-trade-friends .ld-demand .ld-request-spec {
  font-size:14px;line-height:1.55;
}
html[data-device=desktop] #linyin-trade-friends :is(.ld-demand .ld-brief,.ly-person[data-intent=purchase])>.ly-buying-contact {
  font-weight:500;text-decoration-color:#90a79b;text-underline-offset:3px;
}
html[data-device=desktop] #linyin-trade-friends :is(.ld-demand .ld-brief,.ly-person[data-intent=purchase])>.ly-buying-contact:hover {
  text-decoration-color:currentColor;
}

/* Buyer account controls on the public home and mobile profile. */
#linyin-trade-friends :is([data-buyer-guest],[data-buyer-member])[hidden] { display:none !important; }
.buyer-account-menu { display:grid; gap:5px; padding:8px 11px 4px; color:#212e27; font:550 14px/1.4 system-ui,sans-serif; }
html[data-device=desktop] #linyin-trade-friends .buyer-account-menu [data-buyer-logout] { margin-inline-start:-11px; }
[data-buyer-email] { overflow-wrap:anywhere; font:550 15px/1.45 system-ui,sans-serif; }
[data-buyer-logout] { width:fit-content; padding:6px 0; min-height:44px; border:0; background:transparent; color:#205649; font:650 14px/1.45 system-ui,sans-serif; text-align:start; cursor:pointer; }
[data-buyer-error] { margin:0; color:#a62337; font:400 14px/1.45 system-ui,sans-serif; }
[data-buyer-error]:empty { display:none; }
html[data-device=phone][data-buyer-state=member] #linyin-trade-friends #pocket-supplier-inbox { display:none; }
#pocket-buyer-heading { margin:0 0 16px; font:700 26px/1.3 system-ui,sans-serif; }
#pocket-me-login .pk-buyer-login { display:flex; justify-content:center; align-items:center; min-height:48px; border-radius:12px; background:#205649; color:white; text-decoration:none; font:650 16px/1.45 system-ui,sans-serif; }
#pocket-me-login #pocket-me-login-heading { margin:30px 0 12px; padding-top:24px; border-top:1px solid #e5e8e6; font-size:20px; }
.pk-buyer-account { display:grid; gap:8px; }

#home-privacy { border-top:1px solid var(--hairline,#d7dfda); padding:15px clamp(20px,5vw,72px); text-align:end; }
#home-privacy a { display:inline-flex; align-items:center; min-height:44px; color:inherit; font:500 14px/1.4 system-ui,sans-serif; text-underline-offset:3px; }
html[data-device=phone] #home-privacy { display:none; }
