:root {
  --primary-color: #FF4500;
  --primary-color-hover: #E03E00;
  --secondary-color: #333;
  --secondary-color-hover: #222;
  --tertiary-color: #ccc;
  --tertiary-color-hover: #aaa;
  --quaternary-color: #f5f5f5;
  --quaternary-color-hover: #ddd;
}

/* 基本重置样式 */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}

/* 响应式布局 */
@media (max-width: 768px) {
  body {
    padding: 0 15px;
  }

  #main-container {
    width: 100%;
  }

  #left-column,
  #right-column {
    width: 100%;
    float: none;
  }
}

/* 链接样式 */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color-hover);
}

/* 按钮样式 */
.button,
input[type="submit"],
input[type="button"] {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}

.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: var(--primary-color-hover);
}

/* 页面头部样式 */
.page-header {
  background-color: #fff;
  margin-bottom: 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.site-logo {
  display: block;
  width: 180px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
}

.search-container {
  width: 60%;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
}

.search-options {
  position: relative;
  width: 100px;
  margin-right: 10px;
  cursor: pointer;
}

.current-option {
  padding: 8px 12px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
}

.option-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
}

.search-options:hover .option-list {
  display: block;
}

.option-list li a {
  display: block;
  padding: 8px 12px;
  color: #333;
}

.option-list li a:hover {
  background-color: #f5f5f5;
}

.search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 0 4px 4px 0;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-button {
  padding: 8px 16px;
  margin-left: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: var(--primary-color-hover);
}

