/* Villarabet Next — Social UI responsive baseline + desktop hotfix (Phase 13.4) */
body.social-page{background:#f7f6f1;overflow-x:hidden}
body.social-page>.top,body.social-page>.footer{display:none!important}
body.social-page>main.container{max-width:none!important;margin:0!important;padding:0!important;width:100%!important}
body.social-page .alert{max-width:680px;margin:12px auto}
.social-shell{--social-green:#17664f;--social-green-2:#0f5a45;--social-border:#e8e5de;--social-bg:#fbfaf6;width:100%;max-width:680px;min-height:100vh;margin:0 auto;background:var(--social-bg);padding-bottom:108px;position:relative;overflow:hidden;color:#1d2522;direction:rtl}
.social-shell a{text-decoration:none;color:inherit}.social-shell button,.social-shell input,.social-shell textarea,.social-shell select{font-family:inherit}
.social-shell svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-appbar{height:78px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--social-border);background:rgba(251,250,246,.96);position:sticky;top:0;z-index:30;backdrop-filter:blur(12px)}
.social-wordmark{font:bold 32px/1 Arial,sans-serif;color:#145b46!important;direction:ltr}.social-appbar-actions{display:flex;align-items:center;gap:12px}.social-round-link,.social-back{width:54px;height:54px;border:1px solid #dedfdc;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#164f3f}.social-round-link svg{width:29px;height:29px}.social-back{font-size:23px}.social-appbar>b{font-size:20px}
.story-rail{display:flex;gap:18px;padding:22px 22px 16px;overflow-x:auto;scrollbar-width:none}.story-rail::-webkit-scrollbar{display:none}.story-item{border:0;background:transparent;padding:0;min-width:76px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#333}.story-ring{width:72px;height:72px;border-radius:50%;padding:3px;background:conic-gradient(#ff6b45,#f0a400,#4eaa5d,#ff6b45);display:grid;place-items:center}.story-avatar{width:66px;height:66px;border-radius:50%;background:#e8efea;border:3px solid var(--social-bg);overflow:hidden;display:grid;place-items:center;font-size:27px}.story-avatar img,.social-avatar img,.social-profile-avatar img{width:100%;height:100%;object-fit:cover}.story-plus{font-size:36px;color:var(--social-green);background:#fff}.story-item small{font-size:12px;white-space:nowrap;max-width:80px;overflow:hidden;text-overflow:ellipsis}
.social-section-head{padding:15px 25px 17px;display:flex;align-items:center;justify-content:space-between}.social-section-head h1,.social-section-head h2{margin:0;font-size:27px;font-weight:700}.social-section-head>a{color:var(--social-green);font-size:14px}
.social-feed{display:flex;flex-direction:column;gap:14px}.social-post{background:#fff;border-top:1px solid #eeeae3;border-bottom:1px solid #eeeae3;overflow:hidden}.social-post-head{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.social-author{display:flex;align-items:center;gap:10px;min-width:0}.social-avatar{width:45px;height:45px;border-radius:50%;background:#e7eee9;overflow:hidden;display:grid;place-items:center;flex:none}.social-avatar.mini{width:34px;height:34px}.social-author>span:last-child{display:flex;flex-direction:column;min-width:0}.social-author b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-author small{font-size:11px;color:#929995;direction:ltr}.social-post-type{font-size:12px;color:#8e9591;text-transform:uppercase;letter-spacing:.05em}
.social-media{position:relative;width:100%;background:#080d0b;overflow:hidden;touch-action:pan-y}.social-carousel-track{width:100%}.social-carousel-slide{width:100%;min-height:260px;display:grid;place-items:center;background:#090d0c}.social-carousel-slide[hidden]{display:none!important}.social-carousel-slide img,.social-carousel-slide video{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;background:#090d0c}.social-carousel-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:38px;height:38px;border:0;border-radius:50%;background:rgba(20,25,23,.6);color:#fff;font-size:27px;display:grid;place-items:center}.social-carousel-nav.prev{right:12px}.social-carousel-nav.next{left:12px}.social-carousel-counter{position:absolute;top:12px;right:12px;background:rgba(20,25,23,.7);color:#fff;border-radius:18px;padding:4px 10px;font-size:12px;direction:ltr}.social-carousel-dots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:5px}.social-carousel-dots button{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.52)}.social-carousel-dots button.is-active{background:#fff}.social-like-burst{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:92px;opacity:0;pointer-events:none;z-index:5;text-shadow:0 3px 18px rgba(0,0,0,.25)}
.social-iconbar{height:60px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;background:#fff}.social-iconbar-main{display:flex;align-items:center;gap:6px}.social-icon-btn{width:43px!important;height:43px!important;min-width:43px!important;padding:8px!important;margin:0!important;border:0!important;background:transparent!important;color:#18211e!important;border-radius:50%!important;display:grid!important;place-items:center!important}.social-icon-btn svg{width:28px!important;height:28px!important}.social-icon-btn.is-active{color:#dc2857!important}.social-icon-btn.is-active svg{fill:currentColor}.social-post-body{padding:0 18px 18px}.social-counts{display:flex;gap:12px;align-items:center;font-size:13px}.social-counts button{border:0;background:transparent;padding:0;color:#666}.social-caption{margin:8px 0 10px;font-size:14px;line-height:1.9}.social-property{display:grid;grid-template-columns:1fr auto;gap:2px 12px;background:#eef8f3;border:1px solid #dfeee7;border-radius:14px;padding:13px 15px;color:#135e48!important}.social-property span{font-size:11px;color:#7e8d87}.social-property b{font-size:15px}.social-property em{grid-row:1/3;grid-column:2;font-style:normal;font-size:12px;align-self:center}.social-delete{padding:0 18px 14px}.social-delete button{border:0;background:transparent;color:#9a3a3a;padding:0;font-size:12px}
.rank-debug{max-width:calc(100% - 28px);overflow:auto}.rank-debug summary{white-space:normal}
.explore-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:#fff}.explore-tile{aspect-ratio:1/1;position:relative;overflow:hidden;background:#e6ece8}.explore-tile>a{display:block;width:100%;height:100%;position:relative}.explore-tile img,.explore-tile video{width:100%;height:100%;object-fit:cover;display:block}.explore-reel-badge{position:absolute;top:8px;right:8px;color:#fff;filter:drop-shadow(0 1px 3px #000)}.explore-reel-badge svg{width:27px;height:27px;stroke-width:2}.explore-video-play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:31px;text-shadow:0 2px 8px #000}.explore-overlay{position:absolute;inset:auto 0 0;padding:25px 8px 7px;background:linear-gradient(transparent,rgba(0,0,0,.55));color:#fff;display:flex;gap:10px;opacity:0;font-size:12px}.explore-tile:hover .explore-overlay{opacity:1}
.reels-viewer{display:flex;flex-direction:column;gap:18px;padding:0 14px 20px}.reel-card{position:relative;background:#080b0a;border-radius:18px;overflow:hidden}.reel-stage{height:min(78vh,780px);position:relative;display:grid;place-items:center;background:#050706}.reel-stage>video,.reel-stage>img{width:100%;height:100%;object-fit:contain}.reel-gradient{position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.75));pointer-events:none}.reel-meta{position:absolute;right:18px;bottom:24px;left:84px;color:#fff;z-index:2}.reel-meta>a{display:flex;align-items:center;gap:8px}.reel-meta p{margin:8px 0;font-size:13px}.reel-property{display:inline-flex!important;background:rgba(255,255,255,.16);border-radius:10px;padding:7px 9px;font-size:12px}.reel-actions{position:absolute;left:12px;bottom:20px;z-index:3;display:flex;flex-direction:column;gap:7px}.icon-stack{border:0;background:rgba(0,0,0,.15);color:#fff;width:52px;height:52px;border-radius:50%;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center}.icon-stack svg{width:27px;height:27px}.icon-stack span{font-size:10px}.icon-stack.is-active{color:#ff4770}.reel-like-burst{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:100px;opacity:0;pointer-events:none}
.social-bottom-nav{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:40;width:min(calc(100% - 28px),650px);height:82px;border:1px solid #e6e6e2;border-radius:32px;background:rgba(255,255,255,.96);box-shadow:0 15px 45px rgba(39,57,49,.13);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:6px 8px;backdrop-filter:blur(15px);direction:rtl}.social-bottom-nav a,.social-bottom-nav button{border:0;background:transparent;color:#79817e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:66px;padding:5px 2px;margin:0}.social-bottom-nav svg{width:25px;height:25px}.social-bottom-nav span{font-size:11px}.social-bottom-nav .is-active{color:var(--social-green)}.social-fab{display:none!important}
.social-feed-loader{padding-bottom:105px}
/* Profile */
.social-profile-card{margin:0 20px 22px;background:#fff;border:1px solid var(--social-border);border-radius:25px;padding:24px}.social-profile-main{display:flex;align-items:center;gap:20px}.social-profile-avatar{width:105px;height:105px;border-radius:50%;background:#e7eee9;overflow:hidden;display:grid;place-items:center;font-size:44px}.social-profile-copy h1{margin:0;font-size:24px}.social-profile-copy p{margin:6px 0;color:#666}.social-profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:25px 0;text-align:center}.social-profile-stats span{display:flex;flex-direction:column}.social-profile-stats b{font-size:22px}.social-profile-stats small{font-size:11px;color:#777}.social-profile-actions{display:flex;gap:10px}.social-profile-actions>*{flex:1}.social-profile-actions .btn{display:block;text-align:center;width:100%}.btn.secondary{background:#698177!important}.social-property-strip{padding:0 20px}.social-property-scroll{display:flex;gap:12px;overflow-x:auto}.social-profile-property-card{min-width:250px;background:#fff;border:1px solid var(--social-border);border-radius:18px;overflow:hidden}.social-profile-property-card img{width:100%;height:140px;object-fit:cover}.social-profile-property-card>div{padding:12px;display:flex;flex-direction:column}.social-profile-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 20px 8px;border-bottom:1px solid #ddd}.social-profile-tabs>*{border:0;background:transparent;padding:12px;text-align:center}.social-profile-tabs .is-active{color:var(--social-green);border-bottom:2px solid var(--social-green)}.social-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}.social-profile-tile{aspect-ratio:1;position:relative;overflow:hidden;background:#e7eee9}.social-profile-tile img,.social-profile-tile video{width:100%;height:100%;object-fit:cover}
/* sheets */
.social-comments-sheet[hidden],.social-compose-sheet[hidden],.story-viewer[hidden]{display:none!important}.comments-backdrop,.compose-backdrop,.story-viewer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);border:0;z-index:70}.comments-panel,.compose-panel{position:fixed;z-index:71;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);max-height:82vh;background:#fff;border-radius:28px 28px 0 0;padding:14px 18px 24px;overflow:auto}.comments-handle,.compose-handle{width:45px;height:5px;border-radius:5px;background:#d4d6d3;margin:0 auto 10px}.comments-head,.compose-head{display:flex;align-items:center;justify-content:space-between}.comments-head button,.compose-head button{border:0;background:transparent;font-size:28px}.comments-list{display:flex;flex-direction:column;gap:14px}.comment-item{display:flex;gap:10px}.comment-copy{flex:1}.comment-copy p{margin:0}.comment-meta{font-size:11px;color:#888;display:flex;gap:10px}.comments-compose,.comment-reply-form{display:flex;gap:8px}.comments-compose input,.comment-reply-form input{margin:0}.story-viewer-stage{position:fixed;z-index:72;inset:4vh auto auto 50%;transform:translateX(-50%);width:min(94vw,520px);height:90vh;background:#0a0d0c;border-radius:18px;overflow:hidden;color:#fff}.story-viewer-media{height:100%;display:grid;place-items:center}.story-viewer-media img,.story-viewer-media video{width:100%;height:100%;object-fit:contain}.story-viewer-stage header{position:absolute;z-index:3;top:12px;left:12px;right:12px;display:flex;justify-content:space-between}.story-viewer-stage header button{border:0;background:rgba(0,0,0,.3);color:#fff;border-radius:50%;width:38px;height:38px}.story-profile-link{display:flex;align-items:center;gap:8px}.story-viewer-caption{position:absolute;bottom:60px;right:15px;left:15px}.story-viewer-property{position:absolute;bottom:16px;right:15px;background:#fff;color:#164f3f!important;padding:8px 12px;border-radius:10px}.social-compose textarea{min-height:110px}.compose-types{display:flex;gap:8px}.compose-types label{flex:1}.compose-types input{display:none}.compose-types span{display:block;text-align:center;padding:10px;border:1px solid #ddd;border-radius:12px}.compose-types input:checked+span{background:#17664f;color:#fff}.compose-file{display:block;border:1px dashed #b8c9c2;border-radius:14px;padding:14px;margin:12px 0}.compose-file input{margin:0}.compose-property span{display:block;font-size:12px}.compose-upload-bar{height:8px;background:#e9ecea;border-radius:8px;overflow:hidden}.compose-upload-bar i{display:block;height:100%;background:#17664f;width:0}
.social-empty{text-align:center;padding:50px 20px;color:#777}
@media (min-width:900px){body.social-page{background:#eeece6}.social-shell{margin:26px auto;border-radius:26px;box-shadow:0 12px 45px rgba(37,50,44,.08);min-height:calc(100vh - 52px)}.social-appbar{border-radius:26px 26px 0 0}.social-feed{padding:0 18px 20px;gap:18px}.social-post{border:1px solid var(--social-border);border-radius:20px}.social-carousel-slide{min-height:380px}.social-carousel-slide img,.social-carousel-slide video{max-height:720px}.reels-viewer{padding-inline:50px}.explore-grid{margin:0 18px 20px;border-radius:18px;overflow:hidden}.social-profile-grid{margin:0 20px;border-radius:18px;overflow:hidden}.social-bottom-nav{bottom:24px}.social-section-head{padding-inline:36px}}
@media (max-width:520px){.social-shell{max-width:none}.social-appbar{height:72px;padding:0 18px}.social-wordmark{font-size:29px}.social-round-link,.social-back{width:48px;height:48px}.social-round-link svg{width:27px;height:27px}.story-rail{padding-inline:16px}.social-section-head{padding-inline:18px}.social-section-head h1{font-size:25px}.social-post-head{padding:12px 14px}.social-post-body{padding-inline:14px}.social-iconbar{padding-inline:10px}.social-carousel-slide{min-height:250px}.social-bottom-nav{width:calc(100% - 24px);height:78px;bottom:12px;border-radius:29px}.social-bottom-nav a,.social-bottom-nav button{height:62px}.social-bottom-nav svg{width:24px;height:24px}.social-profile-card{margin-inline:14px;padding:20px}.social-profile-avatar{width:88px;height:88px}.social-profile-grid{grid-template-columns:repeat(3,1fr)}}


/* Phase 13.6.2 — comment/reply mobile-safe behavior + polished UI */
.comment-reply-form[hidden]{display:none!important}
.comments-panel{direction:rtl;overscroll-behavior:contain}
.comments-list{gap:4px;padding:4px 0 10px}
.comment-item{align-items:flex-start;padding:12px 2px;border-bottom:1px solid #eef1ef}
.comment-item:last-child{border-bottom:0}
.comment-avatar{flex:0 0 38px;width:38px;height:38px;border-radius:50%;overflow:hidden;background:#e8f1ed;color:#17664f;display:grid;place-items:center;font-weight:700;text-decoration:none}
.comment-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.comment-avatar.small{flex-basis:30px;width:30px;height:30px;font-size:11px}
.comment-copy{min-width:0}
.comment-copy>p,.comment-reply p{font-size:13px;line-height:1.85;color:#26332e}
.comment-copy>p>a,.comment-reply p>a{font-weight:800;color:#17231f;text-decoration:none}
.comment-meta{align-items:center;gap:9px;margin-top:4px;color:#929b97}
.comment-meta button,.comment-inline-form button{appearance:none;border:0!important;background:transparent!important;color:#527068!important;padding:2px 0!important;margin:0!important;font:inherit;font-weight:700;cursor:pointer}
.comment-inline-form{display:inline-flex;margin:0}
.comment-replies{margin:10px 12px 2px 0;padding-right:12px;border-right:2px solid #dcebe5;display:flex;flex-direction:column;gap:10px}
.comment-reply{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;background:#f7faf8;border-radius:12px}
.comment-reply>div,.comment-reply-copy{min-width:0;flex:1}
.comment-reply-form{margin-top:9px;align-items:center;gap:7px;padding:7px;background:#f5f9f7;border:1px solid #dfebe6;border-radius:14px}
.comment-reply-form input,.comments-compose input{min-width:0;flex:1;height:42px;border:1px solid #d7e1dd!important;border-radius:12px!important;background:#fff!important;padding:0 12px!important;font-size:13px!important;outline:none}
.comment-reply-form input:focus,.comments-compose input:focus{border-color:#70a894!important;box-shadow:0 0 0 3px rgba(23,102,79,.08)}
.comment-reply-form button,.comments-compose button{flex:0 0 auto;min-width:58px;height:40px;border:0!important;border-radius:11px!important;background:#17664f!important;color:#fff!important;padding:0 12px!important;font-weight:800;cursor:pointer}
.comments-compose{position:sticky;bottom:-24px;z-index:3;margin:10px -4px -16px;padding:10px 4px 8px;background:linear-gradient(to top,#fff 78%,rgba(255,255,255,.88))}
@media(max-width:520px){.comments-panel{width:100%;max-height:86dvh;padding:12px 14px 20px;border-radius:24px 24px 0 0}.comment-item{padding-block:10px}.comment-replies{margin-right:7px;padding-right:9px}.comment-reply-form{margin-right:0}.comment-reply-form button,.comments-compose button{min-width:54px;padding-inline:9px}}
@media(min-width:900px){.comments-panel{width:min(720px,calc(100vw - 48px));max-height:78vh;border-radius:24px;bottom:24px;padding:16px 22px 24px}.comments-backdrop{background:rgba(21,30,26,.52)}.comments-handle{display:none}.comments-head{padding-bottom:10px;border-bottom:1px solid #edf0ee}.comments-list{padding-inline:4px}.comment-replies{max-width:92%}}

/* Phase 13.7 — social graph / host identity */
.social-profile-stats>a,.social-profile-stats>span{display:flex;flex-direction:column;align-items:center;justify-content:center;color:inherit;text-decoration:none;border-radius:14px;padding:7px 3px;transition:.18s ease}.social-profile-stats>a:hover{background:#f2f6f3;color:var(--social-green)}.social-profile-stats>a b{font-size:22px}.social-profile-stats>a small{font-size:11px;color:#777}.social-connections-head{margin:0 20px 14px;padding:16px 18px;background:#fff;border:1px solid var(--social-border);border-radius:20px;display:flex;align-items:center;gap:12px}.social-profile-avatar.small{width:58px;height:58px;font-size:24px;flex:0 0 58px}.social-connections-head>div{display:flex;flex-direction:column;gap:4px}.social-connections-head small{color:#7b827e}.social-connections-list{padding:0 20px 110px;display:flex;flex-direction:column;gap:9px}.social-person-row{background:#fff;border:1px solid var(--social-border);border-radius:18px;padding:11px 12px;display:flex;align-items:center;gap:10px}.social-person-main{display:flex;align-items:center;gap:11px;min-width:0;flex:1;color:inherit;text-decoration:none}.social-person-main .social-avatar{width:48px;height:48px;flex:0 0 48px}.social-person-main>span:last-child{display:flex;flex-direction:column;min-width:0}.social-person-main small{color:#7c817e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}.social-follow-mini{border:0;border-radius:12px;background:var(--social-green);color:#fff;padding:9px 13px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.social-follow-mini.is-following{background:#edf2ef;color:#506158}.social-profile-copy h1{display:flex;align-items:center;gap:8px}.social-profile-copy h1:after{content:'میزبان';font-size:10px;font-weight:700;color:var(--social-green);background:#edf7f0;border:1px solid #d6eadc;border-radius:999px;padding:4px 7px}
@media(max-width:520px){.social-connections-head{margin-inline:14px}.social-connections-list{padding-inline:14px}.social-person-row{padding:10px}.social-person-main small{max-width:170px}.social-follow-mini{padding:8px 10px}.social-profile-copy h1:after{font-size:9px}}

/* Phase 13.7 — exact profile property card + profile reels scope only. */
.social-profile-page .social-property-scroll{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  overflow:visible;
}
.social-profile-page .social-profile-property-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  width:100%;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--social-border);
  border-radius:20px;
  color:inherit;
  text-decoration:none;
}
.social-profile-page .profile-property-media{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e7eee9;
}
.social-profile-page .profile-property-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.social-profile-page .social-profile-property-placeholder{
  display:grid;
  place-items:center;
  font-size:40px;
}
.social-profile-page .profile-property-copy{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
  padding:13px 14px 15px;
  background:#fff;
}
.social-profile-page .profile-property-copy b,
.social-profile-page .profile-property-copy small,
.social-profile-page .profile-property-copy strong,
.social-profile-page .profile-property-copy em{
  display:block;
  position:static;
  margin:0;
  visibility:visible;
  opacity:1;
  white-space:normal;
}
.social-profile-page .profile-property-copy b{font-size:15px;line-height:1.7;color:#1e2823}
.social-profile-page .profile-property-copy small{font-size:12px;color:#777}
.social-profile-page .profile-property-copy strong{font-size:13px;color:#17664f;margin-top:2px}
.social-profile-page .profile-property-copy em{font-style:normal;font-size:12px;color:#17664f;font-weight:700;margin-top:5px}

.social-profile-page .social-profile-tabs a{color:inherit;text-decoration:none}
.social-profile-page .social-profile-reels-grid{gap:4px;background:transparent}
.social-profile-page .social-profile-reels-grid .social-profile-tile.is-reel{aspect-ratio:9/16;border-radius:12px;background:#111}
.social-profile-page .social-profile-reels-grid .social-profile-tile.is-reel video,
.social-profile-page .social-profile-reels-grid .social-profile-tile.is-reel img{width:100%;height:100%;object-fit:cover}
.social-profile-page .social-profile-reels-grid .profile-reel-mark{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.48);color:#fff;font-size:14px;pointer-events:none}
.reel-actions-guest a{text-decoration:none;color:inherit}

@media(max-width:520px){
  .social-profile-page .social-property-strip{padding-inline:14px}
  .social-profile-page .social-property-scroll{grid-template-columns:1fr;gap:12px}
  .social-profile-page .social-profile-property-card{display:flex;flex-direction:column;width:100%;min-width:0}
  .social-profile-page .profile-property-media{width:100%;aspect-ratio:16/10}
  .social-profile-page .profile-property-copy{width:100%;padding:12px 14px 14px}
  .social-profile-page .social-profile-reels-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-inline:14px}
  .social-profile-page .social-profile-reels-grid .social-profile-tile.is-reel{border-radius:9px}
}

/* Phase 13.9 — Content ↔ Property integration */
.social-content-property{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid #dcebe4;border-radius:16px;background:linear-gradient(135deg,#f5fbf8,#edf7f2);color:#123f33!important;text-decoration:none!important;overflow:hidden}.social-content-property-cover{width:62px;height:62px;border-radius:12px;overflow:hidden;background:#dfe9e4}.social-content-property-cover img{width:100%;height:100%;object-fit:cover}.social-content-property-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.social-content-property-copy small{font-size:10px;color:#74827d}.social-content-property-copy b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-content-property-copy>span{font-size:11px;color:#61716b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-content-property>strong{font-size:11px;white-space:nowrap;color:#17664f}.compose-property{display:block;margin-top:12px}.compose-property>small{display:block;margin-top:6px;color:#7b8883;font-size:10px}.compose-property-preview{margin-top:9px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:9px;border:1px solid #dfe9e4;border-radius:14px;background:#f8fbf9}.compose-property-preview-cover{width:58px;height:58px;border-radius:11px;overflow:hidden;background:#e5ece8}.compose-property-preview-cover img{width:100%;height:100%;object-fit:cover}.compose-property-preview-copy{display:flex;flex-direction:column;min-width:0}.compose-property-preview-copy b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compose-property-preview-copy small{font-size:10px;color:#6e7c76}.compose-property-preview>strong{grid-column:1/-1;font-size:10px;color:#17664f}.story-viewer-property{font-weight:700}.reel-property small{opacity:.86}
@media(max-width:600px){.social-content-property{grid-template-columns:auto minmax(0,1fr);padding:9px}.social-content-property>strong{grid-column:1/-1;text-align:center;background:#17664f;color:#fff;padding:8px 10px;border-radius:10px}.social-content-property-cover{width:56px;height:56px}}
\n/* Phase 13.9.1 — Social-first feed continuation */
.social-feed-loader{padding:10px 18px calc(112px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:9px}
.social-feed-loader[hidden]{display:none!important}
.social-feed-more-btn{appearance:none;border:1px solid #dfe7e2;background:#fff;color:#17664f;border-radius:999px;min-width:168px;padding:11px 22px;font:inherit;font-size:13px;font-weight:800;box-shadow:0 7px 22px rgba(31,65,53,.07);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.social-feed-more-btn:active{transform:scale(.98)}
.social-feed-more-btn:disabled{opacity:.6;cursor:wait}
.social-feed-loader [data-feed-status]{min-height:18px;color:#7b847f;font-size:11px;text-align:center}
.social-feed-sentinel{width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-width:700px){.social-feed-loader{padding-inline:14px}.social-feed-more-btn{width:min(72%,260px)}}

/* Phase 13.9.2 — Feed continuation endpoint/UI hotfix */
.social-feed-loader.is-error [data-feed-status]{color:#8a5b52}.social-feed-loader.is-error .social-feed-more-btn{border-color:#ead8d2;background:#fffaf8;color:#7a4338}.social-feed-loader{position:relative;z-index:2;max-width:680px;margin:0 auto}.social-feed-loader [data-feed-status]{line-height:1.8}.social-feed-more-btn{border:0;background:#f2f7f4;box-shadow:none}.social-feed-more-btn:hover{background:#e9f2ed}
@media(max-width:700px){.social-feed-loader{padding-bottom:calc(132px + env(safe-area-inset-bottom));min-height:70px}.social-feed-more-btn{width:auto;min-width:150px;max-width:220px}}

/* Phase 13.9.3 — composer property preview typography polish (scoped) */
.compose-property-preview-copy{gap:4px;line-height:1.55}
.compose-property-preview-copy b{display:block;line-height:1.65;margin:0}
.compose-property-preview-copy small{display:block;line-height:1.7;margin:0;color:#6e7c76}
@media(max-width:600px){.compose-property-preview{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px}.compose-property-preview-cover{width:64px;height:64px}.compose-property-preview-copy{gap:5px}.compose-property-preview-copy b{font-size:14px}.compose-property-preview-copy small{font-size:11px}.compose-property-preview>strong{margin-top:2px;padding-top:8px;border-top:1px solid #e5ede9;line-height:1.7}}


/* Phase 14.1 — Explore 2.0 presentation + progressive discovery. Ranking/query weights unchanged. */
.social-mode-explore .social-section-head{padding-bottom:8px}
.explore-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:4px 22px 14px}
.explore-toolbar-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.explore-toolbar-copy strong{font-size:14px;color:#26352e}
.explore-toolbar-copy span{font-size:11px;color:#7b857f}
.explore-filter-chips{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.explore-filter-chips a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 13px;border:1px solid #e0e7e2;border-radius:999px;background:#fff;color:#65736c;text-decoration:none;font-size:12px;font-weight:700;transition:.18s ease}
.explore-filter-chips a.is-active{background:#17664f;border-color:#17664f;color:#fff;box-shadow:0 6px 18px rgba(23,102,79,.14)}
.explore-grid{gap:4px;padding:0 4px 4px;background:transparent}
.explore-tile{border-radius:10px;background:#e8eeea;isolation:isolate;transform:translateZ(0)}
.explore-tile>a{outline:none}
.explore-tile img,.explore-tile video{transition:transform .26s ease,filter .2s ease}
.explore-tile:hover img,.explore-tile:hover video,.explore-tile:focus-within img,.explore-tile:focus-within video{transform:scale(1.025)}
.explore-tile-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.13) 0%,transparent 28%,transparent 58%,rgba(0,0,0,.36) 100%);pointer-events:none}
.explore-reel-badge{top:7px;right:7px;display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:rgba(8,20,15,.38);backdrop-filter:blur(5px);filter:none}
.explore-reel-badge svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.explore-property-badge{position:absolute;top:8px;left:8px;padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.9);color:#17664f;font-size:9px;font-weight:800;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.explore-overlay{inset:auto 0 0;padding:25px 8px 8px;background:none;display:flex;justify-content:flex-start;gap:8px;opacity:1;font-size:10px;pointer-events:none}
.explore-overlay b{display:inline-flex;align-items:center;gap:2px;padding:4px 6px;border-radius:999px;background:rgba(9,20,16,.48);backdrop-filter:blur(4px);font-weight:700;text-shadow:none}
.explore-loader{padding:17px 18px calc(118px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:8px}
.explore-loader[hidden]{display:none!important}
.explore-loader button{appearance:none;border:0;border-radius:999px;background:#eef5f1;color:#17664f;padding:11px 24px;min-width:154px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:.16s ease}
.explore-loader button:hover{background:#e5f0ea}.explore-loader button:active{transform:scale(.98)}.explore-loader button:disabled{opacity:.58;cursor:wait}
.explore-loader span{min-height:18px;font-size:11px;color:#7a847f}.explore-loader.is-error span{color:#86584f}.explore-loader.is-error button{background:#fff1ed;color:#824b40}
.explore-loader i{width:1px;height:1px;opacity:0;pointer-events:none}
.explore-empty{grid-column:1/-1;margin:20px}
@media(min-width:900px){.social-mode-explore .explore-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 18px;padding:5px;gap:6px;border-radius:20px;background:#fff}.social-mode-explore .explore-tile{border-radius:12px}.explore-toolbar{padding-inline:36px}.explore-overlay{font-size:11px}.explore-property-badge{font-size:10px}}
@media(max-width:600px){.explore-toolbar{padding:2px 14px 12px;align-items:stretch;flex-direction:column;gap:9px}.explore-toolbar-copy{padding-inline:2px}.explore-filter-chips{width:100%}.explore-filter-chips a{flex:1;min-height:36px;padding-inline:8px}.social-mode-explore .explore-grid{margin:0;padding:0 3px 3px;gap:3px}.social-mode-explore .explore-tile{border-radius:7px}.explore-property-badge{top:5px;left:5px;padding:4px 5px;font-size:8px}.explore-reel-badge{top:5px;right:5px;width:26px;height:26px;border-radius:8px}.explore-reel-badge svg{width:17px;height:17px}.explore-overlay{padding:20px 5px 5px;gap:4px;font-size:9px}.explore-overlay b{padding:3px 4px}.explore-loader{padding-bottom:calc(130px + env(safe-area-inset-bottom))}}

/* Phase 14.2 — Saved Content */
.saved-shell{padding-bottom:110px}.saved-back{width:46px;height:46px;border:1px solid #e5e7e3;border-radius:50%;display:grid;place-items:center;color:#173f34;font-size:24px;text-decoration:none}
.saved-head{display:flex;align-items:flex-end;justify-content:space-between;padding:30px 22px 18px}.saved-head small{color:#1c765f;font-weight:700}.saved-head h1{font-size:32px;margin:5px 0}.saved-head p{margin:0;color:#7c827f;font-size:14px}.saved-total{min-width:48px;height:48px;border-radius:16px;background:#edf7f2;color:#176b55;display:grid;place-items:center;font-weight:800}
.saved-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:0 16px 18px;position:sticky;top:0;z-index:8;background:#faf9f5}.saved-tabs a{display:flex;justify-content:center;align-items:center;gap:5px;min-height:45px;border:1px solid #e3e6e3;border-radius:16px;text-decoration:none;color:#555;background:#fff;font-size:13px}.saved-tabs a.is-active{background:#176f59;color:#fff;border-color:#176f59}.saved-tabs b{font-size:11px;opacity:.75}
.saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 14px}.saved-tile{min-width:0;background:#fff;border:1px solid #eceeea;border-radius:20px;overflow:hidden;box-shadow:0 7px 25px rgba(31,54,46,.05)}.saved-media{display:block;position:relative;aspect-ratio:1/1.12;background:#111;overflow:hidden}.saved-media img,.saved-media video{width:100%;height:100%;object-fit:cover}.saved-text{height:100%;display:grid;place-items:center;padding:20px;color:#fff;text-align:center}.saved-kind{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.52);color:#fff;border-radius:999px;padding:5px 9px;font-size:11px}.saved-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.9);color:#111;display:grid;place-items:center}
.saved-meta{display:flex;align-items:center;justify-content:space-between;padding:10px 11px}.saved-meta>a{font-weight:700;color:#27312e;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-remove-form button{border:0;background:#edf7f2;color:#176f59;width:34px;height:34px;border-radius:50%;font-size:18px}.saved-property-pill{display:block;margin:0 10px 10px;padding:8px 9px;border-radius:11px;background:#f2f7f4;color:#176f59;text-decoration:none;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saved-properties{display:grid;gap:12px;padding:0 15px}.saved-property{display:grid;grid-template-columns:112px 1fr;gap:14px;padding:10px;background:#fff;border:1px solid #e6eae6;border-radius:22px;text-decoration:none;color:#222}.saved-property-cover{height:112px;border-radius:16px;overflow:hidden;background:#edf0ed}.saved-property-cover img{width:100%;height:100%;object-fit:cover}.saved-property small{color:#75807c}.saved-property h3{margin:5px 0}.saved-property p{margin:0 0 7px;color:#737b78}.saved-property b{color:#176f59}.saved-property b span{font-weight:400;color:#888}
.saved-empty{grid-column:1/-1;text-align:center;padding:70px 25px}.saved-empty>span{font-size:52px;color:#176f59}.saved-empty h2{margin:12px 0 7px}.saved-empty p{color:#858b88}.saved-empty a{display:inline-block;margin-top:12px;padding:12px 22px;border-radius:14px;background:#176f59;color:#fff;text-decoration:none}
.saved-tile.is-removing{opacity:0;transform:scale(.94);transition:.22s}
@media(min-width:720px){.saved-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:980px;margin:auto}.saved-properties{max-width:760px;margin:auto}.saved-head,.saved-tabs{max-width:980px;margin-left:auto;margin-right:auto}}

/* Phase 14.3 — Activity & Liked Content */
.activity-shell{padding-bottom:110px}.activity-back{width:46px;height:46px;border:1px solid #e5e7e3;border-radius:50%;display:grid;place-items:center;color:#173f34;font-size:24px;text-decoration:none}
.activity-head{padding:30px 20px 18px}.activity-head small{color:#1b765f;font-weight:700}.activity-head h1{font-size:32px;margin:5px 0}.activity-head p{margin:0;color:#7d8581;font-size:14px}
.activity-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 18px}.activity-tabs a{min-height:48px;border:1px solid #e1e5e2;border-radius:16px;background:#fff;color:#555;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.activity-tabs a.is-active{background:#176f59;color:#fff;border-color:#176f59}.activity-tabs b{font-size:12px;opacity:.8}
.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 14px}.activity-tile{min-width:0;background:#fff;border:1px solid #eceeea;border-radius:20px;overflow:hidden;box-shadow:0 7px 25px rgba(31,54,46,.05)}.activity-media{display:block;position:relative;aspect-ratio:1/1.12;background:#111;overflow:hidden}.activity-media img,.activity-media video{width:100%;height:100%;object-fit:cover}.activity-text{height:100%;display:grid;place-items:center;padding:20px;color:#fff;text-align:center}.activity-kind{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.52);color:#fff;border-radius:999px;padding:5px 9px;font-size:11px}.activity-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.9);color:#111;display:grid;place-items:center}.activity-meta{padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:6px}.activity-meta a{font-weight:700;color:#27312e;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-meta span{font-size:11px;color:#7c827f;white-space:nowrap}.activity-property{display:block;margin:0 10px 10px;padding:8px 9px;border-radius:11px;background:#f2f7f4;color:#176f59;text-decoration:none;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-empty{grid-column:1/-1;text-align:center;padding:70px 25px}.activity-empty>span{font-size:52px;color:#176f59}.activity-empty h2{margin:12px 0 7px}.activity-empty p{color:#858b88}.activity-empty a{display:inline-block;margin-top:12px;padding:12px 22px;border-radius:14px;background:#176f59;color:#fff;text-decoration:none}
@media(min-width:720px){.activity-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:980px;margin:auto}.activity-head,.activity-tabs{max-width:980px;margin-left:auto;margin-right:auto}}

/* Phase 14.4 — Notifications & Engagement */
.notification-shell{padding-bottom:112px}.notification-back{width:46px;height:46px;border:1px solid #e5e7e3;border-radius:50%;display:grid;place-items:center;color:#173f34;font-size:24px;text-decoration:none}
.notification-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:30px 20px 16px}.notification-head small{color:#1b765f;font-weight:750}.notification-head h1{margin:5px 0;font-size:32px}.notification-head p{margin:0;color:#7d8581;font-size:14px}.notification-unread-count{min-width:50px;height:50px;padding:0 12px;border-radius:17px;background:#e9f6f0;color:#176f59;display:grid;place-items:center;font-weight:850}
.notification-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px 16px}.notification-tools nav{display:flex;gap:7px}.notification-tools nav a{min-height:42px;padding:0 15px;border:1px solid #e2e6e3;border-radius:14px;background:#fff;color:#59615e;display:flex;align-items:center;gap:6px;text-decoration:none}.notification-tools nav a.is-active{background:#176f59;border-color:#176f59;color:#fff}.notification-tools nav b{font-size:11px}.notification-tools form button{border:0;background:transparent;color:#176f59;font-weight:750;padding:10px}
.notification-list{display:flex;flex-direction:column;gap:9px;padding:0 14px}.notification-item{display:grid;grid-template-columns:48px minmax(0,1fr) 42px;gap:11px;align-items:center;padding:13px;background:#fff;border:1px solid #e9ece9;border-radius:20px;box-shadow:0 7px 22px rgba(32,54,46,.045)}.notification-item.is-unread{background:#f3faf6;border-color:#cfe7dc}.notification-type-icon{width:46px;height:46px;border-radius:15px;background:#edf7f2;color:#176f59;display:grid;place-items:center}.notification-type-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.notification-copy{min-width:0}.notification-title-row{display:flex;align-items:center;gap:7px}.notification-title-row h3{margin:0;font-size:14px}.notification-title-row i{width:7px;height:7px;border-radius:50%;background:#e94268}.notification-copy p{margin:4px 0;color:#535b58;font-size:13px;line-height:1.7}.notification-copy small{color:#929793;font-size:10.5px}.notification-open button,.notification-open-link{width:38px;height:38px;border:0;border-radius:50%;background:#176f59;color:#fff;display:grid;place-items:center;text-decoration:none;font-size:18px}.notification-empty{text-align:center;padding:75px 20px}.notification-empty>span{font-size:52px;color:#176f59}.notification-empty h2{margin:10px 0 6px}.notification-empty p{color:#858b88}.notification-empty a{display:inline-block;margin-top:12px;background:#176f59;color:#fff;text-decoration:none;border-radius:14px;padding:12px 22px}
.notification-bottom-nav a{color:#79817e}
@media(min-width:760px){.notification-head,.notification-tools,.notification-list{max-width:820px;margin-left:auto;margin-right:auto}}
/* Phase 14.5 notification card UX */
.notification-item{position:relative;grid-template-columns:48px minmax(0,1fr) 20px;cursor:pointer}.notification-chevron{font-size:26px;color:#8b9691;line-height:1;pointer-events:none}.notification-card-link{position:absolute!important;inset:0!important;z-index:4!important;margin:0!important}.notification-card-link button{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;background:transparent!important;padding:0!important;cursor:pointer!important}.notification-type-icon,.notification-copy,.notification-chevron{position:relative;z-index:2}
