.tcn { --tcn-c: #7a22d6; --tcn-u: .46px; --tcn-d: 112px; --tcn-g: 5px; --tcn-shape: 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"); position: relative; display: inline-block; flex: 0 0 auto; width: calc(var(--tcn-d) + var(--tcn-g) * 2); height: calc(var(--tcn-d) + var(--tcn-g) * 2); line-height: 0; vertical-align: top; box-sizing: border-box; }
.tcn *, .tcn-dlg * { box-sizing: border-box; }
.tcn.is-lab { --tcn-c: var(--tsl-accent, #17794b); --tcn-shape: 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"); }
.tcn.is-md { --tcn-u: .4px; --tcn-d: 92px; --tcn-g: 5px; }
.tcn.is-sm { --tcn-u: .33px; --tcn-d: 72px; --tcn-g: 4px; }

.tcn-lines { position: absolute; left: 50%; top: 50%; z-index: 0; width: calc(500 * var(--tcn-u)); height: calc(660 * var(--tcn-u)); transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.tcn-ln { fill: none; stroke: var(--tcn-c); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .36s ease-out, opacity .12s; }
.tcn-ln.is-under { stroke: #fff; stroke-width: 19; }
.tcn-ln.is-empty { stroke-opacity: .28; }
.tcn.is-open .tcn-ln { stroke-dashoffset: 0; opacity: 1; }

.tcn-pic { position: relative; z-index: 1; display: block; width: 100%; height: 100%; outline: 0; filter: drop-shadow(0 4px 10px rgba(26, 35, 48, .2)); }
.tcn-pic[data-tcn-hit] { cursor: pointer; }
.tcn-gap { display: block; width: 100%; height: 100%; padding: var(--tcn-g); background: #fff; -webkit-mask: var(--tcn-shape) center / 100% 100% no-repeat; mask: var(--tcn-shape) center / 100% 100% no-repeat; }
.tcn-pic:focus-visible .tcn-gap { background: #c79bf0; }
.tcn .tcn-img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: cover; background: #f1ecfd; -webkit-mask: var(--tcn-shape) center / 100% 100% no-repeat; mask: var(--tcn-shape) center / 100% 100% no-repeat; }
.tcn .tcn-letter { display: grid; place-items: center; background: var(--tcn-c); color: #fff; font-size: calc(var(--tcn-d) * .42); font-weight: 800; line-height: 1; }

.tcn-nd { --x: 0; --y: 0; --r: 40; position: absolute; z-index: 2; left: calc(50% + var(--x) * var(--tcn-u)); top: calc(50% + var(--y) * var(--tcn-u)); display: grid; place-items: center; width: max(calc(var(--r) * 2 * var(--tcn-u)), 22px); height: max(calc(var(--r) * 2 * var(--tcn-u)), 22px); margin: 0; padding: 0; border: 3px solid #fff; border-radius: 50%; background: #f1ecfd; color: var(--tcn-c); font-size: 13px; line-height: 1; text-decoration: none; box-shadow: 0 1px 5px rgba(20, 8, 56, .28); transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none; transition: transform .42s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease, box-shadow .15s; }
.tcn.is-sm .tcn-nd { border-width: 2px; font-size: 11px; }
.tcn.is-open .tcn-nd { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.tcn-nd > img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tcn-nd:hover, .tcn-nd:focus-visible { z-index: 5; outline: 0; color: var(--tcn-c); box-shadow: 0 0 0 2px var(--tcn-c), 0 1px 5px rgba(20, 8, 56, .28); }
.tcn-nd.is-empty, .tcn.is-open .tcn-nd.is-empty { background: color-mix(in srgb, var(--tcn-c) 14%, #fff); box-shadow: 0 1px 4px rgba(20, 8, 56, .16); cursor: default; pointer-events: none; }
.tcn-nd.tcn-pen { --x: 232; --y: 30; --r: 30; background: var(--tcn-c); color: #fff; cursor: pointer; transition-delay: .5s; }
.tcn-nd.tcn-pen:hover, .tcn-nd.tcn-pen:focus-visible { color: #fff; }
.tcn-p1 { --x: 180; --y: -173; --r: 65; transition-delay: .18s; }
.tcn-p2 { --x: 185; --y: 205; --r: 50; transition-delay: .24s; }
.tcn-p3 { --x: -195; --y: 45; --r: 45; transition-delay: .3s; }
.tcn-p4 { --x: -10; --y: -275; --r: 35; transition-delay: .36s; }
.tcn-p5 { --x: -148; --y: -165; --r: 34; transition-delay: .42s; }
.tcn-l2 { transition-delay: .04s; }
.tcn-l3 { transition-delay: .08s; }
.tcn-l4 { transition-delay: .12s; }
.tcn-l5 { transition-delay: .16s; }

.tcn-tip { position: absolute; z-index: 6; display: flex; flex-direction: column; gap: 1px; padding: 7px 11px; border-radius: 10px; background: #fff; box-shadow: 0 6px 20px rgba(20, 8, 56, .22); white-space: nowrap; text-align: left; line-height: 1.3; opacity: 0; pointer-events: none; transition: opacity .15s; }
.tcn-tip b { font-size: 13px; font-weight: 700; color: #1a2330; }
.tcn-tip i { max-width: 230px; overflow: hidden; text-overflow: ellipsis; font-style: normal; font-size: 12px; color: #5b6b7c; }
.tcn-tip.is-right { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.tcn-tip.is-left { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.tcn-tip.is-up { left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); }
.tcn-nd:hover .tcn-tip, .tcn-nd:focus-visible .tcn-tip { opacity: 1; }
.tcn.is-sm .tcn-tip { left: 50%; right: auto; top: auto; bottom: calc(100% + 6px); width: max-content; max-width: 150px; transform: translateX(-50%); white-space: normal; text-align: center; }
.tcn.is-sm .tcn-tip i { max-width: none; }
.tcn.is-sm .tcn-p4 .tcn-tip, .tcn.is-sm .tcn-p5 .tcn-tip { top: calc(100% + 6px); bottom: auto; }

.tcn-dlg { width: min(520px, calc(100vw - 24px)); max-height: min(680px, calc(100vh - 24px)); padding: 0; border: 0; border-radius: 14px; background: #fff; color: #1a2330; box-shadow: 0 24px 60px rgba(16, 24, 40, .3); overflow: hidden; }
.tcn-dlg::backdrop { background: rgba(16, 24, 40, .45); }
.tcn-dlg-box { display: flex; flex-direction: column; max-height: min(680px, calc(100vh - 24px)); margin: 0; }
.tcn-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.tcn-dlg-head h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: 0; color: #1a2330; }
.tcn-dlg-x { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: #5b6b7c; cursor: pointer; }
.tcn-dlg-x:hover { background: #f1f3f6; }
.tcn-dlg-p { margin: 8px 20px 12px; font-size: 13.5px; line-height: 1.5; color: #5b6b7c; }
.tcn-dlg-q { display: block; width: calc(100% - 40px); margin: 0 20px 10px; padding: 9px 12px; border: 1px solid #cfd6de; border-radius: 10px; font-size: 14px; color: #1a2330; background: #fff; }
.tcn-dlg-q:focus { outline: 2px solid #c79bf0; outline-offset: 1px; border-color: #7a22d6; }
.tcn-dlg-list { flex: 1 1 auto; min-height: 120px; overflow-y: auto; padding: 0 12px; border-top: 1px solid #e3e7ed; border-bottom: 1px solid #e3e7ed; }
.tcn-dlg-empty { margin: 0; padding: 28px 12px; font-size: 13.5px; line-height: 1.5; text-align: center; color: #5b6b7c; }
.tcn-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border: 0; border-radius: 10px; background: none; text-align: left; color: #1a2330; cursor: pointer; }
.tcn-row + .tcn-row { margin-top: 2px; }
.tcn-row:hover { background: #f6f7f9; }
.tcn-row:focus-visible { outline: 2px solid #c79bf0; outline-offset: -2px; }
.tcn-row img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tcn-row span { min-width: 0; }
.tcn-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 650; }
.tcn-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: #5b6b7c; }
.tcn-row em { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid #cfd6de; border-radius: 50%; font-size: 12.5px; font-style: normal; font-weight: 700; color: transparent; }
.tcn-row[aria-pressed=true] { background: #f6f2fc; }
.tcn-row[aria-pressed=true] em { border-color: #7a22d6; background: #7a22d6; color: #fff; }
.tcn-dlg-count { margin: 10px 20px 0; font-size: 13px; color: #5b6b7c; }
.tcn-dlg-count.is-warn { color: #a15c07; font-weight: 600; }
.tcn-dlg-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 20px 16px; }
.tcn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid #7a22d6; border-radius: 10px; background: #7a22d6; font-size: 13.5px; font-weight: 650; line-height: 1.3; color: #fff; cursor: pointer; }
.tcn-btn:hover { background: #5b1aa3; border-color: #5b1aa3; }
.tcn-btn.is-quiet { border-color: #cfd6de; background: #fff; color: #1a2330; }
.tcn-btn.is-quiet:hover { background: #f6f7f9; border-color: #b9c2cd; }
.tcn-btn:focus-visible { outline: 2px solid #c79bf0; outline-offset: 2px; }
.tcn-btn[disabled] { opacity: .6; cursor: default; }

@media (max-width: 900px) {
  .tcn.is-lg { --tcn-u: .36px; --tcn-d: 84px; --tcn-g: 4px; }
  .tcn.is-lg .tcn-tip, .tcn.is-md .tcn-tip { left: 50%; right: auto; top: auto; bottom: calc(100% + 8px); width: max-content; max-width: 170px; transform: translateX(-50%); white-space: normal; text-align: center; }
  .tcn.is-lg .tcn-tip i, .tcn.is-md .tcn-tip i { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tcn-ln, .tcn-nd, .tcn-tip { transition: none; }
}

.tsh2 .ts-profile-cover, body.ts-social-side .tsh2 .ts-default-cover { min-height: 190px; margin-bottom: 0; border-radius: 0; }
.tsh2 .ts-profile-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 0 76px; padding-top: 16px; }
.tsh2 .tsh2-mark { position: relative; z-index: 3; grid-column: 2; grid-row: 1 / span 6; margin-top: -77px; line-height: 0; }
.tsh2 .ts-profile-meta { display: contents; }
.tsh2 .ts-profile-name, .tsh2 .ts-profile-subtitle, .tsh2 .ts-profile-muted { grid-column: 1; min-width: 0; }
.tsh2 .ts-profile-muted { flex-direction: column; gap: 4px; }
.tsh2 .tslk { grid-column: 1 / -1; justify-self: center; min-width: 0; max-width: 100%; margin-top: 16px; }
.tsh2 .ts-profile-actions { grid-column: 3; grid-row: 1 / span 6; align-self: start; justify-content: flex-end; margin-top: 0; }
.tsh2 .ts-profile-more ~ .ts-profile-meta .ts-profile-actions { padding-right: 46px; }
@media (max-width: 900px) {
  .tsh2 .ts-profile-cover, body.ts-social-side .tsh2 .ts-default-cover { aspect-ratio: auto; height: 130px; min-height: 0; }
  body.ts-social-side .tsh2 .ts-default-cover { justify-content: flex-start; align-items: center; gap: 8px; text-align: center; }
  body.ts-social-side .tsh2 .ts-default-cover-main { font-size: 1rem; -webkit-line-clamp: 1; }
  .tsh2 .ts-profile-muted { justify-self: center; max-width: 100%; align-items: flex-start; text-align: left; }
  .tsh2 .ts-profile-muted > span { display: block; padding-left: 24px; text-indent: -24px; overflow-wrap: anywhere; }
  .tsh2 .ts-profile-muted > span > i { display: inline-block; width: 16px; text-indent: 0; text-align: center; }
  .tsh2 .ts-profile-top { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; padding-top: 0; text-align: center; }
  .tsh2 .tsh2-mark { grid-column: 1; grid-row: auto; margin-top: -46px; margin-bottom: 10px; }
  .tsh2 .ts-profile-name { justify-content: center; }
  .tsh2 .tslk { grid-column: 1; grid-row: auto; align-items: center; justify-self: center; justify-content: center; margin-top: 12px; }
  .tsh2 .ts-profile-actions { grid-column: 1; grid-row: auto; justify-content: center; margin-top: 14px; }
  .tsh2 .ts-profile-more ~ .ts-profile-meta .ts-profile-actions { padding-right: 0; }
}
.tf2-me-mark { display: block; line-height: 0; }
.tf2-me-mark:focus-visible { outline: 2px solid #c79bf0; outline-offset: 3px; border-radius: 12px; }
body.ts-social-side .tsh2-mark .ts-avatar-edit { left: 4px; right: auto; bottom: 4px; z-index: 6; width: 32px; height: 32px; }
.tcn .tcn-nd.tcn-pen { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; transition-delay: 0s; }
