:root {
    --bg: #f5f5f0;
    --bg2: #ffffff;
    --text: #111111;
    --text2: #666666;
    --text3: #999999;
    --accent: #ff3b30;
    --border: #e8e8e4;
    --radius: 10px;
    --header-h: 60px;
}

body {
    background: var(--bg);
    color: var(--text);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 32px;
    gap: 24px;
}

.logo {
    width: var(--logo);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo .dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

.header-logo span {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}

.header-logo img {
    width: calc(100% - 18px);
}

nav {
    flex: 1;
    overflow: hidden;
}

nav ul {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

nav ul::-webkit-scrollbar {
    display: none;
}

nav ul li a {
    display: block;
    padding: 6px 14px;
    color: var(--text2);
    font-size: 13px;
    white-space: nowrap;
    transition: color 0.15s;
    border-radius: 6px;
}

nav ul li a:hover {
    color: var(--text);
    background: var(--bg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.searchBar {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    gap: 8px;
    transition: border-color 0.15s;
}

.searchBar:focus-within {
    border-color: var(--text);
}

.searchBar input {
    background: transparent;
    color: var(--text);
    font-size: 13px;
    width: 160px;
}

.searchBar input::placeholder {
    color: var(--text3);
}

.searchBar button {
    color: var(--text3);
    font-size: 14px;
}

.peBtn {
    width: var(--button);
    display: none;
}

@media (max-width: 769px) {
    header {
        padding: 10px 16px 10px 20px;
        gap: 12px;
        flex-direction: column;
        position: relative;
    }

    .header-t {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .peBtn {
        display: block;
    }

    .peBtn img {
        opacity: .7;
    }

    nav {
        display: none;
    }

    .logo {
        flex-shrink: 0;
    }

    .searchBar {
        flex: 1;
        position: absolute;
        width: 100%;
        height: 100vh;
        background-color: #f5f5f0;
        left: 0;
        top: 0;
        transform: translateY(-100%);
        align-items: start;
        border-radius: 0;
        padding-top: 20px;
        transition: .2s;
    }

    .searchBar.active {
        top: 100%;
        transform: translateY(0%);
    }

    .searchBar input {
        width: 100%;
        height: var(--button);
        min-width: 0;
        border-bottom: 1px solid #918f8f3f;
    }

    .searchBar button {
        width: var(--button);
        height: var(--button);
        border-bottom: 1px solid #918f8f3f;
    }

    footer {
        padding: 24px 16px !important;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-left {
        flex-wrap: wrap;
    }

    footer .footer-info {
        gap: 12px;
    }
}