#home #homeProfileButton { grid-template-rows: minmax(0, 1fr) !important; }
#home .home-profile__copy > .home-chip-rank {
  display: flex !important;
  align-items: center;
  gap: 3px;
  line-height: 1.1;
  max-width: 100%;
  color: #ffdfa4 !important;
  font-size: clamp(10px, .9vw, 13px) !important;
  letter-spacing: 0;
  white-space: nowrap;
}
#home .home-chip-rank > img {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  object-fit: contain;
}
#home .home-chip-rank > img[hidden],
#profile .chip-rank-panel [hidden] { display: none !important; }

#profile .chip-rank-panel {
  margin: 0 0 7px;
  padding: 6px 8px;
  background: #10251d;
  border: 1px solid #af9564;
  border-radius: 8px;
  color: #f8f1de;
}
#profile .chip-rank-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 9px;
}
#profile .chip-rank-summary > img {
  width: clamp(34px, 5.5vw, 57px);
  height: clamp(34px, 5.5vw, 57px);
  object-fit: contain;
}
#profile .chip-rank-summary__current { flex: 0 0 auto; }
#profile .chip-rank-summary h3 {
  margin: 0 0 1px;
  color: #d9e1d3;
  font: 700 12px/1.3 system-ui, sans-serif;
}
#profile #profileChipRank {
  color: #ffdf9d;
  font: 800 clamp(15px, 2vw, 23px)/1.18 system-ui, sans-serif;
}
#profile .chip-rank-summary__goal {
  flex: 1 1 145px;
  min-width: 0;
  max-width: 420px;
  margin-left: auto;
}
#profile .chip-rank-summary__goal p {
  margin: 0 0 3px;
  color: #f8f1de;
  font: 700 12px/1.4 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#profile .chip-rank-summary__goal progress {
  display: block;
  width: 100%;
  height: 8px;
  accent-color: #efcb88;
}
#profile .chip-rank-details { margin-top: 4px; }
#profile .chip-rank-details summary {
  display: list-item;
  padding: 4px 0;
  min-height: 25px;
  color: #f7dba3;
  cursor: pointer;
  font: 700 12px/1.4 system-ui, sans-serif;
}
#profile .chip-rank-details summary:focus-visible { outline: 2px solid #f7dba3; }
#profile .chip-rank-ladder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(105px, 100%), 1fr));
  gap: 5px;
  padding: 0;
  margin: 3px 0 0;
  list-style: none;
}
#profile .chip-rank-ladder > li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 5px 3px;
  border: 1px solid #607768;
  border-radius: 6px;
  background: #0a1d16;
  text-align: center;
  font: 600 12px/1.3 system-ui, sans-serif;
}
#profile .chip-rank-ladder > li[aria-current="true"] {
  border: 2px solid #efcb88;
  padding: 4px 2px;
  background: #2c281b;
  color: #ffe3a9;
}
#profile .chip-rank-ladder img { width: 40px; height: 40px; object-fit: contain; }
#profile .chip-rank-details > p {
  margin: 5px 0 0;
  color: #d9e1d3;
  font: 500 12px/1.4 system-ui, sans-serif;
}
@media (min-width: 780px) {
  #profile .chip-rank-ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
