/* TH Legendary add-ons: species population, leaderboard, warp, card shop. Uses legendary-theme.css tokens. */

:root {
  --th-ok: #3ecf7a;
  --th-warn: #f0b429;
  --th-bad: #ef4444;
  --th-off: #6f6667;
  --th-amber: #e0a63a;
  --th-amber-2: #b9782a;
}

.is-search-hidden, .is-cat-hidden { display: none !important; }

/* ---------- shared page frame ---------- */
.thx-page, .thp {
  display: grid;
  gap: 18px;
  padding: 24px;
  margin: 0 0 24px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.lg-stats + .thp { margin-top: 20px; }
.thx-head, .thp-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.thx-head > div:first-of-type { flex: 1 1 280px; min-width: 0; }
.thx-head h1, .thp-head h2 { margin: 2px 0 4px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.thx-head p, .thp-head p { margin: 0; }
.thp-head-icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(227, 38, 47, 0.10); color: var(--gold-2);
}
.thp-head-icon svg { width: 26px; height: 26px; }
.thp-lead { flex: 1 1 260px; font-size: 14px; }

.thx-mock {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 10px 14px;
  border: 1px dashed rgba(240, 180, 41, 0.45); border-radius: var(--radius-sm);
  background: rgba(240, 180, 41, 0.06);
  color: #f3d58a !important; font-size: 14px;
}
.thx-mock svg { width: 18px; height: 18px; flex: none; }

.thx-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.thx-toolbar .lg-shop-search { flex: 0 1 300px; }

.thx-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: #1f1718; color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  font-size: 14px;
}

/* ---------- species population ---------- */
.thp-offline { margin: 0; font-size: 13px; color: var(--faint) !important; }
.thp-sums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thp-sum {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel-2);
}
.thp-sum-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.04); }
.thp-sum-icon svg { width: 22px; height: 22px; }
.thp-sum-body { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.thp-sum-body small { color: var(--faint); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.thp-sum-body strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thp-sum-body span { color: var(--muted); font-size: 12px; }
.thp-sum-value { font-size: 26px; font-weight: 800; }
.thp-sum.is-top { border-color: rgba(239, 68, 68, 0.3); }
.thp-sum.is-top .thp-sum-icon, .thp-sum.is-top .thp-sum-value { color: var(--th-bad); }
.thp-sum.is-near { border-color: rgba(240, 180, 41, 0.3); }
.thp-sum.is-near .thp-sum-icon, .thp-sum.is-near .thp-sum-value { color: var(--th-warn); }
.thp-sum.is-closed .thp-sum-icon { color: var(--muted); }

.thp-tabs, .ths-tabs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px;
  padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,0.25);
}
.thp-tab, .ths-tab {
  min-height: 40px; padding: 0 14px;
  border: 0; border-radius: 9px; background: transparent;
  color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
}
.thp-tab:hover, .ths-tab:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.thp-tab.active, .ths-tab.active { color: #fff; background: linear-gradient(180deg, var(--gold) 0%, var(--red-deep) 100%); box-shadow: 0 6px 18px var(--gold-glow); }

.thp-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  max-height: 520px; overflow-y: auto; margin: 0; padding: 0 6px 0 0; list-style: none;
}
.thp-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel-2);
}
.thp-row[hidden] { display: none; }
.thp-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--th-ok); }
.thp-row-main { flex: 1; min-width: 0; display: grid; gap: 8px; }
.thp-row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.thp-row-head strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thp-tag { flex: none; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--th-ok); background: rgba(62, 207, 122, 0.1); }
.thp-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.thp-bar span { display: block; height: 100%; border-radius: inherit; background: var(--th-ok); }
.thp-count {
  flex: none; min-width: 72px; padding: 8px 10px; text-align: center;
  border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,0.25);
  color: var(--faint); font-size: 12px;
}
.thp-count b { color: var(--th-ok); font-size: 16px; margin-right: 2px; }
.thp-row.is-near .thp-dot, .thp-row.is-near .thp-bar span { background: var(--th-warn); }
.thp-row.is-near .thp-tag, .thp-row.is-near .thp-count b { color: var(--th-warn); }
.thp-row.is-near .thp-tag { background: rgba(240, 180, 41, 0.1); }
.thp-row.is-full { border-color: rgba(239, 68, 68, 0.35); background: linear-gradient(90deg, rgba(239, 68, 68, 0.08), var(--panel-2)); }
.thp-row.is-full .thp-dot, .thp-row.is-full .thp-bar span { background: var(--th-bad); }
.thp-row.is-full .thp-tag, .thp-row.is-full .thp-count b { color: var(--th-bad); }
.thp-row.is-full .thp-tag { background: rgba(239, 68, 68, 0.12); }
.thp-row.is-closed { opacity: 0.6; }
.thp-row.is-closed .thp-dot, .thp-row.is-closed .thp-bar span { background: var(--th-off); }
.thp-row.is-closed .thp-tag, .thp-row.is-closed .thp-count b { color: var(--muted); background: rgba(255,255,255,0.05); }

