.friends-button{position:relative}.friend-badge{position:absolute;right:-5px;top:-5px;background:var(--red);border:2px solid white;color:white;font-size:9px;min-width:18px;height:18px;display:grid;place-items:center;border-radius:50%;padding:0 3px}.friends-dialog{grid-template-columns:320px minmax(0,1fr);height:650px;width:min(1000px,100%)}.friends-sidebar{padding:24px 20px;border-right:1px solid var(--line);overflow:auto;min-width:0}.friends-sidebar h2{margin:0 0 20px;font-size:24px}.friend-search{display:flex;gap:6px}.friend-search input{font-size:12px}.friend-search-card{display:grid;gap:10px;margin-top:14px;padding:14px;background:var(--soft);border-radius:6px;font-size:12px}.friends-list{display:grid;gap:7px;margin-top:20px}.friend-row{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:6px;padding:12px 10px;text-align:left;min-width:0}.friend-row.selected{border-color:var(--red);background:#fff8f9}.friend-row-copy{min-width:0;flex:1;display:grid;gap:4px}.friend-row strong{font-size:12px}.friend-row small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.presence-status{font-size:10px;display:inline-flex;align-items:center;gap:5px;color:var(--muted);white-space:nowrap}.presence-status:before{content:'';width:6px;height:6px;background:#b8b3b4;border-radius:50%;flex-shrink:0}.presence-status.is-online{color:var(--red)}.presence-status.is-online:before{background:var(--red)}.friend-empty{line-height:1.8}.friend-request{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.friend-request strong{flex:1;overflow-wrap:anywhere}.friend-request .icon-btn{width:28px;height:28px;min-height:28px}.friend-request svg{width:15px;height:15px}.friend-request small{font-size:10px;color:var(--muted)}#friendRequests h3{font-size:12px;color:var(--muted);margin-top:24px}.friend-chat{display:grid;grid-template-rows:auto minmax(160px,1fr) auto;min-width:0;min-height:0;background:#faf6f7}.friend-chat-head{padding:24px 48px 24px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;background:#fff}.friend-chat-head>div{display:grid;gap:6px;min-width:0}.friend-chat-head strong{font-size:14px;overflow-wrap:anywhere}.friend-chat-head .avatar{width:34px;height:34px;font-size:15px}.friend-messages{max-height:none;min-height:0;padding:24px}.chat-placeholder{margin:auto;text-align:center;color:var(--muted);font-size:13px}.chat-placeholder svg{width:38px;height:38px}.seller-social{display:flex;align-items:center;gap:16px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.seller-social .btn{font-size:12px;min-height:36px}.chat-form{position:relative;align-items:center}.chat-form .field{flex:1;width:0}.chat-sticker{width:88px;height:88px;object-fit:contain;display:block;padding:4px}.message:has(.chat-sticker){background:transparent;padding:2px}.emoji-picker{position:absolute;bottom:calc(100% + 7px);left:10px;right:10px;max-width:320px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 28px #301a2420;z-index:5}.emoji-section{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding-bottom:10px;border-bottom:1px solid var(--line)}.emoji-section button{border:0;background:none;padding:5px;font-size:22px;border-radius:4px}.emoji-section button:hover,.sticker-section button:hover{background:var(--soft)}.sticker-section{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:10px}.sticker-section button{border:0;background:none;display:grid;justify-items:center;gap:6px;padding:8px 2px;font-size:10px;border-radius:4px}.sticker-section img{width:48px;height:48px;object-fit:contain}.emoji-picker>small{display:block;font-size:8px;color:var(--muted);margin-top:8px}.item-video{width:100%;max-height:400px;margin-top:18px;border-radius:6px;background:#211c1e}.video-badge{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:4px;background:#ffffffeb;color:var(--red)}.video-badge svg{width:16px;height:16px}.media-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.media-actions .btn{font-size:12px;flex:1;cursor:pointer;white-space:nowrap}.video-upload{position:relative;overflow:hidden}.video-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.media-hint{display:block;color:var(--muted);font-size:10px;margin-top:10px}.photo-preview{position:relative}.photo-preview .icon-btn{position:absolute;right:5px;top:5px;width:24px;height:24px;min-height:24px;box-shadow:0 1px 6px #0002}.photo-preview .icon-btn svg{width:14px;height:14px}#videoPreview{display:grid;gap:8px;margin-top:14px}#videoPreview video{width:100%;max-height:270px;background:#211c1e;border-radius:6px}#videoPreview .btn{font-size:11px;overflow-wrap:anywhere;height:auto;min-height:36px;padding:8px}.camera-dialog{position:relative;padding:24px;background:white;border-radius:8px;max-width:660px;width:100%;display:grid;gap:16px}.camera-dialog h2{font-size:20px;margin:0}.camera-dialog video{width:100%;aspect-ratio:4/3;object-fit:cover;background:#292124;border-radius:6px}.camera-dialog>.btn{justify-self:center}
.item-conversations{margin-top:18px;border:0;background:none;padding:0;color:var(--red);font-size:12px}html[lang=en] .brand-name small{display:none}html[lang=en] .brand-name{font-size:20px}
@media(max-width:720px){.friends-dialog{grid-template-columns:1fr;height:auto;max-height:calc(100dvh - 24px)}.friends-sidebar{padding:20px 16px;max-height:280px;border-right:0;border-bottom:1px solid var(--line)}.friend-chat{min-height:380px}.friend-messages{height:220px;max-height:220px;padding:16px}.friend-chat-head{padding:16px}.friends-sidebar h2{font-size:20px;margin-bottom:12px}.friends-list{margin-top:12px}.chat-form{gap:5px;padding:10px}.chat-form .icon-btn{width:32px;height:36px;min-height:36px}.chat-form .field{font-size:12px}.message{max-width:95%}}

.post-buyers{display:flex;gap:6px;overflow:auto;padding:10px 16px;border-bottom:1px solid var(--line);flex-shrink:0}.post-buyers:empty{display:none}.post-buyers .btn{white-space:nowrap;font-size:12px;padding:7px 12px}.item-unread-badge{background:#b3283d;color:white;border-radius:12px;font-size:11px;padding:2px 6px;margin-left:3px}.item-unread-badge[hidden]{display:none}.item-unread-dot{color:#b3283d}.thread small{display:block;font-size:11px;color:var(--muted)}

.post-buyers{display:block;padding:12px 18px;overflow:visible}.post-buyers-label{font-size:12px;color:var(--muted);margin-bottom:8px}.post-buyer-avatars{display:flex;gap:12px;padding:5px 4px;overflow-x:auto}.buyer-avatar{position:relative;flex:0 0 44px;width:44px;height:44px;border-radius:50%;padding:0;border:2px solid transparent;background:#f7e8ed;color:#b3283d;display:grid;place-items:center;cursor:pointer;transition:transform .16s ease,border-color .16s ease}.buyer-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.buyer-avatar.selected{border-color:#b3283d;box-shadow:0 0 0 2px #f8e4e9}.buyer-avatar:hover,.buyer-avatar:focus-visible{transform:scale(1.1);border-color:#b3283d}.buyer-avatar:focus-visible{outline:2px solid #b3283d;outline-offset:3px}.buyer-message-dot{position:absolute;right:-1px;top:-1px;width:10px;height:10px;border-radius:50%;background:#d82241;border:2px solid white}@media(prefers-reduced-motion:reduce){.buyer-avatar{transition:none}}

.fx-summary,.fx-preview{display:block;line-height:1.6;font-size:12px;color:#766970;overflow-wrap:anywhere}.fx-retry{font-size:12px;text-align:left}.form-fields [name=price_currency]{margin-bottom:6px}

#threadList .inbox-avatar-thread{display:flex;align-items:center;gap:12px;position:relative;text-align:left}#threadList .inbox-peer-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;overflow:hidden;background:#f7e8ed;color:#b3283d;font-size:18px}#threadList .inbox-peer-avatar img{display:block;width:100%;height:100%;object-fit:cover}#threadList .inbox-thread-copy{display:grid;gap:5px;min-width:0;flex:1}#threadList .inbox-thread-copy small,#threadList .inbox-thread-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#inboxModal .dialog-head{flex:0 0 auto;max-height:42%;overflow:auto}#inboxChatMeta{font-size:12px;line-height:1.5}.inbox-item-id{margin:5px 0;color:#867b7e}.inbox-item-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.inbox-item-details{margin-top:8px}.inbox-item-details summary{cursor:pointer;color:#b3283d;font-weight:600}.inbox-item-details .collapse-label{display:none}.inbox-item-details[open] .collapse-label{display:inline}.inbox-item-details[open] .expand-label{display:none}.inbox-item-description{max-height:140px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 0}#inboxMessages{min-height:100px;flex:1;overflow:auto}
