.log {
  position: relative;
  color: #fff;
  padding: 10px;
  overflow: hidden;
  text-align: center;
}

.log::after {
  position: absolute;
  content: '';
  background: var(--after-bg, #e03456);
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
}

.log>i {
  font-size: 2rem;
  color: rgba(200, 200, 200, 0.95);
  margin-bottom: 10px;
}

.log>p {
  font-size: 1rem;
}

.left-style {
  height: 100%;
  font-size: 1rem;
  font-weight: 100;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}

.log::before {
  content: '⌈';
  font-size: 0.8rem;
  font-weight: 100;
  filter: blur(0.5px);
  position: absolute;
  top: 0;
  left: 15px;
  color: rgba(200, 200, 200, 0.7);
}

.left-style::after {
  content: '⫶';
  font-size: 0.9rem;
  font-weight: 100;
  filter: blur(0.5px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  color: rgba(200, 200, 200, 0.65);
}

.left-style::before {
  content: '⌊';
  font-size: 0.8rem;
  font-weight: 100;
  filter: blur(0.5px);
  position: absolute;
  bottom: 5px;
  left: 0;
  color: rgba(200, 200, 200, 0.7);
}

.right-style {
  height: 100%;
  font-size: 0.8rem;
  font-weight: 100;
  filter: blur(0.5px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  color: rgba(200, 200, 200, 0.7);
}

.right-style::after {
  content: '⫶';
  font-size: 0.9rem;
  font-weight: 100;
  filter: blur(0.5px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  color: rgba(200, 200, 200, 0.65);
}

.right-style::before {
  content: '⌋';
  font-size: 0.8rem;
  font-weight: 100;
  filter: blur(0.5px);
  position: absolute;
  bottom: 5px;
  left: 0;
  color: rgba(200, 200, 200, 0.7);
}

.gg.next>.card-content {
  transform: translateY(100%);
  opacity: 0;
  transition: all .35s ease-in;
}

@keyframes fade-gg {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: brightness(110%) contrast(105%) saturate(115%);
}

img {
  transition: all .25s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  animation-fill-mode: forwards;
}

.gg:hover img {
  transform: scale(1.05);
}

.gg.next img {
  animation: fade-gg .5s ease-in-out forwards;
}

/* 整个滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
  transition: background 0.2s ease;
}

/* 滚动条滑块悬停状态 */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 滚动条滑块激活状态 */
::-webkit-scrollbar-thumb:active {
  background: #666;
}

/* 滚动条按钮（上下箭头） */
::-webkit-scrollbar-button {
  background: #2d2d2d;
  border-radius: 2px;
}

/* 滚动条按钮悬停状态 */
::-webkit-scrollbar-button:hover {
  background: #3d3d3d;
}

/* 滚动条按钮激活状态 */
::-webkit-scrollbar-button:active {
  background: #4d4d4d;
}

/* 滚动条角落 */
::-webkit-scrollbar-corner {
  background: #1a1a1a;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #404040 #1a1a1a;
}

main {
  width: 1200px;
  margin: 20px auto;
}

main>.head-title {
  float: left;
  width: 800px;
  /* height: 640px; */
}

main .title {
  display: flex;
  align-items: center;
  border-radius: 4px;
  height: 34px;
  width: 100%;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

.title i {
  margin-left: auto;
  opacity: 0.75;
}

.title p {
  position: relative;
  top: -3px;
}

main .title::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: hsla(216, 74%, 58%, 1);
  border-radius: 8px;
  animation: light-dark 3s linear infinite;
}

.head-title .page {
  width: 800px;
  padding: 0 10px;
}

.head-title .page>.bbs:nth-child(1) {
  margin-bottom: 10px;
  width: 780px;
  height: 150px;
}

.bbs:nth-child(1)>.bbs {
  float: left;
  height: 150px;
  width: 380px;
}

.bbs:nth-child(1)>.bbs:nth-child(1) {
  margin-right: 20px;
}

.head-title .page>.bbs:nth-child(2) {
  margin-bottom: 10px;
  height: 100px;
  width: 780px;
  margin-bottom: 10px;

}

@keyframes light-dark {
  0% {
    filter: brightness(100%);
  }

  50% {
    filter: brightness(130%);
  }

  100% {
    filter: brightness(100%);
  }
}

.bbs.box {
  border-radius: 5px;
  color: #fff;
  padding: 10px;
}

.bbs.box .valua p {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  margin-right: 20px;
  top: -30px;
  right: -23px;
  font-size: 0.75rem;
}

.b-title {
  font-size: 1.1rem;
  font-weight: 500;
}

.b-subtitle {
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.9);
}

.valua i {
  /* font-size: 0.9rem; */
  /* font-weight: 200; */
  color: rgba(255, 255, 255, 0.6);
  transform: scale(0.9);
}

.valua {
  position: absolute;
  display: flex;
  align-items: center;
  height: 30px;
  gap: 10px;
}

.user {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  white-space: nowrap;
  top: 25px;
  width: 100%;
  height: 46px;
}

.user img {
  margin-right: 10px;
  border-radius: 8px;
  width: 46px;
  height: 46px;
}

.user p {
  position: absolute;
  top: 20px;
  right: 20px;
  flex-basis: 100%;
  font-size: 0.9rem;
  font-weight: 300;
}

.user p a {
  color: #fff;
}

.user h5 {
  font-size: 1rem;
}

.user span {
  position: relative;
  padding: 0 3px;
  background-color: hsla(216, 74%, 58%, 1);
  border-radius: 3px;
  z-index: 1;
}

.user.last {
  position: absolute;
  left: 50%;
}

.user.last p {
  position: relative;
  display: flex;
  top: -20px;
  right: -60px;
  flex-basis: 100%;
  font-size: 0.9rem;
  font-weight: 300;
  float: right;
  text-align: right;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.btn-reg,
.btn-login {
  padding: .4rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: .9rem;
  transition: .2s;
}

.btn-reg {
  color: #fff;
}

.btn-login {
  color: #fff;
}

.btn-reg:hover,
.btn-login:hover {
  background: rgba(255, 255, 255, 0.05)
}

/* 搜索 */
.search-wrapper {
  position: relative;
}

.search-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #97a1af;
  cursor: pointer;
  transition: color .2s ease-in;
  border-radius: 5px;
}

.search-btn:hover {
  color: #fff;
}

.search-form {
  position: absolute;
  right: -210px;
  top: 30px;
  background: rgba(50, 50, 50, 0.62);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  border-radius: 6px;
  display: flex;
  padding: .4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .25s;
}

.search-form.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form input {
  background: rgba(80, 80, 80, 0.9);
  color: #fff;
  border-radius: 4px;
  border: none;
  outline: none;
  padding: .4rem .6rem;
  width: 180px;
}

.search-form button {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: .4rem .8rem;
  border-radius: 4px;
  cursor: pointer;
}

/* 汉堡按钮（仅移动端显示） */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  width: 22px;
  cursor: pointer;
}

.nav-toggle-label span {
  height: 2px;
  background: rgba(200, 200, 200, 0.65);
  margin: 3px 0;
  transition: .3s;
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 60px 0 0 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    transform: translateX(-100%);
    transition: .3s;
  }

  .nav-toggle:checked+.nav-toggle-label+.nav-menu {
    transform: translateX(0);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: .5rem;
  }

  .nav-actions {
    margin-left: auto;
    gap: .4rem;
  }

  .btn-reg,
  .btn-login {
    font-size: .8rem;
    padding: .3rem .7rem;
  }
}

.btn-reg>i,
.btn-login>i {
  color: rgba(255, 255, 255, 0.5);
  margin: 1px auto;
}