#navMenuButton,#playersButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 17px;border:1px solid rgba(219,166,54,.34);border-radius:10px;color:#f4f6f5;background:linear-gradient(180deg,#20282b,#111718);font-weight:800;cursor:pointer;transition:.16s ease}#navMenuButton{width:45px;padding:0;font-size:21px}#playersButton{border-color:rgba(226,174,61,.72);color:#1c1406;background:linear-gradient(180deg,#ffd36b,#d99d2c);box-shadow:0 7px 20px rgba(214,151,32,.18)}#navMenuButton:hover,#playersButton:hover{transform:translateY(-1px);filter:brightness(1.06)}
.tree-nav-menu-wrap{position:relative;display:inline-flex}.tree-nav-menu{position:absolute;left:0;top:calc(100% + 8px);z-index:10050;display:none;width:205px;padding:7px;border:1px solid rgba(231,180,69,.38);border-radius:12px;background:linear-gradient(145deg,rgba(15,22,24,.99),rgba(6,10,11,.99));box-shadow:0 20px 50px rgba(0,0,0,.55)}.tree-nav-menu.is-open{display:grid;gap:5px}.tree-nav-menu button{display:flex!important;width:100%!important;min-height:42px!important;justify-content:flex-start!important;padding:0 12px!important;border:0!important;border-radius:8px!important;color:#eef2f1!important;background:transparent!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}.tree-nav-menu button:hover{background:rgba(236,184,71,.11)!important}.tree-nav-menu #gameChatButton{position:static!important;margin:0!important}
.tree-player-directory-overlay{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(2,5,7,.82);backdrop-filter:blur(7px)}.tree-player-directory-overlay.is-open{display:flex}.tree-player-directory-dialog{width:min(1280px,96vw);height:min(820px,92vh);overflow:hidden;border:1px solid rgba(232,183,76,.34);border-radius:18px;background:linear-gradient(145deg,#111b20,#071015);box-shadow:0 35px 100px rgba(0,0,0,.68);color:#edf2f0}.tree-player-directory-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(31,43,48,.9),rgba(16,25,29,.9))}.tree-player-directory-title{display:flex;align-items:center;gap:12px}.tree-player-directory-title h2{margin:0;color:#fff;font-size:24px}.tree-player-directory-title p{margin:4px 0 0;color:#8fa0a4;font-size:12px}.tree-player-directory-close{width:40px;height:40px;border:1px solid rgba(255,255,255,.12);border-radius:50%;color:#fff;background:#111a1e;font-size:24px;cursor:pointer}.tree-player-directory-body{display:grid;grid-template-columns:minmax(370px,.85fr) minmax(480px,1.35fr);height:calc(100% - 81px)}.tree-player-list-pane{display:flex;min-width:0;flex-direction:column;border-right:1px solid rgba(255,255,255,.07)}.tree-player-search{display:flex;align-items:center;gap:9px;margin:16px;padding:0 12px;border:1px solid rgba(232,183,76,.3);border-radius:11px;background:#091115}.tree-player-search input{width:100%;padding:12px 0;border:0;outline:0;color:#fff;background:transparent}.tree-player-list-meta{display:flex;justify-content:space-between;padding:0 17px 10px;color:#829399;font-size:11px}.tree-player-list{overflow:auto;padding:0 10px 10px}.tree-player-list-item{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:9px 10px;border:1px solid transparent;border-radius:11px;color:#eaf0ef;background:transparent;text-align:left;cursor:pointer}.tree-player-list-item:hover,.tree-player-list-item.is-active{border-color:rgba(232,183,76,.32);background:rgba(232,183,76,.075)}.tree-player-list-item img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid rgba(232,183,76,.35)}.tree-player-list-item strong{display:block;overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap}.tree-player-list-item small{display:block;margin-top:3px;color:#7f9196}.tree-player-list-item em{padding:4px 7px;border-radius:999px;color:#ffd578;background:rgba(232,183,76,.09);font-size:10px;font-style:normal;font-weight:900}.tree-player-list-item .is-online{color:#8cf0bf}.tree-player-pagination{display:flex;justify-content:center;gap:6px;padding:11px;border-top:1px solid rgba(255,255,255,.06)}.tree-player-pagination button{min-width:34px;height:34px;border:1px solid rgba(232,183,76,.25);border-radius:8px;color:#d8e0df;background:#111a1d;cursor:pointer}.tree-player-pagination button.is-active{color:#161005;background:#e7b549}.tree-player-profile-pane{overflow:auto;padding:18px}.tree-directory-empty{display:grid;height:100%;place-items:center;color:#7f9195;text-align:center}.tree-directory-profile-hero{display:flex;justify-content:space-between;gap:18px;padding:17px;border:1px solid rgba(232,183,76,.22);border-radius:14px;background:linear-gradient(145deg,#142126,#0b1317)}.tree-directory-profile-id{display:flex;align-items:center;gap:14px;min-width:0}.tree-directory-profile-id img{width:72px;height:72px;border:2px solid #e7b549;border-radius:50%;object-fit:cover}.tree-directory-profile-id h3{margin:0;color:#fff;font-size:26px}.tree-directory-profile-tags{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}.tree-directory-chip{padding:4px 8px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#aebcbe;background:#0a1215;font-size:10px;font-weight:900}.tree-directory-chip.online{color:#adffd2;border-color:rgba(64,213,137,.35);background:rgba(64,213,137,.09)}.tree-directory-share{align-self:center;padding:10px 13px;border:1px solid rgba(99,197,238,.45);border-radius:9px;color:#dff6ff;background:rgba(40,138,180,.14);font-weight:800;cursor:pointer}.tree-directory-notice{margin-top:12px;padding:12px 14px;border:1px solid rgba(83,187,232,.25);border-radius:10px;color:#bfeaff;background:rgba(33,109,141,.1)}.tree-directory-section-title{display:flex;justify-content:space-between;gap:10px;margin:18px 0 8px;color:#f2ca71;font-weight:900}.tree-directory-section-title small{color:#71858b;font-weight:500}.tree-directory-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tree-directory-stat{padding:11px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#0c1519}.tree-directory-stat span{display:block;color:#778a90;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.tree-directory-stat strong{display:block;margin-top:5px;color:#fff;font-size:16px}.tree-directory-weapons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tree-directory-weapon{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;padding:10px;border:1px solid rgba(232,183,76,.2);border-radius:10px;background:#0a1215}.tree-directory-weapon img{width:44px;height:44px;object-fit:contain}.tree-directory-weapon strong{display:block;color:#fff;font-size:11px}.tree-directory-weapon span{color:#e9b84c;font-size:10px}.tree-directory-achievement-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tree-directory-achievement-head button{padding:8px 11px;border:1px solid rgba(232,183,76,.35);border-radius:8px;color:#ffe09b;background:rgba(232,183,76,.08);cursor:pointer}.tree-directory-achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}.tree-directory-achievement{display:grid;grid-template-columns:44px 1fr;gap:8px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#0b1317}.tree-directory-achievement img{width:42px;height:42px}.tree-directory-achievement strong{display:block;color:#fff;font-size:10px}.tree-directory-achievement span{display:block;color:#778b90;font-size:9px}.tree-directory-achievement.is-locked{opacity:.45;filter:grayscale(.8)}.tree-achievement-catalog{position:fixed;inset:0;z-index:12500;display:none;padding:28px;background:rgba(3,6,8,.88);backdrop-filter:blur(8px)}.tree-achievement-catalog.is-open{display:grid;place-items:center}.tree-achievement-catalog-dialog{position:relative;width:min(1180px,96vw);max-height:90vh;overflow:auto;padding:20px;border:1px solid rgba(232,183,76,.36);border-radius:16px;background:#0c1519}.tree-achievement-catalog-dialog h3{margin:0 0 15px;color:#fff;font-size:24px}.tree-achievement-catalog-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border:0;border-radius:50%;color:#fff;background:#172126;font-size:22px;cursor:pointer}
@media(max-width:850px){.tree-player-directory-overlay{padding:0}.tree-player-directory-dialog{width:100vw;height:100dvh;border-radius:0}.tree-player-directory-body{grid-template-columns:1fr}.tree-player-list-pane{border-right:0}.tree-player-profile-pane{display:none}.tree-player-profile-pane.is-mobile-open{position:absolute;inset:81px 0 0;z-index:2;display:block;background:#081115}.tree-directory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tree-directory-weapons,.tree-directory-achievement-grid{grid-template-columns:1fr}.tree-nav-menu{position:fixed;left:10px;top:62px}.tree-directory-profile-hero{flex-direction:column}.tree-directory-share{align-self:stretch}}
@media(max-width:600px){#playersButton{width:42px;min-width:42px;padding:0;font-size:0}#playersButton::after{content:'👥';font-size:18px}#navMenuButton{width:42px;min-width:42px}.tree-player-directory-title h2{font-size:20px}.tree-player-directory-header{padding:14px}.tree-player-directory-body{height:calc(100% - 69px)}}

/* Player directory polish v3 ------------------------------------------------ */
.tree-player-directory-dialog,.tree-player-directory-dialog *,.tree-achievement-catalog-dialog,.tree-achievement-catalog-dialog *{box-sizing:border-box}
.tree-player-profile-pane{padding:18px 18px 42px;scrollbar-gutter:stable;overscroll-behavior:contain}
.tree-directory-achievement-preview{margin-bottom:16px;padding-bottom:2px;overflow:visible}
.tree-directory-achievement-preview.is-swapping{animation:treeAchievementSwap .52s cubic-bezier(.2,.75,.2,1)}
@keyframes treeAchievementSwap{0%{opacity:.15;transform:translateY(10px) scale(.985)}100%{opacity:1;transform:translateY(0) scale(1)}}
.tree-directory-achievement-head>div:first-child{display:flex;min-width:0;flex-direction:column;gap:2px}.tree-directory-achievement-head>div:first-child>small{color:#71858b;font-size:10px;font-weight:600}
.tree-directory-achievement{min-width:0;overflow:hidden;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.tree-directory-achievement:hover{transform:translateY(-2px)}.tree-directory-achievement.is-unlocked{border-color:rgba(232,183,76,.33);box-shadow:inset 0 0 22px rgba(232,183,76,.035)}
.tree-directory-achievement-progress{height:4px;margin-top:6px;overflow:hidden;border-radius:999px;background:#071014}.tree-directory-achievement-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d69523,#ffd56f)}.tree-directory-achievement small{display:block;margin-top:4px;color:#71858b;font-size:8px}.tree-directory-achievement.is-unlocked small{color:#78d9a8}
.tree-achievement-catalog{overflow:hidden}.tree-achievement-catalog-dialog{width:min(1180px,96vw);max-height:90dvh;padding:24px 24px 34px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.tree-achievement-catalog-subtitle{margin:-7px 48px 16px 0;color:#819298;font-size:12px;line-height:1.45}.tree-directory-achievement-grid--catalog{margin-bottom:4px;padding-bottom:2px}
.tree-directory-mobile-back{display:none}
.tree-directory-weapons{align-items:stretch}.tree-directory-weapon{position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--weapon-quality-color) 62%,transparent);box-shadow:inset 3px 0 0 var(--weapon-quality-color),0 8px 18px rgba(0,0,0,.12);background:linear-gradient(135deg,color-mix(in srgb,var(--weapon-quality-color) 9%,#0a1215),#0a1215 58%)}.tree-directory-weapon::after{content:"";position:absolute;inset:auto -25px -34px auto;width:88px;height:88px;border-radius:50%;background:var(--weapon-quality-color);filter:blur(42px);opacity:.09;pointer-events:none}.tree-directory-weapon-icon{position:relative;display:grid;width:48px;height:48px;place-items:center}.tree-directory-weapon-icon img{width:44px;height:44px;object-fit:contain}.tree-directory-quality-dot{position:absolute;right:-3px;bottom:-2px;display:grid;width:20px;height:20px;place-items:center;border:2px solid #071014;border-radius:50%;color:#071014;background:var(--weapon-quality-color);font-size:9px;font-weight:1000;box-shadow:0 0 10px color-mix(in srgb,var(--weapon-quality-color) 40%,transparent)}.tree-directory-weapon strong{display:block;color:#fff;font-size:11px}.tree-directory-weapon span{display:block;margin-top:3px;color:var(--weapon-quality-color);font-size:10px;font-weight:900}.tree-directory-weapon small{display:block;margin-top:2px;color:#84969b;font-size:9px}

@media(max-width:850px){
  .tree-player-directory-dialog{height:100dvh;max-height:100dvh}
  .tree-player-directory-body{position:relative;min-height:0}
  .tree-player-list-pane{min-height:0}
  .tree-player-list{min-height:0;flex:1}
  .tree-player-profile-pane.is-mobile-open{inset:69px 0 0;padding:14px 14px calc(38px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
  .tree-directory-mobile-back{position:sticky;top:0;z-index:5;display:inline-flex;align-items:center;min-height:38px;margin:0 0 10px;padding:0 12px;border:1px solid rgba(232,183,76,.3);border-radius:9px;color:#ffe1a0;background:rgba(8,17,21,.94);backdrop-filter:blur(6px);font-size:12px;font-weight:900;cursor:pointer}
  .tree-directory-achievement-head{align-items:flex-start}.tree-directory-achievement-head>div:first-child{flex:1}.tree-directory-achievement-head button{flex:0 0 auto}
  .tree-achievement-catalog{padding:0}.tree-achievement-catalog.is-open{display:block}.tree-achievement-catalog-dialog{width:100vw;max-height:100dvh;height:100dvh;padding:20px 14px calc(30px + env(safe-area-inset-bottom));border-radius:0;border-left:0;border-right:0}.tree-achievement-catalog-close{position:sticky;float:right;top:8px;z-index:5}
}
@media(max-width:600px){
  .tree-player-directory-title-icon{font-size:22px!important}.tree-player-directory-title p{display:none}.tree-player-directory-close{width:36px;height:36px}.tree-player-profile-pane.is-mobile-open{inset:65px 0 0}
  .tree-directory-profile-id img{width:58px;height:58px}.tree-directory-profile-id h3{font-size:21px}.tree-directory-profile-tags{gap:5px}.tree-directory-chip{font-size:9px}.tree-directory-share{width:100%;min-height:42px}
  .tree-directory-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tree-directory-stat{padding:10px}.tree-directory-stat strong{font-size:14px}
  .tree-directory-weapons{grid-template-columns:1fr}.tree-directory-weapon{min-height:68px}.tree-directory-section-title{align-items:flex-start}.tree-directory-section-title>small{max-width:54%;text-align:right;line-height:1.35}
  .tree-directory-achievement-grid{grid-template-columns:1fr}.tree-directory-achievement{grid-template-columns:52px 1fr;min-height:72px}.tree-directory-achievement img{width:48px;height:48px}
  .tree-directory-achievement-head{gap:8px}.tree-directory-achievement-head button{padding:7px 9px;font-size:11px}.tree-achievement-catalog-subtitle{margin-right:42px}
}
@media(max-width:390px){.tree-directory-stats{grid-template-columns:1fr}.tree-player-list-item{grid-template-columns:42px minmax(0,1fr)}.tree-player-list-item em{grid-column:2;justify-self:start}.tree-directory-profile-id{align-items:flex-start}.tree-directory-profile-hero{padding:13px}.tree-directory-section-title{font-size:14px}}
@media(prefers-reduced-motion:reduce){.tree-directory-achievement-preview.is-swapping{animation:none}.tree-directory-achievement,.tree-directory-weapon{transition:none}}

/* Player directory polish v4 ------------------------------------------------
   Keep the lower achievement preview visibly inside the dialog and make the
   profile scrollbar obvious on desktop. */
.tree-player-directory-dialog{height:min(860px,96dvh);max-height:96dvh}
.tree-player-directory-body{min-height:0}
.tree-player-list-pane,.tree-player-profile-pane{min-height:0}
.tree-player-profile-pane{
  overflow-y:auto;
  overflow-x:hidden;
  padding-bottom:88px;
  scroll-padding-bottom:88px;
  scrollbar-width:thin;
  scrollbar-color:rgba(232,183,76,.58) rgba(8,17,21,.8);
}
.tree-player-profile-pane::-webkit-scrollbar{width:9px}
.tree-player-profile-pane::-webkit-scrollbar-track{background:rgba(8,17,21,.8);border-radius:999px}
.tree-player-profile-pane::-webkit-scrollbar-thumb{background:rgba(232,183,76,.58);border:2px solid rgba(8,17,21,.8);border-radius:999px}
.tree-directory-achievement-preview{
  position:relative;
  margin-bottom:26px;
  padding:2px 2px 24px;
  overflow:visible;
}
.tree-directory-achievement-preview::after{
  content:"";
  display:block;
  grid-column:1/-1;
  height:1px;
}
.tree-directory-achievement{min-height:68px}

@media(max-width:850px){
  .tree-player-directory-dialog{height:100dvh;max-height:100dvh}
  .tree-player-profile-pane.is-mobile-open{
    padding-bottom:calc(96px + env(safe-area-inset-bottom));
    scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom));
  }
  .tree-directory-achievement-preview{padding-bottom:34px;margin-bottom:34px}
}

/* Player directory polish v6 ------------------------------------------------
   Match public ranks to the server's playtime ranks, improve locked
   achievement readability, and add a Steam profile action. */
.tree-directory-rank-chip{
  border-color:color-mix(in srgb,var(--rank-color,#9AA5A8) 52%,transparent);
  color:var(--rank-color,#9AA5A8);
  background:color-mix(in srgb,var(--rank-color,#9AA5A8) 10%,#0a1215);
}
.tree-directory-profile-actions{display:flex;align-self:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.tree-directory-steam,.tree-directory-share{
  display:inline-flex;min-height:42px;align-items:center;justify-content:center;
  padding:10px 13px;border-radius:9px;font-weight:800;text-decoration:none;white-space:nowrap;
}
.tree-directory-steam{border:1px solid rgba(95,154,205,.56);color:#e7f4ff;background:linear-gradient(180deg,rgba(44,88,125,.32),rgba(29,61,88,.28));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.tree-directory-steam:hover{border-color:rgba(132,194,246,.82);color:#fff;background:linear-gradient(180deg,rgba(56,112,158,.42),rgba(34,75,108,.38))}
.tree-directory-share{border-color:rgba(99,197,238,.45);color:#dff6ff;background:rgba(40,138,180,.14)}
.tree-directory-achievement.is-locked{opacity:.78;filter:grayscale(.45)}
.tree-directory-achievement.is-locked strong{color:#d5dcdd}
.tree-directory-achievement.is-locked span{color:#9ba8ac}
.tree-directory-achievement.is-locked small{color:#88979b}
.tree-directory-achievement.is-locked .tree-directory-achievement-progress{background:#111b1f}
.tree-directory-achievement.is-locked .tree-directory-achievement-progress i{filter:saturate(.55);opacity:.82}
@media(max-width:850px){
  .tree-directory-profile-actions{width:100%;align-self:stretch;display:grid;grid-template-columns:1fr 1fr}
  .tree-directory-steam,.tree-directory-share{width:100%}
}
@media(max-width:460px){.tree-directory-profile-actions{grid-template-columns:1fr}}

/* Players / Hall Of Fame / Survivor Stats ---------------------------------- */
.tree-player-directory-dialog{
  display:flex;
  flex-direction:column;
  width:min(1380px,97vw);
  height:min(900px,96dvh);
  max-height:96dvh;
}
.tree-player-directory-header{flex:0 0 auto}
.tree-player-directory-tabs{
  position:relative;
  z-index:3;
  display:flex;
  flex:0 0 auto;
  gap:7px;
  padding:9px 14px;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(8,16,20,.98),rgba(6,12,15,.98));
  overflow-x:auto;
  scrollbar-width:none;
}
.tree-player-directory-tabs::-webkit-scrollbar{display:none}
.tree-player-directory-tab{
  position:relative;
  display:inline-flex;
  min-height:42px;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 16px;
  border:1px solid transparent;
  border-radius:10px;
  color:#87999f;
  background:transparent;
  font-size:12px;
  font-weight:900;
  letter-spacing:.015em;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}
.tree-player-directory-tab:hover{color:#e7eeee;background:rgba(255,255,255,.035)}
.tree-player-directory-tab.is-active{
  border-color:rgba(232,183,76,.42);
  color:#ffe2a0;
  background:linear-gradient(180deg,rgba(232,183,76,.14),rgba(232,183,76,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.12);
}
.tree-player-directory-tab.is-active::after{
  content:"";
  position:absolute;
  right:12px;
  bottom:-10px;
  left:12px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,#e8b74c,transparent);
  box-shadow:0 0 13px rgba(232,183,76,.55);
}
.tree-player-directory-content{position:relative;min-height:0;flex:1;overflow:hidden}
.tree-player-directory-body{height:100%;min-height:0}
.tree-player-directory-body[hidden],.tree-player-leaderboard-pane[hidden]{display:none!important}

.tree-player-leaderboard-pane{
  height:100%;
  overflow-y:auto;
  overflow-x:hidden;
  padding:20px 20px 62px;
  background:
    radial-gradient(circle at 85% -15%,rgba(232,183,76,.075),transparent 32%),
    radial-gradient(circle at -5% 25%,rgba(76,164,185,.055),transparent 26%),
    #071015;
  scrollbar-width:thin;
  scrollbar-color:rgba(232,183,76,.5) rgba(8,17,21,.8);
}
.tree-player-leaderboard-pane::-webkit-scrollbar{width:9px}
.tree-player-leaderboard-pane::-webkit-scrollbar-track{background:rgba(8,17,21,.8);border-radius:999px}
.tree-player-leaderboard-pane::-webkit-scrollbar-thumb{background:rgba(232,183,76,.52);border:2px solid rgba(8,17,21,.8);border-radius:999px}

.tree-leaderboard-hero{
  position:relative;
  display:flex;
  min-height:142px;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:15px;
  padding:24px 26px;
  overflow:hidden;
  border:1px solid rgba(232,183,76,.29);
  border-radius:17px;
  background:
    linear-gradient(118deg,rgba(232,183,76,.12),rgba(13,31,37,.66) 46%,rgba(6,15,19,.98)),
    #0b151a;
  box-shadow:0 16px 40px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.035);
}
.tree-leaderboard-hero::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-100px;
  top:-165px;
  border-radius:50%;
  border:1px solid rgba(232,183,76,.11);
  box-shadow:0 0 80px rgba(232,183,76,.07);
}
.tree-leaderboard-kicker{display:block;margin-bottom:6px;color:#c99c3d;font-size:9px;font-weight:1000;letter-spacing:.2em}
.tree-leaderboard-hero h3{margin:0;color:#fff;font-size:30px;line-height:1.05;letter-spacing:-.02em}
.tree-leaderboard-hero p{max-width:760px;margin:9px 0 0;color:#8fa2a8;font-size:12px;line-height:1.55}
.tree-leaderboard-hero-mark{
  position:relative;
  display:grid;
  width:86px;
  height:86px;
  flex:0 0 86px;
  place-items:center;
  border:1px solid rgba(232,183,76,.32);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(232,183,76,.16),rgba(232,183,76,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 15px 38px rgba(0,0,0,.22),0 0 30px rgba(232,183,76,.08);
  font-size:42px;
}

.tree-leaderboard-weekly{margin-bottom:14px}
.tree-leaderboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.tree-leaderboard-grid--survivor{grid-template-columns:repeat(2,minmax(0,1fr))}
.tree-leaderboard-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(15,27,32,.98),rgba(7,15,19,.98));
  box-shadow:0 12px 30px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.025);
}
.tree-leaderboard-card::after{
  content:"";
  position:absolute;
  pointer-events:none;
  width:120px;
  height:120px;
  right:-58px;
  top:-70px;
  border-radius:50%;
  background:rgba(232,183,76,.06);
  filter:blur(18px);
}
.tree-leaderboard-card>header{
  position:relative;
  z-index:1;
  display:flex;
  min-height:76px;
  align-items:center;
  gap:11px;
  padding:13px 14px;
  border-bottom:1px solid rgba(255,255,255,.055);
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent);
}
.tree-leaderboard-card-icon{
  display:grid;
  width:43px;
  height:43px;
  flex:0 0 43px;
  place-items:center;
  border:1px solid rgba(232,183,76,.22);
  border-radius:12px;
  background:rgba(232,183,76,.07);
  font-size:21px;
}
.tree-leaderboard-card h4{margin:0;color:#f4f7f6;font-size:14px;font-weight:950;letter-spacing:.01em;line-height:1.25}
.tree-leaderboard-card p{margin:5px 0 0;color:#a8b7bb;font-size:11px;font-weight:600;line-height:1.45}
.tree-leaderboard-card--weekly{
  border-color:rgba(232,183,76,.3);
  background:
    radial-gradient(circle at 95% 0,rgba(232,183,76,.11),transparent 28%),
    linear-gradient(145deg,rgba(22,33,33,.99),rgba(8,16,19,.99));
}
.tree-leaderboard-card--weekly>header{min-height:70px}
.tree-leaderboard-card--weekly .tree-leaderboard-rows{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px}
.tree-leaderboard-card--weekly .tree-leaderboard-row{grid-template-columns:32px 38px minmax(0,1fr);grid-template-areas:"rank avatar player" "rank avatar value";min-height:66px;padding:8px}
.tree-leaderboard-card--weekly .tree-leaderboard-rank{grid-area:rank}
.tree-leaderboard-card--weekly .tree-leaderboard-row img{grid-area:avatar}
.tree-leaderboard-card--weekly .tree-leaderboard-player{grid-area:player}
.tree-leaderboard-card--weekly .tree-leaderboard-row em{grid-area:value;justify-self:start;margin-top:-3px}

.tree-leaderboard-rows{padding:6px}
.tree-leaderboard-row{
  display:grid;
  grid-template-columns:32px 38px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  width:100%;
  min-height:55px;
  padding:7px 8px;
  border:1px solid transparent;
  border-radius:10px;
  color:#e7eeee;
  background:transparent;
  text-align:left;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.tree-leaderboard-row:hover{transform:translateY(-1px);border-color:rgba(232,183,76,.17);background:rgba(232,183,76,.05)}
.tree-leaderboard-row.is-first{background:linear-gradient(90deg,rgba(232,183,76,.075),rgba(232,183,76,.018) 70%,transparent)}
.tree-leaderboard-row img{width:36px;height:36px;border:1px solid rgba(255,255,255,.1);border-radius:50%;object-fit:cover;background:#101a1e}
.tree-leaderboard-rank{
  display:grid;
  width:27px;
  height:27px;
  place-items:center;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  color:#7f9298;
  background:#0a1317;
  font-size:10px;
  font-weight:1000;
}
.tree-leaderboard-rank.is-gold{border-color:rgba(255,209,89,.52);color:#2b1d02;background:linear-gradient(145deg,#ffe58b,#d9a62d);box-shadow:0 0 14px rgba(232,183,76,.18)}
.tree-leaderboard-rank.is-silver{border-color:rgba(205,216,222,.45);color:#192125;background:linear-gradient(145deg,#eef3f5,#9ba9af)}
.tree-leaderboard-rank.is-bronze{border-color:rgba(194,127,73,.5);color:#251209;background:linear-gradient(145deg,#e5a16b,#9b5d31)}
.tree-leaderboard-player{min-width:0}
.tree-leaderboard-player strong{display:block;overflow:hidden;color:#f2f6f5;font-size:12px;font-weight:900;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.tree-leaderboard-player small{display:block;overflow:hidden;margin-top:3px;color:#a5b4b8;font-size:10px;font-weight:600;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.tree-leaderboard-row em{color:#f4c966;font-size:12px;font-style:normal;font-weight:1000;white-space:nowrap}
.tree-leaderboard-empty{padding:18px 12px;color:#65787e;font-size:10px;text-align:center}
.tree-leaderboard-footnote{margin:15px 2px 0;padding:12px 14px;border-left:2px solid rgba(232,183,76,.42);color:#a7b5b9;background:rgba(232,183,76,.025);font-size:11px;font-weight:600;line-height:1.5}
.tree-leaderboard-loading,.tree-leaderboard-error{display:grid;height:100%;place-content:center;justify-items:center;gap:12px;color:#8fa0a5;text-align:center}
.tree-leaderboard-loading strong,.tree-leaderboard-error strong{color:#dce4e3;font-size:13px}
.tree-leaderboard-error span{max-width:420px;color:#9a7777;font-size:11px}
.tree-leaderboard-loader{width:34px;height:34px;border:3px solid rgba(232,183,76,.14);border-top-color:#e8b74c;border-radius:50%;animation:treeLeaderboardSpin .75s linear infinite}
@keyframes treeLeaderboardSpin{to{transform:rotate(360deg)}}


/* Hall Of Fame specialty record cards -------------------------------------- */
.tree-leaderboard-card--streak{border-color:rgba(242,128,57,.22);background:radial-gradient(circle at 92% 0,rgba(242,128,57,.10),transparent 30%),linear-gradient(145deg,rgba(20,29,31,.98),rgba(7,15,19,.98))}
.tree-leaderboard-card--streak .tree-leaderboard-card-icon{border-color:rgba(242,128,57,.30);background:rgba(242,128,57,.09);box-shadow:0 0 22px rgba(242,128,57,.06)}
.tree-leaderboard-card--bloodmoon-mvp{border-color:rgba(207,73,84,.24);background:radial-gradient(circle at 92% 0,rgba(207,73,84,.11),transparent 30%),linear-gradient(145deg,rgba(22,27,31,.98),rgba(7,15,19,.98))}
.tree-leaderboard-card--bloodmoon-mvp .tree-leaderboard-card-icon{border-color:rgba(207,73,84,.32);background:rgba(207,73,84,.09);box-shadow:0 0 22px rgba(207,73,84,.06)}
.tree-leaderboard-card--efficiency{border-color:rgba(92,194,216,.24);background:radial-gradient(circle at 92% 0,rgba(92,194,216,.10),transparent 30%),linear-gradient(145deg,rgba(16,30,34,.98),rgba(7,15,19,.98))}
.tree-leaderboard-card--efficiency .tree-leaderboard-card-icon{border-color:rgba(92,194,216,.32);background:rgba(92,194,216,.08);box-shadow:0 0 22px rgba(92,194,216,.06)}
.tree-leaderboard-card--untouchable{border-color:rgba(139,126,216,.25);background:radial-gradient(circle at 92% 0,rgba(139,126,216,.11),transparent 30%),linear-gradient(145deg,rgba(20,27,35,.98),rgba(7,15,19,.98))}
.tree-leaderboard-card--untouchable .tree-leaderboard-card-icon{border-color:rgba(139,126,216,.34);background:rgba(139,126,216,.09);box-shadow:0 0 22px rgba(139,126,216,.06)}
.tree-leaderboard-card--craftsman{border-color:rgba(201,156,61,.22)}
.tree-leaderboard-card--craftsman .tree-leaderboard-card-icon{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 20px rgba(232,183,76,.05)}

@media(max-width:1120px){
  .tree-leaderboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tree-leaderboard-card--weekly .tree-leaderboard-rows{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tree-leaderboard-card--weekly .tree-leaderboard-row:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:850px){
  .tree-player-directory-dialog{height:100dvh;max-height:100dvh}
  .tree-player-directory-tabs{padding:7px 9px}
  .tree-player-directory-tab{min-height:40px;padding:0 12px;font-size:11px}
  .tree-player-profile-pane.is-mobile-open{inset:0}
  .tree-player-leaderboard-pane{padding:13px 12px calc(42px + env(safe-area-inset-bottom))}
  .tree-leaderboard-hero{min-height:122px;padding:18px}
  .tree-leaderboard-hero h3{font-size:25px}
  .tree-leaderboard-hero-mark{width:68px;height:68px;flex-basis:68px;border-radius:19px;font-size:32px}
}
@media(max-width:650px){
  .tree-player-directory-tab span{display:none}
  .tree-leaderboard-grid,.tree-leaderboard-grid--survivor{grid-template-columns:1fr}
  .tree-leaderboard-card--weekly .tree-leaderboard-rows{display:block;padding:6px}
  .tree-leaderboard-card--weekly .tree-leaderboard-row{display:grid;grid-template-columns:32px 38px minmax(0,1fr) auto;grid-template-areas:none;min-height:55px;padding:7px 8px}
  .tree-leaderboard-card--weekly .tree-leaderboard-rank,.tree-leaderboard-card--weekly .tree-leaderboard-row img,.tree-leaderboard-card--weekly .tree-leaderboard-player,.tree-leaderboard-card--weekly .tree-leaderboard-row em{grid-area:auto}
  .tree-leaderboard-card--weekly .tree-leaderboard-row em{justify-self:end;margin-top:0}
  .tree-leaderboard-card--weekly .tree-leaderboard-row:last-child:nth-child(odd){grid-column:auto}
  .tree-leaderboard-hero p{font-size:10px}
}
@media(max-width:460px){
  .tree-player-directory-tabs{gap:4px}
  .tree-player-directory-tab{flex:1;padding:0 7px;font-size:10px}
  .tree-leaderboard-hero-mark{display:none}
  .tree-leaderboard-row{grid-template-columns:28px 34px minmax(0,1fr) auto;gap:7px}
  .tree-leaderboard-row img{width:32px;height:32px}
  .tree-leaderboard-card--weekly .tree-leaderboard-row{grid-template-columns:28px 34px minmax(0,1fr) auto}
}
@media(prefers-reduced-motion:reduce){.tree-leaderboard-loader{animation:none}.tree-leaderboard-row,.tree-player-directory-tab{transition:none}}


/* Vehicle Garage ---------------------------------------------------------- */
.tree-player-directory-body[hidden],
.tree-player-leaderboard-pane[hidden],
.tree-player-garage-pane[hidden]{display:none!important}

.tree-player-garage-pane{
  height:100%;
  min-height:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 92% -12%,rgba(71,168,187,.08),transparent 31%),
    radial-gradient(circle at 4% 108%,rgba(232,183,76,.055),transparent 30%),
    #071015;
}
.tree-garage-layout{
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  height:100%;
  min-height:0;
}
.tree-garage-player-pane{
  display:flex;
  min-width:0;
  min-height:0;
  flex-direction:column;
  border-right:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(11,22,27,.98),rgba(7,15,19,.98));
}
.tree-garage-heading{
  display:flex;
  align-items:center;
  gap:11px;
  padding:15px 15px 12px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.tree-garage-heading>span{
  display:grid;
  width:40px;
  height:40px;
  flex:0 0 40px;
  place-items:center;
  border:1px solid rgba(232,183,76,.25);
  border-radius:11px;
  background:rgba(232,183,76,.07);
  font-size:20px;
}
.tree-garage-heading div{min-width:0}
.tree-garage-heading strong{display:block;color:#f3f7f6;font-size:14px;font-weight:950;line-height:1.25}
.tree-garage-heading small{display:block;margin-top:4px;color:#91a3a8;font-size:11px;font-weight:650;line-height:1.35}
.tree-garage-search{margin:11px 12px 9px}
.tree-garage-player-list{
  min-height:0;
  flex:1;
  overflow-y:auto;
  padding:4px 8px 12px;
  scrollbar-width:thin;
  scrollbar-color:rgba(232,183,76,.42) transparent;
}
.tree-garage-player{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  width:100%;
  min-height:66px;
  margin:0 0 5px;
  padding:9px 10px;
  border:1px solid transparent;
  border-radius:11px;
  color:#e7eeee;
  background:transparent;
  text-align:left;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.tree-garage-player:hover{
  transform:translateY(-1px);
  border-color:rgba(232,183,76,.14);
  background:rgba(255,255,255,.025);
}
.tree-garage-player.is-active{
  border-color:rgba(232,183,76,.32);
  background:linear-gradient(90deg,rgba(232,183,76,.11),rgba(232,183,76,.035));
  box-shadow:inset 3px 0 0 rgba(232,183,76,.72);
}
.tree-garage-player>img{
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  object-fit:cover;
  background:#101a1e;
}
.tree-garage-player-copy{min-width:0}
.tree-garage-player-copy strong{
  display:block;
  overflow:hidden;
  color:#f0f5f4;
  font-size:12px;
  font-weight:900;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tree-garage-player-copy span{
  display:block;
  margin-top:3px;
  color:#9fb0b4;
  font-size:10.5px;
  font-weight:650;
}
.tree-garage-player-copy i{
  display:block;
  height:4px;
  margin-top:7px;
  overflow:hidden;
  border-radius:999px;
  background:#172328;
}
.tree-garage-player-copy i b{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#b9872b,#efd16f);
  box-shadow:0 0 9px rgba(232,183,76,.28);
}
.tree-garage-player>em{
  color:#d5b45f;
  font-size:10px;
  font-style:normal;
  font-weight:950;
}
.tree-garage-pages{padding:8px 10px 12px;border-top:1px solid rgba(255,255,255,.045)}
.tree-garage-loading{
  display:flex;
  min-height:130px;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#9eafb4;
  font-size:12px;
  font-weight:800;
}

.tree-garage-detail{
  min-width:0;
  min-height:0;
  overflow-y:auto;
  padding:20px 22px 72px;
  scrollbar-width:thin;
  scrollbar-color:rgba(232,183,76,.48) rgba(8,17,21,.8);
}
.tree-garage-detail::-webkit-scrollbar{width:9px}
.tree-garage-detail::-webkit-scrollbar-track{background:rgba(8,17,21,.8);border-radius:999px}
.tree-garage-detail::-webkit-scrollbar-thumb{background:rgba(232,183,76,.5);border:2px solid rgba(8,17,21,.8);border-radius:999px}
.tree-garage-hero{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:118px;
  padding:20px 22px;
  overflow:hidden;
  border:1px solid rgba(232,183,76,.22);
  border-radius:16px;
  background:
    radial-gradient(circle at 95% 5%,rgba(232,183,76,.1),transparent 28%),
    linear-gradient(120deg,rgba(22,39,44,.96),rgba(8,17,21,.98));
  box-shadow:0 15px 38px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035);
}
.tree-garage-hero::after{
  content:"";
  position:absolute;
  right:-90px;
  top:-165px;
  width:290px;
  height:290px;
  border:1px solid rgba(232,183,76,.1);
  border-radius:50%;
  box-shadow:0 0 70px rgba(232,183,76,.055);
  pointer-events:none;
}
.tree-garage-player-identity{
  position:relative;
  z-index:1;
  display:flex;
  min-width:0;
  align-items:center;
  gap:14px;
}
.tree-garage-player-identity>img{
  width:70px;
  height:70px;
  flex:0 0 70px;
  border:2px solid rgba(232,183,76,.38);
  border-radius:16px;
  object-fit:cover;
  background:#101a1e;
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
.tree-garage-player-identity h3{
  margin:3px 0 0;
  overflow:hidden;
  color:#fff;
  font-size:25px;
  font-weight:950;
  letter-spacing:-.02em;
  line-height:1.05;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tree-garage-player-identity p{
  margin:7px 0 0;
  color:#a8b8bc;
  font-size:12px;
  font-weight:650;
}
.tree-garage-kicker{
  color:#d3a948;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.18em;
}
.tree-garage-profile-button{
  position:relative;
  z-index:1;
  min-height:40px;
  flex:0 0 auto;
  padding:0 14px;
  border:1px solid rgba(232,183,76,.3);
  border-radius:10px;
  color:#f8d985;
  background:rgba(232,183,76,.075);
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.tree-garage-profile-button:hover{border-color:rgba(232,183,76,.55);background:rgba(232,183,76,.12)}

.tree-garage-progress{
  display:grid;
  grid-template-columns:auto minmax(120px,1fr) auto;
  gap:13px;
  align-items:center;
  margin:12px 0 18px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:12px;
  background:rgba(8,18,22,.82);
}
.tree-garage-progress>div{display:flex;align-items:baseline;gap:8px}
.tree-garage-progress strong{color:#f2ce6a;font-size:18px;font-weight:1000}
.tree-garage-progress span,.tree-garage-progress small{color:#9aabb0;font-size:10.5px;font-weight:700}
.tree-garage-progress>i{
  height:6px;
  overflow:hidden;
  border-radius:999px;
  background:#172328;
}
.tree-garage-progress>i b{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#a97924,#f0d374);
  box-shadow:0 0 12px rgba(232,183,76,.26);
}
.tree-garage-catalog-note{
  margin:-5px 0 16px;
  padding:9px 11px;
  border:1px solid rgba(255,191,89,.18);
  border-radius:9px;
  color:#b7a778;
  background:rgba(125,89,22,.08);
  font-size:10.5px;
  line-height:1.45;
}
.tree-garage-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:18px 1px 9px;
}
.tree-garage-section-title>div{display:flex;align-items:center;gap:8px}
.tree-garage-section-title strong{color:#eaf0ef;font-size:13px;font-weight:950}
.tree-garage-section-title small{color:#87999f;font-size:10px;font-weight:750}
.tree-garage-section-dot{
  width:8px;
  height:8px;
  border-radius:50%;
}
.tree-garage-section-dot.is-unlocked{background:#53d78f;box-shadow:0 0 10px rgba(83,215,143,.42)}
.tree-garage-section-dot.is-locked{background:#718087;box-shadow:0 0 8px rgba(113,128,135,.2)}

.tree-garage-vehicle-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.tree-garage-vehicle{
  position:relative;
  display:grid;
  grid-template-columns:66px minmax(0,1fr);
  gap:10px;
  min-width:0;
  min-height:88px;
  align-items:center;
  padding:10px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(16,29,34,.98),rgba(8,17,21,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.tree-garage-vehicle.is-unlocked{
  border-color:rgba(83,215,143,.18);
  background:
    radial-gradient(circle at 0 0,rgba(83,215,143,.06),transparent 45%),
    linear-gradient(145deg,rgba(16,30,34,.98),rgba(8,17,21,.98));
}
.tree-garage-vehicle.is-locked{
  border-color:rgba(255,255,255,.045);
  background:linear-gradient(145deg,rgba(13,22,26,.9),rgba(7,14,17,.94));
}
.tree-garage-vehicle-icon{
  position:relative;
  display:grid;
  width:64px;
  height:64px;
  place-items:center;
  border:1px solid rgba(255,255,255,.065);
  border-radius:11px;
  background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.045),rgba(0,0,0,.09));
}
.tree-garage-vehicle-icon img{
  width:56px;
  height:56px;
  object-fit:contain;
  filter:drop-shadow(0 5px 7px rgba(0,0,0,.25));
}
.tree-garage-vehicle.is-locked .tree-garage-vehicle-icon img{
  opacity:.28;
  filter:grayscale(1) brightness(.72);
}
.tree-garage-vehicle-state{
  position:absolute;
  right:-3px;
  bottom:-3px;
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  border:2px solid #0b1519;
  border-radius:50%;
  color:#06120b;
  background:#5cdd96;
  font-size:11px;
  font-weight:1000;
}
.tree-garage-vehicle.is-locked .tree-garage-vehicle-state{
  color:#b9c2c4;
  background:#253238;
  font-size:10px;
}
.tree-garage-vehicle-copy{min-width:0}
.tree-garage-vehicle-copy strong{
  display:block;
  overflow:hidden;
  color:#eaf0ef;
  font-size:11.5px;
  font-weight:900;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tree-garage-vehicle-copy span{
  display:block;
  margin-top:5px;
  color:#66d99c;
  font-size:10px;
  font-weight:850;
}
.tree-garage-vehicle.is-locked .tree-garage-vehicle-copy strong{color:#98a5a9}
.tree-garage-vehicle.is-locked .tree-garage-vehicle-copy span{color:#717f84}
.tree-garage-vehicle-copy small{
  display:block;
  margin-top:6px;
  color:#839499;
  font-size:9.5px;
  font-weight:650;
}
.tree-garage-vehicle-copy small b{color:#d8bb70;font-weight:900}
.tree-garage-empty{
  grid-column:1/-1;
  padding:20px;
  border:1px dashed rgba(255,255,255,.08);
  border-radius:11px;
  color:#84969b;
  background:rgba(255,255,255,.012);
  font-size:11px;
  text-align:center;
}

@media(max-width:1180px){
  .tree-garage-layout{grid-template-columns:300px minmax(0,1fr)}
  .tree-garage-vehicle-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px){
  .tree-player-garage-pane{overflow-y:auto}
  .tree-garage-layout{display:block;height:auto;min-height:100%}
  .tree-garage-player-pane{
    min-height:330px;
    max-height:46dvh;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.07);
  }
  .tree-garage-detail{height:auto;max-height:none;overflow:visible;padding:15px 13px calc(90px + env(safe-area-inset-bottom))}
  .tree-garage-vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tree-garage-hero{align-items:flex-start;flex-direction:column}
  .tree-garage-profile-button{width:100%}
}
@media(max-width:540px){
  .tree-garage-heading{padding:12px}
  .tree-garage-player-pane{max-height:43dvh}
  .tree-garage-player{grid-template-columns:40px minmax(0,1fr) auto;padding:8px}
  .tree-garage-player>img{width:38px;height:38px}
  .tree-garage-detail{padding-right:10px;padding-left:10px}
  .tree-garage-player-identity>img{width:58px;height:58px;flex-basis:58px;border-radius:13px}
  .tree-garage-player-identity h3{font-size:21px}
  .tree-garage-progress{grid-template-columns:auto 1fr}
  .tree-garage-progress>small{grid-column:1/-1}
  .tree-garage-vehicle-grid{grid-template-columns:1fr}
  .tree-garage-vehicle{grid-template-columns:70px minmax(0,1fr)}
}

/* ========================================================================
   Tree Gaming profile cosmetics / social / Hall Of Fame polish
   2026-10-04 clean build: single coherent override block
   ======================================================================== */
:root{
  --tree-gold:#e8b74c;
  --tree-gold-soft:rgba(232,183,76,.28);
  --tree-panel-deep:#081216;
  --tree-panel-mid:#0d1a20;
  --tree-text:#eef4f2;
  --tree-muted:#9eb0b5;
}

/* Search: the focus treatment belongs to the rounded search shell, never the input. */
.tree-player-search{
  position:relative;
  margin:16px!important;
  padding:0 13px!important;
  border:1px solid rgba(232,183,76,.34)!important;
  border-radius:12px!important;
  background:#091318!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.tree-player-search:focus-within{
  border-color:rgba(240,195,91,.82)!important;
  box-shadow:0 0 0 2px rgba(232,183,76,.12),0 0 20px rgba(232,183,76,.07)!important;
  background:#0b171c!important;
}
.tree-player-search input,
.tree-player-search input:focus,
.tree-player-search input:focus-visible,
.tree-player-search input:-webkit-autofill{
  width:100%!important;
  min-width:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  background:transparent!important;
  color:#fff!important;
}
.tree-player-search input::-webkit-search-decoration,
.tree-player-search input::-webkit-search-cancel-button,
.tree-player-search input::-webkit-search-results-button,
.tree-player-search input::-webkit-search-results-decoration{display:none!important}

/* Reusable avatar frame. The frame is constrained to the shell, so no border can overlap names. */
.tree-profile-avatar-shell{
  position:relative!important;
  display:inline-grid!important;
  width:104px!important;
  height:104px!important;
  flex:0 0 104px!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:50%!important;
  isolation:isolate!important;
  contain:layout paint!important;
}
.tree-profile-avatar-image{
  position:relative!important;
  z-index:1!important;
  width:62px!important;
  height:62px!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
  background:#0b1419!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.14),0 8px 20px rgba(0,0,0,.32)!important;
}
.tree-profile-avatar-border{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  border-radius:0!important;
  object-fit:contain!important;
  pointer-events:none!important;
  background:transparent!important;
  box-shadow:none!important;
}
/* Neutralise broad legacy img rules that otherwise style border images like avatars. */
.tree-directory-profile-id .tree-profile-avatar-border,
.tree-player-list-item .tree-profile-avatar-border,
.tree-leaderboard-row .tree-profile-avatar-border,
.tree-directory-ally .tree-profile-avatar-border,
.tree-directory-supporter .tree-profile-avatar-border,
.tree-map-player-top .tree-profile-avatar-border,
.tree-hof-featured-avatar .tree-profile-avatar-border{border:0!important;border-radius:0!important;object-fit:contain!important}
.tree-directory-profile-id .tree-profile-avatar-image,
.tree-player-list-item .tree-profile-avatar-image,
.tree-leaderboard-row .tree-profile-avatar-image,
.tree-directory-ally .tree-profile-avatar-image,
.tree-directory-supporter .tree-profile-avatar-image,
.tree-map-player-top .tree-profile-avatar-image,
.tree-hof-featured-avatar .tree-profile-avatar-image{border:0!important;border-radius:50%!important;object-fit:cover!important}

.tree-profile-avatar-shell--list{width:72px!important;height:72px!important;flex-basis:72px!important}
.tree-profile-avatar-shell--list .tree-profile-avatar-image{width:42px!important;height:42px!important}
.tree-profile-avatar-shell--leaderboard{width:62px!important;height:62px!important;flex-basis:62px!important}
.tree-profile-avatar-shell--leaderboard .tree-profile-avatar-image{width:36px!important;height:36px!important}
.tree-profile-avatar-shell--tiny{width:54px!important;height:54px!important;flex-basis:54px!important}
.tree-profile-avatar-shell--tiny .tree-profile-avatar-image{width:32px!important;height:32px!important}
.tree-profile-avatar-shell--header{width:48px!important;height:48px!important;flex:0 0 48px!important}
.tree-profile-avatar-shell--header .tree-profile-avatar-image{width:28px!important;height:28px!important}
.tree-profile-preview .tree-profile-avatar-shell{width:118px!important;height:118px!important;flex-basis:118px!important}
.tree-profile-preview .tree-profile-avatar-image{width:70px!important;height:70px!important}
.tree-hof-featured-avatar .tree-profile-avatar-shell{width:132px!important;height:132px!important;flex-basis:132px!important}
.tree-hof-featured-avatar .tree-profile-avatar-image{width:76px!important;height:76px!important}
.tree-map-player-top .tree-profile-avatar-shell{width:86px!important;height:86px!important;flex-basis:86px!important}
.tree-map-player-top .tree-profile-avatar-image{width:50px!important;height:50px!important}

/* Player list: background is clearly visible, but copy stays readable. */
.tree-player-list-item{
  position:relative!important;
  grid-template-columns:80px minmax(0,1fr) auto!important;
  min-height:92px!important;
  gap:12px!important;
  align-items:center!important;
  padding:10px 13px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-radius:13px!important;
  background-image:
    linear-gradient(90deg,rgba(4,11,15,.58) 0%,rgba(4,11,15,.36) 50%,rgba(4,11,15,.66) 100%),
    var(--list-bg)!important;
  background-size:cover!important;
  background-position:center!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.tree-player-list-item::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.20),transparent 35%,rgba(0,0,0,.12));
}
.tree-player-list-item>*{position:relative;z-index:1}
.tree-player-list-item:hover,.tree-player-list-item.is-active{
  border-color:rgba(232,183,76,.45)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.18),inset 0 0 0 1px rgba(232,183,76,.08)!important;
}
.tree-player-list-avatar{display:grid!important;place-items:center!important;width:72px!important;height:72px!important}
.tree-player-list-copy{min-width:0!important}
.tree-player-list-copy strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;text-shadow:0 2px 7px rgba(0,0,0,.85)!important}
.tree-player-list-copy small{color:#c0cdce!important;text-shadow:0 1px 5px rgba(0,0,0,.9)!important}
.tree-player-list-copy small.is-online{color:#82efb0!important}
.tree-player-list-side{display:flex!important;align-items:flex-end!important;flex-direction:column!important;gap:7px!important;position:relative!important;z-index:3!important}
.tree-player-list-side em{box-shadow:0 2px 8px rgba(0,0,0,.25)!important}
.tree-player-list-love{
  width:31px!important;height:31px!important;padding:0!important;border:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:rgba(6,15,19,.66)!important;color:#ff92aa!important;
  box-shadow:0 0 0 1px rgba(255,116,147,.22),0 5px 14px rgba(0,0,0,.25)!important;cursor:pointer!important;font-size:14px!important;
}
.tree-player-list-love:hover{background:rgba(255,77,119,.17)!important;transform:translateY(-1px)}
.tree-player-list-love.is-loved{background:linear-gradient(135deg,#ff4d79,#b61f4b)!important;color:#fff!important;box-shadow:0 0 0 1px rgba(255,151,174,.42),0 0 16px rgba(255,58,106,.22)!important}
.tree-player-love-count{padding:3px 7px!important;border-radius:999px!important;background:rgba(4,10,13,.60)!important;color:#ffb7c7!important;font-size:9px!important;font-weight:800!important}

/* Profile hero: fixed identity column prevents frame/name collisions. */
.tree-directory-profile-hero--cosmetic{
  position:relative!important;
  overflow:hidden!important;
  min-height:142px!important;
  padding:17px 18px!important;
  background-image:
    linear-gradient(90deg,rgba(4,10,14,.52) 0%,rgba(4,10,14,.24) 55%,rgba(4,10,14,.46) 100%),
    var(--profile-bg)!important;
  background-size:cover!important;
  background-position:center!important;
  box-shadow:inset 0 -65px 90px rgba(0,0,0,.20)!important;
}
.tree-directory-profile-hero--cosmetic::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,transparent 0 44%,rgba(255,212,112,.10) 52%,transparent 60%);
  transform:translateX(-125%);animation:treeProfileSheenClean 9s ease-in-out infinite;
}
@keyframes treeProfileSheenClean{0%,70%{transform:translateX(-125%)}90%,100%{transform:translateX(125%)}}
.tree-directory-profile-hero--cosmetic>*{position:relative;z-index:1}
.tree-directory-profile-id{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;min-width:0!important;flex:1 1 420px!important}
.tree-directory-profile-id>div{min-width:0!important}
.tree-directory-profile-id h3{margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;text-shadow:0 3px 12px rgba(0,0,0,.85)!important}
.tree-directory-profile-tags{gap:6px!important}
.tree-directory-chip{backdrop-filter:blur(4px)!important;background:rgba(2,9,12,.65)!important;color:#d7e0df!important;border-color:rgba(255,255,255,.13)!important}
.tree-directory-chip.online{background:rgba(41,166,98,.20)!important;color:#a7f4c3!important}
.tree-directory-profile-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important;max-width:360px!important}
.tree-directory-steam,.tree-directory-share,.tree-directory-customize{
  min-height:40px!important;border-radius:10px!important;backdrop-filter:blur(5px)!important;box-shadow:0 7px 20px rgba(0,0,0,.20)!important;
}
.tree-directory-customize{border-color:rgba(232,183,76,.42)!important;background:rgba(164,102,31,.34)!important;color:#ffe09a!important}

/* Love is deliberately a compact soft pill, not a rectangular action box. */
.tree-directory-love{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  min-height:36px!important;padding:7px 12px!important;border:0!important;border-radius:999px!important;
  background:rgba(255,73,118,.12)!important;color:#ffb0c1!important;
  box-shadow:inset 0 0 0 1px rgba(255,104,141,.18),0 5px 14px rgba(0,0,0,.18)!important;
  font-weight:900!important;cursor:pointer!important;white-space:nowrap!important;
}
.tree-directory-love:hover{background:rgba(255,73,118,.19)!important;box-shadow:inset 0 0 0 1px rgba(255,124,154,.28),0 7px 18px rgba(0,0,0,.22)!important}
.tree-directory-love.is-loved{background:linear-gradient(135deg,rgba(255,70,115,.84),rgba(183,33,76,.88))!important;color:#fff!important;box-shadow:0 0 0 1px rgba(255,146,170,.30),0 0 18px rgba(255,64,108,.18)!important}

/* Profile stat blocks and social panels. */
.tree-directory-stats--with-bg .tree-directory-stat{background:rgba(7,17,22,.82)!important;backdrop-filter:blur(3px)!important}
.tree-directory-social-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin-top:14px!important}
.tree-directory-social-grid>section{padding:14px!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:15px!important;background:linear-gradient(180deg,rgba(12,24,29,.90),rgba(7,16,21,.94))!important}
.tree-directory-allies-strip,.tree-directory-supporters{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
.tree-directory-ally,.tree-directory-supporter{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:4px!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:999px!important;background:rgba(8,18,23,.76)!important;color:#eaf0ef!important;cursor:pointer!important}
.tree-directory-supporter{padding-right:10px!important}.tree-directory-supporter span{max-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important;font-weight:800!important}
.tree-directory-love-meta{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;padding:9px 11px!important;border:0!important;border-radius:999px!important;background:rgba(255,84,122,.075)!important;color:#dce6e4!important;cursor:pointer!important;box-shadow:inset 0 0 0 1px rgba(255,113,145,.13)!important}
.tree-directory-love-meta strong{color:#ffafc0!important;font-size:22px!important;line-height:1!important}.tree-directory-love-meta span{flex:1!important;text-align:left!important;color:#aebdc0!important;font-size:10px!important}.tree-directory-love-meta b{color:#ffd2dc!important;font-size:9px!important}
.tree-directory-supporter-panel{margin-top:10px!important}
.tree-directory-notice--compact{margin-top:0!important;padding:9px 10px!important;font-size:10px!important}

/* Inline profile customizer stays inside the Players window. */
.tree-inline-customizer{display:grid!important;gap:16px!important;padding:18px!important;border:1px solid rgba(232,183,76,.20)!important;border-radius:18px!important;background:linear-gradient(180deg,#101d22,#081217)!important}
.tree-inline-customizer-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important}.tree-inline-customizer-head h3{margin:4px 0 5px!important;color:#fff!important}.tree-inline-customizer-head p{max-width:720px!important;margin:0!important;color:#9fb0b4!important;line-height:1.45!important}.tree-customizer-save{flex:0 0 auto!important}
.tree-profile-preview{position:relative!important;min-height:168px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:17px!important;background-image:linear-gradient(90deg,rgba(4,10,14,.42),rgba(4,10,14,.14)),var(--profile-preview-bg)!important;background-size:cover!important;background-position:center!important;box-shadow:inset 0 -48px 72px rgba(0,0,0,.17)!important}
.tree-profile-preview-copy{position:absolute!important;left:22px!important;bottom:18px!important;display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;max-width:calc(100% - 44px)!important}.tree-profile-preview-copy>div{min-width:0!important}.tree-profile-preview-copy>div>span{display:block!important;color:#e8b74c!important;font-size:9px!important;font-weight:1000!important;letter-spacing:.15em!important}.tree-profile-preview-copy strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-size:22px!important;text-shadow:0 2px 9px rgba(0,0,0,.85)!important}.tree-profile-preview-copy small{color:#d0d9da!important;text-shadow:0 1px 5px rgba(0,0,0,.85)!important}
.tree-profile-style-status{min-height:18px!important;color:#aebdc0!important;font-size:10px!important;text-align:right!important}
.tree-profile-customizer-section{min-width:0!important}
.tree-profile-background-grid{display:grid!important;grid-template-columns:repeat(5,minmax(120px,1fr))!important;gap:10px!important}
.tree-profile-background-choice{position:relative!important;min-height:92px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:12px!important;background-image:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.48)),var(--choice-bg)!important;background-size:cover!important;background-position:center!important;cursor:pointer!important}.tree-profile-background-choice span{position:absolute!important;left:8px!important;right:8px!important;bottom:7px!important;color:#fff!important;font-size:9px!important;font-weight:900!important;text-shadow:0 2px 6px rgba(0,0,0,.9)!important}.tree-profile-background-choice.is-selected{border-color:#e8b74c!important;box-shadow:0 0 0 2px rgba(232,183,76,.12),0 0 20px rgba(232,183,76,.10)!important}
.tree-profile-border-heading{margin-bottom:7px!important}.tree-profile-border-toolbar{display:flex!important;justify-content:flex-end!important;margin-bottom:9px!important}.tree-profile-border-toolbar select{min-width:220px!important;padding:8px 10px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:10px!important;background:#101d22!important;color:#e9efed!important;outline:0!important}
.tree-profile-border-grid{display:grid!important;grid-template-columns:repeat(6,minmax(104px,1fr))!important;gap:8px!important;max-height:390px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:4px!important;scrollbar-gutter:stable!important}
.tree-profile-border-choice{display:grid!important;grid-template-rows:80px auto!important;min-width:0!important;min-height:112px!important;gap:5px!important;place-items:center!important;padding:7px!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:12px!important;background:#0a151a!important;color:#aebbc0!important;cursor:pointer!important}.tree-profile-border-choice.is-selected{border-color:#e8b74c!important;background:rgba(232,183,76,.075)!important;box-shadow:0 0 0 1px rgba(232,183,76,.08)!important}.tree-profile-border-media{display:grid!important;width:80px!important;height:80px!important;place-items:center!important;overflow:hidden!important}.tree-profile-border-media img,.tree-profile-border-media video{display:block!important;width:80px!important;height:80px!important;max-width:80px!important;max-height:80px!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important}.tree-profile-border-choice small{width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:center!important;font-size:8px!important}.tree-profile-border-none{display:grid!important;width:62px!important;height:62px!important;place-items:center!important;border:1px dashed rgba(255,255,255,.19)!important;border-radius:50%!important;font-size:8px!important}

/* Hall Of Fame / Survivor Stats artwork. Section art remains visible. */
.tree-leaderboard-card[style*="--hof-bg"]{
  position:relative!important;overflow:hidden!important;
  background-image:linear-gradient(100deg,rgba(5,12,16,.62),rgba(5,12,16,.38) 54%,rgba(5,12,16,.58)),var(--hof-bg)!important;
  background-size:cover!important;background-position:center!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.tree-leaderboard-card[style*="--hof-bg"]::before{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:linear-gradient(115deg,transparent 18%,rgba(255,211,116,.12) 49%,transparent 76%)!important;transform:translateX(-125%);animation:treeHofSweepClean 10s ease-in-out infinite!important}
.tree-leaderboard-card[style*="--hof-bg"]>header,.tree-leaderboard-card[style*="--hof-bg"]>.tree-leaderboard-rows{position:relative!important;z-index:1!important;background:rgba(4,10,13,.22)!important;backdrop-filter:blur(1px)!important}
.tree-leaderboard-card[style*="--hof-bg"]:hover{transform:translateY(-2px)!important;border-color:rgba(232,183,76,.32)!important;box-shadow:0 17px 34px rgba(0,0,0,.25)!important}
@keyframes treeHofSweepClean{0%,72%{transform:translateX(-125%)}90%,100%{transform:translateX(125%)}}
.tree-leaderboard-row{position:relative!important;gap:10px!important;background-image:linear-gradient(90deg,rgba(4,10,13,.58),rgba(4,10,13,.30),rgba(4,10,13,.55)),var(--leaderboard-row-bg,none)!important;background-size:cover!important;background-position:center!important}
.tree-leaderboard-row strong,.tree-leaderboard-row em,.tree-leaderboard-row small{text-shadow:0 2px 6px rgba(0,0,0,.82)!important}

.tree-hof-featured-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin-bottom:18px!important}
.tree-hof-featured-card{position:relative!important;isolation:isolate!important;display:grid!important;grid-template-rows:auto 132px auto auto auto!important;justify-items:center!important;gap:8px!important;min-height:332px!important;padding:18px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:21px!important;background-image:linear-gradient(180deg,rgba(4,8,12,.10),rgba(4,8,12,.35) 52%,rgba(4,8,12,.78)),var(--hof-card-bg)!important;background-size:112% 112%!important;background-position:center!important;box-shadow:0 18px 38px rgba(0,0,0,.28)!important;color:#fff!important;cursor:pointer!important;animation:treeHofPanClean 13s ease-in-out infinite alternate!important}
.tree-hof-featured-card::before{content:""!important;position:absolute!important;inset:-25%!important;z-index:-1!important;background:radial-gradient(circle at 50% 42%,rgba(255,210,112,.16),transparent 36%)!important;pointer-events:none!important;animation:treeHofGlowClean 8s ease-in-out infinite alternate!important}
.tree-hof-featured-card>*{position:relative!important;z-index:1!important}
.tree-hof-featured-badge{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:6px 11px!important;border-radius:999px!important;background:rgba(3,9,13,.68)!important;border:1px solid rgba(255,255,255,.14)!important;color:#ffe09a!important;font-size:10px!important;font-weight:950!important;letter-spacing:.05em!important;text-transform:uppercase!important;backdrop-filter:blur(5px)!important}
.tree-hof-featured-card strong{color:#fff!important;font-size:22px!important;text-align:center!important;text-shadow:0 3px 12px rgba(0,0,0,.9)!important}.tree-hof-featured-card em{color:#ffe094!important;font-size:32px!important;font-style:normal!important;font-weight:1000!important;line-height:1!important;text-shadow:0 3px 12px rgba(0,0,0,.9)!important}.tree-hof-featured-card small{max-width:28ch!important;color:#e1e7e7!important;text-align:center!important;font-size:10px!important;text-shadow:0 2px 8px rgba(0,0,0,.9)!important}
.tree-hof-featured--kills{border-color:rgba(228,72,66,.28)!important}.tree-hof-featured--playtime{border-color:rgba(117,142,255,.28)!important}.tree-hof-featured--level{border-color:rgba(238,190,62,.30)!important}
@keyframes treeHofPanClean{0%{background-position:45% 48%}100%{background-position:57% 53%}}
@keyframes treeHofGlowClean{0%{transform:scale(.94);opacity:.62}100%{transform:scale(1.08);opacity:1}}

/* Live Map player popup: brighter chosen background, stable content, one pointer only. */
.tree-player-map-popup .leaflet-popup-tip-container,.tree-player-map-popup .leaflet-popup-tip{display:none!important}
.tree-player-map-popup .leaflet-popup-content-wrapper{padding:0!important;overflow:hidden!important;border:1px solid rgba(232,183,76,.26)!important;border-radius:18px!important;background:#071116!important;color:#eef4f2!important;box-shadow:0 22px 55px rgba(0,0,0,.55)!important}
.tree-player-map-popup .leaflet-popup-content{width:326px!important;margin:0!important}.tree-player-map-popup .leaflet-popup-close-button{right:8px!important;top:7px!important;z-index:5!important;color:#fff!important;font-size:22px!important}
.tree-map-player-card{position:relative!important;overflow:hidden!important;padding:15px!important;background-image:linear-gradient(110deg,rgba(4,10,14,.60),rgba(4,10,14,.32)),var(--map-profile-bg,none)!important;background-size:cover!important;background-position:center!important;color:#eff4f2!important}
.tree-map-player-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,transparent 0 58%,rgba(232,183,76,.08) 73%,transparent 90%)}
.tree-map-player-top,.tree-map-player-stats,.tree-map-player-pos,.tree-map-player-achievements,.tree-map-player-actions{position:relative!important;z-index:1!important}
.tree-map-player-top{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;gap:11px!important;align-items:start!important;padding-right:18px!important}.tree-map-player-name{min-width:0!important}.tree-map-player-name>span{display:inline-flex!important;align-items:center!important;width:max-content!important;padding:3px 7px!important;border:1px solid rgba(76,215,132,.22)!important;border-radius:999px!important;background:rgba(47,180,105,.15)!important;color:#a3f5c2!important;font-size:8px!important;font-weight:1000!important;letter-spacing:.08em!important}.tree-map-player-name strong{display:block!important;margin-top:4px!important;overflow:hidden!important;color:#fff!important;font-size:17px!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-shadow:0 2px 7px rgba(0,0,0,.88)!important}.tree-map-player-name small{display:block!important;color:#d0d9da!important;font-size:9px!important;text-shadow:0 1px 5px rgba(0,0,0,.9)!important}
.tree-map-player-summary-row{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:5px!important}.tree-map-player-summary{display:inline-flex!important;padding:3px 6px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:999px!important;background:rgba(2,8,11,.54)!important;color:#d6dfde!important;font-size:8px!important;font-weight:800!important}.tree-map-player-summary--love{border-color:rgba(255,97,133,.20)!important;color:#ffc3d0!important}
.tree-map-player-stats{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin:11px 0 9px!important}.tree-map-player-stat{padding:8px 4px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:9px!important;background:rgba(0,0,0,.30)!important;text-align:center!important}.tree-map-player-stat b{display:block!important;color:#ffd36c!important;font-size:12px!important}.tree-map-player-stat span{display:block!important;margin-top:2px!important;color:#a2b1b4!important;font-size:7px!important;font-weight:900!important}
.tree-map-player-pos{display:flex!important;justify-content:space-between!important;gap:8px!important;color:#e0e6e5!important;font-size:9px!important;text-shadow:0 1px 5px rgba(0,0,0,.86)!important}.tree-map-player-achievements{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:9px!important}.tree-map-player-achievement{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:4px 7px!important;border:1px solid rgba(232,183,76,.18)!important;border-radius:999px!important;background:rgba(6,12,15,.66)!important;color:#ffe1a5!important;font-size:8px!important;font-weight:850!important}.tree-map-player-achievement img{width:15px!important;height:15px!important;object-fit:contain!important}.tree-map-player-achievement b{font:inherit!important;color:inherit!important}
.tree-map-player-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:10px!important}.tree-map-player-actions button{min-width:0!important;padding:8px 7px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:9px!important;background:rgba(13,27,33,.90)!important;color:#edf3f1!important;font-size:9px!important;font-weight:900!important;cursor:pointer!important}.tree-map-player-actions .tree-map-profile-button{border-color:rgba(232,183,76,.38)!important;background:linear-gradient(135deg,#98601d,#c96520)!important;color:#fff!important}

/* Header, garage and misc cosmetics. */
#steamUserBox{align-items:center!important}
.tree-garage-player-avatar{display:grid!important;place-items:center!important}.tree-garage-player-identity{display:flex!important;align-items:center!important;gap:12px!important}

@media(max-width:1050px){
  .tree-hof-featured-grid{grid-template-columns:1fr!important}
  .tree-profile-background-grid{grid-template-columns:repeat(3,minmax(120px,1fr))!important}
  .tree-profile-border-grid{grid-template-columns:repeat(4,minmax(104px,1fr))!important}
}
@media(max-width:850px){
  .tree-directory-profile-hero--cosmetic{flex-direction:column!important}
  .tree-directory-profile-actions{max-width:none!important;width:100%!important;justify-content:flex-start!important}
  .tree-directory-profile-id{grid-template-columns:96px minmax(0,1fr)!important}
  .tree-profile-avatar-shell{width:96px!important;height:96px!important;flex-basis:96px!important}
  .tree-profile-avatar-image{width:58px!important;height:58px!important}
  .tree-directory-social-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .tree-inline-customizer-head{flex-direction:column!important}.tree-customizer-save{width:100%!important}
  .tree-profile-background-grid{grid-template-columns:repeat(2,minmax(110px,1fr))!important}
  .tree-profile-border-grid{grid-template-columns:repeat(3,minmax(96px,1fr))!important;max-height:none!important}
  .tree-player-list-item{grid-template-columns:72px minmax(0,1fr) auto!important}
  .tree-player-list-side em{display:none!important}
  .tree-map-player-stats{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:430px){
  .tree-profile-border-grid{grid-template-columns:repeat(2,minmax(96px,1fr))!important}
  .tree-profile-background-grid{grid-template-columns:1fr 1fr!important}
  .tree-profile-preview-copy{left:12px!important;bottom:12px!important;grid-template-columns:88px minmax(0,1fr)!important}.tree-profile-preview .tree-profile-avatar-shell{width:88px!important;height:88px!important;flex-basis:88px!important}.tree-profile-preview .tree-profile-avatar-image{width:52px!important;height:52px!important}.tree-profile-preview-copy strong{font-size:18px!important}
}
@media(prefers-reduced-motion:reduce){
  .tree-directory-profile-hero--cosmetic::before,.tree-leaderboard-card[style*="--hof-bg"]::before,.tree-hof-featured-card,.tree-hof-featured-card::before{animation:none!important}
}


/* 2026-10-04 final collision/focus/visibility hardening */
.tree-player-search{overflow:visible!important;outline:0!important}
.tree-player-search:focus-within{outline:0!important;box-shadow:0 0 0 1px #e8b74c,0 0 0 4px rgba(232,183,76,.12),0 9px 24px rgba(0,0,0,.18)!important}
.tree-player-search input{outline:none!important;border:none!important;box-shadow:none!important}
.tree-player-search input:focus,.tree-player-search input:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}

.tree-directory-profile-id{grid-template-columns:118px minmax(0,1fr)!important;column-gap:20px!important}
.tree-directory-profile-id>.tree-profile-avatar-shell{grid-column:1!important;justify-self:center!important;max-width:108px!important}
.tree-directory-profile-id>div{grid-column:2!important;padding-left:0!important;position:relative!important;z-index:4!important}
.tree-directory-profile-id h3,.tree-directory-profile-tags{position:relative!important;z-index:4!important}
.tree-directory-profile-id .tree-profile-avatar-border{clip-path:circle(50% at 50% 50%)!important}
.tree-directory-profile-id .tree-profile-avatar-shell{overflow:hidden!important;contain:strict!important}

.tree-directory-profile-hero--cosmetic{background-image:linear-gradient(90deg,rgba(3,9,12,.28) 0%,rgba(3,9,12,.10) 50%,rgba(3,9,12,.24) 100%),var(--profile-bg)!important;box-shadow:inset 0 -46px 72px rgba(0,0,0,.12)!important}
.tree-player-list-item{background-image:linear-gradient(90deg,rgba(3,9,12,.34) 0%,rgba(3,9,12,.15) 50%,rgba(3,9,12,.35) 100%),var(--list-bg)!important}
.tree-player-list-item::after{background:linear-gradient(90deg,rgba(0,0,0,.08),transparent 40%,rgba(0,0,0,.08))!important}
.tree-map-player-card{background-image:linear-gradient(110deg,rgba(3,9,12,.35),rgba(3,9,12,.16)),var(--map-profile-bg,none)!important}

.tree-directory-love{min-width:0!important;min-height:0!important;padding:8px 13px!important;border-radius:999px!important;background:rgba(255,75,119,.10)!important;color:#ffadc0!important;box-shadow:inset 0 0 0 1px rgba(255,117,150,.20)!important}
.tree-directory-love::before{content:"♥";font-size:15px;line-height:1}
.tree-directory-love.is-loved{background:rgba(255,65,109,.18)!important;color:#ffd2dc!important;box-shadow:inset 0 0 0 1px rgba(255,130,159,.30),0 0 15px rgba(255,60,106,.12)!important}
.tree-directory-love.is-loved::before{animation:treeLovePulse 2.4s ease-in-out infinite}
@keyframes treeLovePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.13)}}

.tree-leaderboard-card[style*="--hof-bg"]{background-image:linear-gradient(180deg,rgba(3,8,11,.18),rgba(3,8,11,.48)),var(--hof-bg)!important;background-size:cover!important;background-position:center!important}
.tree-leaderboard-card[style*="--hof-bg"]>header,.tree-leaderboard-card[style*="--hof-bg"]>.tree-leaderboard-rows{background:rgba(4,10,13,.10)!important}
.tree-hof-featured-card{background-image:linear-gradient(180deg,rgba(4,8,12,.03),rgba(4,8,12,.18) 52%,rgba(4,8,12,.54)),var(--hof-card-bg)!important}

@media(max-width:850px){.tree-directory-profile-id{grid-template-columns:106px minmax(0,1fr)!important;column-gap:16px!important}}
@media(max-width:520px){.tree-directory-profile-id{grid-template-columns:94px minmax(0,1fr)!important;column-gap:12px!important}.tree-directory-profile-id>.tree-profile-avatar-shell{max-width:92px!important}}

/* ========================================================================
   TREE GAMING PLAYER UI — CLEAN PROFESSIONAL OVERRIDE 2026-10-04
   This block intentionally sits last so the player UI has one predictable
   layout system even if older player-directory rules exist above it.
   ======================================================================== */
:root{
  --tg-bg:#071014;
  --tg-panel:#0b151a;
  --tg-panel-2:#0f1c22;
  --tg-panel-3:#13232a;
  --tg-line:rgba(255,255,255,.08);
  --tg-line-gold:rgba(232,183,76,.30);
  --tg-gold:#efc35c;
  --tg-gold-2:#d99c36;
  --tg-text:#f2f6f5;
  --tg-muted:#8fa2a7;
  --tg-green:#62d69a;
  --tg-pink:#ff6f9d;
}

/* Dialog + navigation ---------------------------------------------------- */
.tree-player-directory-dialog{
  width:min(1380px,96vw)!important;
  height:min(860px,94vh)!important;
  border:1px solid var(--tg-line-gold)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#0d181d 0,#071014 100%)!important;
  box-shadow:0 32px 100px rgba(0,0,0,.66)!important;
}
.tree-player-directory-header{
  min-height:74px!important;
  padding:16px 20px!important;
  border-bottom:1px solid var(--tg-line)!important;
  background:linear-gradient(180deg,#15242b,#0f1a20)!important;
}
.tree-player-directory-tabs{
  gap:8px!important;
  padding:10px 16px!important;
  border-bottom:1px solid var(--tg-line)!important;
  background:#081216!important;
}
.tree-player-directory-tab{
  min-height:40px!important;
  padding:0 14px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  color:#98a8ac!important;
  background:transparent!important;
  font-weight:800!important;
}
.tree-player-directory-tab:hover{color:#fff!important;background:rgba(255,255,255,.035)!important}
.tree-player-directory-tab.is-active{
  color:#ffe08b!important;
  border-color:rgba(232,183,76,.34)!important;
  background:linear-gradient(180deg,rgba(232,183,76,.12),rgba(232,183,76,.045))!important;
  box-shadow:inset 0 -2px 0 rgba(232,183,76,.48)!important;
}

/* Search — the focus ring belongs to the rounded search field itself ------ */
.tree-player-search{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:16px!important;
  padding:0 12px!important;
  min-height:46px!important;
  border:1px solid rgba(232,183,76,.28)!important;
  border-radius:12px!important;
  background:#081115!important;
  box-shadow:none!important;
  outline:none!important;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease!important;
}
.tree-player-search:focus-within{
  border-color:rgba(239,195,92,.72)!important;
  background:#0a1519!important;
  box-shadow:0 0 0 3px rgba(239,195,92,.11)!important;
}
.tree-player-search input{
  width:100%!important;
  min-width:0!important;
  padding:12px 0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#edf4f2!important;
  font-size:14px!important;
}
.tree-player-search input:focus{outline:0!important;box-shadow:none!important}

/* One safe avatar/frame system ------------------------------------------ */
.tree-profile-avatar-shell{
  position:relative!important;
  display:grid!important;
  width:82px!important;
  height:82px!important;
  flex:0 0 82px!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:50%!important;
  isolation:isolate!important;
}
.tree-profile-avatar-image{
  position:relative!important;
  z-index:1!important;
  width:54px!important;
  height:54px!important;
  max-width:calc(100% - 20px)!important;
  max-height:calc(100% - 20px)!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
  background:#071014!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.10),0 8px 18px rgba(0,0,0,.35)!important;
}
.tree-profile-avatar-border{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  border:0!important;
  border-radius:0!important;
  object-fit:contain!important;
  pointer-events:none!important;
}
.tree-profile-avatar-shell--list{width:58px!important;height:58px!important;flex-basis:58px!important}
.tree-profile-avatar-shell--list .tree-profile-avatar-image{width:38px!important;height:38px!important}
.tree-profile-avatar-shell--leaderboard{width:52px!important;height:52px!important;flex-basis:52px!important}
.tree-profile-avatar-shell--leaderboard .tree-profile-avatar-image{width:34px!important;height:34px!important}
.tree-profile-avatar-shell--tiny{width:46px!important;height:46px!important;flex-basis:46px!important}
.tree-profile-avatar-shell--tiny .tree-profile-avatar-image{width:30px!important;height:30px!important}

/* Player list ------------------------------------------------------------ */
.tree-player-list-pane{background:#091317!important}
.tree-player-list{padding:0 12px 12px!important}
.tree-player-list-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) 88px!important;
  align-items:center!important;
  gap:12px!important;
  min-height:76px!important;
  margin:0 0 7px!important;
  padding:8px 10px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-radius:12px!important;
  background-image:linear-gradient(90deg,rgba(6,15,19,.68) 0%,rgba(7,16,20,.73) 44%,rgba(7,16,20,.90) 100%),var(--list-bg)!important;
  background-size:cover!important;
  background-position:center!important;
  color:var(--tg-text)!important;
  box-shadow:none!important;
}
.tree-player-list-item:hover{
  border-color:rgba(232,183,76,.24)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
}
.tree-player-list-item.is-active{
  border-color:rgba(232,183,76,.52)!important;
  box-shadow:inset 3px 0 0 #e6b648,0 10px 22px rgba(0,0,0,.22)!important;
}
.tree-player-list-avatar{display:grid!important;place-items:center!important;width:64px!important;min-width:64px!important;overflow:hidden!important}
.tree-player-list-copy{min-width:0!important;padding-left:0!important;overflow:hidden!important}
.tree-player-list-copy strong{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.2!important;
}
.tree-player-list-copy small{
  display:block!important;
  margin-top:4px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#95a8ac!important;
  font-size:11px!important;
}
.tree-player-list-copy small.is-online{color:#79e4aa!important}
.tree-player-list-side{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:5px!important;min-width:0!important}
.tree-player-list-side em{max-width:84px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tree-player-list-love{
  width:30px!important;height:30px!important;padding:0!important;
  display:grid!important;place-items:center!important;
  border:1px solid rgba(255,111,157,.25)!important;border-radius:50%!important;
  background:rgba(255,111,157,.075)!important;color:#ff9dbd!important;
  font-size:14px!important;cursor:pointer!important;
}
.tree-player-list-love:hover{background:rgba(255,111,157,.14)!important;border-color:rgba(255,111,157,.42)!important}
.tree-player-list-love.is-loved{background:linear-gradient(135deg,#7f2545,#b93864)!important;border-color:rgba(255,121,166,.48)!important;color:#fff!important}
.tree-player-love-count{font-size:9px!important}

/* Profile header --------------------------------------------------------- */
.tree-player-profile-pane{padding:18px 20px 24px!important;background:#071115!important}
.tree-directory-profile-hero--cosmetic{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  min-height:138px!important;
  overflow:hidden!important;
  padding:18px!important;
  border:1px solid rgba(232,183,76,.24)!important;
  border-radius:16px!important;
  background-image:linear-gradient(90deg,rgba(4,11,14,.42) 0%,rgba(4,11,14,.50) 48%,rgba(4,11,14,.78) 100%),var(--profile-bg)!important;
  background-size:cover!important;
  background-position:center!important;
}
.tree-directory-profile-id{
  display:grid!important;
  grid-template-columns:98px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  min-width:0!important;
}
.tree-directory-profile-id>.tree-profile-avatar-shell{width:94px!important;height:94px!important;flex-basis:94px!important}
.tree-directory-profile-id>.tree-profile-avatar-shell .tree-profile-avatar-image{width:60px!important;height:60px!important}
.tree-directory-profile-id>div{min-width:0!important;overflow:hidden!important}
.tree-directory-profile-id h3{
  margin:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#fff!important;
  font-size:28px!important;
  text-shadow:0 2px 12px rgba(0,0,0,.75)!important;
}
.tree-directory-profile-tags{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:9px!important}
.tree-directory-profile-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important;max-width:330px!important}
.tree-directory-profile-actions button{min-height:40px!important;border-radius:10px!important}
.tree-directory-love{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  min-width:92px!important;padding:0 14px!important;
  border:1px solid rgba(255,111,157,.34)!important;border-radius:999px!important;
  background:rgba(255,111,157,.10)!important;color:#ffc2d5!important;
  box-shadow:none!important;font-weight:900!important;
}
.tree-directory-love:hover{background:rgba(255,111,157,.16)!important;border-color:rgba(255,111,157,.48)!important}
.tree-directory-love.is-loved{background:linear-gradient(135deg,#8b274a,#bd3c68)!important;color:#fff!important}

/* Customizer controls --------------------------------------------------- */
.tree-inline-customizer{
  display:grid!important;
  gap:18px!important;
  padding:20px!important;
  border:1px solid rgba(232,183,76,.18)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#0d191e,#091317)!important;
}
.tree-inline-customizer-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
.tree-inline-customizer-head>div{min-width:0!important}
.tree-inline-customizer-head h3{margin:4px 0 6px!important;color:#fff!important;font-size:24px!important}
.tree-inline-customizer-head p{max-width:760px!important;margin:0!important;color:#96a8ad!important;font-size:13px!important;line-height:1.55!important}
.tree-customizer-save{flex:0 0 auto!important;min-width:130px!important}
.tree-profile-preview{
  position:relative!important;
  min-height:170px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:15px!important;
  background-image:linear-gradient(90deg,rgba(4,11,14,.30),rgba(4,11,14,.55)),var(--profile-preview-bg)!important;
  background-size:cover!important;
  background-position:center!important;
}
.tree-profile-preview-copy{
  position:absolute!important;
  left:22px!important;
  bottom:20px!important;
  display:grid!important;
  grid-template-columns:94px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  max-width:calc(100% - 44px)!important;
}
.tree-profile-preview .tree-profile-avatar-shell{width:90px!important;height:90px!important;flex-basis:90px!important}
.tree-profile-preview .tree-profile-avatar-image{width:58px!important;height:58px!important}
.tree-profile-preview-copy>div{min-width:0!important}
.tree-profile-preview-copy div>span{display:block!important;color:#ffd477!important;font-size:9px!important;font-weight:950!important;letter-spacing:.14em!important}
.tree-profile-preview-copy strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-size:24px!important;text-shadow:0 2px 10px rgba(0,0,0,.72)!important}
.tree-profile-preview-copy small{display:block!important;margin-top:3px!important;color:#d1dbdd!important;font-size:11px!important}
.tree-profile-style-status{min-height:18px!important;color:#9bb0b4!important;font-size:11px!important;text-align:right!important}
.tree-profile-customizer-section{display:block!important;min-width:0!important}
.tree-profile-customizer-section .tree-directory-section-title{margin:2px 0 10px!important}
.tree-profile-background-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
}
.tree-profile-background-choice{
  position:relative!important;
  min-height:112px!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:12px!important;
  appearance:none!important;
  background-image:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.68)),var(--choice-bg)!important;
  background-size:cover!important;
  background-position:center!important;
  cursor:pointer!important;
}
.tree-profile-background-choice span{
  position:absolute!important;left:10px!important;right:10px!important;bottom:9px!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#fff!important;font-size:11px!important;font-weight:900!important;text-align:left!important;text-shadow:0 1px 5px #000!important;
}
.tree-profile-background-choice:hover{border-color:rgba(255,255,255,.22)!important;transform:translateY(-1px)!important}
.tree-profile-background-choice.is-selected{border-color:rgba(239,195,92,.76)!important;box-shadow:0 0 0 2px rgba(239,195,92,.12)!important}
.tree-profile-border-heading{align-items:center!important}
.tree-profile-border-toolbar{display:flex!important;justify-content:flex-end!important;margin:0 0 10px!important}
.tree-profile-border-toolbar select{
  width:min(280px,100%)!important;
  min-height:40px!important;
  padding:0 38px 0 12px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:10px!important;
  outline:0!important;
  background:#0b161b!important;
  color:#eef3f2!important;
  font-size:12px!important;
}
.tree-profile-border-toolbar select:focus{border-color:rgba(239,195,92,.58)!important;box-shadow:0 0 0 3px rgba(239,195,92,.08)!important}
.tree-profile-border-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:9px!important;
  max-height:430px!important;
  overflow:auto!important;
  padding:2px 4px 4px!important;
}
.tree-profile-border-choice{
  display:grid!important;
  grid-template-rows:78px auto!important;
  place-items:center!important;
  gap:6px!important;
  min-width:0!important;
  min-height:116px!important;
  padding:8px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.065)!important;
  border-radius:12px!important;
  appearance:none!important;
  background:#0a1419!important;
  color:#a9b8bc!important;
  cursor:pointer!important;
}
.tree-profile-border-choice:hover{border-color:rgba(255,255,255,.14)!important;background:#0e1b21!important}
.tree-profile-border-choice.is-selected{border-color:rgba(239,195,92,.66)!important;background:rgba(239,195,92,.055)!important;box-shadow:inset 0 0 0 1px rgba(239,195,92,.08)!important}
.tree-profile-border-choice img,.tree-profile-border-choice video{display:block!important;width:76px!important;height:76px!important;max-width:100%!important;object-fit:contain!important}
.tree-profile-border-choice small{display:block!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#adbdc0!important;font-size:9px!important;text-align:center!important}
.tree-profile-border-none{display:grid!important;width:64px!important;height:64px!important;place-items:center!important;border:1px dashed rgba(255,255,255,.15)!important;border-radius:50%!important;color:#829397!important;font-size:9px!important}

/* Leaderboards — section artwork belongs to sections, never player rows --- */
.tree-player-leaderboard-pane{padding:18px 20px 24px!important;background:#071115!important}
.tree-leaderboard-hero{
  min-height:132px!important;
  margin:0 0 16px!important;
  padding:22px 24px!important;
  border:1px solid rgba(232,183,76,.24)!important;
  border-radius:16px!important;
  background:linear-gradient(120deg,rgba(232,183,76,.08),rgba(8,23,29,.92) 42%,rgba(7,17,22,.98))!important;
}
.tree-leaderboard-hero h3{margin:5px 0 6px!important;color:#fff!important;font-size:30px!important}
.tree-leaderboard-hero p{margin:0!important;color:#9fb0b4!important;font-size:12px!important}
.tree-hof-featured-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:0 0 16px!important}
.tree-hof-featured-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:96px minmax(0,1fr)!important;
  grid-template-areas:"badge badge" "avatar name" "avatar value" "subtitle subtitle"!important;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:4px!important;
  min-height:218px!important;
  padding:16px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:16px!important;
  background-image:linear-gradient(110deg,rgba(4,10,14,.42),rgba(4,10,14,.80)),var(--hof-card-bg)!important;
  background-size:cover!important;
  background-position:center!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(0,0,0,.18)!important;
  cursor:pointer!important;
}
.tree-hof-featured-card:hover{transform:translateY(-2px)!important;border-color:rgba(232,183,76,.30)!important;box-shadow:0 16px 34px rgba(0,0,0,.26)!important}
.tree-hof-featured-card::before,.tree-hof-featured-card::after{display:none!important}
.tree-hof-featured-badge{grid-area:badge!important;justify-self:start!important;margin-bottom:5px!important;background:rgba(5,13,17,.66)!important;backdrop-filter:none!important}
.tree-hof-featured-avatar{grid-area:avatar!important;display:grid!important;place-items:center!important}
.tree-hof-featured-avatar .tree-profile-avatar-shell{width:88px!important;height:88px!important;flex-basis:88px!important}
.tree-hof-featured-avatar .tree-profile-avatar-image{width:56px!important;height:56px!important}
.tree-hof-featured-card>strong{grid-area:name!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-size:20px!important;text-align:left!important;text-shadow:0 2px 8px rgba(0,0,0,.70)!important}
.tree-hof-featured-card>em{grid-area:value!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#ffd36b!important;font-size:28px!important;font-style:normal!important;font-weight:1000!important;text-align:left!important;text-shadow:0 2px 8px rgba(0,0,0,.65)!important}
.tree-hof-featured-card>small,.tree-hof-featured-card>p{grid-area:subtitle!important;margin:7px 0 0!important;color:#d0dadc!important;font-size:11px!important;text-align:left!important}

.tree-leaderboard-weekly{margin-bottom:14px!important}
.tree-leaderboard-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.tree-leaderboard-grid--survivor{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tree-leaderboard-card{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:15px!important;
  background:#0a1419!important;
  box-shadow:0 10px 24px rgba(0,0,0,.16)!important;
}
.tree-leaderboard-card::before,.tree-leaderboard-card::after{display:none!important}
.tree-leaderboard-card>header{
  position:relative!important;
  min-height:92px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:14px 16px!important;
  overflow:hidden!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  background-image:linear-gradient(90deg,rgba(5,13,17,.68),rgba(5,13,17,.84)),var(--hof-bg)!important;
  background-size:cover!important;
  background-position:center!important;
  backdrop-filter:none!important;
}
.tree-leaderboard-card>header>div{min-width:0!important;position:relative!important;z-index:1!important}
.tree-leaderboard-card-icon{position:relative!important;z-index:1!important;flex:0 0 44px!important}
.tree-leaderboard-card h4{margin:0!important;color:#fff!important;font-size:15px!important;text-shadow:0 2px 8px rgba(0,0,0,.72)!important}
.tree-leaderboard-card p{margin:4px 0 0!important;color:#c3cfd1!important;font-size:10px!important;text-shadow:0 1px 5px rgba(0,0,0,.68)!important}
.tree-leaderboard-rows{padding:7px!important;background:#0a1419!important;backdrop-filter:none!important}
.tree-leaderboard-row{
  display:grid!important;
  grid-template-columns:32px 58px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  min-height:60px!important;
  padding:5px 8px!important;
  overflow:hidden!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:#0d191e!important;
  background-image:none!important;
  color:#fff!important;
}
.tree-leaderboard-row+.tree-leaderboard-row{margin-top:4px!important}
.tree-leaderboard-row:hover{border-color:rgba(255,255,255,.08)!important;background:#112027!important}
.tree-leaderboard-row.is-first{background:linear-gradient(90deg,rgba(232,183,76,.085),#0d191e 42%)!important}
.tree-leaderboard-row>.tree-profile-avatar-shell{justify-self:center!important;overflow:hidden!important}
.tree-leaderboard-player{display:block!important;min-width:0!important;overflow:hidden!important}
.tree-leaderboard-player strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#f5f8f7!important;font-size:11px!important}
.tree-leaderboard-player small{display:block!important;margin-top:2px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#83969b!important;font-size:9px!important}
.tree-leaderboard-row em{justify-self:end!important;max-width:150px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#ffd36d!important;font-size:11px!important;font-style:normal!important;font-weight:1000!important}
.tree-leaderboard-empty{display:grid!important;min-height:88px!important;place-items:center!important;padding:18px!important;background:#0a1419!important;color:#74878c!important;font-size:10px!important}

/* Weekly card keeps one clean full-width leaderboard --------------------- */
.tree-leaderboard-card--weekly .tree-leaderboard-rows{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
.tree-leaderboard-card--weekly .tree-leaderboard-row{
  grid-template-columns:28px 48px minmax(0,1fr)!important;
  grid-template-areas:"rank avatar player" "rank avatar value"!important;
  min-height:64px!important;
}
.tree-leaderboard-card--weekly .tree-leaderboard-rank{grid-area:rank!important}
.tree-leaderboard-card--weekly .tree-profile-avatar-shell{grid-area:avatar!important;width:46px!important;height:46px!important;flex-basis:46px!important}
.tree-leaderboard-card--weekly .tree-profile-avatar-image{width:30px!important;height:30px!important}
.tree-leaderboard-card--weekly .tree-leaderboard-player{grid-area:player!important}
.tree-leaderboard-card--weekly .tree-leaderboard-row em{grid-area:value!important;justify-self:start!important}

/* Social chips ----------------------------------------------------------- */
.tree-directory-social-grid{gap:12px!important}
.tree-directory-social-grid>section{border-radius:14px!important;background:#0b161b!important}
.tree-directory-ally,.tree-directory-supporter{border-color:rgba(255,255,255,.08)!important;background:#0f1c22!important}
.tree-directory-ally:hover,.tree-directory-supporter:hover{border-color:rgba(232,183,76,.24)!important;background:#12242b!important}

/* Live Map popup — frame cannot cover the name -------------------------- */
.tree-map-player-top{
  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px!important;
}
.tree-map-player-top>.tree-profile-avatar-shell{width:78px!important;height:78px!important;flex-basis:78px!important}
.tree-map-player-top>.tree-profile-avatar-shell .tree-profile-avatar-image{width:50px!important;height:50px!important}
.tree-map-player-name{min-width:0!important;overflow:hidden!important}
.tree-map-player-name strong{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* Responsive ------------------------------------------------------------- */
@media(max-width:1100px){
  .tree-profile-border-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .tree-profile-background-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tree-hof-featured-grid{grid-template-columns:1fr!important}
  .tree-hof-featured-card{grid-template-columns:90px minmax(0,1fr)!important;min-height:184px!important}
  .tree-leaderboard-card--weekly .tree-leaderboard-rows{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:850px){
  .tree-player-directory-dialog{width:100vw!important;height:100dvh!important;border-radius:0!important}
  .tree-profile-background-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tree-profile-border-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tree-directory-profile-hero--cosmetic{grid-template-columns:1fr!important}
  .tree-directory-profile-actions{justify-content:flex-start!important;max-width:none!important}
  .tree-leaderboard-grid,.tree-leaderboard-grid--survivor{grid-template-columns:1fr!important}
  .tree-leaderboard-card--weekly .tree-leaderboard-rows{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .tree-inline-customizer{padding:14px!important}
  .tree-inline-customizer-head{flex-direction:column!important}
  .tree-customizer-save{width:100%!important}
  .tree-profile-preview-copy{grid-template-columns:76px minmax(0,1fr)!important;left:14px!important;bottom:14px!important;max-width:calc(100% - 28px)!important}
  .tree-profile-preview .tree-profile-avatar-shell{width:72px!important;height:72px!important;flex-basis:72px!important}
  .tree-profile-preview .tree-profile-avatar-image{width:46px!important;height:46px!important}
  .tree-profile-background-grid{grid-template-columns:1fr 1fr!important}
  .tree-profile-border-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tree-player-list-item{grid-template-columns:56px minmax(0,1fr) 38px!important}
  .tree-player-list-side em,.tree-player-love-count{display:none!important}
  .tree-directory-profile-id{grid-template-columns:82px minmax(0,1fr)!important}
  .tree-directory-profile-id>.tree-profile-avatar-shell{width:78px!important;height:78px!important;flex-basis:78px!important}
  .tree-directory-profile-id>.tree-profile-avatar-shell .tree-profile-avatar-image{width:50px!important;height:50px!important}
  .tree-directory-profile-id h3{font-size:22px!important}
  .tree-leaderboard-row{grid-template-columns:28px 52px minmax(0,1fr) auto!important}
}

@media(prefers-reduced-motion:reduce){
  .tree-player-list-item,.tree-hof-featured-card,.tree-profile-background-choice{transition:none!important;transform:none!important}
}


/* ========================================================================
   2026-10-04 FINAL PLAYER UI PASS
   ======================================================================== */
.tree-profile-avatar-shell,
.tree-profile-avatar-shell--list,
.tree-profile-avatar-shell--leaderboard,
.tree-profile-avatar-shell--tiny,
.tree-profile-avatar-shell--featured,
.tree-profile-avatar-shell--header{position:relative!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;overflow:hidden!important;contain:layout paint!important;border-radius:50%!important;background:transparent!important;isolation:isolate!important}
.tree-profile-avatar-image{position:relative!important;z-index:1!important;width:62%!important;height:62%!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 4px 12px rgba(0,0,0,.35)!important}
.tree-profile-avatar-border{position:absolute!important;inset:0!important;z-index:2!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;pointer-events:none!important;transform:none!important}
.tree-profile-avatar-shell.has-border .tree-profile-avatar-image{box-shadow:none!important}
.tree-profile-avatar-shell{width:92px!important;height:92px!important;flex-basis:92px!important}
.tree-profile-avatar-shell--list{width:58px!important;height:58px!important;flex-basis:58px!important}
.tree-profile-avatar-shell--leaderboard{width:48px!important;height:48px!important;flex-basis:48px!important}
.tree-profile-avatar-shell--tiny{width:44px!important;height:44px!important;flex-basis:44px!important}
.tree-profile-avatar-shell--featured{width:82px!important;height:82px!important;flex-basis:82px!important}
.tree-profile-avatar-shell--header{width:42px!important;height:42px!important;flex-basis:42px!important}
#steamUserAvatarFrame #steamUserAvatar{width:62%!important;height:62%!important;border:0!important;border-radius:50%!important}
#steamUserAvatarBorderHost{position:absolute!important;inset:0!important;display:block!important;pointer-events:none!important}
#steamUserAvatarBorderHost>.tree-profile-avatar-border{width:100%!important;height:100%!important}

.tree-player-list-item{display:grid!important;grid-template-columns:64px minmax(0,1fr) auto!important;align-items:center!important;column-gap:12px!important;min-height:76px!important;padding:8px 12px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:13px!important;background:#0d181d!important;background-image:linear-gradient(90deg,rgba(7,15,19,.74),rgba(7,15,19,.48),rgba(7,15,19,.78)),var(--list-bg,none)!important;background-size:cover!important;background-position:center!important}
.tree-player-list-item:not([style*="--list-bg"]){background-image:none!important;background:#0d181d!important}
.tree-player-list-item:hover{border-color:rgba(232,183,76,.25)!important;background-color:#112027!important}
.tree-player-list-item.is-active{border-color:rgba(232,183,76,.48)!important;box-shadow:inset 3px 0 0 #d6a93d!important}
.tree-player-list-avatar{display:grid!important;place-items:center!important;width:64px!important;min-width:64px!important;overflow:hidden!important}
.tree-player-list-copy{min-width:0!important;overflow:hidden!important}
.tree-player-list-copy strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#f7f9f9!important;font-size:13px!important;line-height:1.25!important}
.tree-player-list-copy small{display:block!important;margin-top:4px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#8fa0a5!important;font-size:10px!important}
.tree-player-list-side{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;gap:5px!important;min-width:56px!important}

.tree-directory-profile-hero--cosmetic{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;overflow:hidden!important;background:#0d181d!important;background-image:none!important}
.tree-directory-profile-hero--cosmetic.has-profile-bg{background-image:linear-gradient(90deg,rgba(5,12,16,.78),rgba(5,12,16,.42) 54%,rgba(5,12,16,.80)),var(--profile-bg)!important;background-size:cover!important;background-position:center!important}
.tree-directory-profile-id{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-width:0!important}
.tree-directory-profile-id>.tree-profile-avatar-shell{width:92px!important;height:92px!important;justify-self:center!important}
.tree-directory-profile-id>div{min-width:0!important;overflow:hidden!important}
.tree-directory-profile-id h3{margin:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tree-directory-profile-actions{position:relative!important;z-index:3!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important}
.tree-profile-background-choice--none{background:#101b20!important;background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 8px,transparent 8px 16px)!important}
.tree-profile-background-choice--none::after{content:"No image";position:absolute;right:9px;top:8px;color:#708389;font-size:9px;font-weight:700}
.tree-profile-preview{background:#101a1f!important;background-image:var(--profile-preview-bg,none)!important;background-size:cover!important;background-position:center!important}
.tree-profile-preview-copy{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;max-width:calc(100% - 48px)!important}
.tree-profile-preview-copy>div{min-width:0!important;overflow:hidden!important}
.tree-profile-preview-copy strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

.tree-player-leaderboard-pane{background:#081216!important}
.tree-leaderboard-hero{border:1px solid rgba(255,255,255,.08)!important;border-radius:18px!important;background:linear-gradient(135deg,#132127,#0a1419)!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important}
.tree-hof-featured-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:16px 0!important}
.tree-hof-featured-card{position:relative!important;display:block!important;min-height:210px!important;padding:16px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:18px!important;background:linear-gradient(180deg,#101b20 0%,#0b151a 54%,#091216 100%)!important;background-image:none!important;color:#fff!important;box-shadow:0 10px 24px rgba(0,0,0,.20)!important;cursor:pointer!important;text-align:left!important}
.tree-hof-featured-card::before{content:""!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:3px!important;background:var(--card-accent)!important;display:block!important}
.tree-hof-featured-card::after{display:none!important}
.tree-hof-featured-label{position:relative!important;z-index:1!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:5px 9px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:999px!important;background:rgba(3,9,12,.36)!important;color:#e7eef0!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.tree-hof-featured-main{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;margin-top:14px!important}
.tree-hof-featured-avatar{display:grid!important;place-items:center!important;width:90px!important;min-width:90px!important;overflow:hidden!important}
.tree-hof-featured-copy{min-width:0!important;overflow:hidden!important}
.tree-hof-featured-copy>span{display:block!important;color:var(--card-accent)!important;font-size:9px!important;font-weight:1000!important;letter-spacing:.08em!important}
.tree-hof-featured-copy>strong{display:block!important;margin-top:3px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-size:18px!important}
.tree-hof-featured-copy>em{display:block!important;margin-top:2px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-size:26px!important;font-style:normal!important;font-weight:1000!important;line-height:1.1!important}
.tree-hof-featured-card>small{position:relative!important;z-index:1!important;display:block!important;margin-top:13px!important;color:#879a9f!important;font-size:10px!important}
.tree-hof-featured-empty{position:relative!important;z-index:1!important;display:grid!important;min-height:145px!important;place-items:center!important;color:#72858b!important;font-size:11px!important}

.tree-leaderboard-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.tree-leaderboard-card{position:relative!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:16px!important;background:#0b151a!important;background-image:none!important;box-shadow:0 10px 22px rgba(0,0,0,.16)!important}
.tree-leaderboard-card::before{content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:3px!important;background:var(--card-accent)!important;display:block!important}
.tree-leaderboard-card::after{display:none!important}
.tree-leaderboard-card>header{display:flex!important;align-items:center!important;gap:11px!important;min-height:74px!important;padding:12px 14px 12px 16px!important;border-bottom:1px solid rgba(255,255,255,.065)!important;background:#0d181d!important;background-image:none!important;backdrop-filter:none!important}
.tree-leaderboard-card-icon{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:12px!important;background:#101d22!important;color:#fff!important}
.tree-leaderboard-card>header>div{min-width:0!important}
.tree-leaderboard-card h4{margin:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#f5f7f7!important;font-size:14px!important;text-shadow:none!important}
.tree-leaderboard-card p{margin:4px 0 0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#83969b!important;font-size:10px!important;text-shadow:none!important}
.tree-leaderboard-rows{padding:7px!important;background:#0a1419!important;background-image:none!important;backdrop-filter:none!important}
.tree-leaderboard-row{display:grid!important;grid-template-columns:30px 52px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;min-height:58px!important;padding:5px 8px!important;overflow:hidden!important;border:1px solid transparent!important;border-radius:10px!important;background:#0e1a1f!important;background-image:none!important}
.tree-leaderboard-row+.tree-leaderboard-row{margin-top:4px!important}
.tree-leaderboard-row:hover{border-color:rgba(255,255,255,.08)!important;background:#112128!important}
.tree-leaderboard-row.is-first{background:#101d22!important}
.tree-leaderboard-avatar-slot{display:grid!important;place-items:center!important;width:52px!important;min-width:52px!important;overflow:hidden!important}
.tree-leaderboard-player{display:block!important;min-width:0!important;overflow:hidden!important}
.tree-leaderboard-player strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#eef3f2!important;font-size:11px!important;text-shadow:none!important}
.tree-leaderboard-player small{display:block!important;margin-top:2px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#73868b!important;font-size:9px!important;text-shadow:none!important}
.tree-leaderboard-row em{justify-self:end!important;max-width:140px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--card-accent)!important;font-size:11px!important;font-style:normal!important;font-weight:1000!important;text-shadow:none!important}
.tree-leaderboard-empty{display:grid!important;min-height:86px!important;place-items:center!important;padding:16px!important;background:#0a1419!important;color:#6f8388!important;font-size:10px!important}
.tree-leaderboard-card--weekly .tree-leaderboard-rows{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
.tree-leaderboard-card--weekly .tree-leaderboard-row{grid-template-columns:26px 46px minmax(0,1fr)!important;grid-template-areas:"rank avatar player" "rank avatar value"!important;min-height:64px!important}
.tree-leaderboard-card--weekly .tree-leaderboard-rank{grid-area:rank!important}
.tree-leaderboard-card--weekly .tree-leaderboard-avatar-slot{grid-area:avatar!important;width:46px!important;min-width:46px!important}
.tree-leaderboard-card--weekly .tree-profile-avatar-shell--leaderboard{width:44px!important;height:44px!important;flex-basis:44px!important}
.tree-leaderboard-card--weekly .tree-leaderboard-player{grid-area:player!important}
.tree-leaderboard-card--weekly .tree-leaderboard-row em{grid-area:value!important;justify-self:start!important}

.tree-garage-player{display:grid!important;grid-template-columns:64px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;overflow:hidden!important}
.tree-garage-player-avatar{display:grid!important;place-items:center!important;width:64px!important;min-width:64px!important;overflow:hidden!important}
.tree-garage-player-copy{min-width:0!important;overflow:hidden!important}
.tree-garage-player-copy strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tree-garage-player-identity{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-width:0!important}
.tree-garage-player-identity>div{min-width:0!important;overflow:hidden!important}
.tree-garage-player-identity h3{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

.player-direction-avatar-shell{overflow:hidden!important;border-radius:50%!important;contain:layout paint!important}
.player-direction-marker .player-direction-avatar{border:1px solid rgba(255,255,255,.62)!important;box-shadow:0 2px 7px rgba(0,0,0,.55)!important}
.player-direction-avatar-shell.has-border .player-direction-avatar{border:0!important;box-shadow:none!important}
.player-direction-border{inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important}
.player-direction-marker.current-player .player-direction-avatar{border-color:rgba(255,255,255,.72)!important}

.tree-map-player-card{background:#0b151a!important;background-image:none!important}
.tree-map-player-card.has-profile-bg{background-image:linear-gradient(110deg,rgba(5,12,16,.80),rgba(5,12,16,.48)),var(--map-profile-bg)!important;background-size:cover!important;background-position:center!important}
.tree-map-player-top{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;overflow:hidden!important}
.tree-map-player-top>.tree-profile-avatar-shell{width:82px!important;height:82px!important;flex-basis:82px!important}
.tree-map-player-name{min-width:0!important;overflow:hidden!important}
.tree-map-player-name strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

@media(max-width:1100px){.tree-hof-featured-grid{grid-template-columns:1fr!important}.tree-leaderboard-card--weekly .tree-leaderboard-rows{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:850px){.tree-leaderboard-grid{grid-template-columns:1fr!important}.tree-leaderboard-card--weekly .tree-leaderboard-rows{grid-template-columns:1fr!important}.tree-directory-profile-hero--cosmetic{grid-template-columns:1fr!important}.tree-directory-profile-actions{justify-content:flex-start!important}}
@media(max-width:560px){.tree-player-list-item{grid-template-columns:58px minmax(0,1fr) 38px!important}.tree-player-list-side em,.tree-player-love-count{display:none!important}.tree-directory-profile-id{grid-template-columns:82px minmax(0,1fr)!important}.tree-directory-profile-id>.tree-profile-avatar-shell{width:78px!important;height:78px!important;flex-basis:78px!important}.tree-hof-featured-main{grid-template-columns:78px minmax(0,1fr)!important}.tree-hof-featured-avatar{width:78px!important;min-width:78px!important}.tree-profile-avatar-shell--featured{width:72px!important;height:72px!important;flex-basis:72px!important}.tree-leaderboard-row{grid-template-columns:28px 48px minmax(0,1fr) auto!important}.tree-leaderboard-avatar-slot{width:48px!important;min-width:48px!important}}


/* ========================================================================
   Tree Gaming player directory visual overhaul - final
   Procedural/apocalyptic visuals: no background image assets required.
   ======================================================================== */
.tree-player-directory-dialog{background:linear-gradient(180deg,#081116 0,#05090b 100%);border-color:rgba(211,132,47,.38)}
.tree-player-directory-header{background:linear-gradient(90deg,rgba(9,23,28,.98),rgba(15,18,18,.98));border-bottom-color:rgba(255,132,42,.14)}
.tree-player-directory-title p{max-width:880px;padding:9px 12px;border:1px solid rgba(242,166,47,.52);border-left:4px solid #f1b23c;border-radius:9px;color:#f1d9aa;background:linear-gradient(90deg,rgba(93,53,6,.30),rgba(17,21,21,.2));font-size:11px;box-shadow:0 0 24px rgba(235,123,17,.08)}
.tree-player-directory-title p strong{color:#ffd364;letter-spacing:.04em}.tree-player-directory-title p b{color:#fff}
.tree-player-directory-tabs{background:#071014;border-bottom:1px solid rgba(255,255,255,.06)}
.tree-player-list-pane,.tree-player-profile-pane{position:relative;background:linear-gradient(180deg,rgba(7,18,22,.98),rgba(3,10,12,.99))}
.tree-player-list-pane:before,.tree-player-profile-pane:before,.tree-player-garage-pane:before,.tree-player-leaderboard-pane:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.34;background:radial-gradient(circle at 84% 12%,rgba(239,81,16,.13),transparent 17%),linear-gradient(165deg,transparent 0 56%,rgba(244,64,5,.06) 56.2% 56.7%,transparent 57% 100%)}
.tree-player-list-item{position:relative;overflow:hidden;background:rgba(8,22,27,.72);border-color:rgba(255,255,255,.06)}
.tree-player-list-item[style*="--list-bg"]:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(5,13,16,.90),rgba(5,13,16,.55)),var(--list-bg);background-size:cover;background-position:center;opacity:.34;z-index:0}.tree-player-list-item>*{position:relative;z-index:1}
.tree-player-list-item.is-self{border-color:rgba(255,193,65,.62);box-shadow:inset 0 0 25px rgba(255,143,25,.06)}
.tree-you-badge{display:inline-block;margin-left:6px;padding:2px 5px;border-radius:4px;color:#201300;background:#ffc958;font-size:8px;vertical-align:2px}
.tree-directory-profile-hero{position:relative;overflow:hidden;min-height:180px;background:linear-gradient(125deg,#111a1c,#160a06 75%,#070b0d)}
.tree-directory-profile-hero.has-profile-bg:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(4,10,12,.87),rgba(7,9,10,.42) 55%,rgba(7,7,7,.62)),var(--profile-bg);background-size:cover;background-position:center;opacity:.83}.tree-directory-profile-hero>*{position:relative;z-index:1}
.tree-last-seen-chip{border-color:rgba(145,190,201,.22)!important;color:#bad0d6!important;background:rgba(21,55,63,.22)!important}

/* Featured records: large fixed visual area + value that never ellipsizes */
.tree-hof-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 16px}
.tree-hof-featured-card{position:relative;isolation:isolate;overflow:hidden;min-height:280px;border:1px solid color-mix(in srgb,var(--card-accent) 66%,transparent);border-radius:18px;background:#090909;color:#fff;text-align:left;cursor:pointer}
.tree-hof-featured-card>.tree-record-scene{position:absolute;inset:0;z-index:0}.tree-hof-featured-card>*:not(.tree-record-scene){position:relative;z-index:2}
.tree-hof-featured-label{position:absolute!important;left:16px;top:16px;display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid color-mix(in srgb,var(--card-accent) 45%,transparent);border-radius:999px;background:rgba(0,0,0,.48);backdrop-filter:blur(4px);font-size:10px;text-transform:uppercase}
.tree-hof-featured-main{position:absolute!important;left:0;right:0;top:58px;display:grid;grid-template-columns:1fr;justify-items:center;gap:9px;text-align:center}
.tree-hof-featured-copy{display:grid;justify-items:center;gap:4px;max-width:95%}.tree-hof-featured-copy>span{color:var(--card-accent);font-size:10px;font-weight:900}.tree-hof-featured-copy>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.tree-hof-record-value{display:block;max-width:100%;color:#fff;font-size:clamp(22px,2.1vw,34px);font-style:normal;font-weight:1000;line-height:1.04;letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere;text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.85)}
.tree-hof-featured-avatar{margin-top:7px}.tree-hof-featured-card>small{position:absolute!important;left:12px;right:12px;bottom:12px;color:#b6c0c2;text-align:center;font-size:10px}

/* Lower Hall of Fame + Survivor Stats: scene is in header, rows are separate. */
.tree-leaderboard-card--scene{overflow:hidden;border-color:color-mix(in srgb,var(--card-accent) 48%,rgba(255,255,255,.06));background:#071014}
.tree-leaderboard-card--scene>header{position:relative;isolation:isolate;display:block;min-height:160px;padding:0;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.07);background:#090c0e}
.tree-leaderboard-card--scene>header>.tree-record-scene{position:absolute;inset:0;z-index:0}
.tree-card-heading{position:absolute;z-index:3;left:16px;top:14px;display:flex;align-items:center;gap:10px;max-width:62%;padding:7px 9px;border-radius:11px;background:linear-gradient(90deg,rgba(3,8,10,.88),rgba(3,8,10,.38));backdrop-filter:blur(3px)}
.tree-card-heading h4{margin:0;color:#fff;font-size:15px}.tree-card-heading p{margin:3px 0 0;color:#b0bec1;font-size:10px}.tree-card-heading .tree-leaderboard-card-icon{width:40px;height:40px;flex-basis:40px}
.tree-leaderboard-card--scene .tree-leaderboard-rows{position:relative;z-index:4;padding:7px;background:linear-gradient(180deg,rgba(5,14,17,.96),rgba(5,13,15,.99))}
.tree-leaderboard-grid--survivor .tree-leaderboard-card>header{min-height:190px}.tree-leaderboard-grid--survivor .tree-card-heading{max-width:72%}

/* Procedural apocalypse scene foundation */
.tree-record-scene{overflow:hidden;background:linear-gradient(180deg,#06080a 0%,#190b08 48%,#050809 100%);--scene:#e56b2f}
.tree-record-scene--level{--scene:#e7bd3f}.tree-record-scene--kills,.tree-record-scene--weekly{--scene:#e4442e}.tree-record-scene--playtime{--scene:#a36df0}.tree-record-scene--bloodmoon,.tree-record-scene--bloodmoonmvp{--scene:#e3423d}.tree-record-scene--deaths{--scene:#9aa8ae}.tree-record-scene--pvp{--scene:#df7b42}.tree-record-scene--achievement{--scene:#56bde3}.tree-record-scene--weapon{--scene:#e2a73e}.tree-record-scene--craft{--scene:#c89c55}.tree-record-scene--boss{--scene:#f27a2f}.tree-record-scene--animal{--scene:#74b47a}.tree-record-scene--streak{--scene:#f15f28}.tree-record-scene--efficiency{--scene:#59d8e4}.tree-record-scene--untouchable{--scene:#9085ef}.tree-record-scene--kd{--scene:#55d5db}
.tree-scene-sky{position:absolute;inset:0;background:radial-gradient(circle at 78% 28%,color-mix(in srgb,var(--scene) 25%,transparent),transparent 24%),linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.65))}
.tree-scene-moon{position:absolute;width:120px;height:120px;right:12%;top:18%;border:2px solid color-mix(in srgb,var(--scene) 55%,transparent);border-radius:50%;box-shadow:0 0 32px color-mix(in srgb,var(--scene) 23%,transparent),inset 0 0 28px rgba(0,0,0,.8);opacity:.34}
.tree-scene-ruins{position:absolute;left:0;right:0;bottom:18px;height:58px;display:flex;align-items:flex-end;gap:3%;padding:0 4%;opacity:.86}.tree-scene-ruins i{display:block;width:13%;background:#030607;clip-path:polygon(0 15%,18% 15%,18% 5%,31% 5%,31% 22%,43% 22%,43% 0,54% 0,54% 12%,70% 12%,70% 28%,82% 28%,82% 8%,100% 8%,100% 100%,0 100%)}.tree-scene-ruins i:nth-child(1){height:36%}.tree-scene-ruins i:nth-child(2){height:75%}.tree-scene-ruins i:nth-child(3){height:50%}.tree-scene-ruins i:nth-child(4){height:90%}.tree-scene-ruins i:nth-child(5){height:58%}.tree-scene-ruins i:nth-child(6){height:72%}
.tree-scene-ground{position:absolute;left:-10%;right:-10%;bottom:-18px;height:46px;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--scene) 32%,transparent),transparent 55%),#020405;transform:perspective(120px) rotateX(55deg);transform-origin:50% 0}
.tree-scene-ground:before,.tree-scene-ground:after{content:"";position:absolute;left:8%;right:8%;top:2px;height:1px;background:linear-gradient(90deg,transparent,var(--scene),transparent);box-shadow:0 12px 0 color-mix(in srgb,var(--scene) 40%,transparent),0 24px 0 color-mix(in srgb,var(--scene) 25%,transparent)}
.tree-scene-embers{position:absolute;inset:0}.tree-scene-ember{position:absolute;left:var(--x);bottom:-8px;width:var(--size);height:var(--size);border-radius:50%;background:var(--scene);box-shadow:0 0 7px var(--scene);opacity:.7;animation:treeEmberRise var(--dur) linear var(--delay) infinite}
@keyframes treeEmberRise{0%{transform:translate3d(0,8px,0);opacity:0}15%{opacity:.8}100%{transform:translate3d(18px,-180px,0);opacity:0}}

/* Unique scene objects */
.tree-scene-level{position:absolute;right:4%;bottom:25px;width:46%;height:75%}.tree-scene-level i{position:absolute;right:0;height:15%;border:2px solid color-mix(in srgb,var(--scene) 58%,transparent);border-left-width:6px;background:rgba(0,0,0,.2);box-shadow:0 0 12px color-mix(in srgb,var(--scene) 20%,transparent)}.tree-scene-level i:nth-child(1){width:92%;bottom:0}.tree-scene-level i:nth-child(2){width:72%;bottom:18%}.tree-scene-level i:nth-child(3){width:53%;bottom:36%}.tree-scene-level i:nth-child(4){width:34%;bottom:54%}.tree-scene-level b{position:absolute;right:14%;top:0;width:3px;height:34%;background:var(--scene);box-shadow:0 0 12px var(--scene);animation:treeRise 2.2s ease-in-out infinite}.tree-scene-level b:before,.tree-scene-level b:after{content:"";position:absolute;top:0;width:13px;height:3px;background:var(--scene)}.tree-scene-level b:before{right:-1px;transform:rotate(60deg);transform-origin:right}.tree-scene-level b:after{left:-1px;transform:rotate(-60deg);transform-origin:left}@keyframes treeRise{50%{transform:translateY(-9px);filter:brightness(1.5)}}
.tree-scene-skull{position:absolute;right:15%;top:31%;width:82px;height:72px;border:3px solid color-mix(in srgb,var(--scene) 75%,transparent);border-radius:48% 48% 40% 40%;box-shadow:0 0 24px color-mix(in srgb,var(--scene) 32%,transparent)}.tree-scene-skull:before,.tree-scene-skull:after{content:"";position:absolute;top:27px;width:18px;height:18px;border-radius:50%;background:var(--scene);box-shadow:0 0 14px var(--scene)}.tree-scene-skull:before{left:14px}.tree-scene-skull:after{right:14px}.tree-scene-skull b{position:absolute;left:34px;bottom:-11px;width:12px;height:20px;border:2px solid var(--scene);border-top:0}.tree-scene-slashes{position:absolute;right:3%;top:20%;width:45%;height:65%;transform:rotate(-4deg)}.tree-scene-slashes i{position:absolute;width:4px;height:120%;background:linear-gradient(transparent,var(--scene),transparent);box-shadow:0 0 10px var(--scene);transform:rotate(-44deg);animation:treeSlash 1.8s ease-in-out infinite}.tree-scene-slashes i:nth-child(1){left:25%}.tree-scene-slashes i:nth-child(2){left:50%;animation-delay:.2s}.tree-scene-slashes i:nth-child(3){left:75%;animation-delay:.4s}@keyframes treeSlash{50%{opacity:.25;transform:rotate(-44deg) translateX(12px)}}
.tree-scene-clock{position:absolute;right:5%;top:18%;width:116px;height:116px;border:3px solid var(--scene);border-radius:50%;box-shadow:0 0 25px color-mix(in srgb,var(--scene) 35%,transparent),inset 0 0 22px color-mix(in srgb,var(--scene) 14%,transparent)}.tree-scene-clock:before{content:"";position:absolute;inset:9px;border:1px dashed color-mix(in srgb,var(--scene) 75%,transparent);border-radius:50%}.tree-scene-clock b{position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px;border-radius:50%;background:var(--scene)}.tree-scene-clock i{position:absolute;left:50%;top:50%;width:3px;background:var(--scene);transform-origin:50% 100%;box-shadow:0 0 8px var(--scene)}.tree-scene-clock .h{height:31px;margin-top:-31px;animation:treeClock 22s linear infinite}.tree-scene-clock .m{height:42px;margin-top:-42px;animation:treeClock 5s linear infinite}@keyframes treeClock{to{transform:rotate(360deg)}}
.tree-scene-bloodmoon{position:absolute;right:8%;top:12%;width:132px;height:132px;border-radius:50%;background:radial-gradient(circle at 40% 40%,#ff6d43 0,var(--scene) 32%,#5b0707 69%,#170101 70%);box-shadow:0 0 34px var(--scene),0 0 85px color-mix(in srgb,var(--scene) 28%,transparent);animation:treeMoonPulse 3s ease-in-out infinite}@keyframes treeMoonPulse{50%{filter:brightness(1.28);transform:scale(1.03)}}
.tree-scene-hands{position:absolute;right:3%;bottom:20px;width:48%;height:44%}.tree-scene-hands i{position:absolute;bottom:0;width:12px;height:58px;background:#030505;border-radius:7px 7px 0 0;transform-origin:bottom}.tree-scene-hands i:before{content:"";position:absolute;left:-5px;top:-21px;width:22px;height:30px;border-radius:12px;background:#030505}.tree-scene-hands i:nth-child(1){left:20%;transform:rotate(-18deg)}.tree-scene-hands i:nth-child(2){left:52%;height:72px;transform:rotate(6deg)}.tree-scene-hands i:nth-child(3){left:78%;height:49px;transform:rotate(19deg)}
.tree-scene-graves{position:absolute;right:4%;bottom:18px;width:55%;height:64%}.tree-scene-graves i{position:absolute;bottom:0;width:28px;height:55px;background:#050708;border:2px solid color-mix(in srgb,var(--scene) 45%,transparent);border-radius:12px 12px 2px 2px}.tree-scene-graves i:before{content:"";position:absolute;left:12px;top:-14px;width:4px;height:26px;background:var(--scene);opacity:.55}.tree-scene-graves i:after{content:"";position:absolute;left:3px;top:-5px;width:22px;height:4px;background:var(--scene);opacity:.55}.tree-scene-graves i:nth-child(1){left:5%;height:48px}.tree-scene-graves i:nth-child(2){left:31%;height:70px}.tree-scene-graves i:nth-child(3){left:60%;height:58px}.tree-scene-graves i:nth-child(4){left:82%;height:43px}.tree-scene-fog{position:absolute;left:35%;right:-10%;bottom:10px;height:70px;background:radial-gradient(ellipse,rgba(195,213,219,.24),transparent 67%);filter:blur(8px);animation:treeFog 5s ease-in-out infinite alternate}@keyframes treeFog{to{transform:translateX(-30px);opacity:.45}}
.tree-scene-blades{position:absolute;right:11%;top:21%;width:115px;height:115px}.tree-scene-blades i{position:absolute;left:54px;top:0;width:8px;height:110px;background:linear-gradient(#eee,var(--scene) 50%,#241008);clip-path:polygon(45% 0,100% 82%,64% 82%,64% 100%,35% 100%,35% 82%,0 82%);filter:drop-shadow(0 0 8px var(--scene))}.tree-scene-blades i:first-child{transform:rotate(47deg)}.tree-scene-blades i:last-child{transform:rotate(-47deg)}
.tree-scene-medal{position:absolute;right:10%;top:22%;width:92px;height:92px;border:7px double var(--scene);border-radius:50%;box-shadow:0 0 30px color-mix(in srgb,var(--scene) 40%,transparent);animation:treeMedal 7s linear infinite}.tree-scene-medal:before{content:"★";position:absolute;inset:0;display:grid;place-items:center;color:var(--scene);font-size:45px;text-shadow:0 0 16px var(--scene)}.tree-scene-medal i,.tree-scene-medal b{position:absolute;bottom:-40px;width:26px;height:50px;background:linear-gradient(var(--scene),transparent);clip-path:polygon(0 0,100% 0,78% 100%,50% 78%,20% 100%)}.tree-scene-medal i{left:12px}.tree-scene-medal b{right:12px}@keyframes treeMedal{50%{filter:brightness(1.35)}}
.tree-scene-scope,.tree-scene-radar{position:absolute;right:8%;top:15%;width:128px;height:128px;border:2px solid var(--scene);border-radius:50%;box-shadow:0 0 20px color-mix(in srgb,var(--scene) 28%,transparent)}.tree-scene-scope:before,.tree-scene-radar:before{content:"";position:absolute;left:50%;top:0;width:1px;height:100%;background:var(--scene)}.tree-scene-scope:after,.tree-scene-radar:after{content:"";position:absolute;left:0;top:50%;width:100%;height:1px;background:var(--scene)}.tree-scene-scope i{position:absolute;inset:29px;border:1px dashed var(--scene);border-radius:50%}.tree-scene-radar i{position:absolute;left:50%;top:50%;width:48%;height:2px;background:linear-gradient(90deg,var(--scene),transparent);transform-origin:left;animation:treeRadar 2.4s linear infinite}.tree-scene-radar b{position:absolute;right:28px;top:38px;width:7px;height:7px;border-radius:50%;background:var(--scene);box-shadow:0 0 10px var(--scene)}@keyframes treeRadar{to{transform:rotate(360deg)}}
.tree-scene-muzzle{position:absolute;right:5%;top:48%;width:28px;height:28px;background:radial-gradient(circle,#fff 0,var(--scene) 22%,transparent 68%);animation:treeMuzzle 1.7s steps(1) infinite}@keyframes treeMuzzle{0%,86%{opacity:0}87%,92%{opacity:1}93%{opacity:0}}
.tree-scene-gear{position:absolute;border:8px dashed var(--scene);border-radius:50%;box-shadow:0 0 18px color-mix(in srgb,var(--scene) 30%,transparent);animation:treeGear 8s linear infinite}.tree-scene-gear.g1{right:14%;top:18%;width:92px;height:92px}.tree-scene-gear.g2{right:4%;top:48%;width:62px;height:62px;animation-direction:reverse;animation-duration:5s}@keyframes treeGear{to{transform:rotate(360deg)}}
.tree-scene-anvil{position:absolute;right:29%;bottom:25px;width:90px;height:24px;background:#050707;clip-path:polygon(0 0,100% 0,80% 42%,62% 42%,70% 100%,25% 100%,38% 42%,10% 42%);border-top:3px solid var(--scene)}
.tree-scene-throne{position:absolute;right:10%;bottom:20px;width:100px;height:112px;background:#050506;clip-path:polygon(24% 0,38% 15%,50% 0,63% 15%,78% 0,72% 35%,88% 50%,75% 100%,25% 100%,12% 50%,28% 35%);border-bottom:4px solid var(--scene);filter:drop-shadow(0 0 12px var(--scene))}.tree-scene-throne:before{content:"♛";position:absolute;left:31px;top:35px;color:var(--scene);font-size:38px}.tree-scene-lava{position:absolute;right:0;bottom:0;width:55%;height:26px;background:linear-gradient(90deg,transparent,var(--scene),#ffbf48,var(--scene),transparent);filter:blur(5px);opacity:.5;animation:treeLava 2s ease-in-out infinite alternate}@keyframes treeLava{to{opacity:.9;transform:scaleX(1.1)}}
.tree-scene-paws{position:absolute;right:8%;top:18%;width:120px;height:110px;transform:rotate(-20deg)}.tree-scene-paws i{position:absolute;width:38px;height:32px;border-radius:55% 55% 45% 45%;background:color-mix(in srgb,var(--scene) 70%,transparent);box-shadow:0 0 12px color-mix(in srgb,var(--scene) 28%,transparent);animation:treePaw 3.2s ease-in-out infinite}.tree-scene-paws i:before{content:"";position:absolute;left:2px;top:-17px;width:9px;height:14px;border-radius:50%;background:var(--scene);box-shadow:13px -4px 0 var(--scene),26px 1px 0 var(--scene)}.tree-scene-paws i:nth-child(1){left:0;bottom:0}.tree-scene-paws i:nth-child(2){left:48px;bottom:34px;animation-delay:.5s}.tree-scene-paws i:nth-child(3){left:8px;bottom:72px;animation-delay:1s}.tree-scene-paws i:nth-child(4){left:68px;bottom:93px;animation-delay:1.5s}@keyframes treePaw{0%,45%{opacity:.15}55%,85%{opacity:1}100%{opacity:.15}}
.tree-scene-flames{position:absolute;right:5%;bottom:17px;width:48%;height:88px}.tree-scene-flames i{position:absolute;bottom:0;width:44px;height:78px;background:linear-gradient(#ffda66,var(--scene) 38%,transparent);clip-path:polygon(50% 0,80% 42%,100% 100%,50% 80%,0 100%,20% 42%);filter:drop-shadow(0 0 9px var(--scene));animation:treeFlame 1.4s ease-in-out infinite}.tree-scene-flames i:nth-child(1){left:8%}.tree-scene-flames i:nth-child(2){left:42%;height:95px;animation-delay:.25s}.tree-scene-flames i:nth-child(3){left:72%;height:65px;animation-delay:.5s}@keyframes treeFlame{50%{transform:scaleY(.82) translateY(6px);filter:brightness(1.35) drop-shadow(0 0 12px var(--scene))}}
.tree-scene-lightning{position:absolute;right:16%;top:12%;width:95px;height:132px;background:var(--scene);clip-path:polygon(48% 0,100% 0,65% 38%,91% 38%,19% 100%,39% 55%,9% 55%);filter:drop-shadow(0 0 13px var(--scene));animation:treeBolt 2.2s steps(1) infinite}@keyframes treeBolt{0%,78%{opacity:.25}80%,86%{opacity:1}88%{opacity:.35}90%,95%{opacity:1}}
.tree-scene-shield{position:absolute;right:10%;top:15%;width:108px;height:126px;border:4px solid var(--scene);clip-path:polygon(50% 0,94% 15%,88% 68%,50% 100%,12% 68%,6% 15%);box-shadow:inset 0 0 25px color-mix(in srgb,var(--scene) 20%,transparent),0 0 22px color-mix(in srgb,var(--scene) 28%,transparent)}.tree-scene-shield:before{content:"";position:absolute;left:25%;top:24%;width:52%;height:52%;border-left:5px solid var(--scene);border-bottom:5px solid var(--scene);transform:rotate(-45deg)}

/* Hall / Stats overall apocalypse backgrounds */
.tree-player-leaderboard-pane{position:relative;background:radial-gradient(circle at 50% -12%,rgba(177,53,14,.24),transparent 34%),linear-gradient(180deg,#080806,#0b0302 58%,#05090a);isolation:isolate}
.tree-player-leaderboard-pane:after{content:"";position:fixed;pointer-events:none;left:6%;right:6%;bottom:6%;height:110px;opacity:.18;background:linear-gradient(150deg,transparent 0 18%,#000 18.4% 20%,transparent 20.4% 25%,#000 25.4% 29%,transparent 29.4% 41%,#000 41.4% 46%,transparent 46.4% 56%,#000 56.4% 60%,transparent 60.4%);z-index:-1}
.tree-leaderboard-hero{position:relative;overflow:hidden;background:linear-gradient(105deg,rgba(60,14,5,.94),rgba(9,8,7,.96));border-color:rgba(225,91,24,.48)}

/* Garage = abandoned industrial bunker */
.tree-player-garage-pane{position:relative;background:linear-gradient(180deg,#0a1113,#06090a)}.tree-garage-player-pane{background:linear-gradient(180deg,rgba(9,19,22,.97),rgba(4,9,10,.99))}.tree-garage-detail{background:radial-gradient(circle at 80% 8%,rgba(214,91,23,.10),transparent 28%),repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0 1px,transparent 1px 52px),linear-gradient(180deg,#071013,#040708)}.tree-garage-vehicle{background:linear-gradient(145deg,rgba(15,28,31,.94),rgba(6,12,14,.98));border-color:rgba(148,122,68,.22)}

/* Border browser split */
.tree-profile-border-toolbar{display:flex;gap:9px;flex-wrap:wrap}.tree-profile-border-toolbar select{min-width:170px}.tree-profile-border-choice small b{display:block;margin-bottom:2px;color:#e8b74c;font-size:8px;letter-spacing:.08em}.tree-profile-border-media video,.tree-profile-border-media img{width:100%;height:100%;object-fit:contain}

@media(max-width:900px){.tree-hof-featured-grid{grid-template-columns:1fr}.tree-hof-featured-card{min-height:245px}.tree-leaderboard-card--scene>header{min-height:145px}.tree-card-heading{max-width:78%}.tree-scene-moon{right:4%}}
@media(max-width:650px){.tree-card-heading{max-width:86%}.tree-leaderboard-grid--survivor .tree-leaderboard-card>header{min-height:165px}.tree-hof-record-value{font-size:26px}.tree-player-directory-title p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.tree-record-scene *{animation:none!important}.tree-scene-ember{display:none}}

/* ========================================================================
   2026-10-04 AUTHORITATIVE HOF / SURVIVOR VISUAL FIX
   Must remain LAST: overrides legacy !important layout rules above.
   ======================================================================== */

/* Featured Hall of Fame cards: preserve full procedural scene and never clip data. */
.tree-hof-featured-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:16px 0!important;
}
.tree-hof-featured-card{
  position:relative!important;
  isolation:isolate!important;
  display:block!important;
  min-width:0!important;
  min-height:286px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--card-accent) 72%,transparent)!important;
  border-radius:18px!important;
  background:#07090a!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 14px 28px rgba(0,0,0,.28)!important;
  text-align:left!important;
}
.tree-hof-featured-card::before{
  content:""!important;
  position:absolute!important;
  z-index:5!important;
  left:0!important;right:0!important;top:0!important;
  width:auto!important;height:3px!important;
  background:var(--card-accent)!important;
  box-shadow:0 0 15px color-mix(in srgb,var(--card-accent) 55%,transparent)!important;
  display:block!important;
}
.tree-hof-featured-card::after{display:none!important}
.tree-hof-featured-card>.tree-record-scene{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:none!important;
}
.tree-hof-featured-card>*:not(.tree-record-scene){position:relative!important;z-index:3!important}
.tree-hof-featured-label{
  position:absolute!important;
  z-index:6!important;
  left:15px!important;top:15px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  max-width:calc(100% - 30px)!important;
  padding:6px 10px!important;
  border:1px solid color-mix(in srgb,var(--card-accent) 55%,transparent)!important;
  border-radius:999px!important;
  background:rgba(3,7,9,.78)!important;
  color:#f4f6f6!important;
  backdrop-filter:blur(5px)!important;
  font-size:10px!important;
  font-weight:950!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.035em!important;
}
.tree-hof-featured-main{
  position:absolute!important;
  z-index:4!important;
  left:16px!important;
  top:61px!important;
  right:auto!important;
  bottom:auto!important;
  width:52%!important;
  min-width:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column-reverse!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  text-align:center!important;
}
.tree-hof-featured-avatar{
  display:grid!important;
  place-items:center!important;
  width:84px!important;
  min-width:84px!important;
  height:84px!important;
  margin:4px 0 0!important;
  overflow:visible!important;
}
.tree-hof-featured-copy{
  display:grid!important;
  justify-items:center!important;
  gap:3px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
.tree-hof-featured-copy>span{
  display:block!important;
  color:var(--card-accent)!important;
  font-size:9px!important;
  font-weight:1000!important;
  letter-spacing:.07em!important;
  white-space:normal!important;
}
.tree-hof-featured-copy>strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:1px 0 0!important;
  overflow:hidden!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:950!important;
  line-height:1.12!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.tree-hof-featured-copy>em,
.tree-hof-record-value{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:2px 0 0!important;
  padding:0 2px!important;
  overflow:visible!important;
  color:#fff!important;
  font-size:clamp(20px,2vw,31px)!important;
  font-style:normal!important;
  font-weight:1000!important;
  line-height:1.08!important;
  letter-spacing:-.02em!important;
  text-align:center!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-shadow:0 2px 12px rgba(0,0,0,.9)!important;
}
.tree-hof-featured-card>small{
  position:absolute!important;
  z-index:5!important;
  left:12px!important;right:12px!important;bottom:11px!important;
  display:block!important;
  margin:0!important;
  overflow:visible!important;
  color:#aab8bc!important;
  font-size:9px!important;
  line-height:1.25!important;
  text-align:center!important;
  text-overflow:clip!important;
  white-space:normal!important;
}
.tree-hof-featured-empty{
  position:absolute!important;
  z-index:4!important;
  left:16px!important;top:66px!important;
  width:48%!important;
  min-height:120px!important;
  display:grid!important;
  place-items:center!important;
  color:#8da0a5!important;
}

/* Lower Hall of Fame and Survivor Stats cards: the scene owns the whole header. */
.tree-leaderboard-card--scene{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--card-accent) 58%,rgba(255,255,255,.06))!important;
  border-radius:17px!important;
  background:#061014!important;
  background-image:none!important;
  box-shadow:0 12px 26px rgba(0,0,0,.22)!important;
}
.tree-leaderboard-card--scene::before,
.tree-leaderboard-card--scene::after{display:none!important}
.tree-leaderboard-card--scene>header{
  position:relative!important;
  isolation:isolate!important;
  display:block!important;
  min-height:182px!important;
  height:182px!important;
  padding:0!important;
  overflow:hidden!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  background:transparent!important;
  background-image:none!important;
  backdrop-filter:none!important;
}
.tree-leaderboard-card--scene>header>.tree-record-scene{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:none!important;
}
.tree-leaderboard-card--scene .tree-card-heading{
  position:absolute!important;
  z-index:6!important;
  left:14px!important;
  top:13px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:auto!important;
  max-width:68%!important;
  min-width:0!important;
  padding:7px 10px!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-radius:11px!important;
  background:linear-gradient(90deg,rgba(2,7,9,.92),rgba(2,7,9,.54),rgba(2,7,9,.1))!important;
  backdrop-filter:blur(4px)!important;
}
.tree-leaderboard-card--scene .tree-card-heading>div{min-width:0!important}
.tree-leaderboard-card--scene .tree-card-heading .tree-leaderboard-card-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 40px!important;
  width:40px!important;height:40px!important;
  border:1px solid color-mix(in srgb,var(--card-accent) 34%,rgba(255,255,255,.08))!important;
  border-radius:11px!important;
  background:rgba(9,20,24,.82)!important;
}
.tree-leaderboard-card--scene .tree-card-heading h4{
  margin:0!important;
  overflow:visible!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:950!important;
  line-height:1.18!important;
  text-overflow:clip!important;
  white-space:normal!important;
}
.tree-leaderboard-card--scene .tree-card-heading p{
  margin:3px 0 0!important;
  overflow:visible!important;
  color:#aab9bd!important;
  font-size:10px!important;
  line-height:1.3!important;
  text-overflow:clip!important;
  white-space:normal!important;
}
.tree-leaderboard-card--scene .tree-leaderboard-rows{
  position:relative!important;
  z-index:8!important;
  padding:7px!important;
  background:linear-gradient(180deg,#081419,#061014)!important;
  background-image:none!important;
  backdrop-filter:none!important;
}
.tree-leaderboard-grid--survivor .tree-leaderboard-card--scene>header{
  min-height:205px!important;
  height:205px!important;
}
.tree-leaderboard-grid--survivor .tree-card-heading{max-width:72%!important}

/* Weekly remains compact but still gets an apocalyptic strip. */
.tree-leaderboard-card--weekly>header{
  min-height:112px!important;
  height:112px!important;
}
.tree-leaderboard-card--weekly .tree-card-heading{max-width:75%!important}

/* Explicitly restore the procedural scene after legacy neutral-card rules. */
.tree-record-scene{
  position:absolute!important;
  overflow:hidden!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  background:
    radial-gradient(circle at 78% 27%,color-mix(in srgb,var(--scene) 22%,transparent),transparent 24%),
    linear-gradient(180deg,#07080a 0%,#1d0a06 47%,#050809 100%)!important;
}
.tree-record-scene .tree-scene-sky,
.tree-record-scene .tree-scene-moon,
.tree-record-scene .tree-scene-ruins,
.tree-record-scene .tree-scene-ground,
.tree-record-scene .tree-scene-embers{display:block!important;visibility:visible!important}

/* Never truncate Hall of Fame record values. */
.tree-hof-featured-card .tree-hof-record-value{
  max-height:none!important;
  text-overflow:clip!important;
  white-space:normal!important;
}

@media(max-width:1100px){
  .tree-hof-featured-grid{grid-template-columns:1fr!important}
  .tree-hof-featured-card{min-height:270px!important}
  .tree-hof-featured-main{width:48%!important}
}
@media(max-width:850px){
  .tree-leaderboard-grid,.tree-leaderboard-grid--survivor{grid-template-columns:1fr!important}
  .tree-leaderboard-card--scene>header{min-height:170px!important;height:170px!important}
  .tree-leaderboard-grid--survivor .tree-leaderboard-card--scene>header{min-height:185px!important;height:185px!important}
}
@media(max-width:560px){
  .tree-hof-featured-card{min-height:250px!important}
  .tree-hof-featured-main{left:12px!important;top:58px!important;width:58%!important}
  .tree-hof-featured-avatar{width:70px!important;min-width:70px!important;height:70px!important}
  .tree-hof-featured-copy>em,.tree-hof-record-value{font-size:22px!important}
  .tree-leaderboard-card--scene .tree-card-heading{max-width:82%!important}
}

/* 2026-10-04: keep featured Hall of Fame avatar fully inside the card. */
.tree-hof-featured-main{
  top:68px!important;
  display:block!important;
}
.tree-hof-featured-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:3px!important;
}
.tree-hof-featured-avatar{
  display:grid!important;
  place-items:center!important;
  width:66px!important;
  min-width:66px!important;
  height:66px!important;
  margin:8px auto 0!important;
  overflow:visible!important;
  flex:0 0 66px!important;
}
.tree-hof-featured-avatar .tree-profile-avatar-shell--featured{
  width:66px!important;
  height:66px!important;
  flex-basis:66px!important;
}
.tree-hof-featured-avatar .tree-profile-avatar-image{
  width:44px!important;
  height:44px!important;
}
@media(max-width:560px){
  .tree-hof-featured-main{top:62px!important}
  .tree-hof-featured-avatar{width:58px!important;min-width:58px!important;height:58px!important;flex-basis:58px!important;margin-top:6px!important}
  .tree-hof-featured-avatar .tree-profile-avatar-shell--featured{width:58px!important;height:58px!important;flex-basis:58px!important}
  .tree-hof-featured-avatar .tree-profile-avatar-image{width:39px!important;height:39px!important}
}

/* 2026-10-04: featured Hall of Fame avatar sits in the left showcase zone. */
.tree-hof-featured-main{
  left:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  pointer-events:none!important;
}
.tree-hof-featured-copy{
  position:absolute!important;
  left:35%!important;
  top:116px!important;
  width:34%!important;
  max-width:34%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:3px!important;
  overflow:visible!important;
  text-align:center!important;
}
.tree-hof-featured-avatar{
  position:absolute!important;
  left:-72%!important;
  top:10px!important;
  width:96px!important;
  min-width:96px!important;
  height:96px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
  transform-origin:center!important;
  animation:treeHofAvatarFloat 3.6s ease-in-out infinite,treeHofAvatarPulse 2.7s ease-in-out infinite!important;
  filter:drop-shadow(0 0 8px color-mix(in srgb,var(--card-accent) 50%,transparent));
}
.tree-hof-featured-avatar::before,
.tree-hof-featured-avatar::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:74px;
  height:74px;
  border:2px solid color-mix(in srgb,var(--card-accent) 72%,transparent);
  border-radius:50%;
  pointer-events:none;
  transform:translate(-50%,-50%) scale(.82);
  opacity:0;
  box-shadow:0 0 14px color-mix(in srgb,var(--card-accent) 38%,transparent);
  animation:treeHofAvatarRipple 2.8s ease-out infinite!important;
}
.tree-hof-featured-avatar::after{animation-delay:1.4s!important}
.tree-hof-featured-avatar .tree-profile-avatar-shell--featured{
  width:86px!important;
  height:86px!important;
  flex-basis:86px!important;
  transform-origin:center!important;
  animation:treeHofAvatarShellBreathe 2.7s ease-in-out infinite!important;
}
.tree-hof-featured-avatar .tree-profile-avatar-image{
  width:58px!important;
  height:58px!important;
  rotate:0deg!important;
  animation:treeHofAvatarImage 3.6s ease-in-out infinite!important;
}
@keyframes treeHofAvatarFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-7px,0)}
}
@keyframes treeHofAvatarPulse{
  0%,100%{filter:drop-shadow(0 0 6px color-mix(in srgb,var(--card-accent) 34%,transparent))}
  50%{filter:drop-shadow(0 0 19px color-mix(in srgb,var(--card-accent) 86%,transparent))}
}
@keyframes treeHofAvatarRipple{
  0%{transform:translate(-50%,-50%) scale(.72);opacity:.62}
  65%{opacity:.18}
  100%{transform:translate(-50%,-50%) scale(1.42);opacity:0}
}
@keyframes treeHofAvatarShellBreathe{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.055)}
}
@keyframes treeHofAvatarImage{
  0%,100%{scale:1}
  50%{scale:1.025}
}
@media(prefers-reduced-motion:reduce){
  .tree-hof-featured-avatar,
  .tree-hof-featured-avatar .tree-profile-avatar-shell--featured,
  .tree-hof-featured-avatar .tree-profile-avatar-image{
    animation:none!important;
  }
}
@media(max-width:1100px){
  .tree-hof-featured-copy{left:36%!important;top:110px!important;width:34%!important;max-width:34%!important}
  .tree-hof-featured-avatar{left:-78%!important;top:8px!important}
}
@media(max-width:560px){
  .tree-hof-featured-copy{left:39%!important;top:103px!important;width:42%!important;max-width:42%!important}
  .tree-hof-featured-avatar{left:-80%!important;top:7px!important;width:76px!important;min-width:76px!important;height:76px!important}
  .tree-hof-featured-avatar .tree-profile-avatar-shell--featured{width:70px!important;height:70px!important;flex-basis:70px!important}
  .tree-hof-featured-avatar .tree-profile-avatar-image{width:48px!important;height:48px!important}
}

/* Mobile avatar stacking fix ---------------------------------------------- */
@media(max-width:850px){
  .tree-profile-avatar-shell .tree-profile-avatar-image{z-index:3!important}
  #steamUserAvatarFrame #steamUserAvatar{position:relative!important;z-index:3!important}
  #steamUserAvatarBorderHost{z-index:2!important}
}

/* Responsive, locally rendered avatar frames: zero external video/image overlays. */
.tree-profile-avatar-shell.has-border{overflow:hidden!important;isolation:isolate!important;transform:translateZ(0)}
.tree-profile-avatar-shell .tree-js-avatar-border,#steamUserAvatarBorderHost .tree-js-avatar-border{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;z-index:4!important;display:block!important;overflow:visible!important;pointer-events:none!important;transform:none!important;filter:drop-shadow(0 1px 1px rgba(0,0,0,.65))}
.player-direction-avatar-shell .tree-js-avatar-border{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:4!important;pointer-events:none!important;transform:none!important;display:block!important}
.tree-profile-border-media .tree-js-avatar-border{width:100%;height:100%;display:block;pointer-events:none}
@media(max-width:850px){.tree-profile-avatar-shell .tree-js-avatar-border,#steamUserAvatarBorderHost .tree-js-avatar-border{z-index:4!important}}

.tree-js-avatar-border--animated{overflow:visible!important}
@media(prefers-reduced-motion:reduce){.tree-js-avatar-border--animated *{animation:none!important}}

/* Boss Arena records — independent leaderboard inside Players */
.tree-arena-records-pane{padding:18px 20px 32px;overflow:auto;min-height:0}
.tree-arena-record-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px;border:1px solid rgba(225,165,69,.3);border-radius:16px;background:radial-gradient(circle at 87% 25%,rgba(194,88,48,.18),transparent 40%),linear-gradient(125deg,#23302e,#0b1519 78%);margin-bottom:15px}
.tree-arena-record-hero h3{font-size:27px;color:#fff;line-height:1.15;margin:0}
.tree-arena-record-hero p{font-size:12px;color:#a7b5b6;line-height:1.5;margin:8px 0 0}
.tree-arena-record-score{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:150px;padding:12px 22px;border:1px solid rgba(237,174,68,.35);background:rgba(14,22,24,.8);border-radius:13px}
.tree-arena-record-score span,.tree-arena-record-score small{color:#dbb46e;font-size:10px;letter-spacing:.12em;font-weight:900;white-space:nowrap}
.tree-arena-record-score strong{font-size:46px;color:#ffe29b;line-height:1.12;font-weight:1000}
.tree-arena-record-section{margin-bottom:15px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(150deg,#142127,#0a1216);overflow:hidden}
.tree-arena-record-section>header{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid rgba(255,255,255,.07)}
.tree-arena-record-section h4{color:#f0eeee;margin:0;font-size:16px}
.tree-arena-record-section p{margin:5px 0 0;color:#8ea2a7;font-size:11px}
.tree-arena-record-refresh{cursor:pointer;color:#f1d29b;border:1px solid rgba(223,176,81,.35);background:rgba(223,176,81,.08);border-radius:8px;padding:9px 13px;font-weight:850}
.tree-arena-record-refresh:hover{background:rgba(223,176,81,.17)}
.tree-arena-record-holders{display:flex;flex-wrap:wrap;gap:9px;padding:16px}
.tree-arena-record-holder{display:inline-flex;align-items:center;min-height:35px;padding:7px 13px;border:1px solid rgba(237,176,87,.36);background:rgba(230,167,73,.12);border-radius:22px;color:#ffe3b4;font-size:12px;font-weight:850;overflow-wrap:anywhere}
.tree-arena-record-holder.is-empty{border-color:rgba(255,255,255,.1);color:#9aafb4;background:transparent}
.tree-arena-record-list{padding:6px 12px 12px}
.tree-arena-record-player{width:100%;display:flex;align-items:center;gap:13px;padding:10px 12px;min-height:67px;border:1px solid transparent;border-bottom-color:rgba(255,255,255,.05);background:transparent;color:#f1f4f5;text-align:left}
button.tree-arena-record-player{cursor:pointer}
button.tree-arena-record-player:hover{background:rgba(232,183,76,.07);border-color:rgba(232,183,76,.16);border-radius:10px}
.tree-arena-record-avatar{width:43px;height:43px;flex:0 0 43px}
.tree-arena-record-avatar img{width:43px;height:43px;border-radius:50%;object-fit:cover}
.tree-arena-record-name{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.tree-arena-record-name strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tree-arena-record-name small{font-size:10px;color:#8a9fa6}
.tree-arena-record-wave{display:flex;min-width:65px;align-items:center;flex-direction:column;text-align:center}
.tree-arena-record-wave strong{font-size:22px;color:#f1c46e;line-height:1}
.tree-arena-record-wave small{font-size:9px;color:#ac9b77;letter-spacing:.08em;font-weight:900}
.tree-arena-record-pages{display:flex;justify-content:center;align-items:center;gap:16px;padding:14px;border-top:1px solid rgba(255,255,255,.07);color:#9dadb0;font-size:12px}
.tree-arena-record-pages button{padding:9px 13px;background:rgba(229,177,85,.1);border:1px solid rgba(229,177,85,.25);border-radius:8px;color:#ffe3ae;cursor:pointer}
.tree-arena-record-pages button:disabled{opacity:.3;cursor:default}
@media(max-width:600px){.tree-arena-records-pane{padding:12px}.tree-arena-record-hero{align-items:stretch;flex-direction:column;padding:18px}.tree-arena-record-score{align-self:flex-start;min-width:140px}.tree-arena-record-hero h3{font-size:22px}.tree-arena-record-player{gap:9px;padding:9px 5px}}
