/* 头部导航 */
.pp-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.pp-header-top {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    color: #999;
}
.pp-header-top .pp-container { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.pp-welcome { color: #666; }
.pp-top-links a { color: #666; }
.pp-top-links a:hover { color: var(--pp-primary); }
.pp-divider { margin: 0 8px; color: #ddd; }

.pp-header-main { padding: 20px 0; }
.pp-header-main .pp-container { display: flex; align-items: center; gap: 30px; }
.pp-logo a { display: flex; align-items: center; gap: 8px; }
.pp-logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #c40000, #ff6b6b);
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-logo-text { font-size: 22px; color: var(--pp-text); font-weight: bold; }

.pp-search { flex: 1; max-width: 560px; }
.pp-search-box { display: flex; border: 2px solid var(--pp-primary); border-radius: 4px; overflow: hidden; }
.pp-search-box input {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    border: none;
    outline: none;
}
.pp-search-box button {
    background: var(--pp-primary);
    color: #fff;
    padding: 0 24px;
    font-size: 14px;
    font-weight: bold;
}
.pp-search-hot { margin-top: 6px; font-size: 12px; color: #999; }
.pp-search-hot a { margin-right: 10px; color: #666; }
.pp-search-hot a:hover { color: var(--pp-primary); }

.pp-header-action .pp-btn-vote {
    background: var(--pp-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}
.pp-header-action .pp-btn-vote:hover { background: var(--pp-primary-dark); color: #fff; }

.pp-nav { background: var(--pp-primary); }
.pp-nav .pp-container { display: flex; }
.pp-nav-list { display: flex; }
.pp-nav-item { position: relative; }
.pp-nav-item > a {
    display: block;
    padding: 0 24px;
    height: 44px;
    line-height: 44px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}
.pp-nav-item:hover > a, .pp-nav-item.active > a { background: var(--pp-primary-dark); color: #fff; }
.pp-arrow { font-size: 10px; }

.pp-nav-dropdown { position: relative; }
.pp-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 600px;
    padding: 16px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    display: none;
    z-index: 100;
}
.pp-nav-dropdown:hover .pp-dropdown-menu { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.pp-dropdown-menu a {
    display: block;
    padding: 6px 10px;
    color: var(--pp-text);
    font-size: 13px;
    border-radius: 3px;
    text-align: center;
}
.pp-dropdown-menu a:hover { background: #fff8f8; color: var(--pp-primary); }
