.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-options {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin: 0;
}

.random-link {
    color: #8c9298;
    cursor: pointer;
    font-size: 14px;
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    user-select: none;
    border: none;
    background: transparent;
    transition: color 0.2s;
}

.random-link:hover { color: #61afef; }
.random-link.favorite-link { color: #ffd700; font-size: 15px; }
.random-link.favorite-link:hover { color: #ffed99; }
.random-link.active-mode { text-decoration: underline; color: #61afef; font-weight: bold; }

.random-link:not(:last-child)::after {
    content: "•";
    margin-left: 10px;
    margin-right: 10px;
    color: #3d4451;
    pointer-events: none;
}

/* ส่วนของ Auth/Login */
.auth-section {
    display: flex;
    align-items: center;
}

.auth-btn {
    background: transparent;
    border: none;
    color: #98c379;
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 0;
}

.auth-btn:hover { color: #b5e890; }

.user-info {
    font-size: 13px;
    color: #98c379;
    align-items: center;
    gap: 10px;
}

.user-name-text {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.logout-btn {
    color: #cc6666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.logout-btn:hover { color: #ff9999; }