/* 
 * Gamam
 * 支持版本emlog pro
 * 作者：蓝叶
 * 网址：https://lanye.org
 * 版本：1.0
 */
 * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
      }

      body {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        color: #333;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
      }

      .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
        border-bottom: 1px solid #f0f0f0;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        position: sticky;
        top: 0;
        z-index: 100;
      }

      .logo {
        font-size: 24px;
        font-weight: 700;
        color: #4285f4;
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .logo i {
        font-size: 28px;
      }
      .logo-img {
        height: 37px;
        object-fit: contain;
        display: block;
      }
      .nav-links {
        display: flex;
        align-items: center;
        gap: 25px;
      }

      .nav-link {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #5f6368;
        text-decoration: none;
        font-size: 15px;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.3s ease;
      }

      .nav-link:hover {
        background-color: #f0f7ff;
        color: #4285f4;
        transform: translateY(-2px);
      }

      .nav-link.active {
        background-color: #f0f7ff;
        color: #4285f4;
      }

      .nav-link i {
        font-size: 16px;
      }

      .main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        max-width: 900px;
        margin: 0 auto;
        width: 100%;
      }

      .main-logo {
        font-size: 60px;
        font-weight: 700;
        color: #4285f4;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        gap: 15px;
      }

      .main-logo i {
        font-size: 68px;
      }

      .search-container {
        width: 100%;
        max-width: 800px;
        margin-bottom: 30px;
      }

      .search-box-wrapper {
        width: 100%;
        border: 1px solid #dfe1e5;
        border-radius: 24px;
        padding: 8px 20px;
        font-size: 16px;
        box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
        transition: all 0.3s ease;
        outline: none;
        background-color: #fff;
        display: flex;
        align-items: center;
        min-height: 56px;
        position: relative;
      }

      .search-box-wrapper:hover {
        box-shadow: 0 1px 8px rgba(32, 33, 36, 0.15);
      }

      .search-box-wrapper:focus-within {
        box-shadow: 0 1px 8px rgba(66, 133, 244, 0.3);
        border-color: #4285f4;
      }

      .search-input {
        flex: 1;
        border: none;
        outline: none;
        padding: 10px 0;
        font-size: 16px;
        background: transparent;
        color: #333;
        min-width: 200px;
      }

      .search-input::placeholder {
        color: #9aa0a6;
      }

      /* 搜索类型选择器 - 紧凑版 */
      .search-type-selector {
        position: relative;
        margin-right: 15px;
      }

      .search-type-toggle {
        background-color: #f8f9fa;
        border: 1px solid #dadce0;
        border-radius: 16px;
        padding: 10px 15px;
        font-size: 14px;
        color: #5f6368;
        cursor: pointer;
        outline: none;
        min-width: 100px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
        position: relative;
        height: 42px;
      }

      .search-type-toggle:hover {
        background-color: #f0f7ff;
        border-color: #4285f4;
      }

      .search-type-toggle.active {
        background-color: #fff;
        border-color: #4285f4;
        box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
      }

      .type-icon {
        color: #4285f4;
        font-size: 13px;
        width: 18px;
      }

      .type-text {
        flex: 1;
        white-space: nowrap;
      }

      .type-arrow {
        color: #5f6368;
        font-size: 11px;
        transition: transform 0.3s ease;
      }

      .search-type-toggle.active .type-arrow {
        transform: rotate(180deg);
        color: #4285f4;
      }

      /* 下拉菜单样式 - 紧凑版 */
      .search-type-dropdown {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        background-color: #fff;
        border: 1px solid #dadce0;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 140px;
        max-width: 150px;
        z-index: 1000;
        display: none;
        overflow: hidden;
        animation: dropdownFade 0.2s ease;
      }

      .search-type-dropdown.active {
        display: block;
      }

      @keyframes dropdownFade {
        from {
          opacity: 0;
          transform: translateY(-5px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .dropdown-item {
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #5f6368;
        border-bottom: 1px solid #f0f0f0;
        font-size: 13px;
      }

      .dropdown-item:last-child {
        border-bottom: none;
      }

      .dropdown-item:hover {
        background-color: #f0f7ff;
        color: #4285f4;
      }

      .dropdown-item.active {
        background-color: #f0f7ff;
        color: #4285f4;
        font-weight: 500;
      }

      .dropdown-item i {
        width: 16px;
        font-size: 12px;
      }

      .item-text {
        flex: 1;
        white-space: nowrap;
      }

      .item-badge {
        background-color: #4285f4;
        color: white;
        font-size: 10px;
        padding: 1px 4px;
        border-radius: 8px;
        margin-left: 4px;
      }

      /* 搜索按钮样式 */
      .search-button {
        background-color: #4285f4;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        margin-left: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
      }

      .search-button:hover {
        background-color: #3367d6;
        box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
      }

      .footer {
        text-align: center;
        padding: 20px;
        color: #70757a;
        font-size: 14px;
        border-top: 1px solid #f0f0f0;
        margin-top: 40px;
        background-color: #f8f9fa;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .footer a {
        color: #4285f4;
        text-decoration: none;
        margin: 0 10px;
      }

      .footer a:hover {
        text-decoration: none;
        color: #3367d6;
      }

      @media (max-width: 768px) {
        .navbar {
          padding: 15px 20px;
        }

        .main-logo {
          font-size: 50px;
          flex-direction: column;
          gap: 10px;
          margin-bottom: 25px;
        }

        .main-logo i {
          font-size: 58px;
        }

        .search-container {
          padding: 0 15px;
        }

        .nav-links {
          gap: 15px;
        }

        .nav-link span {
          display: none;
        }

        .search-box-wrapper {
          padding: 6px 16px;
          flex-direction: column;
          align-items: stretch;
          border-radius: 16px;
          gap: 10px;
        }

        .search-input {
          min-width: unset;
          margin-bottom: 0;
        }

        .search-type-selector {
          margin-right: 0;
          width: 100%;
        }

        .search-type-toggle {
          width: 100%;
          justify-content: space-between;
          min-width: unset;
        }

        .search-type-dropdown {
          position: static;
          margin-top: 5px;
          min-width: 100%;
          max-width: 100%;
          border-radius: 8px;
        }

        .search-button {
          margin-left: 0;
          justify-content: center;
          width: 100%;
        }
      }

      @media (max-width: 480px) {
        .main-logo {
          font-size: 40px;
          margin-bottom: 20px;
        }

        .search-button {
          padding: 8px 20px;
        }
      }
a,a:link,a:hover{ text-decoration:none}
.game-card .game-title a{color:#333}
.game-card .game-category a{color:#4285f4}
.game-card .game-image{ overflow:hidden; display:block}
.game-card .game-image img{object-fit: cover;width: 100%;height: 100%;}
.search-item-sortimg{width: 13px;height: 13px;border-radius: 100%;margin-right: 2px;}
.pagination{}
.pagination a, .pagination em{
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe1e5;
    background: white;
    border-radius: 4px;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;

}
.pagination a:hover{background-color: #f8f9fa;}
.pagination span{
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe1e5;
    background: white;
    border-radius: 4px;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
	background-color: #4285f4;
    color: white;
    border-color: #4285f4;
}