.thp-legend { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.thp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.thp-legend .is-near .thp-dot { background: var(--th-warn); }
.thp-legend .is-full .thp-dot { background: var(--th-bad); }
.thp-legend .is-closed .thp-dot { background: var(--th-off); }

/* ---------- leaderboard ---------- */
.thl-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.thl-podium-card {
  position: relative; display: grid; justify-items: center; gap: 4px;
  padding: 22px 14px 18px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel-2);
}
.thl-podium-card.is-gold { padding-top: 34px; border-color: rgba(240, 180, 41, 0.5); background: linear-gradient(180deg, rgba(240, 180, 41, 0.12), var(--panel-2)); }
.thl-podium-card.is-silver { border-color: rgba(203, 213, 225, 0.35); }
.thl-podium-card.is-bronze { border-color: rgba(205, 127, 50, 0.4); }
.thl-podium-rank { position: absolute; top: 10px; left: 12px; color: var(--faint); font-weight: 800; }
.thl-podium-card strong { font-size: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thl-podium-card small { color: var(--muted); font-size: 12px; }
.thl-podium-card b { font-size: 22px; color: var(--th-warn); }
.thl-podium-card b em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.thl-avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(227, 38, 47, 0.18); color: var(--gold-2); font-weight: 800; font-size: 13px; text-transform: uppercase;
}
.thl-podium-card .thl-avatar { width: 56px; height: 56px; font-size: 22px; margin-bottom: 4px; }
.thl-podium-card.is-gold .thl-avatar { background: rgba(240, 180, 41, 0.2); color: var(--th-warn); }

