


































.profile-page { display: flex; flex-direction: column; gap: 15px; }







.profile-page > .panel { margin-bottom: 0; }












.profile-page .pf-account-bar { justify-content: flex-end; }







@media (max-width: 600px) {
  .profile-page .pf-account-bar { flex-direction: row; justify-content: flex-start; }
}

















.profile-page--with-nav { padding-top: 0.5em; }








.profile-page .id-hero {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 22px;
}
.profile-page .id-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 12% -20%, rgba(56, 225, 255, .14), transparent 55%);
}
.profile-page .id-top { display: flex; gap: 16px; align-items: center; position: relative; }





.profile-page .id-badge {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(56, 225, 255, .12), rgba(255, 69, 181, .10));
  border: 1px solid var(--line-2);
  color: var(--cyan);
  box-shadow: 0 0 18px rgba(56, 225, 255, .18);
}





.profile-page .id-name { margin: 0; font-size: 1.8em; font-weight: 800; line-height: 1.05; overflow-wrap: anywhere; }
.profile-page .id-login { color: var(--muted); font-size: .95em; margin-top: 2px; }
.profile-page .id-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; position: relative; }
















.profile-page .heroes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.heroes .stat-pill { position: relative; }
.heroes .stat-pill .glyph { font-size: 16px; line-height: 1; }
.profile-page .hx-magenta { color: var(--cur-hexa) !important; }
.profile-page .hx-green   { color: var(--green) !important; }







.profile-page .rank {
  font-size: var(--fs-caption);
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  white-space: nowrap;
}
.profile-page .rank.rank-1 { color: var(--rank-1); border-color: color-mix(in srgb, var(--rank-1) 50%, transparent); text-shadow: 0 0 10px rgba(94, 184, 255, .7); }
.profile-page .rank.rank-2 { color: var(--rank-2); border-color: color-mix(in srgb, var(--rank-2) 50%, transparent); text-shadow: 0 0 8px rgba(192, 200, 212, .6); }
.profile-page .rank.rank-3 { color: var(--rank-3); border-color: color-mix(in srgb, var(--rank-3) 50%, transparent); text-shadow: 0 0 8px rgba(205, 127, 50, .6); }
.heroes .stat-pill .rank { position: absolute; top: 7px; right: 7px; }










.pf-standings { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line-2); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pf-pct { font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pf-pct.c10 { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 45%, transparent); }
.pf-pct.c1 { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.pf-lead { color: var(--gold); font-weight: 600; font-size: 11px; letter-spacing: .03em; white-space: nowrap; }
.pf-small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.pf-dist { font-size: 11px; color: var(--muted); white-space: nowrap; }
.pf-dist b { color: var(--text); font-weight: 600; }
.pf-dist .a { color: var(--green); }














.profile-page .ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }






.profile-page .ach-grid[hidden] { display: none; }
.pf-ach-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(13, 19, 34, .92);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  position: relative;
  overflow: hidden;
}
.pf-ach-card.completed { border-color: var(--cyan); box-shadow: 0 0 12px rgba(56, 225, 255, .28); }
.pf-ach-card.completed::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(56, 225, 255, .3));
}
.pf-ach-top { display: flex; align-items: center; gap: 8px; }
.pf-ach-ico { color: var(--cyan); font-size: 16px; display: inline-flex; align-items: center; }
.pf-ach-ico svg { display: block; }
.pf-ach-name { font-weight: 700; font-size: .9em; }






.pf-ach-top .achievement-tier-badge { margin-left: auto; }

.pf-ach-desc { font-size: .8em; color: var(--text-dim); line-height: 1.35; margin-top: 4px; }



