body {
    margin: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(124deg, #a1d075 0%, #2d8fb4 100%);

    color: #222;
}

.bing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px 0 40px;
    background: transparent;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #008373;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 32px;
    height: 32px;
}

.bing-nav a {
    color: #313242;
    text-decoration: none;
    margin-left: 28px;
    font-size: 1.08rem;
    font-weight: 500;
    transition: color 0.18s;
}

.bing-nav a:hover {
    color: #ff7b00;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 80px;
    gap: 20px;
}

.bing-hero {
    text-align: center;
}

.bing-search {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(49, 50, 66, 0.10);
    padding: 8px 16px;
    max-width: 680px;
    margin: 0 auto 24px auto;
    gap: 0;
}

.search-engine {
    border: none;
    outline: none;
    font-size: 1.08rem;
    padding: 12px;
    border-radius: 32px 0 0 32px;
    background: #f7f8fa;
    color: #313242;
    font-weight: 500;
}

.search-input {
    border: none;
    outline: none;
    font-size: 1.15rem;
    padding: 4px 4px 4px 12px;
    border-radius: 0;
    flex: 1;
    background: transparent;
    width: 380px;
}

.search-btn {
    background: #ff7b00;
    color: #fff;
    border: none;
    border-radius: 0 32px 32px 0;
    font-size: 1.15rem;
    padding: 12px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}

.search-btn:hover {
    background: #f1010a;
}

.bing-links {
    margin-top: 18px;
}

.bing-links a {
    color: #008373;
    background: #fff;
    border-radius: 18px;
    padding: 6px 18px;
    margin: 0 8px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(49, 50, 66, 0.06);
    transition: background 0.18s, color 0.18s;
}

.bing-links a:hover {
    background: #ff7b00;
    color: #fff;
}

.bing-lines {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    max-width: 480px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(49, 50, 66, 0.07);
    padding: 12px 18px;
}

.lines-title {
    color: #313242;
    font-size: 1.05rem;
    font-weight: 500;
}

.lines-btns {
    display: flex;
    gap: 10px;
}

.line-btn {
    background: #f7f8fa;
    color: #313242;
    border: 1.5px solid #ececec;
    border-radius: 18px;
    padding: 6px 18px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border 0.18s;
}

.line-btn.active,
.line-btn:hover {
    background: #ff7b00;
    color: #fff;
    border: 1.5px solid #ff7b00;
}

.bing-cards {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0px auto 0 auto;
    max-width: 1200px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;

}

.bing-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(49, 50, 66, 0.07);
    padding: 8px;
    max-width: 320px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: center;

}

.bing-card h3 {
    color: #313242;
    font-size: 1.15rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.site-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.site-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7f8fa;
    margin-right: 6px;
    font-size: 1rem;
    color: #ff7b00;
    flex-shrink: 0;
    overflow: hidden;
}

.site-logo img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: block;
}

.site-logo.letter {
    background: #ececec;
    color: #313242;
    font-weight: bold;
    font-size: 1rem;
}

.site-list a {
    color: #008373;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    transition: background 0.18s, color 0.18s;
}

.site-list a:hover {
    background: #ff7b00;
    color: #fff;
}

.bing-footer {
    background: #313242;
    color: #fff;
    /* text-align: center; */
    padding: 18px 0;
    /* margin-top: 20px; */
    box-shadow: 0 -2px 8px rgba(49, 50, 66, 0.03);
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    display: flex;
    bottom: 0;
    transition: color 0.18s;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    main {
        padding: 0vw;
        padding-top: 20px;
        padding-bottom: 80px;
    }

    nav {
        display: flex;
    }

    .bing-header {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px 40px 0 40px;
        background: transparent;
        align-content: stretch;
        flex-wrap: wrap;
    }

    .bing-nav a {
        color: #313242;
        text-decoration: none;
        /* padding: 8px 12px; */
        font-size: 1.08rem;
        font-weight: 500;
        transition: color 0.18s;
        min-width: 50px;
        margin: 8px;
        text-align: center;
    }

    .bing-hero {}

    .bing-search {
        max-width: 98vw;
        padding: 4px 4px;
    }

    .bing-lines {
        max-width: 98vw;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
    }

    .bing-cards {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        max-width: 100vw;
        box-sizing: border-box;
        scroll-padding-left: 16px;
        padding: 0 8px;
        justify-content: flex-start;
        align-items: center;
    }

    .bing-cards::-webkit-scrollbar {
        display: none;
    }

    .bing-card {
        min-width: 140px;
        flex: 0 0 auto;
        max-width: none;
        margin: 0;
    }
}

/* 浏览器建议样式 */
.browser-recommend {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 10px;
    max-width: 1200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.browser-recommend-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.browser-text {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    line-height: 1.5;
}

.notice-symbol {
    color: #ff6b35;
    font-weight: bold;
    margin-right: 5px;
}

.browser-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.browser-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #333;
    padding: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.browser-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #008373;
}

.browser-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.browser-name {
    font-size: 0.84rem;
    font-weight: 500;
    text-align: center;
}