/* ===== Root + cursors ===== */
:root {
  --pink: pink;
}

html {
  height: 100%;
  width: 100%;
  margin: 0;
}


/* ===== Fade-in ===== */
html body {
  width: 100%;
  margin: 0;
}


/* ===== Typography helpers ===== */
.pixel {
  font-family: 'Pixelify Sans','Merriweather', Arial;
}

/* ===== Footer ===== */
html body #copyright {
  height: 100%;
  width: 100%;
  margin-bottom: 10px;
  font-family: 'Pixelify Sans','Consolas';
  font-weight: 100;
  color: grey;
  text-align: center;
}

/* ===== Rules & Lists ===== */
hr { border-top: 1px dashed grey; }
ul { list-style-type: circle; }

/* ===== Expandable sections (hidden by default) ===== */
#li1b, #li2b, #li3b,
#li-upenn-b, #li-umich-b {
  display: none;
}

/* ===== Link colors (match mystyle.css pink) ===== */
.back-research a:link,
.back-research a:visited {
  color: var(--pink);
  text-decoration: none;
}

.back-research a:hover,
.back-research a:active {
  color: white;
  background: var(--pink);
  text-decoration: none;
  border-radius: 5px;
}

#back-research {
  padding: 10px;
  box-sizing: border-box;
}

#research-wrapper {
  /* Firefox 自定义滚动条：thumb 颜色 + 轨道底色（不透明） */
  scrollbar-color: lightgray #ffffff; /* thumb / track */
  scrollbar-width: thin;               /* 可选：细一点 */
}

/* WebKit 系（Chrome/Edge/Safari） */
#research-wrapper::-webkit-scrollbar {
  width: 6px;               /* 可选：滚动条宽度 */
}

#research-wrapper::-webkit-scrollbar-track {
  background: #ffffff;        /* 轨道底色：不透明白色 */
  border-radius: 6px;
}

#research-wrapper::-webkit-scrollbar-thumb {
  background: lightgray;    /* 拇指颜色：沿用你的粉色 */
  border-radius: 6px;
  border: 2px solid #ffffff;  /* 留出内边界，看起来更干净 */
}

#research-wrapper::-webkit-scrollbar-thumb:hover {
  filter: brightness(0.9);    /* 可选：悬停微暗 */
}
