body {
      margin: 0;
      background: #0d0d0d;
      font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
      color: #fff;
    }
a {
    text-decoration: none;
}
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 5px 2px;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 99;
      background-color: #0d0d0d;
      border-bottom: 1px solid #222;
      transition: box-shadow 0.3s ease;
      padding: 5px 0;
    }

    header.sticky-shadow {
      box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }

    .header-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff4757;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s;
}

.logo:hover {
  color: #fff;
}

    .search {
      flex: 1;
      max-width: 320px;
      display: flex;
      align-items: center;
      background: #1a1a1a;
      border-radius: 4px;
      margin-top:5px;
      height:36px;
      
    }

    .search-form {
      display: flex;
      align-items: center;
      width: 100%;
      padding: 5px 0;
    }

    .search input {
      flex: 1;
      height: 100%;
      background: transparent;
      border: none;
      color: #fff;
      outline: none;
      font-size: 14px;

    }

    .search-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px 10px;
      display: flex;
      align-items: center;

    }

    .search-btn svg {
      fill: #ccc;
      vertical-align: middle;
    }

    .nav-scroll {
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding: 8px 0;
    }

    .nav-scroll::-webkit-scrollbar {
      display: none;
    }

    .nav-scroll a {
      display: inline-block;
      padding: 6px 12px;
      margin-right: 8px;
      background: #1e1e1e;
      border-radius: 4px;
      color: #ccc;
      font-size: 14px;
      text-decoration: none;
    }

    .nav-scroll a.active {
      background: #ff4757;
      color: #fff;
      font-weight: bold;
    }

    @media screen and (max-width: 768px) {
      .search {
        margin-top: 8px;
        max-width: 100%;
      }
  
    }



