body.ts-social-side { --ts-cell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M42,0 A58,42 0 0 1 100,42 A55,58 0 0 1 45,100 A45,52 0 0 1 0,48 A42,48 0 0 1 42,0 Z'/%3E%3C/svg%3E"); --ts-squircle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50,0 C88,0 100,12 100,50 C100,88 88,100 50,100 C12,100 0,88 0,50 C0,12 12,0 50,0 Z'/%3E%3C/svg%3E"); }
body.ts-social-side img[src*="profile_pics/"], body.ts-social-side img[src^="data:image/svg+xml"], body.ts-social-side .ts-endo-pic { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; aspect-ratio: 1 / 1; object-fit: cover; -webkit-mask: var(--ts-cell) center / 100% 100% no-repeat; mask: var(--ts-cell) center / 100% 100% no-repeat; }
body.ts-social-side .ts-lab-avatar, body.ts-social-side .tss-logo, body.ts-social-side .tf2-logo, body.ts-social-side .tsl-logo { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; -webkit-mask: var(--ts-squircle) center / 100% 100% no-repeat; mask: var(--ts-squircle) center / 100% 100% no-repeat; }
body.ts-social-side .ts-lab-avatar img, body.ts-social-side .tss-logo img, body.ts-social-side .tf2-logo img, body.ts-social-side .tsl-logo img { border-radius: 0 !important; -webkit-mask: none; mask: none; }
body.ts-social-side .tcn .tcn-gap .tcn-img { -webkit-mask: var(--tcn-shape) center / 100% 100% no-repeat; mask: var(--tcn-shape) center / 100% 100% no-repeat; }
body.ts-social-side .tcn .tcn-nd > img, body.ts-social-side .tcn-dlg .tcn-row img { border-radius: 50% !important; -webkit-mask: none; mask: none; }
body.ts-social-side .tf2-av, body.ts-social-side .tf2-ring, body.ts-social-side .ts-face-ring, body.ts-social-side .ts-avatar-btn, body.ts-social-side .tcf, body.ts-social-side .tf2-person > a:first-child { position: relative; display: inline-grid; padding: 3px; border: 0; border-radius: 0 !important; background: none !important; box-shadow: none !important; -webkit-mask: none; mask: none; line-height: 0; filter: drop-shadow(0 3px 7px rgba(26, 35, 48, .2)); transition: filter .2s, transform .2s; }
body.ts-social-side .tf2-av::before, body.ts-social-side .tf2-ring::before, body.ts-social-side .ts-face-ring::before, body.ts-social-side .ts-avatar-btn::before, body.ts-social-side .tcf::before, body.ts-social-side .tf2-person > a:first-child::before { content: ''; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--ts-cell) center / 100% 100% no-repeat; mask: var(--ts-cell) center / 100% 100% no-repeat; transition: background .2s; }
body.ts-social-side .tf2-av img, body.ts-social-side .tf2-ring img, body.ts-social-side .ts-face-ring img, body.ts-social-side .ts-avatar-btn img, body.ts-social-side .tcf img, body.ts-social-side .tf2-person > a:first-child img { position: relative; z-index: 1; display: block; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; object-fit: cover; aspect-ratio: 1 / 1; height: auto; -webkit-mask: var(--ts-cell) center / 100% 100% no-repeat; mask: var(--ts-cell) center / 100% 100% no-repeat; }
body.ts-social-side .tf2-av { flex: 0 0 auto; } body.ts-social-side .tf2-av img { width: 42px; height: 42px; } body.ts-social-side .ts-face-ring { width: 70px; height: 70px; } body.ts-social-side .ts-face-ring img { width: 64px; height: 64px; } body.ts-social-side .tf2-ring img { width: 58px; height: 58px; }
body.ts-social-side .ts-avatar-btn { padding: 2px; } body.ts-social-side .ts-avatar-btn .ts-avatar { width: 38px; height: 38px; }
body.ts-social-side .tf2-post-head:has(.tf2-av:hover, a.tf2-name:hover, .tf2-av:focus-visible) .tf2-av::before, body.ts-social-side .tf2-tile:hover .tf2-ring::before, body.ts-social-side .tf2-tile:focus-visible .tf2-ring::before, body.ts-social-side .ts-face-link:hover .ts-face-ring::before, body.ts-social-side .ts-face-link:focus-visible .ts-face-ring::before, body.ts-social-side .tf2-me:has(.tf2-me-mark:hover, .tf2-me-name a:hover) .tcn-gap { background: linear-gradient(135deg, #7a22d6, #2d7dd2); }
body.ts-social-side .tf2-post-head:has(.tf2-av:hover) .tf2-av, body.ts-social-side .tf2-tile:hover .tf2-ring, body.ts-social-side .ts-face-link:hover .ts-face-ring { filter: drop-shadow(0 5px 10px rgba(76, 78, 214, .3)); }
body.ts-social-side .ts-avatar-btn:hover::before, body.ts-social-side .ts-avatar-btn:focus-visible::before, body.ts-social-side .ts-avatar-btn[aria-expanded="true"]::before { background: linear-gradient(135deg, #f3e8ff, #c9b8f5); }
body.ts-social-side .tf2-post-head:has(.tf2-av:hover) a.tf2-name, body.ts-social-side .tf2-me:has(.tf2-me-mark:hover) .tf2-me-name a { color: #7a22d6 !important; }
body.ts-social-side .tf2-me-name a, body.ts-social-side .tcn-gap { transition: color .2s, background .2s; }
body.ts-social-side .tcf { flex: 0 0 auto; vertical-align: middle; }
body.ts-social-side .ts-suggest-row > .tcf { padding: 2px; } body.ts-social-side .ts-suggest-row > .tcf img { width: 30px !important; height: 30px !important; }
body.ts-social-side .tf2-person > a:first-child { flex: 0 0 auto; padding: 2px; } body.ts-social-side .tf2-person > a:first-child img { width: 36px !important; height: 36px !important; }
body.ts-social-side .ts-person-link .tcf { margin-right: 1rem; } body.ts-social-side .ts-person-link .tcf img { width: 46px; height: 46px; }
body.ts-social-side .tmsg-row .tcf img, body.ts-social-side .tmsg-request .tcf img { width: 40px; height: 40px; } body.ts-social-side .tmsg-chat-who .tcf img { width: 38px; height: 38px; } body.ts-social-side .tmsg-start .tcf { margin-bottom: 6px; }
body.ts-social-side .ts-suggest-row:hover .tcf::before, body.ts-social-side .tf2-person:hover > a:first-child::before, body.ts-social-side .ts-person-link:hover .tcf::before, body.ts-social-side .tmsg-row:hover .tcf::before, body.ts-social-side .tmsg-row.is-open .tcf::before, body.ts-social-side .tmsg-chat-who:hover .tcf::before { background: linear-gradient(135deg, #7a22d6, #2d7dd2); }
body.ts-social-side .ts-suggest-row:hover h6 a, body.ts-social-side .tf2-person:hover .tf2-person-text b a { color: #7a22d6 !important; }
body.ts-social-side .tcn .tcn-nd > img, .tcn .tcn-nd > img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
body.ts-social-side .tsl-person:hover .tcf::before { background: linear-gradient(135deg, #7a22d6, #2d7dd2); }
body.ts-social-side a.tsl-person:hover b { color: #7a22d6; }