.profile-page .pager { display: flex; align-items: center; justify-content: center; gap: .9em; margin-top: 1em; }
.pager button {
  font: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: .2em .8em;
  font-size: 1.05em;
  font-weight: 800;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
}
.pager button:hover:not(:disabled) { border-color: var(--cyan); background: rgba(56, 225, 255, .08); }
.pager button:disabled { opacity: .3; cursor: default; color: var(--muted); }
.pager .pg-info { font-size: .8em; color: var(--muted); min-width: 6.5em; text-align: center; }




@media (max-width: 600px) {



  .profile-page .ach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .profile-page .ach-grid { grid-template-columns: repeat(1, 1fr); }
}







.profile-page .tiers { display: flex; gap: 7px; flex-wrap: wrap; }
.profile-page .maxtier { color: var(--text-dim); font-size: .8em; margin-top: 9px; }
.maxtier b { color: var(--group); }









.profile-page .wbuild {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 12px;
  background: var(--bg-2);
}
.profile-page .wbuild.equip { border-color: color-mix(in srgb, var(--yellow) 28%, transparent); }
.wbuild > summary { list-style: none; }
.wbuild > summary::-webkit-details-marker { display: none; }
.wbuild > summary::marker { content: ''; }
.wb-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 44px;
  margin: -4px -6px;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .12s ease;
}
.wb-head:hover, .wb-head:focus-visible { background: rgba(255, 255, 255, .05); }
.wb-head:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.wb-head .wg { display: inline-flex; align-items: center; justify-content: center; width: 26px; }
.wb-head b { font-size: 1.02em; }
.wb-chevron {
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .8em;
  color: var(--muted);
  transform: rotate(-90deg);
  transition: transform .15s ease;
}
.wbuild[open] > summary .wb-chevron { transform: rotate(0deg); }
.wb-eq {




  font-size: .75em;
  color: var(--yellow);
  border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent);
  border-radius: 999px;
  padding: 1px 8px;
}
.wb-summary {
  margin-left: auto;
  font-size: .78em;
  color: var(--muted);
  white-space: nowrap;
}
.wb-label { font-size: var(--fs-caption); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 12px 0 7px; display: flex; align-items: center; gap: 8px; }



.wb-label .cnt { color: var(--text); font-weight: 600; letter-spacing: 0; text-transform: none; }



.wb-invest { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 6px; }







