/* Follow controls are scoped; the merchant/referral identity stays unchanged. */
.lmf-follow-control { margin-top: 12px; max-width: 100%; }
.lmf-follow-button,.lmf-cancel-button,.lmf-retry-button,.lmf-load-more,.lmf-text-button {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px;
  line-height: 22px; min-height: 38px; width: auto; margin: 0; padding: 7px 17px;
  border: 1px solid #d9414d; border-radius: 22px; background: #e92728; color: #fff;
  cursor: pointer; box-sizing: border-box; white-space: normal;
}
.lmf-follow-button.is-following { background: #fff4f3; color: #a93e4c; border-color: #e2b6bd; }
.lmf-follow-button:disabled,.lmf-cancel-button:disabled,.lmf-retry-button:disabled,.lmf-load-more:disabled,.lmf-text-button:disabled { opacity: .56; cursor: default; }
.lmf-follow-control button::after,.lmf-page button::after,.lmf-public-page button::after { border: 0; }
.lmf-follow-control button:focus-visible,.lmf-page button:focus-visible,.lmf-public-page button:focus-visible { outline: 2px solid #9c3145; outline-offset: 3px; }
.lmf-inline-error { margin: 7px 0 0; font-size: 12px; line-height: 1.55; color: #ad293e; overflow-wrap: anywhere; }
.home-profile.lmf-home-profile { height: auto; min-height: 108px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 7px 8px; }
.home-profile.lmf-home-profile .home-name { min-width: 70px; overflow-wrap: anywhere; }
.home-profile.lmf-home-profile .lmf-follow-control { flex: 0 0 100%; margin-top: 0; text-align: right; }
.home-profile.lmf-home-profile .lmf-follow-button { min-height: 34px; padding: 4px 16px; }
.mine-page .lauren-mine-tools-grid .lmf-mine-icon { color: #ac3658; background: #f9e7ee; font-size: 31px; font-weight: 400; }
.lmf-page,.lmf-public-page { min-height: 100vh; background: #f8f4f2; color: #3b2f32; padding: 0 0 max(28px,env(safe-area-inset-bottom,0px)); box-sizing: border-box; }
.lmf-page .topbar,.lmf-public-page .topbar { margin: 0; }
.lmf-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 15px 8px; font-size: 14px; color: #7d626a; }
.lmf-text-button { min-height: 34px; padding: 4px 12px; background: #fff; color: #a33d4e; border-color: #e9d5d8; }
.lmf-merchant-card { margin: 10px 12px; overflow: hidden; border: 1px solid #eee2e3; border-radius: 15px; background: #fff; box-shadow: 0 3px 12px #63344006; }
.lmf-card-open { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 0; padding: 17px 14px 14px; border: 0; border-radius: 0; background: transparent; color: inherit; text-align: left; font: inherit; line-height: 1.5; cursor: pointer; box-sizing: border-box; appearance: none; }
.lmf-card-open:disabled { cursor: default; opacity: .72; }
.lmf-avatar { display: block; flex: 0 0 55px; width: 55px; height: 55px; object-fit: cover; border-radius: 50%; background: #f7e8e9; }
.lmf-card-info { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 5px; }
.lmf-card-info strong { font-size: 17px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.lmf-bio { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.6; color: #87737a; overflow-wrap: anywhere; }
.lmf-followed-time { font-size: 12px; line-height: 1.6; color: #a58f97; overflow-wrap: anywhere; }
.lmf-card-arrow { flex: 0 0 10px; padding-top: 8px; font-size: 26px; line-height: 28px; color: #b3959e; }
.lmf-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 14px; padding: 10px 0; border-top: 1px solid #f3ebec; }
.lmf-availability { color: #a58b94; font-size: 12px; line-height: 18px; }
.lmf-cancel-button { flex-shrink: 0; min-height: 34px; padding: 5px 13px; background: #fff; color: #a5465a; border-color: #e8ccd3; font-size: 13px; }
.lmf-state { margin: 15px 12px; padding: 24px 16px; border-radius: 14px; background: #fff; color: #937780; text-align: center; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.lmf-error { color: #a4344b; }
.lmf-state p { margin: 0 0 14px; }
.lmf-retry-button { min-width: 120px; }
.lmf-notice { margin: 8px 15px; color: #6b866b; font-size: 13px; line-height: 22px; }
.lmf-empty { padding: 65px 25px; text-align: center; color: #a18a92; }
.lmf-empty > span { display: block; margin-bottom: 10px; color: #c78595; font-size: 66px; line-height: 1; }
.lmf-empty h2 { color: #6a4a56; font-size: 18px; font-weight: 600; margin: 15px 0 12px; }
.lmf-empty p { font-size: 14px; line-height: 1.8; margin: 0; }
.lmf-load-more { display: block; width: calc(100% - 48px); max-width: 330px; margin: 18px auto; background: #fff; color: #a83d52; border-color: #dfb9c2; }
.lmf-end { color: #a49198; font-size: 12px; line-height: 20px; text-align: center; margin: 22px 15px; }
.lmf-public-page .lmf-public-profile { margin: 14px 12px; padding: 19px 17px; background: #fff; border: 1px solid #eee2e3; border-radius: 15px; }
.lmf-public-heading { display: flex; gap: 14px; align-items: flex-start; }
.lmf-public-heading > div { flex: 1; min-width: 0; }
.lmf-public-heading h1 { margin: 1px 0 7px; font-size: 19px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.lmf-public-heading p { margin: 0; color: #8c747e; font-size: 14px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.lmf-public-page .lmf-public-profile .lmf-follow-control { margin-top: 17px; text-align: right; }
.lmf-public-page > .article-card { margin-right: 12px; margin-left: 12px; }
@media (max-width: 350px) {
  .lmf-merchant-card { margin-right: 9px; margin-left: 9px; }
  .lmf-card-open { gap: 10px; padding: 15px 12px 12px; }
  .lmf-avatar { width: 48px; height: 48px; flex-basis: 48px; }
  .lmf-card-info strong { font-size: 16px; }
  .lmf-public-heading { gap: 11px; }
}
