/* 缘遇首页 主题（粉色玫瑰，按二开图/主题/首页） */
body.yy-home{background:#FFF3F6 url("../img/yy_home_bg.png") no-repeat top center;background-size:100% auto;max-width:750px;text-align:left;padding-bottom:0;color:#2B2B2B}
body.yy-home .bottomblank{height:8rem}
body.yy-home .yy-wrap{width:100%;max-width:750px;margin:0 auto;padding:0 1.4rem 2rem;box-sizing:border-box}

/* header */
.yy-hd{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 0 .8rem}
.yy-brand{display:flex;align-items:baseline;gap:.55rem;min-width:0}
.yy-logo{font-family:"STXingkai","华文行楷","KaiTi","PingFang SC","Microsoft Yahei",serif;font-size:2.2rem;line-height:1;font-weight:700;letter-spacing:.04rem;background:linear-gradient(180deg,#F7A8C4 0%,#E85C86 72%);-webkit-background-clip:text;background-clip:text;color:transparent;display:flex;align-items:center}
.yy-logo-heart{width:1.7rem;height:1.7rem;margin-left:.15rem;object-fit:contain;display:block}
.yy-slogan{font-size:1.15rem;color:#B08996;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yy-hd-r{display:flex;align-items:center;gap:1rem;flex-shrink:0}
.yy-bell,.yy-avatar{position:relative;display:block}
.yy-bell{width:3.4rem;height:3.4rem;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 .2rem .8rem rgba(232,92,134,.12);text-align:center}
.yy-bell img{width:1.9rem;height:1.9rem;object-fit:contain;display:block;margin:.75rem auto 0;pointer-events:none}
.yy-bell b{position:absolute;min-width:1.5rem;height:1.5rem;line-height:1.5rem;padding:0 .35rem;background:#FF4D4F;color:#fff;font-size:1rem;border-radius:1rem;right:-.2rem;top:-.15rem;font-weight:normal;border:#fff .15rem solid;z-index:1}
.yy-avatar img{width:3.4rem;height:3.4rem;border-radius:50%;object-fit:cover;border:.15rem solid #fff;box-shadow:0 .2rem .8rem rgba(232,92,134,.12);display:block;background:#eee}

/* search */
.yy-search{display:flex;align-items:center;height:4.2rem;background:rgba(255,255,255,.95);border-radius:2.2rem;padding:0 .35rem 0 1.3rem;box-shadow:0 .2rem 1rem rgba(232,92,134,.1);margin:.2rem 0 1.2rem}
.yy-search i{color:#E85C86;font-size:1.7rem;margin-right:.5rem}
.yy-search input{flex:1;border:0;outline:none;background:transparent;font-size:1.35rem;color:#333;height:4rem;-webkit-appearance:none;font-family:inherit;min-width:0}
.yy-search input::-webkit-input-placeholder{color:#C4A8B0;font-size:1.28rem}
.yy-search-btn{flex-shrink:0;height:3.4rem;padding:0 1.15rem;margin:0;border:0;border-radius:1.7rem;background:linear-gradient(90deg,#F07A9C,#E85C86);color:#fff;font-size:1.28rem;font-weight:600;font-family:inherit;line-height:3.4rem;-webkit-appearance:none}

/* hero */
.yy-hero{display:flex;align-items:stretch;gap:.7rem;height:17.6rem;margin-bottom:1.4rem}
.yy-hncard{flex:1.55;position:relative;overflow:hidden;border-radius:1.3rem;background:linear-gradient(180deg,#FFF9FB 0%,#FFE6EE 100%);box-shadow:0 .3rem 1rem rgba(232,92,134,.12);color:#2B2B2B;padding:.9rem .75rem .85rem 1rem;box-sizing:border-box}
.yy-hncard .yy-hn-bg{position:absolute;right:-.15rem;bottom:0;width:auto;height:100%;max-width:42%;object-fit:contain;object-position:right bottom;z-index:1;pointer-events:none}
.yy-hn-seal{position:absolute;right:.35rem;bottom:.45rem;width:4.6rem;height:auto;z-index:2;pointer-events:none}
.yy-hncard .yy-hn-inner{position:relative;z-index:3;width:58%;max-width:58%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;box-sizing:border-box}
.yy-hn-tit{display:flex;align-items:center;flex-wrap:nowrap;gap:.28rem;max-width:100%;line-height:1.25;color:#C44872}
.yy-hn-tit>span:first-child{font-size:1.35rem;font-weight:700;flex-shrink:0}
.yy-badge{display:inline-flex;align-items:center;flex-shrink:0;font-size:.78rem;font-weight:normal;background:#F3E4C8;color:#C4A05A;border-radius:.7rem;padding:.08rem .32rem .08rem .22rem;line-height:1.2;white-space:nowrap}
.yy-badge i{display:inline-block;font-size:.78rem;margin-right:.08rem;color:#C4A05A;line-height:1}
.yy-hn-sub{font-size:1.05rem;color:#B08996;margin:.22rem 0 .35rem;line-height:1.4;max-width:100%}
.yy-hn-pts{display:flex;flex-direction:column;align-items:flex-start;gap:.16rem;font-size:1.02rem;color:#A07A88;line-height:1.3;max-width:100%}
.yy-hn-pts span{white-space:nowrap;display:inline-flex;align-items:center}
.yy-hn-pts i{display:inline-block;font-size:1.02rem;color:#E85C86;margin-right:.18rem;line-height:1}
.yy-hn-btn{display:inline-block;margin-top:auto;background:linear-gradient(90deg,#F07A9C,#E85C86);color:#fff;font-size:1.2rem;height:2.3rem;line-height:2.3rem;padding:0 1.2rem;border-radius:1.2rem;font-weight:600;box-shadow:0 .2rem .6rem rgba(232,92,134,.28);position:relative;z-index:3}
.yy-side{flex:1;display:flex;flex-direction:column;gap:.7rem;min-width:0}
.yy-scard{flex:1;background:rgba(255,255,255,.94);border-radius:1.3rem;padding:.65rem .7rem .6rem .7rem;box-shadow:0 .25rem .8rem rgba(232,92,134,.08);box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;gap:.45rem;position:relative;text-align:left;overflow:hidden;min-width:0}
.yy-scico{flex-shrink:0;width:2.4rem;height:2.4rem;line-height:2.4rem;text-align:center;font-size:2rem;color:#C4A05A;margin-top:.05rem}
.yy-scard.yy-speed{align-items:center;background:linear-gradient(180deg,#FFF4F7,#FFF)}
.yy-scard.yy-speed .yy-scico{margin-top:0;color:#E85C86}
.yy-scico-img{flex-shrink:0;width:2.4rem;height:2.4rem;object-fit:contain;display:block;margin:0}
.yy-scmain{flex:1;min-width:0;overflow:hidden}
.yy-scard h3{font-size:1.28rem;font-weight:700;color:#2B2B2B;display:block;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yy-scard p{font-size:1.02rem;color:#B08996;margin:.1rem 0 0;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yy-avs{display:flex;margin-top:.32rem;align-items:center;max-width:100%;overflow:hidden}
.yy-avs img{width:1.9rem;height:1.9rem;border-radius:50%;object-fit:cover;border:.14rem solid #fff;margin-left:-.5rem;background:#eee;box-shadow:0 .1rem .3rem rgba(0,0,0,.08);flex-shrink:0;box-sizing:border-box}
.yy-avs img:first-child{margin-left:0}
.yy-avs span{color:#E85C86;font-size:1.05rem}
.yy-go{flex-shrink:0;color:#D4B8C0;font-size:1.25rem;line-height:1}

/* icons */
.yy-icons{display:flex;justify-content:space-between;background:rgba(255,255,255,.94);border-radius:1.5rem;padding:1.15rem .4rem 1rem;margin-bottom:1.4rem;box-shadow:0 .3rem 1rem rgba(232,92,134,.06)}
.yy-icons a{width:25%;text-align:center;display:block}
.yy-ico{width:4.2rem;height:4.2rem;margin:0 auto .45rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem}
.yy-ico img{width:2.4rem;height:2.4rem;object-fit:contain;display:block}
.yy-ico.c1{background:#FFF4DE}
.yy-ico.c2{background:#FFE8F0}
.yy-ico.c3{background:#FFE8F0}
.yy-ico.c4{background:#FFF4DE}
.yy-ico.c5{background:#FFF4DE}
.yy-icons span{display:block;font-size:1.18rem;color:#2B2B2B;font-weight:600}
.yy-icons em{display:block;font-size:1rem;color:#C4A8B0;margin-top:.12rem;transform:scale(.92)}

/* section head */
.yy-sec{margin-bottom:1.4rem}
.yy-sec-hd{display:flex;align-items:center;justify-content:space-between;margin:0 .2rem .9rem}
.yy-sec-hd h2{font-size:1.7rem;font-weight:700;color:#2B2B2B}
.yy-more{font-size:1.25rem;color:#E85C86}
.yy-more i{font-size:1.1rem}

/* recommend cards */
.yy-rec{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 1.2rem) / 3);gap:.6rem;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0;padding:0 0 .9rem;scroll-snap-type:x mandatory;scrollbar-width:none}
.yy-rec::-webkit-scrollbar{display:none}
.yy-rec-track{display:contents}
.yy-ucard{width:auto;min-width:0;background:rgba(255,255,255,.96);border-radius:1.2rem;overflow:hidden;box-shadow:0 .25rem .8rem rgba(232,92,134,.08);scroll-snap-align:start;position:relative}
.yy-upic{position:relative;height:auto;aspect-ratio:3/4;background:#eee}
.yy-upic img{width:100%;height:100%;object-fit:cover;display:block}
.yy-online{position:absolute;right:.45rem;bottom:.45rem;left:auto;top:auto;background:#E85C86;color:#fff;font-size:1rem;height:1.7rem;line-height:1.7rem;padding:0 .55rem;border-radius:1rem}
.yy-online:before{content:'';display:inline-block;width:.5rem;height:.5rem;background:#fff;border-radius:50%;margin-right:.22rem;vertical-align:middle}
.yy-online.on:before{background:#fff}
.yy-online.on{color:#fff}
.yy-heart{position:absolute;right:.55rem;top:.55rem;width:2.4rem;height:2.4rem;border-radius:50%;background:rgba(255,255,255,.96);text-align:center;line-height:2.4rem;color:#E85C86;box-shadow:0 .12rem .4rem rgba(0,0,0,.1);z-index:2}
.yy-heart i{font-size:1.35rem;color:#E85C86}
.yy-heart.ed,.yy-heart.ed i{color:#D44872}
.yy-uinfo{padding:.65rem .7rem .85rem;text-align:left}
.yy-uname{font-size:1.32rem;font-weight:700;color:#2B2B2B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yy-umeta{font-size:1.05rem;color:#B08996;margin:.2rem 0 .38rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yy-tags{display:flex;flex-wrap:nowrap;gap:.3rem;overflow:hidden}
.yy-tags span{background:#FFE8F0;color:#E85C86;font-size:.95rem;padding:.08rem .38rem;border-radius:.35rem;line-height:1.5;white-space:nowrap}
.yy-ufoot{font-size:1.05rem;color:#B08996;margin-top:.38rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yy-dots{text-align:center;height:.55rem;margin-top:.1rem}
.yy-dots i{display:inline-block;width:.4rem;height:.4rem;border-radius:50%;background:#F0D4DC;margin:0 .15rem;vertical-align:middle}
.yy-dots i.ed{width:1.05rem;border-radius:.4rem;background:#E85C86}
.yy-empty{padding:2.5rem 0;text-align:center;color:#C4A8B0;font-size:1.3rem}

/* consult list */
.yy-chat{background:rgba(255,255,255,.96);border-radius:1.5rem;overflow:hidden;box-shadow:0 .3rem 1rem rgba(232,92,134,.06)}
.yy-chat a{display:flex;align-items:center;padding:1.15rem 1.1rem;border-bottom:#F8E8EE 1px solid}
.yy-chat a:last-child{border-bottom:0}
.yy-chat img{width:4.4rem;height:4.4rem;border-radius:50%;object-fit:cover;margin-right:1rem;flex-shrink:0;background:#eee}
.yy-chat .yy-cmain{flex:1;min-width:0}
.yy-chat .yy-cname{display:flex;align-items:center;gap:.4rem;font-size:1.4rem;font-weight:700;color:#2B2B2B}
.yy-tag-off{font-size:1rem;font-weight:normal;background:#FFE8F0;color:#E85C86;border-radius:.35rem;padding:.05rem .35rem}
.yy-tag-kf{font-size:1rem;font-weight:normal;background:#EEF2F8;color:#6A7A96;border-radius:.35rem;padding:.05rem .35rem}
.yy-chat p{font-size:1.2rem;color:#B08996;margin-top:.3rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yy-chat .yy-cright{text-align:right;flex-shrink:0;margin-left:.6rem}
.yy-chat time{display:block;font-size:1.1rem;color:#D4B8C0}
.yy-chat b.num{display:inline-block;min-width:1.5rem;height:1.5rem;line-height:1.5rem;padding:0 .35rem;background:#FF4D4F;color:#fff;font-size:1rem;border-radius:1rem;margin-top:.35rem;font-weight:normal}

/* 仅首页底栏选中色随主题 */
body.yy-home .yy-nav a.ed i,
body.yy-home .yy-nav a.ed font{color:#E85C86}
