/*小政导航网*/
/*源码购买联系QQ 1197025959*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes textGradient {
  0% { background: linear-gradient(to right, #666, #ff6b6b, #4ecdc4, #45b7d1, #666); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; background-position: 0% 50%; }
  100% { background: linear-gradient(to right, #666, #ff6b6b, #4ecdc4, #45b7d1, #666); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; background-position: 100% 50%; }
}

@keyframes borderGradient {
  0% {
    border-color: #ff6b6b;
  }
  25% {
    border-color: #4ecdc4;
  }
  50% {
    border-color: #45b7d1;
  }
  75% {
    border-color: #96c93d;
  }
  100% {
    border-color: #ff6b6b;
  }
}

@keyframes iconRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes titleGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #faf8f5;
  font-family: "Microsoft YaHei UI", Roboto, Noto, Helvetica, Arial, sans-serif;
  cursor: url(/assets/cur/blue1_d.cur), auto;
  font-size: 14px;
  line-height: 1.42857143;
  color: #666;
  padding: 0;
  margin: 0;
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

input, button, select {
  outline: none;
  border: none;
}

a {
  color: #333;
  text-decoration: none;
  -webkit-transition: color .3s;
  -moz-transition: color .3s;
  -o-transition: color .3s;
  transition: color .3s;
}

a:hover {
  color: #ff7f00;
  text-decoration: none;
  cursor:url(/assets/cur/blue1_h.cur),auto;
}

p {
  margin: 15px;
}

::-moz-selection {
  background: #ff7f00;
  color: #fff;
}

::selection {
  background: #ff7f00;
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px!important;
}

::-webkit-scrollbar-track {
  background: #dddddd!important;
}

::-webkit-scrollbar-thumb {
  background: #1e9fff!important;
  border-radius: 2px!important;
}
::-webkit-scrollbar-thumb:hover {
  background: #31bdec!important; 
}
.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.header + .container {
  margin-top: 60px;
}

@media (max-width: 1300px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 991px) {
  .container {
    width: 98%;
  }
}

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

  .header + .container {
    margin-top: 50px;
  }
  

}

.header {
  position: fixed;
  display: flex;
  width: 100%;
  height: 70px;
  top: 0;
  left: 0;
  font-size: 0;
  background: transparent;
  z-index: 999;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.header.fixed {
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px #ddd;
}

@media (min-width: 767px) {
  .header.fixed {
    height: 55px;
  }

  .header.fixed a {
    color: #666;
  }

  .nav-bar {
    display: none;
  }
}

@media (max-width: 767px) {
  .header {
    height: 55px;
  }
}

.nav-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 1000;
  cursor: pointer;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: transform .3s;
  -moz-transition: transform .3s;
  -o-transition: transform .3s;
  transition: transform .3s;
}

.nav-bar.active {
  -webkit-transform: rotateZ(90deg) scale(0.8);
  -moz-transform: rotateZ(90deg) scale(0.8);
  -o-transform: rotateZ(90deg) scale(0.8);
  transform: rotateZ(90deg) scale(0.8);
}

.nav-bar span {
  position: absolute;
  left: 0;
  right: 0;
  margin: 24px auto;
  width: 25px;
  height: 2px;
  background: #F44336;
  border-radius: 25px;
}

.nav-bar span::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 0;
  width: 16px;
  height: 2px;
  background: #2196F3;
  border-radius: 25px;
}

.nav-bar span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 16px;
  height: 2px;
  background: #FF9800;
  border-radius: 25px;
}

.logo {
  display: inline-flex;
  justify-content: center;
  height: 60px;
  width: 150px;
  padding: 8px 0;
}

.logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform-origin: 50% 0%;
}

.logo:hover img {
  animation: logo-swing 1.4s ease-in-out 0s infinite alternate;
}

@keyframes logo-swing {
  0%   { transform: rotate(2deg); }
  50%  { transform: rotate(-2deg); }
  100% { transform: rotate(2deg); }
}

.logo .logo-dark {
  display: block;
}
.logo .logo-light {
  display: none;
}
body.dark-mode .logo .logo-dark {
  display: none;
}
body.dark-mode .logo .logo-light {
  display: block;
}

@media (max-width: 767px) {
  .logo {
    display: flex;
    margin-left: 10px;
    height: 48px;
    padding: 10px 0;
  }
  .logo:hover img {
    animation: none;
    transform: none;
  }
}

.nav {
  display: flex;
  margin-left: 20px;
  font-size: 14px;
  float: right;
}

.nav li {
  position: relative;
}

.nav.show li {
  -webkit-transform: translateX(-105%);
  -moz-transform: translateX(-105%);
  -o-transform: translateX(-105%);
  transform: translateX(-105%);
}

.nav.show li:nth-child(even) {
  transition-duration: .4s;
}

.nav li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  left: 50%;
  bottom: 0;
  background: #ff7f00;
  border-radius: 4px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.nav li.active::after,
.nav li:hover::after {
  width: 100%;
  margin-left: -50%;
}

.nav li a {
  display: inline-block;
  color: #eee;
  padding: 0 12px;
  height: 55px;
  line-height: 55px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

@media (max-width: 767px) {
  .nav {
    flex-direction: column;
    position: fixed;
    top: 52px;
    right: 0;
    float: none;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    text-align: right;
    z-index: 999;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
  }

  .nav.show {
    opacity: 1;
    visibility: visible;
  }

  .nav li {
    right: -105%;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
  }

  .nav li::after {
    display: none;
  }

  .nav li a {
    padding: 8px 8px 8px 15px;
    font-size: 14px;
    color: #666;
    height: auto;
    line-height: normal;
    margin: 3px 0;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 8px #ccc;
    border-radius: 25px 0 0 25px;
  }

  .nav li a:hover, .nav li a.active {
    color: #fff;
    background: #ff7f00;
    box-shadow: 0 0 8px #ff7f00;
  }
}

@media (min-width: 767px) {
  .transparent-mark {
    display: none;
  }
}

.transparent-mark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .banner {
    height: 180px;
    padding-top: 25px;
  }
}
.sort {
  position: fixed;
  top: 50%;
  left: 0;
  width: 32px;
  margin: 0;
  border-radius: 8px;
  z-index: 998;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.sort li {
  position: relative;
  margin: 4px 0;
}

.sort li a {
  position: relative;
  display: inline-block;
  height: 32px;
  text-align: right;
  background: rgba(255, 255, 255, .85);
  padding: 6px 8px 6px 6px;
  box-shadow: 0 0 8px #ccc;
  border-radius: 0 25px 25px 0;
  white-space: nowrap;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  -webkit-transform: translateX(-100%) translateX(30px);
  -moz-transform: translateX(-100%) translateX(30px);
  -o-transform: translateX(-100%) translateX(30px);
  transform: translateX(-100%) translateX(30px);
}

.sort li a:hover, .sort li a.active {
  color: #fff;
  background: #ff7f00;
}

.sort li a:hover {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}

.sort li.sort-item-child {
  margin-left: 1em;
}

#main {
  float: left;
  width: calc(100% - 300px);
}

#main > .card[id] {
  scroll-margin-top: 80px;
}

@media (max-width: 991px) {
  #main {
    width: 100%;
  }
}

#side {
  float: left;
  width: 300px;
  padding-top: 8px;
  padding-right: 8px;
}

#side .card {
  margin: 0 0 8px;
}

@media (max-width: 991px) {
  #side {
    width: 100%;
    padding: 0;
  }

  #side .card {
    margin: 5px;
  }
}

.card {
  position: relative;
  background: #fff;
  box-shadow: 0 0 8px #ccc;
  border-radius: 5px;
  margin: 8px;
  overflow: hidden;
}

.card .card-head {
  font-size: 15px;
  font-weight: 700;
  padding: 12px 15px;
  border-bottom: 1px solid #d0d0d0;
  background: linear-gradient(135deg, #e8f0fe 0%, #d6e5fc 50%, #c5daf9 100%);
  position: relative;
  overflow: hidden;
}
.card .card-head::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: card-head-sweep 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes card-head-sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

.card .card-head > * {
  position: relative;
  z-index: 1;
}
.card .card-head i {
  margin-right: 6px;
}

.card .card-head .more {
  position: absolute;
  right: 8px;
  color: #666;
  cursor: url(/assets/cur/blue1_h.cur), pointer;
}

.card .card-body {
  padding: 8px;
  font-size: 0;
}

.card .card-body > * {
  font-size: 14px;
}
/* 包着文章列表时缩小与容器的距离 */
.card-body:has(> .article-grid) {
  padding: 0;
}

