.tn2-hd .tn2-mid { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.tn2-switch { display: inline-flex; height: 38px; padding: 4px; border-radius: 10px; background: #eef2f6; }
.tn2-switch a { display: inline-flex; align-items: center; gap: 7px; padding: 0 15px; border-radius: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: #4a5565; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.tn2-switch a:hover { color: #1a2330; }
.tn2-switch a.is-on { background: #2d7dd2; color: #fff; }
.tn2-switch a.tn2-sw-soc:not(.is-on) { color: #8224e3; }
.tn2-switch a.tn2-sw-top:not(.is-on) { color: #1f6abb; }
.tn2-switch .tn2-badge { align-items: center; font-weight: 800; }
.tn2-switch a > span { position: relative; top: 1px; }
.tn2-top2 span:first-child { letter-spacing: .6px; margin-right: -.6px; }
.tn2-top2 span:last-child { letter-spacing: 1.2px; margin-right: -1.2px; }
body.tn2-on .ts-slink.ts-main-site:not(.active) { background: #eaf2fb; color: #1f6abb; }
body.tn2-on .ts-slink.ts-main-site:not(.active):hover { background: #2d7dd2; color: #fff; }
.ts-header-social .tn2-switch { background: rgba(255, 255, 255, .16); }
.ts-header-social .tn2-switch a { color: rgba(255, 255, 255, .9); }
.ts-header-social .tn2-switch a:hover { color: #fff; }
.ts-header-social .tn2-switch a.tn2-sw-top:not(.is-on) { color: rgba(255, 255, 255, .92); }
.ts-header-social .tn2-switch a.is-on { background: #fff; color: #63189f; }

.tn2-places { display: flex; align-items: center; gap: 2px; flex: none; }
.tn2-place { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 32px; padding: 0 13px; border-radius: 8px; color: rgba(255, 255, 255, .84); font-size: 12.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.tn2-place i { font-size: 1rem; line-height: 1; }
.tn2-place small { font-size: inherit; }
.tn2-place:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.tn2-place.is-on { color: #63189f; background: #fff; font-weight: 700; }

@media (min-width: 900.02px) {
  .tn2-hd .tn2-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: none; }
  .tn2-hd .tn2-places { position: absolute; top: 100%; left: 0; right: 0; width: max-content; margin: 0 auto; padding: 2px 8px 6px; background: #8224e3; border: 1px solid #63189f; border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 8px 18px rgba(60, 20, 110, .2); }
  .tn2-hd .tn2-places { clip-path: inset(0 -24px -30px -24px); transition: clip-path .22s ease; }
  body.tn2-tray-up .tn2-hd .tn2-places:not(:focus-within) { clip-path: inset(0 -24px 100% -24px); pointer-events: none; }
  body.tn2-bar-on.ts-social-side .ts-main { margin-top: calc(var(--header-h) + 36px); }
  .tn2-strip { justify-content: center; }
}
.tn2-bar-on .tsl-tabs[aria-label="What to list"] { display: none; }
.tn2-search { display: flex; align-items: center; }
.tn2-search-panel { position: absolute; top: 100%; right: 20px; width: 340px; max-width: calc(100vw - 20px); padding: 10px 10px 11px; background: #fff; border: 1px solid #cfd7e1; border-top: 3px solid #8224e3; border-radius: 0 0 16px 16px; box-shadow: 0 18px 44px rgba(20, 30, 50, .26), 0 2px 6px rgba(20, 30, 50, .1); z-index: 1060; }
.tn2-search-panel[hidden] { display: none; }
.tn2-search-box { position: relative; }
.tn2-search-box form { display: flex; align-items: center; gap: 6px; margin: 0; padding: 3px 4px 3px 10px; border: 1px solid #cfd7e1; border-radius: 6px; background: #f7f9fb; transition: border-color .15s, box-shadow .15s, background .15s; }
.tn2-search-box form:focus-within { border-color: #8224e3; background: #fff; box-shadow: 0 0 0 3px rgba(130, 36, 227, .14); }
.tn2-search-box input { flex: 1 1 auto; min-width: 0; height: 36px; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14.5px; color: #1a2330; }
.tn2-search-go, .tn2-search-close { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; font-size: 14px; cursor: pointer; }
.tn2-search-go { background: #8224e3; color: #fff; }
.tn2-search-go:hover { background: #63189f; }
.tn2-search-close { background: #eef1f5; color: #1a2330; }
.tn2-search-close:hover { background: #e1e6ec; }
.tn2-search-go:focus-visible, .tn2-search-close:focus-visible, .tn2-search-btn:focus-visible { outline: 2px solid #c79bf0; outline-offset: 2px; }
.tn2-search-note { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #edf1f5; font-size: 12.5px; line-height: 1.45; color: #5b6b7c; }
.tn2-search-note a { color: #2d7dd2; font-weight: 600; text-decoration: none; }
.tn2-search-note a:hover { text-decoration: underline; }
.tn2-search-box #search-suggestions { top: calc(100% + 8px); }

.tn2-mine { display: flex; flex-direction: column; gap: 1px; margin-bottom: 2px; padding: 3px; border: 1px solid #ead9fb; border-radius: 10px; background: #faf5ff; }
.tn2-mine .ts-slink.ts-social-net { background: transparent; color: #63189f; font-weight: 700; }
.tn2-mine .ts-slink.ts-social-net:hover { background: #f3e7fc; color: #63189f; }
.tn2-mine .ts-slink.ts-social-net.active, .tn2-mine .ts-slink.ts-social-net.active:hover { background: #8224e3; color: #fff; }
.tn2-mine-head { display: none; align-items: center; justify-content: space-between; width: 100%; margin: 2px 0 0; padding: 7px 12px 5px; border: 0; background: transparent; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #63189f; cursor: pointer; }
.tn2-mine-head i { font-size: 11px; transition: transform .18s; }
.tn2-mine.is-open .tn2-mine-head i { transform: rotate(180deg); }
.tn2-mine-list { display: none; flex-direction: column; gap: 1px; }
.tn2-mine.is-open .tn2-mine-list { display: flex; }
.tn2-mine-list .ts-slink > i { color: #8224e3; }
.tn2-mine-list .ts-slink:hover { background: #f3e7fc; color: #63189f; }
.tn2-mine-list .ts-slink.is-here { background: #f3e7fc; color: #63189f; font-weight: 600; }
@media (min-width: 900.02px) {
  .ts-sidebar.open:hover .tn2-mine-head { display: flex; }
  .ts-sidebar.open:hover .tn2-mine:hover .tn2-mine-list, .ts-sidebar.open .tn2-mine:focus-within .tn2-mine-list { display: flex; }
}

.tn2-strip { display: flex; flex-wrap: wrap; gap: 2px 26px; margin: 0; padding: 12px 14px 0; }
.tn2-strip a { padding: 5px 2px 6px; border-bottom: 2px solid transparent; font-size: 13.5px; font-weight: 600; color: #5b6b7c; text-decoration: none; white-space: nowrap; transition: color .15s, border-color .15s; }
.tn2-strip a:hover { color: #63189f; border-bottom-color: #d9c2f3; }
.tn2-strip a.is-on { color: #63189f; border-bottom-color: #8224e3; }

.tn2-bar { display: none; }

@media (max-width: 900px) {
  .tn2-hd .tn2-places { display: none; }
  .tn2-hd .tn2-mid { order: 10; flex: 0 0 100%; }
  .tn2-hd .tn2-switch { width: 100%; }
  .tn2-hd .tn2-switch a { flex: 1 1 0; justify-content: center; }
  .tn2-hd .ts-nav-auth, .tn2-hd .tn2-places ~ .ts-nav-auth { margin-left: auto; gap: 2px; }
  .tn2-hd.ts-header-social .ts-brand { padding: 0 2px; }
  .tn2-hd.ts-header-social .ts-brand img { height: 34px; }
  body:not(.ts-social-side) .tn2-hd .tn2-mid { display: none; }
  body.ts-hdr-compact .tn2-hd .tn2-mid { display: none; }
  .tn2-search-panel { top: 100%; left: 10px; right: 10px; width: auto; max-width: none; }
  .tn2-mine-head { display: flex; }
  .tn2-mine:not(.is-shut) .tn2-mine-list { display: flex; }
  .tn2-mine:not(.is-shut) .tn2-mine-head i { transform: rotate(180deg); }
  .tn2-mine.is-shut .tn2-mine-list { display: none; }
  .tn2-mine.is-shut .tn2-mine-head i { transform: none; }
  .tn2-strip { gap: 2px 20px; padding: 0 14px; margin: 0 0 10px; }
  body.tn2-bar-on .tmsg { height: calc(100dvh - var(--tmsg-top, 72px) - 72px - env(safe-area-inset-bottom, 0px)); }
  body.tn2-bar-on .tf2-me.is-phone { display: none; }
  body.tn2-bar-on .tf2-center { display: flex; flex-direction: column; }
  body.tn2-bar-on .tf2-center > * { order: 3; min-width: 0; }
  body.tn2-bar-on .tf2-center > .tf2-compose { order: 1; }
  body.tn2-bar-on .tf2-center > .d-md-none { order: 2; }
  body.tn2-bar-on .tf2-center > .d-md-none > .tf2-steps .tf2-steps-list li:nth-child(n+2), body.tn2-bar-on .tf2-center > .d-md-none > .tf2-steps .tf2-steps-fold { display: none; }
  .tn2-bar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #dde3ea; box-shadow: 0 -4px 16px rgba(20, 30, 50, .07); }
  .tn2-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0 3px; font-size: 10.5px; font-weight: 500; color: #6b7785; text-decoration: none; min-width: 0; }
  .tn2-bar a i { font-size: 21px; line-height: 1; }
  .tn2-bar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tn2-bar a.is-on { color: #8224e3; font-weight: 700; }
  body.tn2-bar-on { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  body.tn2-bar-on .ts-sidebar { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  body.tn2-on.ts-social-side .ts-sidebar { top: var(--ts-social-hdr-now, var(--ts-social-hdr, 110px)); }
  body.tn2-bar-on .toast-container.position-fixed.bottom-0 { bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important; }
  body.tn2-on.ts-social-side .ts-sidebar.open { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tn2-switch a, .tn2-place, .tn2-mine-head i, .tn2-hd .tn2-places, .tn2-strip a { transition: none; }
}
