
/* V9.7 richer profile content */
.profile-interest-list-v97{display:flex;gap:6px;flex-wrap:wrap;padding:12px}
.profile-interest-list-v97 span{padding:6px 8px;border:1px solid #e3d6cb;border-radius:999px;background:#fff8ef;color:#665047;font-size:10px;font-weight:800}
.profile-interest-list-v97 span.common{background:#eef7ed;border-color:#d1e5cf;color:#2f6f3a}
.profile-interest-list-v97 span b{font-size:8px}
.profile-prompt-grid-v97{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}
.profile-prompt-grid-v97>div{padding:10px;background:#fff8ef;border:1px solid #e4d6ca;border-radius:9px}
.profile-prompt-grid-v97 b{display:block;color:#721517;font-size:10px}
.profile-prompt-grid-v97 p{margin:5px 0 0;color:#5d4d46;font-size:11px;line-height:1.45}
.profile-prompts-v97 textarea{width:100%;box-sizing:border-box;resize:vertical}

/* V9.8 profile hierarchy + mobile */
.profile-gallery-v98 .gallery-v27{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:10px}
.profile-gallery-v98 .gallery-photo-v27{aspect-ratio:1/1;overflow:hidden;border-radius:8px}
.profile-gallery-v98 .gallery-photo-v27 img{width:100%!important;height:100%!important;object-fit:cover}
.profile-v27-side{align-self:start}
@media(max-width:850px){
  .profile-v27{display:flex!important;flex-direction:column!important}
  .profile-v27-main{order:1}
  .profile-v27-side{order:2;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .profile-v27-side>.why-profile-v82{order:1}
  .profile-v27-side>.first-contact-v84{order:2}
  .profile-v27-side>.profile-quality-v95{order:3}
  .profile-v27-side>.trust-signals-v96{order:4}
  .profile-v27-side>.gift-shop-v27{order:5}
  .profile-prompt-grid-v97{grid-template-columns:1fr}
}
@media(max-width:620px){
  .profile-v27-side{grid-template-columns:1fr}
  .profile-gallery-v98 .gallery-v27{grid-template-columns:repeat(3,minmax(0,1fr))}
  .profile-hero-card{display:block!important}
  .profile-photo-v27{margin-bottom:10px}
}
@media(max-width:420px){
  .profile-gallery-v98 .gallery-v27{grid-template-columns:repeat(2,minmax(0,1fr))}
}
