/* Discovery and member refinements in the supplied PeiPei red / white world. */
.community-discover .companion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;margin:10px 16px 0}
.community-discover .companion-card{min-width:0;margin:0;border-radius:18px;box-shadow:0 6px 20px rgba(30,30,36,.10);display:flex;flex-direction:column}
.member-gallery{position:relative;overflow:hidden;background:var(--blush)}
.gallery-card{aspect-ratio:4/5}
.gallery-rail{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
.gallery-rail::-webkit-scrollbar{display:none}
.gallery-slide{position:relative;display:block;flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always}
.member-gallery .gallery-slide>.photo.portrait{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background-position:center 22%!important}
.member-gallery .portrait-fallback{font-size:52px}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;display:grid;place-items:center;width:30px;height:40px;border:0;border-radius:100px;background:rgba(20,4,8,.48);color:#fff;cursor:pointer;padding:0;font-size:18px}
.gallery-prev{left:5px}.gallery-next{right:5px}
.gallery-arrow:disabled{opacity:0;pointer-events:none}
.gallery-count{position:absolute;right:8px;bottom:8px;z-index:4;border-radius:100px;background:rgba(20,4,8,.65);color:#fff;padding:4px 8px;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;pointer-events:none}
.gallery-empty{position:absolute;bottom:12px;left:0;right:0;text-align:center;color:#8E1B2B;font-size:11px;font-weight:700;pointer-events:none}
.community-discover .disc-info{display:flex;flex-direction:column;flex:1;min-width:0;padding:10px}
.community-discover .card-name{font-size:15px;line-height:1.35;font-weight:800;letter-spacing:-.3px;color:var(--ink);overflow-wrap:anywhere;display:block}
.community-discover .identity-name-row{min-height:44px;gap:0}
.community-discover .identity-seal-mark{background:var(--blush)}
.community-discover .identity-seal:focus-visible{outline-color:var(--crimson)}
.companion-city{display:flex;align-items:flex-start;gap:3px;font-size:10px;line-height:1.4;color:#64646f;margin-top:5px;min-height:14px}
.companion-city iconify-icon{margin-top:1px;font-size:12px}.companion-city span{overflow-wrap:anywhere;min-width:0}
.community-discover .tagrow{margin-top:9px;gap:4px;min-height:22px;align-content:flex-start}
.community-discover .tagrow .chip{font-size:9px;padding:4px 6px;min-width:0;max-width:100%;gap:3px;white-space:normal;line-height:1.35;color:#9a2131}
.community-discover .tagrow .chip iconify-icon{font-size:11px}
.no-activities{font-size:10px;color:#64646f;line-height:1.4}
.community-discover .disc-foot{margin-top:auto;padding-top:12px;gap:5px;align-items:flex-end;flex-wrap:wrap}
.companion-rate{color:var(--red);font-weight:800;font-size:14px;line-height:1.4;letter-spacing:-.3px;white-space:nowrap;font-variant-numeric:tabular-nums}
.companion-rate small{font-size:9px;font-weight:600;letter-spacing:0;color:#64646f;margin-left:1px}
.community-discover .disc-foot .btn{height:30px;min-width:45px;padding:0 10px;border-radius:100px;font-size:10px;margin-left:auto;flex:none}
.community-discover .caption{text-align:left;padding:12px 18px 0;color:#64646f;font-size:10px;line-height:1.5}
.community-discover .more-companions-heading{padding-top:25px;gap:10px;align-items:baseline}
.community-discover .more-companions-heading b{font-size:16px;line-height:1.3;min-width:0}
.community-discover .more-companions-heading a{font-size:10px;flex-shrink:0;color:#ac2333;min-height:28px;display:flex;align-items:center}
.community-discover .list-note{margin-top:18px;line-height:1.6;color:#64646f}
.community-profile .hero{height:372px;background:var(--blush)}
.community-profile .hero::after{pointer-events:none;background:linear-gradient(180deg,rgba(20,4,8,.10),transparent 35%,rgba(20,4,8,.68))}
.community-profile .gallery-profile{position:absolute;inset:0}
.community-profile .hero-name{left:18px;right:18px;bottom:42px;pointer-events:none}
.community-profile .hero-name h3{font-size:28px;line-height:1.18;letter-spacing:-.7px;overflow-wrap:anywhere;text-shadow:0 2px 8px rgba(20,4,8,.3)}
.community-profile .hero-meta{display:flex;align-items:center;gap:4px;line-height:1.45;font-size:12px;opacity:1;margin-top:8px}
.community-profile .hero-nav{top:14px}
.community-profile .gallery-count{top:64px;bottom:auto;right:16px}
.community-profile .gallery-arrow{width:36px;height:44px;top:43%}
.community-profile .gallery-prev{left:10px}.community-profile .gallery-next{right:10px}
.community-profile .gallery-empty{bottom:auto;top:64px}
.community-profile .sheet{padding-top:18px}
.community-profile .thumbs{margin-bottom:16px;padding:2px 2px 7px}
.community-profile .thumb>.photo{width:100%;height:100%;border-radius:0}
.community-profile .rate-card{padding:13px 12px;gap:8px}
.community-profile .rate-card .rl{min-width:0}
.community-profile .rate-card .rl b{font-size:23px;white-space:nowrap}
.community-profile .rate-card .rl em{font-size:10px;line-height:1.5;color:#64646f;max-width:24ch;margin-top:5px}
.community-profile .rate-card>.chip{font-size:10px;white-space:normal;text-align:center;line-height:1.4;flex-shrink:0;max-width:38%;padding:8px 10px}
.community-profile .profile-treat-card {
  --treat-symbol: #f7e2e9;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px solid #f7dfe2;
  border-radius: 16px;
  background: #fffbfc;
  color: var(--ink);
  line-height: 1.4;
  text-decoration: none;
}
.community-profile .profile-treat-card:hover { background: #fff1f4; color: var(--ink); }
.community-profile .profile-treat-card:active { background: var(--treat-symbol); }
.community-profile .profile-treat-card:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.community-profile .profile-treat-icon,
.community-profile .profile-treat-chevron { display: grid; place-items: center; color: var(--crimson); }
.community-profile .profile-treat-icon { height: 38px; border-radius: 12px; background: var(--treat-symbol); font-size: 20px; }
.community-profile .profile-treat-chevron { font-size: 16px; }
.community-profile .profile-treat-copy { display: grid; gap: 2px; overflow-wrap: anywhere; }
.community-profile .profile-treat-copy strong { font-size: 14px; font-weight: 800; }
.community-profile .profile-treat-copy small { color: var(--ui-secondary, #676771); font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .community-profile .profile-treat-card { transition: background-color 150ms ease; }
}
.community-profile .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 0;padding:14px 6px;margin-top:16px}
.community-profile .stat{min-width:0;padding:0 8px}
.community-profile .stat b{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.community-profile .stat span{font-size:9px;line-height:1.4;color:#64646f;display:block;margin-top:3px}
.community-profile .stat:nth-child(3)::before{display:none}
.community-profile .sheet>.section-head{padding:23px 0 9px;gap:10px;align-items:baseline}
.community-profile .sheet>.section-head b{font-size:15px;line-height:1.4}
.community-profile .sheet>.section-head a{flex-shrink:0;color:#ac2333}
.community-profile .bio{margin-top:0;font-size:13px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-line;color:#5a5a62}
.community-profile .acts{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.community-profile .act{font-size:11px;line-height:1.4;padding:11px 5px;overflow-wrap:anywhere}
.community-profile .acts>.list-note{grid-column:1/-1;margin:0;padding:0;color:#64646f}
.community-profile .dates{margin-top:0;gap:8px}
.community-profile .date{padding:11px 12px;min-width:94px}
.community-profile .date span{display:block;font-size:10px;line-height:1.5;margin-top:4px;color:#64646f;font-variant-numeric:tabular-nums}
.community-profile .sheet>.list-note{padding:0;margin-top:10px;line-height:1.6;color:#64646f}
.community-profile .sheet>.rev-summary,.community-profile .sheet>.rev-card{margin-left:0;margin-right:0}
.community-profile .rev-body{overflow-wrap:anywhere}
.app-shell[data-route="member"] #profile-actions .booking-amount{display:inline-flex;align-items:baseline;white-space:nowrap;word-break:keep-all;gap:1px;line-height:1.3}
.app-shell[data-route="member"] #profile-actions .booking-amount small{white-space:nowrap;word-break:keep-all;letter-spacing:0;font-size:10px}
@media(max-width:350px){.community-discover .companion-grid{gap:12px 8px;margin-left:12px;margin-right:12px}.community-discover .disc-info{padding:9px 8px}.community-discover .card-name{font-size:14px}.companion-rate{font-size:12px}.community-discover .disc-foot .btn{padding:0 9px;min-width:42px}.community-profile .hero-name h3{font-size:26px}.community-profile .rate-card .rl b{font-size:21px}.app-shell[data-route="member"] #profile-actions .btn-red{gap:3px;font-size:13px}.app-shell[data-route="member"] #profile-actions .btn-ghost{flex-basis:33%}}
@media(prefers-reduced-motion:reduce){.gallery-rail{scroll-behavior:auto}}
.review-photo-field{min-width:0;margin:18px 0 0;padding:0;border:0}
.review-photo-field legend{padding:0}
.review-photo-picker{position:relative;display:inline-flex;align-items:center;gap:8px;margin:8px 0;padding:10px 14px;min-height:44px;border:1.5px dashed #ba858e;border-radius:12px;background:var(--blush);color:var(--ink);font-weight:700;cursor:pointer}
.review-photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.review-photo-picker:focus-within{outline:2px solid var(--red);outline-offset:2px}
.review-photo-field .rate-hint{text-align:start}
.review-photos{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.review-photos:empty{display:none}
.review-photos img{display:block;width:76px;height:76px;object-fit:cover;border-radius:10px}
.review-photos label span{display:flex;align-items:center;gap:4px;font-size:12px;min-height:32px}
.review-photo-field [hidden]{display:none}
