/* Steamhistory: standalone design system (separate from the clo.cat image host). */
:root {
  --bg: #0c070d;
  --bg-2: #170e1a;
  --surface: rgba(23, 14, 26, 0.72);
  --surface-strong: rgba(36, 21, 41, 0.9);
  --border-color: rgba(255, 82, 119, 0.18);
  --border-strong: rgba(255, 82, 119, 0.4);
  --text: #ffe3e8;
  --text-muted: #b89fa5;
  --primary: #ff5277;
  --primary-2: #ffb3c6;
  --primary-glow: rgba(255, 82, 119, 0.28);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --font: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Fredoka', 'Quicksand', system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 50% -10%, #3a1230 0%, transparent 60%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
img { max-width: 100%; }
::selection { background: var(--primary); color: #2a0612; }

/* Animated background */
.sh-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sh-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,82,119,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,82,119,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.sh-bg span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: sh-float 22s ease-in-out infinite; }
.sh-bg span:nth-child(1) { width: 520px; height: 520px; top: -160px; left: -120px; background: #ff5277; }
.sh-bg span:nth-child(2) { width: 420px; height: 420px; top: 30%; right: -140px; background: #ffb3c6; animation-delay: -7s; }
.sh-bg span:nth-child(3) { width: 360px; height: 360px; bottom: -140px; left: 30%; background: #c0407a; opacity: .25; animation-delay: -14s; }
@keyframes sh-float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .sh-bg span { animation: none; } }

/* Top bar */
.sh-topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(18px, calc((100% - 1120px) / 2));
  background: rgba(12, 7, 13, .65);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-color);
}
.sh-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.sh-logo b { background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-2));
  box-shadow: 0 6px 20px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.sh-logo:hover .sh-logo-mark { transform: rotate(-25deg) scale(1.06); }
.sh-topnav { display: flex; gap: 4px; }
.sh-topnav a { padding: 8px 14px; border-radius: 99px; color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s; }
.sh-topnav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.sh-topnav a.active { color: var(--text); background: rgba(79,195,255,.12); box-shadow: inset 0 0 0 1px rgba(79,195,255,.25); }

/* Surfaces */
.glass {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  animation: sh-rise .5s cubic-bezier(.2,.8,.2,1) both;
}
.sh-content .glass:nth-child(2) { animation-delay: .06s; }
@keyframes sh-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sh-hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-2), transparent);
}