/* 首页分类：父级标题行右侧 = 子分类横向标签，简洁优化版 */
.sort-card-head.sort-card-head-with-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-right: 36px;
}
.sort-card-head-with-tabs .sort-card-head-title {
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.sort-card-head-with-tabs .sort-tabs-wrap {
  flex: 1;
  min-width: 0;
  margin-right: 8px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(0,0,0,.06);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sort-card-head-with-tabs .sort-tabs-wrap::-webkit-scrollbar {
  display: none;
}
.sort-card-head-with-tabs .sort-tab {
  flex-shrink: 0;
}
.sort-tab {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: #777;
  text-decoration: none;
  border-radius: 4px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.sort-tab:not(:last-child) {
  margin-right: 2px;
}
.sort-tab:hover {
  color: #333;
  background: rgba(0,0,0,.05);
}
.sort-tab.active {
  color: #2563eb;
  font-weight: 600;
  background: rgba(37,99,235,.09);
  box-shadow: 0 0 0 1px rgba(37,99,235,.12);
}
.sort-tab-more {
  margin-left: 2px;
  font-size: 12px;
  color: #2d8cf0;
  cursor: pointer;
}
.sort-tab-more:hover {
  background: transparent;
  color: #1a6fd6;
}

.card .card-body.content {
  font-size: 14px;
}

.card .card-body.content img {
  max-width: 100%;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .card {
    margin: 5px;
  }

  .card .card-head {
    font-size: 14px;
    padding: 10px 12px;
  }

  .card .card-body.content {
    font-size: 13px;
  }

  /* 首页二级分类：移动端单行横向滚动，多了可左右滑 */
  .sort-card-head.sort-card-head-with-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow: visible;
  }
  .sort-card-head-with-tabs .sort-tabs-wrap {
    margin-right: 0;
    margin-left: 0;
    padding-left: 0;
    padding-top: 8px;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,.06);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 0 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    touch-action: pan-x;
  }
  .sort-card-head-with-tabs .sort-tab {
    flex-shrink: 0;
  }
  .sort-card-head-with-tabs .sort-tabs-wrap {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .sort-card-head-with-tabs .sort-tabs-wrap::-webkit-scrollbar {
    display: none;
  }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 6px;
  background: transparent;
  border-radius: 8px;
  margin: 0;
}

.article-grid .post-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 6px;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
  color: #333;
}
.article-grid .post-item:hover {
  border-color: rgba(0,0,0,0.12);
  background: #fff;
  color: #333;
  transform: none;
}

.article-grid .post-item .pic,
.article-grid .post-item.side .pic {
  flex: none;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 58%;
  position: relative;
  overflow: hidden;
  background: #e8e9eb;
}

.article-grid .post-item .pic::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.03), transparent);
  pointer-events: none;
}
.article-grid .post-item .pic img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 6px 6px 0 0;
  transition: transform 0.4s ease;
}
.article-grid .post-item:hover .pic img {
  transform: scale(1.05);
}
.article-grid .post-item .text {
  flex: 1;
  min-width: 0;
  margin-left: 0;
  padding: 0;
  justify-content: stretch;
  gap: 0;
  border-top: 1px solid #eee;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.article-grid .post-item .title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 10px 10px;
  letter-spacing: 0.01em;
  margin: 0;
}
.article-grid .post-item:hover .title {
  color: #0066cc;
  font-weight: 600;
  animation: none;
}