.profile-page .wi {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  grid-template-rows: auto 4px;
  column-gap: 8px;
  row-gap: 5px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
}
.profile-page .wi-g { color: var(--magenta); display: inline-flex; grid-row: 1; }
.profile-page .wi-l { grid-row: 1; font-size: .93em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-page .wi-lv { grid-row: 1; font-size: var(--fs-caption); font-weight: 700; color: var(--magenta); font-variant-numeric: tabular-nums; }
.profile-page .wi-bar { grid-column: 1 / -1; grid-row: 2; height: 4px; border-radius: 3px; background: var(--line); overflow: hidden; }
.wi-bar i { display: block; height: 100%; background: var(--magenta); opacity: .85; }









.wb-tpl .build-stage--step.lift:hover .build-dot { transform: none; }




.wb-tpl .build-step-sub .to { color: var(--text); font-weight: 600; }



.wb-tpl .build-stage--step.skip .build-step-cost,
.wb-tpl .build-stage--step.off .build-step-cost { color: var(--muted); }


.wb-focus { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; margin-top: .55em; padding-top: .75em; border-top: 1px dashed var(--line); }
.wb-focus-lbl { font-size: var(--fs-caption); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.wb-focus .chip.sub { font-size: .76em; }






@media (max-width: 480px) {
  .wb-invest { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .wb-tpl .build-stage { padding: .7em .7em; gap: .6em; }
  .wb-tpl .build-step-cost { margin-left: 0; flex-basis: 100%; }
  .wb-tpl .bp-title { flex-basis: 100%; }
}


.profile-page .share { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.share .hint { font-size: .78em; color: var(--muted); }

@media (max-width: 640px) {



  .profile-page .heroes { grid-template-columns: repeat(2, 1fr); }
  .profile-page .id-name { font-size: 1.5em; }
  .profile-page .id-top { gap: 12px; }


  .profile-page .id-badge { width: 52px; height: 52px; }
  .id-badge svg { width: 27px; height: 27px; }
}










.push-settings .px-row {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--line);
}
.push-settings .px-row:last-of-type { border-bottom: 0; }
.px-meta { flex: 1; min-width: 0; }
.px-name { display: block; font-size: 0.92em; }
.px-desc { display: block; font-size: 0.76em; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.px-switch {
  flex: 0 0 auto;
  width: 52px;
  height: 32px;
  border-radius: 999px;
  position: relative;
  padding: 0;
}



.px-switch::before {
  content: '';
  position: absolute;
  inset: -6px 0;
}
.px-switch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--muted);
  transition: left .15s ease, background .15s ease;
}
.px-switch[aria-checked="true"] {
  border-color: var(--cyan);
  background: rgba(56, 225, 255, 0.12);
}
.px-switch[aria-checked="true"]::after { left: 26px; background: var(--cyan); }






.px-switch[aria-checked="mixed"]::after { left: 15px; }
.px-switch:disabled { opacity: .5; cursor: not-allowed; }

.px-hint {
  border-left: 3px solid var(--gold);
  background: rgba(240, 179, 80, 0.07);
  padding: 0.6em 0.8em;
  font-size: 0.82em;
  color: var(--text-dim);
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
  margin-top: 0.6em;
}











.pk-panel .pk-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.65em 0;
  border-bottom: 1px solid var(--line);
}
.pk-panel .pk-row:last-of-type { border-bottom: 0; }
.pk-ic { font-size: 1.2em; flex: 0 0 auto; }
.pk-meta { flex: 1; min-width: 0; }
.pk-name { display: block; font-size: 0.9em; }
.pk-when { display: block; font-size: 0.75em; color: var(--muted); }
.pk-this { color: var(--green); font-size: var(--fs-caption); }
.pk-revoke {
  background: none;
  border: 1px solid var(--line-2);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.3em 0.8em;
  font: inherit;
  font-size: 0.78em;
  cursor: pointer;
  min-height: 44px;
}
.pk-revoke:hover { border-color: var(--red); color: var(--red); }
.pk-revoke:disabled { opacity: .5; cursor: not-allowed; }
.pk-empty { font-size: 0.85em; color: var(--muted); line-height: 1.5; margin: 0; }
.pk-add {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 0.6em;
  background: transparent;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.85em;
  cursor: pointer;
}
.pk-add:hover { border-color: var(--cyan); color: var(--cyan); }
.pk-add:disabled { opacity: .5; cursor: not-allowed; }

.pk-reach {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5em 0.7em;
  font-size: 0.82em;
  margin-top: 1em;
}
.pk-reach dt { color: var(--muted); white-space: nowrap; }
.pk-reach dd { margin: 0; color: var(--text-dim); line-height: 1.45; }
.pk-reach .yes { color: var(--green); }
.pk-reach .no { color: var(--red); }

.pk-warn {
  border-left: 3px solid var(--gold);
  background: rgba(240, 179, 80, 0.07);
  padding: 0.7em 0.9em;
  font-size: 0.82em;
  color: var(--text-dim);
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
  margin-top: 0.7em;
}
.pk-warn b { color: var(--gold); }










.pk-ic-svg { width: 20px; height: 20px; display: block; }
.pk-ic-svg.tw { fill: var(--twitch); }
.pk-ic-svg.d { fill: var(--discord-blurple); }
.pk-ok { color: var(--green); font-size: 0.82em; white-space: nowrap; }
.pk-link {
  background: none;
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 6px;
  padding: 0.4em 1em;
  font: inherit;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.pk-link:hover { border-color: var(--cyan); color: var(--cyan); }
.pk-err {
  margin-top: 0.9em;
  padding: 0.6em 0.8em;
  border: 1px solid rgba(255, 77, 110, 0.42);
  background: rgba(255, 77, 110, 0.06);
  border-radius: 8px;
  color: var(--red);
  font-size: 0.85em;
  line-height: 1.45;
}














#purchase-history-panel .pu-badge {
  display: inline-block; font-size: var(--fs-caption); font-weight: 800; border-radius: 999px;
  padding: .15em .55em; margin-left: .4em; vertical-align: middle;
  color: var(--text); background: rgba(255,255,255,.08); border: 1px solid var(--line-2);
}
#purchase-history-panel .pu-badge--dispute { color: #201502; background: linear-gradient(135deg, var(--gold), #ffcf7d); border-color: transparent; }
#purchase-history-panel .pu-badge--settled { color: #06110a; background: var(--green); border-color: transparent; }

.pu-limit-form input[type="number"] {
  width: 110px;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4em 0.6em;
  font-size: 0.9em;
  font-family: inherit;
}
.pu-limit-form button {
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-dim);
  padding: 0.3em 1.1em;
  font: inherit;
  font-size: 0.85em;
  cursor: pointer;
}
.pu-limit-form button:hover { border-color: var(--cyan); color: var(--cyan); }







