/* Home achievement preview — compact, flat and theme-aware.
   The star lives here rather than beside the Dashboard shortcut. */
#rank-tab .rank-content > .rank-home-shortcuts-row {
  grid-template-columns:minmax(0,1fr)!important;
}
#rank-tab .rank-content > .rank-home-shortcuts-row > #rankLifeDashboardButton {
  grid-column:1!important;
}
#rank-tab .home-achievements {
  width:100%;
  min-width:0;
  box-sizing:border-box;
  margin:12px 0 18px;
  padding:0 13px 4px;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--theme-text,#fff);
}
#rank-tab .home-achievements-header {
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:13px 0 12px;
  border-top:1px solid rgba(171,193,222,.19);
}
#rank-tab .home-achievements-heading {display:grid;gap:4px;min-width:0}
#rank-tab .home-achievements-kicker {
  color:var(--ui-subheader,var(--theme-text-muted,#aabbd0));
  font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;
}
#rank-tab .home-achievements-heading h2 {
  margin:0!important;font-size:17px!important;line-height:1.25!important;
  font-weight:850!important;color:var(--ui-card-title,var(--theme-text,#fff))!important;
}
#rank-tab .home-achievements #rankBadgesShortcut {
  position:static!important;inset:auto!important;
  display:flex!important;flex:0 0 auto!important;
  align-items:center!important;justify-content:center!important;
  gap:7px!important;
  min-width:70px!important;min-height:37px!important;
  width:auto!important;height:37px!important;
  margin:0!important;padding:7px 10px!important;
  border:1px solid rgba(var(--theme-primary-rgb,0,212,255),.33)!important;
  border-radius:10px!important;
  background:var(--theme-secondary,#080e1b)!important;
  color:var(--ui-special-text,var(--theme-text,#fff))!important;
  -webkit-text-fill-color:currentColor!important;
  font:800 11px/1.1 system-ui,sans-serif!important;
  box-shadow:none!important;cursor:pointer!important;touch-action:manipulation;
}
#rank-tab .home-achievements #rankBadgesShortcut svg {
  flex:0 0 19px!important;width:19px!important;height:19px!important;
  fill:none!important;stroke:currentColor!important;
  stroke-width:1.9!important;stroke-linejoin:round!important;
}
#rank-tab .home-achievements #rankBadgesShortcut:focus-visible,
#rank-tab .home-achievements .home-achievement-item:focus-visible {
  outline:2px solid var(--theme-primary,#00d4ff)!important;outline-offset:2px!important;
}
#rank-tab .home-achievements #rankBadgesShortcut:active,
#rank-tab .home-achievements .home-achievement-item:active {opacity:.76}
#rank-tab .home-achievements-subhead {
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  border-top:1px solid rgba(171,193,222,.15);
  margin:8px 0 2px;padding:15px 0 5px;
  font-weight:800;font-size:12px;
  color:var(--ui-card-title,var(--theme-text,#fff));
}
#rank-tab .home-achievements-subhead small {
  color:var(--ui-card-description,var(--theme-text-muted,#aabbd0));
  font-size:10px;font-weight:700;
}
#rank-tab .home-latest-achievement,
#rank-tab .home-upcoming-achievements {display:grid;gap:0;min-width:0}
#rank-tab .home-achievements .home-achievement-item {
  display:flex!important;align-items:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  text-align:left!important;
  box-sizing:border-box!important;
  gap:11px!important;
  padding:11px 2px!important;margin:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;
  box-shadow:none!important;text-shadow:none!important;
  color:var(--theme-text,#fff)!important;
  cursor:pointer!important;
}
#rank-tab .home-upcoming-achievements .home-achievement-item+.home-achievement-item {
  border-top:1px solid rgba(171,193,222,.12)!important;
}
#rank-tab .home-achievement-icon {
  flex:0 0 37px;display:grid;place-items:center;
  width:37px;height:37px;
  border:1px solid rgba(var(--theme-primary-rgb,0,212,255),.21);
  border-radius:10px;
  background:var(--theme-secondary,#0b1220);
  color:var(--theme-primary,#00d4ff);
  font-size:19px;font-weight:850;
  overflow:hidden;
}
#rank-tab .home-achievement-icon.is-rank {background:transparent}
#rank-tab .home-achievement-icon img {
  display:block;width:100%;height:100%;object-fit:contain;
}
#rank-tab .home-achievement-copy {
  display:grid;gap:3px;flex:1;min-width:0;
}
#rank-tab .home-achievement-copy .home-achievement-eyebrow {
  font-size:10px;font-weight:750;
  color:var(--theme-primary,#00d4ff);
}
#rank-tab .home-achievement-copy strong {
  font-size:13px!important;line-height:1.25!important;
  font-weight:850!important;overflow-wrap:anywhere;
  color:var(--ui-card-title,var(--theme-text,#fff))!important;
}
#rank-tab .home-achievement-copy small {
  font-size:11px!important;line-height:1.35!important;
  color:var(--ui-card-description,var(--theme-text-muted,#aabbd0))!important;
  overflow-wrap:anywhere;
}
#rank-tab .home-achievement-chevron {
  flex:0 0 15px;font-size:23px;
  color:var(--ui-card-description,var(--theme-text-muted,#aabbd0));
}
#rank-tab .home-achievement-percent {
  font-size:12px;font-weight:850;white-space:nowrap;
  color:var(--theme-primary,#00d4ff);
  font-variant-numeric:tabular-nums;
}
#rank-tab .home-achievement-progress-track {
  width:100%;height:4px;display:block;overflow:hidden;
  border-radius:8px;margin-top:4px;
  background:rgba(var(--theme-primary-rgb,0,212,255),.13);
}
#rank-tab .home-achievement-progress-track i {
  display:block;height:100%;border-radius:inherit;
  background:var(--theme-primary,#00d4ff);
}
#rank-tab .home-achievements-empty {
  margin:8px 0 15px;
  color:var(--ui-card-description,var(--theme-text-muted,#aabbd0));
  font-size:12px;line-height:1.5;
}
@media(max-width:360px) {
  #rank-tab .home-achievements {padding-inline:9px}
  #rank-tab .home-achievements .home-achievement-item {gap:8px!important}
  #rank-tab .home-achievement-icon {flex-basis:33px;width:33px;height:33px}
}
