/* 现代CSS样式文件 - 适用于旧HTML文件优化 */

body {
  background-color: #000000;
  background-image: url('../images/stars3.gif');
  color: #FFFFFF;
  font-family: '宋体', 'SimSun', serif;
  margin: 0;
  padding: 0;
}

a {
  color: #EEEEEE;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #FFFFCC;
}

a:active {
  color: #FFFFCC;
}

a:visited {
  color: #FFFFCC;
}

.ourfont {
  font-size: 9pt;
  line-height: 13pt;
}

/* 表格样式 */
table {
  border-spacing: 0;
  border-collapse: collapse;
}

td {
  padding: 3px;
}

/* 浮动元素样式 */
#floater {
  position: fixed;
  cursor: grab;
  transition: transform 0.2s ease;
  z-index: 10;
}

#floater:hover {
  cursor: pointer;
}

#floater img {
  border-radius:   50%;
  box-shadow: 0 4px 8px rgba(255, 128, 64, 0.3);
}

/* 文本样式 */
.font-color-white {
  color: #FFFFFF;
}

.font-color-ffcccc {
  color: #FFCCCC;
}

.font-color-ff0080 {
  color: #FF0080;
}

.font-color-c0c0c0 {
  color: #C0C0C0;
}

/* 文章内容样式 */
article-content {
  line-height: 150%;
  letter-spacing: 1.0pt;
}

/* 导航栏样式 */
.navigation {
  font-size: 12px;
}

/* 移除过时的滚动条样式 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #4B4B4B;
}

::-webkit-scrollbar-thumb {
  background: #404040;
}

::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

/* 移动设备适配 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
  }
  
  td {
    padding: 5px;
  }
  
  #floater {
    position: relative;
    left: auto;
    top: auto;
    margin: 20px auto;
  }
}