@media (max-width: 768px) {
  .search-container {
    width: 100%;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-options {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .search-input {
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .search-button {
    width: 100%;
    margin-left: 0;
  }
}

.navigation-bar {
  background-color: var(--primary-color);
  border-radius: 4px;
}

.nav-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  padding: 10px 15px;
}

.nav-menu a {
  color: white;
}

.nav-separator {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.header-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 10px;
  border: 1px dashed var(--primary-color-hover);
  border-radius: 4px;
  margin: 15px 0;
}

.stats-count {
  font-weight: normal;
  color: #555;
}

.stats-count b {
  font-weight: bold;
  color: var(--primary-color);
}

.quick-links {
  display: flex;
  gap: 15px;
}

.quick-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

.quick-links a:hover {
  color: var(--primary-color-hover);
  text-decoration: underline;
}

.quick-links a:not(:last-child)::after {
  content: "|";
  margin-left: 15px;
  color: #ccc;
}

.quickbox {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 12px 15px;
  margin: 15px 0;
}

.quickbox strong {
  color: var(--primary-color);
  margin-right: 10px;
}

.quickbox a {
  display: inline-block;
  margin-right: 10px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.quickbox a:hover {
  color: var(--primary-color-hover);
  text-decoration: underline;
}

.content-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.left-column {
  width: 30%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.category-list {
  margin: 0;
  padding: 0;
}

.category-list dt {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.category-list dd {
  margin: 0 0 15px 0;
  padding: 0;
}

.subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subcategory-list li a {
  display: block;
  padding: 5px 10px;
  background: #f5f5f5;
  border-radius: 4px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
}

.subcategory-list li a:hover {
  background: var(--primary-color);
  color: white;
}

.latest-listings {
  margin-top: 20px;
}

.latest-listings h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.latest-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
}

.latest-list li:last-child {
  border-bottom: none;
}

.latest-list li span {
  color: #999;
  font-size: 12px;
}

.latest-list li a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.latest-list li a:hover {
  color: var(--primary-color-hover);
}

.right-column {
  width: 70%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.recommended-list,
.cool-sites,
.news-list,
.exchange-links {
  margin-bottom: 20px;
}

.recommended-list h3,
.cool-sites h3,
.news-list h3,
.exchange-links h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.recommended-list h3 span,
.cool-sites h3 span {
  flex: 1;
}

/* Site Info Page Styles */
.siteinfo {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

.siteinfo .wtitle {
  font-size: 22px;
  color: var(--secondary-color);
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.siteinfo .wtitle a {
  color: var(--primary-color);
  text-decoration: none;
}

.siteinfo .wtitle a:hover {
  color: var(--primary-color-hover);
}

.siteinfo .wdata {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0px;
}

.siteinfo .wdata li {
  color: #666;
  padding: 5px 10px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.siteinfo .wdata li em {
  font-style: normal;
  font-weight: bold;
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 3px;
}

.siteinfo .wdata li:hover {
  background-color: #f5f5f5;
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .siteinfo .wdata {
    gap: 10px;
  }
  
  .siteinfo .wdata li {
    min-width: 150px;
    padding: 5px;
    font-size: 14px;
  }
  
  .siteinfo .wdata li em {
    font-size: 16px;
  }
}

.siteinfo .params {
  margin-bottom: 15px;
  gap: 15px;
}

.siteinfo .wthumb {
  border: 1px solid #ddd;
  padding: 3px;
  border-radius: 4px;
}

.siteinfo .siteitem {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.siteinfo .siteitem li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.siteinfo .siteitem strong {
  color: var(--secondary-color);
  margin-right: 5px;
}

.siteinfo .siteitem a {
  color: var(--primary-color);
}

.siteinfo .siteitem a:hover {
  color: var(--primary-color-hover);
}

.relsite {
  clear: both;
  margin: 40px 0;
  padding: 25px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.relsite h2 {
  font-size: 22px;
  color: var(--primary-color);
  margin: 0 0 25px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
  position: relative;
}

.relsite h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 80px;
  height: 2px;
  background: var(--primary-color);
}

.rellist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px;
}

.rellist li {
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rellist li:hover {
  transform: translateY(-8px);
}

.rellist li a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.rellist li a:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.rellist li img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.rellist li a:hover img {
  border-color: var(--primary-color);
  transform: scale(1.02);
}

.rellist li strong {
  display: block;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.rellist li a:hover strong {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .rellist {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .relsite {
    padding: 20px;
    margin: 30px 0;
  }
  
  .rellist {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .rellist {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
  
  .relsite h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .rellist {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .relsite {
    padding: 15px;
  }
  
  .rellist li img {
    height: 100px;
  }
}

.rellist li a {
  display: block;
  text-decoration: none;
  color: #555;
}

.rellist li img {
  border: 1px solid #ddd;
  padding: 3px;
  border-radius: 4px;
  margin-bottom: 5px;
  transition: all 0.2s;
}

.rellist li a:hover img {
  border-color: var(--primary-color);
}

.rellist li strong {
  display: block;
  color: var(--secondary-color);
  font-weight: normal;
  transition: color 0.2s;
}

.rellist li a:hover strong {
  color: var(--primary-color-hover);
}

.bestlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bestlist li {
  width: calc(20% - 10px);
}

.bestlist li a {
  display: block;
  padding: 5px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bestlist li a:hover {
  color: var(--primary-color-hover);
  background: #f5f5f5;
  border-radius: 4px;
}

.cool-site-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cool-site-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

.cool-site-list li h4 {
  display: inline-block;
  margin: 0 10px 0 0;
  font-size: 14px;
}

.cool-site-list li .more {
  float: right;
  font-size: 12px;
  color: #999;
}

.cool-site-list li span {
  margin-right: 10px;
}

.cool-site-list li span a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.cool-site-list li span a:hover {
  color: var(--primary-color-hover);
}

.separator-line {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}

.news-items,
.exchange-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-items li,
.exchange-items li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.news-items li:last-child,
.exchange-items li:last-child {
  border-bottom: none;
}

.news-items li span,
.exchange-items li span {
  color: #999;
  font-size: 12px;
  margin-right: 10px;
}

.news-items li a,
.exchange-items li a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.news-items li a:hover,
.exchange-items li a:hover {
  color: var(--primary-color-hover);
}

.row-container {
  display: flex;
  gap: 20px;
}

.line {
  width: 1px;
  background: #eee;
}

.recent-visits {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin-bottom: 20px;
}

.recent-visits h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.recent-visits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recent-visits-list li {
  width: calc(16.66% - 10px);
}

.recent-visits-list li a {
  display: block;
  padding: 5px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-visits-list li a:hover {
  color: var(--primary-color-hover);
  background: #f5f5f5;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .header-text {
    flex-direction: column;
    gap: 10px;
  }

  .quick-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .quickbox {
    padding: 10px;
  }

  .quickbox a {
    margin-right: 8px;
    margin-bottom: 5px;
  }

  .content-container {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 20px 0;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .bestlist li {
    width: calc(50% - 10px);
  }

  .row-container {
    flex-direction: column;
  }

  .line {
    display: none;
  }

  .recent-visits-list li {
    width: calc(33.33% - 10px);
  }
}

@media (max-width: 480px) {
  .recent-visits-list li {
    width: calc(50% - 10px);
  }
}

.friend-links {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin-bottom: 20px;
}

.friend-links h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.friend-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.friend-links-list li {
  width: calc(16.66% - 10px);
}

.friend-links-list li a {
  display: block;
  padding: 5px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-links-list li a:hover {
  color: var(--primary-color-hover);
  background: #f5f5f5;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .friend-links-list li {
    width: calc(33.33% - 10px);
  }
}

@media (max-width: 480px) {
  .friend-links-list li {
    width: calc(50% - 10px);
  }
}

.footer {
  background: #f5f5f5;
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid #eee;
}

.footer-menu {
  text-align: center;
  margin-bottom: 15px;
}

.footer-menu a {
  color: #555;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.2s;
}

.footer-menu a:hover {
  color: var(--primary-color);
}

.topbar {
  background: var(--primary-color);
  color: white;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  font-size: 14px;
}

.topbar-right {
  font-size: 14px;
}

.topbar-right a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  transition: opacity 0.2s;
}

.topbar-right a:hover {
  opacity: 0.8;
}

.mainbox-left-column {
  width: 70%;
  background: #fff;
  border-radius: 4px;
}

.mainbox-right-column {
  width: 30%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.ad250x250 {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.bestart,
.bestweb {
  margin-bottom: 20px;
}

.bestart h3,
.bestweb h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.artlist_b {
  list-style: none;
  padding: 0;
  margin: 0;
}

.artlist_b li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.artlist_b li:last-child {
  border-bottom: none;
}

.artlist_b li a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.artlist_b li a:hover {
  color: var(--primary-color-hover);
}

.weblist_b {
  list-style: none;
  padding: 0;
  margin: 0;
}

.weblist_b li {
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
}

.weblist_b li:last-child {
  border-bottom: none;
}

.weblist_b li img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.weblist_b li strong {
  display: block;
  margin-bottom: 5px;
}

.weblist_b li strong a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.weblist_b li strong a:hover {
  color: var(--primary-color-hover);
}

.weblist_b li p {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.weblist_b li address {
  color: #999;
  font-size: 12px;
  font-style: normal;
}

.weblist_b li address a {
  color: var(--primary-color);
  text-decoration: none;
}

.subcate {
  margin-bottom: 20px;
}

.subcate h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.scatelist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scatelist li {
  margin-right: 15px;
}

.scatelist li a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.scatelist li a:hover {
  color: var(--primary-color-hover);
}

.scatelist li em {
  color: #999;
  font-size: 12px;
  margin-left: 5px;
}

.listbox {
  margin-top: 20px;
}

.listbox h2 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.sitelist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitelist li {
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
}

.sitelist li:last-child {
  border-bottom: none;
}

.sitelist li .thumb {
  width: 100px;
  height: 80px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 4px;
}

.sitelist li .info {
  flex: 1;
}

.sitelist li .info h3 {
  margin: 0 0 5px 0;
}

.sitelist li .info h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.sitelist li .info h3 a:hover {
  color: var(--primary-color-hover);
}

.sitelist li .info p {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.sitelist li .info address {
  color: #999;
  font-size: 12px;
  font-style: normal;
}

.sitelist li .info address a.visit {
  color: var(--primary-color);
  text-decoration: none;
}

.sitelist li .info address a.addfav {
  color: #999;
  margin-left: 10px;
}

.showpage {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.footer-text {
  text-align: center;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .mainbox-left-column,
  .mainbox-right-column {
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 20px 0;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .content-container {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  body {
    overflow-x: hidden;
    padding: 0 10px;
  }

  .topbar {
    flex-direction: column;
    gap: 5px;
    padding: 8px 10px;
  }

  .topbar-right a {
    margin-left: 5px;
    margin-right: 5px;
  }

  .row-container {
    flex-direction: column;
    padding: 0 10px;
  }

  .header-top {
    flex-direction: column;
  }

  .search-container {
    width: 100%;
    margin-top: 15px;
  }

  .nav-menu {
    flex-wrap: wrap;
  }

  .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-menu a {
    margin: 0 8px 5px;
  }
}

/* 分页容器样式 */
.showpage {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: fit-content;
  margin: 20px auto;
}

/* 总条数文本样式 */
.total_page {
  color: #666666;
  font-size: 14px;
  padding-right: 12px;
  border-right: 1px solid #eeeeee;
}

/* 页码通用样式 */
.current,
.pages,
.next_page,
.last_page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 当前页码样式 */
.current {
  background-color: var(--primary-color);
  color: var(--quaternary-color);
  font-weight: 500;
}

/* 普通页码样式 */
.pages {
  color: #333333;
  border: 1px solid #eeeeee;
}

/* 普通页码悬停效果 */
.pages:hover {
  background-color: #f5f7fa;
  border-color: #e5e6eb;
  color: var(--primary-color);
}

/* 下一页、尾页样式 */
.next_page,
.last_page {
  color: #333333;
  border: 1px solid #eeeeee;
}

/* 下一页、尾页悬停效果 */
.next_page:hover,
.last_page:hover {
  background-color: #f5f7fa;
  border-color: #e5e6eb;
  color: var(--primary-color);
}

/* 适配小屏幕 */
@media (max-width: 576px) {
  .mainbox-right-column{
    width: 100%;
  }
  .showpage {
    gap: 4px;
    padding: 8px 12px;
  }

  .total_page {
    font-size: 12px;
    padding-right: 8px;
  }

  .current,
  .pages,
  .next_page,
  .last_page {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}
.topsite {
		background: #fff;
		border: 1px solid #e1e1e1;
		border-radius: 4px;
		padding: 15px;
		margin-bottom: 15px;
		box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	}
	.topsite h3 {
		font-size: 16px;
		color: #333;
		margin: 0 0 10px 0;
		padding-bottom: 8px;
		border-bottom: 1px solid #eee;
	}
	.toplist {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.toplist li {
		padding: 5px 0;
		border-bottom: 1px dashed #f0f0f0;
	}
	.toplist li:last-child {
		border-bottom: none;
	}
	.toplist li span {
		color: #999;
		margin-right: 5px;
	}
	.toplist li a {
		color: #333;
		text-decoration: none;
	}
	.toplist li a:hover {
		color: #06c;
	}
	.toplist li em a {
		color: #666;
		font-style: normal;
	}
	.toplist li em a:hover {
		color: #f60;
	}