/* Profile reference: measured at 430 CSS px. Keep all rules out of discovery/detail. */
html:not(.discovery-active) .phone{max-width:430px!important;margin:0 auto!important;background:#fafafa!important;padding-bottom:calc(44px + env(safe-area-inset-bottom,0px))!important;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-text-size-adjust:100%}
#hero{min-height:0!important;padding:env(safe-area-inset-top,0px) 16px 27px!important;background-position:center top!important}
#hero .nav{height:44px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important}
#hero .nav button{margin:0!important;padding:0!important;border:0!important;color:#eee!important;background:none!important;flex-shrink:0}
#hero .nav #menuBtn{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:30px!important;height:38px!important}
#hero .nav #menuBtn svg{width:22px!important;height:22px!important}
#hero .nav #editProfile{display:flex!important;align-items:center!important;gap:5px!important;height:26px!important;margin-left:auto!important;padding:0 9px!important;background:#ffffff18!important;border-radius:16px!important;font-size:12px!important;font-weight:400!important;white-space:nowrap}
#hero .nav #editProfile svg{width:13px!important;height:13px!important}
#hero .nav #scanBtn,#hero .nav #shareBtn{display:grid!important;place-items:center!important;width:25px!important;height:38px!important}
#hero .nav #scanBtn svg,#hero .nav #shareBtn svg{width:23px!important;height:23px!important}
#hero .profile-icon{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
#hero .profile{display:flex!important;align-items:center!important;gap:15px!important;margin:16px 0 0!important;padding:0!important;min-height:80px}
#hero .profile>img{width:80px!important;height:80px!important;flex:0 0 80px!important;object-fit:cover!important;border:1px solid #ffffff80!important;border-radius:50%!important}
#hero .profile>div{min-width:0;flex:1}
#hero .profile h1{font-size:20px!important;font-weight:600!important;line-height:27px!important;margin:0 0 4px!important;letter-spacing:0!important;overflow-wrap:anywhere}
#hero .profile h1::after{display:none!important;content:none!important}
#hero .profile p{font-size:12px!important;line-height:20px!important;font-weight:400!important;color:#ffffff9c!important;margin:0!important;overflow-wrap:anywhere}
#hero .profile-qr{width:9px!important;height:10px!important;margin-left:3px!important;vertical-align:middle}
#hero .stats{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:18px!important;margin:24px 0 0!important;min-height:22px}
#hero .stats button{display:flex!important;align-items:baseline!important;gap:4px!important;padding:0!important;margin:0!important;white-space:nowrap}
#hero .stats b{font-size:17px!important;line-height:22px!important;font-weight:600!important}
#hero .stats small{font-size:13px!important;line-height:22px!important;font-weight:400!important;margin:0!important;color:#ffffffd9}
#hero #bio{font-size:13px!important;font-weight:400!important;line-height:22px!important;margin:18px 0 0!important;color:#ffffffbf!important;overflow-wrap:anywhere}
#hero #profileLocation{display:block;margin:10px 0 14px!important;max-width:100%;width:fit-content;padding:1px 8px!important;border:0;border-radius:12px!important;background:#ffffff16!important;color:#eee;font:11px/18px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif!important}
#hero .cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:calc(100% + 8px)!important;margin:0 -4px!important}
#hero .cards button{min-height:48px!important;height:48px!important;min-width:0!important;width:100%!important;margin:0!important;padding:7px 12px!important;border:0!important;border-radius:8px!important;background:#ffffff12!important;box-shadow:none!important;text-align:left;font-family:inherit;font-weight:400!important}
#hero .cards .feature-heading{display:flex;align-items:center;gap:5px;font-size:13px!important;line-height:18px!important}
#hero .cards .feature-icon{width:15px!important;height:15px!important;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
#hero .cards .feature-label{font-size:13px!important;line-height:18px!important}
#hero .cards button small{display:block;font-size:10px!important;line-height:14px!important;font-weight:400!important;margin:1px 0 0!important;color:#ffffff80!important}
html:not(.discovery-active) .phone>.hero+.tabs{display:grid!important;grid-template-columns:15% 15% 15% 20% 1fr 30px!important;align-items:center!important;gap:0!important;margin:-12px 0 0!important;padding:0 12px 0 5px!important;height:40px!important;border-radius:12px 12px 0 0!important;border:0!important;background:#fff!important}
html:not(.discovery-active) .phone>.hero+.tabs button{height:40px!important;padding:0!important;gap:4px!important;font-size:16px!important;line-height:22px!important;font-weight:400!important;justify-content:center!important}
html:not(.discovery-active) .phone>.hero+.tabs button.active{font-weight:600!important}
html:not(.discovery-active) .phone>.hero+.tabs button.active::after{width:23px!important;height:2px!important;bottom:2px!important}
html:not(.discovery-active) .phone>.hero+.tabs #searchBtn{grid-column:6!important}
html:not(.discovery-active) .phone>.hero+.tabs .tab-search{width:21px!important;height:21px!important}
html:not(.discovery-active) .phone>.hero+.tabs .tab-lock{width:13px!important;height:16px!important}
html:not(.discovery-active) .phone>.hero+.tabs [data-tab="comments"] .tab-lock{display:none!important}
html:not(.discovery-active) .phone>.notes{padding:0!important;background:#fafafa!important;min-height:0}
.notes>#noteList{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:7px 5px!important;padding:4px 5px 16px!important;background:#fafafa!important}
#noteList .note-card{display:block!important;min-width:0!important;width:100%!important;margin:0!important;padding:0 0 12px!important;border:0!important;border-radius:4px!important;box-shadow:none!important;overflow:hidden!important;background:#fff!important}
#noteList .cover{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:var(--profile-cover-ratio,3/4)!important;border-radius:4px 4px 0 0!important;overflow:hidden!important}
#noteList .cover>img,#noteList .cover>video{display:block!important;width:100%!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;border-radius:0!important}
#noteList h2{font-size:14px!important;font-weight:500!important;line-height:23px!important;white-space:normal!important;overflow:hidden!important;overflow-wrap:anywhere!important;text-overflow:ellipsis!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 9px 7px!important;padding:0!important}
#noteList .note-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;padding:0 9px!important;margin:0!important;min-height:30px!important}
#noteList .note-author{gap:5px!important;min-width:0!important;flex:1}
#noteList .note-author img{width:23px!important;height:23px!important;flex:0 0 23px!important;border-radius:50%!important}
#noteList .note-author b{font-size:12px!important;line-height:16px!important;font-weight:400!important;color:#777!important}
#noteList .note-author small{font-size:10px!important;line-height:13px!important;margin-top:0!important;color:#bbb!important}
#noteList .note-like-btn{display:flex!important;align-items:center!important;gap:4px!important;font-size:12px!important;line-height:20px!important;padding:0!important;color:#999!important;flex-shrink:0}
#noteList .profile-like-icon{width:15px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
#noteList .note-like-btn.is-liked{color:#ff2442!important}
#noteList .note-like-btn.is-liked .profile-like-icon{fill:currentColor}
#noteList .views{z-index:2!important;left:10px!important;bottom:10px!important;gap:3px!important;padding:3px 7px!important;border-radius:12px!important;background:#0006!important;font-size:11px!important;line-height:16px!important}
#noteList .views-eye{width:13px!important;height:13px!important}
#noteList .card-play{right:13px!important;top:14px!important;font-size:13px!important}
#noteList .profile-private{position:absolute;bottom:10px;left:10px;z-index:3;display:flex;align-items:center;gap:4px;max-width:calc(100% - 20px);padding:4px 7px;background:#0006;border-radius:14px;color:#fff;font-size:11px;line-height:16px}
#noteList .profile-private svg{width:12px;height:12px;fill:currentColor}
#noteList .profile-private~.views{bottom:42px!important}
html:not(.discovery-active):not(.detail-open) .phone>.bottom{position:fixed!important;bottom:0!important;height:calc(44px + env(safe-area-inset-bottom,0px))!important;max-width:430px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;padding:0 0 env(safe-area-inset-bottom,0px)!important;border-top:0!important}
html:not(.discovery-active):not(.detail-open) .phone>.bottom button{height:44px!important;font-size:17px!important;font-weight:400!important}
html:not(.discovery-active):not(.detail-open) .phone>.bottom button.selected{font-weight:600!important}
html:not(.discovery-active):not(.detail-open) .phone>.bottom .plus{width:46px!important;min-width:46px!important;height:34px!important;border-radius:10px!important}
html:not(.discovery-active):not(.detail-open) .phone>.bottom .plus::before{width:22px!important;height:3px!important}
html:not(.discovery-active):not(.detail-open) .phone>.bottom .plus::after{width:3px!important;height:22px!important}
@media(max-width:360px){#hero .profile{gap:12px!important}#hero .profile>img{width:72px!important;height:72px!important;flex-basis:72px!important}#hero .profile p{font-size:10px!important}#hero .stats{gap:14px!important}#hero .stats small{font-size:12px!important}#noteList .note-author b{font-size:11px!important}}