.article-grid .post-item .info {
  font-size: 11px;
  color: #999;
  margin: 0;
  padding: 10px 10px 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}
.article-grid .post-item .info i {
  opacity: 0.85;
  margin-right: 4px;
}
.article-grid .post-item:hover .info {
  color: #ff7f00;
  background: #fef8f3;
  border-top-color: #f5e6dc;
}
/* 榜单模式：序号叠在封面左上角 */
.article-grid .post-item.ranking {
  position: relative;
}
.article-grid .post-item.ranking .rank {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  transform: translateY(0);
  z-index: 2;
}

@media screen and (max-width: 992px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 4px;
  }
  .article-grid .post-item .text {
    padding: 14px 18px 18px;
  }
  .article-grid .post-item .title {
    font-size: 15px;
  }
}
@media screen and (max-width: 576px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 4px;
  }
  .article-grid .post-item .pic,
  .article-grid .post-item.side .pic {
    padding-bottom: 56%;
  }
  .article-grid .post-item .text {
    padding: 8px 6px 8px;
  }
  .article-grid .post-item .title {
    font-size: 13px;
  }
  .article-grid .post-item .info {
    font-size: 10px;
    padding: 4px 6px 6px;
  }
}

.board {
  display: flex;
  height: 44px;
  padding: 12px 8px;
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.board .icon {
  margin: 0 8px 0 4px;
}

.board span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-item {
  display: inline-block;
  width: calc(14.2857143% - 4px);
  color: #666;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  margin: 2px;
  background: #fff;
  box-sizing: border-box;
  border: 1px solid transparent;
}

.site-item.top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #ff0000;
  position: relative;
}

.site-item.side {
  width: 50%;
}

.site-item:hover {
  color: #666;
  font-weight: 600;
  background: #eee;
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
  border: 1px solid #e0e0e0;
  animation: borderGradient 3s linear infinite;
}

.site-item:hover .name {
  animation: textGradient 4s linear infinite;
}

.site-item .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.site-item.top .icon {
  width: 30px;
  height: 30px;
}

.site-item:hover .icon {
  -webkit-transform: rotateZ(360deg);
  -moz-transform: rotateZ(360deg);
  -o-transform: rotateZ(360deg);
  transform: rotateZ(360deg);
}

.site-item .icon img {
  width: 100%;
  height: 100%;
  vertical-align: top;
  border-radius: 10px;
}