.thl-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.thl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.thl-table th { position: sticky; top: 0; padding: 12px 14px; text-align: left; background: var(--panel-2); color: var(--faint); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.thl-table td { padding: 10px 14px; border-top: 1px solid var(--line); white-space: nowrap; }
.thl-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.thl-table .thl-num { text-align: right; font-variant-numeric: tabular-nums; }
.thl-rank { width: 48px; color: var(--faint); font-weight: 800; }
.thl-player { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.thl-muted { color: var(--muted); }
.thl-kills { color: var(--text); font-weight: 800; }
.thl-table tr.is-gold .thl-rank { color: var(--th-warn); }
.thl-table tr.is-silver .thl-rank { color: #cbd5e1; }
.thl-table tr.is-bronze .thl-rank { color: #cd7f32; }

/* ---------- warp ---------- */
.thw-friend {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(227, 38, 47, 0.12), var(--panel-2));
  color: var(--text); text-decoration: none;
}
.thw-friend > div { display: grid; flex: 1; }
.thw-friend span:not(.thp-head-icon) { color: var(--muted); font-size: 13px; }
.thw-friend:hover { border-color: var(--gold); }
.thw-friend .lg-feature-arrow { width: 20px; height: 20px; }
.thw-grid, .ths-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.thw-card, .ths-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel-2);
  transition: border-color .15s ease, transform .15s ease;
}
.thw-card:hover, .ths-card:hover { border-color: rgba(224, 166, 58, 0.55); transform: translateY(-2px); }
.thw-card-art {
  display: grid; place-items: center; gap: 6px; height: 110px;
  background: radial-gradient(circle at 50% 40%, rgba(227, 38, 47, 0.18), transparent 70%), #120d0e;
  color: var(--gold-2);
}
.thw-card-art svg { width: 34px; height: 34px; }
.thw-card-art span { color: var(--faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.thw-card-body, .ths-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px; }
.thw-card-body small, .ths-body small { color: var(--th-amber); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.thw-card-body strong, .ths-body strong { font-size: 16px; line-height: 1.25; }
.thw-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; }
.thw-meta span { display: inline-flex; align-items: center; gap: 5px; }
.thw-meta svg { width: 14px; height: 14px; }

.thw-go, .ths-buy {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: auto; min-height: 44px; width: 100%;
  border: 1px solid rgba(255, 214, 140, 0.35); border-radius: 10px;
  background: linear-gradient(180deg, var(--th-amber) 0%, var(--th-amber-2) 100%);
  color: #1a1206; font: inherit; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 16px rgba(224, 166, 58, 0.18);
}
.thw-go *, .ths-buy * { color: #1a1206 !important; }
.thw-card, .ths-card { padding: 0 !important; }
.thl-table { margin: 0 !important; }
.thw-go svg, .ths-buy svg { width: 18px; height: 18px; }
.thw-go:hover, .ths-buy:hover { filter: brightness(1.08); }
.ths-buy b { font-size: 16px; }

/* ---------- card shop ---------- */
.ths .thx-head .lg-shop-balances { flex: 0 1 auto; }
.ths-tabs { grid-auto-columns: max-content; }
.ths-tab { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0.02em; }
.ths-tab em { font-style: normal; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 11px; }
.ths-art {
  position: relative; display: grid; place-items: center; height: 130px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, rgba(224, 166, 58, 0.16), transparent 68%), #120d0e;
  color: var(--th-amber);
}
.ths-art > svg { width: 44px; height: 44px; opacity: 0.85; }
.ths-limit, .ths-soon {
  position: absolute; top: 10px; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.ths-limit { right: 10px; border: 1px solid rgba(224, 166, 58, 0.5); background: rgba(0,0,0,0.5); color: #f3d58a; }
.ths-limit svg { width: 12px; height: 12px; }
.ths-soon { left: 10px; background: rgba(255,255,255,0.08); color: var(--muted); }
.ths-body p { margin: 0; font-size: 13px; line-height: 1.45; }
.ths-stats { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,0.22); }
.ths-stats span { display: grid; flex: 1 1 60px; font-size: 12px; color: var(--text); line-height: 1.3; }
.ths-stats b { color: var(--faint); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.ths-card[data-status="soon"] .ths-buy { filter: saturate(0.55) brightness(0.85); }

/* card shop v2: artwork, badges, dual prices */
.ths-art { height: 150px; overflow: hidden; }
.ths-art img { width: 88%; height: 84%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); transition: transform .25s ease; }
.ths-card:hover .ths-art img { transform: scale(1.05); }
.ths-art > .ths-art-svg { width: 118px; height: 118px; opacity: 1; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.ths-card.has-image .ths-art { background: radial-gradient(ellipse at 50% 70%, rgba(224,166,58,.14), transparent 65%), linear-gradient(180deg, #161011, #0f0b0c); }
.ths-badge {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px; background: linear-gradient(180deg, #f3c65a, #c98a24);
  color: #1a1206; font-size: 11px; font-weight: 800;
}
.ths-badge svg { width: 12px; height: 12px; }
.ths-badge ~ .ths-limit { top: 40px; }
.ths-limit { max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ths-soon { top: auto !important; bottom: 10px; }
.ths-body small { display: flex; align-items: center; gap: 8px; }
.ths-diet { font-style: normal; padding: 1px 7px; border-radius: 6px; font-size: 10px; letter-spacing: .04em; text-transform: none; background: rgba(62,207,122,.12); color: var(--th-ok); }
.ths-diet.diet-carnivore { background: rgba(239,68,68,.12); color: #ff7b7b; }
.ths-diet.diet-omnivore { background: rgba(240,180,41,.12); color: var(--th-warn); }
.ths-stats span { display: flex !important; align-items: center; gap: 8px; }
.ths-stats span > svg { width: 16px; height: 16px; flex: none; color: var(--th-amber); }
.ths-stats i { display: grid; font-style: normal; min-width: 0; line-height: 1.25; }
.ths-stats i b { color: var(--text); font-size: 11px; letter-spacing: .02em; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ths-stats i { color: var(--faint); font-size: 10.5px; }
.ths-prices { display: flex; gap: 8px; margin-top: auto; }
.ths-prices .ths-buy { flex: 1; margin-top: 0; justify-content: flex-start; padding: 0 12px; }
.ths-buy span { display: grid; line-height: 1.05; text-align: left; }
.ths-buy small { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.ths-buy.is-relic { border-color: rgba(255,120,110,.35); background: linear-gradient(180deg, #7a2a24 0%, #4d1814 100%); box-shadow: 0 6px 16px rgba(160,40,30,.2); }
.ths-buy.is-relic * { color: #ffd9d3 !important; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .thp-sums, .thl-podium { grid-template-columns: 1fr; }
  .thp-grid { grid-template-columns: 1fr; }
  .thl-podium-card.is-gold { order: -1; }
}
@media (max-width: 640px) {
  .thx-page, .thp { padding: 16px; }
  .thp-tabs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .ths-tabs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; width: 100%; }
  .thx-toolbar .lg-shop-search { flex: 1 1 100%; }
}

/* ---------- sidebar: compact, no visible scrollbar, player card ---------- */
.lg-side { gap: 10px !important; padding: 14px 12px !important; scrollbar-width: none; }
.lg-side::-webkit-scrollbar { display: none; }
.lg-side .lg-brand { padding: 2px 6px 10px !important; }
.lg-side .lg-brand img { width: 40px !important; height: 40px !important; }
.lg-side-nav { gap: 1px !important; }
.lg-side .side-heading { margin: 8px 10px 3px !important; font-size: 10px !important; }
.lg-side .side-heading:first-child { margin-top: 0 !important; }
.lg-body .lg-side .side-link { min-height: 32px; gap: 10px; padding: 0 10px; font-size: 13.5px; }
.lg-body .lg-side .side-link svg { width: 16px; height: 16px; }
.th-side-lock { margin-left: auto; width: 13px !important; height: 13px !important; opacity: .5; }

.th-card {
  display: grid; gap: 10px; padding: 12px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: linear-gradient(160deg, rgba(227, 38, 47, 0.12), rgba(255,255,255,0.02) 60%);
  color: var(--text); text-decoration: none;
}
.th-card-top { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.th-card-avatar {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; overflow: hidden;
  border-radius: 50%; border: 2px solid rgba(227, 38, 47, 0.55); background: #241819;
  color: var(--gold-2); font-weight: 800;
}
.th-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.th-card-avatar svg { width: 20px; height: 20px; }
.th-card-name { display: grid; min-width: 0; line-height: 1.25; }
.th-card-name strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-card-name small { color: var(--gold-2); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.th-card-guest { grid-template-columns: auto 1fr; align-items: center; }
.th-card-guest .th-card-avatar { border-color: rgba(88, 101, 242, .7); color: #aab0ff; }
.th-card-guest .th-card-name small { color: var(--muted); font-weight: 500; }
.th-card-guest:hover { border-color: rgba(88, 101, 242, .7); }
.th-card-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.th-card-wallet a {
  display: flex; align-items: center; gap: 7px; min-width: 0; padding: 6px 8px;
  border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.28);
  color: var(--text); text-decoration: none;
}
.th-card-wallet a:hover { border-color: rgba(224, 166, 58, .5); }
.th-card-wallet svg { width: 15px; height: 15px; flex: none; color: var(--th-amber); }
.th-card-wallet span { display: grid; min-width: 0; line-height: 1.1; }
.th-card-wallet b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-card-wallet small { color: var(--faint); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; }
.th-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.th-card-foot svg { width: 13px; height: 13px; }
.th-card-ok, .th-card-warn { display: inline-flex; align-items: center; gap: 5px; }
.th-card-ok { color: var(--th-ok); }
.th-card-warn { color: var(--th-warn); text-decoration: none; }
.th-card-warn:hover { text-decoration: underline; }
.th-card-logout { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: var(--muted); }
.th-card-logout:hover { background: rgba(255,255,255,.06); color: #fff; }

.th-side-discord {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; margin-top: auto;
  border: 1px solid rgba(88, 101, 242, 0.45); border-radius: 10px; background: rgba(88, 101, 242, 0.14);
  color: #dfe2ff; font-size: 13px; font-weight: 700; text-decoration: none;
}
.th-side-discord svg { width: 17px; height: 17px; }
.th-side-discord:hover { background: rgba(88, 101, 242, 0.24); }

/* Dashboard sections now live in the main sidebar, so hide the dashboard's own inner sidebar. */
.dashboard-shell { grid-template-columns: minmax(0, 1fr) !important; }
.dashboard-shell > .dash-sidebar { display: none !important; }

/* sidebar compaction pass 2 */
.lg-side { gap: 8px !important; padding: 10px 12px !important; }
.lg-side .lg-brand { padding: 0 6px 8px !important; }
.lg-side .lg-brand img { width: 36px !important; height: 36px !important; }
.lg-body .lg-side .side-link { min-height: 29px; font-size: 13px; border-radius: 8px; }
.lg-side .side-heading { margin: 6px 10px 2px !important; }
.th-card { gap: 8px; padding: 10px; }
.th-card-top { gap: 9px; }
.th-card-avatar { width: 34px; height: 34px; text-decoration: none; }
.th-card-name { flex: 1; color: inherit; text-decoration: none; }
.th-card-name small { display: flex; align-items: center; gap: 6px; }
.th-card-name small svg { width: 12px; height: 12px; }
.th-card-wallet a { padding: 5px 8px; }
.th-side-discord { min-height: 32px; font-size: 12.5px; }
.th-card-logout svg { width: 16px; height: 16px; }
