/* Le Fil uses the existing TTM palette and inherited typeface. */
.social-wall{--social-navy:#0b2340;--social-cream:#fffdf8;--social-gold:#c99840;max-width:720px;margin:24px auto;padding:16px;color:var(--social-navy);box-sizing:border-box}
.social-wall *{box-sizing:border-box}.social-wall [hidden]{display:none!important}.social-wall h2{font-size:1.5rem;margin:0 0 18px}
.social-wall form{display:grid;gap:12px;margin:12px 0}.social-wall textarea,.social-wall select{width:100%;min-width:0;font:inherit;padding:12px;border:1px solid #d9e0e8;border-radius:12px;background:#fff;color:var(--social-navy)}
.social-wall textarea{resize:vertical;line-height:1.5}.social-wall button{cursor:pointer;font:inherit;border:1px solid #d9e0e8;background:#fff;color:var(--social-navy);border-radius:12px;padding:10px 14px;min-height:44px}.social-wall button:disabled{cursor:default;opacity:.55}.social-wall button:focus-visible,.social-wall summary:focus-visible,.social-wall textarea:focus-visible{outline:3px solid #c9984088;outline-offset:2px}
.social-wall .social-composer{background:var(--social-cream);border:1px solid #dce3eb;border-radius:22px;padding:16px;box-shadow:0 8px 28px #0b234006;margin-bottom:24px}
.social-composer-top{display:flex;align-items:flex-start;gap:12px}.social-composer-top .social-avatar{width:42px;height:42px;flex-shrink:0}.social-composer-top textarea{border:0;background:transparent;min-height:64px;padding:8px;resize:vertical}.social-composer-top textarea::placeholder{color:#66768a;opacity:1}
.social-compose-actions,.social-file-options{display:flex;flex-wrap:wrap;gap:8px}.social-wall .social-compose-actions button{border:0;background:#f1f4f7;font-weight:600}.social-compose-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid #e7e8e8;padding-top:12px}.social-compose-footer p{margin:0;font-size:.88rem;margin-right:auto;overflow-wrap:anywhere}.social-wall .social-publish{background:var(--social-navy);border-color:var(--social-navy);color:#fff;min-width:120px;font-weight:700;border-radius:24px}
.social-profile-photo{font-size:.84rem;color:#53657a}.social-profile-photo summary{cursor:pointer;padding:6px 0}.social-profile-photo label{display:block;padding-top:8px}.social-wall .social-profile-photo select{max-width:100%;background:#fff;color:var(--social-navy);margin-top:6px}.social-media-preview{position:relative;display:grid;gap:8px}.social-compose-preview{display:block;width:100%;max-height:340px;object-fit:contain;border-radius:14px;background:#edf0f3}[data-media-hint]{font-size:.84rem;color:#53657a;margin:0}
.social-post{border:1px solid #dce3eb;border-radius:22px;padding:20px;margin:18px 0;background:var(--social-cream);color:var(--social-navy);box-shadow:0 6px 20px #0b234005;overflow:hidden}.social-post header,.social-comment header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.social-post header>a,.social-post header>span{font-weight:700}.social-post header time{font-size:.78rem;color:#657488;margin-left:auto}.social-post a{color:var(--social-navy);text-decoration:none}.social-post small{color:#657488}.social-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;vertical-align:middle}.social-photo{display:block;width:100%;max-height:620px;object-fit:contain;margin:16px auto;border-radius:14px;background:#f0f2f4}.social-text,.social-post details p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:16px 0}.social-wall .social-translation-toggle{border:0;background:transparent;min-height:32px;padding:3px 0;font-size:.84rem;text-decoration:underline;color:#5a6e84}
.social-post-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 8px;border-top:1px solid #e4e8ed;padding-top:12px}.social-wall .social-post-actions button{border:0;background:transparent;font-weight:600}.social-wall .social-post-actions button[aria-pressed=true]{color:#a53e5e}.social-post details{margin-top:8px}.social-post summary{cursor:pointer;min-height:44px;padding:10px 0;list-style:none;font-weight:600}.social-comment{border-top:1px solid #e4e8ed;padding:14px 0;margin-left:10px}.social-comment .social-avatar{width:30px;height:30px}
.social-stories{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 0 16px}.social-wall .social-story{border:0;background:transparent;display:grid;justify-items:center;gap:6px;min-width:76px;max-width:110px;padding:0;font-size:.8rem}.social-story img{width:64px;height:64px;object-fit:cover;border-radius:50%;border:3px solid var(--social-gold);padding:3px}.social-story span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-story small{font-size:.7rem}.social-story-pending img{border-color:#a7b1be}
.social-story-dialog{background:#fffdf8;color:#0b2340;border:1px solid #c99840;border-radius:22px;width:min(94vw,540px);max-height:90vh;padding:18px;overflow:auto}.social-story-dialog::backdrop{background:#071425d9}.social-story-dialog video{width:100%;max-height:58vh;background:#071425;border-radius:12px}.social-story-dialog button{font:inherit;border:1px solid #dce3eb;border-radius:16px;background:#fff;color:#0b2340;padding:10px 14px;min-height:44px;cursor:pointer}.social-story-close{float:right}.social-story-dialog .social-text{line-height:1.6}.social-story-dialog small{display:block}.social-story-dialog .social-translation-toggle{border:0;text-decoration:underline;background:transparent}
/* Existing profile hearts and discreet notifications are preserved. */
.photo-item{position:relative}.social-heart{cursor:pointer;font:inherit;border:1px solid #55536e;color:#fff;border-radius:18px;padding:8px 14px;position:absolute;bottom:8px;right:8px;font-size:24px;z-index:2;background:#181426e8}.social-heart[aria-pressed=true]{color:#ff77a5}.social-notification-photo{width:60px;height:60px;object-fit:cover;border-radius:8px}[data-social-notifications] article{display:flex;gap:10px;flex-wrap:wrap}[data-social-notifications] time{font-size:.8rem}
@media(max-width:480px){.social-wall{width:100%;padding:8px;margin:16px auto}.social-wall .social-composer{padding:12px;border-radius:18px}.social-post{padding:14px;border-radius:18px}.social-comment{margin-left:0}.social-composer-top{gap:6px}.social-compose-footer{flex-wrap:wrap}.social-compose-footer p{flex-basis:100%}.social-publish{margin-left:auto}.social-post header time{flex-basis:100%;margin-left:48px}.social-file-options button{flex:1}.social-story-dialog{padding:14px}}

/* Video publications and two surfaces of the same Story. */
.social-video-block video{display:block;width:100%;max-height:620px;border-radius:14px;background:#071425;margin:16px 0}.social-transcript{border-left:2px solid #c99840;padding-left:12px}.social-comments{margin-top:12px}.social-comments h4{font-size:1rem;margin:8px 0}.social-wall .social-story{position:relative;min-width:112px;max-width:112px;gap:0;border-radius:15px;overflow:hidden;border:2px solid var(--social-gold);background:#0b2340;color:#fff;flex-shrink:0}.social-story img{width:108px;height:148px;border-radius:0;border:0;padding:0;object-fit:cover}.social-story span{padding:6px;white-space:nowrap;max-width:108px}.social-story small{padding:0 6px 6px;color:#f0cc80}.social-post>small{display:block;margin-bottom:12px;color:#866016}

.social-discover-strip{min-width:0;margin-bottom:20px}.social-discover-strip .featured-profiles__rail{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x proximity}.social-discover-strip .featured-profile{flex:0 0 142px;scroll-snap-align:start}.social-discover-strip .featured-profile__honor{font-size:10px;white-space:normal}.social-discover-strip .featured-profiles{margin:0}.social-discover-strip h2{font-size:1.05rem}

.social-official{max-width:688px;margin:20px auto;border-color:#c99840}.social-official-cta{display:inline-block;padding:12px 18px;background:#0b2340;color:#fff!important;border-radius:22px}.social-official [data-official-translation]{margin-top:10px}.social-official button{min-height:44px;border:0;background:transparent;color:#53657a;cursor:pointer}

.social-discover-strip .featured-profile__photo{position:relative}.social-discover-strip .featured-profile__photo>img{display:block;width:100%;height:180px;object-fit:cover;border-radius:14px}.social-discover-strip .featured-profile__link{text-decoration:none;color:inherit}.social-discover-strip .featured-profile__name{font-weight:600;font-size:.85rem}.social-discover-strip .featured-profile__honor{display:block}.social-discover-strip .featured-profiles__rail{max-width:100%}

/* Keep verification text below the picture, never over a face. */
.social-discover-strip .featured-profile__photo{height:auto;aspect-ratio:auto;overflow:visible}
.social-discover-strip .featured-profile__honor{position:static;inset:auto;transform:none;display:block;margin:6px 0 0;padding:5px 7px;width:100%;max-width:100%;min-height:40px;box-sizing:border-box;line-height:1.3}
.social-discover-strip .featured-profile__country{top:154px;bottom:auto}

[data-social-unread]{display:inline-block;padding:2px 6px;border-radius:12px;background:#b62950;color:#fff;font-size:11px;margin-left:4px}
[data-social-notifications] article{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #dde3eb}[data-social-notifications] time{font-size:12px;opacity:.75}[data-social-notifications] a{display:inline-flex;align-items:center;gap:6px}

.social-join-dialog{position:fixed;inset:20% 16px auto;margin:auto;width:min(440px,calc(100% - 32px));box-sizing:border-box;z-index:10000;border:1px solid #d4b777;border-radius:20px;padding:24px;background:#fffdf8;color:#0d2948;box-shadow:0 12px 60px #0d294844}.social-join-dialog a,.social-join-dialog button{display:block;margin:12px 0 0;padding:12px;border-radius:24px;text-align:center;font:inherit}.social-join-dialog a{background:#0d2948;color:#fff}.social-join-dialog button{width:100%;cursor:pointer}

/* Highlight new social activity without changing chat unread counters. */
#ttm-actions [data-action-focus="messages"].social-has-unread,[data-open-existing-messages].social-has-unread{background:#f3ce79!important;color:#102b49!important;border-color:#d7a644!important;box-shadow:0 0 0 2px #d7a64466,0 4px 14px #102b4922;font-weight:700}
.social-has-unread [data-social-unread]{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;box-sizing:border-box;margin-left:7px;border-radius:999px;background:#a92148;color:#fff;font-size:12px;font-weight:800;line-height:1}