/* Forms */
.form-input {
  width: 100%; height: 44px; padding: 0 16px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  background: rgba(12, 7, 13, .6); color: var(--text);
  font: inherit; font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-input::placeholder { color: #8d747a; }
.form-input:focus { border-color: var(--primary); background: rgba(12, 7, 13, .85); box-shadow: 0 0 0 4px var(--primary-glow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border: 0; border-radius: var(--radius-md);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 24px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 32px var(--primary-glow); }
.btn-primary:active { transform: translateY(0); }

/* Footer */
.sh-footer { padding: 0 18px 40px; color: var(--text-muted); font-size: 12px; text-align: center; }
.sh-footer a { color: var(--text-muted); }
.sh-footer a:hover { color: var(--primary); }

@media (max-width: 520px) {
  .sh-topnav a:not(.active) { display: none; }
}

/* Cute pink layer. Prefixed with body so it beats the page's inline styles. */
body { font-weight: 500; }
body .sh-logo, body .sh-title, body h2, body h3, body .sh-stat strong { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
body .sh-title { background: linear-gradient(120deg, #fff0f3, var(--primary-2) 55%, var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body .sh-title::after { content: ' ♡'; color: var(--primary); -webkit-text-fill-color: var(--primary); }
.sh-bg::after {
  background-image: radial-gradient(rgba(255, 179, 198, .16) 1.5px, transparent 1.6px);
  background-size: 30px 30px;
}
body .btn-primary { color: #2a0612; border-radius: 99px; }
body .form-input { border-radius: 99px; padding: 0 20px; }
body .sh-feature { transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .2s, background .2s; background: rgba(255, 82, 119, .06); }
body .sh-feature:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--border-strong); background: rgba(255, 82, 119, .1); }
body .sh-feature strong { color: var(--primary-2); }
body .sh-steam-btn { border-color: var(--border-strong); border-radius: 99px; background: rgba(255, 82, 119, .14); color: var(--text); }
body .sh-steam-btn:hover { background: rgba(255, 82, 119, .24); }
body .sh-steam-btn.big { border: 0; border-radius: 99px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #2a0612; box-shadow: 0 8px 24px var(--primary-glow); }
body .sh-steam-btn { white-space: nowrap; }
body .sh-topnav a { white-space: nowrap; }
@media (max-width: 640px) { body .sh-topnav a { display: none; } body .sh-topnav a[href*="view=matches"] { display: inline-block; } }
@media (max-width: 520px) { body .sh-steam-btn { height: 36px; padding: 0 12px; font-size: 12px; } }
body .sh-gate-icon { border-radius: 50%; }
body .sh-detail-card, body .sh-stat, body .sh-cs2-section { border-color: var(--border-color); }

/* CS2 stats */
body .sh-cs2-card .sh-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sh-ring-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.sh-ring-item { display: grid; justify-items: center; gap: 9px; padding: 15px 8px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: rgba(255, 82, 119, .05); }
.sh-ring-item > span { color: var(--text-muted); font-size: 11px; font-weight: 700; text-align: center; }
.sh-ring { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: conic-gradient(var(--primary) 0, var(--primary-2) calc(var(--pct) * 1%), rgba(255, 255, 255, .08) 0); }
.sh-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg-2); }
.sh-ring strong { position: relative; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.sh-last-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sh-last { min-width: 0; padding: 11px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .035); }
.sh-last span { display: block; color: var(--text-muted); font-size: 10px; }
.sh-last strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-delta { display: block; margin-top: 3px; color: var(--text-muted); font-size: 10px; font-weight: 600; }
.sh-delta.up { color: #3ddc97; }
.sh-delta.down { color: #ff5c7e; }
.sh-bar-fill { display: block; }
body .sh-cs2-card .sh-bar-label { font-size: 12px; text-transform: none; }
body .sh-cs2-card .sh-bar { grid-template-columns: 96px 1fr 84px; }
body .sh-cs2-card .sh-bar-value { text-align: right; }
@media (max-width: 620px) {
  body .sh-cs2-card .sh-stat-grid, .sh-ring-grid, .sh-last-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* My matches settings page */
.sh-settings { max-width: 720px; margin: 0 auto; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius-lg); }
.sh-settings-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.sh-settings-head h1 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.sh-settings-head p { margin: 4px 0 0; color: var(--text-muted); font-size: 13px; }
.sh-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border-color); }
.sh-setting-row > div { min-width: 0; }
.sh-setting-row strong { display: block; font-size: 14px; }
.sh-setting-row small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 12px; }
.sh-setting-row form { flex: none; margin: 0; }
.sh-setting-value { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.sh-setting-status { flex: none; padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--text-muted); font-size: 12px; font-weight: 700; }
.sh-setting-status.on { background: rgba(61, 220, 151, .13); color: #3ddc97; }
.sh-settings .sh-link-box { margin-top: 4px; }
@media (max-width: 520px) { .sh-settings-head { flex-direction: column; } }
@media (max-width: 520px) {
  body .sh-topbar { gap: 8px; }
  body .sh-logo > span:last-child { display: none; }
  body .sh-user button { white-space: nowrap; }
}


/* Trust score */
.sh-trust.green { --trust-color: #3ddc97; }
.sh-trust.yellow { --trust-color: #f7c948; }
.sh-trust.red { --trust-color: #ff5c7e; }
.sh-trust-score strong, .sh-trust-main h3 { color: var(--trust-color); }
.sh-trust { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px 20px; align-items: center; margin-bottom: 14px; padding: 20px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: rgba(255, 82, 119, .06); }
.sh-trust-score { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--trust-color) calc(var(--pct) * 1%), rgba(255, 255, 255, .08) 0); }
.sh-trust-score::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--bg-2); }
.sh-trust-score strong { position: relative; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.sh-trust-kicker { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.sh-trust-main h3 { margin: 3px 0 6px; font-size: 22px; }
.sh-trust-main small { display: block; margin-top: 6px; color: var(--text-muted); font-size: 12px; }
.sh-flag { display: inline-block; padding: 4px 12px; border-radius: 99px; background: rgba(247, 201, 72, .14); color: #f7c948; font-size: 12px; font-weight: 700; }
.sh-flag.banned { background: rgba(255, 92, 126, .16); color: #ff8fa6; }
.sh-trust-reasons { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.sh-trust-reasons li { display: flex; gap: 9px; color: var(--text-muted); }
.sh-trust-reasons b { flex: 0 0 30px; text-align: right; font-variant-numeric: tabular-nums; }
.sh-trust-reasons b.up { color: #3ddc97; }
.sh-trust-reasons b.down { color: #ff5c7e; }
.sh-trust .sh-note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 760px) {
  .sh-trust { grid-template-columns: auto minmax(0, 1fr); }
  .sh-trust-reasons { grid-column: 1 / -1; }
}

/* Admin panel */
.sh-admin { width: min(860px, calc(100% - 36px)); margin: 28px auto 64px; }
.sh-admin .sh-settings { max-width: none; }
.sh-admin-nav a { color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.sh-admin-nav a:hover { color: var(--text); }
.sh-admin-alert { margin-bottom: 14px; padding: 11px 15px; border-radius: var(--radius-sm); font-size: 13px; }
.sh-admin-alert.success { background: rgba(61, 220, 151, .12); color: #aaf0d1; }
.sh-admin-alert.error { background: rgba(255, 92, 126, .13); color: #ffc1cf; }
.sh-admin-search { margin-bottom: 8px; }
.sh-admin-empty { color: var(--text-muted); }
.sh-admin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 124px auto; align-items: end; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border-color); }
.sh-admin-row .btn { height: 44px; border-radius: 99px; }
.sh-admin-player { display: flex; align-items: center; align-self: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.sh-admin-player img { width: 38px; height: 38px; flex: none; border-radius: 12px; object-fit: cover; }
.sh-admin-player span { min-width: 0; }
.sh-admin-player strong, .sh-admin-player small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-admin-player small { color: var(--text-muted); font-size: 11px; }
.sh-admin-check { display: flex; align-items: center; align-self: center; gap: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.sh-admin-check input { width: 17px; height: 17px; accent-color: var(--primary); }
.sh-admin-trust span { display: block; margin-bottom: 4px; color: var(--text-muted); font-size: 11px; font-weight: 600; }
@media (max-width: 620px) {
  .sh-admin-row { grid-template-columns: 1fr 1fr; }
  .sh-admin-player { grid-column: 1 / -1; }
  .sh-admin-row .btn { grid-column: 1 / -1; }
}

.sh-private-note { margin: 0 0 14px; padding: 11px 15px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; }

/* Match list and popup */
body .sh-match { cursor: default; }
.sh-modal { width: min(860px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 24px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-2); color: var(--text); }
.sh-modal::backdrop { background: rgba(9, 4, 12, .72); backdrop-filter: blur(5px); }
.sh-modal h3 { margin: 0 34px 2px 0; font-size: 21px; }
.sh-modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.sh-modal-close:hover { background: rgba(255, 82, 119, .25); }
.sh-modal-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 14px 0; }
.sh-modal-stat { padding: 10px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); }
.sh-modal-stat span { display: block; color: var(--text-muted); font-size: 10px; }
.sh-modal-stat strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.sh-modal .sh-board { padding: 8px 0 0; }
.sh-replay { margin-top: 16px; }
.sh-replay-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sh-replay-top h4 { margin: 0; font-size: 14px; }
.sh-replay-rounds { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.sh-replay-rounds button { width: 28px; height: 28px; border: 1px solid transparent; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--text); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.sh-replay-rounds button.won { background: rgba(61, 220, 151, .16); color: #3ddc97; }
.sh-replay-rounds button.lost { background: rgba(255, 92, 126, .16); color: #ff5c7e; }
.sh-replay-rounds button.active { border-color: var(--text); }
.sh-replay-feed { display: grid; gap: 4px; min-height: 40px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.sh-replay-feed li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 9px; background: rgba(255, 255, 255, .035); }
.sh-replay-feed time { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.sh-replay-feed span { color: var(--text-muted); }
.sh-replay-feed b.ally { color: #3ddc97; }
.sh-replay-feed b.enemy { color: #ff8fa6; }
.sh-admin-tool { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); color: var(--text-muted); font-size: 12px; }
.sh-admin-tool button { flex: none; }
@media (max-width: 760px) {
  body .sh-match { grid-template-columns: 34px minmax(0, 1fr) 54px auto; gap: 8px; }
}
.sh-modal [hidden] { display: none !important; }

.sh-board-player { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.sh-board-player img, .sh-board-avatar { width: 26px; height: 26px; flex: none; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, .08); }
.sh-board-player span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }

/* Lock the page behind the match popup. */
html:has(.sh-modal[open]) { overflow: hidden; }
.sh-modal { overscroll-behavior: contain; }

/* Aim rating and reaction time */
.sh-aim-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 13px; }
.sh-aim-card { padding: 15px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: rgba(255, 82, 119, .05); }
.sh-aim-card h4 { margin: 0 0 11px; font-size: 13px; }
.sh-aim-card small { display: block; margin-top: 10px; color: var(--text-muted); font-size: 11px; }
.sh-aim-top { display: flex; align-items: center; gap: 18px; }
.sh-aim-top dl { display: flex; gap: 22px; margin: 0; }
.sh-aim-top dt { color: var(--text-muted); font-size: 11px; }
.sh-aim-top dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.sh-aim-ring { flex: none; }
.sh-reaction { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sh-reaction span { display: block; color: var(--text-muted); font-size: 11px; }
.sh-reaction strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 30px; font-weight: 600; }
@media (max-width: 620px) { .sh-aim-grid { grid-template-columns: 1fr; } }

.sh-admin-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0 0 12px; }
.sh-admin-status div { padding: 10px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); }
.sh-admin-status dt { color: var(--text-muted); font-size: 11px; }
.sh-admin-status dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; }

.sh-comment-deleted { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 82, 119, .14); color: #ff8fa9; font-size: 11px; font-weight: 700; }
.sh-history-more { margin-top: 10px; padding: 7px 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.sh-history-more:hover { border-color: rgba(255, 82, 119, .6); background: rgba(255, 82, 119, .12); }
.sh-history-full { max-height: calc(100vh - 160px); margin-top: 12px; overflow-y: auto; }

/* ── Profile page refresh ─────────────────────────────── */
.sh-profile-hero { position: relative; height: 120px; margin: 0 0 -56px; border-radius: var(--radius-md); background: linear-gradient(120deg, rgba(255, 82, 119, .35), rgba(140, 180, 255, .22)); overflow: hidden; }
.sh-profile-hero::before { content: ""; position: absolute; inset: -40px; background: var(--hero-img, none) center / cover; filter: blur(34px) saturate(1.3); opacity: .55; }
.sh-profile-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(23, 14, 26, .95)); }
.sh-profile-hero + .sh-current { position: relative; padding: 0 12px; }
.sh-profile-hero + .sh-current .sh-avatar.large { border: 3px solid var(--bg-2); box-shadow: 0 8px 28px rgba(0, 0, 0, .45); }
.sh-status-line { display: inline-flex !important; align-items: center; gap: 7px; }
.sh-status-line i { width: 9px; height: 9px; border-radius: 50%; background: #7d6a70; }
.sh-status-online i, .sh-status-lookingtoplay i, .sh-status-lookingtotrade i { background: #57cbde; box-shadow: 0 0 8px #57cbde; }
.sh-status-ingame i { background: #90ba3c; box-shadow: 0 0 8px #90ba3c; }
.sh-status-away i, .sh-status-snooze i, .sh-status-busy i { background: #e0b84f; }
.sh-country { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13px; }
.sh-quick-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin: 18px 0; }
.sh-quick-stat { padding: 12px 14px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); }
.sh-quick-stat span { display: block; color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sh-quick-stat strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.sh-quick-stat.good strong { color: #8fe3a8; }
.sh-quick-stat.bad { border-color: rgba(255, 82, 82, .5); background: rgba(255, 60, 60, .08); }
.sh-quick-stat.bad strong { color: #ff7b7b; }
.sh-id-list { display: grid; gap: 6px; }
.sh-id-row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.sh-id-row:hover { border-color: var(--border-strong); background: rgba(255, 82, 119, .08); }
.sh-id-row span { color: var(--text-muted); font-size: 12px; font-weight: 700; }
.sh-id-row code { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sh-id-row em { color: var(--primary-2); font-size: 11px; font-style: normal; font-weight: 700; opacity: 0; transition: opacity .15s; }
.sh-id-row:hover em, .sh-id-row:focus-visible em { opacity: 1; }
.sh-ban-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-ban { padding: 10px 12px; border-radius: 10px; border: 1px solid; }
.sh-ban span { display: block; color: var(--text-muted); font-size: 12px; font-weight: 700; }
.sh-ban strong { font-family: var(--font-display); font-size: 17px; }
.sh-ban.good { border-color: rgba(120, 220, 150, .28); background: rgba(120, 220, 150, .06); }
.sh-ban.good strong { color: #8fe3a8; }
.sh-ban.bad { border-color: rgba(255, 90, 90, .5); background: rgba(255, 60, 60, .1); }
.sh-ban.bad strong { color: #ff7b7b; }
.sh-detail-card { transition: border-color .2s, transform .2s; }
.sh-detail-card:hover { border-color: var(--border-strong); }
.sh-game img { transition: transform .25s; }
.sh-game:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .sh-id-row { grid-template-columns: 1fr auto; } .sh-id-row span { grid-column: 1 / -1; } }
.sh-status-line { margin-right: 10px; }
.sh-game { min-width: 0; }
.sh-game > span { min-width: 0; overflow: hidden; }
.sh-game strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html { overflow-x: clip; }

/* Banner uses the player's own Steam profile background when they have one. */
.sh-profile-hero.has-bg { height: 190px; background: var(--bg-img, none) center 20% / cover, var(--bg-2); }
.sh-profile-hero.has-bg::before { display: none; }
.sh-profile-hero.has-bg::after { background: linear-gradient(180deg, transparent 45%, rgba(23, 14, 26, .92)); z-index: 1; }
.sh-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (prefers-reduced-motion: reduce) { .sh-hero-video { display: none; } }
.sh-profile-hero + .sh-current { z-index: 2; }
.sh-profile-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sh-link-btn { display: inline-flex; align-items: center; padding: 4px 11px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(23, 14, 26, .65); color: var(--text); font-size: 12px; font-weight: 700; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.sh-link-btn:hover { transform: translateY(-1px); }
.sh-link-btn.steam:hover { border-color: #66c0f4; background: rgba(102, 192, 244, .18); }
.sh-link-btn.leetify:hover { border-color: #f84982; background: rgba(248, 73, 130, .18); }
.sh-link-btn.csstats:hover { border-color: #f5a623; background: rgba(245, 166, 35, .18); }

/* FACEIT */
.sh-link-btn.faceit:hover { border-color: #ff5500; background: rgba(255, 85, 0, .18); }
.sh-faceit { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center; margin: 18px 0; padding: 18px 20px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: linear-gradient(120deg, rgba(255, 85, 0, .1), rgba(255, 255, 255, .02) 55%); }
.sh-faceit-level { display: grid; place-items: center; width: 74px; height: 74px; border: 4px solid var(--lvl); border-radius: 50%; box-shadow: 0 0 18px color-mix(in srgb, var(--lvl) 45%, transparent); }
.sh-faceit-level strong { color: var(--lvl); font-family: var(--font-display); font-size: 28px; line-height: 1; }
.sh-faceit-level span { margin-top: -10px; color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.sh-faceit-main h3 { margin: 2px 0; font-family: var(--font-display); font-size: 22px; }
.sh-faceit-main h3 a { color: var(--text); text-decoration: none; }
.sh-faceit-main h3 a:hover { color: #ff7a33; }
.sh-faceit-main small { color: var(--text-muted); font-weight: 700; }
.sh-faceit-verified { color: #ff7a33; font-size: 15px; }
.sh-faceit-recent { display: flex; gap: 4px; margin-top: 8px; }
.sh-faceit-recent b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 11px; }
.sh-faceit-recent b.w { background: rgba(80, 210, 120, .2); color: #8fe3a8; }
.sh-faceit-recent b.l { background: rgba(255, 80, 80, .2); color: #ff8a8a; }
.sh-faceit-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 8px; }
.sh-faceit-stats div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.sh-faceit-stats span { display: block; color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sh-faceit-stats strong { font-family: var(--font-display); font-size: 18px; }

/* Matchmaking ranks (Leetify) */
.sh-ranks { margin: 18px 0; padding: 18px 20px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: linear-gradient(120deg, rgba(248, 73, 130, .08), rgba(255, 255, 255, .02) 55%); }
.sh-ranks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sh-ranks-head a { color: var(--text-muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.sh-ranks-head a:hover { color: var(--primary-2); }
.sh-ranks-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sh-rank-box { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.sh-rank-box > span:first-child { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sh-rank-box strong { font-family: var(--font-display); font-size: 17px; }
.sh-rank-box small { color: var(--text-muted); font-size: 12px; }
.sh-rank-box .sh-cs2-premier-icon { width: 96px; height: 30px; flex: none; }
.sh-rank-box .sh-cs2-premier-value { font-size: 17px; }
.sh-rank-box .sh-cs2-premier-value small { color: inherit; font-size: 12px; }
.sh-map-ranks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; margin-top: 12px; }
.sh-map-rank { display: flex; justify-content: space-between; gap: 8px; padding: 7px 11px; border-radius: 9px; background: rgba(255, 255, 255, .025); font-size: 12px; }
.sh-map-rank span { color: var(--text-muted); font-weight: 700; }
.sh-map-rank strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-skill.silver { color: #c7ccd4; }
.sh-skill.gold { color: #f2c94c; }
.sh-skill.mg { color: #6fb6ff; }
.sh-skill.eagle { color: #b98cff; }
.sh-skill.supreme { color: #ff8fd1; }
.sh-skill.global { color: #ff6b6b; text-shadow: 0 0 10px rgba(255, 107, 107, .4); }
.sh-faceit-level.has-icon { border: 0; box-shadow: none; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--lvl) 45%, transparent)); }
.sh-faceit-level.has-icon img { width: 74px; height: 74px; }
.sh-rank-img { display: block; width: 100px; height: 40px; object-fit: contain; }
.sh-map-rank { align-items: center; }
.sh-map-rank .sh-rank-img { width: 55px; height: 22px; flex: none; margin-left: auto; }
.sh-map-rank strong { flex: 0 1 auto; }

/* Leetify match history */
.sh-lm .sh-ranks-head h3 { margin: 0; }
.sh-lm-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 14px; }
.sh-lm-summary div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.sh-lm-summary span { display: block; color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sh-lm-summary strong { font-family: var(--font-display); font-size: 18px; }
.sh-lm-summary small { display: block; color: var(--text-muted); font-size: 11px; }
.sh-lm-summary .up, .sh-lm-table td.up { color: #8fe3a8; }
.sh-lm-summary .down, .sh-lm-table td.down { color: #ff8a8a; }
.sh-lm-scroll { overflow-x: auto; }
.sh-lm-table { min-width: 640px; }
.sh-lm-table td { white-space: nowrap; }
.sh-lm-res { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px; border-radius: 5px; font-size: 10px; }
.sh-lm-w .sh-lm-res { background: rgba(80, 210, 120, .2); color: #8fe3a8; }
.sh-lm-l .sh-lm-res { background: rgba(255, 80, 80, .2); color: #ff8a8a; }
.sh-lm-t .sh-lm-res { background: rgba(255, 255, 255, .1); }
.sh-lm-src { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 11px; font-weight: 700; }
.sh-lm-src.matchmaking { background: rgba(184, 131, 255, .18); color: #cfa8ff; }
.sh-lm-src.matchmaking_competitive { background: rgba(72, 165, 255, .18); color: #8ec5ff; }
.sh-lm-src.matchmaking_wingman { background: rgba(68, 200, 250, .18); color: #8fdcff; }
.sh-lm-src.faceit { background: rgba(255, 85, 0, .18); color: #ff9a5c; }
.sh-lm-ban { padding: 1px 6px; border-radius: 5px; background: rgba(255, 60, 60, .25); color: #ff8a8a; font-size: 10px; font-weight: 800; }
.sh-modal .sh-lm-table { min-width: 0; font-size: 13px; }

/* Premier current / best / history */
.sh-premier-best { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .06); }
.sh-cs2-premier-icon.small { width: 74px; height: 22px; }
.sh-cs2-premier-icon.small .sh-cs2-premier-value { font-size: 13px; }
.sh-cs2-premier-icon.small .sh-cs2-premier-value small { font-size: 10px; }
.sh-premier-history { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.sh-premier-history-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.sh-premier-history-head strong { font-family: var(--font-display); font-size: 15px; }
.sh-premier-history-head span { font-size: 12px; }
.sh-premier-chart { display: block; width: 100%; height: 150px; }
.sh-premier-history-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; color: var(--text-muted); font-size: 12px; font-weight: 700; }
.sh-premier-history-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.sh-premier-history-foot .sh-history-more { margin: 0 0 0 auto; }
/* Premier seasons */
.sh-season-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 12px; }
.sh-season { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 11px; background: rgba(255, 255, 255, .03); }
.sh-season.current { border-color: var(--border-strong); background: rgba(255, 82, 119, .08); }
.sh-season.empty { opacity: .55; }
.sh-season > span { font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.sh-season-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sh-season-row small, .sh-season-n { color: var(--text-muted); font-size: 11px; font-weight: 700; }

/* Premier graph */
.sh-pc { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: 210px 22px; margin: 4px 0 6px; }
.sh-pc-y { position: relative; }
.sh-pc-y span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sh-pc-plot { position: relative; overflow: visible; border-left: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sh-pc-band { position: absolute; left: 0; right: 0; background: var(--c); opacity: .07; }
.sh-pc-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(255, 255, 255, .08); }
.sh-pc-line { position: absolute; inset: 0; width: 100%; height: 100%; }
.sh-pc-dot { position: absolute; z-index: 2; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border: 2px solid #1d1220; border-radius: 50%; background: #ffb3c6; cursor: pointer; transition: transform .12s; }
.sh-pc-dot.w { background: #57d98a; }
.sh-pc-dot.l { background: #ff6b7d; }
.sh-pc-dot.best { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; background: #ffe34a; box-shadow: 0 0 10px #ffe34a; }
.sh-pc-dot:hover, .sh-pc-dot:focus-visible { z-index: 5; transform: scale(1.6); outline: none; }
.sh-pc-dot::after { content: attr(data-tip); position: absolute; bottom: 150%; left: 50%; display: none; padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: 8px; background: #1d1220; color: var(--text); font-size: 12px; font-weight: 700; white-space: nowrap; transform: translateX(-50%) scale(.625); transform-origin: bottom center; pointer-events: none; }
.sh-pc-dot:hover::after, .sh-pc-dot:focus-visible::after { display: block; }
.sh-pc-mark { position: absolute; z-index: 3; padding: 1px 6px; border-radius: 6px; background: #1d1220; color: var(--c); font-size: 10px; font-weight: 800; white-space: nowrap; border: 1px solid var(--c); pointer-events: none; }
.sh-pc-mark.up { transform: translate(-50%, -190%); }
.sh-pc-mark.down { transform: translate(-50%, 90%); }
.sh-pc-x { position: relative; grid-column: 2; }
.sh-pc-x span { position: absolute; top: 5px; transform: translateX(-50%); color: var(--text-muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.sh-pc-x span:first-child { transform: none; }
.sh-pc-x span:last-child { transform: translateX(-100%); }

/* Plays with */
.sh-mates .sh-ranks-head h3 { margin: 0; }
.sh-mate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.sh-mate { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; }
.sh-mate:hover { border-color: var(--border-strong); background: rgba(255, 82, 119, .08); }
.sh-mate img, .sh-mate .sh-friend-placeholder { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.sh-mate-info { min-width: 0; }
.sh-mate-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-mate-info small { display: block; color: var(--text-muted); font-size: 11px; font-weight: 700; }

/* Clickable matches + scoreboard popup */
.sh-pc-dot[data-match] { cursor: pointer; }
tr.sh-click { cursor: pointer; }
tr.sh-click:hover td { background: rgba(255, 82, 119, .08); }
.sh-sb-meta { margin: 0 0 10px; color: var(--text-muted); font-size: 13px; }
.sh-sb-team { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 6px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.sh-sb-team.won { background: rgba(80, 210, 120, .12); }
.sh-sb-team.lost { background: rgba(255, 80, 80, .12); }
.sh-sb-score { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.sh-sb-team.won .sh-sb-score { color: #8fe3a8; }
.sh-sb-team.lost .sh-sb-score { color: #ff8a8a; }
.sh-sb-table td a { color: var(--text); text-decoration: none; font-weight: 700; }
.sh-sb-table td a:hover { color: var(--primary-2); }
.sh-sb-table tr.me td { background: rgba(255, 82, 119, .12); }
.sh-sb-table td.up { color: #8fe3a8; }
.sh-sb-table td.down { color: #ff8a8a; }
.sh-mates > .sh-history-more { margin-top: 12px; }
.sh-modal .sh-mate-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Premier / FACEIT history switch */
.sh-hist-switch { margin-left: 10px; padding: 3px 11px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; font-size: 12px; font-weight: 700; vertical-align: 2px; cursor: pointer; transition: background .15s, border-color .15s; }
.sh-hist-switch:hover, .sh-hist-switch:focus-visible { border-color: #ff7a33; background: rgba(255, 122, 51, .16); outline: none; }
.sh-faceit-history .sh-hist-switch:hover { border-color: var(--primary); background: rgba(255, 82, 119, .16); }
.sh-faceit-icon { display: inline-block; vertical-align: middle; }
.sh-pc-dot.small { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-width: 1px; }
.sh-pc-dot[data-url] { cursor: pointer; }
.sh-premier-history-foot > span { display: inline-flex; align-items: center; gap: 6px; }

/* Season tiles pick the graph */
.sh-season.pickable { cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.sh-season.pickable:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.sh-season.selected { border-color: var(--primary); background: rgba(255, 82, 119, .14); box-shadow: 0 0 0 1px var(--primary) inset; }
.sh-season.pickable:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.sh-chart-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; }
.sh-chart-pill { padding: 4px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.sh-chart-pill.selected { border-color: var(--primary); background: rgba(255, 82, 119, .18); }

/* Trust score card */
.sh-trust2 { --trust-color: #3ddc97; position: relative; margin: 18px 0; padding: 20px 22px; border: 1px solid color-mix(in srgb, var(--trust-color) 38%, transparent); border-radius: var(--radius-md); background: radial-gradient(600px 160px at 0% 0%, color-mix(in srgb, var(--trust-color) 16%, transparent), transparent 70%), rgba(255, 255, 255, .02); }
.sh-trust2.yellow { --trust-color: #f7c948; }
.sh-trust2.red { --trust-color: #ff5c7e; }
.sh-trust2-head { display: flex; align-items: center; gap: 18px; }
.sh-trust2-shield { flex: none; filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--trust-color) 45%, transparent)); }
.sh-trust2-shield svg { display: block; }
.sh-trust2-main { flex: 1; min-width: 0; }
.sh-trust2-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 2px 0 8px; }
.sh-trust2-num { color: var(--trust-color); font-family: var(--font-display); font-size: 38px; font-weight: 700; line-height: 1; }
.sh-trust2-num small { margin-left: 2px; color: var(--text-muted); font-size: 15px; font-weight: 600; }
.sh-trust2-title h3 { margin: 0; color: var(--trust-color); font-family: var(--font-display); font-size: 22px; }
.sh-trust2-flag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.sh-trust2-flag.red { background: rgba(255, 70, 90, .2); color: #ff8a9a; }
.sh-trust2-flag.yellow { background: rgba(247, 201, 72, .18); color: #f7c948; }
.sh-trust2-meter { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 92, 126, .25), rgba(247, 201, 72, .25) 40%, rgba(61, 220, 151, .25)); overflow: hidden; }
.sh-trust2-meter span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--trust-color); box-shadow: 0 0 12px var(--trust-color); }
.sh-trust2-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sh-trust2-chip { padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text-muted); font-size: 11px; font-weight: 700; }
.sh-trust2-chip.src { color: var(--text); }
.sh-trust2-chip.conf-high { border-color: rgba(61, 220, 151, .4); color: #8fe3a8; }
.sh-trust2-chip.conf-medium { border-color: rgba(247, 201, 72, .4); color: #f7c948; }
.sh-trust2-chip.conf-low { border-color: rgba(255, 255, 255, .2); }
.sh-trust2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.sh-trust2-col { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.sh-trust2-col h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; }
.sh-trust2-col h4 span { padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11px; }
.sh-trust2-col.good h4 { color: #8fe3a8; }
.sh-trust2-col.bad h4 { color: #ff8a9a; }
.sh-trust2-col ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sh-trust2-col li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: baseline; gap: 8px; font-size: 13px; }
.sh-trust2-col li b { font-variant-numeric: tabular-nums; text-align: right; }
.sh-trust2-col.good li b { color: #3ddc97; }
.sh-trust2-col.bad li b { color: #ff5c7e; }
.sh-trust2-col li em { color: var(--text-muted); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sh-trust2-col p { margin: 0; font-size: 13px; }
.sh-trust2-note { margin: 10px 0 0; color: var(--text-muted); font-size: 12px; }
.sh-trust2-foot { margin: 12px 0 0; color: var(--text-muted); font-size: 11px; }
@media (max-width: 640px) { .sh-trust2-cols { grid-template-columns: 1fr; } .sh-trust2-head { align-items: flex-start; } }

.sh-ban-other { margin: 10px 0 0; padding: 8px 11px; border-radius: 9px; background: rgba(120, 220, 150, .08); color: #b9ecc9; font-size: 12px; font-weight: 600; }
.sh-ban-other.unknown { background: rgba(247, 201, 72, .08); color: #f1d98a; }

.sh-trust2-col li { grid-template-columns: 20px minmax(0, 1fr); align-items: center; }
.sh-trust2-col li i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-style: normal; font-weight: 900; }
.sh-trust2-col.good li i { background: rgba(61, 220, 151, .18); color: #3ddc97; }
.sh-trust2-col.bad li i { background: rgba(255, 92, 126, .18); color: #ff5c7e; }

.sh-mate-ban { margin-left: 4px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 60, 60, .22); color: #ff8a8a; font-size: 10px; font-style: normal; font-weight: 800; vertical-align: 1px; }

.sh-shared-note { margin-left: auto; margin-right: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text-muted); font-size: 11px; font-weight: 700; }

/* Recently tracked: one row that scrolls by itself (two copies loop seamlessly) */
.sh-ticker { position: relative; overflow: hidden; margin: 0 -4px; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sh-ticker-track { display: flex; gap: 9px; width: max-content; animation: sh-ticker var(--ticker-time, 40s) linear infinite; }
.sh-ticker:hover .sh-ticker-track, .sh-ticker:focus-within .sh-ticker-track { animation-play-state: paused; }
.sh-ticker .sh-profile-row { flex: none; max-width: 320px; }
.sh-ticker .sh-profile-row:hover { transform: translateY(-2px); }
@keyframes sh-ticker { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 4.5px)); } }
@media (prefers-reduced-motion: reduce) {
  .sh-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .sh-ticker-track { animation: none; }
  .sh-ticker-track > [aria-hidden="true"] { display: none; }
}

/* Steamhistory logo */
.sh-logo-img { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 12px var(--primary-glow)); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.sh-logo:hover .sh-logo-img { transform: rotate(-12deg) scale(1.08); }