.site-item.top .name {
  width: 100%;
  min-width: 0;
  text-align: center;
  margin-top: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-item.top .top-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 4px;
  font-size: 11px;
  line-height: 1.4;
  color: #8a4b00;
  background: linear-gradient(135deg, #ffe9b3, #ffd27f);
  border-radius: 6px;
  border: 1px solid #ffc766;
  box-shadow: 0 0 2px rgba(255,199,102,0.5);
}

/* 最新点入/点出切换标签 */
.latest-tabs {
  display: inline-block;
  margin-left: 8px;
}
.latest-tab {
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}
.latest-tab.active {
  font-weight: 600;
  color: #3497FC;
  border-bottom: 2px solid #3497FC;
}
.latest-desc {
  margin-left: auto;
  font-size: 12px;
  color: #999;
}

/* 今日热门站点横条：一行六个，左右间距一致 */
.hot-sites-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 4px 0;
}
.hot-site-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f5f7ff;
  font-size: 12px;
  color: #555;
  max-width: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid rgba(111,144,255,0.15);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.hot-site-item:hover {
  background: #e9f0ff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.hot-site-item--rank-1 { box-shadow: inset 3px 0 0 0 #e6a23c; }  /* 金 */
.hot-site-item--rank-2 { box-shadow: inset 3px 0 0 0 #909399; }  /* 银 */
.hot-site-item--rank-3 { box-shadow: inset 3px 0 0 0 #b8860b; }  /* 铜 */
.hot-site-item--rank-4 { box-shadow: inset 3px 0 0 0 #67c23a; }  /* 翠绿 */
.hot-site-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 6px;
  background: #fff;
}
.hot-site-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hot-site-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hot-site-text .name {
  max-width: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-site-text .metric {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
  min-width: 4.2em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .hot-sites-strip,
  .fast-sites-card .hot-sites-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-site-text .name {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 1300px) {
  .site-item {
    width: calc(16.6666667% - 4px);
  }

  .site-item.top {
    width: 14.2857143%;
  }
}

@media (max-width: 767px) {
  .site-item {
    width: calc(33.3333333% - 4px);
  }

  .site-item.top {
    width: calc(25% - 4px);
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .site-item {
    width: calc(33.3333333% - 4px);
    font-size: 13px;
  }

  .site-item.top {
    width: calc(25% - 4px);
    min-width: 0;
    padding: 10px 5px;
    font-size: 13px;
  }

  .site-item .name {
    line-height: 20px;
  }

  .site-item.top .name {
    min-width: 0;
  }

  .site-item.top .icon {
    width: 25px;
    height: 25px;
  }
}

.card-body:has(> .site-item-row) {
  padding: 4px !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  box-sizing: border-box;
}
.card-body:has(> .sort-panel) {
  padding: 4px !important;
}
.sort-panel:has(.site-item-row) {
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  box-sizing: border-box;
}
.sort-panel[style*="display:none"]:has(.site-item-row),
.sort-panel[style*="display: none"]:has(.site-item-row) {
  display: none !important;
}
.site-item-row {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  white-space: normal !important;
  box-sizing: border-box;
  position: relative;
}
.site-item-row .icon {
  flex-shrink: 0;
  width: 36px !important;
  height: 36px !important;
  margin-right: 10px;
  border-radius: 8px;
}
.site-item-row .site-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
}
.site-item-row .name {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0 !important;
}

.site-item-row .site-tags {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.site-tag {
  display: inline-block;
  padding: 1px 5px;
  font-size: 11px;
  line-height: 1.4;
  border-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 0;
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 0 2px rgba(0,0,0,0.25);
}
.site-item-row:hover .site-tag {
  color: #ffffff !important;
}
.site-tag-new {
  background-color: #4caf50;
}
.site-tag-hot {
  background-color: #ff5722;
}
.site-tag-rec {
  background-color: #3f51b5;
}
.site-item-row .desc {
  font-size: 11px;
  color: #999;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-item-row .site-item-go {
  flex-shrink: 0;
  color: #ccc;
  font-size: 16px;
  margin-left: 4px;
  transition: color 0.2s ease;
}
.site-item-row:hover {
  background: #f8f8f8 !important;
  transform: none !important;
  border-color: #e8e8e8 !important;
}
.site-item-row:hover .site-item-go {
  color: #007bf5;
}

#panel-latest-in:has(.site-item-row),
#panel-latest-out:has(.site-item-row) {
  padding: 4px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .card-body:has(> .site-item-row),
  .sort-panel:has(.site-item-row) {
    grid-template-columns: repeat(5, 1fr);
  }
  #panel-latest-in:has(.site-item-row),
  #panel-latest-out:has(.site-item-row) {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 767px) {
  .card-body:has(> .site-item-row),
  .sort-panel:has(.site-item-row) {
    grid-template-columns: repeat(2, 1fr);
  }
  #panel-latest-in:has(.site-item-row),
  #panel-latest-out:has(.site-item-row) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.site-ranking {
  display: flex;
  align-items: center;
  padding: 6px;
  line-height: 25px;
  font-size: 14px;
  color: #666;
  border-radius: 6px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  border: 1px solid transparent;
  margin: 2px;
  background: #fff;
  box-sizing: border-box;
}

.site-ranking:hover {
  color: #666;
  background: #eee;
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
  border: 1px solid #e0e0e0;
  animation: borderGradient 3s linear infinite;
}

.site-ranking .rank {
  display: inline-block;
  vertical-align: middle;
  font-style: normal;
  margin-right: 10px;
  background: #f3f3f3;
  width: 28px;
  min-width: 28px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 20%;
  font-size: 14px;
  margin-top: -2px;
  flex-shrink: 0;
}

.site-ranking:nth-child(1) .rank,
.site-ranking:nth-child(2) .rank,
.site-ranking:nth-child(3) .rank {
  font-size: 0;
  width: 28px;
  min-width: 28px;
  height: 28px;
  line-height: 28px;
  background-color: transparent;
  background-size: 85%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.site-ranking:nth-child(1) .rank {
  background-image: url('../images/rank_1.png');
}

.site-ranking:nth-child(2) .rank {
  background-image: url('../images/rank_2.png');
}

.site-ranking:nth-child(3) .rank {
  background-image: url('../images/rank_3.png');
}
.site-ranking:nth-child(4) .rank {
    background-color:#ff2a2a;color:#fff
}
.site-ranking:nth-child(5) .rank {
    background-color:#ff7171;color:#fff
}
.site-ranking:nth-child(6) .rank {
    background-color:#f90;color:#fff
}
.site-ranking:nth-child(7) .rank {
    background-color:#fc0;color:#fff
}
.site-ranking .icon {
  flex: none;
  width: 20px;
  height: 20px;
  line-height: 20px;
  margin-right: 4px;
}

.site-ranking .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.site-ranking .name {
  flex: auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: normal;
  transition: all .3s;
}

.site-ranking:hover .name {
  font-weight: 600;
  animation: textGradient 4s linear infinite;
}

.site-ranking .view {
  flex: none;
  color: #64B5F6;
  font-size: 15px;
  font-style: italic;
  border-radius: 4px;
  margin-right: 6px;
  transition: all .3s;
}

.site-ranking:hover .view {
  color: #ff7f00;
}

.post-item {
  display: inline-flex;
  width: 50%;
  color: #555;
  font-size: 14px;
  padding: 8px;
  border-radius: 8px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  border: 1px solid transparent;
}

.post-item:hover {
  color: #555;
  background: #eee;
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
  border: 1px solid #e0e0e0;
  animation: borderGradient 3s linear infinite;
}

.post-item .title {
  font-weight: normal;
  transition: all .3s;
}

.post-item:hover .title {
  font-weight: 600;
  animation: textGradient 4s linear infinite;
}

.post-item .info {
  color: #64B5F6;
  transition: all .3s;
}

.post-item:hover .info {
  color: #ff7f00;
}

.post-item.side {
  width: 100%;
}

.post-item .pic {
  flex: none;
  width: 120px;
  height: 85px;
  position: relative;
}

.post-item.side .pic {
  width: 80px;
  height: 60px;
}

.post-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.post-item .post-top-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1px 4px;
  font-size: 11px;
  line-height: 1.4;
  color: #fff;
  background: linear-gradient(135deg, #ff5252, #ff9800);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.post-item .text {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 10px;
  padding: 4px 0;
}

.post-item.side .text {
  padding: 0;
}

.post-item .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 15px;
  height: 2.85714286em;
}

.post-item.side .title {
  font-size: 14px;
}

.post-item .info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #888;
  font-size: 12px;
}

.post-item.side .info {
  font-size: 9px;
}

.post-item.ranking {
  position: relative;
  padding-left: 30px;
}

.post-item.ranking .rank {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 25px;
  height: 25px;
  text-align: center;
  z-index: 1;
  transform: translateY(-50%);
}

.post-item.ranking:nth-child(1) .rank {
  font-size: 0;
  background: url("../images/rank_1.png") no-repeat 50% 50%/85%;
}

.post-item.ranking:nth-child(2) .rank {
  font-size: 0;
  background: url("../images/rank_2.png") no-repeat 50% 50%/85%;
}

.post-item.ranking:nth-child(3) .rank {
  font-size: 0;
  background: url("../images/rank_3.png") no-repeat 50% 50%/85%;
}

@media (max-width: 767px) {
  .post-item {
    width: 100%;
  }

  .post-item .pic {
    width: 95px;
    height: 70px;
  }
}

.post-info {
  display: flex;
  justify-content: space-around;
  color: #888;
  font-size: 13px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #eee;
}

.site-main {
  display: inline-block;
  width: calc(100% - 280px);
  padding: 5px;
  font-size: 14px;
  vertical-align: top;
}

.site-main .title {
  display: block;
  font-weight: 600;
  font-size: 22px;
  line-height: normal;
  text-align: center;
  padding-bottom: 0;
}

.site-main span {
  line-height: 42px;
  padding: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}

.site-main img {
  vertical-align: middle;
  margin-top: -4px;
}

@media (max-width: 1300px) {
  .site-main span {
    line-height: 32px;
    padding: 6px;
  }
}

@media (max-width: 767px) {
  .site-main {
    width: 100%;
    font-size: 13px;
  }

  .site-main .title {
    width: 50%;
    padding-top: 0;
    font-size: 18px;
    line-height: 32px;
  }

  .site-main span {
    line-height: 26px;
    padding: 4px;
  }
}

.site-side {
  float: left;
  width: 280px;
  padding: 20px;
  text-align: center;
}

.site-side .snapshot {
  width: 100%;
  height: 180px;
  margin-bottom: 5px;
  border-radius: 4px;
  box-shadow: 0 0 10px #ddd;
}

.site-side .snapshot img {
  display: inline-block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.site-side .oz-btn {
  margin: 5px 0;
}

@media (max-width: 767px) {
  .site-side {
    width: 100%;
    padding: 0;
    float: none;
  }

  .site-side .snapshot {
    position: absolute;
    top: 20px;
    left: 51%;
    width: 210px;
    height: 160px;
  }

  .site-side .oz-btn {
    width: 48%;
    /*margin: 1%;*/
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .site-side .site-img {
    left: auto;
    right: 15px;
    width: 40%;
    height: 35%;
  }
}

.side-sort {
  display: inline-block;
  width: 50%;
  font-size: 14px;
  color: #666;
  text-align: center;
  padding: 10px 12px;
  border-radius: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.side-sort:hover, .side-sort.active {
  color: #666;
  background: #eee;
}

.side-sort-child {
  padding-left: 1.2em;
}

.ranking {
  overflow: hidden;
}

.ranking div {
  padding: 0;
}

.ranking div:nth-child(2) .card {
  margin: 8px 0;
}

@media (max-width: 991px) {
  .ranking div:nth-child(2) .card {
    margin: 8px 8px 8px 0;
  }

  .ranking div:nth-child(3) .card {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .ranking div:nth-child(2) .card {
    margin: 5px !important;
  }
  .ad img{
      height: 50px !important;
  }
}

.card .side-statistic {
  font-size: 14px;
}

.card .side-statistic p {
  margin: 12px 8px;
}

.side-latest .oz-timeline-main {
  padding: 3px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.side-latest .oz-timeline-main .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.side-latest .oz-timeline-main .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-latest .oz-timeline-main .name {
  line-height: 35px;
  vertical-align: middle;
}

.links {
  clear: both;
}

.fast-sites-card {
  clear: both;
}
@media (min-width: 768px) {
  .fast-sites-card .hot-sites-strip {
    grid-template-columns: repeat(8, 1fr);
  }
}

.fast-sites-card .card-head i.fa-bolt {
  color: #fa8c16;
}
.fast-sites-card .hot-site-item {
  background: #fff7e6;
  border-color: rgba(250,140,22,0.25);
}
.fast-sites-card .hot-site-item:hover {
  background: #ffe7ba;
}
.fast-sites-card .hot-site-text .metric {
  color: #d46b08;
}

.link-item {
  display: inline-block;
  font-size: 13px;
  padding: 5px 12px;
  margin: 2px;
  color: #666;
  border-radius: 6px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.link-item:hover {
  color: #666;
  background: #eee;
}

.footer {
	background:url(/upload/images/banner.jpg) rgba(0,0,0,.8) no-repeat center center;
	background-blend-mode:multiply;
	background-size:cover;
	overflow:hidden;
	padding:30px 0 0;
	margin-top:13px
}
.footer a {
	transition:all .6s;
}
.footer a:hover {
	color:#f7951f !important;
}

.pagination {
  padding: 8px;
  text-align: center;
}

.pagination li {
  display: inline-block;
}

.pagination li a {
  display: inline-block;
  color: #666;
  background: #fff;
  border: 1px solid #ddd;
  padding: 4px 10px;
  margin: 0 2px;
  border-radius: 25px;
}

.pagination li a:hover {
  background: #eee;
}

.pagination .active a {
  color: #fff;
  background: #ff7f00;
  border: 1px solid #ff7f00;
}

.pagination .disabled {
  pointer-events: none;
  cursor: not-allowed;
}

/* 图片广告*/
.ad {
  display: block;
}

.ad img {
  width: 100%;
  height: 60px;
}
.ad img a:hover {
 opacity:.8
}

/* 图片广告容器*/
.ad-card {
  margin: 2px !important;
}

.ad-card img {
  object-fit: fill;
  border-radius: 2px;
}

/* 移动端广告样式 */
@media (max-width: 767px) {
  .ad-card {
    margin: 2px !important;
  }
  
  .ad-card img {
    height: 50px !important;
  }
}

/* 小横幅广告*/
.small-ad {
  display: inline-block;
  width: calc(50% - 0px);
  margin: 0;
  vertical-align: top;
  box-sizing: border-box;
}

.small-ad img {
  width: 100%;
  height: 50px;
  object-fit: fill;
  border-radius: 2px;
}

/* 小横幅广告容器 */
.small-ads-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 2px;
}

.small-ads-container .small-ad {
  flex: 0 0 calc(50% - 2px);
  min-width: calc(50% - 2px);
  margin: 0;
}

/* 移动端响应式 */
@media (max-width: 767px) {
  .small-ad {
    width: calc(50% - 0px);
    margin: 0;
  }
  
  .small-ads-container .small-ad {
    flex: 0 0 calc(50% - 2px);
    min-width: calc(50% - 2px);
  }
}

/* 文字广告 */
.text-ads-container{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px;
}

.text-ad {
  box-sizing: border-box;
  flex: 0 0 calc(25% - 6px);
  padding: 10px 12px;
  margin: 0;
  border: 1px dashed #e5e5e5;
  border-radius: 6px;
  background: #f9fbff;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  word-break: break-all;
}

.text-ad:hover {
  border-color: #0c7ff2;
}

.text-ad-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.text-ad-link:hover {
  text-decoration: none;
}

.text-ad strong {
  color: inherit;
}

.text-ad a {
  color: inherit;
  text-decoration: none;
}

.text-ad a:hover {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 991px) {
  .text-ad {
    flex-basis: calc(50% - 4px);
  }
}

@media (max-width: 575px) {
  .text-ad {
    flex-basis: calc(50% - 4px);
  }
}

#captchaImage {
  height: 36px;
  cursor: pointer;
}
/*手机不显示*/
@media screen and (max-width: 1100px) {
    .sjwu {
        display: none!important;
    }
}

/*电脑不显示*/
@media screen and (min-width: 1100px) {
    .dnwu {
        display: none!important;
    }
}

.fl,.left {float:left}
.fr,.right {float:right}
#gonggao{ font-size:17px; margin: 0; background: -webkit-linear-gradient(left, #ffffff , #ff0000 6.25%, #ff7d00 12.5%, #ffff00 18.75%, #00ff00 25%, #00ffff 31.25%, #0000ff 37.5%, #ff00ff 43.75%, #ffff00 50%, #ff0000 56.25%, #ff7d00 62.5%, #ffff00 68.75%, #00ff00 75%, #00ffff 81.25%, #0000ff 87.5%, #ff00ff 93.75%, #ffff00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 100%; animation: masked-animation 2s infinite linear; } @keyframes masked-animation { 0% { background-position: 0 0; } 100% { background-position: -100%, 0; } }
.fieldset {display: -webkit-box;height: 34px;border-top: 1px solid #a9a9a9;margin: 30px auto 10px;float: none;border-left: 0;border-right: 0;border-bottom: 0;}
.legend {width: 100pt;font-size: 14px;line-height: 34px;color: #9a9a9a;text-align: center;border: 0;}
.noad{border: 1px solid #1b54bc;color: #1b54bc;display: block;height: 50px;line-height: 50px;text-align: center;margin: 0 auto;float: none;font-size: 1pc;transition: all .5s ease-in;border-radius: 5px;}
.noad:hover{background:#1b54bc;color:#fff}
.mytg{border: 1px solid #1b54bc;display: block;height: 50px;line-height: 50px;text-align: center;border-radius: 5px;margin: 0 auto;font-size: 1pc;transition: all .5s ease-in;margin-top: 17px;background: #1b54bc;float: none;color: #fff;}
.mytg:hover{background:#1b54bc}
.news-tool-containe{width: 90%;margin: 40px auto 32px;}
.news-tool-containe .tequan{margin:0 auto;float:none;padding:0;overflow:hidden;width:290px}
.news-tool-containe .tequan li{margin-top: 24px;overflow:hidden;}
.news-tool-containe .tequan div i{background:url(../images/privilege_icon.png) no-repeat;width:24px;height:24px;display:block;float:left;margin-right:7px}
.news-tool-containe .tequan div span{cursor:default;height:24px;line-height:24px;display:block;float:left;color:#9a9a9a}
.news-tool-containe .tequan div{float:left}
.news-tool-containe .tequan .liright{float:right;text-align:right}
.copyright{padding:20px 20px;border-radius:4px;color:#777;font-size:12px;line-height:20px;border:1px solid #e6e6e6;background-color:#fbfbff}
.copyright .tit{margin-bottom:5px;font-size:18px;font-weight:700;color:#007bf5;text-align:center;letter-spacing:8px}
.copyright p{display:block;line-height:30px;margin-bottom:5px;font-size:14px;text-align:justify}
.entry-navigation {display: flex; gap: 0; width: 100%;}
.entry-navigation .dhpro-lg-6 {flex: 0 0 50%; max-width: 50%;}
.entry-navigation .entry-page-prev,
.entry-navigation .entry-page-next {display: block; min-height: 80px; width: 100%;
position: relative; overflow: hidden; background-color: #f5f5f5;}
.entry-navigation .post-thumbnail {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;}
.entry-navigation .post-thumbnail img {width: 100%; height: 100%; object-fit: cover;}
.entry-navigation .overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%;
background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%); z-index: 2;}
.entry-navigation a,
.entry-navigation .no-link {display: flex; align-items: center; padding: 15px 40px;
text-decoration: none; width: 100%; height: 100%; position: relative; color: #fff; z-index: 3;}
.entry-navigation .entry-page-info .rnav {color: rgba(255,255,255,0.9);}
.entry-navigation .card:hover .overlay {background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);}
.entry-navigation .entry-page-info {width: 100%;}
.entry-navigation .entry-page-info .rnav {font-size: 12px; margin-bottom: 5px; opacity: 0.9;}
.entry-navigation .entry-page-info .title {width: 100%;}
.entry-navigation .entry-page-info .title span {font-size: 15px;
 display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.entry-navigation i.fa {position: absolute; top: 50%; transform: translateY(-50%); font-size: 24px;}
.entry-navigation .fa-arrow-left {left: 15px;}
.entry-navigation .fa-arrow-right {right: 15px;}
.entry-navigation .card:hover {transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);}
@media (max-width: 768px) {
.entry-navigation {display: flex; flex-direction: row; gap: 0; width: 100%;}
.entry-navigation .dhpro-lg-6 {flex: 0 0 50%; max-width: 50%; padding: 0;}
.entry-navigation .entry-page-next,
.entry-navigation .entry-page-prev {min-height: 60px;}
.entry-navigation a,
.entry-navigation .no-link {padding: 10px 25px;}
.entry-navigation i.fa {font-size: 16px;}
.entry-navigation .fa-arrow-left {left: 8px;}
.entry-navigation .fa-arrow-right {right: 8px;}
.entry-navigation .entry-page-info .title span {font-size: 13px;}}
.entry-navigation .entry-page-next .entry-page-info {text-align: right;}

/* 视频播放器样式 */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 150%;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 8px;
    font-size: 12px;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f5f5;
    border-radius: 0;
    margin: 0;
}

.link-form {
  padding: 15px;
}

.link-form .form-group {
  margin-bottom: 20px;
  position: relative;
}

.link-form .form-group i.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #2D8CF0;
  z-index: 1;
}

.link-form input {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.link-form input:focus {
  border-color: #2D8CF0;
  box-shadow: 0 0 5px rgba(45,140,240,0.2);
  outline: none;
}

.link-form .submit-btn {
  width: 100%;
  padding: 12px;
  background: #2D8CF0;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.link-form .submit-btn:hover {
  background: #2b85e4;
}

.link-form .submit-btn i {
  margin-right: 5px;
}

.captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.captcha-wrapper input {
  flex: 1;
}

.captcha-wrapper i.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #2D8CF0;
  z-index: 1;
}

.captcha-img {
  height: 38px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ddd;
}

.captcha-group {
  margin-bottom: 20px;
}

.card-foot {
  padding: 15px;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 13px;
}

.card-foot p {
  margin: 0;
}

.card-foot i {
  margin-right: 5px;
  color: #2D8CF0;
}
.float-right {
    float: right;
    font-size: 14px;
    color: #666;
}

/* 特效设置样式 */
.setting-item select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
}

/* 水波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 爱心效果 */
.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff4d4d;
    transform: rotate(45deg);
    animation: heart 1s ease-out;
    pointer-events: none;
}

.heart:before,
.heart:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff4d4d;
    border-radius: 50%;
}

.heart:before {
    left: -10px;
}

.heart:after {
    top: -10px;
}

@keyframes heart {
    0% {
        transform: rotate(45deg) scale(1);
    }
    14% {
        transform: rotate(45deg) scale(1.3);
    }
    28% {
        transform: rotate(45deg) scale(1);
    }
    42% {
        transform: rotate(45deg) scale(1.3);
    }
    70% {
        transform: rotate(45deg) scale(1);
    }
    100% {
        transform: rotate(45deg) scale(0);
    }
}

/* 点击文字效果 */
.click-text {
    position: absolute;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    animation: text 1s ease-out;
    pointer-events: none;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@keyframes text {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(1.5);
        opacity: 0;
    }
}

/* 工具列表样式（在线工具侧栏） */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
}

.tool-list {
  width: 33.3333%;
  /*padding: 6px 0;*/
  text-align: center;
  box-sizing: border-box;
}

.tool-list a {
  display: block;
  padding: 6px 4px;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.tool-list a:hover {
  background-color: rgba(0,0,0,0.03);
  transform: translateY(-1px);
}

.tool-icon {
  margin-bottom: 4px;
}

.tool-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.tool-title {
  margin-top: 2px;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