.pf-shiny-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.3em 0.2em;
  cursor: pointer;
  font-size: 0.9em;
  color: var(--text);
}
.pf-shiny-opt input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
  cursor: pointer;
}











































@media (max-width: 600px) {













  .profile-page .hs-board > .hs-scroll {
    overflow-x: visible;
    background: none;
  }
  .profile-page .hs-board .hs-table,
  .profile-page .hs-board .hs-table > tbody { display: block; }
  .profile-page .hs-board .hs-table > thead { display: none; }
  .profile-page .hs-board .hs-table tr.hs-row { display: none; }

  .profile-page .hs-board .hs-cardrow { display: block; }
  .profile-page .hs-board .hs-cardrow td {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
  }

  .profile-page .hs-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 10px 12px;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .profile-page .hs-card-rank {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    background: var(--bg-2);
    color: var(--text-dim);
  }
  .profile-page .hs-card-rank.p1 { background: var(--rank-1); color: var(--text-on-accent); }
  .profile-page .hs-card-rank.p2 { background: var(--rank-2); color: var(--text-on-accent); }
  .profile-page .hs-card-rank.p3 { background: var(--rank-3); color: var(--text-on-accent); }

  .profile-page .hs-card-mid { flex: 1 1 auto; min-width: 0; }
  .profile-page .hs-card-dmg {
    display: block;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    font-variant-numeric: tabular-nums;
  }
  .profile-page .hs-card-dmg small {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 4px;
    letter-spacing: 0.04em;
  }
  .profile-page .hs-card-meta {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-dim);
  }
  .profile-page .hs-card-meta .sep { color: var(--line-2); margin: 0 4px; }
  .profile-page .hs-card-caret {
    flex: 0 0 auto;
    width: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    transition: transform 0.18s;
  }
  .profile-page .hs-cardrow--open .hs-card-caret { transform: rotate(180deg); }

  .profile-page .hs-card-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 9px;
    font-size: 12.5px;
    color: var(--text-dim);
  }
  .profile-page .hs-card-sub svg { flex: 0 0 auto; }
  .profile-page .hs-card-top {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text);
  }
  .profile-page .hs-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px 10px;
    font-size: 11px;
    color: var(--muted);
  }



  .profile-page .hs-board .hs-cardrow--open td {
    margin-bottom: 0;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  [data-hs-js] .profile-page .hs-board .hs-details-row.is-open { display: block; }
  .profile-page .hs-board .hs-details-row > td,
  .profile-page .hs-board .hs-details-row > td.hs-details-cell {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-bottom: 8px;
    padding: 10px 12px 12px;
  }
  .profile-page .hs-board .hs-details-meta { overflow-wrap: anywhere; }
}
